summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* calendar housekeeping prompted by lexical-binding.Glenn Morris2011-04-1810-33/+42
| | | | | | | | | | | | | | | | | | | | | | | * lisp/calendar/appt.el (appt-make-list): * lisp/calendar/cal-china.el (calendar-chinese-date-string): * lisp/calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits) (diary-hebrew-yahrzeit): * lisp/calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2): * lisp/calendar/calendar.el (calendar-generate-window): * lisp/calendar/time-date.el (time-to-days): Remove unused local variables. * lisp/calendar/cal-dst.el (dst-adjust-time): Remove never-implemented optional argument `style'. * lisp/calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month) (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso) (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar) * lisp/calendar/cal-html.el (cal-html-insert-minical): * lisp/calendar/diary-lib.el (diary-list-entries-1, diary-list-entries) (calendar-mark-date-pattern): Prefix "unused" locals.
* Allow glyphless-char-display to distinguish between X and text terminals.Chong Yidong2011-04-182-1/+18
| | | | | | | | | | | | | | | | Use this for Tabulated List mode. * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom glyphless-char-display table. (tabulated-list-glyphless-char-display): New var. * src/term.c (produce_glyphless_glyph): Handle cons cell entry in glyphless-char-display. * src/xdisp.c (lookup_glyphless_char_display) (produce_glyphless_glyph): Handle cons cell entry in glyphless-char-display. (Vglyphless_char_display): Document it.
* gnus-registry.el, registry.el: Silence the byte compiler.Katsumi Yamaoka2011-04-183-186/+197
| | | | | | | | | | | | | | gnus-registry.el: Eliminate cl functions. (gnus-registry-sort-addresses): New function that replaces mapcan. (gnus-registry-action, gnus-registry-spool-action) (gnus-registry-split-fancy-with-parent) (gnus-registry-fetch-recipients-fast): Use it. (gnus-registry-import-eld): Replace delete* with dolist + delq. registry.el (initialize-instance, registry-lookup) (registry-lookup-breaks-before-lexbind, registry-lookup-secondary) (registry-lookup-secondary-value, registry-search, registry-delete) (registry-insert, registry-reindex, registry-size, registry-prune): Use eval-and-compile.
* * lisp/vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to" to ↵Sam Steingold2011-04-182-1/+6
| | | | acknowledgments.
* Replace stack-trace-on-error usage in calendar.Glenn Morris2011-04-163-2/+8
| | | | | | * lisp/calendar/diary-lib.el (diary-sexp-entry): * lisp/calendar/holidays.el (holiday-sexp): Set debug-on-error rather than the removed stack-trace-on-error.
* Use lexcical-binding in f90.el.Glenn Morris2011-04-162-4/+13
| | | | | * lisp/progmodes/f90.el: Use lexical-binding. Use utf-8 coding. (f90-get-correct-indent): Remove unnecessary local variable `cont'.
* (url-http-wait-for-headers-change-function): Protect against malformed ↵Lars Magne Ingebrigtsen2011-04-162-0/+9
| | | | headerless responses from servers.
* registry.el (registry-reindex): New method to recreate the secondary ↵Teodor Zlatanov2011-04-163-32/+179
| | | | | | | | | | | | | | | | registry indices. gnus-registry.el (gnus-registry-fixup-registry): Use it if the tracked field changes. (gnus-registry-unfollowed-addresses, gnus-registry-track-extra) (gnus-registry-action, gnus-registry-spool-action) (gnus-registry-handle-action) (gnus-registry--split-fancy-with-parent-internal) (gnus-registry-split-fancy-with-parent) (gnus-registry-register-message-ids): Add recipient tracking on spool, move, and delete actions, and for fancy splitting with parent. (gnus-registry-extract-addresses) (gnus-registry-fetch-recipients-fast) (gnus-registry-fetch-header-fast): Convenience functions. (gnus-registry-misc-test): ERT test of `gnus-registry-extract-addresses'.
* lisp/ChangeLog, src/ChangeLog: Fix typos.Juanma Barranquero2011-04-161-1/+1
|
* nus-registry.el (gnus-registry--split-fancy-with-parent-internal): Track by ↵Teodor Zlatanov2011-04-152-25/+32
| | | | subject first, then sender.
* Use completion-at-point for mailalias.elStefan Monnier2011-04-153-79/+111
| | | | | | | | | | | | | * lisp/mail/mailalias.el: Use lexical-binding. (pattern, mailalias-done): Declare dynamic. (mail-completion-at-point-function): New function, from mail-complete. (mail-complete): Use it. (mail-completion-expand): New function. (mail-get-names): Use it. (mail-directory, mail-directory-process, mail-directory-stream): Don't use `pattern' for lexically bound arg. * lisp/mail/sendmail.el (mail-mode-map): Use completion-at-point. (mail-mode): Setup mailalias completion here instead.
* * lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.Stefan Monnier2011-04-152-1/+3
|
* * lisp/gnus/gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.Stefan Monnier2011-04-154-7/+23
| | | | | | | | (gnus-draft-send): Use it to avoid popping up frames from gnus-group-send-queue. * lisp/gnus/gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from Lisp. * lisp/gnus/message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
* * lisp/htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.Stefan Monnier2011-04-152-17/+25
| | | | | (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default) (hfy-etags-cmd-alist): Don't eval-and-compile any more.
* * lisp/emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)Stefan Monnier2011-04-152-6/+12
| | | | | (byte-save-window-excursion, byte-temp-output-buffer-setup) (byte-interactive-p): Define them again, for use when inlining old code.
* lisp/loadup.el: Use `string-to-number', not `string-to-int'.Juanma Barranquero2011-04-152-6/+9
|
* * lisp/progmodes/gud.el (gud-gdb): Use completion-at-point instead ofStefan Monnier2011-04-142-29/+61
| | | | | | | gud-gdb-complete-command. (gud-gdb-completions): New function, from gud-gdb-complete-command. (gud-gdb-completion-at-point): New function. (gud-gdb-completions): Remove.
* * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle theMichael Albinus2011-04-143-12/+23
| | | | | | | | | case when the scripts fail. Use `tramp-do-file-attributes-with-ls' then. (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer, whether`executable-find' is bound. * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
* gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)Teodor Zlatanov2011-04-142-2/+7
| | | | | (Fancy splitting to parent, Store arbitrary data): Updated gnus-registry docs. gnus-registry.el: Updated gnus-registry docs.
* * lisp/minibuffer.el (completion-in-region-mode-predicate)Stefan Monnier2011-04-132-33/+63
| | | | | | | | | (completion-in-region-mode--predicate): New vars. (completion-in-region, completion-in-region--postch) (completion-in-region-mode): Use them. (completion--capf-wrapper): Also return the hook function. (completion-at-point, completion-help-at-point): Adjust and provide a predicate.
* Preserve arg names for advice of subr and lexical functions.Stefan Monnier2011-04-133-159/+68
| | | | | | | | | | | | * lisp/help-fns.el (help-function-arglist): Consolidate the subr and new-byte-code cases. Add argument `preserve-names' to extract names from the docstring when needed. * lisp/emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args) (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove. (ad-arglist): Use help-function-arglist's new arg. (ad-definition-type): Use cond. Fixes: debbugs:8457
* lisp/autorevert.el: Use `remote-file-name-inhibit-cache'.Juanma Barranquero2011-04-132-7/+12
| | | | | | | * autorevert.el (auto-revert-handler): Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache', which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de. Don't quote lambda.
* lisp/image-mode.el: Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.Juanma Barranquero2011-04-132-1/+6
|
* Merge changes made in Gnus trunk.Gnus developers2011-04-126-32/+73
| | | | | | | | | | | | gnus.texi (Window Layout): @itemize @code doesn't exist. It's @table @code. gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix logic bug. (gnus-registry-post-process-groups): Fix logging of no results and quote sender and subject. network-stream.el (network-stream-open-starttls): Only do opportunistic STARTTLS upgrades if we have built-in gnutls support. Upgrades via gnutls-cli are too slow to be done opportunistically. gnus-start.el (gnus-get-unread-articles): Slight cleanup. (gnus-read-active-for-groups): Don't try to finish getting stuff where we had no early-data returned. (gnus-get-unread-articles): Add a sanity check so that we don't issue two async commands to the same server at the same time. gnus-sum.el (gnus-summary-select-article-buffer): Doc fix. gnus-registry.el (gnus-registry-remake-db): Put the warning on a "warning" level.
* lisp/dframe.el (dframe-current-frame): Remove spurious quote.Juanma Barranquero2011-04-122-1/+5
|
* mm-url.el (mm-url-package-name): Removed to ease third-party reuse.Lars Magne Ingebrigtsen2011-04-122-11/+5
| | | | (mm-url-insert-file-contents): Don't set the package names.
* lisp/ChangeLog: Fix date of entry.Juanma Barranquero2011-04-121-18/+18
|
* Small cal-tex fix.Glenn Morris2011-04-122-0/+13
| | | | | * lisp/calendar/cal-tex.el (cal-tex-end-document): Try to automatically use latin1 input if needed.
* cal-hebrew fix for diary-hebrew-rosh-hodesh.Glenn Morris2011-04-112-4/+10
| | | | | | | | | | | | | | | | | * lisp/calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh): Don't try to cons a mark onto an empty element. Recipe showing the problem: ~/diary: &%%(diary-rosh-hodesh) &%%(diary-parasha) emacs -Q --eval "(progn (add-hook 'diary-nongregorian-listing-hook 'diary-hebrew-list-entries) (setq cal-tex-diary t))" -f calendar Move to Jan 2011, press `t m', latex the generated file. [Port to 23.4]
* gnus-registry.el (gnus-registry-action): Remove properties and simplify ↵Teodor Zlatanov2011-04-112-7/+18
| | | | | | | subject in `gnus-registry-handle-action'. (gnus-registry-spool-action): Get subject and sender from message if they are not passed in. (gnus-registry-handle-action): Remove properties and simplify subject consistently.
* Enable ido to kill virtual buffersLeo Liu2011-04-112-7/+17
|
* * lisp/gnus/registry.el: Require CL before using defmacro*.Stefan Monnier2011-04-102-2/+6
|
* gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may ↵Katsumi Yamaoka2011-04-112-1/+10
| | | | be a group parameter.
* Fix bad interaction between icomplete and completion inline help (Bug#5849).Chong Yidong2011-04-103-12/+36
| | | | | | | | | | * lisp/minibuffer.el (completion-show-inline-help): New var. (completion--do-completion, minibuffer-complete) (minibuffer-force-complete, minibuffer-complete-word): Inhibit minibuffer messages if completion-show-inline-help is nil. * lisp/icomplete.el (icomplete-mode): Bind completion-show-inline-help to avoid interference from inline help.
* Fix typo in tabulated-list-print-entryLeo Liu2011-04-102-1/+6
|
* Cleanups to the ImageMagick code and docstrings.Chong Yidong2011-04-092-53/+71
| | | | | | | | | | | | | * lisp/image-mode.el (image-toggle-display-image): Signal an error if not in Image mode. (image-transform-mode, image-transform-resize) (image-transform-set-rotation): Doc fix. (image-transform-set-resize): Deleted. (image-transform-set-scale, image-transform-fit-to-height) (image-transform-fit-to-width): Handle image-toggle-display-image and image-transform-resize directly. * src/image.c (Fimagemagick_types): Doc fix, and comment cleanup.
* Merge from emacs-23; up to 2010-06-08T03:06:47Z!dann@ics.uci.edu.Glenn Morris2011-04-091-1/+1
|\
| * Mark tiny change.Glenn Morris2011-04-091-1/+1
| |
* | Produce more accurate results from file-size-human-readable.Eli Zaretskii2011-04-093-2/+11
| | | | | | | | | | | | | | lisp/files.el (file-size-human-readable): Produce one digit after decimal, like "ls -lh" does. lisp/ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in the file size representation.
* | Fit contents to emacs window support for doc-view by Sho Nakatani.Tassilo Horn2011-04-082-0/+83
| | | | | | | | | | | | | | | | | | 2011-03-28 Sho Nakatani <lay.sakura <at> gmail.com> * doc-view.el (doc-view-fit-width-to-window) (doc-view-fit-height-to-window, doc-view-fit-page-to-window): New functions for fitting the shown image to the Emacs window size. (doc-view-mode-map): Add bindings for the new functions.
* | Merge changes from emacs-23 branchChong Yidong2011-04-082-1/+6
|\ \ | |/
| * Backport 2011-04-04T22:08:01Z!lekktu@gmail.com and ↵Juanma Barranquero2011-04-062-3/+9
| | | | | | | | | | | | | | | | 2011-04-04T22:33:12Z!lekktu@gmail.com from trunk. * help-fns.el (describe-variable): Complete all variables having documentation, including keywords. http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
| * lisp/vc-annotate.el: Fix typo.Juanma Barranquero2011-03-242-1/+6
| |
* | Bail out from list-processes if async subprocesses aren't available.Eli Zaretskii2011-04-082-0/+7
| | | | | | | | | | lisp/simple.el (list-processes): If async subprocesses are not available, error out with a clear error message.
* | Remove internal_with_output_to_temp_buffer, replacing sole user with Lisp.Chong Yidong2011-04-082-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/help.el (help-form-show): New function, to be called from C. Put help-form output in a buffer named differently than *Help*. * src/keyboard.c (read_char): Call Lisp function help-form-show, instead of using internal_with_output_to_temp_buffer. (Qhelp_form_show): New var. * src/lisp.h (internal_with_output_to_temp_buffer): Remove prototype. * src/print.c (internal_with_output_to_temp_buffer): Function deleted.
* | New function file-size-human-readable.Eli Zaretskii2011-04-083-9/+36
| | | | | | | | | | | | lisp/files.el (file-size-human-readable): New function. lisp/ls-lisp.el (ls-lisp-format-file-size): Use it, instead of computing the representation inline. Don't require `cl'.
* | * lisp/man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.Glenn Morris2011-04-072-2/+3
| |
* | browse-url.el trivia.Glenn Morris2011-04-072-2/+4
| | | | | | | | | | * lisp/net/browse-url.el (browse-url-firefox): Test system-type, not system-configuration.
* | log-edit.el fix for bug#7598.Glenn Morris2011-04-072-2/+19
| | | | | | | | | | | | * lisp/vc/log-edit.el (log-edit-empty-buffer-p): New function. (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate): Use log-edit-empty-buffer-p.
* | rlogin.el trivia.Glenn Morris2011-04-072-42/+32
| | | | | | | | | | | | * lisp/net/rlogin.el (rlogin-process-connection-type): Simplify. (rlogin-mode-map): Initialize in the defvar. (rlogin): Use ignore-errors.