aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lisp/desktop.el: Move code related to saving frames to frameset.el.Juanma Barranquero2013-08-021-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Require frameset. (desktop-restore-frames): Doc fix. (desktop-restore-reuses-frames): Rename from desktop-restoring-reuses-frames. (desktop-saved-frameset): Rename from desktop-saved-frame-states. (desktop-clear): Clear frames too. (desktop-filter-parameters-alist): Set from frameset-filter-alist. (desktop--filter-tty*, desktop-save, desktop-read): Use frameset functions. (desktop-before-saving-frames-functions, desktop--filter-*-color) (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm) (desktop--filter-save-desktop-parm, desktop--filter-iconified-position) (desktop-restore-in-original-display-p, desktop--filter-frame-parms) (desktop--process-minibuffer-frames, desktop-save-frames) (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen) (desktop--find-frame, desktop--select-frame, desktop--make-frame) (desktop--sort-states, desktop-restoring-frames-p) (desktop-restore-frames): Remove. Most code moved to frameset.el. (desktop-restoring-frameset-p, desktop-restore-frameset) (desktop--check-dont-save, desktop-save-frameset): New functions. (desktop--app-id): New constant. (desktop-first-buffer, desktop-buffer-ok-count) (desktop-buffer-fail-count): Move before first use. lisp/frameset.el: New file.
* * lisp/files.el: Use lexical-binding.Stefan Monnier2013-08-011-0/+17
| | | | | | | | | | | | | | | (dir-locals-read-from-file): Remove unused `err' variable. (hack-dir-local-variables--warned-coding): New var. (hack-dir-local-variables): Use it to avoid repeated warnings. (make-backup-file-name--default-function): New function. (make-backup-file-name-function): Use it as default. (buffer-stale--default-function): New function. (buffer-stale-function): Use it as default. (revert-buffer-insert-file-contents--default-function): New function. (revert-buffer-insert-file-contents-function): Use it as default. (insert-directory): Avoid add-to-list. * lisp/autorevert.el (auto-revert-handler): Simplify. Use buffer-stale--default-function.
* Fix typos in ChangeLogs.Juanma Barranquero2013-08-021-7/+7
|
* * speedbar.el (speedbar-query-confirmation-method): Doc fix.Tassilo Horn2013-08-011-0/+2
|
* Refactor out setting `whitespace-indent-tabs-mode' andTassilo Horn2013-08-011-0/+6
| | | | | | | | | | `whitespace-tab-width' buffer-locally to own function, so that `whitespace-cleanup' and friends work appropriately without needing to enable `whitespace-mode'. * whitespace.el (whitespace-ensure-local-variables): New function. (whitespace-cleanup-region): Call it. (whitespace-turn-on): Call it.
* Complete file name handlers.Michael Albinus2013-08-011-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp.el (tramp-handle-set-visited-file-modtime) (tramp-handle-verify-visited-file-modtime) (tramp-handle-file-notify-rm-watch): New functions. (tramp-call-process): Do not bind `default-directory'. * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Order alphabetically. [access-file, add-name-to-file, dired-call-process]: [dired-compress-file, file-acl, file-notify-rm-watch]: [file-ownership-preserved-p, file-selinux-context]: [make-directory-internal, make-symbolic-link, set-file-acl]: [set-file-selinux-context, set-visited-file-modtime]: [verify-visited-file-modtime]: Add handler. (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'. * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) [file-notify-add-watch, file-notify-rm-watch]: [set-file-times, set-visited-file-modtime]: [verify-visited-file-modtime]: Add handler. (with-tramp-gvfs-error-message) (tramp-gvfs-handle-set-visited-file-modtime) (tramp-gvfs-fuse-file-name): Remove. (tramp-gvfs-handle-file-notify-add-watch) (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns. (tramp-gvfs-handle-write-region): Fix error in moving tmpfile. * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Order alphabetically. [file-notify-rm-watch ]: Use default Tramp handler. [executable-find]: Remove private handler. (tramp-do-copy-or-rename-file-out-of-band): Do not bind `default-directory'. (tramp-sh-handle-executable-find) (tramp-sh-handle-file-notify-rm-watch): Remove functions. (tramp-sh-file-gvfs-monitor-dir-process-filter) (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path): Do not use `format' in `tramp-message'. * net/tramp-smb.el (tramp-smb-file-name-handler-alist) [file-notify-rm-watch, set-visited-file-modtime]: [verify-visited-file-modtime]: Add handler. (tramp-smb-call-winexe): Do not bind `default-directory'.
* * lisp/vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.Xue Fuqiao2013-08-011-0/+4
|
* * lisp/vc/log-view.el (log-view-diff): Extract `log-view-diff-common',Dmitry Gutov2013-07-311-0/+10
| | | | | | | | | | | use it. (log-view-diff-changeset): Same. (log-view-diff-common): Call backend command `previous-revision' to find out the previous revision, in both cases. Swap the variables `to' and `fr', so that `fr' usually refers to the earlier revision. Fixes: debbugs:14989
* * ibuf-ext.el (ibuffer-filter-by-filename): Make it work with dired buffers too.Kan-Ru Chen2013-07-311-0/+5
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00573.html
* * lisp/vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.Xue Fuqiao2013-07-311-0/+4
|
* * lisp/emacs-lisp/re-builder.el (reb-color-display-p):Dmitry Antipov2013-07-311-0/+9
| | | | | | | | * lisp/files.el (save-buffers-kill-terminal): * lisp/net/browse-url.el (browse-url): * lisp/server.el (server-save-buffers-kill-terminal): * lisp/textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): Prefer nil to selected-frame for the first arg of frame-parameter.
* * lisp/minibuffer.el (completion--twq-all): Try and preserve eachStephen Berman2013-07-301-0/+5
| | | | | | completion's case choice. Fixes: debbugs:14907
* Allow talking to STARTTLS servers that have no greetingLars Magne Ingebrigtsen2013-07-301-0/+5
| | | | | | | | * net/network-stream.el (open-network-stream): Mention the new :nogreeting parameter. (network-stream-open-starttls): Use the :nogreeting parameter. Fixes: debbugs:14938
* * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.Lars Magne Ingebrigtsen2013-07-301-0/+2
|
* (eww-setup-buffer): Switching to the buffer seems more natural than popping.Lars Magne Ingebrigtsen2013-07-301-0/+3
|
* Fix for vc-ignore.Xue Fuqiao2013-07-301-0/+4
| | | | | | * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore. * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
* (shr-urlify): Highlight under mouse.Lars Magne Ingebrigtsen2013-07-301-0/+1
|
* * net/shr.el (shr-urlify): Put `follow-link' on URLs.Lars Magne Ingebrigtsen2013-07-301-0/+4
| | | | Fixes: debbugs:14815
* Doc fix.Xue Fuqiao2013-07-301-4/+4
|
* ChangeLog fix.Xue Fuqiao2013-07-301-1/+1
|
* vc-ignore fixes.Xue Fuqiao2013-07-301-0/+16
| | | | | | | | | | | | | | | | * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*' buffer for output. * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'; do not assume point-min==1; fix search string; fix parentheses missing. * vc/vc-git.el (vc-git-ignore): Remove `interactive'; do not assume point-min==1; fix search string; fix parentheses missing. * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'. * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*' buffer for output.
* Merge from mainline.Xue Fuqiao2013-07-301-0/+165
|\
| * Fix infloop on MS-Windows when initial frame lacks minibuffer.Eli Zaretskii2013-07-291-0/+5
| | | | | | | | | | lisp/frame.el (frame-notice-user-settings): Avoid inflooping when the initial frame is minibuffer-less. (Bug#14841)
| * * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer option.Michael Albinus2013-07-291-0/+8
| | | | | | | | | | * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Use it.
| * Clarify ChangeLog entry.Stephen Berman2013-07-291-1/+1
| |
| * lisp/desktop.el: Fix problem creating minibuffer(less,only) frames.Juanma Barranquero2013-07-291-0/+6
| | | | | | | | | | | | (desktop--make-frame): Include `minibuffer' in the minimal set of parameters passed when creating a frame, because the minibuffer status of a frame cannot be changed later.
| * * calendar/todo-mode.el (todo-rename-file): Fix incorrect use ofStephen Berman2013-07-291-0/+7
| | | | | | | | | | | | replace-regexp-in-string and inadvertent omissions in previous change. (todo-filter-items): Ensure only file names are comma-separated in renamed filtered items buffer.
| * lisp/desktop.el: Optionally force offscreen frames back onscreen.Juanma Barranquero2013-07-281-0/+7
| | | | | | | | | | | | (desktop-restoring-reuses-frames): New option. (desktop--compute-pos, desktop--move-onscreen): New functions. (desktop--make-frame): Use desktop--move-onscreen.
| * Fontify a Java generic method as a function.Alan Mackenzie2013-07-271-0/+6
| | | | | | | | | | * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java value to t.
| * * calendar/todo-mode.el: Add command to rename todo files.Stephen Berman2013-07-271-0/+9
| | | | | | | | | | | | | | | | (todo-rename-file): New command. (todo-key-bindings-t): Add key binding for it. Change the bindings of todo-filter-regexp-items(-multifile) to use `x' instead of `r', since the latter is better suited to the new renaming command.
| * Make Java try-with-resources statement parse properly.Alan Mackenzie2013-07-271-0/+10
| | | | | | | | | | | | | | | | | | progmodes/cc-langs.el (c-block-stmt-1-2-kwds, c-block-stmt-1-2-key): New language constants/variables. progmodes/cc-engine.el (c-beginning-of-statement-1, c-after-conditional): Adapt to deal with c-block-stmt-1-2-key. progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal with c-block-stmt-1-2-key.
| * lisp/desktop.el: Restore frames at their positions, even if offscreen.Juanma Barranquero2013-07-271-1/+7
| | | | | | | | | | (desktop--make-frame): Apply most frame parameters after creating the frame to force (partially or totally) offscreen frames to be restored as such.
| * ChangeLog fix.Xue Fuqiao2013-07-271-1/+3
| |
| * Keybinding fix for vc-dir.Xue Fuqiao2013-07-271-0/+4
| | | | | | | | | | * lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff. * doc/emacs/maintaining.texi (VC Directory Commands): Mention `D' and `L' in vc-dir.
| * Fix documentation of list-processes and process-list.Eli Zaretskii2013-07-261-0/+4
| | | | | | | | | | | | src/process.c (Fprocess_list): Doc fix. lisp/simple.el (list-processes): Doc fix.
| * * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the newStefan Monnier2013-07-261-0/+5
| | | | | | | | `base' arg of backtrace-frame.
| * lisp/desktop.el (desktop--select-frame): Try harder to reuse the initial frame.Juanma Barranquero2013-07-261-0/+5
| |
| * * lisp/emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.Stefan Monnier2013-07-261-0/+11
| | | | | | | | | | | | | | | | | | | | (edebug-eval): Use backtrace-eval. (edebug--display, edebug--recursive-edit): Don't let-bind the edebug-outer-* vars that keep track of variables we locally let-bind. (edebug-outside-excursion): Don't restore outside values of locally let-bound vars. (edebug--display): Use user-error. (cl-lexical-debug, cl-debug-env): Remove.
| * lisp/desktop.el (desktop-restore-frames): Call `sit-for'.Juanma Barranquero2013-07-261-0/+6
| | | | | | | | | | We want to be sure that new frames are visible before deleting any remaining ones.
| * lisp/vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-print-root-log.Matthias Meulien2013-07-261-0/+4
| |
| * Add aliases for encrypting mail.Richard M. Stallman2013-07-261-0/+9
| | | | | | | | | | | | | | | | * epa.el (epa-mail-aliases): New option. * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs. Bind inhibit-read-only so read-only text doesn't ruin everything. (epa-mail-default-recipients): New subroutine broken out. Handle epa-mail-aliases.
| * Add support for lexical variables to the debugger's `e' command.Stefan Monnier2013-07-261-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-* vars, except for debugger-outer-match-data. (debugger-frame-number): Move check for "on a function call" from callers into it. Add `skip-base' argument. (debugger-frame, debugger-frame-clear): Simplify accordingly. (debugger-env-macro): Only reset the state stored in non-variables, i.e. current-buffer and match-data. (debugger-eval-expression): Rewrite using backtrace-eval. * lisp/subr.el (internal--called-interactively-p--get-frame): Remove. (called-interactively-p): * lisp/emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new `base' arg of backtrace-frame instead. * src/eval.c (set_specpdl_old_value): New function. (unbind_to): Minor simplification. (get_backtrace_frame): New function. (Fbacktrace_frame): Use it. Add `base' argument. (backtrace_eval_unrewind, Fbacktrace_eval): New functions. (syms_of_eval): Export backtrace-eval. * src/xterm.c (x_focus_changed): Simplify.
| * * lisp/align.el (align-regexp): Doc fix. Glenn Morris2013-07-251-0/+3
| | | | | | | | | | | | (align-region): Explicit error if subexpression missing/does not match. Fixes: debbugs:14857
| * * lisp/simple.el (global-visual-line-mode): Do not duplicate the mode lighter.Glenn Morris2013-07-251-0/+5
| | | | | | | | Fixes: debbugs:14858
| * In display-buffer bind split-window-keep-point to t, bug#14829.Martin Rudalics2013-07-251-0/+5
| | | | | | | | | | * window.el (display-buffer): In display-buffer bind split-window-keep-point to t, bug#14829.
| * lisp/desktop.el: Use pcase-let, pcase-let* in a few places.Juanma Barranquero2013-07-251-0/+2
| | | | | | | | | | (desktop--select-frame, desktop--sort-states, desktop-restore-frames): Deobfuscate access to desktop--mini values.
| * lisp/desktop.el: Rename internal "desktop-X" frame params to "desktop--X".Juanma Barranquero2013-07-251-0/+8
| | | | | | | | | | | | | | (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm) (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames) (desktop--select-frame, desktop--sort-states, desktop-restore-frames): Change accordingly.
| * Merge from emacs-24; up to 2013-01-01T11:02:14Z!rudalics@gmx.atGlenn Morris2013-07-251-0/+4
| |\
| | * * lisp/dired-x.el (dired-mark-extension): Convert comment to doc string.Glenn Morris2013-07-241-0/+4
| | |
| * | lisp/desktop.el: Add workaround for bug#14949.Juanma Barranquero2013-07-251-0/+8
| | | | | | | | | | | | | | | | | | | | | (desktop--make-frame): Do not pass the `fullscreen' parameter to modify-frame-parameters if the value has not changed. (desktop--make-frame): On cl-delete-if call, check parameter name, not full parameter.