X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/4982861a08d0ec3262a0b68ff699920bb2938c40..1fc00e5c9e87c88b4b253692d6ade822f6d74d3e:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7d8cf51cc5..2c0f9814b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,430 @@ +2014-06-28 K. Handa + + Fix Bug#17739. + + * composite.el: Setup composition-function-table for dotted circle. + (compose-gstring-for-dotted-circle): New function. + + * international/characters.el: Add category "^" to all + non-spacing characters. + +2014-06-15 Stefan Monnier + + * ses.el: Miscellaneous cleanups; use lexical-binding; avoid + add-to-list. + (ses-localvars): Remove ses--local-printer-list, unused. + (ses--metaprogramming): New macro. Use it to defvar variables. + (ses-set-localvars): Simplify. + (ses--locprn, ses-cell): Use defstruct. Change ses-cell's + property-list into an alist. + (ses-locprn-get-compiled, ses-locprn-compiled-aset) + (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number): + Remove; use defstruct accessors/setters instead. + (ses-cell-formula-aset, ses-cell-printer-aset) + (ses-cell-references-aset): Remove, use setf instead. + (ses--alist-get): New function. + (ses-cell-property): Rename from ses-cell-property-get and rewrite. + Use an alist instead of a plist and don't do move-to-front since the + list is always short. + (ses-cell-property-get-fun, ses-cell-property-delq-fun) + (ses-cell-property-set-fun, ses-cell-property-set) + (ses-cell-property-pop-fun, ses-cell-property-get-handle) + (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove. + (ses--letref): New macro. + (ses-cell-property-pop): Rewrite. + (ses--cell): Rename from ses-cell and make it into a function. + Make `formula' fallback on `value' if nil. + (ses--local-printer): Rename from ses-local-printer and make it into + a function. + (ses-set-cell): Turn it into a macro so finding the accessor from the + field name is done at compile time. + (ses-repair-cell-reference-all): Test presence of `sym' rather than + `ref' before adding `sym' to :ses-repair-reference. + (ses-calculate-cell): Use ses--letref rather than + ses-cell-property-get-handle. + (ses-write-cells): Use a single prin1-to-string. + (ses-setter-with-undo): New function. + (ses-aset-with-undo, ses-set-with-undo): Rewrite using it. + (ses-unset-with-undo): Remove. + (ses-load): Prefer apply' over `eval'. + (ses-read-printer, ses-set-column-width): Use standard "(default + foo)" format. + +2014-06-15 Glenn Morris + + * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'. + + * progmodes/cc-langs.el: Require cl-lib. (Bug#17463) + Replace delete-duplicates and mapcan by cl- versions throughout. + And cl-macroexpand-all by macroexpand-all. + (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare. + +2014-06-15 Eli Zaretskii + + * subr.el (posn-col-row): Doc fix. (Bug#17768) + +2014-06-15 Juri Linkov + + * bindings.el: Put `ascii-character' property on keypad keys + mapped to characters. (Bug#17759) + +2014-06-15 Stefan Monnier + + * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when + bumping forward into a closing paren (bug#17761). + + * term/xterm.el (xterm--version-handler): Work around for OSX + Terminal.app (bug#17607). + +2014-06-14 Ron Schnell + + * play/dunnet.el If a lamp is in the room, you won't be eaten by a grue. + +2014-06-13 Glenn Morris + + * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el) + (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile) + (compile-always): GNU make automatically passes + command-line arguments to sub-makes. + + * calendar/calendar.el (calendar-generate-window): + Remove pointless call to font-lock-fontify-buffer. + +2014-06-13 Matthias Meulien + + * simple.el (completion-list-mode-map): Navigate with tab and backtab + (bug#17767). + +2014-06-13 Stefan Monnier + + * simple.el (set-mark-command): Simplify a bit. + +2014-06-12 Nicolas Richard + + * help.el (help--key-binding-keymap): New function. + (help--binding-locus): New function. + (describe-key): Mention the keymap in which the binding was + found. (bug#13948) + +2014-06-12 Stefan Monnier + + * hippie-exp.el (he--all-buffers): New function. + (try-expand-line-all-buffers, try-expand-list-all-buffers) + (try-expand-dabbrev-all-buffers): Use it. + +2014-06-12 Emilio C. Lopes + + * hippie-exp.el (try-expand-line-all-buffers) + (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers): + Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the + original buffer, in case they're buffer-local. + +2014-06-12 Vincent Belaïche + + * ses.el (ses-initial-global-parameters-re): New defconst, a + specific regexp is needed now that ses.el can handle both + file-format 2 --- ie. no local printers --- and 3 --- i.e. may have + local printers. + (ses-localvars): Add local variables needed for local printer handling. + (ses-set-localvars): Handle hashmap initialisation. + (ses-paramlines-plist): Add param-line for number of local printers. + (ses-paramfmt-plist): New defconst, needed for code factorization + between functions `ses-set-parameter' and + `ses-file-format-extend-paramter-list' + (ses-make-local-printer-info): New defsubst. + (ses-locprn-get-compiled, ses-locprn-compiled-aset) + (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number) + (ses-cell-printer-aset): New defmacro. + (ses-local-printer-compile): New defun. + (ses-local-printer): New defmacro. + (ses-printer-validate, ses-call-printer): Add support for local + printer functions. + (ses-file-format-extend-paramter-list): New defun. + (ses-set-parameter): Use const `ses-paramfmt-plist' for code + factorization. + (ses-load): Add support for local printer functions. + (ses-read-printer): Update docstring and add support for local printer + functions. + (ses-refresh-local-printer, ses-define-local-printer): New defun. + (ses-safe-printer): Add support for local printer functions. + +2014-06-12 Ivan Andrus + + * ffap.el (ffap-lax-url): New var (bug#17723). + (ffap-url-at-point): Use it. + (ffap-file-at-point): Avoid returning just "/". + +2014-06-12 Matthias Meulien + + * progmodes/python.el (import skeleton): New skeleton (bug#17672). + (python-mode-map): Bind it. + + * progmodes/python.el (class skeleton): Don't erase last char of class + name (bug#17683). + +2014-06-12 Cameron Desautels (tiny change) + + * help.el (where-is): Use `default' arg of completing-read (bug#17705). + +2014-06-12 Kevin Ryde + + * files.el (auto-mode-alist): Map .ad files to xdefaults-mode + (bug#17745). + +2014-06-12 Stefan Monnier + + * international/mule-cmds.el: Use lexical-binding. + (ucs-names): Simplify. + +2014-05-18 Eric Hanchrow + + * progmodes/python.el (run-python): Use read-shell-command. + +2014-06-11 Stefan Monnier + + * rect.el: Make it possible to move bounds past EOL or into TABs. + (operate-on-rectangle): Use apply-on-rectangle. + (rectangle--mark-crutches): New var. + (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col) + (rectangle--crutches, rectangle--reset-crutches): New functions. + (apply-on-rectangle): Obey crutches. Avoid setq. + Fix missing final iteration if end is at EOB&BOL. + (rectangle-mark-mode-map): Add remap bindings for + exchange-point-and-mark and char/line movements. + (rectangle--*-char): New function. + (rectangle-exchange-point-and-mark, rectangle-right-char) + (rectangle-left-char, rectangle-forward-char) + (rectangle-backward-char, rectangle-next-line) + (rectangle-previous-line): New commands. + (rectangle--place-cursor): New function. + (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle. + +2014-06-08 Glenn Morris + + * startup.el (initial-buffer-choice): Doc fix. + Reset :version (adding an option does not merit a :version bump). + + * bookmark.el (bookmark-load): + * uniquify.el (uniquify-buffer-name-style): Doc fixes. + +2014-06-08 Juri Linkov + + * desktop.el: Activate auto-saving on window configuration changes. + (desktop-save-mode, desktop-auto-save-timeout): Add/remove + `desktop-auto-save-set-timer' to/from + `window-configuration-change-hook'. + (desktop-auto-save-set-timer): Change REPEAT arg of + `run-with-idle-timer' from t to nil. + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html + +2014-06-08 Santiago Payà i Miralta + + * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and + vc-hg-command (bug#17570). + +2014-06-08 Stefan Monnier + + * international/mule-cmds.el (ucs-names): Add special entry for BEL + (bug#17702). + +2014-06-08 Glenn Morris + + * startup.el (window-setup-hook): Doc fix. + + * emacs-lisp/package.el (package-check-signature) + (package-unsigned-archives): Doc fixes. + +2014-06-08 Martin Rudalics + + * window.el (display-buffer-use-some-window): Don't make window + used smaller than it was before (Bug#17671). + +2014-06-08 Eli Zaretskii + + * menu-bar.el (menu-bar-open): Fix last change: use the PC + 'redisplay' instead of '(sit-for 0)'. + +2014-06-08 Michael Albinus + + * net/tramp.el (tramp-ssh-controlmaster-options): + Improve search regexp. (Bug#17653) + +2014-06-08 Glenn Morris + + * emacs-lisp/package.el (package-pinned-packages): Doc fix. + +2014-06-08 Eli Zaretskii + + * menu-bar.el (menu-bar-open): Fix invocation via M-x. + +2014-06-06 Santiago Payà i Miralta + + * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions + (bug#17586). + + * vc/vc-hg.el (vc-hg-log-graph): New var. + (vc-hg-print-log): Use it. + (vc-hg-root-log-format): Include branch name and bookmarks; ignore + graph output (bug#17515). + +2014-06-06 Stefan Monnier + + * mouse.el (mouse-posn-property): Ignore buffer position info when the + even happened elsewhere. + +2014-06-06 Mario Lang + + * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call + `recenter' if `current-buffer' is equal to `window-buffer'. + +2014-06-05 Leo Liu + + * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's. + +2014-06-05 Michal Nazarewicz + + * textmodes/tildify.el (tildify-foreach-region-outside-env): + New function which calls a callback on portions of the buffer that are + outside of ignored environments. + (tildify-build-regexp): Remove function since it is now + incorporated in `tildify-foreach-region-outside-env' where it is + optimised and simplified by the use of `mapconcat'. + (tildify-tildify): Return number of substitutions made so that… + (tildify-count): …can be removed. + (tildify-find-env): Accept a new PAIRS argument which was + previously looked up in `tildify-ignored-environments-alist' each + time the function was called. With this change, the lookup is + performed only once in `tildify-foreach-region-outside-env'. + (tildify-region): Greatly simplify the function since now most of + the work is done by `tildify-foreach-region-outside-env'. + (tildify-mode-alist): Simplify slightly by avoiding if and setq + and instead using or. + + * textmodes/tildify.el (tildify-ignored-environments-alist): + Optimise environments regexes + + Each time beginning of an environment to ignore is found, + `tildify-find-env' needs to identify regexp for the ending + of the environment. This is done by trying all the opening + regexes on matched text in a loop, so to speed that up, this + loop should have fewer things to match, which can be done by + using alternatives in the opening regexes. + + Coincidentally, this should make matching of the opening + regexp faster as well thanks to the use of `regexp-opt' and + having common prefix pulled from many regexes. + + * textmodes/tildify.el (tildify-string-alist) + (tildify-ignored-environments-alist): Add `nxml-mode' to the list + of supported modes since `xml-mode' is no longer a thing but just + an alias to the former. Also include comments and insides of tags + in `tildify-ignored-environments-alist' for XML modes. Finally, + since XML does not define “ â€[1], use a numeric reference for + a no-break space (namely “ â€) + + [1] XML specification defines only a handful of predefined entities. + The list is at + and includes only <, >, &, ' and " (meaning <, + >, &, ' and " respectively). This is in contrast to HTML and even + XHTML which defined a whole bunch of entities including “ â€. + + * textmodes/tildify.el (tildify-pattern-alist) + (tildify-string-alist, tildify-ignored-environments-alist): + Improve defcustom's types by adding more tags explaining what each + value means and replace “sexp” used in + `tildify-ignored-environments-alist' with a full type declaration. + + * textmodes/tildify.el (tildify-find-env): Fix matched group + indexes in end-regex building + + When looking for a start of an ignore-environment, the regex is built + by concatenating regexes of all the environments configured in + `tildify-ignored-environments-alist'. So for example, the following + list could be used to match TeX's \verb and \verb* commands: + + (("\\\\verb\\(.\\)" . (1)) + ("\\\\verb\\*\\(.\\)" . (1))) + + This would result in the following regex being used to find the start + of any of the variants of the \verb command: + + \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\) + + But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group + won't match anything, and thus (match-string 1) will be nil, which + will cause building of the end-matching regex to fail. + + Fix this by using capture groups from the time when the opening + regexes are matched individually. + + * textmodes/tildify.el (tildify-find-env): Fix end-regex building + in `tildify-find-env' + + The `tildify-ignored-environments-alist' allows the end-regex to + be provided not as a static string but mix of strings and indexes + of groups matched the begin-regex. For example, the “\verb!…!” + TeX-command (where “!” is an arbitrary character) is handled + using: + + ("\\\\verb\\*?\\(.\\)" . (1)) + + In the same way, the following should be supported as well: + + ("open-\\(.\\)" . ("end-" 1)) + + However the tildify-find-env function fails at + + (concat result + (if (stringp (setq aux (car expression))) + expression ; BUG: expression is a list + (regexp-quote (match-string aux)))) + + where the string part is handled incorrectly. + + The most trivial fix would be to replace `expression' in the + true-part of the if-statement with `aux', but instead, this commit + optimises `tildify-find-env' by changing it to use `mapconcat' + rather than open-coded while-loop. + +2014-06-05 Mario Lang + + * woman.el (woman-mapcan): Remove. + (woman-parse-colon-path): Use cl-mapcan instead. + +2014-06-03 Rüdiger Sonderfeld + + * register.el: Add link to Emacs manual in Commentary. + +2014-06-02 Sam Steingold + + * menu-bar.el (lookup-key-ignore-too-long): Extract from... + (popup-menu): ...here. + (menu-bar-open): Use it to avoid an error when `lookup-key' + returns a number. + +2014-06-02 Michael Albinus + + * net/tramp.el (tramp-call-process): Add traces. + (tramp-handle-unhandled-file-name-directory): Return "/". + +2014-06-02 Wilson Snyder + + Sync with upstream verilog-mode revision 3cd8144. + * progmodes/verilog-mode.el (verilog-mode-version): Bump. + (verilog-auto-arg-format): New option, to support newlines in AUTOARG. + (verilog-type-font-keywords): Add nor. + (verilog-batch-execute-func): Force reading of Local Variables. + Fix printing "no changes to be saved" with verilog-batch. + (verilog-auto-arg-ports): Doc fix. + Add verilog-auto-arg-format to support newlines in AUTOARG. + (verilog-auto-arg): Doc fix. + 2014-06-02 Glenn Morris * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el: * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el: * emulation/ws-mode.el: Move to obsolete/. + * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el. 2014-06-02 Eli Zaretskii @@ -95,14 +517,14 @@ 2014-05-30 Ken Olum (tiny change) - * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The - argument COUNT is now optional, to be more backward-compatible. + * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): + The argument COUNT is now optional, to be more backward-compatible. Doc fix. (Bug#17560) 2014-05-29 Reuben Thomas - * whitespace.el (whitespace-report-region): Simplify - documentation. + * whitespace.el (whitespace-report-region): + Simplify documentation. (whitespace-report-region): Allow report-if-bogus to take the value `never', for non-interactive use. (whitespace-report): Refer to whitespace-report-region's @@ -478,7 +900,7 @@ * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled into autoloading just because of a silly indirection. -2014-05-12 Santiago Payà i Miralta (tiny change) +2014-05-12 Santiago Payà i Miralta * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)