summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Fix mistake in last iswitchb.el bug fix.Deniz Dogan2011-06-041-1/+1
|
* * net/tramp-sh.el (tramp-find-shell): Apply workaround also forMichael Albinus2011-06-042-3/+10
| | | | "SunOS 5.10".
* * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)Michael Albinus2011-06-045-34/+80
| | | | | | | | | | | | | | | | | (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys) (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc) (tramp-parse-putty): * net/tramp-sh.el (tramp-completion-function-alist-rsh) (tramp-completion-function-alist-ssh) (tramp-completion-function-alist-telnet) (tramp-completion-function-alist-su) (tramp-completion-function-alist-putty): Set `tramp-autoload' cookie. * net/tramp-ftp.el: * net/tramp-sh.el: * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after load "tramp.el" `tramp-set-completion-function'.
* * lisp/shell.el: Require and use pcomplete.Stefan Monnier2011-06-042-1/+12
| | | | | (shell-dynamic-complete-functions): Add pcomplete-completions-at-point. (shell-completion-vars): Set pcomplete-default-completion-function.
* * lisp/iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of `memq'.Deniz Dogan2011-06-042-4/+8
| | | | Fixes: debbugs:8799
* * lisp/url/url-future.el (url-future-test): Fix scope of `saver'.Andreas Schwab2011-06-042-3/+7
|
* * lisp/subr.el (make-progress-reporter): Add "..." by default.Stefan Monnier2011-06-022-0/+6
| | | | Fixes: debbugs:8785
* Silence warning for unused `dotimes' counter variables.Juanma Barranquero2011-06-025-10/+19
| | | | | | | * mpc.el (mpc-select-extend, mpc-songpointer-context): * vc/log-view.el (log-view-beginning-of-defun): * vc/smerge-mode.el (smerge-apply-resolution-patch) (smerge-refine-forward, smerge-refine-chopup-region):
* Auto-commit of loaddefs files.Glenn Morris2011-06-021-1/+1
|
* * lisp/net/tramp.el (tramp-with-progress-reporter): Rename fromStefan Monnier2011-06-025-27/+36
| | | | | | | with-progress-reporter. Use `declare'. * lisp/net/tramp-smb.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-gvfs.el: Update all uses.
* * calc/calc.el (calc-kill-stack-buffer): Make sure that the trailJay Belanger2011-06-012-13/+19
| | | | buffer isn't killed before making it current.
* gnus-registry.el (gnus-registry-remove-ignored): New function to remove ↵Teodor Zlatanov2011-06-012-0/+19
| | | | entries with groups we ignore.
* Silence various byte-compiler warnings.Stefan Monnier2011-06-0112-57/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (make-obsolete-variable): New argument `access-type' and new obsolescence format. * lisp/emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to new format. (byte-compile-check-variable): New `access-type' argument. Only warn if the access-type is obsolete. (byte-compile-dynamic-variable-bind, byte-compile-variable-ref) (byte-compile-variable-set): Adjust callers. * lisp/help-fns.el (describe-variable): Adjust to new obsolescence format. * lisp/mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark setting it as obsolete. * lisp/simple.el (minibuffer-completing-symbol): * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Only mark read access as obsolete. * lisp/minibuffer.el (minibuffer-completing-file-name): Don't make it obsolete yet. * lisp/international/quail.el (quail-mouse-choose-completion): Remove unused code referring to obsolete var. (quail-choose-completion-string): Remove. * lisp/server.el (server-clients-with, server-kill-buffer-query-function) (server-kill-emacs-query-function): Silence "unused `proc'" warnings. * lisp/proced.el (proced-send-signal): * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Replace completion-annotate-function with completion-extra-properties.
* Add :version tags for url-queue.el.Glenn Morris2011-06-012-0/+7
| | | | | * lisp/url/url-queue.el (url-queue-parallel-processes, url-queue-timeout): Add :version tag for options that will be new in 24.1.
* * lisp/simple.el (goto-line): Use read-number.Stefan Monnier2011-06-012-23/+28
| | | | | | | | | | | (overriding-map-is-bound): Remove. (saved-overriding-map): Change default. (save&set-overriding-map): Rename from ensure-overriding-map-is-bound; Take the map as argument. (universal-argument, negative-argument, digit-argument): Use it. (restore-overriding-map): Adjust. (do-auto-fill): Use fill-forward-paragraph. (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
* * lisp/minibuffer.el (minibuffer-inactive-mode-map): New var.Stefan Monnier2011-06-013-13/+38
| | | | | | | | (minibuffer-inactive-mode): New major mode. * src/minibuf.c (get_minibuffer, read_minibuf_unwind): Call it. * lisp/mouse.el (mouse-drag-region): Remove the "mouse-1 pops up the *Messages* buffer" hack. (mouse-popup-menubar): Don't burp if the event is a normal key.
* * lisp/thingatpt.el (forward-whitespace): Typo.Stefan Monnier2011-06-011-1/+1
|
* Miscellaneous tweaks.Stefan Monnier2011-06-0110-39/+77
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for lexical scoping as in subr.el's dolist and dotimes. * lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf): Silence compiler warning. * lisp/thingatpt.el (forward-whitespace): Trivial coding style fix. * lisp/subr.el (with-output-to-temp-buffer): Provide an edebug spec. * lisp/international/ccl.el (ccl-compile): Trivial simplification. * lisp/help-fns.el (help-do-arg-highlight): Silence compiler warning. * lisp/emacs-lisp/testcover.el (testcover-end): Remove spurious `printflag' argument. * lisp/emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable): Purecopy the whole obsolescence data.
* Auto-commit of loaddefs files.Glenn Morris2011-06-011-289/+347
|
* Fix last change on rcirc-print and rcirc-decode-coding-systemLeo Liu2011-06-012-5/+11
|
* Use derived-mode-p in previous change.Glenn Morris2011-05-311-1/+1
|
* * lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.Glenn Morris2011-05-312-0/+9
|
* Update.Katsumi Yamaoka2011-06-011-0/+4
|
* Merge changes made in Gnus trunk.Gnus developers2011-05-313-16/+43
| | | | | | | | gnus.texi (Store custom flags and keywords): Refer to `gnus-registry-article-marks-to-{chars,names}' instead of `gnus-registry-user-format-function-{M,M2}'. shr.el (shr-rescale-image): Add an :ascent of 100 to images so that the underline comes at the bottom. gnus-registry.el (gnus-registry-article-marks-to-chars): Rename from `gnus-registry-user-format-function-M' and declare the latter obsolete. (gnus-registry-article-marks-to-names): Rename from `gnus-registry-user-format-function-M2'. shr.el (shr-browse-image): Copy the URL if called interactively.
* * lisp/minibuffer.el (complete-with-action): Return nil for the metadata andStefan Monnier2011-05-312-39/+72
| | | | | | | | | | | boundaries of non-functional tables. (completion-table-dynamic): Return nil for the metadata. (completion-table-with-terminator): Add default case, using complete-with-action. (completion--metadata): New function. (completion-all-sorted-completions, minibuffer-completion-help): Use it to try and avoid pathological performance problems. (completion--embedded-envvar-table): Return `category' metadata.
* (url-queue-parallel-processes): Increase the default to 6, since 2 seems too ↵Lars Magne Ingebrigtsen2011-05-312-1/+6
| | | | conservative for normal usage.
* Add the tiny convenience function `process-alive-p'.Lars Magne Ingebrigtsen2011-05-312-0/+11
|
* * lisp/emacs-lisp/debug.el (debug): Save&restore not just the buffer'sStefan Monnier2011-05-312-6/+20
| | | | content but also its previous major mode.
* * debug.el (debug): Restore the previous content of theHelmut Eller2011-05-312-0/+8
| | | | *Backtrace* buffer when we exit with C-M-c.
* * url-future.el: Add general futures facility.Ted Zlatanov2011-05-312-0/+130
|
* gnus-sum.el (gnus-summary-exit): Make sure to kill article buffer in ↵Katsumi Yamaoka2011-05-312-2/+11
| | | | ephemeral group.
* * lisp/minibuffer.el: Add metadata method to completion tables.Stefan Monnier2011-05-314-50/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | (completion-category-overrides): New defcustom. (completion-metadata, completion--field-metadata) (completion-metadata-get, completion--styles) (completion--cycle-threshold): New functions. (completion-try-completion, completion-all-completions): Add `metadata' argument to choose completion-styles. (completion--do-completion): Use metadata to choose cycling. (completion-all-sorted-completions): Use metadata for sorting. Remove :completion-cycle-penalty which is not needed any more. (completion--try-word-completion): Add `metadata' argument. (minibuffer-completion-help): Check metadata for annotation function and sorting. (completion-file-name-table): Return `category' metadata. (minibuffer-completing-file-name): Make obsolete. * lisp/simple.el (minibuffer-completing-symbol): Make obsolete. * lisp/icomplete.el (icomplete-completions): Pass new `metadata' param to completion-try-completion. * src/minibuf.c (Finternal_complete_buffer): Return `category' metadata. (read_minibuf): Use get_minibuffer. (syms_of_minibuf): Use DEFSYM. (Qmetadata): New var. * src/data.c (Qbuffer): Don't make it static. (syms_of_data): Use DEFSYM.
* Merge changes made in Gnus trunk.Lars Magne Ingebrigtsen2011-05-307-11/+43
| | | | | | | | | | | | gnus-group.el (gnus-group-mark-article-read): It's possible that we want to have `gnus-newsgroup-unselected' kept sorted. If this isn't done, then unselected articles may be marked as read. pop3.el (pop3-open-server): Erase the buffer after the greeting, since not doing this seems to lead to a race condition in pop3-logon. nnvirtual.el (nnvirtual-request-article): Bind `gnus-command-method' so that the call chain it correct when we call "upwards". gnus-sum.el (gnus-select-newsgroup): Auto-expiry doesn't make sense in read-only groups. gnus-group.el (gnus-group-mark-article-read): Ditto. message.el (message-cite-reply-position): Doc string fix. nnimap.el (nnimap-transform-headers): Simplify regexp to hopefully avoid regexp overflow. (nnimap-transform-split-mail): Ditto. pop3.el (pop3-retr): Error out if the server closes the connection.
* * lisp/mail/smtpmail.el (smtpmail-send-data): Add progress reporter.Stefan Monnier2011-05-302-2/+11
|
* * lisp/gnus/mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designedStefan Monnier2011-05-302-27/+32
| | | | | mm-with-unibyte-current-buffer. The buffer should not contain any multibyte chars anyway at this stage.
* * bytecomp.el (byte-compile-defvar): Add note about quoted lambda.Stefan Monnier2011-05-301-0/+2
|
* Decode all incoming messages in rcirc.elLeo Liu2011-05-302-4/+9
| | | | | | | Also allow automatic coding system detection if rcirc-decode-coding-system is nil. See discussion in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8744
* Use a visible buffer name for rcirc-debug-bufferLeo Liu2011-05-302-1/+5
|
* shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the ↵Gnus developers2011-05-293-2/+13
| | | | | | end of lines. smiley.el (gnus-smiley-file-types): Add gif as supported file type.
* Fix animated gifs (Bug#6981).Chong Yidong2011-05-293-42/+82
| | | | | | | | | | | | | | | | * lisp/image-mode.el (image-toggle-display-image): Ensure that the image spec passed to the animate timer is the same object as in the the buffer's display property. (image-transform-properties): Doc fix. * lisp/image.el (image-animate-max-time): Default to nil. * lisp/image.el (image-animate-max-time): Allow nil and t values. Default to nil. (create-animated-image): Doc fix. (image-animate-start): Remove second arg; just use image-animate-max-time. (image-animate-timeout): Doc fix. Args changed.
* * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over entire buffer ↵Martin Rudalics2011-05-292-8/+16
| | | | list (Bug#8184).
* Doc fixes for imagemagick support code.Chong Yidong2011-05-292-19/+31
| | | | | | | | * lisp/image.el (imagemagick-types-inhibit) (imagemagick-register-types): Doc fix. * src/image.c: Various fixes to ImageMagick code comments. (Fimagemagick_types): Doc fix.
* * net/rcirc.el (rcirc): Use the user's stored encryption method by default.Deniz Dogan2011-05-292-1/+11
|
* Add option :named to defstruct in url-cookie.elLeo Liu2011-05-292-9/+8
| | | | | | or url-cookie-p won't be defined. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8747 for details.
* Move clipboard-manager functionality out of hooks.Chong Yidong2011-05-282-4/+5
| | | | | | | | | | | | | | * lisp/select.el: Don't perform clipboard-manager saving in hooks; leave the hooks empty. * src/emacs.c (Fkill_emacs): Call x_clipboard_manager_save_all. * src/frame.c (delete_frame): Call x_clipboard_manager_save_frame. * src/xselect.c (x_clipboard_manager_save_frame) (x_clipboard_manager_save_all): New functions. (Fx_clipboard_manager_save): Lisp function deleted. * src/xterm.h: Update prototype.
* Make first mode-line dash an empty space on graphical terminals (Bug#7295).Chong Yidong2011-05-282-1/+6
| | | | | * lisp/bindings.el (help-echo): Make the initial non-indicator dash empty on graphical terminals.
* * startup.el (normal-splash-screen): Remove gratuitous mode-line setting ↵Chong Yidong2011-05-282-3/+3
| | | | (Bug#8740).
* * lisp/newcomment.el (comment-end-skip): Doc fix (Bug#8659).Chong Yidong2011-05-282-1/+3
|
* New major mode: Occur Edit mode.Leo Liu2011-05-282-22/+94
| | | | | | | | * lisp/replace.el (occur-menu-map, occur-edit-mode-map): New vars. (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map. (occur-edit-mode): New major mode (Bug#8463). (occur-after-change-function): New function. (occur-engine): Give Occur tags a read-only property.
* Additional minor fix to (Bug#8539).Alp Aker2011-05-282-3/+6
| | | | * lisp/buff-menu.el (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column.