From: Chong Yidong Date: Tue, 7 Aug 2012 03:33:37 +0000 (+0800) Subject: Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/9f6f48455f7d25e5cc2d50485d98ff3af43946a2 Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org. --- 9f6f48455f7d25e5cc2d50485d98ff3af43946a2 diff --cc doc/emacs/ChangeLog index 3f3592e64c,1253a7cec6..8be343165f --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@@ -1,10 -1,7 +1,14 @@@ + 2012-07-31 Chong Yidong + + * emacs.texi: Fix ISBN (Bug#12080). + +2012-08-05 Chong Yidong + + * display.texi (Faces): Document frame-background-mode (Bug#7774). + + * custom.texi (Face Customization): Move discussion of face + inheritance here, from Faces section. + 2012-07-21 Eli Zaretskii * frames.texi (Mouse Commands): Fix the description of mouse-2. diff --cc doc/lispref/ChangeLog index c262cecb02,f91f99d9c3..890cf0ef97 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@@ -1,101 -1,12 +1,109 @@@ + 2012-08-06 Eli Zaretskii + + * functions.texi (Closures): Put the main index entry for + "closures" here. (Bug#12138) + + * variables.texi (Lexical Binding): Disambiguate the index entry + for "closures". + -2012-06-19 Glenn Morris +2012-08-05 Chong Yidong + + * display.texi (Defining Faces): Move documentation of + frame-background-mode to the Emacs manual (Bug#7774). + +2012-08-04 Chong Yidong + + * syntax.texi (Syntax Basics): Rearrange the text for clarity. + Fix description of syntax table inheritance. + (Syntax Table Functions): Don't refer to internal contents of + syntax table, since that is not explained yet. Copyedits. + (Standard Syntax Tables): Node deleted. + (Syntax Table Internals): Misc clarifications. Improve table + formatting. + + * keymaps.texi (Inheritance and Keymaps): + * text.texi (Sticky Properties): Tweak index entry. + +2012-07-28 Eli Zaretskii + + * nonascii.texi (Character Sets): Fix a typo. (Bug#12062) + +2012-07-25 Paul Eggert + + Prefer typical American spelling for "acknowledgment". + * intro.texi (Acknowledgments): Rename from Acknowledgements. + +2012-07-21 Eli Zaretskii + + * commands.texi (Special Events): Mention language-change event. + (Input Events, Interactive Codes): + * keymaps.texi (Key Sequences): Mention events that are + non-keyboard but also non-mouse events. + +2012-07-17 Chong Yidong + + * text.texi (Insertion): Document insert-char changes. + +2012-07-15 Leo Liu + + * display.texi (Fringe Bitmaps): Add exclamation-mark. + +2012-07-13 Chong Yidong + + * buffers.texi (Read Only Buffers): Document toggle-read-only + changes. Reword to account for the fact that read-only is + currently not supported in overlay properties. + +2012-07-07 Chong Yidong + + * loading.texi (Library Search): Index site-lisp directories. + +2012-07-06 Chong Yidong + + * intro.texi (A Sample Function Description): Fix incorrect + markup, undoing previous change. + (A Sample Variable Description): Minor clarifications and markup + improvements. + + * elisp.texi (Top): + * text.texi (Text): Fix menu order. + +2012-07-06 Richard Stallman + + * intro.texi (Evaluation Notation, A Sample Function Description): + (A Sample Variable Description): Improve/undo previous changes. + +2012-07-05 Glenn Morris + + * intro.texi (A Sample Function Description): Fix cross-refs. + +2012-07-05 Michael Witten (tiny change) + + * intro.texi (Evaluation Notation, A Sample Function Description) + (A Sample Variable Description, Version Info): Copy edits (bug#11862). + +2012-06-27 Chong Yidong + + * processes.texi (Asynchronous Processes, Input to Processes): + * internals.texi (Process Internals): Don't capitalize "pty". + +2012-06-24 Thien-Thi Nguyen + + * processes.texi (Asynchronous Processes): Make the pty vs pipe + discussion more prominent. + +2012-06-23 Eli Zaretskii + + * commands.texi (Misc Events): Document the language-change event. + +2012-06-22 Paul Eggert + + Support higher-resolution time stamps (Bug#9000). + * os.texi (Time of Day, Time Parsing, Processor Run Time, Idle Timers): + * processes.texi (System Processes): + Time stamp resolution is now picosecond, not microsecond. + +2012-06-21 Glenn Morris * Makefile.in: Rename infodir to buildinfodir throughout. (Bug#11737) diff --cc doc/lispref/functions.texi index ab2789b5e6,f1ad252f29..9e1d3f9c6a --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@@ -1100,8 -1115,9 +1100,9 @@@ named function that you create (e.g.@: any anonymous function that you create using the @code{lambda} macro or the @code{function} special form or the @code{#'} syntax (@pxref{Anonymous Functions}), is automatically converted into a - closure. + @dfn{closure}. -@cindex closures ++@cindex closure A closure is a function that also carries a record of the lexical environment that existed when the function was defined. When it is invoked, any lexical variable references within its definition use the diff --cc doc/misc/ChangeLog index b44beaa811,5a414e66f9..20c74cf70b --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@@ -1,29 -1,8 +1,34 @@@ + 2012-08-06 Aurélien Aptel + + * url.texi (Parsed URLs): Adjust to the code's use of defstruct + (bug#12096). + +2012-08-01 Jay Belanger + + * calc.texi (Simplification modes, Conversions) + (Operating on Selections): Mention "basic" simplification. + (The Calc Mode Line): Mention the mode line display for Basic + simplification mode. + (Simplify Formulas): Refer to 'algebraic' rather than 'default' + simplifications. + (Basic Simplifications): Rename from "Limited Simplifications" + Replace "limited" by "basic" throughout. + (Algebraic Simplifications): Indicate that the algebraic + simplifications are done by default. + (Unsafe Simplifications): Mention `m E'. + (Simplification of Units): Mention `m U'. + (Trigonometric/Hyperbolic Functions, Reducing and Mapping) + (Kinds of Declarations, Functions for Declarations): Mention + "algebraic simplifications" instead of `a s'. + (Algebraic Entry): Remove mention of default simplifications. + +2012-07-30 Jay Belanger + + * calc.texi (Getting Started, Tutorial): Change simulated + Calc output to match actual output. + (Simplifying Formulas): Mention that algebraic simplification is now + the default. + 2012-07-28 Eli Zaretskii * faq.texi (Right-to-left alphabets): Update for Emacs 24. diff --cc lisp/ChangeLog index ebaea892a1,d8bf55e006..5d915a3981 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,357 -1,12 +1,362 @@@ -2012-08-07 Chong Yidong - - * mouse.el (mouse-drag-track): Deactivate the mark before popping. - + 2012-08-06 Stefan Monnier + + * progmodes/cperl-mode.el (cperl-mode): Yet another fix for + syntax-propertize-function (bug#10095). + +2012-08-06 Stefan Monnier + + * help-fns.el (help-fns--key-bindings, help-fns--signature) + (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from + describe-function-1. + (describe-function-1): Use them. Move compiler macro after sig. + (help-fns--compiler-macro): Use function-get. Assume we're already in + standard-output. Adjust layout to new call order. + + * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of + re-binding a symbol that has a symbol-macro (bug#12119). + +2012-08-06 Mohsen BANAN + + * language/persian.el: New file. (Bug#11812) + * loadup.el: Add language/persian.el. + +2012-08-06 Chong Yidong + + * window.el (window--maybe-raise-frame): New function. + (window--display-buffer): Split off from here. + (display-buffer-reuse-window, display-buffer-pop-up-frame) + (display-buffer-pop-up-window, display-buffer-use-some-window): + Obey an inhibit-switch-frame action alist entry. + (display-buffer): Update doc. + + * replace.el (occur-after-change-function): Avoid losing focus by + using the inhibit-switch-frame display parameter (Bug#12139). + +2012-08-06 Fabián Ezequiel Gallina + + Make internal shell process buffer names start with space. + * progmodes/python.el (python-shell-make-comint): Add optional + argument INTERNAL. + (run-python-internal): Use it. + (python-shell-internal-get-or-create-process): Check for new + internal buffer names. + +2012-08-06 Glenn Morris + + * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat. + Do less getting and setting of environment variables. + +2012-08-05 Chong Yidong + + * proced.el (proced): Add substitution string to docstring to + trigger autoloading of the proced library on C-h f (Bug#1768). + + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't + show defvars which have no second argument (Bug#8638). + + * imenu.el (imenu-generic-expression): Move documentation here + from imenu--generic-function. + (imenu--generic-function): Refer to imenu-generic-expression. + +2012-08-05 Vegard Øye (tiny change) + + * emulation/viper-init.el (viper-deflocalvar): Add docstring and + indentation declaration. + (viper-loop): Add indentation declaration (Bug#7025). + +2012-08-05 Chong Yidong + + * help-fns.el (describe-variable): Add hyperlink for + directory-local variables files. Improve buffer-local and + permanent-local reporting; suggested by MON KEY (Bug#6644). + + * help-mode.el (help-dir-local-var-def): New button type. + + * files.el (kill-buffer-hook): Provide a defvar. + +2012-08-05 Glenn Morris + + * eshell/esh-ext.el (eshell/addpath): + Also update eshell-path-env. (Bug#12013) + +2012-08-05 Chong Yidong + + * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes. + + * fringe.el (fringe-styles): Add docstring. + (fringe--check-mode): New function. + (set-fringe-mode, set-fringe-style): Use it. + (fringe-mode, set-fringe-style): Doc fixes (Bug#6480). + + * files.el (set-auto-mode): Fix invalid setq call. + +2012-08-04 Stefan Monnier + + * isearch.el: Misc simplification; use defstruct. + (isearch-mode-map): Dense maps now work like sparse ones. + (isearch--state): New defstruct. + (isearch-string-state, isearch-message-state, isearch-point-state) + (isearch-success-state, isearch-forward-state) + (isearch-other-end-state, isearch-word-state, isearch-error-state) + (isearch-wrapped-state, isearch-barrier-state) + (isearch-case-fold-search-state, isearch-pop-fun-state): Remove, + replaced by defstruct's accessors. + (isearch--set-state): Rename from isearch-top-state and change + calling convention. + (isearch-push-state): Use new isearch--get-state. + (isearch-toggle-word): Disable regexp when enabling word. + (isearch-message-prefix): Remove unused arg _c-q-hack. + (isearch-message-suffix): Remove unused arg _ellipsis. + +2012-08-04 Andreas Schwab + + * simple.el (list-processes--refresh): For a server use :host or + :local as the address. + (list-processes): Doc fix. + +2012-08-04 Michal Nazarewicz (tiny change) + + * lisp/mpc.el: Support password in host argument. + (mpc--proc-connect): Parse and use new password element. + Set mpc-proc variable instead of returning process. + (mpc-proc): Adjust accordingly. + +2012-08-03 Eli Zaretskii + + * whitespace.el (whitespace-display-mappings): Use Unicode + codepoints, instead of emacs-mule codepoints. See + http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html + for the details. + + * files.el (file-truename): Don't skip symlink-chasing part on + windows-nt. Incorporate the resolution of 8+3 short aliases on + Windows into the loop that recursively chases symlinks. Compare + directory and its parent case-insensitively on MS-Windows and + MS-DOS. + +2012-08-03 Chong Yidong + + * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS. + + * sort.el (sort-regexp-fields): Doc fix. + +2012-08-03 Tassilo Horn + + * textmodes/reftex.el (reftex-compile-variables): Make keyvals + labels regex position point at the expected place. + +2012-08-03 MON KEY + + * net/imap.el (imap-interactive-login, imap-authenticate) + (imap-mailbox-lsub, imap-mailbox-list) + (imap-mailbox-status-asynch, imap-mailbox-acl-delete) + (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from) + (imap-parse-response): Doc fix. + +2012-08-03 João Távora + + * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop + if sexp scanning does not move point (Bug#5734). + +2012-08-02 Tassilo Horn + + * textmodes/reftex-vars.el (reftex-default-label-alist-entries): + Add listings, minted, and ctable packages. + (reftex-label-alist-builtin): Move listings, minted, and ctable + entries before LaTeX. + (reftex-label-alist): Docfix. + +2012-08-02 Bastien Guerry + + * replace.el (occur): Fix docstring (bug#12122). + +2012-08-02 Glenn Morris + + * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h. + +2012-08-02 Paul Eggert + + Obsolete alias inactivate-current-input-method-function (Bug#10150). + * international/mule-cmds.el: Create + inactivate-current-input-method-function as an obsolete alias for + deactivate-current-input-method-function. See Katsumi Yamaoka in + . + +2012-08-01 Jay Belanger + + * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead + of nested `if's. + +2012-08-01 Glenn Morris + + * progmodes/autoconf.el (autoconf-definition-regexp): + Add AH_TEMPLATE, adjust submatch numbering. + (autoconf-font-lock-keywords, autoconf-imenu-generic-expression) + (autoconf-current-defun-function): Update for above change. + (autoconf-current-defun-function): First skip to end of current word. + +2012-08-01 Rupert Swarbrick (tiny change) + + * calendar/cal-html.el (cal-html-insert-agenda-days): + Fix typo. (Bug#12018) + +2012-07-31 Fabián Ezequiel Gallina + + Shell processes: enhancements to startup and CEDET compatibility. + * progmodes/python.el (python-shell-send-setup-max-wait): Delete var. + (python-shell-make-comint): accept-process-output at startup. + (run-python-internal): Set inferior-python-mode-hook to nil. + (python-shell-internal-get-or-create-process): call sit-for. + (python-preoutput-result): Add obsolete alias. + (python-shell-internal-send-string): Use it. + (python-shell-send-setup-code): Remove call to + accept-process-output. + +2012-07-31 Andreas Schwab + + * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value. + (Bug#12108) + +2012-07-31 Jay Belanger + + * calc-mode.el (calc-basic-simplification-mode): Rename from + `calc-limited-simplification-mode'. + (calc-alg-simplification-mode): New function. + (calc-set-simplify-mode): Adjust message. + + * calc.el (calc-set-mode-line): Adjust mode line display for + basic simplification mode. + + * calc-help.el (calc-m-prefix-help): Update help message. + + * calc-ext.el (calc-init-extensions): Add bindings and autoloads + for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'. + +2012-07-31 Bastien Guerry + + * man.el (man): Fix comment. (bug#12101) + +2012-07-31 Martin Rudalics + + * window.el (switch-to-prev-buffer, switch-to-next-buffer): + Don't return a non-nil value when no suitable buffer was found. + +2012-07-31 Fabián Ezequiel Gallina + + * progmodes/python.el (run-python-internal): Disable font lock for + internal shells. + +2012-07-30 Stefan Merten + + * rst.el: Silence `checkdoc-ispell'. + (rst-cvs-header, rst-svn-rev, rst-svn-timestamp) + (rst-official-version, rst-official-cvs-rev) + (rst-package-emacs-version-alist): Update to upstream V1.3.1. + (rst-mode-map): New key binding. + +2012-07-30 Paul Eggert + + Update .PHONY listings in makefiles. + * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data, + autoloads, update-subdirs, updates, bzr-update, update-authors, + compile-onefile, compile-calc, backup-compiled-files, + compile-after-backup, compile-one-process, mh-autoloads, + bootstrap-clean, distclean, maintainer-clean. + +2012-07-29 Jay Belanger + + * calc/calc.el (calc-simplify-mode): Make 'alg the default value. + (calc-set-mode-line): Don't display "AlgSimp ". + + * calc/calc-mode.el (calc-alg-simplify-mode): Remove function. + (calc-lim-simplify-mode): New function. + (calc-set-simplify-mode): Default to 'alg. + (calc-default-simplify-mode): Make algebraic simplifications + the default. + + * calc/calc-ext.el (calc-init-extensions): Remove binding for + `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'. + + * calc/calc-help.el (calc-m-prefix-help): Change messages to + indicate new simplification modes. + + * calc/README: Mention new default simplification mode. + + * calc/calc.el (math-normalize-error): New variable. + (math-normalize): Set `math-normalize-error' to t + when there's an error. + + * calc/calc-alg.el (math-simplify): Don't simplify when + `math-normalize' returns an error. + +2012-07-29 Eli Zaretskii + + * international/mule-cmds.el (set-locale-environment): Revert last + change, since display-graphic-p returns nil when this function is + called during startup. Instead... + + * term/w32console.el (terminal-init-w32console): ...setup the + keyboard and terminal encoding for TTY sessions here. (Bug#12082) + +2012-07-29 Juri Linkov + + * simple.el (goto-line): Don't display default line number in the + prompt because it should be displayed by `read-number' (bug#9952). + Add the current line number to the defaults of `goto-line' to + allow its easier modification by users with `M-n' (bug#9201). + + * subr.el (read-number): Support multiple default values like in + other minibuffer reading functions. Replace `read' with + `string-to-number' for consistency with `number-to-string'. + +2012-07-29 Paul Eggert + + deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) + * emulation/viper-init.el (viper-deactivate-input-method-action): + Rename from viper-inactivate-input-method-action. + (viper-deactivate-input-method): + Rename from viper-inactivate-input-method. + * follow.el (follow-inactive-menu): Rename from follow-deactive-menu. + * international/mule-cmds.el (deactivate-input-method): + Rename from inactivate-input-method. + Also run input-method-deactivate-hook. + (deactivate-current-input-method-function): + Rename from inactivate-current-input-method-function. + (input-method-deactivate-hook): New hook. + (input-method-inactivate-hook): Mark obsolete. + (inactivate-input-method): Mark obsolete. + + * international/quail.el (quail-activate): + Also run quail-deactivate-hook. + (quail-deactivate): Rename from quail-inactivate. + * international/robin.el (robin-activate): + Also run robin-deactivate-hook. + (robin-deactivate): Rename from robin-inactivate. + +2012-07-29 Chong Yidong + + * simple.el (indicate-copied-region): New function. + (kill-ring-save): Split off from here. + + * rect.el (copy-rectangle-as-kill): Call indicate-copied-region. + (kill-rectangle): Set deactivate-mark to t on read-only error. + + * register.el (copy-to-register, copy-rectangle-to-register): + Deactivate the mark, and use indicate-copied-region (Bug#10056). + (append-to-register, prepend-to-register): Call + +2012-07-29 Juri Linkov + + * simple.el (async-shell-command-buffer): New defcustom. + (shell-command): Use it. (Bug#4719) + +2012-07-28 Eli Zaretskii + + * international/mule-cmds.el (set-locale-environment): In a + console session on MS-Windows, set up keyboard and terminal + encoding from the OEM codepage, not the ANSI codepage. + (Bug#12055) + 2012-07-28 Chong Yidong * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to