]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
Misc minor changes.
[gnu-emacs] / lisp / ChangeLog
index cf95fd39e2a8f000d398cd75778359ea75995072..412b1eb16d6553f64a9093d58a449c2eb010413e 100644 (file)
@@ -1,3 +1,310 @@
+2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
+       for uninterned vars.
+
+       * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
+       Use read-event since we don't really want to read chars but bytes.
+
+       * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
+       $$..$$ but also $..$ using regexps (bug#11953).
+       Use tex-verbatim for \url and \path.
+       (tex-font-lock-keywords): Define as defconst like the others.
+       (tex-common-initialization): Don't use font-lock-syntax-table any more.
+
+2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
+
+       * international/mule-cmds.el (ucs-insert): Make it an obsolete
+       alias for insert-char.
+
+2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el: Simplified imenu implementation.
+       (python-nav-jump-to-defun): Remove command.
+       (python-mode-map): Use `imenu' instead.
+       (python-nav-list-defun-positions-cache)
+       (python-imenu-include-defun-type, python-imenu-make-tree)
+       (python-imenu-subtree-root-label, python-imenu-index-alist):
+       Remove vars.
+       (python-nav-list-defun-positions, python-nav-read-defun)
+       (python-imenu-tree-assoc, python-imenu-make-element-tree)
+       (python-imenu-make-tree, python-imenu-create-index):
+       Remove functions.
+       (python-mode): Update to interact with imenu by setting
+       `imenu-extract-index-name-function' only.
+
+2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el: Enhancements to navigation commands.
+       (python-nav-backward-sentence)
+       (python-nav-forward-sentence): Remove.
+       (python-nav-backward-statement, python-nav-forward-statement)
+       (python-nav-statement-start, python-nav-statement-end)
+       (python-nav-backward-block, python-nav-forward-block)
+       (python-nav-block-start, python-nav-block-end)
+       (python-nav-forward-sexp-function)
+       (python-info-current-line-comment-p)
+       (python-info-current-line-empty-p): New functions.
+       (python-indent-context): Use `python-nav-statement-start'.
+
+2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
+
+       * eshell/em-ls.el (eshell/ls): Use `apply'.
+
+       * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
+       multi-hops, instead of Tramp internals.
+
+       * vc/ediff.el (ediff-directories): Add trailing space to prompts.
+
+       * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
+       when F1 and F2 are located on different hosts.
+
+2012-07-14  Chong Yidong  <cyd@gnu.org>
+
+       * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
+       (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
+       (xterm-mouse-translate-extended, xterm-mouse-translate-1)
+       (xterm-mouse--read-event-sequence-1000)
+       (xterm-mouse--read-event-sequence-1006): New functions.  For old
+       mouse protocol, handle M-mouse-X events correctly.
+       (xterm-mouse-event): New arg specifying mouse protocol.
+       (turn-on-xterm-mouse-tracking-on-terminal)
+       (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
+       sequence to toggle extended coordinates on newer XTerms.
+       This appears to be harmless on terminals which do not support this.
+
+2012-07-14  Leo Liu  <sdl.web@gmail.com>
+
+       Add fringe bitmap indicators for flymake.  (Bug#11253)
+       * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
+       (flymake-make-overlay): New arg BITMAP.
+       (flymake-error-bitmap, flymake-warning-bitmap)
+       (flymake-fringe-indicator-position): New user variables.
+
+       * fringe.el: New bitmap exclamation-mark.
+
+2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
+       also (Bug#7879).
+
+2012-07-14  Chong Yidong  <cyd@gnu.org>
+
+       * electric.el (electric-pair-post-self-insert-function): Fix pair
+       insertion in empty-region case (Bug#11520).
+
+2012-07-14  Chong Yidong  <cyd@gnu.org>
+
+       * bindings.el: Consolidate ctl-x-r-map bindings.
+       Bind copy-rectangle-as-kill to C-x r w.
+
+       * rect.el, register.el: Move bindings to bindings.el.
+
+2012-07-14  Reuben Thomas  <rrt@sc3d.org>
+
+       * rect.el (copy-rectangle-as-kill): New command (Bug#739).
+
+2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
+
+2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       * bindings.el (top): Use `mapc' instead of `mapcar'.
+
+       * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
+
+2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
+
+       * progmodes/sql.el (sql-comint): Suppress the check for program on
+       remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
+       (Bug#11908)
+
+2012-07-13  Chong Yidong  <cyd@gnu.org>
+
+       * bindings.el: Assign a non-nil permanent-local property to
+       per-buffer variables which lack a default value (Bug#11930).
+
+       * help-fns.el (describe-variable): In the "automatically becomes
+       local" notice, take note of permanent-local variables.
+
+2012-07-13  Chong Yidong  <cyd@gnu.org>
+
+       * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
+       to allow printing the message when called from Lisp.
+
+       * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
+       Remove toggle-read-only.
+
+       * bs.el (bs-toggle-readonly):
+       * buff-menu.el (Buffer-menu-toggle-read-only):
+       Remove with-no-warnings around toggle-read-only.
+
+       * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
+       Remove with-no-warnings around toggle-read-only.
+       (ffap-read-only, ffap-read-only-other-window)
+       (ffap-read-only-other-frame): Callers changed.
+
+       * help-mode.el: Don't require view package.
+       (help-mode-finish): Set buffer-read-only instead of calling
+       toggle-read-only.
+
+       * bindings.el (mode-line-toggle-read-only):
+       * dired.el (dired-toggle-read-only):
+       * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
+       with non-nil second arg.
+
+       * emacs-lisp/eieio-custom.el (eieio-customize-object):
+       * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
+       directly.
+
+2012-07-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
+       not incf.
+
+2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       More CL cleanups and reduction of use of cl.el.
+       * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
+       * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
+       * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
+       * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
+       * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
+       * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
+       * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
+       * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
+       * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
+       * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
+       * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
+       * eshell/em-cmpl.el, eshell/em-banner.el:
+       * calendar/parse-time.el: Use cl-lib.
+       * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
+       * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
+       * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
+       * term/ns-win.el, term.el, shell.el, ps-samp.el:
+       * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
+       * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
+       * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
+       * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
+       * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
+       * mail/mailheader.el, mail/feedmail.el: Don't use CL.
+       * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
+       * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
+       `lambda' rather than with `quote'.
+       (eshell-do-opt): Adjust accordingly.
+       (eshell-process-option): Simplify.
+       * eshell/esh-var.el:
+       * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
+       * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
+       (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
+       to `pcase--dontcare'.
+       * emacs-lisp/cl.el (labels): Mark obsolete.
+       (cl--letf, letf): Move to cl-lib.
+       (cl--letf*, letf*): Remove.
+       * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
+       * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
+       (cl-progv): Rewrite.
+       (cl--letf, cl-letf): Move from cl.el.
+       (cl-letf*): New macro.
+       * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
+
+2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
+
+2012-07-11  Chong Yidong  <cyd@gnu.org>
+
+       * vc/log-edit.el (log-edit-vc-backend): New variable.
+       (log-edit): Doc fix.
+
+       * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
+       argument of log-edit to set up all local variables.
+       (vc-start-logentry): New optional arg specifying VC backend.
+
+       * vc/vc.el (vc-checkin): Use it.
+       (vc-deduce-fileset): Handle Log Edit buffers.
+       (vc-diff): Make first argument optional too.
+
+       * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
+
+2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
+
+       * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
+       command, just in case.  The function is not needed anymore.
+       (eshell-external-command): Do not call `eshell-remote-command'.
+
+2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Reduce use of (require 'cl).
+       * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
+       * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
+       * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
+       * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
+       * international/quail.el, info-xref.el, imenu.el, image-mode.el:
+       * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
+       * battery.el, avoid.el, abbrev.el: Use cl-lib.
+       * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
+       * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
+       * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
+       * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
+       * calculator.el, autorevert.el, apropos.el: Don't require CL.
+       * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
+       (byte-compile-unfold-bcf, byte-compile-check-variable):
+       * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
+       (byte-compile-nilconstp):
+       * emacs-lisp/autoload.el (make-autoload): Use pcase.
+       * face-remap.el (text-scale-adjust): Simplify pcase patterns.
+
+       * emacs-lisp/gv.el (cond): Make it a valid place.
+       (if): Simplify slightly.
+
+       * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
+       (pcase--self-quoting-p): New function.
+       (pcase--u1): Use it.
+
+2012-07-10  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/authors.el (authors-fixed-entries):
+       (authors-renamed-files-alist): Update for configure.in -> configure.ac.
+
+2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Rename configure.in to configure.ac (Bug#11603).
+       * emacs-lisp/authors.el (authors-canonical-file-name):
+       * progmodes/autoconf.el (autoconf-mode):
+       Prefer configure.ac to configure.in.
+
+2012-07-08  Chong Yidong  <cyd@gnu.org>
+
+       * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
+       Implement the mouse-1-click-follows-link handling properly.
+
+       * info.el (Info-link-keymap): Use follow-link mechanism for
+       header-line links (Bug#374).
+
+       * simple.el (deactivate-mark): Do not set the primary selection
+       if another program has acquired it (Bug#11772).
+
+2012-07-07  Kevin Ryde  <user42@zip.com.au>
+
+       * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
+       (woman-decode-region): Replace escaped-escapes without destroying
+       bold or underline (Bug#11552).
+       (woman2-process-escapes): Handle nofill regions (Bug#11591).
+
+2012-07-07  Chong Yidong  <cyd@gnu.org>
+
+       * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
+       (interprogram-cut-function, interprogram-paste-function):
+       Mention that we typically mean the clipboard.
+
+2012-07-06  Glenn Morris  <rgm@gnu.org>
+
+       * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
+
+       * files.el (toggle-read-only): Restrict message to interactive use.
+
 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
 
 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * calendar/cal-dst.el (calendar-current-time-zone): Return
-       calendar-current-time-zone-cache if non-nil.
+       * calendar/cal-dst.el (calendar-current-time-zone):
+       Return calendar-current-time-zone-cache if non-nil.
 
 2012-07-06  Glenn Morris  <rgm@gnu.org>
 
        * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
        compatible declaration.
 
-       * net/tramp-cmds.el (tramp-append-tramp-buffers): Protect
-       `list-load-path-shadows' call.
+       * net/tramp-cmds.el (tramp-append-tramp-buffers):
+       Protect `list-load-path-shadows' call.
 
        * net/tramp-compat.el (top): Require packages, which aren't
        autoloaded anymore for XEmacs.  Protect call of
        `git-registered'.
        (vc-git-mode-line-string): Call `vc-working-revision' instead of
        `vc-git-working-revision' in order to benefit from the cache.
-       (vc-git-root): Use cache property `git-root'.
+       (vc-git-root): Use cache property `git-root'.  (Bug#11757)
 
 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
 
        * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
-       removed (likely outside Emacs).
+       removed (likely outside Emacs).  (Bug#11757)
 
 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
        (vc-rcs-update-changelog): Use it.
 
-       * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
+       * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
 
        * vc/vc-sccs.el (vc-sccs-write-revision): New function.
        (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
 
 2012-06-05  Sam Steingold  <sds@gnu.org>
 
-       * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
+       * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
        patch (Bug#11140).
 
 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
-       * emacs-list/cust-print.el: Move to obsolete.
+       * emacs-lisp/cust-print.el: Move to obsolete.
 
        * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
        compiler-macro expansion.
 
 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 
-       * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
-       (flyspell-debug-signal-word-checked): Protect delay handling for
-       otherchars against empty otherchars.
+       * textmodes/flyspell.el (flyspell-check-pre-word-p)
+       (flyspell-check-word-p, flyspell-debug-signal-word-checked):
+       Protect delay handling for otherchars against empty otherchars.
 
 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 
-       * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
-       (flyspell-debug-signal-word-checked): Delay for otherchars as for
-       normal word components.
+       * textmodes/flyspell.el (flyspell-check-pre-word-p)
+       (flyspell-check-word-p, flyspell-debug-signal-word-checked):
+       Delay for otherchars as for normal word components.
 
 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 
 2012-05-08  Glenn Morris  <rgm@gnu.org>
 
-       * lisp/language/burmese.el, language/cham.el, language/czech.el:
+       * language/burmese.el, language/cham.el, language/czech.el:
        * language/english.el, language/georgian.el, language/greek.el:
        * language/japanese.el, language/khmer.el, language/korean.el:
        * language/lao.el, language/misc-lang.el, language/romanian.el:
        (verilog-pretty-expr): Don't line up assignment
        operations to the test and increment in if and for loops
        (verilog-extended-complete-re, verilog-complete-reg): Change so
-       that DPI inport functions don't look like fuction declarations
+       that DPI inport functions don't look like fuction declarations.
 
 2012-05-03  Kenichi Handa  <handa@m17n.org>
 
 
        Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
 
-       * soap-client.el (soap-resolve-references-for-sequence-type)
+       * net/soap-client.el (soap-resolve-references-for-sequence-type)
        (soap-resolve-references-for-array-type): Hack to prevent self
        references, see Bug#9.
        (soap-parse-envelope): Report the contents of the 'detail' node
        when receiving a fault reply.
        (soap-parse-envelope): Report the contents of the entire 'detail' node.
 
-       * soap-inspect.el (soap-sample-value-for-simple-type)
+       * net/soap-inspect.el (soap-sample-value-for-simple-type)
        (soap-inspect-simple-type): New function.
 
-       * soap-client.el (soap-simple-type): New struct.
+       * net/soap-client.el (soap-simple-type): New struct.
        (soap-default-xsd-types, soap-default-soapenc-types)
        (soap-decode-basic-type, soap-encode-basic-type):
        support unsignedInt and double basic types.
        (soap-parse-simple-type, soap-encode-simple-type): New function.
        (soap-parse-schema): Parse xsd:simpleType declarations.
 
-       * soap-client.el (soap-default-xsd-types)
+       * net/soap-client.el (soap-default-xsd-types)
        (soap-default-soapenc-types): Add integer, byte and anyURI types.
        (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
        the local name of "soapenc:Array".
        Preserve ispell session localwords when switching back to
        original buffer.
 
-       * ispell.el (ispell-buffer-session-localwords): New buffer-local
-       variable to hold buffer session localwords.
-       (ispell-kill-ispell): add option 'clear to delete session
+       * textmodes/ispell.el (ispell-buffer-session-localwords):
+       New buffer-local variable to hold buffer session localwords.
+       (ispell-kill-ispell): Add option 'clear to delete session
        localwords.
        (ispell-command-loop, ispell-change-dictionary)
        (ispell-buffer-local-words): Preserve session localwords when
        needed.
 
-       * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
-       Preserve session localwords when needed.
+       * textmodes/flyspell.el (flyspell-process-localwords)
+       (flyspell-do-correct): Preserve session localwords when needed.
 
 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 
-       * ispell.el (ispell-insert-word) Remove unneeded function using
-       obsolete `translation-table-for-input'.
+       * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
+       using obsolete `translation-table-for-input'.
        (ispell-word, ispell-process-line, ispell-complete-word):
        Use plain `insert' instead of removed `ispell-insert-word'.
 
 
 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 
-       * ispell.el (ispell-set-spellchecker-params): Post-process
+       * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
        `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
        (ispell-dictionary-base-alist): Revert to original XEmacs
        friendly version for default.  [:alpha:] will be added in
-       `ispell-set-spellchecker-params' if needed
+       `ispell-set-spellchecker-params' if needed.
 
 2012-04-16  Chong Yidong  <cyd@gnu.org>
 
 
 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 
-       * ispell.el (ispell-get-extended-character-mode):
+       * textmodes/ispell.el (ispell-get-extended-character-mode):
        Disable extended-char-mode for hunspell.  hunspell does not support it
        and treats ~word as ordinary words in pipe mode.
 
        * vc/log-view.el:
        * vc/smerge-mode.el:
        * textmodes/bibtex-style.el:
-       * textmodes/css.el:
+       * textmodes/css-mode.el:
        * startup.el:
        * uniquify.el:
        * minibuffer.el: