From: Glenn Morris Date: Tue, 27 Aug 2013 08:01:13 +0000 (-0700) Subject: Merge from emacs-24; up to 2013-01-03T01:56:56Z!rgm@gnu.org X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/a0b5606ec769968b10c765f8ff50f312d691ef62 Merge from emacs-24; up to 2013-01-03T01:56:56Z!rgm@gnu.org --- a0b5606ec769968b10c765f8ff50f312d691ef62 diff --cc ChangeLog index c4595a4f2d,26d51066ff..f5540e0da2 --- a/ChangeLog +++ b/ChangeLog @@@ -1,228 -1,12 +1,230 @@@ -2013-08-23 Glenn Morris +2013-08-27 Glenn Morris + * configure.ac (emacs_broken_SIGIO): No longer set on gnu-kfreebsd. + + * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32) + (DOCMISC_PDF_W32, DOCMISC_PS_W32): New output variables. + * Makefile.in (check-info-dir): Ignore efaq-w32. + + * Makefile.in (mostlyclean, clean, distclean, bootstrap-clean) + (maintainer-clean, check-declare): Remove pointless subshells. + Check cd return value. + +2013-08-26 Paul Eggert + + Minor merge from gnulib (mostly just for texinfo.tex). + +2013-08-22 Paul Eggert + + * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically (Bug#13274). + This improves on the patch already installed, by quoting options + that contain spaces and suchlike systematically, so that + EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain + these characters. + +2013-08-21 Paul Eggert + + Port close-on-exec pty creation to FreeBSD 9.1-RELEASE (Bug#15129). + * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails + and reports EINVAL, try it again without O_CLOEXEC. This should + port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC. + What were they thinking? + +2013-08-20 Paul Eggert + + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Fix shell-operator precedence problem in previous change. + +2013-08-20 Glenn Morris + + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Clean test/automated if present. + +2013-08-19 Paul Eggert + + Merge from gnulib, incorporating: + 2013-08-15 warnings: minor optimization + 2013-08-15 warnings: check -Wfoo rather than -Wno-foo + +2013-08-15 Ken Brown + + * configure.ac (G_SLICE_ALWAYS_MALLOC): Update comment. + +2013-08-15 Glenn Morris + + * make-dist: Do not distribute etc/refcards TeX intermediate files. + * Makefile.in (install-arch-indep): + Do not install etc/refcards TeX intermediate files. + +2013-08-14 Ulrich Müller + + * configure.ac (EMACS_CONFIGURATION): Escape backslashes. (Bug#15091) + +2013-08-12 Eli Zaretskii + + * configure.ac (HAVE_ZLIB): Don't use -lz on MinGW. + +2013-08-12 Paul Eggert + + Minor zlib configuration tweaks. + * configure.ac (HAVE_ZLIB): Don't assume zlib is linked if PNG is. + +2013-08-12 Eli Zaretskii + + * configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ. + +2013-08-12 Paul Eggert + + Merge from gnulib, incorporating: + 2013-08-11 fpending: port to recent Cygwin change to stdio_ext.h + 2013-08-10 sys_time: port to OpenBSD + +2013-08-12 Glenn Morris + + * configure.ac (etcdocdir): Rename from docdir, to avoid confusion + with configure's standard --docdir argument. All uses updated. + * Makefile.in (etcdocdir): Rename from docdir. All uses updated. + (install-etcdoc): Rename from install-doc. All uses updated. + (uninstall): Run uninstall-doc. + (PSS): Add misc-ps. + (INSTALL_DVI, INSTALL_HTML, INSTALL_PDF, INSTALL_PS) + (INSTALL_DOC, UNINSTALL_DVI, UNINSTALL_HTML, UNINSTALL_PDF) + (UNINSTALL_PS, UNINSTALL_DOC): New variables. + ($(INSTALL_DOC), install-doc, install-dvi, install-html, install-pdf) + (install-ps, $(UNINSTALL_DOC), uninstall-doc, uninstall-dvi) + (uninstall-html, uninstall-pdf, uninstall-ps): New .PHONY rules. + +2013-08-11 Paul Eggert + + Add --with-zlib to 'configure'. + * configure.ac: Add --with-zlib option to 'configure', so that Emacs + can be built without zlib. Don't assume that -lz is needed on + non-PNG hosts. Mention zlib configuration status in 'configure' output. + +2013-08-11 Lars Magne Ingebrigtsen + + * configure.ac: Test for zlib. + +2013-08-10 Eli Zaretskii + + * configure.ac: Define and substitute UPDATE_MANIFEST. + +2013-08-04 Stephen Berman + + * info/dir: Add todo-mode. + +2013-08-04 Paul Eggert + + Fix some minor races in hosts lacking mkostemp (Bug#15015). + Gnulib's emulation of mkostemp doesn't have races that Emacs's does. + * configure.ac (mkostemp): Remove check for this function; + gnulib does the check now. + (mkstemp): Remove check for this no-longer-used function. + * lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h: + * m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4: + New files, copied from Gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + +2013-07-29 Michael Albinus + + * INSTALL (DETAILED BUILDING AND INSTALLATION): Add + --without-file-notification to --without-all. + +2013-07-29 Xue Fuqiao + + * INSTALL: Fix description. + +2013-07-27 Glenn Morris + + * configure.ac: Extend the --with-sound option to allow + specification of OSS or ALSA (see bug#14812#64). + 2013-07-25 Glenn Morris + * info/dir: Add ido. + * make-dist: Add a --tests option, to include test/. -2013-07-02 Christoph Egger (tiny change) +2013-07-24 Glenn Morris + + * configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS. + +2013-07-23 Glenn Morris + + * configure.ac (etc, lisp): No need to create specially. + Configure already creates lisp, src/Makefile now creates etc. + +2013-07-23 Paul Eggert + + Port to GNU/Linux systems with tinfo but not ncurses. + * configure.ac (USE_NCURSES): New symbol. + +2013-07-20 Paul Eggert + + Fix array bounds violation when pty allocation fails. + * configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE, + not sizeof pty_name, since pty_name is now a pointer to the array. + +2013-07-13 Paul Eggert + + * configure.ac: Simplify --with-file-notification handling. + +2013-07-12 Glenn Morris + + * configure.ac: If with-file-notification=yes, if gfile not found, + go on to try inotify (not on MS Windows or Nextstep). + +2013-07-12 Paul Eggert + + Fix races with threads and file descriptors. + * configure.ac (PTY_TTY_NAME_SPRINTF): Use emacs_close, not close. + +2013-07-10 Paul Eggert + + * Makefile.in (removenullpaths): Remove adjacent null paths (Bug#14835). + +2013-07-09 Peter Rosin (tiny change> + + * configure.ac (HAVE_W32): Avoid nested functions (the second + argument of AC_LANG_PROGRAM is already expanded inside a + function). (Bug#14830) + +2013-07-09 Paul Eggert + + Port recent close-on-exec changes to Cygwin (Bug#14821). + * lib/binary-io.c, lib/binary-io.h: New files. + Merge from gnulib, incorporating: + 2013-07-09 accept4, dup3, pipe2: port to Cygwin + * lib/pipe2.c: Update from gnulib, as part of this merge. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + Handle errno and exit status a bit more carefully. + * lib/ignore-value.h: Remove this gnulib-imported file. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + +2013-07-08 Magnus Henoch (tiny change) + + * configure.ac (HAVE_IMAGEMAGICK): Check on NS also (Bug#14798). + +2013-07-08 Paul Eggert + + Try to fix FreeBSD 9.1 porting problem (Bug#14812). + This incorporates the following merge from gnulib: + 2013-07-07 stdalign, verify: port to FreeBSD 9.1, to C11, and to C++11 + +2013-07-07 Paul Eggert + + Port to Ubuntu 10 (Bug#14803). + * configure.ac (accept4): New function to check for. + + Make file descriptors close-on-exec when possible (Bug#14803). + * configure.ac (mkostemp): New function to check for. + (PTY_OPEN): Pass O_CLOEXEC to posix_openpt. + * lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4: + * m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + +2013-07-03 Christoph Egger (tiny change) * configure.ac (emacs_broken_SIGIO): Set on gnu-kfreebsd to avoid hang. http://bugs.debian.org/712974 diff --cc lisp/ChangeLog index b8351f11f6,eec861a1dc..e8e56133d8 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,6793 -1,21796 +1,6797 @@@ -2013-08-23 Glenn Morris ++2013-08-27 Glenn Morris + + * emacs-lisp/package.el (package-buffer-info): Fix message typo. + -2013-07-27 Glenn Morris - - * format.el (format-annotate-function): - Handle read-only text properties in the source. (Bug#14887) - -2013-07-24 Glenn Morris - - * dired-x.el (dired-mark-extension): Convert comment to doc string. - -2013-07-20 Glenn Morris +2013-08-27 Stefan Monnier - * image-dired.el (image-dired-track-original-file): - Avoid changing point of wrong window. (Bug#14909) + * progmodes/python.el (python-font-lock-keywords): Don't return nil + from a matcher-function unless there's no more matches (bug#15161). -2013-07-18 Richard Copley (tiny change) +2013-08-26 Michael Albinus - * progmodes/gdb-mi.el (gdb-done-or-error): - Guard against "%" in gdb output. (Bug#14127) + * minibuffer.el: Revert change from 2013-08-20. -2013-07-08 Andreas Schwab + * net/tramp.el (tramp-find-method, tramp-find-user): Mark result + with text property `tramp-default', if appropriate. + (tramp-check-proper-host): New defun. + (tramp-dissect-file-name): Do not check hostname. Revert change + of 2013-03-18. + (tramp-backtrace): Make VEC-OR-PROC optional. - * progmodes/sh-script.el (sh-read-variable): Remove interactive - spec. (Bug#14826) + * net/tramp-adb.el (tramp-adb-maybe-open-connection): + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-sh.el (tramp-maybe-open-connection): + * net/tramp-smb.el (tramp-smb-maybe-open-connection): Apply + `tramp-check-proper-host'. -2013-07-03 Glenn Morris +2013-08-26 Tassilo Horn - * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770) + * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable' + lambda expression in order to have `describe-variable' display it. -2013-05-26 Fabián Ezequiel Gallina +2013-08-26 Michael Albinus - * progmodes/python.el (python-indent-block-enders): Add break, - continue and raise keywords. + * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime): + BUF can be optional. (Bug#15186) -2013-05-08 Ulrich Mueller +2013-08-25 Xue Fuqiao - * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360) + * progmodes/flymake.el (flymake-get-real-file-name-function): + Fix broken customization. (Bug#15184) -2013-04-24 Glenn Morris +2013-08-25 Alan Mackenzie - * subr.el (read-number): Once more use `read' rather than - `string-to-number', to trap non-numeric input. (Bug#14254) + Improve indentation of bracelists defined by macros (without "="). -2013-04-22 Erik Charlebois + * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro + expansion begins with "{", regard it as bracelist when it doesn't + contain a ";". - * emacs-lisp/syntax.el (syntax-propertize-multiline): - Use `syntax-multiline' text property consistently instead of - `font-lock-multiline'. (bug#14237). + Parse C++ inher-intro when there's a template split over 2 lines. -2013-04-06 Stefan Monnier + * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more + rigorously the search for "class" etc. followed by ":". - * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert - into the prompt either (bug#13963). + * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for + random languages a regexp which never matches rather than nil. -2013-03-26 Fabián Ezequiel Gallina + Handle "/"s more accurately in test for virtual semicolons (AWK Mode). - Un-indent after "pass" and "return" statements (Bug#13888) - * progmodes/python.el (python-indent-block-enders): New var. - (python-indent-calculate-indentation): Use it. + * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re) + (c-awk-regexp-one-line-possibly-open-char-list-re) + (c-awk-one-line-possibly-open-regexp-re) + (c-awk-one-line-non-syn-ws*-re): Remove. + (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re) + (c-awk-space*-/-re, c-awk-space*-regexp-/-re) + (c-awk-space*-unclosed-regexp-/-re): New constants. + (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which + aren't regexp delimiters. -2013-03-25 Michael Albinus + * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in + handling for a rare situation in AWK Mode involving unterminated + strings/regexps. - * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary - defun. Defining it as defalias could introduce too eager - byte-compiler optimization. (Bug#14030) +2013-08-23 Glenn Morris -2013-03-25 Chong Yidong + * files.el (auto-mode-alist): Use sh-mode for .bash_history. - * iswitchb.el (iswitchb-read-buffer): Fix typo. + * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts. -2013-03-16 Leo Liu + * files.el (create-file-buffer): If the result would begin with + spaces, prepend a "|" instead of removing them. (Bug#15162) - * progmodes/scheme.el: Add indentation and font-locking for λ. - (Bug#13975) +2013-08-23 Stefan Monnier -2013-03-14 Stefan Monnier + * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away + text-properties (bug#15155). - * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no - token before point (bug#13942). + * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't + exist any more. + (calc-keypad-redraw): Remove unused var `pad'. + (calc-keypad-press): Remove unused var `menu'. -2013-03-14 Leo Liu +2013-08-23 Martin Rudalics - * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after. + * window.el (display-buffer-pop-up-frame): + Call pop-up-frame-function with BUFFER current so `make-frame' will + use it as the new frame's buffer (Bug#15133). -2013-03-11 Glenn Morris +2013-08-22 Stefan Monnier - * Version 24.3 released. + * calendar/timeclock.el: Minor cleanups. + (timeclock-ask-before-exiting, timeclock-use-display-time): + Use `symbol'. + (timeclock-modeline-display): Define as alias before the + actual definition. + (timeclock-mode-line-display): Use define-minor-mode. + (timeclock-day-list-template): Make it a function, add an argument. + (timeclock-day-list-required, timeclock-day-list-length) + (timeclock-day-list-debt, timeclock-day-list-span) + (timeclock-day-list-break): Adjust calls accordingly. -2013-02-25 Glenn Morris +2013-08-21 Stefan Monnier - * textmodes/paragraphs.el (mark-paragraph): Doc fix. + * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression): + Use read--expression so that completion works again. -2013-02-21 Juri Linkov +2013-08-21 Sam Steingold - * isearch.el (isearch-lazy-highlight-new-loop): - Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end' - to `isearch-other-end' if it is not nil. (Bug#13402) + Add rudimentary inferior shell interaction + * progmodes/sh-script.el (sh-shell-process): New buffer-local variable. + (sh-set-shell): Reset it. + (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step): + New commands (bound to C-c C-z, C-c C-d, and C-c C-n). - * replace.el (replace-highlight): Let-bind `isearch-other-end' - to `match-beg'. +2013-08-20 Stefan Monnier - * textmodes/ispell.el (ispell-highlight-spelling-error-overlay): - Let-bind `isearch-other-end' to `start', `isearch-forward' to t - and `isearch-error' to nil. + * align.el: Use lexical-binding. + (align-region): Simplify accordingly. -2013-02-20 Fabián Ezequiel Gallina +2013-08-20 Michael Albinus - * progmodes/python.el (python-info-current-defun): - Enhance match-data cluttering prevention. + * minibuffer.el (completion--sifn-requote): Bind `non-essential'. -2013-02-19 Glenn Morris + * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of + `non-essential' up. - * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not - loaded while outline-regexp is let bound. (Bug#9584) +2013-08-17 Michael Albinus -2013-02-19 Fabián Ezequiel Gallina + * net/tramp.el: + * net/tramp-adb.el: + * net/tramp-cmds.el: + * net/tramp-ftp.el: + * net/tramp-gvfs.el: + * net/tramp-gw.el: + * net/tramp-sh.el: Don't wrap external variable declarations by + `eval-when-compile'. - * progmodes/python.el (python-info-current-defun): Fix failed - defun name retrieval because of unwanted match-data cluttering. +2013-08-16 Lars Magne Ingebrigtsen -2013-02-19 Fabián Ezequiel Gallina + * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs + now that Emacs supports ImageMagick animations. - * progmodes/python.el (python-indent-context): - Fix python-info-line-ends-backslash-p call. - (python-info-line-ends-backslash-p) - (python-info-beginning-of-backslash): Respect line-number - argument. - (python-info-current-line-comment-p): Fix behavior when not at - beginning-of-line. - (python-util-position): Remove function. - (python-util-goto-line): New function. +2013-08-16 Michael Albinus -2013-02-18 Michael Albinus + * net/tramp-cmds.el (top): Don't declare `buffer-name'. + (tramp-append-tramp-buffers): Rewrite buffer local variables part. - * eshell/em-unix.el (eshell/su): Require tramp. - (eshell/sudo): Require tramp. Remove now unnecessary check. +2013-08-16 Martin Rudalics - * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind - `tramp-current-connection' in order to avoid an error when several - commands are invoked in a short time in eshell and friends. + * window.el (mouse-autoselect-window-select): Do autoselect when + mouse pointer is on margin. -2013-02-16 Didier Verna +2013-08-16 William Parsons (tiny change) - * net/network-stream.el (network-stream-open-starttls): - Check that response to the starttls-command is non-nil. (Bug#13706) + * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972) -2013-02-14 Glenn Morris +2013-08-16 Glenn Morris - * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. + * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd): + Handle "Remote Directory" response of some clients. (Bug#15058) -2013-02-14 Stefan Monnier + * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local): + Tweak warning. (Bug#14926) - * net/goto-addr.el (goto-address-fontify): Add start and end args. - (goto-address-fontify-region): Use them instead of narrowing, so - syntax-ppss has access to the whole buffer. + * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove. + (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095) -2013-02-14 Fabián Ezequiel Gallina + * image-mode.el (image-mode-map): Add menu items to reverse, + increase, decrease, reset animation speed. + (image--set-speed, image-increase-speed, image-decrease-speed) + (image-reverse-speed, image-reset-speed): New functions. + (image-mode-map): Add bindings for speed commands. - * progmodes/python.el: Explain how to restore "cc-mode"-like - forward-sexp movement in header documentation (Bug#13642). - (python-nav--forward-sexp): Behave like emacs-lisp-mode in - comments and strings (GH bug 114). + * image.el (image-animate-get-speed, image-animate-set-speed): + New functions. + (image-animate-timeout): Respect image :speed property. -2013-02-13 Fabián Ezequiel Gallina +2013-08-15 Stefan Monnier - * progmodes/python.el (python-info-current-defun): Fix current - defun detection (Bug#13618). + * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the + previous line (bug#15101). + (debugger-eval-expression, debugger-record-expression): + Use read--expression (bug#15102). -2013-02-13 Chong Yidong +2013-08-15 Michael Albinus - * xml.el (xml-parse-string): Fix typo in handling of bad character - references. + Remove byte compiler warnings, visible when compiling with + `byte-compile-force-lexical-warnings' set to t. -2013-02-10 Michael Albinus + * net/tramp.el (tramp-debug-message, tramp-message, tramp-error) + (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF. + (tramp-handle-unhandled-file-name-directory) + (tramp-handle-file-notify-add-watch, tramp-action-login) + (tramp-action-succeed, tramp-action-permission-denied) + (tramp-action-terminal, tramp-action-process-alive): Prefix unused + arguments with "_". - * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error, - if DIR exists and PARENTS is non-nil. + * net/tramp-adb.el (tramp-adb-parse-device-names) + (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file) + (tramp-adb-handle-copy-file): Prefix unused arguments with "_". + (tramp-adb-handle-file-truename): Remove unused arguments. -2013-02-09 Chong Yidong + * net/tramp-cache.el (tramp-flush-directory-property) + (tramp-flush-connection-property, tramp-list-connections) + (tramp-parse-connection-properties): Prefix unused arguments with "_". - * mail/emacsbug.el (report-emacs-bug): Change binding of - report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510). + * net/tramp-compat.el (tramp-compat-make-temp-file): + Rename FILENAME to F. -2013-02-02 Alan Mackenzie + * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch) + (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names) + (tramp-zeroconf-parse-workstation-device-names) + (tramp-zeroconf-parse-webdav-device-names) + (tramp-synce-parse-device-names): Prefix unused arguments with "_". - Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor. - * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove. - (c-parse-state-get-strategy): Don't return 'BOD any more. - (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE - instead of narrowing. Widen to top of buffer before searching - backwards for a brace pair. - (c-state-push-any-brace-pair): Add HERE parameter to function - call. - (c-append-to-state-cache): Extra parameter HERE in place of - narrowing. Narrow to parameter HERE, in place of being called - narrowed. - (c-remove-stale-state-cache): Extra parameter HERE in place of - narrowing. Check there's an open brace in the cache before - searching for its match. - (c-invalidate-state-cache-1): Add HERE parameter to function call. - (c-parse-state-1): Don't narrow here for 'forward strategy, - instead passing extra parameter HERE to several functions. - Remove 'BOD strategy. + * net/tramp-gw.el (tramp-gw-gw-proc-sentinel) + (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_". -2013-02-01 Stefan Monnier + * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused + arguments. + (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file) + (tramp-sh-handle-insert-file-contents-literally) + (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments + with "_". + (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt): + Remove unused variables. - * mouse.el (mouse-drag-track): Always deactivate the mark before - running the final event's command since that command is in charge of - activating the mark if needed (bug#13523). + * net/tramp-smb.el (tramp-smb-handle-copy-directory) + (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file) + (tramp-smb-read-file-entry): Prefix unused arguments with "_". -2013-02-01 Juri Linkov + * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte): + Make them a defconst. + (tramp-uuencode-region): Remove unused variable. - * replace.el (perform-replace): Move let-bindings of isearch-* - variables deeper to the loop that searches for the next match. - Add bindings for `isearch-nonincremental' and `isearch-adjusted'. - Use `isearch-search-fun-default' instead of `isearch-search-fun'. - (Bug#13579) +2013-08-14 Juanma Barranquero - * isearch.el (isearch-search-fun-default): Check for null - first element of isearch-cmds as a precaution when it's used - with inactive isearch. + * frameset.el (frameset--prop-setter): New function. + (frameset-prop): Add gv-setter declaration. + (frameset-filter-minibuffer): Deal with the case that the minibuffer + parameter was already set in FILTERED. Doc fix. + (frameset--record-minibuffer-relationships): Allow saving a + minibufferless frame without its corresponding minibuffer frame. + (frameset--reuse-frame): Accept a match from an orphaned minibufferless + frame, if the frame id matches. + (frameset--minibufferless-last-p): Sort non-orphaned minibufferless + frames before orphaned ones. + (frameset-restore): Warn about orphaned windows, instead of error out. -2013-02-01 Andrew W. Nosenko (tiny change) +2013-08-14 Martin Rudalics - * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range" - error when buffer in question is narrowed so position 1 is out of - visible part. + * window.el (window-make-atom): Don't overwrite parameter + already present. + (display-buffer-in-atom-window): Handle special case where we + split an already atomic window. + (window--major-non-side-window, display-buffer-in-side-window) + (window--side-check): Ignore minibuffer window when walking + window tree. + (window-deletable-p): Return 'frame only if no other frame uses + our minibuffer window. + (record-window-buffer): Run buffer-list-update-hook. + (split-window): Make sure window--check-frame won't destroy an + existing atomic window in case the new window gets nested + inside. + (display-buffer-at-bottom): Ignore minibuffer window when + walking window tree. Don't split a side window. + (pop-to-buffer): Don't set-buffer here, the select-window call + should do that. + (mouse-autoselect-window-select): Autoselect only if we are in the + text portion of the window. -2013-01-31 Glenn Morris +2013-08-13 Lars Magne Ingebrigtsen - * textmodes/remember.el (remember-clipboard): Doc fix. + * net/shr.el (shr-parse-image-data): New function to grab both the + data itself and the Content-Type. + (shr-put-image): Use it. -2013-01-30 Stefan Monnier + * net/eww.el (eww-display-image): Ditto. - * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table - properties (bug#13179). + * image.el (image-content-type-suffixes): New variable. -2013-01-30 Glenn Morris +2013-08-13 Fabián Ezequiel Gallina - * mouse.el (mouse-drag-line): Avoid pushing same event onto - unread-command-events twice in some cases. This tries to implement - the 2012-07-26 changes in a different way. (Bug#13560) + * progmodes/python.el (python-imenu--build-tree) + (python-imenu--put-parent): Simplify and Fix (GH bug 146). -2013-01-30 Fabián Ezequiel Gallina +2013-08-13 Xue Fuqiao - * progmodes/python.el - (python-pdbtrack-comint-output-filter-function): Enhancements on - stacktrace detection. (thanks @gnovak) + * simple.el (backward-word): Mention the optional argument. -2013-01-30 Glenn Morris +2013-08-13 Stefan Monnier - * imenu.el (imenu-default-create-index-function): - Put back a version of the infinite loop test removed 2013-01-23. + * frameset.el (frameset--make): Rename constructor from make-frameset. + (frameset-p, frameset-valid-p): Don't autoload. + (frameset-valid-p): Use normal accessors. -2013-01-28 Fabián Ezequiel Gallina +2013-08-13 Glenn Morris - * progmodes/python.el (python-shell-parse-command): - Find python-shell-interpreter with modified environment. + * progmodes/compile.el (compile-command): Tweak example in doc. + * obsolete/scribe.el (scribe-mode): + * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053) -2013-01-26 Stefan Monnier + * mail/feedmail.el (feedmail-confirm-outgoing) + (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types. - * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias. + * cus-start.el (truncate-partial-width-windows): Fix type. -2013-01-24 Fabián Ezequiel Gallina + * emulation/viper-init.el (viper-search-scroll-threshold): Fix type. - * progmodes/python.el: Enhancements to header documentation about - skeletons. (Bug#5716) + * net/shr.el (shr-table-horizontal-line): Fix custom type. -2013-01-23 Fabián Ezequiel Gallina +2013-08-13 Stefan Monnier - * imenu.el (imenu-default-create-index-function): Remove useless - infinite loop check. (Bug#13438) + * emacs-lisp/timer.el (timer--time-setter): New function. + (timer--time): Use it as gv-setter. -2013-01-23 Alan Mackenzie + * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when + setter is not a symbol. - Fix a bug in the state cache mechanism. Refactor this a bit. +2013-08-12 Grégoire Jadi - * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the - `cache-pos' element from the return value. - (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of - buffer to enable proper searching from beyond HERE. Amend the - test for detecting the sought brace pair. Amend the value written - to the "brace desert cache" when the brace isn't found. - (c-remove-stale-state-cache): Rename `good-pos' to `start-point', - and several other variables analogously. - (c-remove-stale-state-cache-backwards): Change `cache-pos' from a - parameter to a locally calculated variable. - (c-parse-state-1): Change the calling conventions to the two - defuns involving `cache-pos'. + * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer + if sending fails. This makes debugging easier. -2013-01-23 Chong Yidong +2013-08-12 Juanma Barranquero - * xml.el (xml-entity-or-char-ref-re): Fix regexp. + * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in + 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite). + https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html -2013-01-18 Leo Liu +2013-08-12 Eli Zaretskii - * dired.el (dired-get-marked-files): Prune erroneous values due to - last change. (Bug#13152) + * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib. -2013-01-17 Glenn Morris +2013-08-12 Glenn Morris - * progmodes/etags.el (tags-table-check-computed-list): - Preserve point in tags buffer. (Bug#13412) + * format.el (format-annotate-function): + Handle read-only text properties in the source. (Bug#14887) -2013-01-16 Glenn Morris +2013-08-11 Lars Magne Ingebrigtsen - * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix. + * net/eww.el (eww-display-html): Ignore coding system errors. + One web site uses "utf-8lias" as the coding system. - * mail/rmailmm.el (rmail-insert-mime-forwarded-message): - Revert 2012-12-29 change. Ref: - +2013-08-11 Juanma Barranquero -2013-01-10 Fabián Ezequiel Gallina + * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil. - * progmodes/python.el (python-nav-end-of-statement): - Fix cornercase when handling multiline strings. +2013-08-10 Juanma Barranquero -2013-01-10 Glenn Morris + * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p. + (tutorial--detailed-help): Remove unused local variables. + (tutorial--save-tutorial-to): Use ignore-errors. + (help-with-tutorial): Use looking-at-p. - * emacs-lisp/authors.el (authors-ignored-files) - (authors-valid-file-names, authors-renamed-files-alist): - Add some more entries. + * view.el (view-buffer-other-window, view-buffer-other-frame): + Mark unused arguments. + + * woman.el (woman-parse-colon-path, woman-parse-colon-path) + (woman-select-symbol-fonts, woman, woman-find-file) + (woman-insert-file-contents, woman-non-underline-faces): + Use string-match-p. + (woman1-unquote): Move declaration. + + * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p. + (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused + argument. Remove unused local variable. + (xml-parse-elem-type): Use string-match-p. + (xml-substitute-numeric-entities): Use ignore-errors. + + * calculator.el (calculator): Mark unused argument. + (calculator-paste, calculator-quit, calculator-integer-p): + Use ignore-errors. + (calculator-string-to-number, calculator-decimal, calculator-exp) + (calculator-op-or-exp): Use string-match-p. + + * dired.el (dired-buffer-more-recently-used-p): Declare. + (dired-insert-set-properties, dired-insert-old-subdirs): + Use ignore-errors. + + * dired-aux.el (dired-compress): Use ignore-errors. + (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions) + (dired-do-async-shell-command, dired-do-shell-command) + (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir) + (dired-insert-subdir-validate): Use string-match-p. + (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p. + (dired-add-entry): Use string-match-p, looking-at-p. + (dired-insert-subdir-newpos): Remove unused local variable. + + * filenotify.el (file-notify-callback): Remove unused local variable. + + * filesets.el (filesets-error): Mark unused argument. + (filesets-which-command-p, filesets-filter-dir-names) + (filesets-directory-files, filesets-get-external-viewer) + (filesets-ingroup-get-data): Use string-match-p. + + * find-file.el (ff-other-file-name, ff-other-file-name) + (ff-find-the-other-file, ff-cc-hh-converter): + Remove unused local variables. + (ff-get-file-name): Use string-match-p. + (ff-all-dirs-under): Use ignore-errors. -2013-01-09 Stefan Monnier + * follow.el (follow-comint-scroll-to-bottom): Mark unused argument. + (follow-select-if-visible): Remove unused local variable. - * image-mode.el (image-mode-winprops): Don't throw away the fallback - `t' pseudo-window entry. + * forms.el (read-file-filter): Move declaration. + (forms--make-format, forms--make-parser, forms-insert-record): + Quote function with #'. + (forms--update): Use string-match-p. Quote function with #'. -2013-01-09 Alan Mackenzie + * help-mode.el (help-dir-local-var-def): Mark unused argument. + (help-make-xrefs): Use looking-at-p. + (help-xref-on-pp): Use looking-at-p, ignore-errors. - Fix bugs in the c-parse-state mechanism. Reuse some markers - instead of continually generating new ones. + * ibuffer.el (ibuffer-ext-visible-p): Declare. + (ibuffer-confirm-operation-on): Use string-match-p. - * progmodes/cc-engine.el (c-state-old-cpp-beg-marker) - (c-state-old-cpp-end-marker): New variables. - (c-append-lower-brace-pair-to-state-cache): Start a backward - search for "}" definitively outside CPP constructs. - (c-remove-stale-state-cache): Inform the caller of a need to - search back for a brace pair in certain circumstances. - (c-state-maybe-marker): New macro. - (c-parse-state): Reuse markers when appropriate. + * msb.el (msb-item-handler, msb-dired-item-handler): + Mark unused arguments. -2013-01-09 Glenn Morris + * ses.el (ses-decode-cell-symbol) + (ses-kill-override): Remove unused local variable. + (ses-create-cell-variable, ses-relocate-formula): Use string-match-p. + (ses-load): Use ignore-errors, looking-at-p. + (ses-jump-safe): Use ignore-errors. + (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments. - * simple.el (execute-extended-command): Doc fix. - Bind prefix-arg around read-extended-command, for prompt. (Bug#13395) + * tabify.el (untabify, tabify): Mark unused arguments. -2013-01-09 Chong Yidong + * thingatpt.el (thing-at-point--bounds-of-well-formed-url): + Mark unused argument. + (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point) + (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors. - * faces.el (read-face-name): Doc fix. + * emacs-lisp/timer.el (timer--time): Define setter with + gv-define-setter to avoid deprecation warning. -2013-01-09 Glenn Morris + * completion.el: Remove stuff unused since revno:3176 (1993-05-27). + (*record-cmpl-statistics-p*): Remove (was commented out). + (cmpl-statistics-block): Remove (body was commented out). + All callers changed. + (add-completions-from-buffer, load-completions-from-file): + Remove unused variables. + +2013-08-09 Juanma Barranquero + + * filecache.el (file-cache-delete-file-list): + Print message only when told so. + (file-cache-files-matching): Use #' in mapconcat argument. + + * ffap.el (ffap-url-at-point): Fix reference to variable + thing-at-point-default-mail-uri-scheme. + +2013-08-09 Stefan Monnier + + * subr.el (define-error): New function. + * progmodes/ada-xref.el (ada-error-file-not-found): Rename from + error-file-not-found and define with define-error. + * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el + and define with define-error. + * userlock.el (file-locked, file-supersession): + * simple.el (mark-inactive): + * progmodes/js.el (js-moz-bad-rpc, js-js-error): + * progmodes/ada-mode.el (ada-mode-errors): + * play/life.el (life-extinct): + * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error): + * nxml/xmltok.el (xmltok-markup-declaration-parse-error): + * nxml/rng-util.el (rng-error): + * nxml/rng-uri.el (rng-uri-error): + * nxml/rng-match.el (rng-compile-error): + * nxml/rng-cmpct.el (rng-c-incorrect-schema): + * nxml/nxml-util.el (nxml-error, nxml-file-parse-error): + * nxml/nxml-rap.el (nxml-scan-error): + * nxml/nxml-outln.el (nxml-outline-error): + * net/soap-client.el (soap-error): + * net/gnutls.el (gnutls-error): + * net/ange-ftp.el (ftp-error): + * mpc.el (mpc-proc-error): + * json.el (json-error, json-readtable-error, json-unknown-keyword) + (json-number-format, json-string-escape, json-string-format) + (json-key-format, json-object-format): + * jka-compr.el (compression-error): + * international/quail.el (quail-error): + * international/kkc.el (kkc-error): + * emacs-lisp/ert.el (ert-test-failed): + * calc/calc.el (calc-error, inexact-result, math-overflow) + (math-underflow): + * bookmark.el (bookmark-error-no-filename): + * epg.el (epg-error): Define with define-error. + + * time.el (display-time-event-handler) + (display-time-next-load-average): Don't call sit-for since it seems + unnecessary (bug#15045). + + * emacs-lisp/checkdoc.el: Remove redundant :group keywords. + Use #' instead of ' to quote functions. + (checkdoc-output-mode): Use setq-local. + (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words) + (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp) + (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010). + (checkdoc-ispell, checkdoc-ispell-current-buffer) + (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive) + (checkdoc-ispell-message-text, checkdoc-ispell-start) + (checkdoc-ispell-continue, checkdoc-ispell-comments) + (checkdoc-ispell-defun): Remove unused arg `take-notes'. + + * ido.el (ido-completion-help): Fix up compiler warning. + +2013-08-09 Juanma Barranquero + + * frameset.el (frameset-p): Add autoload cookie. + (frameset--jump-to-register): New function, based on code moved from + register.el. + (frameset-to-register): Move from register.el. Adapt to `registerv'. + + * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p) + (frameset-restore, frameset-save, frameset-session-filter-alist): + Remove declarations. + (register-alist): Doc fix. + (frameset-to-register): Move to frameset.el. + (jump-to-register, describe-register-1): Remove frameset-specific code. + +2013-08-08 Juanma Barranquero + + * allout-widgets.el (allout-widgets-pre-command-business) + (allout-widgets-post-command-business) + (allout-widgets-after-change-handler) + (allout-decorate-item-and-context, allout-set-boundary-marker) + (allout-body-modification-handler) + (allout-graphics-modification-handler): Mark ignored arguments. + (allout-widgets-post-command-business) + (allout-widgets-exposure-change-processor) + (allout-widgets-exposure-undo-processor) + (allout-decorate-item-and-context, allout-redecorate-visible-subtree) + (allout-parse-item-at-point, allout-decorate-item-guides) + (allout-decorate-item-cue, allout-item-span): Remove unused variables. + * allout.el (epa-passphrase-callback-function): Declare. + (allout-overlay-insert-in-front-handler) + (allout-overlay-interior-modification-handler) + (allout-isearch-end-handler, allout-chart-siblings) + (allout-up-current-level, allout-end-of-level, allout-reindent-body) + (allout-yank-processing, allout-process-exposed) + (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky) + (allout-latex-verbatim-quote-curr-line): Remove unused variables. + * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display) + (lisp-indent-defform): Mark ignored arguments. + (lisp-indent-line): Mark ignored arguments. Remove unused variables. + (calculate-lisp-indent): Remove unused variables. + * international/characters.el (indian-2-column, arabic-2-column) + (tibetan): Mark ignored arguments. + (use-cjk-char-width-table): Mark ignored arguments. + Remove unused variables. + * international/fontset.el (build-default-fontset-data) + (x-compose-font-name, create-fontset-from-fontset-spec): + Mark ignored arguments. + (fontset-plain-name): Remove unused variables. + * international/mule.el (charset-id, charset-bytes, generic-char-p) + (keyboard-coding-system): Mark ignored arguments. + (find-auto-coding): Remove unused variables. Use `ignore-errors'. + * help.el (resize-temp-buffer-window): + * window.el (display-buffer-in-major-side-window) + (display-buffer-in-side-window, display-buffer-in-previous-window): + Remove unused variables. + * isearch.el (isearch-forward-symbol): + * version.el (emacs-bzr-version-bzr): + * international/mule-cmds.el (current-language-environment): + * term/common-win.el (x-handle-iconic, x-handle-geometry) + (x-handle-display): + * term/pc-win.el (x-list-fonts, x-display-planes) + (x-display-color-cells, x-server-max-request-size, x-server-vendor) + (x-server-version, x-display-screens, x-display-mm-height) + (x-display-mm-width, x-display-backing-store, x-display-visual-class) + (x-selection-owner-p, x-own-selection-internal) + (x-disown-selection-internal, x-get-selection-internal) + (msdos-initialize-window-system): + * term/tty-colors.el (tty-color-alist, tty-color-clear): + * term/x-win.el (x-handle-no-bitmap-icon): + * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p) + (vc-default-find-file-hook, vc-default-extra-menu): + Mark ignored arguments. + +2013-08-08 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the + break-condition in the context of the debugged code (bug#12685). + +2013-08-08 Christopher Schmidt + + * comint.el: + Do not use an overlay to highlight the last prompt. (Bug#14744) + (comint-mode): Make comint-last-prompt buffer local. + (comint-last-prompt): New variable. + (comint-last-prompt-overlay): Remove. Superseded by + comint-last-prompt. + (comint-snapshot-last-prompt, comint-output-filter): + Use comint-last-prompt. + +2013-08-08 Juanma Barranquero + + * frameset.el (frameset-valid-p): Check vector length. Doc fix. + (frameset-save): Check validity of the resulting frameset. + +2013-08-08 Xue Fuqiao + + * ido.el (ido-record-command): Add doc string. + +2013-08-08 Juanma Barranquero + + * frameset.el (frameset): Do not disable creation of the default + frameset-p predicate. Doc fix. + (frameset-valid-p): New function, copied from the old predicate-p. + Add additional checks. + (frameset-restore): Check with frameset-valid-p. + (frameset-p, frameset-version, frameset-timestamp, frameset-app) + (frameset-name, frameset-description, frameset-properties) + (frameset-states): Add docstring. + (frameset-session-filter-alist, frameset-persistent-filter-alist) + (frameset-filter-alist): Doc fixes. + +2013-08-08 Juanma Barranquero + + * frameset.el (frameset-p, frameset-prop): Doc fixes. + +2013-08-08 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function, + extracted from byte-compile-callargs-warn and byte-compile-normal-call. + (byte-compile-callargs-warn, byte-compile-function-form): Use it. + (byte-compile-normal-call): Remove obsolescence check. + +2013-08-08 Juanma Barranquero + + * frameset.el (frameset-restore): Doc fix. + + * register.el (frameset-frame-id, frameset-frame-with-id) + (frameset-p, frameset-restore, frameset-save): Declare. + (register-alist): Document framesets. + (frameset-session-filter-alist): Declare. + (frameset-to-register): New function. + (jump-to-register): Implement jumping to framesets. Doc fix. + (describe-register-1): Describe framesets. + + * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register. + +2013-08-07 Juanma Barranquero + + * desktop.el (desktop-save-frameset): Use new frameset-save args. + Use lexical-binding. - * emacs-lisp/trace.el (trace-function, trace-function-background): + * frameset.el (frameset): Use type vector, not list (incompatible + change). Do not declare a new constructor, use the default one. + Upgrade suggested properties `app', `name' and `desc' to slots `app', + `name' and `description', respectively, and add read-only slot + `timestamp'. Doc fixes. + (frameset-copy, frameset-persistent-filter-alist) + (frameset-filter-alist, frameset-switch-to-gui-p) + (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI) + (frameset-filter-sanitize-color, frameset-filter-minibuffer) + (frameset-filter-iconified, frameset-keep-original-display-p): + Doc fixes. + (frameset-filter-shelve-param, frameset-filter-unshelve-param): + Rename from frameset-filter-(save|restore)-param. All callers changed. Doc fix. + (frameset-p): Adapt to change to vector and be more thorough. + Change arg name to OBJECT. Doc fix. + (frameset-prop): Rename arg PROP to PROPERTY. Doc fix. + (frameset-session-filter-alist): Rename from frameset-live-filter-alist. + All callers changed. + (frameset-frame-with-id): Rename from frameset-locate-frame-id. + All callers changed. + (frameset--record-minibuffer-relationships): Rename from + frameset--process-minibuffer-frames. All callers changed. + (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION. + Use new default constructor (again). Doc fix. + (frameset--find-frame-if): Rename from `frameset--find-frame. + All callers changed. + (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS. + (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS. + Doc fix. + (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to + PARAMETERS and WINDOW-STATE, respectively. + (frameset-restore): Add new keyword argument PREDICATE. + Reset frameset--target-display to nil. Doc fix. + +2013-08-07 Stefan Monnier + + * progmodes/bat-mode.el (bat--syntax-propertize): New var. + (bat-mode): Use it. + (bat-mode-syntax-table): Mark \n as end-of-comment. + (bat-font-lock-keywords): Remove comment rule. + + * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix. + (dos-mode-help): Remove. Use describe-mode (C-h m) instead. + + * emacs-lisp/bytecomp.el: Check existence of f in #'f. + (byte-compile-callargs-warn): Use `push'. + (byte-compile-arglist-warn): Ignore higher-order "calls". + (byte-compile-file-form-autoload): Use `pcase'. + (byte-compile-function-form): If quoting a symbol, check that it exists. + +2013-08-07 Eli Zaretskii + + * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX + and add a few popular commands found in batch files. + (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args) + (dos-mode): Doc fixes. + +2013-08-07 Stefan Monnier + + * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode. + (dos-mode): Use setq-local. Add space after "rem". + (dos-mode-syntax-table): Don't use "w" for symbol chars. + (dos-font-lock-keywords): Try to adjust font-lock rules accordingly. + +2013-08-07 Arni Magnusson + + * progmodes/dos.el: New file. + * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to + dos-mode. + +2013-08-06 Glenn Morris + + * calendar/calendar.el: Add new faces, and day-header-array. + (calendar-weekday-header, calendar-weekend-header) + (calendar-month-header): New faces. + (calendar-day-header-construct): New function. + (calendar-day-header-width): Also :set calendar-day-header-array. + (calendar-american-month-header, calendar-european-month-header) + (calendar-iso-month-header): Use calendar- faces. + (calendar-generate-month): + Use calendar-day-header-array for day headers; apply faces to them. + (calendar-mode): Check calendar-font-lock-keywords non-nil. + (calendar-abbrev-construct): Add optional maxlen argument. + (calendar-day-name-array): Doc fix. + (calendar-day-name-array, calendar-abbrev-length) + (calendar-day-abbrev-array): + Also :set calendar-day-header-array, and maybe redraw. + (calendar-day-header-array): New option. (Bug#15007) + (calendar-font-lock-keywords): Set to nil and make obsolete. + (calendar-day-name): Add option to use header array. + +2013-08-06 Lars Magne Ingebrigtsen + + * net/shr.el (shr-render-td): Remove debugging. + (shr-render-td): Make width computation consistent by defaulting + all zero-width columns to 10 characters. This may not be optimal, + but it's at least consistent. + (shr-make-table-1): Redo last change to fix the real problem in + colspan handling. + +2013-08-06 Dmitry Antipov + + * files.el (cache-long-line-scans): + Make obsolete alias to `cache-long-scans'. + +2013-08-06 Juanma Barranquero + + * frameset.el (frameset, frameset-filter-alist) + (frameset-filter-params, frameset-save, frameset--reuse-frame) + (frameset--minibufferless-last-p, frameset-restore): Doc fixes. + (frameset-compute-pos): Rename from frameset--compute-pos, + and add docstring. + (frameset-move-onscreen): Use frameset-compute-pos. + Most changes suggested by Drew Adams . + + * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter): + Fix typos in docstrings. -2013-01-09 Juri Linkov - - * international/mule-cmds.el (read-char-by-name): Move let-binding - of completion-ignore-case around completing-read to fix regression - exhibited by the test case `C-x 8 RET *acc TAB' and caused by - `string-match-p' using the nil value of `case-fold-search' and - `completion-ignore-case' in `completion-pcm--all-completions'. - (Bug#12615). - -2013-01-07 Glenn Morris - - * progmodes/compile.el (compilation-parse-errors): - Fix typo. (Bug#13369) - -2013-01-07 Vitalie Spinu (tiny change) - - * comint.el (comint-send-input): Check size of buffer before - waiting for process output, in case already accepted. (Bug#13290) - -2013-01-04 Michael Albinus - - * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be - non-negative integers. Otherwise, the default values are used. - (tramp-convert-file-attributes): Convert uid and gid to integers. - -2013-01-03 Glenn Morris - - * term.el (term-handle-colors-array): Ensure face attributes - are fully specified, not nil. (Bug#13337) - - * term.el (term-default-fg-color, term-default-bg-color): - Fix custom type. - - * progmodes/etags.el (tags-compression-info-list): Doc fix. - (tag-find-file-of-tag-noselect): Check auto-compression-mode - rather than 'jka-compr being loaded. (Bug#13338) - - * subr.el (eval-after-load): Don't purecopy the form, so that it - can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331) - - * emacs-lisp/byte-run.el (defun): Place cl declarations - after any interactive spec. (Bug#13265) - -2012-12-31 Andreas Schwab - - * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as - defun. Don't check for DECL if DOCSTRING isn't a string. - (defun): Likewise. - -2012-12-31 Glenn Morris - - * eshell/em-cmpl.el (eshell-pcomplete): - More thoroughly imitate pcomplete. (Bug#13293) - - * files.el (parse-colon-path): Doc fix. (Bug#12351) - Return nil for empty path elements. (Bug#13296) - -2012-12-31 Fabián Ezequiel Gallina - - * progmodes/python.el (python-nav-end-of-statement): Rewrite in - order to improve efficiency (Based on Daniel Colascione's - patch). (Bug#13182) - -2012-12-31 Glenn Morris - - * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string. - -2012-12-31 Fabián Ezequiel Gallina - - * progmodes/python.el: Support other commands triggering - python-indent-line so indentation cycling continues to work. - (python-indent-trigger-commands): New defcustom. - (python-indent-line): Use it. - -2012-12-31 Fabián Ezequiel Gallina - - * progmodes/python.el (python-shell-send-region): Add blank lines - for non sent code so backtraces remain correct. - -2012-12-31 Andreas Schwab - - * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if - neither DOCSTRING nor DECL was given. (Bug#13316) - -2012-12-30 Glenn Morris - - * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary): - Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294) - (rmail-summary-displayed, rmail-summary): Declare. - (mairix-rmail-display): Just require rmail. - -2012-12-29 Chong Yidong - - * emacs-lisp/package.el (package-untar-buffer): Improve integrity - check for the tarball contents. - -2012-12-29 Matt Fidler (tiny change) - - * emacs-lisp/package.el (package-untar-buffer): Handle problematic - tarfile content listings (Bug#13136). - -2012-12-29 Mark Lillibridge - - * mail/rmailmm.el (rmail-insert-mime-forwarded-message): - Insert the undecoded text of the message being forwarded. (Bug#9521) - -2012-12-28 Michael Albinus +2013-08-06 Dmitry Antipov - * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to - integers, if they are real numbers. (Bug#13282) + * frame.el (get-other-frame): Tiny cleanup. -2012-12-26 Dmitry Gutov +2013-08-06 Juanma Barranquero - * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", - "module" and "def" to have indentation before them. - Regression from 109911 (see the new test). + * vc/vc.el (vc-default-ignore-completion-table): + Silence byte-compiler warning. -2012-12-24 Dmitry Gutov + * frameset.el (frameset-p): Don't check non-nullness of the `properties' + slot , which can indeed be nil. + (frameset-live-filter-alist, frameset-persistent-filter-alist): + Move entry for `left' from persistent to live filter alist. + (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save): + Doc fixes. + (frameset-filter-params): When restoring a frame, copy items added to + `filtered', to avoid unwittingly modifying the original parameters. + (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix. + (frameset--restore-frame): Fix reference to frameset-move-onscreen. + + * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com + to use looking-at-p instead of looking-at. (Bug#15028) + +2013-08-05 Stefan Monnier + + Revert introduction of isearch-filter-predicates (bug#14714). + Rely on add-function instead. + * isearch.el (isearch-filter-predicates): Rename it back to + isearch-filter-predicate. + (isearch-message-prefix): Use advice-function-mapc and advice + properties to get the isearch-message-prefix. + (isearch-search, isearch-lazy-highlight-search): Revert to funcall + instead of run-hook-with-args-until-failure. + (isearch-filter-visible): Not obsolete any more. + * loadup.el: Preload nadvice. + * replace.el (perform-replace): Revert to funcall + instead of run-hook-with-args-until-failure. + * wdired.el (wdired-change-to-wdired-mode): Use add-function. + * dired-aux.el (dired-isearch-filenames-mode): Rename from + dired-isearch-filenames-toggle; make it into a proper minor mode. + Use add/remove-function. + (dired-isearch-filenames-setup, dired-isearch-filenames-end): + Call the minor-mode rather than add/remove-hook. + (dired-isearch-filter-filenames): + Remove isearch-message-prefix property. + * info.el (Info--search-loop): New function, extracted from Info-search. + Funcall isearch-filter-predicate instead of + run-hook-with-args-until-failure isearch-filter-predicates. + (Info-search): Use it. + (Info-mode): Use isearch-filter-predicate instead of + isearch-filter-predicates. + +2013-08-05 Dmitry Antipov + + Do not call to `selected-window' where it is assumed by default. + Affected functions are `window-minibuffer-p', `window-dedicated-p', + `window-hscroll', `window-width', `window-height', `window-buffer', + `window-frame', `window-start', `window-point', `next-window' + and `window-display-table'. + * abbrev.el (abbrev--default-expand): + * bs.el (bs--show-with-configuration): + * buff-menu.el (Buffer-menu-mouse-select): + * calc/calc.el (calc): + * calendar/calendar.el (calendar-generate-window): + * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries) + (diary-make-entry): + * comint.el (send-invisible, comint-dynamic-complete-filename) + (comint-dynamic-simple-complete, comint-dynamic-list-completions): + * completion.el (complete): + * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list): + * disp-table.el (describe-current-display-table): + * doc-view.el (doc-view-insert-image): + * ebuff-menu.el (Electric-buffer-menu-mouse-select): + * ehelp.el (with-electric-help): + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer): + * emacs-lisp/helper.el (Helper-help-scroller): + * emulation/cua-base.el (cua--post-command-handler-1): + * eshell/esh-mode.el (eshell-output-filter): + * ffap.el (ffap-gnus-wrapper): + * help-macro.el (make-help-screen): + * hilit-chg.el (highlight-compare-buffers): + * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible): + * hl-line.el (global-hl-line-highlight): + * icomplete.el (icomplete-simple-completing-p): + * isearch.el (isearch-done): + * jit-lock.el (jit-lock-stealth-fontify): + * mail/rmailsum.el (rmail-summary-scroll-msg-up): + * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling): + * mpc.el (mpc-tagbrowser, mpc): + * net/rcirc.el (rcirc-any-buffer): + * play/gomoku.el (gomoku-max-width, gomoku-max-height): + * play/landmark.el (landmark-max-width, landmark-max-height): + * play/zone.el (zone): + * progmodes/compile.el (compilation-goto-locus): + * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern): + * progmodes/etags.el (find-tag-other-window): + * progmodes/fortran.el (fortran-column-ruler): + * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe): + * progmodes/verilog-mode.el (verilog-point-text): + * reposition.el (reposition-window): + * rot13.el (toggle-rot13-mode): + * server.el (server-switch-buffer): + * shell.el (shell-dynamic-complete-command) + (shell-dynamic-complete-environment-variable): + * simple.el (insert-buffer, set-selective-display) + (delete-completion-window): + * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly) + (speedbar-recenter): + * startup.el (fancy-splash-head): + * textmodes/ispell.el (ispell-command-loop): + * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region): + * tutorial.el (help-with-tutorial): + * vc/add-log.el (add-change-log-entry): + * vc/compare-w.el (compare-windows): + * vc/ediff-help.el (ediff-indent-help-message): + * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region): + * vc/ediff-wind.el (ediff-skip-unsuitable-frames) + (ediff-setup-control-frame): + * vc/emerge.el (emerge-position-region): + * vc/pcvs-util.el (cvs-bury-buffer): + * window.el (walk-windows, mouse-autoselect-window-select): + * winner.el (winner-set-conf, winner-undo): Related users changed. + +2013-08-05 Juanma Barranquero + + * frameset.el (frameset--set-id): Doc fix. + (frameset-frame-id, frameset-frame-id-equal-p) + (frameset-locate-frame-id): New functions. + (frameset--process-minibuffer-frames, frameset--reuse-frame) + (frameset-restore): Use them. + +2013-08-05 Dmitry Antipov + + Do not call to `selected-frame' where it is assumed by default. + Affected functions are `raise-frame', `redraw-frame', + `frame-first-window', `frame-terminal' and `delete-frame'. + * calendar/appt.el (appt-disp-window): + * epg.el (epg-wait-for-completion): + * follow.el (follow-delete-other-windows-and-split) + (follow-avoid-tail-recenter): + * international/mule.el (set-terminal-coding-system): + * mail/rmail.el (rmail-mail-return): + * net/newst-plainview.el (newsticker--buffer-set-uptodate): + * progmodes/f90.el (f90-add-imenu-menu): + * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle): + * server.el (server-switch-buffer): + * simple.el (delete-completion-window): + * talk.el (talk): + * term/xterm.el (terminal-init-xterm-modify-other-keys) + (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys): + * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output): + * vc/ediff.el (ediff-documentation): Related users changed. + * frame.el (selected-terminal): Remove the leftover. + +2013-08-05 Glenn Morris + + * calendar/calendar.el (calendar-generate-month): + Fix for calendar-column-width != 1 + calendar-day-digit-width. + (calendar-generate-month, calendar-font-lock-keywords): + Fix for calendar-day-header-width > length of any day name. + +2013-08-05 Juanma Barranquero + + * desktop.el (desktop-clear): Use new name of sort predicate. + + * frameset.el (frameset): Add docstring. Move :version property to its + own `version' slot. + (frameset-copy): Rename from copy-frameset. + (frameset-p): Check more thoroughly. + (frameset-prop): Do not check for :version, which is no longer a prop. + (frameset-live-filter-alist, frameset-persistent-filter-alist): + Use new :never value instead of t. + (frameset-filter-alist): Expand and clarify docstring. + (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color) + (frameset-filter-minibuffer, frameset-filter-save-param) + (frameset-filter-restore-param, frameset-filter-iconified): + Add pointer to docstring of frameset-filter-alist. + (frameset-filter-params): Rename filter values to be more meaningful: + :never instead of t, and reverse the meanings of :save and :restore. + (frameset--process-minibuffer-frames): Clarify error message. + (frameset-save): Avoid unnecessary and confusing call to framep. + Use new BOA constructor for framesets. + (frameset--reuse-list): Doc fix. + (frameset--restore-frame): Rename from frameset--get-frame. Doc fix. + (frameset--minibufferless-last-p): Rename from frameset--sort-states. + (frameset-minibufferless-first-p): Doc fix. + Rename from frameset-sort-frames-for-deletion. + (frameset-restore): Doc fixes. Use new function names. + Most changes suggested by Drew Adams . + +2013-08-04 Juanma Barranquero + + * desktop.el (desktop-restore-forces-onscreen) + (desktop-restore-reuses-frames): Document :keyword constant values. + (desktop-filter-parameters-alist): Remove, now identical to + frameset-filter-alist. + (desktop--filter-tty*): Remove, moved to frameset.el. + (desktop-save-frameset, desktop-restore-frameset): + Do not pass :filters argument. + + * frameset.el (frameset-live-filter-alist) + (frameset-persistent-filter-alist): New variables. + (frameset-filter-alist): Use them. Add autoload cookie. + (frameset-filter-tty-to-GUI): Move from desktop.el and rename. + (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to + `frameset--id' (it's supposed to be internal to frameset.el). + (frameset--process-minibuffer-frames): Ditto. Doc fix. + (frameset--initial-params): New function. + (frameset--get-frame): Use it. Doc fix. + (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN. + Accept :all, not 'all. + (frameset-restore): Add new predicate values for FORCE-ONSCREEN and + FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision + with fbound symbols. Fix frame id matching, and remove matching ids if + the frame being restored is deleted. Obey :delete. + +2013-08-04 Stefan Monnier + + * subr.el (macrop): New function. + (text-clone--maintaining): New var. + (text-clone--maintain): Rename from text-clone-maintain. Use it + instead of inhibit-modification-hooks. + + * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use + a proxy, so as handle autoloads and redefinitions of the target. + (advice--defalias-fset, advice-remove): Use advice--symbol-function. + + * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates): + Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'. + (pcase--mutually-exclusive-p): New function. + (pcase--split-consp): Use it. + (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat + mutually exclusive with the current predicate. + + * emacs-lisp/edebug.el (edebug-lookup-function): Remove function. + (edebug-macrop): Remove. Use `macrop' instead. + * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead. + (ad-macro-p): + * eshell/esh-cmd.el (eshell-macrop): + * apropos.el (apropos-macrop): Remove. Use `macrop' instead. + +2013-08-04 Stefan Monnier + + * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc. + (advice-mapc): New function, using it. + (advice-function-member-p): New function. + (advice--normalize): Store the cdr in advice--saved-rewrite since + that's the part that will be changed. + (advice--symbol-function): New function. + (advice-remove): Handle removal before the function is defined. + Adjust to new advice--saved-rewrite. + (advice-member-p): Use advice-function-member-p and + advice--symbol-function. + +2013-08-04 Juanma Barranquero + + * frameset.el (frameset-p, frameset-save): Fix autoload cookies. + (frameset-filter-minibuffer): Doc fix. + (frameset-restore): Fix autoload cookie. Fix typo in docstring. + (frameset--set-id, frameset--process-minibuffer-frames) + (frameset-restore): Rename parameter `frameset-id' to `frame-id'. + (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame. + + * desktop.el (desktop-clear): Only delete frames when called + interactively and desktop-restore-frames is non-nil. Doc fix. + (desktop-read): Set desktop-saved-frameset to nil. + +2013-08-04 Xue Fuqiao + + * vc/vc.el (vc-ignore): Rewrite. + (vc-default-ignore-completion-table): + (vc--read-lines): + (vc--add-line, vc--remove-regexp): New functions. + + * vc/vc-svn.el (vc-svn-ignore): Doc fix. + (vc-svn-ignore-completion-table): New function. + + * vc/vc-hg.el (vc-hg-ignore): Rewrite. + (vc-hg-ignore-completion-table): + (vc-hg-find-ignore-file): New functions. + + * vc/vc-git.el (vc-git-ignore): Rewrite. + (vc-git-ignore-completion-table): + (vc-git-find-ignore-file): New functions. + + * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore. + + * vc/vc-bzr.el (vc-bzr-ignore): Rewrite. + (vc-bzr-ignore-completion-table): + (vc-bzr-find-ignore-file): New functions. + +2013-08-03 Juanma Barranquero + + * frameset.el (frameset-prop): New function and setter. + (frameset-save): Do not modify frame list passed by the caller. + +2013-08-03 Stefan Monnier + + * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys. + +2013-08-02 Stefan Monnier + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode) + (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...). + + * custom.el (custom-initialize-default, custom-initialize-set) + (custom-initialize-reset, custom-initialize-changed): Affect the + toplevel-default-value (bug#6275, bug#14586). + * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround + for bug#6275. - * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200). +2013-08-02 Juanma Barranquero -2012-12-23 Alan Mackenzie + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): + Add cl-def* expressions. + + * frameset.el (frameset-filter-params): Fix order of arguments. + +2013-08-02 Juanma Barranquero + + Move code related to saving frames to frameset.el. + * desktop.el: 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. + * frameset.el: New file. + +2013-08-01 Stefan Monnier + + * files.el: Use lexical-binding. + (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. + + * autorevert.el (auto-revert-handler): Simplify. + Use buffer-stale--default-function. + +2013-08-01 Tassilo Horn + + * speedbar.el (speedbar-query-confirmation-method): Doc fix. + + * whitespace.el (whitespace-ensure-local-variables): New function. + (whitespace-cleanup-region): Call it. + (whitespace-turn-on): Call it. + +2013-08-01 Michael Albinus + + Complete file name handlers. + + * 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. - Speed up fontification where there's large brace blocks. - * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit - to a call of c-beginning-of-decl-1. + * 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'. -2012-12-21 Chong Yidong + * 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'. - * sort.el (sort-subr): Doc fix (Bug#13056). +2013-08-01 Xue Fuqiao + + * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore. + +2013-07-31 Dmitry Gutov + + * vc/log-view.el (log-view-diff): Extract `log-view-diff-common', + 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 (Bug#14989). -2012-12-20 Bastien Guerry +2013-07-31 Kan-Ru Chen - * progmodes/etags.el (tags-search): Fix typo. Bug #13232. + * ibuf-ext.el (ibuffer-filter-by-filename): + Make it work with dired buffers too. -2012-12-11 Alan Mackenzie +2013-07-31 Dmitry Antipov - Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841. - * progmodes/cc-engine.el (c-backward-comments): Add code to work - around `forward-comment' not recognizing ^M as whitespace. + * emacs-lisp/re-builder.el (reb-color-display-p): + * files.el (save-buffers-kill-terminal): + * net/browse-url.el (browse-url): + * server.el (server-save-buffers-kill-terminal): + * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): + Prefer nil to selected-frame for the first arg of frame-parameter. -2012-12-11 Fabián Ezequiel Gallina +2013-07-31 Xue Fuqiao - * progmodes/python.el (python-skeleton-class) - (python-skeleton-def): Do not add space after defun name. + * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore. -2012-12-09 Chong Yidong +2013-07-30 Stephen Berman - * simple.el (set-mark-default-inactive): Mark as obsolete, for - removal after 24.3. + * minibuffer.el (completion--twq-all): Try and preserve each + completion's case choice (bug#14907). -2012-12-08 Dani Moncayo +2013-07-30 Lars Magne Ingebrigtsen - * simple.el (just-one-space): Doc fix. + * net/network-stream.el (open-network-stream): Mention the new + :nogreeting parameter. + (network-stream-open-starttls): Use the :nogreeting parameter + (bug#14938). -2012-12-07 Eli Zaretskii + * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'. - * textmodes/texinfo.el (texinfo-enable-quote-envs): - Add "smallexample". + * net/eww.el (eww-setup-buffer): Switching to the buffer seems + more natural than popping. -2012-12-07 Le Wang + * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815). + (shr-urlify): Highlight under mouse. - * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in - narrowed buffer (bug#12361). +2013-07-30 Xue Fuqiao -2012-12-07 Michael Heerdegen + * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore. - * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025). - Virtually backported from trunk. + * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore. -2012-12-07 Juanma Barranquero + * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*' + buffer for output. - * vc/vc-hooks.el (vc-state): Doc fix. + * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume + point-min==1. Fix search string. Fix parentheses missing. -2012-12-06 Glenn Morris + * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not + assume point-min==1. Fix search string. Fix parentheses missing. - * mail/rmail.el (rmail-maybe-display-summary): - Preserve buffer, in case select-window changes it. (Bug#13066) + * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'. -2012-12-06 Stefan Monnier + * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*' + buffer for output. - * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and - cl-load-hook where they belong. +2013-07-29 Eli Zaretskii -2012-12-06 Chong Yidong + * frame.el (frame-notice-user-settings): Avoid inflooping when the + initial frame is minibuffer-less. (Bug#14841) - * ffap.el (ffap-replace-file-component): Fix typo. +2013-07-29 Michael Albinus -2012-12-05 Stefan Monnier + * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer + option. - * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and - fix open-paren-like token test (bug#12785). + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Use it. -2012-12-04 Glenn Morris +2013-07-28 Juanma Barranquero - * mail/rmailsum.el (rmail-new-summary): Tweak for - rmail-maybe-display-summary changing buffer. (Bug#13066) + * desktop.el (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. -2012-12-03 Juri Linkov +2013-07-28 Stephen Berman - * info.el (Info-fontify-node): Don't hide the last newline. - (Bug#12272) + * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of + replace-regexp-in-string and inadvertent omissions in previous change. + (todo-filter-items): Ensure only file names are comma-separated in + name of filtered items buffer. -2012-12-01 Leo Liu +2013-07-28 Juanma Barranquero - * files.el (dir-locals-read-from-file): Check file non-empty - before reading. (Bug#13038) + * desktop.el: Optionally force offscreen frames back onscreen. + (desktop-restoring-reuses-frames): New option. + (desktop--compute-pos, desktop--move-onscreen): New functions. + (desktop--make-frame): Use desktop--move-onscreen. -2012-11-28 Glenn Morris +2013-07-27 Alan Mackenzie - * jka-cmpr-hook.el (jka-compr-get-compression-info): - Remove any version extension before checking filename. (Bug#13006) - (jka-compr-compression-info-list): Belated :version bump. + Fontify a Java generic method as a function. + * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java + value to t. -2012-11-28 Chong Yidong +2013-07-27 Stephen Berman - * simple.el (transient-mark-mode): Doc fix (Bug#11523). + * calendar/todo-mode.el: Add command to rename todo files. + (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. - * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode) - (buffer-menu): Doc fix (Bug#12294). +2013-07-27 Alan Mackenzie -2012-11-27 Roland Winkler + Make Java try-with-resources statement parse properly. + * 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. - * calendar/diary-lib.el (diary-header-line-format): Use keybinding - of diary-show-all-entries in the diary buffer (Bug#12994). +2013-07-27 Juanma Barranquero -2012-11-27 Michael Albinus + * desktop.el (desktop--make-frame): Apply most frame parameters after + creating the frame to force (partially or totally) offscreen frames to + be restored as such. - * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of - "". This is binary safe. +2013-07-26 Xue Fuqiao -2012-11-27 Stefan Monnier + * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff. + (Bug#14948) - * textmodes/table.el (table-insert): Don't use `symbol-name' on - lexically scoped variables (bug#13005). +2013-07-26 Stefan Monnier -2012-11-26 Glenn Morris + * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new + `base' arg of backtrace-frame. - * vc/vc-hooks.el (vc-mistrust-permissions): - Default to t, to avoid data-loss. (Bug#11490) +2013-07-26 Eli Zaretskii -2012-11-26 Fabián Ezequiel Gallina + * simple.el (list-processes): Doc fix. - * progmodes/python.el (python-indent-guess-indent-offset): - If indentation is guessed make python-indent-offset buffer-local. +2013-07-26 Juanma Barranquero - Fix Imenu regression. - * progmodes/python.el (python-nav-beginning-of-defun): - Fix forward movement when statement(s) separates point from defun. - (python-imenu-prev-index-position): New function. + * desktop.el (desktop--select-frame): + Try harder to reuse existing frames. -2012-11-26 Eli Zaretskii +2013-07-26 Stefan Monnier - * subr.el (buffer-file-type): Declare with defvar-local. Doc fix. + * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables. + (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. - * dos-w32.el (find-file-not-found-set-buffer-file-coding-system): - Don't set buffer-file-type. Return nil. (Bug#12989) +2013-07-26 Juanma Barranquero -2012-11-26 Glenn Morris + * desktop.el (desktop-restore-frames): Call `sit-for' once all frames + are restored to be sure that they are visible before deleting any + remaining ones. - * hippie-exp.el (hippie-expand-try-functions-list): - Re-autoload it. (Bug#12982) +2013-07-26 Matthias Meulien -2012-11-25 Eli Zaretskii + * vc/vc-dir.el (vc-dir-mode-map): Add binding for + vc-print-root-log. (Bug#14948) - * descr-text.el (describe-char-padded-string): - Call internal-char-font only on GUI frames. (Bug#11964) +2013-07-26 Richard Stallman -2012-11-24 Andreas Schwab + Add aliases for encrypting mail. + * 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. - * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type - and obsoletion message. +2013-07-26 Stefan Monnier -2012-11-24 Stefan Monnier + Add support for lexical variables to the debugger's `e' command. + * 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. + * subr.el (internal--called-interactively-p--get-frame): Remove. + (called-interactively-p): + * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new + `base' arg of backtrace-frame instead. - * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in - the constructs to keep outside of the `cl-block' (bug#12977). +2013-07-26 Glenn Morris -2012-11-24 Chong Yidong + * align.el (align-regexp): Doc fix. (Bug#14857) + (align-region): Explicit error if subexpression missing/does not match. - * mouse.el (mouse-drag-line): Even if the line is not draggable, - keep reading until we get the up-event anyway, in order to process - the up-event for mouse-1-click-follows-link (Bug#12971). + * simple.el (global-visual-line-mode): + Do not duplicate the mode lighter. (Bug#14858) -2012-11-23 Stefan Monnier +2013-07-25 Martin Rudalics - * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for - lexical-binding (bug#12938). + * window.el (display-buffer): In display-buffer bind + split-window-keep-point to t, bug#14829. -2012-11-23 Wolfgang Jenkner +2013-07-25 Juanma Barranquero - * image-mode.el (image-transform-check-size): Use assertions only - for images of type imagemagick. + * desktop.el: Rename internal "desktop-X" frame params to "desktop--X". + (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. + (desktop--select-frame, desktop--sort-states, desktop-restore-frames): + Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values. - Otherwise no error, image-transform-fit-to-{width,height} is - silently ignored, as before. Doc fix. +2013-07-25 Glenn Morris -2012-11-23 Chong Yidong + * dired-x.el (dired-mark-extension): Convert comment to doc string. - * faces.el (color-defined-p): Doc fix (Bug#12853). +2013-07-25 Juanma Barranquero -2012-11-23 Juri Linkov + * desktop.el (desktop--make-frame): Do not pass the `fullscreen' + parameter to modify-frame-parameters if the value has not changed; + this is a workaround for bug#14949. + (desktop--make-frame): On cl-delete-if call, check parameter name, + not full parameter. - * dired.el (dired-mark): Add optional arg `interactive'. - Check for `use-region-p' if `interactive' is non-nil. - (dired-unmark, dired-flag-file-deletion): Add optional arg - `interactive'. Call `dired-mark' with the arg `interactive'. - (Bug#10624) +2013-07-30 Xue Fuqiao -2012-11-23 Juri Linkov + * vc/vc.el (vc-ignore): New function. - * wdired.el: Revert 2012-10-17 change partly and replace it with - Patch by Christopher Schmidt . - (wdired-finish-edit): Add marks for new file names to - `wdired-old-marks'. Restore marks using `dired-mark-remembered' - after `revert-buffer'. - (wdired-do-renames): Remove calls to `dired-remove-file', - `dired-add-file', `dired-add-entry'. (Bug#11795) + * vc/vc-svn.el (vc-svn-ignore): New function. -2012-11-21 Alan Mackenzie + * vc/vc-hg.el (vc-hg-ignore): New function. - * progmodes/cc-defs.el (c-version): Bump to 5.32.4. + * vc/vc-git.el (vc-git-ignore): New function. - Fix bugs in the state cache. Enhance a debugging mechanism. - * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use - "brace at column zero" strategy for C++. - (c-append-lower-brace-pair-to-state-cache): Repair algorithm. - (c-parse-state-point): New variable. - (c-record-parse-state-state): Record old parse state with - `copy-tree'. Record previous value of point. - (c-debug-parse-state-double-cons): New debugging function. - (c-debug-parse-state): Call the above new function. - (c-toggle-parse-state-debug): Output a confirmatory message. + * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore + (vc-dir-ignore): New function. - * progmodes/cc-mode.el (c-before-change, c-after-change): - Call c-invalidate-state-cache from `c-before-change' instead of - `c-after-change'. + * vc/vc-cvs.el (vc-cvs-ignore): New function. + (cvs-append-to-ignore): Move here from pcvs.el. -2012-11-20 Daniel Colascione + * vc/vc-bzr.el (vc-bzr-ignore): New function. - * term/w32-win.el (cygwin-convert-path-from-windows): - Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*. - This change is a backport from trunk. + * vc/pcvs.el (vc-cvs): Require 'vc-cvs. -2012-11-20 Eli Zaretskii +2013-07-24 Juanma Barranquero - * simple.el (line-move): Don't call line-move-partial if - scroll-conservatively is in effect. (Bug#12927) + * desktop.el (desktop-restoring-frames-p): Return a true boolean. + (desktop-restore-frames): Warn when deleting an existing frame failed. -2012-11-20 Michael Albinus +2013-07-24 Glenn Morris - * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in - order to distinguish from trunk. + * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929) -2012-11-19 Stefan Monnier +2013-07-24 Michael Albinus - * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept - non-symbols for compiler macros (yet). + * filenotify.el (file-notify-supported-p): + * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): + Remove functions. - * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838: - Fallback on completion-at-point rather than - pcomplete-expand-and-complete, and only if pcomplete actually failed. - (eshell-cmpl-initialize): Setup completion-at-point. + * autorevert.el (auto-revert-use-notify): + (auto-revert-notify-add-watch): + * net/tramp.el (tramp-file-name-for-operation): + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Remove `file-notify-supported-p' entry. - * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case. +2013-07-24 Glenn Morris - * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib. + * printing.el: Replace all uses of deleted ps-windows-system, + ps-lp-system, ps-flatten-list with lpr- versions. -2012-11-19 Michael Albinus +2013-07-24 Stefan Monnier - * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files - are remote, check out-of-band property for both. + * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be + checked with memq (bug#14935). -2012-11-19 Stefan Monnier + * files.el (revert-buffer-function): Use a non-nil default. + (revert-buffer-preserve-modes): Declare var to + provide access to the `preserve-modes' argument. + (revert-buffer): Let-bind it. + (revert-buffer--default): New function, extracted from revert-buffer. - * window.el (switch-to-buffer): Re-add the warning that was lost in the - code rewrite. +2013-07-24 Stefan Monnier -2012-11-18 Paul Eggert + * lpr.el: Signal print errors more prominently. + (print-region-function): Don't default to nil. + (lpr-print-region): New function, extracted from print-region-1. + Check lpr's return value and signal an error in case of problem. + (print-region-1): Use it. + * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-* + versions instead. + (ps-printer-name): Default to nil. + (ps-printer-name-option): Default to lpr-printer-switch. + (ps-print-region-function): Don't default to nil. + (ps-postscript-code-directory): Simplify default. + (ps-do-despool): Use lpr-print-region to properly check the outcome. + (ps-string-list, ps-eval-switch, ps-flatten-list) + (ps-flatten-list-1): Remove. + (ps-multibyte-buffer): Avoid setq. + * dos-w32.el (direct-print-region-helper): Use proper regexp operators. + (print-region-function, ps-print-region-function): Don't set them here. + +2013-07-24 Xue Fuqiao + + * ido.el (ido-fractionp): + (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode) + (ido-max-file-prompt-width, ido-unc-hosts-cache) + (ido-max-directory-size, ido-max-dir-file-cache) + (ido-decorations): Doc fix. + + * ansi-color.el: Fix old URL. + +2013-07-23 Michael R. Mauger + + * progmodes/sql.el Version 3.3 + (sql-product-alist): Improve oracle :prompt-cont-regexp. + (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions. + (sql-interactive-remove-continuation-prompt): Rewrite, use + functions above. Fix continuation prompt and complete output line + handling. + (sql-redirect-one, sql-execute): Use `read-only-mode' on + redirected output buffer. + (sql-mode): Restore deleted code (Bug#13591). + +2013-07-23 Juanma Barranquero + + * desktop.el (desktop-clear, desktop-list*): Fix previous change. + +2013-07-23 Michael Albinus + + * net/tramp.el (tramp-handle-file-notify-add-watch): New defun. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it. + +2013-07-23 Juanma Barranquero + + * desktop.el (desktop-clear): Simplify; remove useless checks + against invalid buffer names. + (desktop-list*): Use cl-list*. + (desktop-buffer-info, desktop-create-buffer): Simplify. + +2013-07-23 Leo Liu + + * bookmark.el (bookmark-make-record): Restore NAME as a default + value. (Bug#14933) + +2013-07-22 Stefan Monnier + + * emacs-lisp/autoload.el (autoload--setup-output): New function, + extracted from autoload--insert-text. + (autoload--insert-text): Remove. + (autoload--print-cookie-text): New function, extracted from + autoload--insert-cookie-text. + (autoload--insert-cookie-text): Remove. + (autoload-generate-file-autoloads): Adjust calls accordingly. + + * winner.el (winner-hook-installed-p): Remove. + (winner-mode): Simplify accordingly. + + * subr.el (add-to-list): Fix compiler-macro when `append' is + not constant. Don't use `cl-member' for the base case. + + * progmodes/subword.el: Fix boundary case (bug#13758). + (subword-forward-regexp): Make it a constant. Wrap optional \\W in its + own group. + (subword-backward-regexp): Make it a constant. + (subword-forward-internal): Don't treat a trailing capital as the + beginning of a word. + +2013-07-22 Ari Roponen (tiny change) + + * emacs-lisp/package.el (package-menu-mode): Don't modify the + global value of tabulated-list-revert-hook (bug#14930). + +2013-07-22 Juanma Barranquero + + * desktop.el: Require 'cl-lib. + (desktop-before-saving-frames-functions): New hook. + (desktop--process-minibuffer-frames): Set desktop-mini parameter only + for frames being saved. Rename from desktop--save-minibuffer-frames. + (desktop-save-frames): Run hook desktop-before-saving-frames-functions. + Do not save frames with non-nil `desktop-dont-save' parameter. + Filter out deleted frames. + (desktop--find-frame): Use cl-find-if. + (desktop--select-frame): Use cl-(first|second|third) to access values + of desktop-mini. + (desktop--make-frame): Use cl-delete-if. + (desktop--sort-states): Fix sorting of minibuffer-owning frames. + (desktop-restore-frames): Use cl-(first|second|third) to access values + of desktop-mini. Look for visible frame at the end, not while + restoring frames. + + * dired-x.el (dired-mark-unmarked-files, dired-virtual) + (dired-guess-default, dired-mark-sexp, dired-filename-at-point): + Use string-match-p, looking-at-p (bug#14927). + +2013-07-21 Juanma Barranquero + + * desktop.el (desktop-saved-frame-states): + Rename from desktop--saved-states; all users changed. + (desktop-save-frames): Rename from desktop--save-frames. + Do not save state to desktop file. + (desktop-save): Save desktop-saved-frame-states to desktop file + and reset to nil. + (desktop-restoring-frames-p): New function. + (desktop-restore-frames): Use it. Rename from desktop--restore-frames. + (desktop-read): Use desktop-restoring-frames-p. Do not try to fix + buffer-lists when restoring frames. Suggested by Martin Rudalics. + + * desktop.el: Correctly restore iconified frames. + (desktop--filter-iconified-position): New function. + (desktop-filter-parameters-alist): Add entries for `top' and `left'. - More minor time fixes. - * calendar/time-date.el: Commentary fix. - * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change; - too much other code depends on (0 0) time stamps. - * net/tramp.el (tramp-time-less-p, tramp-time-subtract): - Add a couple of FIXME comments. +2013-07-20 Glenn Morris - Minor cleanup for times as lists of four integers. - * files.el (dir-locals-directory-cache): - * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info): - Doc fixes. - * net/tramp-sh.el (tramp-do-file-attributes-with-ls): - * ps-bdf.el (bdf-file-newer-than-time): - Process four-integers time stamps, not two. Doc fixes. + * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped): + Let `message' do the formatting. + (def-gdb-preempt-display-buffer): Add explicit format. -2012-11-18 Glenn Morris + * image-dired.el (image-dired-track-original-file): + Use with-current-buffer. + (image-dired-track-thumbnail): Use with-current-buffer. + Avoid changing point of wrong window. - * image.el (insert-image, insert-sliced-image): Doc fix. + * image-dired.el (image-dired-track-original-file): + Avoid changing point of wrong window. (Bug#14909) -2012-11-17 Chong Yidong +2013-07-20 Richard Copley (tiny change) - * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix - (Bug#12810). + * progmodes/gdb-mi.el (gdb-done-or-error): + Guard against "%" in gdb output. (Bug#14127) -2012-11-17 OKAZAKI Tetsurou (tiny change) +2013-07-20 Andreas Schwab - * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge - response when the target file is in a subdirectory (Bug#12757). + * progmodes/sh-script.el (sh-read-variable): Remove interactive spec. + (Bug#14826) -2012-11-17 Chong Yidong + * international/mule.el (coding-system-iso-2022-flags): Fix last + change. - * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694). +2013-07-20 Kenichi Handa -2012-11-17 Glenn Morris + * international/mule.el (coding-system-iso-2022-flags): + Add `8-bit-level-4'. (Bug#8522) - * woman.el (woman-non-underline-faces): - * emacs-lisp/cl-lib.el (face-underline-p): - Use set-face-underline rather than the alias set-face-underline-p. +2013-07-19 Lars Magne Ingebrigtsen - * window.el (with-temp-buffer-window): Doc fix. - * subr.el (with-output-to-temp-buffer): - Add doc xref to with-temp-buffer-window. + * net/shr.el (shr-mouse-browse-url): New command and keystroke + (bug#14815). -2012-11-16 Stefan Monnier + * net/eww.el (eww-process-text-input): Allow inputting when the + point is at the start of the line, as the properties aren't + front-sticky. - * emacs-lisp/cl-lib.el: Set more meaningful version number. + * net/shr.el (shr-make-table-1): Ensure that we don't infloop on + degenerate widths. -2012-11-16 Martin Rudalics +2013-07-19 Richard Stallman - * window.el (enlarge-window, shrink-window): Don't mention return - value in doc-string (Bug#12896). - (window--display-buffer): Don't resize frames - it won't work - with all window managers and defeat pop-up-frame-alist. - (display-buffer-alist): In doc-string explain that CONDITION can - be a function and which arguments are passed to it (Bug#12854). - (display-buffer-assq-regexp): New argument ACTION. Handle lambda - expressions (Bug#12854). - (display-buffer): Pass ACTION argument to - display-buffer-assq-regexp. + * epa.el (epa-popup-info-window): Doc fix. -2012-11-16 Glenn Morris + * subr.el (split-string): New arg TRIM. - * window.el (fit-frame-to-buffer-bottom-margin) - (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes. +2013-07-18 Juanma Barranquero - * faces.el (face-underline-p): Use face-attribute-specified-or. + * frame.el (blink-cursor-timer-function, blink-cursor-suspend): + Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se). -2012-11-15 Juanma Barranquero +2013-07-18 Michael Albinus - * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes. + * filenotify.el (file-notify--library): Rename from + `file-notify-support'. Do not autoload. Adapt all uses. + (file-notify-supported-p): New defun. -2012-11-15 Stefan Monnier + * autorevert.el (auto-revert-use-notify): + Use `file-notify-supported-p' instead of `file-notify-support'. + Adapt docstring. + (auto-revert-notify-add-watch): Use `file-notify-supported-p'. - * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895). + * net/tramp.el (tramp-file-name-for-operation): + Add `file-notify-supported-p'. -2012-11-15 Glenn Morris + * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): + New defun. + (tramp-sh-file-name-handler-alist): Add it as handler for + `file-notify-supported-p '. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Add `ignore' as handler for `file-notify-*' functions. + +2013-07-17 Eli Zaretskii + + * simple.el (line-move-partial, line-move): Don't start vscroll or + scroll-up if the current line is not taller than the window. + (Bug#14881) + +2013-07-16 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not + highlight question marks in the method names as strings. + (ruby-block-beg-keywords): Inline. + (ruby-font-lock-keyword-beg-re): Extract from + `ruby-font-lock-keywords'. + +2013-07-16 Jan Djärv + + * frame.el (blink-cursor-blinks): New defcustom. + (blink-cursor-blinks-done): New defvar. + (blink-cursor-start): Set blink-cursor-blinks-done to 1. + (blink-cursor-timer-function): Check if number of blinks has been + done on X and NS. + (blink-cursor-suspend, blink-cursor-check): New defuns. + +2013-07-15 Glenn Morris + + * edmacro.el (edmacro-format-keys): Fix previous change. + +2013-07-15 Paul Eggert + + * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x. + The hack didn't work outside English locales anyway. + +2013-07-15 Juanma Barranquero + + * simple.el (define-alternatives): Rename from alternatives-define, + per RMS' suggestion. + +2013-07-14 Juanma Barranquero + + * desktop.el (desktop-restore-frames): Change default to t. + (desktop-restore-in-current-display): Now offer more options. + (desktop-restoring-reuses-frames): New customization option. + (desktop--saved-states): Doc fix. + (desktop-filter-parameters-alist): New variable, renamed and expanded + from desktop--excluded-frame-parameters. + (desktop--target-display): New variable. + (desktop-switch-to-gui-p, desktop-switch-to-tty-p) + (desktop--filter-tty*, desktop--filter-*-color) + (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm) + (desktop--filter-save-desktop-parm) + (desktop-restore-in-original-display-p): New functions. + (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist. + (desktop--save-minibuffer-frames): New function, inspired by a similar + function from Martin Rudalics. + (desktop--save-frames): Call it; play nice with desktop-globals-to-save. + (desktop--restore-in-this-display-p): Remove. + (desktop--find-frame): Rename from desktop--find-frame-in-display + and add predicate argument. + (desktop--make-full-frame): Remove, integrated into desktop--make-frame. + (desktop--reuse-list): New variable. + (desktop--select-frame, desktop--make-frame, desktop--sort-states): + New functions. + (desktop--restore-frames): Add support for "minibuffer-special" frames. - * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838) - (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i. +2013-07-14 Michael Albinus - * faces.el (face-underline-p): Doc fix. Handle :underline being - things other than `t' (a string, a list). - (face-inverse-video-p): Doc fix. - (set-face-underline): Rename it back from set-face-underline-p. - Doc fix. Allow interactive input of values other than t. - (read-face-attribute): Apply formatting to :underline, - since like :box and :stipple it can take list values. + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'. - * term.el (ansi-term): Don't let C-x escape-char binding - clobber the more standard C-c binding. (Bug#12842) +2013-07-13 Dmitry Gutov -2012-11-15 Stefan Monnier + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight conversion methods on Kernel. - * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments - (bug#12879). +2013-07-13 Alan Mackenzie -2012-11-14 Glenn Morris + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13 + and comment it out. This out-commenting enables certain C++ + declarations to be parsed correctly. - * subr.el (set-temporary-overlay-map): Doc fix. +2013-07-13 Eli Zaretskii -2012-11-13 Martin Rudalics + * international/mule.el (define-coding-system): Doc fix. - * window.el (record-window-buffer) - (display-buffer-record-window): When copying the markers to - window-point preserve window-point-insertion-type. (Bug#12588) + * simple.el (default-font-height): Don't call font-info if the + frame's default font didn't change since the frame was created. + (Bug#14838) -2012-11-13 Glenn Morris +2013-07-13 Leo Liu - * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): - * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): - Use new names for hooks rather than obsolete aliases. + * ido.el (ido-read-file-name): Guard against non-symbol value. -2012-11-12 Stefan Monnier +2013-07-13 Fabián Ezequiel Gallina - * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871). + * progmodes/python.el (python-imenu--build-tree): Fix corner case + in nested defuns. -2012-11-12 Wolfgang Jenkner +2013-07-13 Leo Liu - * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes - 39 and 49. This fixes bug#12792. Also, treat unimplemented - parameters as 0, thereby restoring the behavior of revisions prior - to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca. + * ido.el (ido-exhibit): Handle ido-enter-matching-directory before + ido-set-matches call. (Bug#6852) -2012-11-12 Fabián Ezequiel Gallina +2013-07-12 Dmitry Gutov - Fix end-of-defun misbehavior. - * progmodes/python.el (python-nav-beginning-of-defun): Rename from - python-beginning-of-defun-function. Handle nested defuns - correctly. - (python-nav-end-of-defun): Rename from - python-end-of-defun-function. Ensure forward movement. - (python-info-current-defun): Reimplement to work as intended - with new fixed python-nav-{end,beginning}-of-defun. Stop scanning - parent defuns as soon as possible. + * progmodes/ruby-mode.el (ruby-percent-literals-beg-re): + (ruby-syntax-expansion-allowed-p): Support array of symbols, for + Ruby 2.0. + (ruby-font-lock-keywords): Distinguish calls to functions with + module-like names from module references. Highlight character + literals. -2012-11-12 Glenn Morris +2013-07-12 Sergio Durigan Junior (tiny change) - * progmodes/flymake.el (flymake-error-bitmap) - (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes. - (flymake-error-bitmap, flymake-warning-bitmap): Fix :types. + * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function. + (gdb-send): Handle continued commands. (Bug#14847) -2012-11-12 Dmitry Gutov +2013-07-12 Juanma Barranquero - * progmodes/ruby-mode.el (ruby-move-to-block): When moving - backward, always stop at indentation. Reverts the change from - 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851). + * desktop.el (desktop--v2s): Remove unused local variable. + (desktop-save-buffer): Make defvar-local; adjust docstring. + (desktop-auto-save-timeout, desktop-owner): Use ignore-errors. + (desktop-clear, desktop-save-buffer-p): Use string-match-p. -2012-11-11 Glenn Morris +2013-07-12 Andreas Schwab - * ibuffer.el (ibuffer-mode-map, ibuffer-mode): - Add ibuffer-filter-by-derived-mode. + * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change. - * ibuffer.el (ibuffer-mode-map): Don't have two menu items with - the same name shadowing each other. +2013-07-12 Eli Zaretskii - * window.el (with-temp-buffer-window): Doc tweak. + * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG. + (Bug#14842) - * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak. +2013-07-12 Glenn Morris - * help.el (temp-buffer-max-height): - * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin): - * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version. + * doc-view.el: Require cl-lib at runtime too. + (doc-view-remove-if): Remove. + (doc-view-search-next-match, doc-view-search-previous-match): + Use cl-remove-if. -2012-11-10 Leo Liu + * edmacro.el: Require cl-lib at runtime too. + (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq. + (edmacro-mismatch, edmacro-subseq): Remove. - * ido.el (ido-set-matches-1): Fix split-string args to avoid - performance issue. (Bug#12796) + * shadowfile.el: Require cl-lib. + (shadow-remove-if): Remove. + (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo): + Use cl-remove-if. -2012-11-10 Glenn Morris + * wid-edit.el: Require cl-lib. + (widget-choose): Use cl-remove-if. + (widget-remove-if): Remove. - * term.el (term-default-fg-color, term-default-bg-color): - Make obsolete, rather than just saying "deprecated" in the doc. + * progmodes/ebrowse.el: Require cl-lib at runtime too. + (ebrowse-delete-if-not): Remove. + (ebrowse-browser-buffer-list, ebrowse-member-buffer-list) + (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list): + Use cl-delete-if-not. - * term.el (term): Rename from `term-face'. - (term-current-face, ansi-term-color-vector) - (term-default-fg-color, term-default-bg-color, term-ansi-reset): - Update all users. +2013-07-12 Juanma Barranquero -2012-11-09 Jan Djärv + * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq) + (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings. - * server.el (server-create-window-system-frame): Improve comment. +2013-07-12 Leo Liu -2012-11-08 Jan Djärv + * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954) - * server.el (server-create-window-system-frame): Handle Nextstep - specially (Bug#12780). +2013-07-11 Glenn Morris -2012-11-08 Glenn Morris + * emacs-lisp/edebug.el: Require cl-lib at run-time too. + (edebug-gensym-index, edebug-gensym): + Remove reimplementation of cl-gensym. + (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym. - * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): - Unautoload, and make obsolete. (Bug#7449) + * thumbs.el: Require cl-lib at run-time too. + (thumbs-gensym-counter, thumbs-gensym): + Remove reimplementation of cl-gensym. + (thumbs-temp-file): Use cl-gensym. -2012-11-08 Chong Yidong + * emacs-lisp/ert.el: Require cl-lib at runtime too. + (ert--cl-do-remf, ert--remprop, ert--remove-if-not) + (ert--intersection, ert--set-difference, ert--set-difference-eq) + (ert--union, ert--gensym-counter, ert--gensym-counter) + (ert--coerce-to-vector, ert--remove*, ert--string-position) + (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs. + (ert-make-test-unbound, ert--expand-should-1) + (ert--expand-should, ert--should-error-handle-error) + (should-error, ert--explain-equal-rec) + (ert--plist-difference-explanation, ert-select-tests) + (ert--make-stats, ert--remove-from-list, ert--string-first-line): + Use cl-lib functions rather than reimplementations. - * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and - rename from diff-remove-trailing-whitespace (Bug#12831). +2013-07-11 Michael Albinus -2012-11-08 Stefan Monnier + * net/tramp.el (tramp-methods): Extend docstring. + (tramp-connection-timeout): New defcustom. + (tramp-error-with-buffer): Reset timestamp only when appropriate. + (with-tramp-progress-reporter): Simplify. + (tramp-process-actions): Improve messages. - * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix - miscompilation of trace.el. + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-sh.el (tramp-maybe-open-connection): + Use `tramp-connection-timeout'. + (tramp-methods) [su, sudo, ksu]: Add method specific timeouts. + (Bug#14808) -2012-11-08 Glenn Morris +2013-07-11 Leo Liu - * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix. + * ido.el (ido-read-file-name): Conform to the requirements of + read-file-name. (Bug#11861) + (ido-read-directory-name): Conform to the requirements of + read-directory-name. -2012-11-08 Stefan Monnier +2013-07-11 Juanma Barranquero - * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change - (bug#12812). + * subr.el (delay-warning): New function. -2012-11-07 Chong Yidong +2013-07-10 Eli Zaretskii - * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to - a defcustom with an appropriate :set function. - (minibuffer-default--in-prompt-regexps): New function. + * simple.el (default-line-height): New function. + (line-move-partial, line-move): Use it instead of computing the + line height inline. + (line-move-partial): Always compute ROWH. If the last line is + partially-visible, but its text is completely visible, allow + cursor to enter such a partially-visible line. -2012-11-07 Glenn Morris +2013-07-10 Michael Albinus - * emacs-lisp/cl.el (define-setf-expander, defsetf) - (define-modify-macro): Doc fixes. + Improve error messages. (Bug#14808) - * emacs-lisp/gv.el (gv-letplace): Fix doc typo. - (gv-define-simple-setter): Update doc of `fix-return'. + * net/tramp.el (tramp-current-connection): New defvar, moved from + tramp-sh.el. + (tramp-message-show-progress-reporter-message): Remove, not + needed anymore. + (tramp-error-with-buffer): Show message in minibuffer. + Discard input before waiting. Reset connection timestamp. + (with-tramp-progress-reporter): Improve messages. + (tramp-process-actions): Use progress reporter. Delete process in + case of error. Improve messages. -2012-11-07 Stefan Monnier + * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case. + Call `tramp-error-with-buffer' with vector and buffer. + (tramp-current-connection): Remove. + (tramp-maybe-open-connection): The car of + `tramp-current-connection' are the first 3 slots of the vector. - * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val' - twice when `fix-return' is set (bug#12813). +2013-07-10 Teodor Zlatanov - * emacs-lisp/cl.el (defsetf): Pass the third arg to - gv-define-simple-setter (bug#12812). + * progmodes/cfengine.el (cfengine3-indent-line): Do not indent + inside continued strings. -2012-11-06 Stefan Monnier +2013-07-10 Paul Eggert - * woman.el (woman-decode-region): Disable adaptive-fill when rendering - (bug#12756). + Timestamp fixes for undo (Bug#14824). + * files.el (clear-visited-file-modtime): Move here from fileio.c. -2012-11-06 Glenn Morris +2013-07-10 Leo Liu - * emacs-lisp/gv.el (gv-define-setter): Fix doc typo. + * files.el (require-final-newline): Allow safe local value. + (Bug#14834) -2012-11-05 Glenn Morris +2013-07-09 Leo Liu - * emacs-lisp/cl-extra.el (cl-prettyexpand): - * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim): - * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally) - (cl-the, cl-compiler-macroexpand): Add basic doc strings. + * ido.el (ido-read-directory-name): Handle fallback. + (ido-read-file-name): Update DIR to ido-current-directory. + (Bug#1516) + (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552) - * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix. +2013-07-09 Dmitry Gutov -2012-11-03 Glenn Morris + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra + "autoload". Remove "warn lower camel case" section, previously + commented out. Highlight negation char. Do not highlight the + target in singleton method definitions. - * emacs-lisp/cl-macs.el (cl-parse-loop-clause): - Rename handler properties back from cl-- to cl-. (Bug#12788) +2013-07-08 Stefan Monnier - * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string. + * faces.el (tty-setup-hook): Declare the hook. -2012-11-03 Eli Zaretskii + * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try + and detect when a guard/pred depends on local vars (bug#14773). + (pcase--u1): Adjust caller. - * term/pc-win.el: Don't load term/internal from here. +2013-07-08 Eli Zaretskii - * loadup.el: Load term/internal from here. + * simple.el (line-move-partial, line-move): Account for + line-spacing. + (line-move-partial): Avoid setting vscroll when the last + partially-visible line in window is of default height. -2012-11-03 Fabián Ezequiel Gallina +2013-07-08 Lars Magne Ingebrigtsen - * progmodes/python.el (inferior-python-mode): Fix hang in - jit-lock (Bug#12645). + * net/shr.el (shr-map): Reinstate the `u' key binding, since it's + been used a while. -2012-11-03 Martin Rudalics +2013-07-07 Juanma Barranquero - * window.el (switch-to-visible-buffer) - (switch-to-buffer-preserve-window-point): Fix doc-strings. + * subr.el (read-quoted-char): Remove unused local variable `char'. -2012-11-01 Stephen Berman +2013-07-07 Michael Kifer - * play/gomoku.el (gomoku-display-statistics): Update mode line - only if in Gomoku buffer; don't capitalize "won" (Bug#12771). + * ediff.el (ediff-version): Version update. + (ediff-files-command, ediff3-files-command, ediff-merge-command) + (ediff-merge-with-ancestor-command, ediff-directories-command) + (ediff-directories3-command, ediff-merge-directories-command) + (ediff-merge-directories-with-ancestor-command): New functions. + All are command-line interfaces to ediff: to facilitate calling + Emacs with the appropriate ediff functions invoked. -2012-10-31 Martin Rudalics + * viper-cmd.el (viper-del-forward-char-in-insert): New function. + (viper-save-kill-buffer): Check if buffer is modified. - * window.el (quit-restore-window): If the window has been - created on an existing frame and ended up as the sole window on - that frame, do not delete it (Bug#12764). + * viper.el (viper-version): Version update. + (viper-emacs-state-mode-list): Add egg-status-buffer-mode. -2012-10-31 Stefan Monnier +2013-07-07 Stefan Monnier - * progmodes/sh-script.el (sh--inside-noncommand-expression): - Rename from sh--inside-arithmetic-expression, handle more cases - (bug#11263). + * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook. + * viper-cmd.el (viper-envelop-ESC-key): Remove function. + (viper-intercept-ESC-key): Simplify. + * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd. + * viper.el (viper--tty-ESC-filter, viper--lookup-key) + (viper-catch-tty-ESC, viper-uncatch-tty-ESC) + (viper-setup-ESC-to-escape): New functions. + (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape. + (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793) - * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func. - (sh-font-lock-open-heredoc): Use it (bug#12770). +2013-07-07 Eli Zaretskii -2012-10-30 Glenn Morris + * 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. + +2013-07-06 Jan Djärv + + * files.el (write-file): Do not display confirm dialog for NS, + it does its own dialog, which can't be cancelled (Bug#14578). + +2013-07-06 Eli Zaretskii + + * simple.el (line-move-partial): Adjust the row returned by + posn-at-point for the current window-vscroll. (Bug#14567) + +2013-07-06 Michael Albinus + + * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter): + (tramp-sh-file-inotifywait-process-filter): Handle file names with + spaces. + +2013-07-06 Martin Rudalics + + * window.el (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. + +2013-07-06 Juanma Barranquero + + * simple.el (alternatives-define): Remove leftover :group keyword. + Tweak docstring. + +2013-07-06 Leo Liu + + * ido.el (ido-use-virtual-buffers): Allow new value 'auto. + (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. + +2013-07-06 Juanma Barranquero + + * simple.el (alternatives-define): New macro. + +2013-07-06 Stefan Monnier + + * subr.el (read-quoted-char): Use read-key. + (sit-for): Let read-event decode tty input (bug#14782). + +2013-07-05 Stephen Berman + + * calendar/todo-mode.el: Add handling of file deletion, both by + 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 (bug#14688). 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. + +2013-07-05 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): + Support both "gvfs-monitor-dir" and "inotifywait". + (tramp-sh-file-inotifywait-process-filter): Rename from + `tramp-sh-file-notify-process-filter'. + (tramp-sh-file-gvfs-monitor-dir-process-filter) + (tramp-get-remote-gvfs-monitor-dir): New defuns. + +2013-07-05 Leo Liu + + * autoinsert.el (auto-insert-alist): Default to lexical-binding. + +2013-07-04 YAMAMOTO Mitsuharu - * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix. + * frame.el (display-pixel-height, display-pixel-width) + (display-mm-height, display-mm-width): Mention behavior on + multi-monitor setups in docstrings. + (w32-display-monitor-attributes-list): Declare function. + (display-monitor-attributes-list): Use it. + +2013-07-04 Michael Albinus + + * filenotify.el: New package. + + * 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. - * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760) + * net/tramp.el (tramp-file-name-for-operation): + Handle `file-notify-add-watch' and `file-notify-rm-watch'. -2012-10-29 Chong Yidong + * 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. - * isearch.el (isearch-other-meta-char): Ensure that a reprocessed - function key is stored in a keyboard macro (Bug#4894). +2013-07-03 Juri Linkov - * thingatpt.el (number-at-point): Apply a thing-at-point property. + * buff-menu.el (Buffer-menu-multi-occur): Add args and move the + call of `occur-read-primary-args' to interactive spec. -2012-10-29 Stefan Monnier + * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to + `ibuffer-do-occur' like in buff-menu.el. (Bug#14673) - * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk - header comments". - (diff-unified->context, diff-context->unified) - (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'. +2013-07-03 Matthias Meulien - * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759). + * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to + `Buffer-menu-multi-occur'. Add it to the menu. + (Buffer-menu-mode): Document it in docstring. + (Buffer-menu-multi-occur): New command. (Bug#14673) - * files.el (find-alternate-file): Only ask one question (bug#12487). +2013-07-03 Dmitry Gutov -2012-10-29 Chong Yidong + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more + keywords and built-ins. - * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer. - Suggested by Dan Nicolaescu (Bug#6326). +2013-07-03 Glenn Morris - * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705). + * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770) - * startup.el (fancy-about-screen): Don't message (Bug#12680). + Make info-xref checks case-sensitive by default + * 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. + * 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. - * thingatpt.el (thing-at-point): Doc fix (Bug#12691). +2013-07-03 Leo Liu - * imenu.el (imenu): Inhibit push-mark message (Bug#12726). + * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash. - * face-remap.el (face-remap-add-relative): Handle the case where a - face-remapping-alist entry is a cons cell (Bug#12762). +2013-07-03 Dmitry Gutov -2012-10-29 Kevin Ryde + * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a + 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. - * woman.el (woman-parse-numeric-value): Handle picas correctly - (Bug#12639). +2013-07-02 Jan Djärv -2012-10-29 Glenn Morris + * term/ns-win.el (display-format-alist): Use .* (Bug#14765). - * emacs-lisp/cl.el (defsetf): Doc fix. +2013-07-01 Katsumi Yamaoka -2012-10-29 Stefan Monnier + * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738). - * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation - syntax to the matching opener, if any (bug#12547). - (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this - matching open as a "case-(". - (sh-smie-rc-grammar): Add a corresponding rule for it. +2013-07-01 Juanma Barranquero -2012-10-28 Daniel Hackney + * desktop.el (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. - * emacs-lisp/package.el (package-generate-autoloads): Kill buffer - "PKGNAME-autoloads.el" in case we created it. +2013-06-30 Michal Nazarewicz -2012-10-28 Stefan Monnier + * files.el (find-file-noselect): Simplify conditional expression. - * minibuffer.el (completion--sifn-requote): Rewrite to handle things - like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714). - (completion--twq-all): Disable too-strict assertions. + * remember.el (remember-append-to-file): + Don't mix `find-buffer-visiting' and `get-file-buffer'. - * tmm.el (tmm-prompt): Use map-keymap (bug#12744). + Add `remember-notes' function to store random notes across Emacs + 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. + * startup.el (initial-buffer-choice): Add notes to custom type. -2012-10-27 Eli Zaretskii +2013-06-30 Eli Zaretskii - * profiler.el (profiler-report-make-entry-part): Fix help-echo - text to match the real keybindings. + * bindings.el (right-char, left-char): Don't call sit-for, this is + no longer needed. Use arithmetic comparison only for numerical + arguments. -2012-10-27 Juri Linkov + * international/mule-cmds.el (select-safe-coding-system): + Handle the case of FROM being a string correctly. (Bug#14755) - * wdired.el (wdired-keep-marker-rename): New defcustom. - (wdired-do-renames): Use it instead of `dired-keep-marker-rename'. - (Bug#11795) +2013-06-30 Lars Magne Ingebrigtsen - * dired.el (dired-keep-marker-rename): Add reference to - `wdired-keep-marker-rename' in the docstring. - Add default character value ?R to display initially in - Customization UI instead of ?@. + * net/shr.el (shr-make-table-1): Add a sanity check that allows + progression on degenerate tables. + (shr-rescale-image): ImageMagick animated images currently don't work. -2012-10-27 Martin Rudalics +2013-06-30 Juanma Barranquero - * window.el (display-buffer): In doc-string describe - window-height and window-width alist entries. + Some fixes and improvements for desktop frame restoration. + It is still experimental and disabled by default. + * desktop.el (desktop--save-windows): Put the selected frame at + the head of the list. + (desktop--make-full-frame): New function. + (desktop--restore-windows): Try to re-select the frame that was + selected upon saving. Do not abort if some frames fail to restore, + just show an error message and continue. Set up maximized frames + so they have default non-maximized dimensions. - * time.el (display-time-world): Restore fit-window-to-buffer - behavior. +2013-06-30 Dmitry Gutov -2012-10-27 Chong Yidong + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Don't start heredoc inside a string or comment. - * subr.el (insert-buffer-substring-as-yank): Doc fix. +2013-06-29 Eli Zaretskii -2012-10-26 Jambunathan K + * bindings.el (visual-order-cursor-movement): New defcustom. + (right-char, left-char): Provide visual-order cursor motion by + calling move-point-visually. Update the doc strings. - * minibuffer.el (completion-category-overrides): New completion - category `bookmark' (bug#11131). +2013-06-28 Kenichi Handa -2012-10-26 Stefan Monnier + * international/mule.el (define-coding-system): New coding system + properties :inhibit-null-byte-detection, + :inhibit-iso-escape-detection, and :prefer-utf-8. + (set-buffer-file-coding-system): If :charset-list property of + CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is + appropriate for setting. - * emacs-lisp/advice.el (ad-assemble-advised-definition): - Silence bogus compiler warnings for ad-do-it. + * international/mule-cmds.el (select-safe-coding-system): + If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains + multibyte characters, return utf-8 (or one of its siblings). - * bookmark.el (bookmark-completing-read): Set the completion category - to `bookmark' (bug#11131). + * international/mule-conf.el (prefer-utf-8): New coding system. + (file-coding-system-alist): Use prefer-utf-8 as default for Elisp + files. -2012-10-26 Bastien - Stefan Monnier +2013-06-28 Ivan Kanis - * face-remap.el: Use lexical-binding. - (text-scale-adjust): Improve docstring. Use itself for the temporary - overlay-map bindings, so as to repeat the "Use..." message each time. + * net/shr.el (shr-render-region): New function. -2012-10-26 Stefan Monnier + * net/eww.el: Autoload `eww-browse-url'. - * emacs-lisp/macroexp.el (macroexp--expand-all): - Obey byte-compile-warning-enabled-p (bug#12486). +2013-06-27 Dmitry Gutov - * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol". - (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584). + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Adapt to `package-desc-version' being a list. + Use `package--ac-desc-version' to retrieve version from a package + archive element. -2012-10-26 Martin Rudalics +2013-06-27 Juanma Barranquero - * mouse.el (mouse-drag-line): Move last form into preceding when - clause (Bug#12731). + New experimental feature to save&restore window and frame setup. + * desktop.el (desktop-save-windows): New defcustom. + (desktop--saved-states): New var. + (desktop--excluded-frame-parameters): New defconst. + (desktop--filter-frame-parms, desktop--find-frame-in-display) + (desktop--restore-windows, desktop--save-windows): New functions. + (desktop-save): Call `desktop--save-windows'. + (desktop-read): Call `desktop--restore-windows'. - * help.el (resize-temp-buffer-window): Fix doc-string. +2013-06-27 Lars Magne Ingebrigtsen -2012-10-25 David Engster + * net/shr.el (add-face-text-property): Remove compat definition. - * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression): - Remove. This feature is already integrated in imenu. +2013-06-27 Stephen Berman - * emacs-lisp/eieio-opt.el: Remove require for `button' since it is - always loaded. Require `speedbar' unconditionally. + * info.el (Info-try-follow-nearest-node): Move search for footnote + above search for node name to prevent missing a footnote (bug#14717). -2012-10-25 Stefan Monnier +2013-06-27 Stephen Berman - * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725). + * obsolete/otodo-mode.el: Add obsolescence info to file header. - * minibuffer.el (minibuffer-force-complete): Fix thinko. +2013-06-27 Leo Liu - * net/ldap.el (ldap-search-internal): The official ldif format starts - with a "version: 1" header (bug#12724). + * net/eww.el (eww-read-bookmarks): Check file size. - * emacs-lisp/package.el (package-installed-p): Warn if not ready - (bug#12721). +2013-06-26 Stefan Monnier -2012-10-25 Glenn Morris + * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to + advice--pending if newdef is nil or an autoload (bug#13820). + (advice-mapc): New function. - * emacs-lisp/cl-macs.el (cl-progv): Doc fix. +2013-06-26 Lars Magne Ingebrigtsen -2012-10-24 Stefan Monnier + * net/eww.el (eww-mode): Undo isn't necessary in eww buffers, + probably. + (eww-mode-map): Add a menu bar. + (eww-add-bookmark): New command. + (eww-bookmark-mode): New mode and commands. + (eww-add-bookmark): Remove newlines from the title. + (eww-bookmark-browse): Don't bug out if it's the only window. - * minibuffer.el (minibuffer-force-complete): Use one more marker - for the temporary-overlay-map command (bug#12619). +2013-06-26 Glenn Morris -2012-10-24 Chong Yidong + * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg. + (hfy-size): Handle ttys. (Bug#14668) - * time.el (display-time-world-mode): Derive from special-mode. - (display-time-world): Use display-buffer (Bug#12708). - (display-time-world-mode-map): Variable deleted. - (display-time-world-display): Wrap the final delete-char inside - inhibit-read-only. + * info-xref.el: Update for Texinfo 5 change in *note format. + (info-xref-node-re, info-xref-note-re): New constants. + (info-xref-check-buffer): Use info-xref-note-re. -2012-10-24 Chong Yidong +2013-06-26 Stefan Monnier - * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion): - Doc fix. + * simple.el (set-variable): Use read-from-minibuffer (bug#14710). - * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628). + * emacs-lisp/package.el (package--add-to-archive-contents): Add missing + nil terminate the loop (bug#14718). -2012-10-24 Stefan Monnier +2013-06-25 Lars Magne Ingebrigtsen - * minibuffer.el (completion--all-sorted-completions-location): New var. - (completion--cache-all-sorted-completions) - (completion--flush-all-sorted-completions): Use it. - (completion-in-region, completion-in-region--postch) - (completion-at-point, completion-help-at-point): Use markers in - completion-in-region--data (bug#12619). + * net/eww.el: Rework history traversal. When going forward/back, + put these actions into the history, too, so that they can be + replayed. + (eww-render): Move the history reset to the correct buffer. -2012-10-23 Stefan Monnier +2013-06-25 Juri Linkov - * progmodes/compile.el (compilation-start): Try to handle common - quoting of `cd' argument (bug#12640). + * files-x.el (modify-dir-local-variable): Change the header comment + in the file with directory local variables. (Bug#14692) - * vc/diff-mode.el (diff-hunk): `save-excursion' while refining - (bug#12671). + * files-x.el (read-file-local-variable-value): Add `default'. + (Bug#14710) -2012-10-23 Glenn Morris +2013-06-25 Lars Magne Ingebrigtsen - * progmodes/gud.el (gud-menu-map): - Check gdb-active-process is bound. (Bug#12358) + * net/eww.el (eww-make-unique-file-name): Create a unique file + name before saving to entering `y' accidentally asynchronously. -2012-10-23 Stefan Monnier +2013-06-25 Ivan Kanis - * repeat.el (repeat): Set real-this-command (bug#12232). + * net/eww.el (eww-download): New command and keystroke. - * htmlfontify.el (hfy-post-html-hook): - * filesets.el (filesets-cache-fill-content-hook): - * arc-mode.el (archive-extract-hook): - * progmodes/cc-mode.el (c-prepare-bug-report-hook): - * net/rcirc.el (rcirc-sentinel-functions) - (rcirc-receive-message-functions, rcirc-activity-functions) - (rcirc-print-functions): - * net/dbus.el (dbus-event-error-functions): - * emacs-lisp/eieio.el (eieio-pre-method-execution-functions): - * emacs-lisp/checkdoc.el (checkdoc-style-functions) - (checkdoc-comment-style-functions): Don't use "-hooks" suffix. - * term/sun.el (sun-raw-prefix-hooks): - * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable. +2013-06-25 Lars Magne Ingebrigtsen -2012-10-23 Michael Albinus + * net/eww.el (eww-copy-page-url): Change name of command. - * net/tramp-smb.el (tramp-smb-maybe-open-connection): - Set `tramp-chunksize' to 1. This improves the performance. - (tramp-smb-wait-for-output): Add timeout to - `tramp-accept-process-output' calls. + * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to + be more consistent with Info and dired. -2012-10-23 Chong Yidong + * net/eww.el (eww-mode-map): Ditto. - * faces.el (font-list-limit): Define as an obsolete variable. +2013-06-25 Stefan Monnier - * startup.el (command-line): - * cus-start.el: Don't refer to font-list-limit. + * emacs-lisp/package.el: Use lexical-binding. Include obsolete + packages from archives. + (package-archive-contents): Change format; include obsolete packages. + (package-desc): Use `dir' to mark builtin packages. + (package--from-builtin): Set the `dir' field to `builtin'. + (generated-autoload-file, version-control): Declare. + (package-compute-transaction): Change first arg and return value to be + lists of package-descs. Adjust to new package-archive-contents format. + (package--add-to-archive-contents): Adjust to new + package-archive-contents format. + (package-download-transaction): Arg is now a list of package-descs. + (package-install): If `pkg' is a package name, pass it as + a requirement, so it is subject to the usual (e.g. disabled) checks. + (describe-package): Accept package-desc as well. + (describe-package-1): Describe a specific package-desc. Add links to + other package-descs for the same package name. + (package-menu-describe-package): Pass the actual package-desc. + (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer + works correctly. + (package-desc-status): New function. + (package-menu--refresh): New function, extracted + from package-menu--generate. + (package-menu--generate): Use it. + (package-delete): Update package-alist. + (package-menu-execute): Don't call package-initialize. - * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583). + * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el, + progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el, + progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el, + progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el, + progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el, + emacs-lisp/cl-macs.el: Neuter the "Version:" header. -2012-10-23 Stefan Monnier +2013-06-25 Martin Rudalics - * subr.el (internal-temp-output-buffer-show): Rename from - temp-output-buffer-show, since previously compiled files expect this name. + * window.el (window--state-get-1): Workaround for bug#14527. + http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html -2012-10-23 Glenn Morris +2013-06-25 Lars Magne Ingebrigtsen - * image.el (image-type-from-file-name): If multiple types match, - return the first one that is supported. (Bug#9045) + * net/eww.el (eww-back-url): Implement the history by stashing all + the data into a list. + (eww-forward-url): Allow going forward in the history, too. -2012-10-22 Glenn Morris +2013-06-25 Stefan Monnier - * image.el (imagemagick-enabled-types): Doc fix. + * files-x.el (read-file-local-variable-value): Use read-from-minibuffer + for values and use read--expression for expressions (bug#14710). + (read-file-local-variable): Avoid setq. + (read-file-local-variable-mode): Use minor-mode-list. -2012-10-22 Takafumi Arakaki (tiny change) +2013-06-25 Rüdiger Sonderfeld - * progmodes/which-func.el (which-func-current): The hash-table may have - an explicit nil (bug#12338). + * textmodes/bibtex.el (bibtex-generate-url-list): Add support + for DOI URLs. -2012-10-22 Stefan Monnier +2013-06-25 Rüdiger Sonderfeld - * electric.el (electric-pair-delete-selection-self-insert-function): - Rename to electric-pair-will-use-region, return a boolean. - (electric-pair-mode): Adjust accordingly. Don't require delsel. + * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect): + Update imenu-support when dialect changes. - * delsel.el (delete-selection-helper): Use a function instead of a hook. - (delete-selection-pre-hook): Use use-region-p. - (delete-selection-self-insert-function): Remove. - (self-insert-command): Obey self-insert-uses-region-functions. - (self-insert-iso): Revert to previous setting, since we don't actually - know what that command does. - (delete-selection-self-insert-hooks): Remove. +2013-06-25 Leo Liu -2012-10-22 Simon Law (tiny change) + * ido.el (ido-read-internal): Allow forward slash on windows. - * delsel.el (delete-selection-helper): New function, extracted from - delete-selection-pre-hook. - (delete-selection-pre-hook): Use it. - (delete-selection-self-insert-function): New function. - (delete-selection-self-insert-hooks): New hook. - (self-insert-command, self-insert-iso): Use it. - * electric.el (electric-pair-syntax): New function, extracted from - electric-pair-post-self-insert-function. - (electric-pair-post-self-insert-function): Use it. - (electric-pair-delete-selection-self-insert-function): New function. - (electric-pair-mode): Require delsel and setup - delete-selection-self-insert-hooks (bug#11520). +2013-06-24 Lars Magne Ingebrigtsen -2012-10-20 Chong Yidong + * net/eww.el (eww): Start of strings is \\`, not ^. - * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are - no changes to show (Bug#12586). +2013-06-24 Ivan Kanis - * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body - list explicitly (Bug#12571). + * net/shr.el (shr-browse-url): Fix interactive spec. -2012-10-20 Arne Jørgensen + * net/eww.el (eww): Add a trailing slash to domain names. - * progmodes/flymake.el (flymake-create-temp-inplace): - Use file-truename. +2013-06-24 Juanma Barranquero -2012-10-20 Eli Zaretskii + * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705). - * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395) +2013-06-24 Lars Magne Ingebrigtsen -2012-10-20 Jay Belanger + * net/shr.el (shr-browse-url): Use an external browser if given a + prefix. - * calc/calc-units.el (math-extract-units): Properly extract powers - of units. + * net/eww.el (eww-external-browser): Move to shr. -2012-10-20 Daniel Colascione +2013-06-24 Ivan Kanis - * frame.el (make-frame): Set x-display-name as we used to in order - to unbreak creating an X11 frame from an Emacs daemon started - without a display. + * net/eww.el (eww): Work more correctly for file: URLs. + (eww-detect-charset): Allow quoted charsets. + (eww-yank-page-url): New command and keystroke. -2012-10-19 Stefan Monnier +2013-06-24 Daiki Ueno - * minibuffer.el (minibuffer-force-complete): Make the next completion use - the same completion-field (bug@12221). + * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the + file name of gpg executable. + (epg-context-program): New function. + (epg-context-home-directory): New function. + (epg-context-set-program): New function. + (epg-context-set-home-directory): New function. + (epg--start): Use `epg-context-program' instead of + 'epg-gpg-program'. + (epg--list-keys-1): Likewise. -2012-10-19 Martin Rudalics +2013-06-24 Leo Liu - * emacs-lisp/debug.el (debug): Record height of debugger window - also when debugger will be back (Bug#8789). + * ido.el (ido-read-internal): Fix bug#14620. -2012-10-18 Chong Yidong +2013-06-23 Juanma Barranquero - * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action): - Convert to defcustom. - (gdb-get-source-file): Don't bind pop-up-windows. + * faces.el (face-documentation): Simplify. + (read-face-attribute, tty-find-type, x-resolve-font-name): + Use `string-match-p'. + (list-faces-display): Use `string-match-p'. Simplify. + (face-spec-recalc): Check face to avoid face alias loops. + (read-color): Use `string-match-p' and non-capturing parenthesis. - * progmodes/gud.el (gud-display-line): Don't specially re-use - other frames for the gdb-mi case (Bug#12648). +2013-06-23 Lars Magne Ingebrigtsen -2012-10-18 Stefan Monnier + * net/shr.el (shr-rescale-image): Use the new + :max-width/:max-height functionality. - * emacs-lisp/advice.el: Clean up commentary a bit. - (ad-do-advised-functions, ad-with-originals): Use `declare'. - (byte-code-function-p): Never redefine. +2013-06-23 Ivan Kanis - * emacs-lisp/gv.el (cond): Same fix as before for `if'. + * net/eww.el (eww-search-prefix): New variable. + (eww): Use it. + (eww-external-browser): New variable. + (eww-mode-map): New keystroke. + (eww-browse-with-external-browser): New command. -2012-10-18 Glenn Morris + * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps. - * dired.el (dired-sort-toggle): Some ls implementations only allow - a single option string. (Bug#12666) +2013-06-23 Juanma Barranquero - * minibuffer.el (completion-cycle-threshold): Doc fix. + * emacs-lisp/tabulated-list.el (tabulated-list-init-header): + Don't skip aligning the next header field when padding is 0; + otherwise, field width is not respected unless the title is as + wide as the field. -2012-10-17 Kenichi Handa +2013-06-22 Stefan Monnier - * international/mule.el (set-keyboard-coding-system): - Recover input meta mode when the new coding system doesn not use 8-bit. - Supply TERMINAL arg to set-input-meta-mode. + * emacs-lisp/package.el (package-el-version): Remove. + (package-process-define-package): Fix inf-loop. + (package-install): Allow symbols as arguments again. -2012-10-17 Michael Heerdegen +2013-06-22 Dmitry Gutov - * wdired.el (wdired-old-marks): New variable. - (wdired-change-to-wdired-mode): Locally set wdired-old-marks. - (wdired-do-renames): Move point with renamed file and don't lose - mark status (Bug#11795). + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch', + add some more keyword-like methods. + http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html -2012-10-16 Juri Linkov +2013-06-22 Juanma Barranquero - * replace.el (query-replace-help): Mention multi-buffer replacement - keys in the Help message. (Bug#12655) + * bs.el (bs-buffer-show-mark): Make defvar-local. + (bs-mode): Use setq-local. -2012-10-15 Chong Yidong + * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode) + (emacs-lock--try-unlocking): Make defvar-local. - * emacs-lisp/byte-run.el (defsubst): Doc fix. +2013-06-22 Glenn Morris -2012-10-14 Eli Zaretskii + * play/cookie1.el (cookie-apropos): Minor simplification. - * window.el (display-buffer): Doc fix. + * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar. - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Adjust the msft regexp to the output of Studio 2010, and move msft - before edg-1. See the discussion on emacs-devel, - http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html, - for the details. +2013-06-22 Dmitry Gutov -2012-10-14 Stefan Monnier + * progmodes/ruby-mode.el (auto-mode-alist): Do not use + `regexp-opt', it breaks the build during dumping. - * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default) - (oset): Move uses of object-class-fast macro after its definition. +2013-06-21 Dmitry Gutov - * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code. + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight keyword-like methods on Kernel and Module with + font-lock-builtin-face. + (auto-mode-alist): Consolidate different entries into one regexp + and add more *file-s. + +2013-06-21 Stephen Berman + + * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el. + + * calendar/diary-lib.el (diary-goto-entry-function): New variable. + (diary-entry): Use it in the action of this button type instead of + diary-goto-entry. + + * calendar/todo-mode.el: New version. + (todo-add-category): Append new category to end of file and give + it the highest number, instead of putting it at the beginning and + giving it 0. Incorporate noninteractive functionality. + (todo-forward-category): Adapt to 1-based category numbering. + Allow skipping over archived categories. + (todo-backward-category): Derive from todo-forward-category. + (todo-backward-item, todo-forward-item): Make noninteractive and + delegate interactive part to new commands. Make sensitive to done items. + (todo-categories): Make value an alist of category names and + vectors of item counts. + (todo-category-beg): Make a defconst. + (todo-category-number): Use 1 instead of 0 as initial value. + (todo-category-select): Make sensitive to overlays, optional item + highlighting and done items. + (todo-delete-item): Make sensitive to overlays and marked and done items. + (todo-edit-item): Make sensitive to overlays and editing of + date/time header optional. Add format checks. + (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a + no-op if point is not on an item. Advertise using todo-edit-quit. + (todo-edit-mode): Make sensitive to new format, font-locking, and + multiple todo files. + (todo-insert-item, todo-insert-item-here): Derive from + todo-basic-insert-item and extend functionality. + (todo-item-end, todo-item-start): Make sensitive to done items. + (todo-item-string): Don't return text properties. Restore point. + (todo-jump-to-category): Make sensitive to multiple todo files and + todo archives. Use extended category completion. + (todo-lower-item, todo-raise-item): Rename to *-priority and + derive from todo-set-item-priority. + (todo-mode): Derive from special-mode. Make sensitive to new + format, font-locking and multiple todo files. Make read-only. + (todo-mode-map): Don't suppress digit keys, so they can supply + prefix arguments. Add many new key bindings. + (todo-prefix): Insert as an overlay instead of file text. + Change semantics from diary date expression to purely visual mark. + (todo-print): Rename to todo-print-buffer. Make buffer display + features printable. Remove option to restrict number of items + printed. Add option to print to file. + (todo-print-function): Rename to todo-print-buffer-function. + (todo-quit): Extend to handle exiting new todo modes. + (todo-remove-item): Make sensitive to overlays. + (todo-save): Extend to buffers of filtered items. + (todo-show): Make sensitive to done items, multiple todo files and + new todo modes. Offer to convert legacy todo file before creating + first new todo file. + (todo-show-priorities): Rename to todo-top-priorities. + Change semantics of value 0. + (todo-top-priorities): Rename to todo-filter-top-priorities, + derive from todo-filter-items and extend functionality. + (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer + and extend functionality to other types of filtered items. + (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct) + (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back) + (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst) + (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev) + (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp) + (todo-edit-mode-hook, todo-entry-prefix-function) + (todo-entry-timestamp-initials, todo-file-do, todo-file-done) + (todo-file-item, todo-file-top, todo-header, todo-initial-setup) + (todo-initials, todo-insert-threshold, todo-item-string-start) + (todo-line-string, todo-menu, todo-mode-hook) + (todo-more-important-p, todo-previous-answer, todo-previous-line) + (todo-print-priorities, todo-remove-separator) + (todo-save-top-priorities-too, todo-string-count-lines) + (todo-string-multiline-p, todo-time-string-format) + (todo-tmp-buffer-name): Remove. + (todo-add-file, todo-archive-done-item, todo-choose-archive) + (todo-convert-legacy-files, todo-copy-item, todo-delete-category) + (todo-edit-category-diary-inclusion) + (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment) + (todo-edit-file, todo-edit-item-date-day) + (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar) + (todo-edit-item-date-month, todo-edit-item-date-to-today) + (todo-edit-item-date-year, todo-edit-item-diary-inclusion) + (todo-edit-item-diary-nonmarking, todo-edit-item-header) + (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items) + (todo-filter-diary-items-multifile, todo-filter-regexp-items) + (todo-filter-regexp-items-multifile, todo-filter-top-priorities) + (todo-filter-top-priorities-multifile, todo-find-archive) + (todo-find-filtered-items-file, todo-go-to-source-item) + (todo-insert-item-from-calendar, todo-item-done, todo-item-undone) + (todo-jump-to-archive-category, todo-lower-category) + (todo-mark-category, todo-marked-item-p, todo-merge-category) + (todo-move-category, todo-move-item, todo-next-button) + (todo-next-item, todo-padded-string, todo-powerset) + (todo-previous-button, todo-previous-item) + (todo-print-buffer-to-file, todo-raise-category) + (todo-rename-category, todo-repair-categories-sexp, todo-search) + (todo-set-category-number, todo-set-item-priority) + (todo-set-top-priorities-in-category) + (todo-set-top-priorities-in-file, todo-show-categories-table) + (todo-sort-categories-alphabetically-or-numerically) + (todo-sort-categories-by-archived, todo-sort-categories-by-diary) + (todo-sort-categories-by-done, todo-sort-categories-by-todo) + (todo-toggle-item-header, todo-toggle-item-highlighting) + (todo-toggle-mark-item, todo-toggle-prefix-numbers) + (todo-toggle-view-done-items, todo-toggle-view-done-only) + (todo-unarchive-items, todo-unmark-category): New commands. + (todo-absolute-file-name, todo-add-to-buffer-list) + (todo-adjusted-category-label-length, todo-basic-edit-item-header) + (todo-basic-insert-item, todo-category-completions) + (todo-category-number, todo-category-string-matcher-1) + (todo-category-string-matcher-2, todo-check-filtered-items-file) + (todo-check-format, todo-clear-matches) + (todo-comment-string-matcher, todo-convert-legacy-date-time) + (todo-current-category, todo-date-string-matcher) + (todo-define-insertion-command, todo-diary-expired-matcher) + (todo-diary-goto-entry, todo-diary-item-p) + (todo-diary-nonmarking-matcher, todo-display-as-todo-file) + (todo-display-categories, todo-display-sorted, todo-done-item-p) + (todo-done-item-section-p, todo-done-separator) + (todo-done-string-matcher, todo-files, todo-filter-items) + (todo-filter-items-1, todo-filter-items-filename, todo-find-item) + (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent) + (todo-insert-category-line, todo-insert-item-from-calendar) + (todo-insert-sort-button, todo-insert-with-overlays) + (todo-insertion-command-name, todo-insertion-key-bindings) + (todo-label-to-key, todo-longest-category-name-length) + (todo-make-categories-list, todo-mode-external-set) + (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2) + (todo-modes-set-3, todo-multiple-filter-files) + (todo-nondiary-marker-matcher, todo-prefix-overlays) + (todo-read-category, todo-read-date, todo-read-dayname) + (todo-read-file-name, todo-read-time) + (todo-reevaluate-category-completions-files-defcustom) + (todo-reevaluate-default-file-defcustom) + (todo-reevaluate-filelist-defcustoms) + (todo-reevaluate-filter-files-defcustom) + (todo-reset-and-enable-done-separator, todo-reset-comment-string) + (todo-reset-done-separator, todo-reset-done-separator-string) + (todo-reset-done-string, todo-reset-global-current-todo-file) + (todo-reset-highlight-item, todo-reset-nondiary-marker) + (todo-reset-prefix, todo-set-categories) + (todo-set-date-from-calendar, todo-set-show-current-file) + (todo-set-top-priorities, todo-short-file-name) + (todo-show-current-file, todo-sort, todo-time-string-matcher) + (todo-total-item-counts, todo-update-buffer-list) + (todo-update-categories-display, todo-update-categories-sexp) + (todo-update-count, todo-validate-name, todo-y-or-n-p): + New functions. + (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode): + New major modes. + (todo-categories, todo-display, todo-edit, todo-faces) + (todo-filtered): New defgroups. + (todo-archived-only, todo-button, todo-category-string, todo-date) + (todo-diary-expired, todo-done, todo-done-sep, todo-comment) + (todo-mark, todo-nondiary, todo-prefix-string, todo-search) + (todo-sorted-column, todo-time, todo-top-priority): New deffaces. + (todo-add-item-if-new-category, todo-always-add-time-string) + (todo-categories-align, todo-categories-archived-label) + (todo-categories-category-label, todo-categories-diary-label) + (todo-categories-done-label, todo-categories-number-separator) + (todo-categories-todo-label, todo-categories-totals-label) + (todo-category-completions-files, todo-completion-ignore-case) + (todo-default-todo-file, todo-diary-nonmarking, todo-directory) + (todo-done-separator-string, todo-done-string) + (todo-files-function, todo-filter-done-items, todo-filter-files) + (todo-highlight-item, todo-include-in-diary, todo-indent-to-here) + (todo-initial-category, todo-initial-file, todo-item-mark) + (todo-legacy-date-time-regexp, todo-mode-line-function) + (todo-nondiary-marker, todo-number-prefix) + (todo-print-buffer-function, todo-show-current-file) + (todo-show-done-only, todo-show-first, todo-show-with-done) + (todo-skip-archived-categories, todo-top-priorities-overrides) + (todo-undo-item-omit-comment, todo-use-only-highlighted-region) + (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space): + New defcustoms. + (todo-category-done, todo-date-pattern, todo-date-string-start) + (todo-diary-items-buffer, todo-done-string-start) + (todo-filtered-items-buffer, todo-item-start) + (todo-month-abbrev-array, todo-month-name-array) + (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer) + (todo-top-priorities-buffer): New defconsts. + (todo-archive-mode-map, todo-archives, todo-categories-mode-map) + (todo-categories-with-marks, todo-category-string-face) + (todo-comment-face, todo-comment-string, todo-current-todo-file) + (todo-date-face, todo-date-from-calendar, todo-descending-counts) + (todo-diary-expired-face, todo-done-face, todo-done-sep-face) + (todo-done-separator, todo-edit-buffer, todo-edit-mode-map) + (todo-file-buffers, todo-files, todo-filtered-items-mode-map) + (todo-font-lock-keywords, todo-global-current-todo-file) + (todo-insertion-commands, todo-insertion-commands-arg-key-list) + (todo-insertion-commands-args) + (todo-insertion-commands-args-genlist) + (todo-insertion-commands-names, todo-insertion-map) + (todo-key-bindings-t, todo-key-bindings-t+a) + (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map) + (todo-multiple-filter-files, todo-multiple-filter-files-widget) + (todo-nondiary-face, todo-print-buffer, todo-time-face) + (todo-visited): New variables. + +2013-06-21 Glenn Morris + + * play/cookie1.el (cookie-apropos): Add optional display argument. + * obsolete/yow.el (apropos-zippy): Use cookie-apropos. + (psychoanalyze-pinhead): Use cookie-doctor. + +2013-06-21 Juanma Barranquero + + * emacs-lisp/package.el (tar-get-file-descriptor) + (tar--extract): Declare. + +2013-06-21 Eduard Wiebe + + Extend flymake's warning predicate to be a function (bug#14217). + * progmodes/flymake.el (flymake-warning-predicate): New. + (flymake-parse-line): Use it. + (flymake-warning-re): Make obsolete alias to + `flymake-warning-predicate'. + +2013-06-21 Stefan Monnier + + * emacs-lisp/package.el (package-alist): Include obsolete packages. + (package-obsolete-list): Remove. + (package-activate): Remove min-version argument. Add `force' argument. + Adjust to new package-alist format. + (package-mark-obsolete): Remove. + (package-unpack): Force reload of the package's autoloads. + (package-installed-p): Check builtins if the installed package is not + recent enough. + (package-initialize): Don't reset package-obsolete-list. + Don't specify which package version to activate. + (package-process-define-package, describe-package-1) + (package-menu--generate): Adjust to new package-alist format. + +2013-06-21 Juanma Barranquero + + * allout-widgets.el (allout-widgets-mode-off) + (allout-widgets-mode-on, allout-widgets-pre-command-business) + (allout-widgets-post-command-business) + (allout-widgets-after-copy-or-kill-function) + (allout-widgets-after-undo-function, allout-test-range-overlaps) + (allout-decorate-item-and-context) + (allout-graphics-modification-handler): Fix typos in docstrings. + (allout-get-or-create-parent-widget): Use `looking-at-p'. + + * cmuscheme.el (scheme-start-file): Doc fix. + (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings. + (scheme-input-filter): Use `string-match-p'. + + * composite.el (compose-gstring-for-terminal): Fix typo in docstring. + + * dired-x.el: Use Dired consistently in docstrings. + + * dired.el: Use Dired consistently in docstrings. + (dired-readin, dired-mode): Use `setq-local'. + (dired-switches-alist): Make defvar-local. + (dired-buffers-for-dir): Use `zerop'. + (dired-safe-switches-p, dired-switches-escape-p) + (dired-insert-old-subdirs, dired-move-to-end-of-filename) + (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1) + (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check): + (dired-goto-next-nontrivial-file): Use `string-match-p'. + (dired-align-file, dired-insert-directory, dired-mark-files-in-region) + (dired-toggle-marks, dired-mark-files-containing-regexp) + (dired-mark-symlinks, dired-mark-directories, dired-mark-executables) + (dired-flag-auto-save-files, dired-flag-backup-files): + Use `looking-at-p'. + (dired-mark-files-regexp, dired-build-subdir-alist): + Use `string-match-p', `looking-at-p'. + + * dos-w32.el (untranslated-canonical-name, untranslated-file-p) + (direct-print-region-helper): Use `string-match-p'. + +2013-06-21 Leo Liu + + * comint.el (comint-redirect-results-list-from-process): + Fix infinite loop. + +2013-06-21 Lars Magne Ingebrigtsen + + * net/eww.el (eww-update-header-line-format): Quote % characters. + +2013-06-21 Glenn Morris + + * play/cookie1.el (cookie): New custom group. + (cookie-file): New option. + (cookie-check-file): New function. + (cookie): Make it interactive. Make start and end messages optional. + Interactively, display the result. Default to cookie-file. + (cookie-insert): Default to cookie-file. + (cookie-snarf): Make start and end messages optional. + Default to cookie-file. Use with-temp-buffer. + (cookie-read): Rename from read-cookie. + Make start and end messages optional. Default to cookie-file. + (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes. + Do not autoload it. + (cookie-apropos, cookie-doctor): New functions, copied from yow.el + * obsolete/yow.el (read-zippyism): Use new name for read-cookie. + +2013-06-21 Leo Liu + + * progmodes/octave.el (octave-mode): Backward compatibility fix. + +2013-06-21 Glenn Morris + + * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load. + +2013-06-21 Stefan Monnier + Daniel Hackney + + * emacs-lisp/package.el: Use tar-mode rather than tar executable. + Consolidate the single-file vs tarball code. + (package-desc-suffix): New function. + (package-desc-full-name): Don't bother inlining it. + (package-load-descriptor): Return the new package-desc. + (package-mark-obsolete): Remove unused arg `package'. + (package-unpack): Make it work for single files as well. + Make it update package-alist. + (package--make-autoloads-and-stuff): Rename from + package--make-autoloads-and-compile. Don't compile any more. + (package--compile): New function. + (package-generate-description-file): New function, extracted from + package-unpack-single. + (package-unpack-single): Remove. + (package--with-work-buffer): Add indentation and debugging info. + (package-download-single): Remove. + (package-install-from-archive): Rename from package-download-tar, make + it take a pkg-desc, and make it work for single files as well. + (package-download-transaction): Simplify. + (package-tar-file-info): Remove `file' arg. Rewrite not to use an + external tar program. + (package-install-from-buffer): Remove `pkg-desc' argument. + Use package-tar-file-info for tar-mode buffers. + (package-install-file): Simplify accordingly. + (package-archive-base): Change to take a pkg-desc. + * tar-mode.el (tar--check-descriptor): New function, extracted from + tar-get-descriptor. + (tar-get-descriptor): Use it. + (tar-get-file-descriptor): New function. + (tar--extract): New function, extracted from tar-extract. + (tar--extract): Use it. + * emacs-lisp/package-x.el (package-upload-file): Decode the file, in + case the summary uses non-ascii. Adjust to new calling convention of + package-tar-file-info. + +2013-06-21 Leo Liu + + * comint.el (comint-redirect-results-list-from-process): + Fix random delay. (Bug#14681) + +2013-06-21 Juanma Barranquero + + * profiler.el (profiler-format-number): Use log, not log10. + +2013-06-20 Juanma Barranquero + + * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'. + +2013-06-20 Stefan Monnier + + * emacs-lisp/cl-loaddefs.el: Don't version-control any more. + * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not + yet available. + * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el... + (AUTOGENEL): ... here. + * emacs-lisp/cl-macs.el (cl--sublis): New function. + (cl--defsubst-expand): Use it. + +2013-06-20 Paul Eggert + + * subr.el (log10): Move here from C code, and declare as obsolete. + All uses of (log10 X) replaced with (log X 10). + +2013-06-20 Juanma Barranquero + + * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo. + Declare with `defvar-local'. + (tabulated-list-use-header-line, tabulated-list-entries) + (tabulated-list-padding, tabulated-list-printer) + (tabulated-list-sort-key): Declare with `defvar-local'. + (tabulated-list-init-header, tabulated-list-print-fake-header): + Use `setq-local'. + +2013-06-20 Michael Albinus + + * arc-mode.el (archive-mode): Add `archive-write-file' to + `write-contents-functions' also for remote files. (Bug#14652) + +2013-06-20 Juanma Barranquero + + * cus-edit.el (custom-commands): Fix typos. + (custom-display): Fix tooltip text. + (custom-magic-alist, custom-filter-face-spec, custom-group-members): + Fix typos in docstrings. + (custom--initialize-widget-variables, Custom-mode): Use `setq-local'. + (custom-unlispify-menu-entry, custom-magic-value-create) + (custom-add-see-also, custom-group-value-create): Use ?\s. + (custom-guess-type, customize-apropos, editable-field) + (custom-face-value-create): Use `string-match-p'. + (custom-save-variables, custom-save-faces): Use `looking-at-p'. -2012-10-13 Chong Yidong + * custom.el (custom-load-symbol): Use `string-match-p'. - * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is - enabled, re-enable it (Bug#11963). + * ansi-color.el: Convert to lexical binding. + (ansi-colors): Fix URL. + (ansi-color-context, ansi-color-context-region): Use defvar-local. + (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings. + (ansi-color-make-color-map): Rename local var ansi-color-map to map. -2012-10-13 Martin Rudalics +2013-06-19 Lars Magne Ingebrigtsen - * emacs-lisp/debug.el (debug): When debugger-will-be-back is - non-nil, restore window configuration (Bug#12623). + * net/eww.el (eww-process-text-input): Display passwords as asterisks. -2012-10-12 Stefan Monnier + * net/shr.el (shr-make-table-1): Protect against invalid column-spans. - * help-fns.el (describe-variable, describe-function-1): - * help-mode.el (help-make-xrefs): Remove error handler, made unneeded. +2013-06-19 Tom Tromey - * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo. + * net/eww.el (eww-top-url): Remove. + (eww-home-url, eww-start-url, eww-contents-url): New defvars. + (eww-render): Set new variables. Don't set eww-top-url. + (eww-handle-link): Handle "prev", "home", and "contents". + Downcase the rel text. + (eww-top-url): Choose best top URL. -2012-10-12 Glenn Morris +2013-06-19 Lars Magne Ingebrigtsen - * mail/rmailsum.el (rmail-header-summary): - Fix 2010-11-26 test for multiline Subject: field. (Bug#12625) + * net/eww.el: Rewrite to implement form elements "by hand" instead of + relying in widget.el. Using widget.el leads to too many + user interface inconsistencies. + (eww-self-insert): Implement entering commands in text fields. + (eww-process-text-input): New function to make text input field editing + work. + (eww-submit): Rewrite to use the new-style form methods. + (eww-select-display): Display the correct selected item. + (eww-change-select): Implement changing the select value. + (eww-toggle-checkbox): Implement radio/checkboxes. + (eww-update-field): Fix compilation error. + (eww-tag-textarea): Implement