summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* ChangeLog fixGlenn Morris2013-07-081-19/+20
|
* * ido.el (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)Leo Liu2013-07-092-2/+9
|
* * ido.el (ido-read-directory-name): Handle fallback.Leo Liu2013-07-092-7/+16
| | | | | | (ido-read-file-name): Update DIR to ido-current-directory. Fixes: debbugs:1516
* * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extraDmitry Gutov2013-07-092-5/+11
| | | | | | "autoload". Remove "warn lower camel case" section, previously commented out. Highlight negation char. Do not highlight the target in singleton method definitions.
* Merge changes made in Gnus masterGnus developers2013-07-083-1/+36
|
* * lisp/faces.el (tty-setup-hook): Declare the hook.Stefan Monnier2013-07-082-0/+6
|
* * lisp/emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to tryStefan Monnier2013-07-082-6/+19
| | | | | | | and detect when a guard/pred depends on local vars. (pcase--u1): Adjust caller. Fixes: debbugs:14773
* Fix lisp/ChangeLog entry for last commit.Eli Zaretskii2013-07-081-0/+2
|
* Improve scrolling when line-spacing is non-nil.Eli Zaretskii2013-07-082-15/+55
| | | | | lisp/simple.el (line-move-partial, line-move): Account for line-spacing.
* * net/shr.el (shr-map): Reinstate the `u' key bindingLars Magne Ingebrigtsen2013-07-082-0/+6
| | | | It's been used a while.
* ChangeLog fixes.Juanma Barranquero2013-07-081-27/+24
|
* lisp/subr.el (read-quoted-char): Remove unused local variable `char'.Juanma Barranquero2013-07-082-6/+10
|
* * faces.el (tty-run-terminal-initialization): function changed (StefanMichael Kifer2013-07-076-107/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Monnier's patch). * viper.el (viper-emacs-state-mode-list): add egg-status-buffer-mode. (viper-version): version update. (viper-go-away,viper-setup-hooks): function changed (Stefan Monnier's patch). (viper--lookup-key,viper-catch-tty-ESC,viper-uncatch-tty-ESC, viper-setup-ESC-to-escape): new functions (Stefan Monnier's patch). * viper-cmd.el: (viper-del-forward-char-in-insert): new function. (viper-save-kill-buffer): check if buffer is modified. (viper-envelop-ESC-key): function deleted (Stefan Monnier's patch). (viper-intercept-ESC-key): function changed (Stefan Monnier's patch). * viper-keym.el (viper-ESC-key): constant changed (Stefan Monnier's patch). * ediff.el (ediff-files-command,ediff3-files-command): new functions. (ediff-merge-command,ediff-merge-with-ancestor-command): new functions. (ediff-directories-command,ediff-directories3-command): new functions. (ediff-merge-directories-command): new function. (ediff-merge-directories-with-ancestor-command): new function. All the above are command-line interfaces to ediff: facilitate calling Emacs with the appropriate ediff functions invoked. (ediff-version): version update.
* Improve scrolling of windows whose font is different from frame's default.Eli Zaretskii2013-07-072-19/+52
| | | | | | | | | lisp/simple.el (default-font-height, window-screen-lines): New functions. (line-move, line-move-partial): Use them instead of frame-char-height and window-text-height. This makes scrolling text smoother when the buffer's default face uses a font that is different from the frame's default font.
* Merge changes made in Gnus masterGnus developers2013-07-067-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-07-06 Lars Ingebrigtsen <larsi@gnus.org> * gnus.texi (Group Parameters): Mention regexp substitutions (bug#11688). 2013-07-06 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) * gnus.texi (Generic Marking Commands): Fix grammar (bug#13368). 2013-07-06 Lars Ingebrigtsen <larsi@gnus.org> * gnus.texi (Emacsen): Fix version. * gnus-faq.texi (FAQ 1-6): Mention the correct Emacs version. 2013-07-06 Lars Ingebrigtsen <larsi@gnus.org> * gnus-art.el (gnus-block-private-groups): Allow `global' methods to display images. * gnus.el (gnus-valid-select-methods): Mark nnrss as global. * message.el (message-cancel-news): According to <mailman.216.1372942181.12400.help-gnu-emacs@gnu.org>, "cancel" is preferred over "cmsg cancel" in the Subject. * nnir.el (nnir-engines): Note that the group specs are regexps (bug#13238). * gnus-msg.el (gnus-copy-article-buffer): If the article buffer has gotten read-only text properties, ensure that those aren't heeded when copying stuff over (bug#13434). * mm-view.el (mm-inline-text-html): Don't bug out on multipart messages (bug#13762).
* * lisp/files.el (write-file): Do not display confirm dialog for NS,Jan Djärv2013-07-062-0/+9
| | | | | | | | | | | | | | | | | | it does its own dialog, which can't be cancelled. * src/nsfns.m: Remove panelOK. (ns_fd_data): New. (ns_run_file_dialog): New function. (Fns_read_file_name): Fill in ns_fd_data, post an event and start the event loop, so file dialog is popped up by ns_run_file_dialog, called by sendEvent (Bug#14578). (EmacsSavePanel, EmacsOpenPanel): Remove ok and cancel methods. * src/nsterm.h (NSSavePanel): Update comment. (NSAPP_DATA2_RUNFILEDIALOG): Define. (ns_run_file_dialog): Declare. * src/nsterm.m (sendEvent:): Handle NSAPP_DATA2_RUNFILEDIALOG.
* Fix vertical cursor motion with non-default fonts.Eli Zaretskii2013-07-062-3/+11
| | | | | lisp/simple.el (line-move-partial): Adjust the row returned by posn-at-point for the current window-vscroll. (Bug#14567)
* * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):Michael Albinus2013-07-062-11/+26
| | | | (tramp-sh-file-inotifywait-process-filter): Handle file names with spaces.
* Add TODO entry.Michael Albinus2013-07-061-0/+3
|
* lisp/window.el (window-state-put): Remove window if buffer was not restored.Martin Rudalics2013-07-062-3/+22
| | | | | | (window-state-put-stale-windows): New variable. (window--state-put-2): Save list of windows without matching buffer. (window-state-put): Remove "bufferless" windows if possible.
* lisp/simple.el (alternatives-define): Remove leftover :group keyword.Juanma Barranquero2013-07-062-2/+6
| | | | Tweak docstring.
* lisp/gnus/auth-source.el (auth-source-netrc-parse-one): Allow empty strings ↵David Kastrup2013-07-062-2/+8
| | | | in authinfo file again (important for blank passwords). This had been broken with 2013-06-15 change
* * ido.el (ido-use-virtual-buffers): Allow new value 'auto.Leo Liu2013-07-062-19/+66
| | | | | | | | (ido-enable-virtual-buffers): New variable. (ido-buffer-internal, ido-toggle-virtual-buffers) (ido-make-buffer-list): Use it. (ido-exhibit): Support turning on and off virtual buffers automatically.
* lisp/simple.el (alternatives-define): New macro.Juanma Barranquero2013-07-062-0/+65
| | | | etc/NEWS: Document new "generic commands" support.
* * lisp/subr.el (read-quoted-char): Use read-key.Stefan Monnier2013-07-052-23/+27
| | | | | | (sit-for): Let read-event decode tty input. Fixes: debbugs:14782
* Fix previous patch.Michael Albinus2013-07-051-28/+31
|
* * calendar/todo-mode.el: Add handling of file deletion, both byStephen Berman2013-07-052-198/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode command and externally. Fix various related bugs. Clarify Commentary and improve some documentation strings and code. (todo-delete-file): New command. (todo-check-file): New function. (todo-show): Handle external deletion of the file we're trying to show. Replace called-interactively-p by an optional prefix argument to avoid problematic interaction with catch form when byte compiled (bug#14702). (todo-quit): Handle external deletion of the archive's todo file. Make sure the buffer that was visiting the archive file is still live before trying to bury it. (todo-category-completions): Handle external deletion of any category completion files. (todo-jump-to-category, todo-basic-insert-item): Recalculate list of todo files, in case of external deletion. (todo-add-file): Replace unnecessary setq by let-binding. (todo-find-archive): Check whether there are any archives. Replace unnecessary setq by let-binding. (todo-archive-done-item): Use find-file-noselect to get the archive buffer whether or not the archive already exists. Remove superfluous code. Use file size instead of buffer-file-name to check if the archive is new; if it is, update list of archives. (todo-default-todo-file): Allow nil to be a valid value for when there are no todo files. (todo-reevaluate-default-file-defcustom): Use corrected definition of todo-default-todo-file. (todo-key-bindings-t+a+f): Add key binding for todo-delete-file. (todo-delete-category, todo-show-categories-table) (todo-category-number): Clarify comment. (todo-filter-items): Clarify documentation string. (todo-show-current-file, todo-display-as-todo-file) (todo-reset-and-enable-done-separator): Tweak documentation string. (todo-done-separator): Make separator length window-width, since bug#2749 is now fixed. Fixes: debbugs:14688
* * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): SupportMichael Albinus2013-07-052-26/+88
| | | | | | | | both "gvfs-monitor-dir" and "inotifywait". (tramp-sh-file-inotifywait-process-filter): Renamed from `tramp-sh-file-notify-process-filter'. (tramp-sh-file-gvfs-monitor-dir-process-filter) (tramp-get-remote-gvfs-monitor-dir): New defuns.
* * autoinsert.el (auto-insert-alist): Default to lexical-binding.Leo Liu2013-07-052-1/+8
|
* Add multi-monitor support on W32.YAMAMOTO Mitsuharu2013-07-042-4/+32
|
* * filenotify.el: New package.Michael Albinus2013-07-046-123/+474
| | | | | | | | | | | | | | | | | | | | | * autorevert.el (top): Require filenotify.el. (auto-revert-notify-enabled): Remove. Use `file-notify-support' instead. (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) (auto-revert-notify-handler): Use `file-notify-*' functions. * subr.el (file-notify-handle-event): Move function to filenotify.el. * net/tramp.el (tramp-file-name-for-operation): Handle `file-notify-add-watch' and `file-notify-rm-watch'. * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler for `file-notify-add-watch' and `file-notify-rm-watch'. (tramp-process-sentinel): Improve trace. (tramp-sh-handle-file-notify-add-watch) (tramp-sh-file-notify-process-filter) (tramp-sh-handle-file-notify-rm-watch) (tramp-get-remote-inotifywait): New defuns.
* * lisp/buff-menu.el (Buffer-menu-multi-occur): Add args and move theJuri Linkov2013-07-043-4/+12
| | | | | | | | | call of `occur-read-primary-args' to interactive spec. * lisp/ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to `ibuffer-do-occur' like in buff-menu.el. Fixes: debbugs:14673
* * lisp/buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" toMatthias Meulien2013-07-042-0/+19
| | | | | | | | `Buffer-menu-multi-occur'. Add it to the menu. (Buffer-menu-mode): Document it in docstring. (Buffer-menu-multi-occur): New command. Fixes: debbugs:14673
* * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight moreDmitry Gutov2013-07-032-11/+56
| | | | keywords and built-ins.
* gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 changeKatsumi Yamaoka2013-07-032-12/+18
|
* Merge from emacs-24; up to 2012-12-29T12:57:49Z!fgallina@gnu.orgGlenn Morris2013-07-022-2/+6
|\
| * * lisp/subr.el (y-or-n-p): Handle empty prompts.Glenn Morris2013-07-022-2/+8
| | | | | | | | Fixes: debbugs:14770
* | Make info-xref checks case-sensitive by defaultGlenn Morris2013-07-023-18/+58
| | | | | | | | | | | | | | | | | | | | * lisp/info.el (Info-find-node, Info-find-in-tag-table) (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node): Add option for exact case matching of nodes. * lisp/info-xref.el (info-xref): New custom group. (info-xref-case-fold): New option. (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
* | * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.Leo Liu2013-07-032-2/+8
| |
* | * lisp/progmodes/ruby-mode.el (ruby-move-to-block): When we're at aDmitry Gutov2013-07-032-14/+17
| | | | | | | | | | | | | | middle of block statement initially, lower the depth. Remove FIXME comment, not longer valid. Remove middle of block statement detection, no need to do that anymore since we've been using `ruby-parse-region' here.
* | * term/ns-win.el (display-format-alist): Use .*.Jan Djärv2013-07-022-1/+6
| | | | | | | | Fixes: debbugs:14765
* | Merge changes made in Gnus trunkKatsumi Yamaoka2013-07-027-94/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus.texi (Client-Side IMAP Splitting): Note that `nnimap-inbox' now can be a list. 2013-06-05 David Engster <deng@randomsample.de> * gnus-sum.el (gnus-update-marks): Do not remove empty 'unexist' ranges, since `nnimap-retrieve-group-data-early' also uses it as a flag to see whether the group was synced before. 2012-09-05 Martin Stjernholm <mast@lysator.liu.se> * nnimap.el (nnimap-request-move-article): Decode the group name when doing internal moves to avoid charset issues. 2012-09-05 Julien Danjou <julien@danjou.info> * nnimap.el (nnimap-request-list): Revert change that made listing synchronous. (nnimap-get-responses): Restore. 2012-08-31 Dave Abrahams <dave@boostpro.com> * nnimap.el (nnimap-change-group): Document result value. * nnimap.el (nnimap-find-article-by-message-id): Account for the fact that nnimap-change-group can return t. 2012-08-06 Julien Danjou <julien@danjou.info> * nnimap.el (nnimap-request-head): Resture to-buffer parameter, used by `nnimap-request-move-article'. * nnimap.el (nnimap-request-head): Remove to-buffer argument. * gnus-int.el (gnus-request-head): Remove to-buffer argument, only supported by nnimap actually. Reverts previous change. * gnus-int.el (gnus-request-head): Add an optional to-buffer parameter to mimic `gnus-request-article' and enjoy backends the nn*-request-head to-buffer argument that is already supported. 2012-07-24 Julien Danjou <julien@danjou.info> * nnimap.el (nnimap-get-responses): Remove, unused. 2012-06-25 Julien Danjou <julien@danjou.info> * nnimap.el (nnimap-request-articles-find-limit): Rename from `nnimap-request-move-articles-find-limit' since we do not use it only for move operations. (nnimap-request-accept-article): Use `nnimap-request-articles-find-limit' to limit search by message-id. 2012-06-19 Julien Danjou <julien@danjou.info> * nnir.el (nnir-run-imap): Fix, use `nnimap-change-group'. * nnimap.el (nnimap-log-buffer): Check that `window-point-insertion-type' is boundp, since it's not available in XEmacs. 2012-06-19 Michael Welsh Duggan <md5i@md5i.com> * nnimap.el (nnimap-log-buffer): Add this, setting `window-point-insertion-type' in the buffer to t. (nnimap-log-command): Use nnimap-log-buffer. 2012-06-19 Julien Danjou <julien@danjou.info> * nnimap.el (nnimap-find-article-by-message-id): Add an optional limit argument to be able to limit the search. (nnimap-request-move-article): Use `nnimap-request-move-articles-find-limit'. (nnimap-request-move-articles-find-limit): Add this to limit the search by Message-Id after a message move. (nnimap): Add defgroup. 2012-06-15 Julien Danjou <julien@danjou.info> * nnimap.el (nnimap-find-article-by-message-id): Use `nnimap-possibly-change-group' rather than its own EXAMINE call. (nnimap-possibly-change-group): Add read-only argument. (nnimap-request-list): Use nnimap-possibly-change-group rather than issuing EXAMINE manually. (nnimap-find-article-by-message-id): Use `nnimap-possibly-change-group' with read-only argument. (nnimap-change-group): Rename from `nnimap-possibly-change-group'. We cannot possibly change because we need to be sure that it's either read-write or read-only. 2012-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-sum.el (gnus-summary-insert-old-articles): Don't include unexistent messages. 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-clean-old-newsrc): Remove totally bogus `unexists' entries. (gnus-clean-old-newsrc): Fix last checkin. * nnimap.el (nnimap-update-info): None of the articles below the active low-water mark exist. 2012-03-27 Katsumi Yamaoka <yamaoka@jpl.org> * nnimap.el (gnus-refer-thread-use-nnir): Silence the byte compiler. 2012-03-22 Sergio Martinez <samf0xb58@gmail.com> (tiny change) * nnimap.el (nnimap-request-scan): Allow `nnimap-inbox' to be a list of inboxes. 2012-03-10 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-group.el (gnus-group-expire-articles-1): Don't try to expire messages that don't exist. * gnus-sum.el (gnus-summary-expire-articles): Ditto. 2012-02-20 Lars Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-clean-old-newsrc): Allow a FORCE parameter. 2012-02-15 Lars Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-clean-old-newsrc): Delete `unexist' from pre-Ma Gnus 0.3. 2012-02-15 Lars Ingebrigtsen <larsi@gnus.org> * gnus-sum.el (gnus-summary-local-variables): Make `gnus-newsgroup-unexist' into a local variable. 2012-02-11 Lars Ingebrigtsen <larsi@gnus.org> * gnus-sum.el (gnus-adjust-marked-articles): Add to `gnus-newsgroup-unexist'. * gnus.el (gnus-article-mark-lists): Add `unexist' to the list of marks. (gnus-article-special-mark-lists): Put the `unexist' in the special marks list instead. * gnus-sum.el (gnus-articles-to-read): Don't include unexisting articles in the list of articles to be selected. * nnimap.el (nnimap-retrieve-group-data-early): Query for unexisting articles. (nnimap-update-info): Keep track of unexisting articles. (nnimap-update-qresync-info): Ditto. 2012-02-01 Lars Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-clean-old-newsrc): New function. (gnus-read-newsrc-file): Use it.
* | lisp/gnus/mml2015.el: make key image extraction robusterDaiki Ueno2013-07-022-1/+9
| |
* | Auto-commit of loaddefs files.Glenn Morris2013-07-011-1798/+1417
| |
* | lisp/Changelog: Typo fixKatsumi Yamaoka2013-07-011-1/+1
| |
* | wid-edit.el (widget-default-get): Don't modify widget (Bug#14738)Katsumi Yamaoka2013-07-012-0/+5
| |
* | lisp/desktop.el: More fixes to frame restoration.Juanma Barranquero2013-07-012-21/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | (desktop-restore-frames): Rename from desktop-save-windows. (desktop-restore-in-current-display): New customization option. (desktop--excluded-frame-parameters): Add `font'. (desktop--save-frames): Rename from desktop--save-windows. (desktop--restore-in-this-display-p): New function. (desktop--make-full-frame): Remove unwanted width/height from full(width|height) frames. (desktop--restore-frames): Rename from desktop--restore-windows. Obey desktop-restore-current-display. Do not delete old frames or select a new frame unless we were able to restore at least one frame.
* | lisp/ChangeLog: Fix typo.Juanma Barranquero2013-07-011-2/+2
| |
* | ChangeLog fixGlenn Morris2013-06-301-2/+2
| |
* | Add `remember-notes' function to store random notes across EmacsMichal Nazarewicz2013-06-304-31/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restarts. * remember.el (remember-data-file): Add :set callback to affect notes buffer (if any). (remember-notes): New command. (remember-notes-buffer-name, bury-remember-notes-on-kill): New defcustoms for the `remember-notes' function. (remember-notes-save-and-bury-buffer): New command. (remember-notes-mode-map): New variable. (remember-mode): New minor mode. (remember-notes--kill-buffer-query): New function. * lisp/startup.el (initial-buffer-choice): Add notes to custom type. * src/buffer.c (FKill_buffer): Run `kill-buffer-query-functions' before checking whether buffer is modified. This lets `kill-buffer-query-functions' cancel killing of the buffer or save its content before `kill-buffer' asks user the "Buffer %s modified; kill anyway?" question. * remember.el (remember-append-to-file): Don't mix `find-buffer-visiting' and `get-file-buffer'. * lisp/files.el (find-file-noselect): Simplify conditional expression.