1 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3 * hi-lock.el (hi-lock-unface-buffer): Don't call
4 font-lock-remove-keywords if not needed (bug#19737).
6 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
8 * emacs-lisp/package.el (package-install): Invert the second
9 argument, for better backwards compatibility.
10 (package-install-button-action, package-reinstall)
11 (package-menu-execute): Account for the change.
13 2015-02-11 Nicolas Petton <nicolas@petton.fr>
15 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
16 version of seq-reverse that works on sequences in Emacs 24.
17 Bump seq.el version to 1.2.
19 2015-02-11 Martin Rudalics <rudalics@gmx.at>
21 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
22 Rename frame parameter `maximized' to `fullscreen-restore'.
23 Restore fullwidth/-height after fullboth state. Update doc-strings.
25 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
27 * net/shr.el (shr-insert): Make sure the space inserted has the
28 right font (for width).
29 (shr-fill-line): Preserve background colours when indenting/folding.
30 (shr-ensure-paragraph): Don't insert a new paragraph as the first
33 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
35 * net/shr.el (shr-use-fonts): New variable.
36 (shr-fill-text): Rename from "fold".
37 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
39 (shr-insert): Just insert, don't fill the text. Filling is now
40 done afterwards per display unit.
41 (shr-fill-lines, shr-fill-line): New functions to fill text on a
43 (shr-find-fill-point): Take a "beginning" parameter.
44 (shr-indent): Indent using the :width display parameter when using
46 (shr-parse-style): Ignore "inherit" values, since we already do that.
47 (shr-tag-img): Remove the insertion states.
48 (shr-tag-blockquote): New-style filling.
51 (shr-mark-fill): New function to mark lines that need filling.
52 (shr-tag-h1): Use a larger font.
53 (shr-tag-table-1): Get the natural and suggested widths in one
55 (shr-tag-table): Create the "fixed" version of the table only once
56 so that we can cache data in the table.
57 (shr-insert-table): Get colspan calculations right by having
58 zero-width columns after colspan ones.
59 (shr-expand-alignments): New function to make :align-to specs work
60 right when rendered in one buffer and displayed in another one.
61 (shr-insert-table-ruler): Use :align-to to get the widths right.
62 (shr-make-table): Cache more.
63 (shr-make-table-1): Use the new <td> data layout.
64 (shr-pixel-buffer-width): New function.
65 (shr-render-td): Add a caching layer.
66 (shr-dom-max-natural-width): New function.
67 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
68 (shr-tag-tt): New function.
69 (shr-tag-hr): Compute the right length when using fonts.
70 (shr-table-widths): Off-by-one error in width computation.
71 (shr-expand-newlines): Remove dead code.
72 (shr-insert-table): Extend background colors to the end of the column.
73 (shr-insert-table): Only copy the background, not underline and
75 (shr-face-background): New function.
77 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
79 python.el: Improved shell font lock respecting markers. (Bug#19650)
82 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
83 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
84 (python-shell-font-lock-post-command-hook): Fontify by copying text
85 properties from fontified buffer to shell, keeping markers unchanged.
86 (python-shell-font-lock-turn-off): Fix typo.
87 (python-util-text-properties-replace-name): Delete function.
89 2015-02-09 Nicolas Petton <nicolas@petton.fr>
91 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
92 return sequence elements in correct order.
94 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
96 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
98 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
100 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
102 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
103 case where the default value would be re-interpreted as a form!
105 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
107 * help-fns.el (help-fns--signature): Keep doc for keymap.
109 2015-02-09 Kelly Dean <kelly@prtime.org>
111 * desktop.el: Save mark-ring less verbosely.
112 (desktop-var-serdes-funs): New var.
113 (desktop-buffer-info, desktop-create-buffer): Use it.
114 (desktop-file-version): Update to 208.
116 2015-02-09 Leo Liu <sdl.web@gmail.com>
118 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
120 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
122 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
124 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
126 Port to platforms lacking test -a and -o
127 * Makefile.in (compile-clean):
128 * net/tramp-sh.el (tramp-find-executable):
129 Prefer '&&' and '||' to 'test -a' and 'test -o'.
131 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
133 * newcomment.el (comment-line): Fix missing paren.
135 2015-02-08 Ulrich Müller <ulm@gentoo.org>
137 * play/gamegrid.el: Update comment to reflect that the
138 'update-game-score' helper program is now setgid by default.
140 2015-02-08 David Kastrup <dak@gnu.org>
142 * subr.el (apply-partially): Use lexical binding here.
144 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
146 * newcomment.el (comment-line): New command.
148 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
150 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
152 * outline.el (outline-show-entry): Fix one invisible char for the
153 file's last outline. Fixes Bug#19493.
155 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
157 * subr.el (indirect-function): Change advertised calling convention.
159 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
161 python.el: Fix completion-at-point. (Bug#19667)
163 * progmodes/python.el
164 (python-shell-completion-native-get-completions): Force process buffer.
165 (python-shell-completion-at-point): Handle case where call is not
168 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
170 python.el: Fix shell font-lock multiline input. (Bug#19744)
172 * progmodes/python.el
173 (python-shell-font-lock-post-command-hook): Handle multiline input.
175 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
177 python.el: Make shell font-lock respect markers. (Bug#19650)
179 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
181 (python-shell-font-lock-comint-output-filter-function):
183 (python-shell-font-lock-post-command-hook): Respect markers on
186 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
188 python.el: Keep eldoc visible while typing args. (Bug#19637)
190 * progmodes/python.el (python-eldoc--get-symbol-at-point):
191 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
192 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
194 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
196 Fix hideshow integration. (Bug#19761)
198 * progmodes/python.el
199 (python-hideshow-forward-sexp-function): New function based on
200 Carlos Pita <carlosjosepita@gmail.com> patch.
201 (python-mode): Make `hs-special-modes-alist` use it and initialize
202 the end regexp with the empty string to avoid skipping parens.
204 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
206 * progmodes/python.el (python-check-custom-command): Do not use
207 defvar-local for compat with Emacs<24.3.
209 2015-02-07 Martin Rudalics <rudalics@gmx.at>
211 * frame.el (frame-notice-user-settings):
212 Update `frame-size-history'.
213 (make-frame): Update `frame-size-history'.
214 Call `frame-after-make-frame'.
215 * faces.el (face-set-after-frame-default): Remove call to
216 frame-can-run-window-configuration-change-hook.
218 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
220 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
221 `vc-cvs-command' (bug#19732).
223 2015-02-06 Nicolas Petton <nicolas@petton.fr>
225 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by): New functions.
226 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
227 (seq--drop-list, seq--take-list, seq--take-while-list): Better docstring.
229 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
231 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
232 `image-kill-buffer' instead.
234 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
236 * net/ldap.el (ldap-search-internal): Fix docstring.
238 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
240 * subr.el (define-error): The error conditions may be constant
241 lists, so use `append' to concatenate them.
243 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
245 * net/network-stream.el (network-stream-open-tls): Respect the
246 :end-of-capability setting.
248 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
250 * emacs-lisp/package.el (package--sort-by-dependence):
251 New function. Return PACKAGE-LIST sorted by dependencies.
252 (package-menu-execute): Use it to delete packages in order.
253 (package--sort-deps-in-alist): New function.
254 (package-menu-mark-install): Can mark dependencies.
255 (package--newest-p): New function.
256 (package-delete): Don't delesect when deleting an older version of
259 * emacs-lisp/package.el: Add missing (require 'subr-x)
261 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
263 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
264 hyphenated (bug#19263).
266 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
267 of variable interpolation (bug#19751).
269 2015-02-05 Era Eriksson <era+emacs@iki.fi>
271 * json.el (json-end-of-file): New error (bug#19768).
272 (json-pop, json-read): Use it.
274 2015-02-05 Kelly Dean <kelly@prtime.org>
276 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
279 * help-fns.el (describe-function-or-variable): New function.
281 * help.el (help-map): Bind `describe-function-or-variable' to o.
282 (help-for-help-internal): Document o key.
284 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
286 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
287 special (:documentation ...) feature.
288 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
289 (eieio-make-child-predicate): Same.
290 (eieio-copy-parents-into-subclass): Remove unused arg.
291 (eieio-defclass-internal): Adjust call accordingly and remove redundant
293 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
296 * emacs-lisp/cconv.el (cconv--convert-function):
297 Add `docstring' argument.
298 (cconv-convert): Use it to handle the new (:documentation ...) form.
299 (cconv-analyze-form): Handle the new (:documentation ...) form.
301 * emacs-lisp/bytecomp.el:
302 (byte-compile-initial-macro-environment): Use macroexp-progn.
303 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
304 (byte-compile-file-form-defvar-function): Rename from
305 byte-compile-file-form-define-abbrev-table.
306 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
307 (byte-compile): Use byte-compile-top-level rather than
308 byte-compile-lambda so we can compile non-values.
309 (byte-compile-form): Add warnings for failed uses of lexical vars via
311 (byte-compile-unfold-bcf): Improve message for failed inlining.
312 (byte-compile-make-closure): Handle new format of internal-make-closure
313 for dynamically-generated docstrings.
315 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
316 (open-line): Delete like all other commands, instead of killing.
317 (delete-active-region): Don't define any return any value.
319 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
320 (python-mode): Don't assume eldoc-documentation-function has a non-nil
323 2015-02-04 Sam Steingold <sds@gnu.org>
325 * progmodes/python.el (python-indent-calculate-indentation):
326 Avoid the error when computing top-level indentation.
328 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
330 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
332 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
333 (mail-mode-flyspell-verify): Fix last change.
334 (flyspell-external-point-words, flyspell-large-region):
335 Avoid add-to-list on local vars.
337 2015-02-04 Tassilo Horn <tsdh@gnu.org>
339 * emacs-lisp/package.el (package-installed-p): Fix typo causing
342 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
344 * image-mode.el (image-kill-buffer): New command.
345 (image-mode-map): Bind it to k.
347 * emacs-lisp/package.el (package-delete): Remove package from
348 `package-selected-packages' even if it can't be deleted.
349 (package-installed-p): Accept package-desc objects.
350 (package-install): Can be used to mark dependencies as
351 selected. When given a package-desc object which is already
352 installed, the package is not downloaded again, but it is marked
353 as selected (if it wasn't already).
354 (package-reinstall): Accept package-desc objects.
356 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
358 * emacs-lisp/package.el (package-delete): Document NOSAVE.
359 (package--get-deps): delete-dups when ONLY is nil.
360 (package-autoremove): Warn the user if `package-selected-packages'
363 (package--user-selected-p): New function.
364 (package-delete, package-install, package-install-from-buffer):
366 (package-selected-packages): Mention it.
368 (package-initialize): Don't populate `package-selected-packages'.
369 (package-install-user-selected-packages, package-autoremove):
370 Special handling for empty `package-selected-packages'.
371 (package-install): Fix when PKG is a package-desc.
373 (package-desc-status): Add "dependency" status to the Package
375 (package-menu--status-predicate, package-menu--print-info)
376 (package-menu-mark-delete, package-menu--find-upgrades)
377 (package-menu--status-predicate, describe-package-1): Use it
379 (package--removable-packages): New function.
380 (package-autoremove): Use it.
381 (package-menu-execute): Offer to remove unneeded packages.
383 (package--read-pkg-desc, package-tar-file-info): Fix reference to
386 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
388 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
389 (package-delete): New NOSAVE argument.
391 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
393 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
394 (tramp-open-shell, tramp-maybe-open-connection): Set also
395 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
397 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
399 * emacs-lisp/package.el (package--find-non-dependencies):
401 (package-initialize): Use it to populate `package-selected-packages'.
402 (package-menu-execute): Clean unnecessary `and'.
403 (package--get-deps): Fix returning duplicates.
405 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
407 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
409 (tramp-open-shell, tramp-maybe-open-connection): Support it.
412 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
414 * emacs-lisp/package.el (package-delete): Remove package from
415 package-selected-packages.
416 (package-autoremove): Remove unneeded variable.
418 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
420 * emacs-lisp/package.el (package-selected-packages): Fix :type
421 (package-install): Rename ARG to MARK-SELECTED.
422 (package--get-deps): Fix for indirect dependencies.
423 (package-used-elsewhere-p): Rename to
424 (package--used-elsewhere-p): New function.
425 (package-reinstall, package-user-selected-packages-install)
426 (package-autoremove): Use sharp-quote.
427 (package-user-selected-packages-install): Reindent and rename to
428 (package-install-user-selected-packages): New function.
430 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
432 * emacs-lisp/package.el: Don't allow deleting dependencies.
434 (package-used-elsewhere-p): New function.
435 (package-delete): Use it, return now an error when trying to
436 delete a package used as dependency by another package.
438 Add a reinstall package command.
439 (package-reinstall): New function.
441 Add a package-autoremove command.
442 (package-selected-packages): New user var.
443 (package-install): Add an optional arg to notify interactive use.
444 Fix docstring. Save installed package to
445 packages-installed-directly.
446 (package-install-from-buffer): Same.
447 (package-user-selected-packages-install): Allow installing all
448 packages in packages-installed-directly at once.
449 (package--get-deps): New function.
450 (package-autoremove): New function.
451 (package-install-button-action): Call package-install with
453 (package-menu-execute): Same but only for only for not installed
456 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
458 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
459 and eieio-make-child-predicate.
460 (eieio-class-parents): Use eieio--class-object.
461 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
462 (slot-exists-p): Use find-class.
464 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
465 Use find-lisp-object-file-name, help-fns-short-filename and new calling
466 convention for eieio-class-def.
467 (eieio-build-class-list): Remove function, unused.
468 (eieio-method-def): Remove button type, unused.
469 (eieio-class-def): Inherit from help-function-def.
470 (eieio--defclass-regexp): New constant.
471 (find-function-regexp-alist): Use it.
472 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
473 (eieio-help-find-method-definition, eieio-help-find-class-definition):
476 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
477 Use cl-check-type everywhere instead.
478 (eieio-class-object): Remove, use find-class instead when needed.
479 (class-p): Don't inline.
480 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
481 such as eieio classes, as objects. Don't inline.
482 (object-p): Mark as obsolete.
483 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
484 (eieio--generic-tagcode): Avoid `class-p'.
485 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
486 (eieio-defclass-internal): Use current-load-list rather than
489 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
491 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
493 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
494 since it may be "equivalent" in some sense, yet different (bug#19734).
496 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
498 * outline.el (outline-font-lock-face): Add docstring.
499 (outline-invisible-p): Improve docstring.
500 (outline-invent-heading): Add docstring.
501 (outline-promote): Improve docstring.
502 (outline-demote): Improve docstring.
503 (outline-head-from-level): Improve docstring.
504 (outline-end-of-heading): Add docstring.
505 (outline-next-visible-heading): Improve docstring.
506 (outline-previous-visible-heading): Improve docstring.
507 (outline-hide-region-body): Improve docstring.
508 (outline-flag-subtree): Add docstring.
509 (outline-end-of-subtree): Add docstring.
510 (outline-headers-as-kill): Improve docstring.
512 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
514 * outline.el (outline-hide-entry): Rename from `hide-entry'.
515 (hide-entry): Declare as obsolete.
516 (outline-show-entry): Rename from `show-entry'.
517 (show-entry): Declare as obsolete.
518 (outline-hide-body): Rename from `hide-body'.
519 (hide-body): Declare as obsolete.
520 (outline-hide-region-body): Rename from `hide-region-body'.
521 (hide-region-body): Declare as obsolete.
522 (outline-show-all): Rename from `show-all'.
523 (show-all): Declare as obsolete.
524 (outline-hide-subtree): Rename from `hide-subtree'.
525 (hide-subtree): Declare as obsolete.
526 (outline-hide-leaves): Rename from `hide-leaves'.
527 (hide-leaves): Declare as obsolete.
528 (outline-show-subtree): Rename from `show-subtree'.
529 (show-subtree): Declare as obsolete.
530 (outline-hide-sublevels): Rename from `hide-sublevels'.
531 (hide-sublevels): Declare as obsolete.
532 (outline-hide-other): Rename from `hide-other'.
533 (hide-other): Declare as obsolete.
534 (outline-show-children): Rename from `show-children'.
535 (show-children): Declare as obsolete.
536 (outline-show-branches): Rename from `show-branches'.
537 (show-branches): Declare as obsolete.
539 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
541 * outline.el (outline-mode): Clean up docstring.
542 (font-lock-warning-face): Remove obsolete declaration.
543 (outline-font-lock-face): Remove obsolete comment.
545 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
547 * lisp/custom.el (defface): Set `indent' to 1.
549 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
551 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
553 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
555 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
556 is set, but user has just been asked whether they really want to
557 kill Emacs (for example with a ‘Modified buffers exist; exit
558 anyway?’ prompt), do not ask them for another confirmation.
560 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
562 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
563 (calc-convert-units): Check for missing units.
564 (math-consistent-units-p): Strengthen the test for consistent units.
566 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
567 `calc-convert-exact-units' and assign it a keybinding.
569 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
572 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
574 * emacs-lisp/cl.el (cl--function-convert): Simplify.
576 2015-01-28 Tassilo Horn <tsdh@gnu.org>
578 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
579 punctuation syntax since to allow bibtex fields with values such
580 as {Test 1) and 2)} (bug#19205, bug#19707).
581 (reftex--prepare-syntax-tables): New function.
582 (reftex-mode): Use it.
584 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
586 python.el: New non-global state dependent indentation engine.
587 (Bug#18319, Bug#19595)
588 * progmodes/python.el (python-syntax-comment-or-string-p):
589 Accept PPSS as argument.
590 (python-syntax-closing-paren-p): New function.
591 (python-indent-current-level)
592 (python-indent-levels): Mark obsolete.
593 (python-indent-context): Return more context cases.
594 (python-indent--calculate-indentation)
595 (python-indent--calculate-levels): New functions.
596 (python-indent-calculate-levels): Use them.
597 (python-indent-calculate-indentation, python-indent-line):
598 (python-indent-line-function): Rewritten to use new API.
599 (python-indent-dedent-line): Simplify logic.
600 (python-indent-dedent-line-backspace): Use `unless`.
601 (python-indent-toggle-levels): Delete function.
603 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
605 * subr.el (posnp): Correct docstring of `posnp'.
606 (posn-col-row): Make it work with all mouse position objects.
607 * textmodes/artist.el (artist-mouse-draw-continously):
608 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
610 2015-01-28 Eli Zaretskii <eliz@gnu.org>
612 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
614 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
616 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
618 (file-notify--descriptor): New defun.
619 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
620 Adapt docstring. Handle multiple values for
621 `file-notify-descriptors' entries. (Bug#18880)
623 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
624 `file-notify-descriptors', the implementation has been changed.
626 2015-01-28 Eli Zaretskii <eliz@gnu.org>
628 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
629 On MS-Windows, bind coding-system-for-read to the console output
630 codepage. (Bug#19458)
632 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
634 Unbreak `mouse-action' property in text buttons.
635 * button.el (push-button): Fix regression from 2012-12-06.
637 2015-01-28 Glenn Morris <rgm@gnu.org>
639 * progmodes/sh-script.el (sh-mode): Doc fix.
640 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
642 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
644 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
645 * files.el (shell-quote-wildcard-pattern): Also quote "`".
647 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
649 Tighten up the tagcode used for eieio and cl-struct objects.
650 * loadup.el: Load cl-preloaded.
651 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
652 slot of the tag symbol to :quick-object-witness-check.
653 (eieio-object-p): Use :quick-object-witness-check.
654 (eieio--generic-tagcode): Use cl--generic-struct-tag.
655 * emacs-lisp/cl-preloaded.el: New file.
656 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
657 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
658 (cl--make-usage-args): Strip away &aux args.
659 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
660 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
661 (cl-defstruct): Use `declare' and cl-struct-define.
662 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
663 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
665 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
667 * emacs-lisp/cl.el (cl--function-convert):
668 Merge cache that cl--labels-convert adds (bug#19699).
670 2015-01-27 Ivan Shmakov <ivan@siamics.net>
672 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
673 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
674 (tar-header-serialize): New functions.
675 (tar-current-position): Split from tar-current-descriptor.
676 (tar-current-descriptor): Use it.
677 (tar-new-entry): New command.
678 (tar-mode-map): Bind it.
680 2015-01-27 Sam Steingold <sds@gnu.org>
682 * progmodes/python.el (python-check-custom-command): Buffer local
683 because it usually includes the buffer name.
684 (python-check-command): Set to epylint when pyflakes is not available.
686 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
688 * isearch.el (isearch-process-search-char): Add docstring.
690 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
692 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
694 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
696 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
697 for the case cl-flet or cl-labels form is wrapped with lexical-let
700 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
702 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
703 (cl--generic): The method-table is now a (list-of cl--generic-method).
704 (cl--generic-member-method): New function.
705 (cl-generic-define-method): Use it.
706 (cl--generic-build-combined-method, cl--generic-cache-miss):
707 Adapt to new method-table.
708 (cl--generic-no-next-method-function): Add `method' argument.
709 (cl-generic-call-method): Adapt to new method representation.
710 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
711 (cl-find-method, cl-method-qualifiers): New functions.
712 (cl--generic-method-info): Adapt to new method representation.
713 Return a string for the qualifiers.
714 (cl--generic-describe):
715 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
716 (eieio-all-generic-functions, eieio-method-documentation):
717 Adjust to new method representation.
719 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
721 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
723 * emacs-lisp/cl-generic.el: Add a method-combination hook.
724 (cl-generic-method-combination-function): New var.
725 (cl--generic-lambda): Remove `with-cnm' arg.
726 (cl-defmethod): Change accordingly.
727 (cl-generic-define-method): Don't check qualifiers validity.
728 Preserve all qualifiers in `method-table'.
729 (cl-generic-call-method): New function.
730 (cl--generic-nest): Remove (morph into cl-generic-call-method).
731 (cl--generic-build-combined-method): Adjust to new format of method-table
732 and use cl-generic-method-combination-function.
733 (cl--generic-standard-method-combination): New function, extracted from
734 cl--generic-build-combined-method.
735 (cl--generic-cnm-sample): Adjust to new format of method-table.
737 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
740 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
741 Remove obsolete function.
743 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
745 * net/shr.el (shr-make-table-1): Fix colspan typo.
746 (shr-make-table-1): Add comments.
747 (shr-make-table-1): Make colspan display more sensibly.
749 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
752 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
754 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
755 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
757 (cl--generic-typeof-types): Add support for `sequence'.
758 (cl-defmethod): Add non-keywords in the qualifiers.
760 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
762 * emacs-lisp/find-func.el (find-function-regexp): Don't match
763 `defgroup' (regression from the previous change here).
765 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
767 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
768 credentials error message.
770 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
772 * net/ldap.el (ldap-password-read): Validate password before
774 (ldap-search-internal): Handle ldapsearch error conditions.
776 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
778 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
780 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
782 * net/eudc.el (eudc-expand-inline): Always restore former server
785 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
787 * net/eudcb-ldap.el: Don't nag the user in case a default base is
788 provided by the LDAP system configuration file.
790 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
792 * net/eudc.el (eudc-format-query): Preserve the
793 eudc-inline-query-format ordering of attributes in the returned list.
794 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
795 Append the LDAP wildcard character to the last attribute value.
797 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
799 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
800 Downcase field names of LDAP results.
801 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
803 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
805 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
806 (ldap-search-internal): Send password to ldapsearch through a pipe
807 instead of via the command line.
809 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
811 * net/ldap.el: Require password-cache.
812 (ldap-password-read): New function.
813 (ldap-search-internal): Call ldap-password-read when it is
814 configured to be called.
816 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
818 * net/eudc-vars.el (eudc-expansion-overwrites-query):
819 Change default to nil.
821 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
823 * net/eudc.el (eudc-expand-inline): Ignore text properties of
826 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
828 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
829 format that includes first name and surname.
831 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
833 * net/eudc-vars.el (eudc-inline-query-format): Change default to
834 query email and first name instead of surname.
836 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
838 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
840 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
842 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
844 (eudc-server-hotlist): Move from eudc.el and make defcustom.
845 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
846 (eudc-set-server): Allow setting protocol to nil.
847 (eudc-expand-inline): Support hotlist-only expansions when server
850 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
852 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
853 (cl--generic-build-combined-method): Use it.
855 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
857 Don't downcase system diagnostics' first letters
858 * emacs-lisp/bytecomp.el (byte-compile-file):
859 * ffap.el (find-file-at-point):
860 * files.el (insert-file-1):
861 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
862 (ange-ftp-copy-file-internal):
863 * progmodes/etags.el (visit-tags-table):
864 Keep diagnostics consistent with system's.
865 * ffap.el (ffap-machine-p):
866 Ignore case while comparing diagnostics.
868 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
870 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
872 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
873 body with a docstring.
875 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
877 * progmodes/xref.el (xref-location-marker, xref-location-group):
878 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
881 * progmodes/etags.el (xref-location-marker): Same.
883 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
884 (xref--inhibit-mark-current): Rename from
885 `xref--inhibit-mark-selected'. Update the usages.
886 (xref-quit): Reword the docstring. Kill buffers after quitting
887 windows instead of before.
888 (xref--insert-xrefs): Tweak help-echo.
889 (xref--read-identifier-history, xref--read-pattern-history):
891 (xref--read-identifier, xref-find-apropos): Use them.
893 2015-01-21 Ulrich Müller <ulm@gentoo.org>
895 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
896 Allow the 'update-game-score' helper program to run suid or sgid.
898 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
900 * emacs-lisp/eieio.el: Use cl-defmethod.
901 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
902 (eieio-object-name-string): Declare as obsolete.
904 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
905 (eieio--specializers-apply-to-class-p): New function.
906 (eieio-all-generic-functions): Use it.
907 (eieio-method-documentation): Use it as well as cl--generic-method-info.
908 Change format of return value.
909 (eieio-help-class): Adapt accordingly.
911 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
912 errors when there's a `before' but no `primary' (bug#19645).
913 (next-method-p): Return nil rather than signal an error.
914 (eieio-defgeneric): Remove bogus (fboundp 'method).
916 * emacs-lisp/eieio-speedbar.el:
917 * emacs-lisp/eieio-datadebug.el:
918 * emacs-lisp/eieio-custom.el:
919 * emacs-lisp/eieio-base.el: Use cl-defmethod.
921 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
922 (cl--generic-setf-rewrite): Setup the setf expander right away.
923 (cl-defmethod): Make sure the setf expander is setup before we expand
925 (cl-defmethod): Silence byte-compiler warnings.
926 (cl-generic-define-method): Shuffle code to change return value.
927 (cl--generic-method-info): New function, extracted from
928 cl--generic-describe.
929 (cl--generic-describe): Use it.
931 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
933 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
934 the major mode. Remap `quit-window' to `xref-quit'.
935 (xref--xref-buffer-mode): Inherit from special-mode.
937 xref: Keep track of temporary buffers (bug#19466).
938 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
939 (xref--inhibit-mark-selected): New variables.
940 (xref--mark-selected): New function.
941 (xref--show-location): Maybe add the buffer to
942 `xref--temporary-buffers', add `xref--mark-selected' to
943 `buffer-list-update-hook' there.
944 (xref--window): Add docstring.
945 (xref-quit): Rename from `xref--quit'. Update both references.
946 Add KILL argument. When it's non-nil, kill the temporary buffers
947 that haven't been selected by the user.
948 (xref--show-xref-buffer): Change the second argument to alist,
949 extract the values for `xref--window' and
950 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
951 `buffer-list-update-hook' to each buffer in the list.
952 (xref--show-xrefs): Move the logic of calling `xref-find-function'
953 here. Save the difference between buffer lists before and after
954 it's called as "temporary buffers", and `pass it to
955 `xref-show-xrefs-function'.
956 (xref--find-definitions, xref-find-references)
957 (xref-find-apropos): Update accordingly.
959 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
961 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
963 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
965 * emacs-lisp/eieio-generic.el: Remove.
966 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
967 * emacs-lisp/eieio-compat.el: New file.
968 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
969 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
970 Remove unused function.
971 (eieio-defclass): Move to eieio-compat.el.
972 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
973 (macroexp--expand-all): Use it.
974 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
976 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
978 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
979 major modes should use `add-function' to alter value of the variable.
980 * hexl.el (hexl-mode):
981 * ielm.el (inferior-emacs-lisp-mode):
982 * progmodes/cfengine.el (cfengine3-mode):
983 * progmodes/elisp-mode (emacs-lisp-mode):
984 * progmodes/octave.el (octave-mode):
985 * progmodes/python.el (python-mode):
986 * simple.el (read--expression): Set `eldoc-documentation-function'
987 using `add-function' so the default value is always used.
989 * descr-text.el (describe-char-eldoc): New function returning
990 basic Unicode codepoint information (e.g. name) about character
991 at point. It is meant to be used as a default value of the
992 `eldoc-documentation-function' variable.
993 (describe-char-eldoc--format, describe-char-eldoc--truncate):
994 New helper functions for `describe-char-eldoc' function.
996 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
998 * textmodes/paragraphs.el (sentence-end-base): Include an
999 ellipsis (…) and interrobang (‽) characters as end of a sentence,
1000 and a closing single quote (’) as an end of a quote.
1002 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1004 * textmodes/tildify.el (tildify-double-space-undos): A new
1005 variable specifying whether pressing space in `tildify-mode' after
1006 a space has been replaced with hard space undos the substitution.
1007 (tildify-space): Add code branch for handling `tildify-doule-space'.
1009 * textmodes/tildify.el (tildify-space): A new function
1010 which can be used as a `post-self-insert-hook' to automatically
1011 convert spaces into hard spaces.
1012 (tildify-space-pattern): A new variable specifying pattern where
1013 `tildify-space' should take effect.
1014 (tildify-space-predicates): A new variable specifying list of
1015 predicate functions that all must return non-nil for
1016 `tildify-space' to take effect.
1017 (tildify-space-region-predicate): A new functions meant to be
1018 used as a predicate in `tildify-space-predicates' list.
1019 (tildify-mode): A new minor mode enabling `tildify-space' as a
1020 `post-self-insert-hook'
1022 2015-01-20 Daniel Colascione <dancol@dancol.org>
1024 * vc/vc-dir.el (vc-dir): Default to repository root, not
1027 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
1029 * progmodes/etags.el (xref-etags-location): New class.
1030 (xref-make-etags-location): New function.
1031 (etags--xref-find-definitions): Use it.
1032 (xref-location-marker): New method implementation.
1034 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1035 (xref--insert-xrefs): Expand help-echo string.
1037 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1039 * ido.el: Update Customization instructions.
1041 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
1043 Define Ido keymaps once (bug#17000).
1044 * ido.el (ido-common-completion-map)
1045 (ido-file-dir-completion-map)
1046 (ido-file-completion-map, ido-buffer-completion-map): Set up key
1047 bindings when each variable is defined.
1048 (ido-completion-map): Move definition.
1049 (ido-init-completion-maps): Noop.
1050 (ido-common-initialization): Don't call it.
1051 (ido-setup-completion-map): Improve doc-string, cleanup.
1053 2015-01-19 Ivan Shmakov <ivan@siamics.net>
1055 * cus-dep.el (custom-make-dependencies): Ensure that
1056 default-directory is interpreted as a directory (see bug#19140.)
1058 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1060 * progmodes/xref.el (xref--display-position):
1061 Set `other-window-scroll-buffer'.
1062 (xref-goto-xref): Use `user-error'.
1064 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1066 * progmodes/xref.el (xref--display-history): New variable.
1067 (xref--window-configuration): Remove.
1068 (xref--save-to-history): New function.
1069 (xref--display-position): Use it. Add new argument.
1070 (xref--restore-window-configuration): Remove.
1071 (xref--show-location, xref-show-location-at-point):
1073 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
1074 (xref--quit): New command.
1075 (xref-goto-xref): Use it.
1076 (xref--xref-buffer-mode-map): Bind `q' to it.
1078 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
1080 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
1081 indentation or at eol.
1083 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1086 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1088 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1090 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
1093 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
1094 introduction of a new dispatch argument.
1095 (cl--generic-cache-miss): Handle dispatch on an argument which was not
1096 considered as dispatchable for this method.
1097 (cl-defmethod): Warn when adding a method to an obsolete generic function.
1098 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
1100 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
1102 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
1104 * emacs-lisp/package.el (package--append-to-alist): Rename from
1105 `package--add-to-alist'
1106 Updated docstring due to new name.
1108 2015-01-18 Leo Liu <sdl.web@gmail.com>
1110 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
1111 multiple evaluation. (Bug#19519)
1113 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
1116 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1118 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1119 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1121 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1123 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
1125 (cl-struct-type-p): New function.
1127 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
1128 (cl-defmethod): Add edebug spec.
1129 (cl--generic-build-combined-method): Fix call to
1130 cl-no-applicable-method.
1131 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
1132 (cl--generic-isnot-nnm-p): New function.
1133 (cl--generic-lambda): Use it to add support for cl-next-method-p.
1134 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
1135 (cl-next-method-p): New function.
1137 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1139 * version.el (emacs-repository-get-version): Update docstring.
1141 2015-01-17 Ivan Shmakov <ivan@siamics.net>
1143 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
1144 and print-level to nil to avoid writing a garbled list. (Bug#16805)
1146 * files.el (find-file-other-window, find-file-other-frame):
1147 Use mapc instead of mapcar. (Bug#18175)
1149 * files.el (dir-locals-collect-variables): Use default-directory
1150 in place of the file name while working on non-file buffers, just
1151 like hack-dir-local-variables already does. (Bug#19140)
1153 * textmodes/enriched.el (enriched-encode):
1154 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
1157 * desktop.el (desktop-read): Do not call desktop-clear when no
1158 desktop file is found. (Bug#18371)
1160 * misearch.el (multi-isearch-unload-function): New function.
1161 (misearch-unload-function): New alias. (Bug#19566)
1163 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
1166 class-constructor, and make it an alias for `identity'.
1169 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
1170 argument here (bug#19620)...
1171 (defclass): ...instead of in the constructor here.
1173 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
1175 * emacs-lisp/package.el (package-archive-priorities):
1176 Specify correct type.
1178 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1180 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
1182 (emacs-repository-get-version): Discard the Bazaar case.
1183 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
1184 emacs-bzr-version-dirstate and move from version.el to here.
1185 (vc-bzr-working-revision): Use it.
1187 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
1190 eieio--scoped-class any more.
1192 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
1193 (eieio--scoped-class): Remove function.
1194 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
1195 (eieio--slot-name-index): Don't check the :protection anymore.
1196 (eieio-initializing-object): Remove var.
1197 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
1199 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1201 Improve handling of doc-strings and describe-function for cl-generic.
1203 * help-mode.el (help-function-def): Add optional arg `type'.
1205 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
1207 (help-fns-short-filename): New function.
1208 (describe-function-1): Use it. Use autoload-do-load.
1210 * emacs-lisp/find-func.el: Use lexical-binding.
1211 (find-function-regexp): Don't rule out `defgeneric'.
1212 (find-function-regexp-alist): Document new possibility of including
1213 a function instead of a regexp.
1214 (find-function-search-for-symbol): Implement that new possibility.
1215 (find-function-library): Don't assume that `function' is a symbol.
1216 (find-function-do-it): Remove unused var `orig-buf'.
1218 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
1219 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
1220 (eieio--method-optimize-primary): Don't mess with the docstring.
1221 (defgeneric): Keep the `args' in the docstring.
1222 (defmethod): Don't use the method's docstring for the generic
1223 function's docstring.
1225 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
1226 (eieio-defclass-autoload): Don't record the superclasses any more.
1227 (eieio-defclass-internal): Reuse the old class object if it was just an
1229 (eieio--class-precedence-list): Load the class if it's autoloaded.
1231 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
1232 override an autoload.
1233 (cl-generic-current-method-specializers): Replace dyn-bind variable
1234 with a lexically-scoped macro.
1235 (cl--generic-lambda): Update accordingly.
1236 (cl-generic-define-method): Record manually in the load-history with
1237 type `cl-defmethod'.
1238 (cl--generic-get-dispatcher): Minor optimization.
1239 (cl--generic-search-method): New function.
1240 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
1241 (cl--generic-search-method): Add hyperlinks for methods. Merge the
1242 specializers and the function's arguments.
1244 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1246 * emacs-lisp/package.el (package--read-pkg-desc):
1247 New function. Read a `define-package' form in current buffer.
1248 Return the pkg-desc, with desc-kind set to KIND.
1249 (package-dir-info): New function. Find package information for a
1250 directory. The return result is a `package-desc'.
1251 (package-install-from-buffer): Install packages from dired buffer.
1252 (package-install-file): Install packages from directory.
1253 (package-desc-suffix)
1254 (package-install-from-archive)
1255 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1256 Ensure all remaining instances of `package-desc-kind' handle the 'dir
1259 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
1261 * emacs-lisp/package.el: Provide repository priorities.
1262 (package-archive-priorities): New variable.
1263 (package--add-to-alist): New function.
1264 (package--add-to-archive-contents): Use it.
1265 (package-menu--find-upgrades): Use it as well. Small clean up to
1266 make the use of the package name here explicit.
1267 (package-archive-priority): New function.
1268 (package-desc-priority-version): New function.
1270 2015-01-16 Daniel Colascione <dancol@dancol.org>
1272 * cus-start.el (all): Make `ring-bell-function' customizable.
1274 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
1276 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
1277 vc-svn-after-dir-status's second argument. (Bug#19429)
1279 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
1281 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
1282 regardless of pcomplete-cycle-completions's value. (Bug#18950)
1284 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1286 * dom.el (dom-strings): New function.
1288 * files.el (directory-files-recursively): Don't use the word
1289 "path" for a file name.
1291 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
1293 * calc/calc-units.el (math-units-in-expr-p)
1294 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
1295 (math-extract-units): Handle the `neg' operator. (Bug#19582)
1297 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
1300 (cl--labels-convert): Use it to ask the macro what is its replacement
1303 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
1304 Return the value of the primary rather than the after method.
1306 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
1307 (eieio--generic-tagcode): New function.
1308 (cl-generic-tagcode-function): Use it.
1309 (eieio--generic-tag-types): New function.
1310 (cl-generic-tag-types-function): Use it.
1311 (eieio-object-p): Tighten up the test.
1313 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
1315 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1317 * emacs-lisp/cl-generic.el: New file.
1319 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
1320 (cl-load-time-value, cl-labels): Use closures rather than
1322 (cl-macrolet): Use `eval' to create the function value, and support CL
1323 style arguments in for the defined macros.
1325 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * net/eww.el: Use lexical-binding.
1328 (eww-links-at-point): Remove unused arg.
1329 (eww-mode-map): Inherit from special-mode-map.
1330 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
1332 2015-01-13 Alan Mackenzie <acm@muc.de>
1334 Allow compilation during loading of CC Mode-derived modes (bug#19206).
1335 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
1336 New function which walks the stack to discover whether we're compiling
1338 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
1339 (cc-bytecomp-is-loading): New defsubst.
1340 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
1341 Use the above defsubsts.
1342 (cc-require-when-compile, cc-bytecomp-defvar)
1343 (cc-bytecomp-defun): Simplify conditionals.
1344 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
1345 "Borrow" this function from cc-bytecomp.el.
1346 (c-get-current-file): Reformulate using the above.
1347 (c-lang-defconst): Prevent duplicate entries of file names in a
1348 symbol's 'source property.
1349 (c-lang-const): Use cc-bytecomp-is-compiling.
1350 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
1351 Use cc-bytecomp-is-compiling.
1353 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1355 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
1358 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
1360 * menu-bar.el (menu-bar-goto-menu): Before calling
1361 `xref-marker-stack-empty-p', first check that `xref' is loaded.
1364 2015-01-12 Martin Rudalics <rudalics@gmx.at>
1366 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
1369 * frame.el (frame-notice-user-settings): Remove code dealing with
1370 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
1371 only if `window-system-frame-alist' or `default-frame-alist' ask
1373 (make-frame): Update frame-adjust-size-history if needed.
1375 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
1377 Have 'make' output better GEN names
1378 * Makefile.in (PHONY_EXTRAS): New macro.
1379 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
1380 relevant files' time stamps are ignored.
1381 (custom-deps, $(lisp)/cus-load.el, finder-data)
1382 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
1383 (custom-deps, $(lisp)/cus-load.el, finder-data)
1384 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
1385 ($(lisp)/subdirs.el, update-subdirs):
1386 Output more-accurate destination names with GEN.
1388 Say "ELC foo.elc" instead of "GEN foo.elc"
1389 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
1391 ($(THEFILE)c, .el.elc): Use them.
1393 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
1395 * files.el (directory-files-recursively): Do not include
1396 superfluous remote file names.
1398 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1400 * net/eww.el (eww): Interpret anything that looks like a protocol
1401 designator as a full URL.
1403 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1405 * net/shr.el (shr-urlify): Don't bother the user about
1406 invalidly-encoded display strings.
1408 2015-01-10 Ivan Shmakov <ivan@siamics.net>
1410 * net/shr.el (shr-urlify): Decode URLs before using them as titles
1413 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1415 * net/eww.el (eww): Always interpret URLs that start with https?:
1416 as plain URLs, even if they have spaces in them (bug#19556).
1417 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
1418 software" as an URL.
1419 (eww): Don't interpret "org/foo" as an URL.
1420 (eww): Clear the title when loading so that we don't display
1421 misleading information.
1423 2015-01-10 Daniel Colascione <dancol@dancol.org>
1425 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
1426 by analogy with dired.
1428 2015-01-09 Daniel Colascione <dancol@dancol.org>
1430 * progmodes/js.el (js--function-heading-1-re)
1431 (js--function-prologue-beginning): Parse ES6 generator function
1432 declarations. (That is, "function* name()").
1434 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
1437 that creates functions, and most of the sanity checks.
1438 Mark as obsolete the <class>-child-p function.
1439 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
1440 (eieio--class, eieio--object): Use cl-defstruct.
1441 (eieio--object-num-slots): Define manually.
1442 (eieio-defclass-autoload): Use eieio--class-make.
1443 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
1444 `(lambda...) definitions and most of the sanity checks to `defclass'.
1445 Mark as obsolete the <class>-list-p function, the <class> variable and
1446 the <initarg> variables. Use pcase-dolist.
1447 (eieio-defclass): New compatibility function.
1448 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
1449 (eieio-class-speedbar): Don't use eieio-default-superclass var.
1451 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * emacs-lisp/eieio-generic.el: New file.
1454 * emacs-lisp/eieio-core.el: Move all generic function code to
1456 (eieio--defmethod): Declare.
1458 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
1459 function code to eieio-generic.el.
1460 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
1462 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
1463 to eieio--generic-call.
1464 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
1467 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
1470 Don't use <class> as a variable.
1472 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
1473 (call-next-method): Simplify.
1474 (clone): Obey eieio-backward-compatibility.
1476 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
1477 (eieio-read-generic): Use `generic-p' instead.
1479 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
1480 (eieio-defclass-autoload): Obey it.
1481 (eieio--class-object): Improve error behavior.
1482 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
1484 (eieio--defgeneric-form-primary-only): Rename from
1485 eieio-defgeneric-form-primary-only; update all callers.
1486 (eieio--defgeneric-form-primary-only-one): Rename from
1487 eieio-defgeneric-form-primary-only-one; update all callers.
1488 (eieio-defgeneric-reset-generic-form)
1489 (eieio-defgeneric-reset-generic-form-primary-only)
1490 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
1491 (eieio--method-optimize-primary): New function to replace them.
1492 (eieio--defmethod, eieio-defmethod): Use it.
1493 (eieio--perform-slot-validation): Rename from
1494 eieio-perform-slot-validation; update all callers.
1495 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
1496 Change `class' to be a class object. Update all callers.
1497 (eieio--validate-class-slot-value): Rename from
1498 eieio-validate-class-slot-value. Change `class' to be a class object.
1500 (eieio-oset-default): Accept class object as well.
1501 (eieio--generic-call-primary-only): Rename from
1502 eieio-generic-call-primary-only. Update all callers.
1504 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1505 Improve error messages.
1506 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
1507 well as user-defined types. Emit errors for legacy types like
1508 <class>-child and <class>-list, if not eieio-backward-compatibility.
1510 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1512 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
1513 (eieio--class-slot-initarg): Rename from class-slot-initarg.
1514 Change `class' arg to be a class object. Update all callers.
1515 (call-next-method): Adjust to new return value of `eieio-generic-form'.
1516 (eieio-default-superclass): Set var to the class object.
1517 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
1518 Change print behavior to affect class objects rather than
1521 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
1522 (eieio-class-parents-fast): Remove macro.
1523 (eieio--class-option-assoc): Rename from class-option-assoc.
1525 (eieio--class-option): Rename from class-option. Change `class' arg to
1526 be a class object. Update all callers.
1527 (eieio--class-method-invocation-order): Rename from
1528 class-method-invocation-order. Change `class' arg to be a class
1529 object. Update all callers.
1530 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
1531 a list of class objects rather than names.
1532 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
1533 for accessors to class allocated slots.
1534 (eieio--perform-slot-validation-for-default): Rename from
1535 eieio-perform-slot-validation-for-default. Update all callers.
1536 (eieio--add-new-slot): Rename from eieio-add-new-slot.
1537 Update all callers. Use push.
1538 (eieio-copy-parents-into-subclass): Adjust to new content of
1539 `parent' field. Use dolist.
1540 (eieio-oref): Remove support for providing a class rather than
1542 (eieio-oref-default): Prefer class objects over class names.
1543 (eieio--slot-originating-class-p): Rename from
1544 eieio-slot-originating-class-p. Update all callers. Use `or'.
1545 (eieio--slot-name-index): Turn check into assertion.
1546 (eieio--class-slot-name-index): Rename from
1547 eieio-class-slot-name-index. Change `class' arg to be a class object.
1549 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
1550 (eieio--c3-candidate): Rename from eieio-c3-candidate.
1552 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
1554 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
1556 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
1558 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
1559 Update all callers. Adjust to new `parent' content.
1560 (eieio--class-precedence-list): Rename from -class-precedence-list.
1562 (eieio-generic-call): Use autoloadp and autoload-do-load.
1563 Slight simplification.
1564 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
1565 return value of `eieio-generic-form'.
1566 (eieiomt-add): Index the hashtable with class objects rather than
1568 (eieio-generic-form): Accept class objects as well.
1570 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
1571 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
1572 (eieio-persistent-validate/fix-slot-value):
1573 Change `class' arg to be a class object. Update all callers.
1575 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
1578 additionally to class names.
1580 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
1581 (object): Remove first (constant) slot; rename second to `class-tag'.
1582 (eieio--object-class-object, eieio--object-class-name): New funs
1583 to replace eieio--object-class.
1584 (eieio--class-object, eieio--class-p): New functions.
1585 (same-class-fast-p): Make it a defsubst, change its implementation
1586 to check the class objects rather than their names.
1587 (eieio-object-p): Rewrite.
1588 (eieio-defclass): Adjust the object initialization according to the new
1590 (eieio--scoped-class): Declare it returns a class object (not a class
1591 name any more). Adjust calls accordingly (along with calls to
1592 eieio--with-scoped-class).
1593 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
1594 its class arg to be a class object. Adjust callers accordingly.
1595 (eieio-slot-originating-class-p): Make its start-class arg a class
1596 object. Adjust all callers.
1597 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
1598 Make its `class' arg a class object. Adjust all callers.
1600 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1601 Use eieio--slot-name-index rather than eieio-slot-name-index.
1603 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
1607 (eieio-object-name): Use eieio-object-name-string.
1608 (eieio--object-names): New const.
1609 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
1610 using a hashtable rather than a built-in slot.
1611 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
1612 (clone): Don't mess with the object's "name".
1614 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
1615 (eieio-object-value-get): Use eieio-object-set-name-string.
1617 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
1618 (eieio--object): Remove `name' field.
1619 (eieio-defclass): Adjust to new convention where constructors don't
1620 take an "object name" any more.
1621 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
1622 (eieio-validate-slot-value, eieio-oset-default)
1623 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
1624 (eieio-generic-call-primary-only): Simplify.
1626 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
1627 Use call-next-method.
1628 (eieio-constructor): Rename from `constructor'.
1629 (eieio-persistent-convert-list-to-object): Drop objname.
1630 (eieio-persistent-validate/fix-slot-value): Don't hardcode
1631 eieio--object-num-slots.
1632 (eieio-named): Use a normal slot.
1633 (slot-missing) <eieio-named>: Remove.
1634 (eieio-object-name-string, eieio-object-set-name-string, clone)
1635 <eieio-named>: New methods.
1637 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
1640 (method-*): Add a "eieio--" prefix to those constants.
1642 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
1644 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
1646 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
1649 `eieio-default-superclass'.
1651 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
1653 * emacs-lisp/eieio-custom.el: Use lexical-binding.
1654 (eieio-object-value-to-abstract): Simplify.
1656 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
1657 (eieio-build-class-alist): Use dolist.
1658 (eieio-all-generic-functions): Adjust to use of hashtables.
1660 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1661 symbol-hashtable. It contains a hashtable instead of an obarray.
1662 (generic-p): Use symbol property `eieio-method-hashtable' instead of
1663 `eieio-method-obarray'.
1664 (generic-primary-only-p, generic-primary-only-one-p):
1665 Slight optimization.
1666 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1667 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1668 (eieio-class-un-autoload): Use autoload-do-load.
1669 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1670 Use new cl-deftype-satisfies. Adjust to use of hashtables.
1671 Don't hardcode the value of eieio--object-num-slots.
1672 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1673 Use a closure rather than a backquoted lambda.
1674 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
1675 function-documentation property.
1676 (eieio-slot-originating-class-p, eieio-slot-name-index)
1677 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1678 (eieio-generic-form): Adjust to use of hashtables.
1679 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1680 additional class argument.
1681 (eieio-generic-call-methodname): Remove, unused.
1683 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1686 2015-01-08 Eli Zaretskii <eliz@gnu.org>
1688 * simple.el (line-move-visual): When converting X pixel coordinate
1689 to temporary-goal-column, adjust the value for right-to-left
1690 screen lines. This fixes vertical-motion, next/prev-line, etc.
1692 2015-01-08 Glenn Morris <rgm@gnu.org>
1694 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
1696 2015-01-07 K. Handa <handa@gnu.org>
1698 * international/ccl.el (define-ccl-program): Improve the docstring.
1700 2015-01-06 Sam Steingold <sds@gnu.org>
1702 * shell.el (shell-display-buffer-actions): Remove,
1703 use `display-buffer-alist' instead.
1705 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
1707 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1710 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1712 * minibuffer.el (completion-category-defaults): New var.
1713 Set unicode-name to use substring completion.
1714 (completion-category-defaults): Set it to nil.
1716 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1718 Add mouse interaction to xref.
1719 * progmodes/xref.el (xref--button-map): New variable.
1720 (xref--mouse-2): New command.
1721 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1722 the inserted references.
1724 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
1726 Less 'make' chatter for lisp dir
1727 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1728 to make it clearer that the caller must specify it.
1729 (compile-onefile): Remove, replacing by ...
1730 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
1731 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1732 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1733 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1734 Use AM_V_GEN to lessen 'make' chatter.
1735 (.el.elc): Omit duplicate comment.
1737 Less 'make' chatter in batch mode
1738 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1739 * emacs-lisp/bytecomp.el (byte-compile-file):
1740 * files.el (save-buffer, basic-save-buffer):
1741 * international/quail.el (quail-update-leim-list-file):
1742 Don't output messages like "Generating ..." in batch mode.
1744 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1746 Unbreak `mouse-action' property in text buttons.
1747 * button.el (push-button): Fix regression from 2012-12-06.
1749 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1751 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1753 * menu-bar.el (menu-bar-goto-menu): Use it.
1755 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1757 * progmodes/xref.el (xref--window-configuration): New variable.
1758 (xref-show-location-at-point): New command.
1759 (xref--restore-window-configuration): New function.
1760 (xref-next-line, xref-prev-line): Delegate to
1761 `xref-show-location-at-point'.
1762 (xref--location-at-point): Don't signal the error.
1763 (xref-goto-xref): Do that here instead.
1764 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1765 to `pre-command-hook'.
1766 (xref--xref-buffer-mode-map): Don't remap `next-line' and
1767 `previous-line'. Additionally bind `xref-next-line' and
1768 `xref-prev-line' to `n' and `p' respectively.
1769 Bind `xref-show-location-at-point' to `C-o'.
1771 2015-01-01 Eli Zaretskii <eliz@gnu.org>
1773 * tool-bar.el (tool-bar-local-item)
1774 (tool-bar-local-item-from-menu): Call force-mode-line-update to
1775 make sure the tool-bar changes show on display.
1777 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
1779 Sync with Tramp 2.2.11.
1781 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1782 Make an alias for `default-toplevel-value' if it doesn't exist.
1784 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1785 Use `tramp-compat-delete-directory'.
1787 * net/trampver.el: Update release number.
1789 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
1791 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1792 for remote files. (Bug#19449)
1794 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1796 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1798 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
1800 Less 'make' chatter in lisp directory
1801 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1802 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1803 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1805 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
1807 * info.el (info-display-manual): Limit the completion alternatives
1808 to currently visited manuals if prefix argument is non-nil.
1810 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
1812 * Makefile.in (semantic): Simplify.
1814 2014-12-30 Juri Linkov <juri@linkov.net>
1816 * net/eww.el (eww-isearch-next-buffer): New function.
1817 (eww-mode): Set multi-isearch-next-buffer-function to it.
1819 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
1821 * progmodes/xref.el (xref-find-definitions): Mention "no
1822 identifier at point" case in the docstring.
1824 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1825 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1826 and `separator-tag-file' items.
1828 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
1830 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1831 This is instead of system-name, which is both wrong here and obsolete.
1832 * desktop.el (desktop-save-frameset):
1833 * dnd.el (dnd-get-local-file-uri):
1834 * nxml/rng-uri.el (rng-uri-file-name-1):
1835 Prefer (system-name) to system-name, and avoid naming
1836 locals 'system-name'.
1837 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
1839 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1841 * menu-bar.el (menu-bar-next-tag-other-window)
1842 (menu-bar-next-tag): Remove.
1844 2014-12-29 K. Handa <handa@gnu.org>
1846 * international/mule.el (make-translation-table-from-alist):
1847 Accept nil or zero-length vector for FROM and TO.
1849 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
1851 * net/eww.el (eww-mode): Truncate overlong lines for prettier
1852 display when resizing.
1854 * net/shr.el (shr-width): Default to using the window width when
1857 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1859 Unbreak jumping to an alias's definition.
1860 * emacs-lisp/find-func.el (find-function-library): Return a pair
1861 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1862 (find-function-noselect): Use it.
1863 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1864 `elisp--xref-identifier-location', incorporate logic from
1865 `elisp--xref-find-definitions', use the changed
1866 `find-function-library' return value.
1868 2014-12-29 Juri Linkov <juri@linkov.net>
1870 * comint.el (comint-history-isearch-message): Use field-beginning
1871 instead of comint-line-beginning-position - that's more fixes for
1872 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1873 (comint-history-isearch-message): Fix args of isearch-message-prefix.
1875 2014-12-29 Juri Linkov <juri@linkov.net>
1877 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1878 (vc-dir-mode-map): Bind it to "\C-o".
1879 (vc-dir-menu-map): Add it to menu.
1881 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1883 * progmodes/etags.el (find-tag-other-window)
1884 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1885 (tags-apropos): Declare obsolete.
1887 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1890 2014-12-28 Eli Zaretskii <eliz@gnu.org>
1892 * international/mule.el (define-coding-system): Fix typos in the
1895 2014-12-28 Kenichi Handa <handa@gnu.org>
1897 * international/mule.el (define-coding-system): Improve the doc
1900 2014-12-28 Ivan Shmakov <ivan@siamics.net>
1902 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1903 elements in tables (bug#19444).
1905 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1908 2014-12-28 Juri Linkov <juri@linkov.net>
1910 * vc/compare-w.el: Require diff-mode for diff faces.
1911 (compare-windows-removed, compare-windows-added): New faces
1912 inheriting from diff faces.
1913 (compare-windows): Define obsolete face alias.
1914 (compare-windows-highlight): Replace face `compare-windows' with
1915 new faces `compare-windows-added' and `compare-windows-removed'
1917 (compare-windows-get-recent-window): Signal an error when
1918 no other window is found (bug#19170).
1920 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1922 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1923 Skip features that have no sources.
1925 * simple.el (execute-extended-command):
1926 When `suggest-key-bindings' is nil, don't.
1928 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1930 python.el: Native readline completion.
1931 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1932 (python-shell-completion-native-enable)
1933 (python-shell-completion-native-output-timeout): New defcustoms.
1934 (python-shell-completion-native-interpreter-disabled-p)
1935 (python-shell-completion-native-try)
1936 (python-shell-completion-native-setup)
1937 (python-shell-completion-native-turn-off)
1938 (python-shell-completion-native-turn-on)
1939 (python-shell-completion-native-turn-on-maybe)
1940 (python-shell-completion-native-turn-on-maybe-with-msg)
1941 (python-shell-completion-native-toggle): New functions.
1942 (python-shell-completion-native-get-completions): New function.
1943 (python-shell-completion-at-point): Use it.
1945 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1947 python.el: Enhance shell user interaction and deprecate
1948 python-shell-get-or-create-process.
1949 * progmodes/python.el (python-shell-get-process-or-error):
1951 (python-shell-with-shell-buffer): Use it.
1952 (python-shell-send-string, python-shell-send-region)
1953 (python-shell-send-buffer, python-shell-send-defun)
1954 (python-shell-send-file, python-shell-switch-to-shell): Use it.
1955 Add argument MSG to display user-friendly message when no process
1957 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
1958 (python-shell-make-comint): Rename argument SHOW from POP.
1959 Use display-buffer instead of pop-to-buffer.
1960 (run-python): Doc fix. Return process.
1961 (python-shell-get-or-create-process): Make obsolete.
1963 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1965 * progmodes/python.el (python-shell-buffer-substring):
1966 Handle cornercase when region sent starts at point-min.
1968 2014-12-27 Eli Zaretskii <eliz@gnu.org>
1970 * language/misc-lang.el (composition-function-table): Add Syriac
1971 characters and also ZWJ/ZWNJ.
1972 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
1975 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1977 python.el: Fix message when sending region.
1978 * progmodes/python.el (python-shell-send-region): Rename argument
1979 send-main from nomain. Fix message.
1980 (python-shell-send-buffer): Rename argument send-main from arg.
1982 python.el: Cleanup temp files even with eval errors.
1983 * progmodes/python.el (python-shell-send-file): Make file-name
1984 mandatory. Fix temp file removal in the majority of cases.
1986 python.el: Handle file encoding for shell.
1987 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
1988 (python-shell--save-temp-file): Write file with proper encoding.
1989 (python-shell-buffer-substring): Add coding cookie for detected
1990 encoding to generated content. Fix blank lines when removing
1992 (python-shell-send-file): Handle file encoding.
1993 (python-info-encoding-from-cookie)
1994 (python-info-encoding): New functions.
1996 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
1998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1999 Use `tramp-rsh-end-of-line', it ought to be more robust.
2001 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2003 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2006 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2008 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2010 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2011 as end-of-line delimeter for passwords, when running on MS Windows.
2013 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2016 of indent-line-function (bug#19433).
2018 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2020 Fix line numbers on Python shell.
2021 * progmodes/python.el (python-shell--save-temp-file): Do not
2022 append coding cookie.
2023 (python-shell-send-string): Generalize for
2024 python-shell-send-region.
2025 (python--use-fake-loc): Delete var.
2026 (python-shell-buffer-substring): Cleanup fake-loc logic.
2027 (python-shell-send-region): Remove fake-loc logic, simplify.
2029 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2031 * progmodes/python.el (python-indent-post-self-insert-function):
2032 Make colon to re-indent only for dedenters, handling
2033 multiline-statements gracefully.
2035 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2037 * net/tramp.el (tramp-handle-insert-file-contents):
2038 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
2040 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2042 * net/tramp-sh.el (tramp-send-command-and-read): New optional
2044 (tramp-get-remote-path): Use it.
2046 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2048 * subr.el (redisplay-dont-pause): Mark as obsolete.
2050 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2052 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2053 (tramp-accept-process-output): Use nil as argument for
2054 `accept-process-output', when there is a gateway prepended.
2056 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
2058 (tramp-gw-open-connection): Set process coding system 'binary.
2059 (tramp-gw-open-network-stream): Handle HTTP error 403.
2061 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
2063 (tramp-maybe-open-connection): Set connection property "gateway".
2065 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * subr.el (sit-for): Tweak docstring (bug#19381).
2069 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2071 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
2072 stage to after `diff-index' (bug#19386).
2074 2014-12-27 João Távora <joaotavora@gmail.com>
2076 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
2077 `electric-pair-mode' (bug#19356).
2079 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2081 elisp-xref-find: Don't create buffers eagerly.
2083 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
2084 into `elisp--company-location'.
2085 (elisp--identifier-completion-table): Rename to
2086 `elisp--identifier-completion-table', and do not include just any
2087 symbols with a property list.
2088 (elisp-completion-at-point): Revert the 2014-12-25 change.
2089 (elisp--xref-identifier-file): New function.
2090 (elisp--xref-find-definitions): Use it.
2092 * emacs-lisp/find-func.el (find-function-library): New function,
2093 extracted from `find-function-noselect'.
2095 * progmodes/xref.el (xref-elisp-location): New class.
2096 (xref-make-elisp-location): New function.
2097 (xref-location-marker): New implementation.
2099 2014-12-27 Juri Linkov <juri@linkov.net>
2101 * minibuffer.el (minibuffer-completion-help):
2102 Use shrink-window-if-larger-than-buffer in window-height
2103 when temp-buffer-resize-mode is nil.
2105 * window.el (with-displayed-buffer-window): Remove window-height
2106 from the action alist in the temp-buffer-window-show call
2107 when window-height is handled explicitly afterwards (bug#19355).
2109 2014-12-27 Juri Linkov <juri@linkov.net>
2111 Support subdirectories when saving places in dired.
2112 * saveplace.el (toggle-save-place, save-place-to-alist)
2113 (save-places-to-alist, save-place-dired-hook):
2114 Use dired-current-directory instead of dired-directory (bug#19436).
2115 (save-place-dired-hook): Add check for alist to make the new
2116 format future-proof to allow other possible formats.
2118 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2120 python.el: Generate clearer shell buffer names.
2121 * progmodes/python.el (python-shell-get-process-name)
2122 (python-shell-internal-get-process-name): Use `buffer-name`.
2123 (python-shell-internal-get-or-create-process): Simplify.
2125 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
2127 Add basic xref apropos implementation to elisp-mode.
2129 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
2130 Filter out nil results.
2131 (elisp--xref-find-apropos): New function.
2132 (elisp-xref-find): Use it.
2134 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
2136 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
2138 * dired-aux.el (dired-maybe-insert-subdir):
2139 Make dired-maybe-insert-subdir always skip trivial files.
2141 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
2142 Dmitry Gutov <dgutov@yandex.ru>
2144 Consolidate cross-referencing commands.
2146 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
2147 `C-x 5 .' from etags.el to xref.el.
2149 * progmodes/xref.el: New file.
2151 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
2152 (elisp--identifier-location): New function, extracted from
2153 `elisp--company-location'.
2154 (elisp--company-location): Use it.
2155 (elisp--identifier-completion-table): New variable.
2156 (elisp-completion-at-point): Use it.
2157 (emacs-lisp-mode): Set the local values of `xref-find-function'
2158 and `xref-identifier-completion-table-function'.
2159 (elisp-xref-find, elisp--xref-find-definitions)
2160 (elisp--xref-identifier-completion-table): New functions.
2162 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
2163 favor of `xref--marker-ring'.
2164 (tags-lazy-completion-table): Autoload.
2165 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
2166 (find-tag-noselect): Use `xref-push-marker-stack'.
2167 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
2168 (etags--xref-limit): New constant.
2169 (etags-xref-find, etags--xref-find-definitions): New functions.
2171 2014-12-25 Martin Rudalics <rudalics@gmx.at>
2173 * cus-start.el (resize-mini-windows): Make it customizable.
2175 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
2177 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
2178 to (info "(emacs)Contributing"). (Bug#19299)
2180 2014-12-24 Martin Rudalics <rudalics@gmx.at>
2182 * window.el (mouse-autoselect-window-position-1): New variable.
2183 (mouse-autoselect-window-cancel)
2184 (mouse-autoselect-window-select, handle-select-window):
2185 With delayed autoselection select window only if mouse moves after
2186 selecting its frame.
2188 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
2190 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
2191 remote file names. (Bug#18782)
2193 2014-12-23 Sam Steingold <sds@gnu.org>
2195 * shell.el (shell-display-buffer-actions): New user option.
2196 (shell): Pass it to `pop-to-buffer' instead of hard-coding
2197 `pop-to-buffer-same-window'.
2199 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
2201 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
2202 (js-syntax-propertize-regexp): Use it to recognize "slash in
2203 a character class" (bug#19397).
2205 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * completion.el: Use post-self-insert-hook (bug#19400).
2208 (completion-separator-self-insert-command)
2209 (completion-separator-self-insert-autofilling): Remove.
2210 (completion-separator-chars): New var.
2211 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
2212 of changing the keymap.
2213 (completion--post-self-insert): New function.
2214 (dynamic-completion-mode): Use it instead of rebinding keys.
2215 (cmpl--completion-string): Rename from completion-string.
2216 (add-completion-to-head, delete-completion): Let-bind it explicitly.
2218 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
2220 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
2221 by leveraging `syntax-ppss'.
2223 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
2225 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
2227 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp-sh.el (tramp-histfile-override): Add :version.
2231 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
2233 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
2235 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
2237 * let-alist.el (let-alist): Enable access to deeper alists by
2238 using dots inside the dotted symbols.
2240 2014-12-19 Alan Mackenzie <acm@muc.de>
2242 Make C++11 uniform init syntax work.
2243 New keywords "final" and "override".
2244 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
2246 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
2248 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
2249 carefully for "are we at a declarator?" using
2250 c-back-over-member-initializers.
2251 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
2252 and "override" in the C++ value.
2254 2014-12-19 Martin Rudalics <rudalics@gmx.at>
2256 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
2258 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
2260 * net/nsm.el (nsm-save-host): Don't save the host name twice
2263 2014-12-18 Sam Steingold <sds@gnu.org>
2265 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
2266 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
2267 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
2268 * menu-bar.el (menu-bar-buffer-vector): Extract from
2269 `menu-bar-update-buffers'.
2270 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
2271 (buffer-menu-open): New user command, bound globally to C-f10,
2272 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
2273 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
2274 convert the value returned by `mouse-buffer-menu-map' to a list
2275 acceptable to `popup-menu' for `buffer-menu-open'.
2277 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
2279 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
2281 2014-12-18 Sam Steingold <sds@gnu.org>
2283 * emacs-lisp/package.el: Avoid compilation warning by declaring
2284 the `find-library-name' function.
2285 (package-activate-1): Fix the `with-demoted-errors' calls:
2286 the first argument must be a string literal.
2288 2014-12-18 Martin Rudalics <rudalics@gmx.at>
2290 Add code for "preserving" window sizes.
2291 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
2293 (dired-mark-pop-up): Preserve size of window showing marked files.
2294 * electric.el (Electric-pop-up-window):
2295 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
2296 with `preserve-size' t.
2297 * minibuffer.el (minibuffer-completion-help):
2298 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
2299 (Bug#19355). Preserve size of completions window.
2300 * register.el (register-preview): Preserve size of register
2302 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
2303 with `preserve-size' t (Bug#1291).
2304 * window.el (with-displayed-buffer-window): Add calls to
2305 `window-preserve-size'.
2306 (window-min-pixel-size, window--preservable-size)
2307 (window-preserve-size, window-preserved-size)
2308 (window--preserve-size, window--min-size-ignore-p): New functions.
2309 (window-min-size, window-min-delta, window--resizable)
2310 (window--resize-this-window, split-window-below)
2311 (split-window-right): Amend doc-string.
2312 (window--min-size-1, window-sizable, window--size-fixed-1)
2313 (window-size-fixed-p, window--min-delta-1)
2314 (frame-windows-min-size, window--max-delta-1, window-resize)
2315 (window--resize-child-windows, window--resize-siblings)
2316 (enlarge-window, shrink-window, split-window): Handle preserving
2318 (adjust-window-trailing-edge): Handle preserving window
2319 sizes. Signal user-error instead of an error when there's no
2320 window above or below.
2321 (window--state-put-2): Handle horizontal scroll bars.
2322 (window--display-buffer): Call `preserve-size' if asked for.
2323 (display-buffer): Mention `preserve-size' alist member in doc-string.
2324 (fit-window-to-buffer): New argument PRESERVE-SIZE.
2325 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
2326 scroll bar on ispell's windows. Don't count window lines and
2327 don't deal with dedicated windows.
2328 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
2329 do the window handling.
2330 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
2331 (ispell-display-buffer): New function to reuse, create and fit
2332 window to ispell's buffers. (Bug#3413)
2334 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
2336 * emacs-lisp/package.el (package-activate): Do not re-activate or
2337 reload the dependencies (bug#19390).
2339 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
2342 (c-update-modeline):
2343 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
2344 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
2345 (c-mode-base-map): Use c-subword-mode.
2347 2014-12-18 Eli Zaretskii <eliz@gnu.org>
2349 * international/mule-diag.el (describe-font-internal):
2350 Display additional info returned by font-info.
2352 * linum.el (linum--face-width): Rename from linum--face-height,
2353 and use the new functionality of font-info.
2354 (linum-update-window): Use linum--face-width and frame-char-width,
2355 instead of approximating with height.
2357 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
2359 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
2360 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
2362 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
2364 (package-activate): Call itself on dependencies on PACKAGE with
2365 the same FORCE argument. Pass FORCE as RELOAD into
2366 `package-activate-1' (bug#19390).
2368 2014-12-17 Sam Steingold <sds@gnu.org>
2370 * emacs-lisp/package.el (package--list-loaded-files):
2371 Handle `(nil ...)' elements in `load-history'.
2373 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
2375 * net/tramp-sh.el (tramp-histfile-override): New variable.
2376 (tramp-open-shell, tramp-maybe-open-connection): Use it.
2378 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
2380 * vc/vc.el: Improve `dir-status-files' description.
2382 * emacs-lisp/package.el (package--list-loaded-files): Don't call
2383 file-truename on load-history elements (bug#19390).
2385 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
2387 * emacs-lisp/seq.el: New file.
2389 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
2392 is 0 and there is no input pending.
2394 2014-12-15 Juri Linkov <juri@linkov.net>
2396 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
2397 only on the return value (bug#19383).
2399 2014-12-15 Juri Linkov <juri@linkov.net>
2401 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
2402 the wrapped search by the length of the search string to be able
2403 to lazy-highlight the whole search string at point (bug#19353).
2405 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2407 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
2409 2014-12-14 Alan Mackenzie <acm@muc.de>
2411 * cus-start.el (all): Add fast-but-imprecise-scrolling.
2413 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
2415 * let-alist.el: Add lexical binding.
2417 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
2419 * emacs-lisp/package.el (package-menu-mode): Use an extra column
2420 for the "Version" column, to accomodate date-and-time-based versions.
2422 2014-12-14 Cameron Desautels <camdez@gmail.com>
2424 * cus-edit.el (custom-unsaved-options): New function, extracted
2425 from `customize-unsaved'.
2426 (custom-unsaved): Use it.
2427 (custom-prompt-customize-unsaved-options): New function.
2430 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2432 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
2434 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2436 Move ASYNC argument to the `diff' VC command to the fifth
2437 position, for better compatibility with existing third-party code,
2440 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
2441 backend `diff' command in the last position.
2443 * vc/vc-svn.el (vc-svn-diff):
2444 * vc/vc-src.el (vc-src-diff):
2445 * vc/vc-sccs.el (vc-sccs-diff):
2446 * vc/vc-rcs.el (vc-rcs-diff):
2447 * vc/vc-mtn.el (vc-mtn-diff):
2448 * vc/vc-hg.el (vc-hg-diff):
2449 * vc/vc-git.el (vc-git-diff):
2450 * vc/vc-dav.el (vc-dav-diff):
2451 * vc/vc-cvs.el (vc-cvs-diff):
2452 * vc/vc-bzr.el (vc-bzr-diff):
2453 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
2455 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
2457 * emacs-lisp/cconv.el (cconv--analyze-use):
2458 Rename from cconv--analyse-use.
2459 (cconv--analyze-function): Rename from cconv--analyse-function.
2460 (cconv-analyze-form): Rename from cconv-analyse-form.
2462 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
2464 * net/shr.el (shr-next-link): Don't error out at eob.
2466 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2468 * isearch.el (isearch-open-necessary-overlays): Open overlay
2469 ending at point (bug#19333).
2471 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2473 * net/shr.el (shr-fold-text): New function.
2474 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
2476 (shr-fold-text): Inhibit state from being altered.
2478 * files.el (directory-files-recursively): Really check whether
2480 (directory-name-p): New function.
2481 (directory-files-recursively): Use it.
2483 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
2485 * emacs-lisp/package.el (package--list-loaded-files): New function
2486 to list files in a given directory which correspond to already
2488 (package-activate-1): Reload files given by `package--list-loaded-files'.
2489 Fix bug#10125, bug#18443, and bug#18448.
2491 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
2493 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
2495 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
2497 * simple.el (password-word-equivalents): Add "passcode", used for
2498 numeric secrets like PINs or RSA tokens.
2500 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
2502 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
2503 order to determine `tramp-own-remote-path'.
2505 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2507 * progmodes/python.el (python-shell-parse-command):
2508 Quote `python-shell-interpreter`. (Bug#19289)
2510 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
2513 (python-indent-levels): Document extra value.
2514 (python-indent-calculate-indentation): Return `noindent' in strings.
2515 (python-indent-post-self-insert-function)
2516 (python-indent-calculate-levels): Handle new value.
2518 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2520 * net/network-stream.el (network-stream-open-starttls): No need to
2521 check for the availability of `gnutls-available-p'.
2523 * files.el (directory-files-recursively): Don't follow symlinks to
2526 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
2528 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
2529 * vc/vc.el: latest-on-branch-p is no longer a public method.
2531 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
2532 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
2533 Remove `rollback' method, to be replaced in the future by uncommit.
2535 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
2537 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
2538 that there is empty output.
2540 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
2543 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
2545 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
2547 * let-alist.el: Add new package and macro.
2549 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
2551 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
2552 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
2553 it's a shoot-self-in-foot archaism. Workfiles are always kept.
2555 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
2557 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
2558 trouble with ls over ftp. These flags result in ls returning no
2559 output, causing Tramp-breakage. (bug#19192)
2561 2014-12-10 Andreas Schwab <schwab@suse.de>
2563 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
2565 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2567 * files.el (directory-files-recursively):
2568 Use `file-name-all-completions' instead of `directory-files' for
2571 * net/shr.el (shr-tag-object): Don't bug out on text elements in
2574 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
2576 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
2578 (ruby-toggle-string-quotes): New command that allows you to quickly
2579 toggle between single-quoted and double-quoted string literals.
2581 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
2583 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
2584 list, avoids problems witt names containing hyphens.
2586 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
2588 Sync with upstream verilog-mode revision aa4b777.
2589 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2590 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
2591 (verilog-set-auto-endcomments): Automatically comment property/
2592 endproperty blocks to match other similar blocks like sequence/
2593 endsequence, function/endfunction, etc. Reported by Alex Reed.
2594 (verilog-set-auto-endcomments): Fix end comments for functions of
2595 type void, etc. Detect the function- or task-name when
2596 auto-commenting blocks that lack an explicit portlist.
2597 Reported by Alex Reed.
2598 (verilog-nameable-item-re): Fix nameable items that can have an
2599 end-identifier to include endchecker, endgroup, endprogram,
2600 endproperty, and endsequence. Reported by Alex Reed.
2601 (verilog-preprocessor-re, verilog-beg-of-statement):
2602 Fix indentation of property/endproperty around pre-processor
2603 directives. Reported by Alex Reed.
2604 (verilog-label-be): When auto-commenting a buffer, consider
2605 auto-comments on all known keywords (not just a subset thereof).
2606 Reported by Alex Reed.
2607 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
2608 Reported by Alex Reed.
2609 (verilog-beg-of-statement-1, verilog-at-constraint-p):
2610 Fix hanging with many curly-bracket pairs, bug663.
2611 (verilog-do-indent): Fix electric tab deleting form-feeds.
2612 Note caused by indent-line-to deleting tabls pre 24.5.
2613 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
2614 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
2615 (verilog-read-always-signals, verilog-auto-sense-sigs)
2616 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
2617 bug844. Reported by Greg Hilton.
2619 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
2621 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
2622 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
2623 'foreach', and 'do' keywords.
2624 (verilog-endcomment-reason-re, verilog-beg-of-statement):
2625 Fix labeling do-while blocks, bug842.
2626 (verilog-backward-token): Fix indenting sensitivity lists with
2627 named events, bug840.
2629 2014-12-09 Reto Zimmermann <reto@gnu.org>
2631 Sync with upstream vhdl mode v3.36.1.
2632 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2633 (vhdl-compiler-alist): Anchor all error regexps.
2634 (vhdl-compile-use-local-error-regexp): Change default to nil.
2635 (vhdl-asort, vhdl-anot-head-p): Remove.
2636 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
2637 Remove optional argument of vhdl-aget and update all callers.
2638 (vhdl-import-project): Also set `vhdl-compiler'.
2640 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642 * files.el (find-files): New function.
2644 * net/shr.el (shr-dom-print): Don't print comments.
2645 (shr-tag-svg): Give inline SVG images the right type.
2647 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
2648 certificates in the header line.
2649 (eww-invalid-certificate, eww-valid-certificate): New faces.
2651 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
2653 * progmodes/python.el (inferior-python-mode):
2654 Set `comint-prompt-read-only` to `t` only locally.
2656 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2658 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2659 (nsm-format-certificate): Include more data about the connection.
2660 (nsm-query): Fill the text to that it looks nicer.
2661 (nsm-check-protocol): Also warn if using SSL3 or older.
2663 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2667 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2669 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2671 * info.el (Info-mode-map): Remove left-over binding.
2673 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2674 (avl-tree--root): Remove redundant defsetf.
2676 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2678 * net/nsm.el (network-security-level): Remove the detailed
2679 description, which was already outdated, and refer the users to
2681 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2684 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
2686 * net/eww.el (eww-buffers-mode): New major mode.
2687 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2688 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2689 New commands/functions (bug#19131).
2691 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2693 * net/gnutls.el (gnutls-negotiate): Ignore files found via
2694 'file-name-handler-alist' since the gnutls library can't use those
2697 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
2699 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2700 when FILES is non-nil (bug#19304).
2702 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
2704 * vc/vc-arch.el: Move to obsolete directory so a test framework
2705 won't trip over bit-rot in it. There has been no Arch snapshot
2708 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2710 * net/eww.el (eww-follow-link): Revert prefix behaviour to
2712 (eww-copy-page-url): Add doc string.
2714 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2716 * net/eww.el (eww): Move history recording here...
2717 (eww-browse-url): ... from here (bug#19253).
2719 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2720 iterating over possible buffer names.)
2722 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2724 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2725 (eww-current-buffer): Compilation fix for bug#18550 patch.
2727 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2729 * net/eww.el (eww-list-histories): Restore the history in the
2730 correct buffer (bug#18550).
2732 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2734 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2735 displaying shortened titles first (bug#16398).
2737 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
2739 * progmodes/python.el: Recognize docstrings.
2740 (python-docstring-at-p, python-font-lock-syntactic-face-function):
2742 (python-mode): Use them.
2744 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
2746 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2747 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2748 (newsticker--treeview-create-groups-menu)
2749 (newsticker--treeview-create-tree-menu): Remove.
2750 (newsticker--treeview-tree-open-menu): New.
2751 (newsticker-treeview-tree-click): Pass event to
2752 `newsticker-treeview-tree-do-click'.
2753 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2755 2014-12-05 Juri Linkov <juri@linkov.net>
2757 * comint.el (comint-history-isearch-search)
2758 (comint-history-isearch-wrap): Use field-beginning instead of
2759 comint-line-beginning-position.
2760 (comint-send-input): Go to the end of the field instead of the end
2761 of the line to accept whole multi-line input.
2762 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2764 2014-12-05 Juri Linkov <juri@linkov.net>
2766 * minibuffer.el (minibuffer-completion-help):
2767 Compare selected-window with minibuffer-window to check whether
2768 completions should be displayed near the minibuffer. (Bug#17809)
2769 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2771 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
2773 * vc/vc-mtn.el (vc-mtn-root):
2774 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2776 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2778 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2779 of the whole pipe when indenting an opening keyword after a |.
2780 Generalize this treatment to opening keywords like "while" (bug#18031).
2782 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * simple.el (newline): Place the hook buffer-locally,
2785 to make sure it's first.
2787 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2788 Fix handling of symbols with different syntax at beginning/end or with
2789 symbol rather than word syntax.
2791 2014-12-05 Eli Zaretskii <eliz@gnu.org>
2793 * simple.el (line-move): If noninteractive, call line-move-1, not
2794 forward-line, since the former is compatible with line-move-visual
2795 both in terms of the column to which it moves and the return
2798 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2800 * vc/ediff-init.el (ediff-odd-p): Remove.
2801 (ediff-background-face): Use cl-oddp instead.
2802 (ediff-buffer-live-p): Make it a defsubst.
2804 * tooltip.el (tooltip-region-active-p): Remove.
2806 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2807 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2809 * fringe.el (fringe-bitmap-p): Make it a plain function.
2811 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2812 (class-p, generic-p, eieio-object-p, class-abstract-p):
2813 Make them defsubst, so as to avoid corner case problems where
2814 the arg might be evaluated in the condition-case, or it can't be passed
2815 to higher-order functions like `cl-some'.
2817 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2819 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2820 and remove old menu-related code.
2822 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2824 * net/eww.el (eww-display-pdf): Let mailcap determine how to
2825 display PDF files (bug#19270).
2827 2014-12-05 Juri Linkov <juri@linkov.net>
2829 Compare with the most recent window by default.
2830 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2831 (compare-windows-get-recent-window)
2832 (compare-windows-get-next-window): New functions.
2833 (compare-windows, compare-windows-sync-default-function):
2834 Use `compare-windows-get-window-function' instead of `next-window'.
2835 (compare-windows): Add diff/match messages with region boundaries.
2838 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2840 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2842 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2844 * net/shr.el (shr--extract-best-source): Ignore non-text children.
2846 2014-12-04 Eli Zaretskii <eliz@gnu.org>
2848 Implement copying of a buffer portion while preserving visual order.
2849 * simple.el (bidi-directional-controls-chars)
2850 (bidi-directional-non-controls-chars): New variables.
2851 (squeeze-bidi-context-1, squeeze-bidi-context)
2852 (line-substring-with-bidi-context)
2853 (buffer-substring-with-bidi-context): New functions.
2855 * files.el (file-tree-walk): Doc fix.
2857 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
2858 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2860 * autoinsert.el (auto-insert-alist): Update C/C++ header and
2861 program support to match more extensions. Replace non-alnum
2862 characters when generating include guards (headers) and check for
2863 more extensions when generating includes (programs)
2866 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
2868 * files.el (file-tree-walk): Fix docstring.
2870 2014-12-03 Karl Fogel <kfogel@red-bean.com>
2872 Fix bug whereby saving files hung in VC hook.
2874 Saving a buffer visiting a file under SVN control would hang if
2875 the remote repository were unreachable, because the VC hooks tried
2876 to run "svn status -u" on the file, where the "-u" tells svn to
2877 get update information from the remote repository.
2878 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2880 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2881 argument and always pass "-v" to "svn status", never "-u".
2883 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2885 * emacs-lisp/inline.el: Fix up copyright header.
2886 (inline-quote, inline-const-p, inline-const-val, inline-error):
2887 Silence compiler warnings.
2888 (inline-letevals): Fix edebug spec.
2889 (inline--testconst-p): Consider lambda expressions as const-p.
2890 (inline--getconst-val): Use inline--testconst-p.
2892 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2893 and change default to stay in the minibuffer when called from
2894 the minibuffer (bug#19250).
2895 (lazy-completion-table): Use this new argument to preserve the
2898 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2899 incorrect lexical elements (bug#19250).
2901 2014-12-03 A. N. Other <none@example.com>
2903 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2905 2014-12-02 Glenn Morris <rgm@gnu.org>
2907 * whitespace.el (whitespace-big-indent-regexp): Add :version.
2909 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2911 * subr.el (filter): New macro. Because it's just silly for a Lisp
2912 not to have this in 2014. And VC needs it.
2914 * vc.el: All backends: API simplification: Abolish dir-status.
2915 It's replaced by dir-status-files.
2917 * vc.el: All backends: API simplification: Remove 4th
2918 'default-state' argument from vc-dir-status files and its backend
2919 methods - no backend method ever set it. It was used only in the
2920 fallback method to to set a default of 'up-to-date, though a
2921 convoluted call chain obscured this.
2923 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2925 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2926 improving behavior on directories using multiple file-oriented VCSes.
2928 * vc/vc.el: All backends: API simplification; clear-headers
2929 is no longer a public method. It is now local to the one place
2930 it's used, in the RCS steal-lock method.
2932 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2934 * vc/vc.el: In all backends: API simplification; could-register
2935 is no longer a public method. (vc-cvs.el still has a private
2938 * vc/vc.el: In all backends: API cleanup; the backend diff method
2939 takes an explicit async flag. This eliminates a particularly ugly
2942 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2943 VC randomly/unpredictably fails without it; cause not yet established.
2945 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2947 Merge some of the differences from the standalone CC-mode.
2948 The main change is to only use the `category' text-property only when
2949 available. For that many calls are changed to use c-get-char-property,
2950 c-next-single-property-change, c-sc-scan-lists,
2951 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
2953 * progmodes/cc-mode.el (c-just-done-before-change): New var.
2954 (c-basic-common-init): Initialize it.
2955 (c-common-init): Only use mode-require-final-newline when available.
2956 (c-before-change): Check and set c-just-done-before-change.
2957 (c-after-change): Re-set c-just-done-before-change.
2958 (c-advise-fl-for-region): New macro.
2959 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
2960 (font-lock-after-change-function, jit-lock-after-change):
2963 * progmodes/cc-langs.el (c-modified-constant): New lang var.
2964 (c-known-type-key): Don't make a list just to throw it away.
2966 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
2967 Handle the case where categories are not available.
2968 (c-record-parse-state-state, c-replay-parse-state-state):
2969 Handle marker values.
2970 (c-before-change-check-<>-operators): Look for the `syntax-table'
2971 property rather than for the corresponding `category'.
2972 (c-looking-at-decl-block): Remove unused var
2973 `c-disallow-comma-in-<>-arglists'.
2974 (c-forward-<>-arglist-recur): Remove unused var
2975 `orig-record-found-types'.
2977 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
2978 (c-use-category): New const.
2979 (c-next-single-property-change): New macro.
2980 (c-region-is-active-p): Prefer region-active-p when available.
2981 (c-search-backward-char-property): Fix old min/max typo; probably
2983 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
2984 Turn them into macros that obey c-use-category.
2985 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
2986 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
2987 (c-sc-scan-lists, c-sc-parse-partial-sexp)
2988 (c-looking-at-non-alphnumspace): New macros.
2989 (c-sc-parse-partial-sexp-no-category): New function.
2990 (c-emacs-features): Add `category-properties' element.
2992 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2993 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
2995 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
2996 (c-indent-line-or-region): Use c-region-is-active-p.
2998 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
2999 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3000 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3001 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3002 (cc-bytecomp-obsolete-fun): Delete unused functions.
3004 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3006 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3008 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3011 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3014 current "project" rather than just the current directory.
3015 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3016 the file names make sense.
3018 * vc/smerge-mode.el (smerge-swap): New command.
3020 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3022 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
3024 * net/newst-treeview.el (newsticker--treeview-item-show):
3025 Check window liveliness before measuring its width.
3027 * net/newst-backend.el (newsticker--get-news-by-url-callback):
3028 Pass correct status to `newsticker--sentinel-work'.
3029 (newsticker--sentinel-work): Use "newsticker--download-error" as
3030 guid in order to prevent multiple "Could not download..."
3031 messages. Fixes bug#19166.
3033 2014-12-01 Ivan Shmakov <ivan@siamics.net>
3035 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3036 correct buffer (bug#19225).
3038 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3040 * net/nsm.el (network-security-level): Change the default to `medium'.
3042 * net/eww.el (eww): Leave point in a place that doesn't cause
3043 scrolling when displaying "Loading...".
3045 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3047 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3048 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3049 'merge-branch'. Prompting for merge revisions is pushed down to
3050 the back ends; this fixes a layering violation that caused bad
3053 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3054 vc-stay-local-p and repository-hostname are no longer public
3055 methods. Only the CVS and SVN backends used these, and the SVN
3056 support was conditioned out because svn status -v is too slow.
3057 The CVS back end retains this machinery and the vc-stay-local
3058 configuration variable now only affects it.
3060 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3062 * emacs-lisp/inline.el: New file.
3064 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3066 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3067 vc-state-heuristic is no longer a public method, having been
3068 removed where it is redundant, unnecessary, or known buggy.
3069 This eliminated all backends except CVS. Eliminates bug#7850.
3071 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
3072 Eliminate vc-mistrust-permissions. It was only relevant to the
3073 RCS and SCCS back ends and defaulted to t. Code now always
3074 mistrusts permissions - by actual measurement the effect on
3075 performance is negligible. As a side effect bug#11490 is now
3078 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3079 vc-workfile-unchanged-p is no longer a public method (but the RCS
3080 and SCCS back ends retain it as a private method used in state
3081 computation). This method was redundant with vc-state and usually
3082 implemented as a trivial call to same. Fixes the failure mode
3083 described in bug#694.
3085 * vc/vc.el: All backends: API simplification; init-revision is
3086 gone, and vc-registered functions no longer take an
3087 initial-revision argument.
3089 2014-11-29 Glenn Morris <rgm@gnu.org>
3091 * vc/vc-src.el (vc-src, vc-src-diff-switches)
3092 (vc-src-master-templates): Fix :version tags.
3094 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
3096 * outline.el (outline-move-subtree-down): Refactor and improve code.
3098 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3099 Stefan Monnier <monnier@iro.umontreal.ca>
3101 * outline.el (outline-move-subtree-down): Make sure we can move
3102 forward to find the end of the subtree and the insertion point
3105 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3107 * progmodes/python.el (python-shell-completion-setup-code):
3108 Use __builtin__ module (or builtins in Python 3) and catch all errors
3109 when importing readline and rlcompleter.
3111 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3113 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
3114 (todo-revert-buffer): New function.
3115 (todo-modes-set-1): Use it as the buffer-local value of
3116 revert-buffer-function.
3118 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3120 * calendar/todo-mode.el (todo-mode): If called interactively, just
3121 display a message saying to call todo-show to enter Todo mode
3124 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
3126 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
3129 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
3132 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3134 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
3135 remote `buffer-file-name'.
3137 2014-11-29 Leo Liu <sdl.web@gmail.com>
3139 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
3141 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3143 Set PYTHONUNBUFFERED on shell startup.
3145 * progmodes/python.el (python-shell-unbuffered): New var.
3146 (python-shell-calculate-process-environment): Use it.
3148 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3150 * net/tramp.el (tramp-action-password): Clean password on subsequent
3151 attempts even if there was no wrong password indication. (Bug#19047)
3153 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
3155 (tramp-open-connection-setup-interactive-shell): No need to check
3156 for nil as `tramp-get-remote-locale' return value.
3158 2014-11-29 Eli Zaretskii <eliz@gnu.org>
3160 * vc/vc-git.el (vc-git-command, vc-git--call):
3161 Bind coding-system-for-read and coding-system-for-write to
3162 vc-git-commits-coding-system.
3163 (vc-git-previous-revision): Use "~1" instead of "^", since the
3164 latter is a special character for MS-Windows system shells.
3166 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3168 Improve XEmacs compatibility.
3170 * net/tramp.el (tramp-autoload-file-name-handler):
3171 Wrap `temporary-file-directory' by `symbol-value', it doesn't
3173 (tramp-read-passwd): Don't use `with-timeout-suspend' and
3174 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
3175 (tramp-time-less-p, tramp-time-subtract): Remove functions.
3176 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
3177 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
3178 * net/tramp-cache.el (tramp-get-file-property):
3179 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
3180 Use `time-less-p' and `time-subtract, respectively.
3182 * net/tramp-adb.el (top): Do not require time-date.el.
3184 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
3186 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3187 Check, whether `utf-8' is a valid coding system.
3189 2014-11-29 Eli Zaretskii <eliz@gnu.org>
3191 * vc/vc.el (vc-retrieve-tag): Doc fix.
3193 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
3198 2014-11-28 Martin Rudalics <rudalics@gmx.at>
3200 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
3201 * help.el (help-window-old-frame): New variable.
3202 (help-window-select): Default to nil (Bug#11039).
3204 (help-window-setup): When the help window appears on another
3205 frame and `help-window-select' is non-nil, give that frame input
3206 focus too (Bug#19012).
3207 (with-help-window): Store selected frame in
3208 help-window-old-frame.
3210 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
3212 * net/newst-treeview.el (newsticker--treeview-load): Take care of
3213 nil value for `newsticker-groups-filename'.
3215 2014-11-28 Daiki Ueno <ueno@gnu.org>
3217 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3218 (epa-sign-region, epa-encrypt-region):
3219 Use `epg-context-set-{passphrase,progress}-callback', instead of
3220 `setf'. This partially reverts commit 9e48a95c (bug#19150).
3221 Reported by José A. Romero L.
3223 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3225 * net/eww.el (eww-restore-history):
3226 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
3228 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
3230 * net/newst-backend.el (newsticker--parse-atom-1.0):
3231 Handle embedded (x)html in summary node.
3233 2014-11-27 Sam Steingold <sds@gnu.org>
3235 * menu-bar.el (menu-bar-open): When everything else fails,
3236 use (mouse-menu-bar-map).
3238 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
3240 * net/newst-treeview.el (newsticker-groups-filename):
3241 Change default value to nil. Point out that variable is obsolete in doc
3243 (newsticker--treeview-load): Change wording of the questions the
3244 user is asked when `newsticker-groups-filename' is found to be
3245 used and we offer to read and remove the groups file. (Bug#19165)
3247 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3249 * net/eww.el (eww): Record the new URL immediately, so that if the
3250 HTTP fetch fails, we have the right URL in the buffer.
3251 (eww-process-text-input): Don't shorten the input field if
3252 deleting at the last character (bug#19085).
3253 (eww-restore-history): Inhibit change functions while restoring
3255 (eww-process-text-input): Fix deletion at the start of the field, too.
3256 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
3257 (eww-process-text-input): Try to keep track of the size more reliably.
3259 * dom.el (dom-pp): New function.
3261 2014-11-27 Eli Zaretskii <eliz@gnu.org>
3263 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
3264 Don't assume --long is the default for "bzr log", always specify
3265 it explicitly, in case the user defined an alias for 'log' that
3266 uses some other format.
3268 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3270 * progmodes/python.el (python-eldoc--get-doc-at-point):
3271 Strip shell output before returning. (bug#18794)
3273 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
3275 Fix indentation before `!=' and after `+='. Originally reported
3276 in https://github.com/mooz/js2-mode/issues/174.
3277 * progmodes/js.el (js--indent-operator-re): Make assignments and
3278 (in)equality operator a separate case.
3279 (js--continued-expression-p): Escape the second `+' in the regexp.
3281 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3283 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
3285 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3287 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
3288 when querying about new certificates.
3290 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
3292 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
3294 (dom-elements): Protect against non-text nodes.
3295 (dom-non-text-children): New function.
3297 * net/eww.el (eww-tag-title): Use `dom-text'.
3299 2014-11-26 Sam Steingold <sds@gnu.org>
3301 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
3303 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3305 * net/eww.el (eww-highest-readability): More dom.el fixes.
3307 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
3309 * net/newst-backend.el (newsticker--parse-generic-items):
3310 Take care of UIDs when adding elements to cache.
3312 2014-11-26 Alan Mackenzie <acm@muc.de>
3314 Remove spurious reference to symbol category_properties.
3315 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
3317 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3319 * net/eww.el: Use the new dom.el accessors throughout.
3321 * net/shr.el: Ditto.
3325 2014-11-26 Glenn Morris <rgm@gnu.org>
3327 * arc-mode.el (archive-visit-single-files): Add :version.
3329 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3331 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
3333 (nsm-warnings-ok-p): The new version of this function always
3334 returned nil when everything was OK.
3336 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
3338 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
3340 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
3341 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
3343 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3345 * emacs-lisp/byte-run.el (function-put): Match argument names to
3348 2014-11-24 Sam Steingold <sds@gnu.org>
3350 * vc/vc-hooks.el (vc-directory-exclusion-list):
3351 Fix a trivial typo (bug#19171).
3353 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * vc/vc-hooks.el (vc-state-base-face): Don't override
3358 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3360 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
3361 (eww-process-text-input): Inhibit read only so that input fields
3362 don't get shortened (bug#19085).
3364 2014-11-24 Leo Liu <sdl.web@gmail.com>
3366 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
3368 * window.el (with-temp-buffer-window)
3369 (with-current-buffer-window, with-displayed-buffer-window):
3370 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
3371 * emacs-lisp/cl-lib.el (substring):
3372 * emacs-lisp/cl-extra.el (cl-getf): Use it.
3374 2014-11-24 Eli Zaretskii <eliz@gnu.org>
3376 * isearch.el (isearch-update): Don't assume
3377 pos-visible-in-window-p will return nil when point is hscrolled
3378 out of view. (Bug#19157)
3380 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
3382 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
3383 (eww-follow-link): Follow in new buffer in case of prefix
3384 argument, open externally with double prefix (bug#19130).
3386 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3388 * net/eww.el (eww-display-html): Decode the document-defined charset.
3389 (eww): Pop to the *eww* buffer immediately after executing the
3390 `M-x eww' command to avoid having buffers pop up later.
3391 (eww-display-html): Don't pop the *eww* buffer.
3392 (eww-display-raw): Ditto.
3393 (eww-display-image): Ditto.
3394 (eww-follow-link): Make going to #targets in the page work again.
3396 2014-11-23 Ivan Shmakov <ivan@siamics.net>
3398 * net/eww.el (eww-suggest-uris): New variable.
3399 (eww-suggested-uris): New function.
3400 (eww): Default to URL under point.
3401 (eww-links-at-point): New function.
3403 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3405 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
3407 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3409 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
3411 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3413 * net/eww.el (eww-set-character-encoding): New command and keystroke.
3414 (eww-display-raw): Use it (bug#16225).
3416 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3418 * net/nsm.el (network-security-level): Rename from
3419 `nsm-security-level' and documented.
3421 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
3422 we're sending a password.
3424 * net/nsm.el: New file that implements a Network Security Manager.
3426 * net/network-stream.el (open-network-stream): Add a new
3427 :warn-unless-encrypted parameter.
3428 (network-stream-open-plain): Allow warning unless encrypted.
3429 (network-stream-open-starttls): Call the Network Security Manager.
3430 (network-stream-open-tls): Ditto.
3432 2014-11-23 Leo Liu <sdl.web@gmail.com>
3434 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
3435 (calendar-chinese-to-absolute-for-diary)
3436 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
3437 Handle leap months in Chinese calendar. (Bug#18953)
3439 2014-11-22 Alan Mackenzie <acm@muc.de>
3441 Fix error with `mark-defun' and "protected:" in C++ Mode.
3442 Fixes: debbugs:19134.
3444 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
3445 return code of (label) from c-beginning-of-decl-1.
3447 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
3449 * net/newst-backend.el (newsticker--sentinel-work):
3450 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
3452 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
3454 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
3455 (tramp-sh-handle-process-file): Propagate `process-environment'.
3457 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
3458 Tramp propagates environment variables now.
3460 2014-11-22 Eric S. Raymond <esr@snark>
3462 * vc/vc-filewise.el: New file to isolate code used only by the
3463 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
3464 live in vc.el and certainly not in vc-hooks.el.
3466 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
3467 This is preparatory to isolating all the 'master' functions
3468 used only by the file-oriented back ends. With this done first,
3469 the substantive diffs will be easier to read.
3471 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3473 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
3474 that is recognized by `help-mode'.
3476 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3478 * desktop.el (desktop-create-buffer): Use activate-mark to set
3479 `mark-active' (bug#19058).
3481 2014-11-21 Eric S. Raymond <esr@snark>
3483 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
3486 2014-11-21 Eli Zaretskii <eliz@gnu.org>
3488 * vc/vc.el (vc-deduce-fileset): Support invocation from
3489 *vc-change-log* buffer. (Bug#19084)
3491 2014-11-13 Matthew Leach <matthew@mattleach.net>
3493 * arc-mode.el (archive-visit-single-files): New.
3494 (archive-mode): Visit file if archive contains a single file.
3497 2014-11-21 Ulrich Müller <ulm@gentoo.org>
3499 * vc/vc.el: Fix a typo in the commentary.
3501 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
3503 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
3504 testing and a real log-view mode.
3506 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
3507 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
3508 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
3509 checkout methods; where it matters (which is only in SCCS and RCS)
3510 files are always checked out editable. This may actually have
3511 been dynamically true already - it looks like the vc-next-action
3512 code evolved past visiting the other case. Tested with RCS.
3514 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
3515 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
3516 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
3517 argument from the backend checkin methods. Only the RCS, SCCS,
3518 and CVS back ends tried to do anything with it, and that code was
3519 never exercised. Chiseling away the cruft of decades...
3521 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3523 * net/eww.el (eww-render): Remove a no-op :title setting.
3525 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3527 * net/eww.el (eww-history-limit): New variable.
3528 (eww-save-history): Use it (bug#19105).
3529 (eww-reload): Reload the page in the right buffer.
3531 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3533 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
3535 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3537 * net/eww.el (eww-desktop-remove-duplicates)
3538 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
3539 (eww-mode): Set up desktop mode (bug#18010).
3540 (eww-desktop-data-save, eww-desktop-data-1)
3541 (eww-desktop-history-duplicate, eww-desktop-misc-data)
3542 (eww-restore-desktop): New functions.
3544 2014-11-19 Eli Zaretskii <eliz@gnu.org>
3546 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
3547 correct buffer. (Bug#19101)
3549 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3551 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
3552 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
3554 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
3556 * ido.el (ido-bury-buffer-at-head): New command.
3557 (ido-buffer-completion-map): Bind it to C-S-b.
3559 2014-11-18 Juri Linkov <juri@linkov.net>
3561 * simple.el (next-line-or-history-element): Wrap next-line
3562 in with-no-warnings.
3563 (previous-line-or-history-element): Wrap previous-line
3564 in with-no-warnings.
3566 2014-11-18 Juri Linkov <juri@linkov.net>
3568 * progmodes/grep.el (grep-compute-defaults):
3569 Compute grep-highlight-matches before its use.
3571 2014-11-18 Juri Linkov <juri@linkov.net>
3573 * replace.el (query-replace-from-to-separator): Turn defvar into
3574 defcustom. Wrap char-displayable-p in ignore-errors because an
3575 attempt to autoload char-displayable-p fails during pre-loading.
3576 Move (propertize "\0" ... 'separator t) out of customizable part
3577 to query-replace-read-from.
3578 (query-replace-read-from): Call custom-reevaluate-setting on
3579 query-replace-from-to-separator to reevaluate the separator
3580 depending on the return value of char-displayable-p.
3581 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
3583 2014-11-18 Juri Linkov <juri@linkov.net>
3585 * bindings.el (minibuffer-local-map): Rebind [down] from
3586 next-history-element to next-line-or-history-element, and [up]
3587 from previous-history-element to previous-line-or-history-element.
3589 * simple.el (next-line-or-history-element)
3590 (previous-line-or-history-element): New commands.
3591 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
3593 2014-11-18 Leo Liu <sdl.web@gmail.com>
3595 * emacs-lisp/nadvice.el (define-advice): New macro.
3596 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3598 (lisp-font-lock-keywords-1): Add define-advice.
3600 2014-11-18 Daiki Ueno <ueno@gnu.org>
3602 * epg.el (epg-context): New slot EDIT-CALLBACK.
3603 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
3604 (epg-reset): Reset EDIT-CALLBACK of the context.
3605 (epg-start-edit-key): New function.
3606 (epg-edit-key): New function.
3608 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
3610 Port new time stamp handling to Emacs 23.2.
3611 This fix is for Gnus. Reported by Katsumi Yamaoka.
3612 * calendar/time-date.el (time-add, time-subtract, time-less-p):
3613 Use eval-and-compile, not eval-when-compile.
3615 2014-11-18 Daiki Ueno <ueno@gnu.org>
3617 * epg.el (epg-context-set-passphrase-callback)
3618 (epg-context-set-progress-callback): Check if the CALLBACK
3619 argument is a function, instead of a cons.
3621 2014-11-18 Daiki Ueno <ueno@gnu.org>
3623 * epa-file.el (epa-file-insert-file-contents)
3624 (epa-file-write-region): Remove redundant check of
3626 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3627 (epa-sign-region, epa-encrypt-region): Remove redundant check of
3630 2014-11-18 Daiki Ueno <ueno@gnu.org>
3632 * epa-file.el (epa-file-insert-file-contents): Don't show
3633 "*Error*" buffer if input file does not exist.
3634 Reported by Herbert J. Skuhra.
3636 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
3637 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3639 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
3640 An alternative version of the patch from bug#13871.
3641 (c-operators): Add "alignof".
3642 (c-primitive-type-kwds): Add "char16_t", "char32_t".
3643 (c-type-modifier-kwds): Add "constexpr", "noexcept".
3644 (c-modifier-kwds): Add "thread_local".
3645 (c-constant-kwds): Add "nullptr".
3647 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
3649 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
3650 New variables for specifying tildify pattern and representation of
3651 a hard space -- a no-break space by default -- respectively.
3652 Being buffer-local they are much easier to handle than
3653 `tildify-string-alist' and `tildify-pattern-alist' respectively
3654 that have been used so far. They also works better with derived
3656 (tildify-foreach-region-function): New variable specifying
3657 a function determining portions of buffer that should be
3658 tildified. It allows major modes to create a filtering function
3659 more elaborate than a set of regular expressions. Initialised to
3660 `tildify--deprecated-ignore-evironments' by default to handle now
3661 deprecated `tildify-ignored-environments-alist' variable.
3662 (tildify--foreach-region): A new function that takes
3663 `tildify-foreach-region-function' into account and calls callback
3664 for regions of the buffer that should be tildified.
3665 (tildify-foreach-ignore-environments): A new function which can be
3666 partially applied and used as `tildify-foreach-region-function'.
3667 (tildify-ignored-environments-alist, tildify-pattern)
3668 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3669 (tildify--find-env): Rename from `tildify-find-env' and mark as
3671 (tildify--deprecated-ignore-evironments): New function,
3672 immediately marked as obsolete, used to handle deprecated
3673 `tildify-ignored-environments-alist'.
3675 * textmodes/tex-mode.el (tex-common-initialization):
3676 Set `tildify-space-string' and `tildify-foreach-region-function'
3677 variables in all variants of TeX mode since `tildify-string-alist'
3678 and `tildify-ignored-environments-alist' are now empty by default.
3680 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3681 If encoding supports it use no-break space instead of character
3682 entity; this changes previous default which used a numeric
3685 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3686 If encoding does not support no-break space, use numeric reference;
3687 this changes previous default which used named entity (“ ”)
3690 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
3692 * calendar/icalendar.el (icalendar-export-alarms):
3693 New customizable variable. (Bug#5433)
3694 (icalendar-export-region): Export alarms as specified in
3695 `icalendar-export-alarms'.
3696 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3697 New functions for exporting alarms.
3699 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3701 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3703 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
3705 Port new time stamp handling to old Emacs and to XEmacs.
3706 This is needed for Gnus, which copies time-date.el and which
3707 runs on older Emacs implementations.
3708 * calendar/time-date.el (with-decoded-time-value):
3709 Handle 'nil' and floating-point arg more compatibly with new Emacs.
3710 (encode-time-value, with-decoded-time-value):
3711 Obsolete only if new Emacs.
3712 (time-add, time-subtract, time-less-p): Define if not new Emacs.
3714 Improve time stamp handling, and be more consistent about it.
3715 This implements a suggestion made in:
3716 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3717 Among other things, this means timer.el no longer needs to
3718 autoload the time-date module.
3719 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3720 * arc-mode.el (archive-ar-summarize):
3721 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3722 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3723 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3724 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3725 * proced.el (proced-time-lessp):
3726 * timezone.el (timezone-time-from-absolute):
3727 * type-break.el (type-break-schedule, type-break-time-sum):
3728 Simplify by using new functionality.
3729 * calendar/cal-dst.el (calendar-next-time-zone-transition):
3730 Do not return time values in obsolete and undocumented (HI . LO)
3731 format; use (HI LO) instead.
3732 * calendar/time-date.el (with-decoded-time-value):
3733 Treat 'nil' as current time. This is mostly for XEmacs.
3734 (encode-time-value, with-decoded-time-value): Obsolete.
3735 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3736 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
3737 * ldefs-boot.el: Update to match new time-date.el
3738 * proced.el: Do not require time-date.
3740 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3742 * net/eww.el (eww-mode): Make the buffer read-only.
3743 (eww-form-text): Inhibit read-only-ness in text input fields
3746 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3748 * simple.el (execute-extended-command--shorter): Cut search here.
3749 (execute-extended-command): Instead of here.
3751 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3753 * progmodes/python.el (python-mode): Avoid use of set-local to
3754 keep Emacs 24.x compatibility.
3756 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3758 * net/shr.el (shr): Move to the new defgroup `web'.
3760 * net/eww.el (eww): Ditto.
3762 * simple.el (execute-extended-command): Don't show the help
3763 message if the binding isn't significantly shorter than the
3764 M-x command the user typed (bug#19013).
3766 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
3768 * calendar/icalendar.el (icalendar--convert-tz-offset):
3769 Return complete cons when offsets of standard time and daylight saving
3771 (icalendar-export-region): Fix unbound variable warning.
3773 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3775 * progmodes/python.el (run-python): Allow CMD to be optional and
3776 default it to a safe command, even for Windows. (bug#18596)
3778 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3780 * progmodes/python.el (python-shell-calculate-command):
3781 Rename from python-shell-parse-command. Cleanup.
3782 (run-python, run-python-internal): Use it.
3783 (python-shell-calculate-pythonpath): Rename from
3784 python-new-pythonpath.
3785 (python-shell-calculate-process-environment): Use it.
3786 (python-shell-calculate-exec-path): Add comment.
3788 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
3790 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3793 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
3795 * version.el (emacs-repository-get-version): Use git rev-parse
3798 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3800 * progmodes/python.el (python-indent-calculate-levels):
3801 Fix indentation behavior multiline dedenter statement. (Bug#18432)
3803 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3805 * progmodes/python.el (python-indent-region):
3806 Use python-indent-line and skip special cases. (Bug#18843)
3808 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
3810 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3811 envelope-from when reporting through sendmail (bug#19054).
3813 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
3815 Add faces for the VC modeline state indicator.
3817 (vc-state-faces, vc-state-base-face)
3818 (vc-up-to-date-state, vc-needs-update-state)
3819 (vc-locked-state, vc-locally-added-state)
3820 (vc-conflict-state, vc-removed-state)
3821 (vc-missing-state, vc-edited-state):
3823 (vc-default-mode-line-string): Use them
3825 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3829 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3831 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3833 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
3835 * progmodes/python.el (python-eldoc-setup-code): Enhance string
3836 type checks, simplify printing. (Bug#18962)
3838 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
3840 * progmodes/python.el (python-shell-font-lock-kill-buffer):
3841 (python-shell-font-lock-with-font-lock-buffer)
3842 (python-shell-get-buffer, python-ffap-module-path):
3843 Use `derived-mode-p' instead of equality test on `major-mode'.
3845 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3847 * progmodes/python.el (python-shell-virtualenv-root): Rename from
3848 python-shell-virtualenv-path.
3849 (python-shell-internal-get-process-name)
3850 (python-shell-calculate-process-environment)
3851 (python-shell-calculate-exec-path): Use it.
3853 2014-11-14 Eli Zaretskii <eliz@gnu.org>
3855 * bindings.el (search-map): Fix last change: don't use 'kbd' in
3856 bindings.el, since it is not yet loaded when bindings.el is
3859 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3861 * progmodes/python.el (python-shell-completion-get-completions):
3864 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3866 * net/eww.el (eww-render): Don't set the title to the URL.
3868 2014-11-13 Ulrich Müller <ulm@gentoo.org>
3870 * version.el (emacs-repository-get-version): Call `git log'
3871 command with proper format argument (bug#19049).
3873 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3877 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3879 * net/eww.el (eww-search-words): New command (bug#16258).
3881 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3883 * net/shr.el (shr-inhibit-images): Add a doc string.
3885 * net/eww.el (eww-after-render-hook): New variable.
3886 (eww-render): Use it.
3888 * net/shr.el (shr-descend): Don't descend further than
3889 `max-specpdl-size' allows (bug#16587).
3890 (shr-depth): New variable.
3891 (shr-warning): New variable.
3893 2014-11-13 Ivan Shmakov <ivan@siamics.net>
3895 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3896 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3898 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3900 * net/eww.el (eww): Add comment to clarify.
3902 * net/shr.el (shr-parse-image-data): Remove blocked bits from
3903 external SVG images.
3904 (shr-tag-object): Display images in <object> forms (bug#16244).
3905 (shr-tag-table): Also insert <objects> after the tables.
3907 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
3909 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
3911 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3913 * net/eww.el (eww-form-file): Fix version number.
3915 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3917 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3919 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3921 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3922 (eww-submit-file): New key map of file upload.
3923 (eww-form-file): New file upload button and file name context.
3924 (eww-select-file): Select file and display selected file name.
3925 (eww-tag-input): Handle input tag of file type.
3926 (eww-update-field): Add point offset.
3927 (eww-submit): Add submit with multipart/form-data.
3929 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3931 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3932 Allow taking a buffer to render data in. This allows using several
3933 eww buffers (bug#16211).
3935 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
3937 * net/eww.el (eww-download-callback): Save only the file contents,
3940 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3942 * net/eww.el (eww-data): New plist to store all the data relevant
3943 to a single page, used throughout the file instead of the
3944 variables `eww-current-url', `eww-current-dom',
3945 `eww-current-source', and `eww-current-title'.
3946 (eww-readable): Copy over pertinent data from the parent page.
3947 (eww-save-history): Don't let the history grow infinitely.
3949 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
3950 `eww-up-url', `eww-home-url', `eww-start-url' and
3951 `eww-contents-url' and put the data into the `eww-data' plist.
3952 This allow restoring these values after going back in the history.
3954 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
3956 Allow VTIMEZONE where daylight and standard time zones are equal.
3957 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
3958 * calendar/icalendar.el (icalendar--convert-tz-offset):
3959 Support timezone without daylight saving time.
3961 2014-11-10 Glenn Morris <rgm@gnu.org>
3963 * startup.el (command-line): Handle nil elements in load-path.
3965 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3967 * help.el (view-lossage): Include the actual commands run.
3969 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
3971 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
3972 no state is specified. (Bug#18964)
3974 2014-11-09 Eric Ludlam <zappo@gnu.org>
3976 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3977 Set eieio-cog (current group) to g, which is an improved form of input
3980 2014-11-09 Juri Linkov <juri@jurta.org>
3982 * isearch.el (isearch-message-prefix): Show "Multi-file" and
3983 "Multi-buffer" instead of "Multi". (Bug#13592)
3985 * misearch.el (multi-isearch-file-list):
3986 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
3987 (multi-isearch-end): Reset multi-isearch-buffer-list and
3988 multi-isearch-file-list to nil.
3990 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3992 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3993 Don't call byte-compile-preprocess since the result will go through
3995 (byte-compile-output-docform): Handle uninterned `name' correctly.
3996 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
3997 to circumvent byte-compiler bug.
3999 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4000 (macroexp--compiler-macro): Remove left-over debug code.
4002 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4004 2014-11-08 Juri Linkov <juri@jurta.org>
4006 * simple.el (shell-command): Use buffer-name when output-buffer is
4007 a buffer. (Bug#18096)
4009 2014-11-08 Juri Linkov <juri@jurta.org>
4011 * minibuffer.el (minibuffer-completion-help): Compare this-command
4012 with completion-at-point. (Bug#17809)
4014 2014-11-08 Glenn Morris <rgm@gnu.org>
4016 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4017 Allow the argument to be a string. Due to the vague doc,
4018 it was already being used this way.
4020 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4022 * net/tramp.el (tramp-check-cached-permissions): Include hop in
4023 the constructed Tramp file name. (Bug#18943)
4025 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4027 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4029 (cua-set-mark, cua--post-command-handler-1):
4030 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4032 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4034 * files.el (file-name-non-special): Wrap the call of
4035 `insert-file-contents' by `unwind-protect', in order to set the
4036 buffer's file name anyway. (Bug#18891)
4038 2014-11-08 Alan Mackenzie <acm@muc.de>
4040 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
4041 * progmodes/cc-fonts.el (c-font-lock-declarations):
4042 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4043 the buffer is sometimes narrowed to less than "limit" (e.g., in
4044 the presence of macros).
4046 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4048 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4049 only when message appeared in minibuffer. (Bug#18891)
4051 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4052 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4053 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4056 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4058 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4059 Don't compile before eval in `eval-and-compile'.
4060 (byte-compile-arglist-warn): Add check for defining macros after their
4061 first use. Check call use even if the function is fboundp.
4063 2014-11-08 Richard Stallman <rms@gnu.org>
4065 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
4066 Check more carefully for mime-part specified character set.
4067 Check for mime-part Content Transfer Encoding.
4068 Notify if no armor found.
4070 2014-11-08 Martin Rudalics <rudalics@gmx.at>
4072 * faces.el (face-set-after-frame-default): Enable running
4073 `window-configuration-change-hook'.
4075 2014-11-07 Juri Linkov <juri@jurta.org>
4077 * replace.el: History for query replace pairs.
4078 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
4079 (query-replace-from-to-separator): New variable.
4080 (query-replace-read-from): Let-bind query-replace-from-to-history
4081 to a list of FROM-TO strings created from query-replace-defaults
4082 and separated by query-replace-from-to-separator. Use it as
4083 the history while reading from the minibuffer. Split the returned
4084 string by the separator to get FROM and TO parts, and add them
4085 to the history variables.
4086 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
4087 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
4088 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
4090 * isearch.el (isearch-text-char-description): Keep characters
4091 intact and put formatted strings with the `display' property.
4093 2014-11-07 Martin Rudalics <rudalics@gmx.at>
4095 * cus-start.el (frame-resize-pixelwise): Fix group.
4096 (frame-inhibit-implied-resize): Add entry.
4098 2014-11-07 Daiki Ueno <ueno@gnu.org>
4100 * epa.el (epa-pinentry-mode): New user option.
4101 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4102 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
4103 * epa-file.el (epa-file-insert-file-contents)
4104 (epa-file-write-region): Respect epa-pinentry-mode.
4106 2014-11-07 Daiki Ueno <ueno@gnu.org>
4108 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4109 (bug#18979). Reported by Hideki Saito.
4111 2014-11-06 Daiki Ueno <ueno@gnu.org>
4113 * emacs-lisp/package.el (package--display-verify-error): New function.
4114 (package--check-signature): Use it to display output sent to stderr.
4116 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4118 * subr.el (pop): Don't call the getter twice (bug#18968).
4120 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
4123 2014-11-06 Daiki Ueno <ueno@gnu.org>
4125 * epa.el (epa-error-buffer): New variable.
4126 (epa-display-error): New function.
4127 (epa-decrypt-file, epa-verify-file, epa-verify-region)
4128 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
4129 (epa-sign-file, epa-sign-region, epa-encrypt-region)
4130 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
4131 Use setf instead of epg-context-set-*.
4132 * epa-file.el (epa-file-insert-file-contents):
4133 Use epa-display-error instead of epa-display-info. Mimic the behavior
4134 of jka-compr when decryption program is not found.
4135 (epa-file-write-region): Use epa-display-error instead of
4138 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * vc/vc.el (vc-region-history): New command.
4141 (vc-print-log-internal): Use cl-some.
4143 * vc/vc-git.el (vc-git-region-history): New function.
4144 (vc-git-region-history-mode-map)
4145 (vc-git--log-view-long-font-lock-keywords)
4146 (vc-git-region-history-font-lock-keywords): New vars.
4147 (vc-git-region-history-font-lock): New function.
4148 (vc-git-region-history-mode): New major mode.
4150 2014-11-05 Tassilo Horn <tsdh@gnu.org>
4152 * net/eww.el (subr-x): Require subr-x at compile-time because eww
4155 2014-11-05 Daiki Ueno <ueno@gnu.org>
4157 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
4158 (epg-error-output): New buffer-local variable.
4159 (epg--start): Initialize epg-error-output.
4160 (epg--process-filter): Record output lines sent to stderr, in
4162 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
4164 * epa-file.el (epa-file-insert-file-contents): On error, display
4165 output sent to stderr.
4166 (epa-file-write-region): Likewise.
4168 2014-11-05 Eli Zaretskii <eliz@gnu.org>
4170 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
4171 returned by load-average.
4173 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
4175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
4176 a local copy; setting `inhibit-file-name-handlers' proper might be
4177 more performant. (Bug#18751)
4179 2014-11-05 Glenn Morris <rgm@gnu.org>
4181 * mail/emacsbug.el (report-emacs-bug): No longer include
4182 recent-keys in the report. (Bug#18900)
4184 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
4186 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
4188 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4190 * net/eww.el (eww): Trim URL with `string-trim'.
4191 Suggested by Vibhav Pant <vibhavp@gmail.com>.
4193 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4195 * net/eww.el (eww-score-readability): Don't count comments positively.
4197 * net/shr.el (shr-retransform-dom): Typo fix.
4199 * net/eww.el (eww-score-readability): Parse SVC images correctly.
4200 (eww-display-html): Don't leave point inside forms.
4202 * net/shr.el: Ditto.
4204 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
4207 edebug-prin1-to-string already handles circularity.
4209 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
4210 autoloading when specified as a lambda.
4212 * simple.el (execute-extended-command--last-typed): New var.
4213 (read-extended-command): Set it.
4214 Don't complete obsolete commands.
4215 (execute-extended-command--shorter-1)
4216 (execute-extended-command--shorter): New functions.
4217 (execute-extended-command): Use them to suggest shorter names.
4218 (indicate-copied-region, deactivate-mark): Use region-active-p.
4220 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
4222 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
4223 local copy of FILENAME, when it is remote. (Bug#18751)
4225 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
4226 an error when the command fails; the return code must indicate.
4227 (tramp-adb-send-command-and-check): Fix docstring.
4229 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4231 * net/shr.el (shr-retransform-dom): Don't ignore elements that
4232 have no children like <br />.
4234 * net/eww.el (eww-display-html): Clear `url-queue'.
4235 (eww-display-pdf): New function.
4236 (eww-render): Display PDFs with `doc-view'.
4237 (url-queue): Require `url-queue' to avoid compilation warning.
4238 (eww-colorize-region): Remove duplicate function.
4239 (eww-tag-body): Use `shr-colorize-region'.
4241 2014-11-03 Yoni Rabkin <yrk@gnu.org>
4243 * net/eww.el (eww-list-bookmarks): Autoload.
4245 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4247 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
4249 * net/eww.el (eww-display-html): The charset is called `utf-8',
4251 (eww-readable): Decode the saved text correctly.
4252 (eww-readable): Save the history before displaying so that we can
4253 go back to the non-readable version.
4254 (eww-display-html): Don't try to decode the text if we've been
4255 passed in a pre-parsed DOM.
4256 (eww-tag-title): Remove newlines and extra whitespace from the
4259 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4261 * net/eww.el (eww-readable): New command and keystroke.
4263 * net/shr.el (shr-retransform-dom): New function.
4265 * net/eww.el (eww-display-html): Set `eww-current-source' in the
4267 (eww-view-source): Use it.
4269 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4271 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
4274 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
4276 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
4278 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4280 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
4282 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4284 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
4287 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
4289 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
4291 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
4293 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4295 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
4297 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
4299 2014-11-01 Michael R. Mauger <michael@mauger.com>
4301 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
4302 syntax, add new keywords, and parse longer keywords first.
4303 (sql-redirect-one): Protect against empty command.
4304 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
4307 2014-11-01 Michael R. Mauger <michael@mauger.com>
4309 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
4310 Bug#16814 with let-bind of comint-input-ring variables around read
4313 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
4315 * net/tramp-cache.el (tramp-get-file-property)
4316 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
4317 and `tramp-cache-set-count-*' are bound. Otherwise, there might
4318 be compiler warnings.
4320 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
4321 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
4323 2014-11-01 Eli Zaretskii <eliz@gnu.org>
4325 * progmodes/compile.el (compilation-mode): Turn off deferred
4326 fontifications locally. (Bug#18856)
4328 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
4330 * net/tramp-sh.el (tramp-send-command): Fix the case where the
4331 remote-echo connection property is non-nil (bug#18858).
4333 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * simple.el (newline): Add assertions to try and help catch bug#18913.
4337 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
4339 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
4341 2014-11-01 Kim F. Storm <storm@cua.dk>
4343 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
4344 * delsel.el (delete-selection-save-to-register)
4345 (delsel--replace-text-or-position): New vars.
4346 (delete-active-region): Use them.
4347 (delete-selection-repeat-replace-region): New command, moved from
4349 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
4350 (cua-repeat-replace-region): Move command to delsel.el.
4351 (cua--init-keymaps): Update binding accordingly.
4352 (cua-mode): Set delete-selection-save-to-register.
4354 2014-11-01 Alan Mackenzie <acm@muc.de>
4356 Make blink-parens work with a closing template delimiter.
4357 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
4358 before calling blink-paren-function, so as to apply syntax-table
4359 properties to the ">".
4361 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
4363 * select.el (gui-get-selection): Comment: data-type ignored on NS.
4365 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4367 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
4368 (macroexp--expand-all): Unrelated tweaks.
4370 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
4372 2014-10-30 Glenn Morris <rgm@gnu.org>
4374 * startup.el (command-line): Remove pointless attempt to avoid
4375 statting the file-system (which expand-file-name doesn't do).
4377 2014-10-30 Daniel Colascione <dancol@dancol.org>
4379 Add "enum class" support to C++ mode.
4380 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
4381 (c-after-brace-list-key): New language consts/variables.
4382 * progmodes/cc-engine.el (c-looking-at-decl-block):
4383 Exclude spurious match of "enum struct" from decl-block recognition.
4384 (c-backward-colon-prefixed-type): New function.
4385 (c-backward-over-enum-header): Call above function to extend
4386 recognition of enum structure.
4388 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4390 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
4392 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
4394 2014-10-30 Eli Zaretskii <eliz@gnu.org>
4396 * progmodes/compile.el (compilation-start):
4397 If compilation-scroll-output is non-nil, don't force window-start of
4398 the compilation buffer to be at beginning of buffer. (Bug#18874)
4400 * startup.el (fancy-about-text): Read the entire tutorial, not
4401 just its first 256 bytes. (Bug#18760)
4403 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
4406 * emacs-lisp/cl-extra.el: Add missing provide.
4408 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
4409 all args are copyable (bug#18767).
4410 (=, <, >, <=, >=): Re-enable the optimization.
4412 2014-10-29 Glenn Morris <rgm@gnu.org>
4414 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
4416 * version.el (emacs-bzr-version, emacs-bzr-get-version):
4417 Revert 2014-10-26 change.
4419 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
4421 Simplify use of current-time and friends.
4422 * allout-widgets.el (allout-widgets-hook-error-handler):
4423 * calendar/appt.el (appt-display-message):
4424 * calendar/icalendar.el (icalendar--convert-float-to-ical):
4425 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
4426 (timeclock-last-period, timeclock-day-base):
4427 * eshell/em-ls.el (eshell-ls-file):
4428 * eshell/esh-util.el (eshell-parse-ange-ls):
4429 * generic-x.el (named-database-print-serial):
4430 * net/newst-backend.el (newsticker--get-news-by-url-callback)
4431 (newsticker-get-news, newsticker--sentinel-work)
4432 (newsticker--image-get, newsticker--image-sentinel):
4433 * net/tramp-sh.el (tramp-get-remote-touch):
4434 * progmodes/opascal.el (opascal-debug-log):
4435 * textmodes/remember.el (remember-mail-date)
4436 (remember-store-in-files):
4437 * vc/vc-annotate.el (vc-annotate-display-autoscale)
4438 (vc-default-annotate-current-time):
4439 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
4440 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
4441 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
4442 Omit unnecessary call to current-time.
4443 * calendar/time-date.el (time-to-seconds) [!float-time]:
4444 * vc/vc-annotate.el (vc-annotate-convert-time):
4445 Use current time if arg is nil, to be compatible with float-time.
4446 (time-date--day-in-year): New function, with most of the guts of
4447 the old time-to-day-in-year.
4448 (time-to-day-in-year): Use it.
4449 (time-to-days): Use it, to avoid decoding the same time stamp twice.
4450 * calendar/timeclock.el (timeclock-time-to-date):
4451 Arg is now optional, like current-time-string.
4452 (timeclock-update-mode-line):
4453 Don't call current-time twice to get the current time stamp,
4454 as this can lead to inconsistent results.
4455 * completion.el (cmpl-hours-since-origin):
4456 * ido.el (ido-time-stamp):
4457 * vc/vc-annotate.el (vc-annotate-convert-time):
4458 Simplify by using float-time.
4459 * completion.el (save-completions-to-file):
4460 Rename local var to avoid confusion.
4461 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
4462 time-to-seconds now behaves like float-time with respect to nil arg.
4463 * subr.el (progress-reporter-do-update):
4464 Don't call float-time unless needed.
4466 2014-10-29 Leo Liu <sdl.web@gmail.com>
4468 * net/rcirc.el (rcirc-fill-column): Use function.
4469 (rcirc-markup-fill): Remove adjustment.
4471 2014-10-28 Christopher Schmidt <ch@ristopher.com>
4473 * calc/calc.el (quick-calc):
4474 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
4476 2014-10-28 Sam Steingold <sds@gnu.org>
4478 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
4479 the sake of `window-body-width' (in addition to `frame-width').
4481 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
4483 * version.el: Fix some fallback values to conform to the actual
4486 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
4488 * Makefile.in: Change some production names so they're neutral
4489 about the repository type.
4491 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
4493 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
4494 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
4495 during initialization. (Bug#18774)
4497 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
4499 * ses.el (macroexp): Add require for this package, so that
4500 function `ses--cell' gets macroexp-quote --- this change was
4501 supposed to be in my previous commit, but left out by mistake.
4502 (ses--cell): Do not make formula a macroexp-quote of value when
4503 value, not formula, is *skip*.
4505 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4507 * ses.el (macroexp): Add require for this package, so that function
4508 `ses--cell gets macroexp-quote.
4509 (ses--cell): Makes formula a macroexp-quote of value when formula
4510 is nil. The rationale of this changr is to allow in the future
4511 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
4512 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
4513 reference list REFLIST would be re-computed after load --- thus
4514 trading off load time against file size.
4516 * emacs-lisp/package.el (package--alist-to-plist-args):
4517 Use macroexp-quote instead of a lambda expression which has the same
4518 content as macroexp-quote.
4519 (macroexp): Add require for this package, so that function
4520 `package--alist-to-plist-args' gets macroexp-quote.
4522 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
4524 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * term/ns-win.el (ns-store-cut-buffer-internal)
4527 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
4529 2014-10-24 Martin Rudalics <rudalics@gmx.at>
4531 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
4532 Calculate increment from last position instead of window edge.
4533 Add right- and bottom-divider bindings to transient map.
4535 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4537 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
4538 even if :predicate was nil, for the benefit of typep.
4539 Record the name of the predicate for typep's use.
4540 (cl--make-type-test): Use pcase. Obey new
4541 cl-deftype-satisfies property.
4543 * epg.el: Use cl-defstruct.
4544 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
4545 (epg-data-string): Define via cl-defstruct.
4546 (epg--gv-nreverse): New macro.
4547 (epg-context--make): New constructor (provided vi cl-defstruct).
4548 (epg-make-context): Rewrite using it.
4549 (epg-context-protocol, epg-context-program)
4550 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
4551 (epg-context-include-certs, epg-context-cipher-algorithm)
4552 (epg-context-digest-algorithm, epg-context-compress-algorithm)
4553 (epg-context-passphrase-callback, epg-context-progress-callback)
4554 (epg-context-signers, epg-context-sig-notations, epg-context-process)
4555 (epg-context-output-file, epg-context-result, epg-context-operation)
4556 (epg-context-pinentry-mode): Define using cl-defstruct.
4557 (epg-context-set-protocol, epg-context-set-program)
4558 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
4559 (epg-context-set-digest-algorithm)
4560 (epg-context-set-sig-notations, epg-context-set-process)
4561 (epg-context-set-output-file, epg-context-set-result)
4562 (epg-context-set-operation, epg-context-set-pinentry-mode)
4563 (epg-context-set-compress-algorithm): Remove. Use setf instead.
4564 (epg-context-set-armor, epg-context-set-textmode)
4565 (epg-context-set-signers): Redefine using setf
4566 and declare as obsolete.
4567 (epg-context-set-passphrase-callback)
4568 (epg-context-set-progress-callback): Use setf.
4569 (epg-signature-notations): Rename from epg-sig-notations.
4570 (epg-make-signature, epg-signature-status, epg-signature-key-id)
4571 (epg-signature-validity, epg-signature-fingerprint)
4572 (epg-signature-creation-time, epg-signature-expiration-time)
4573 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
4574 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
4575 (epg-signature-set-status, epg-signature-set-key-id)
4576 (epg-signature-set-validity, epg-signature-set-fingerprint)
4577 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
4578 (epg-signature-set-pubkey-algorithm)
4579 (epg-signature-set-digest-algorithm, epg-signature-set-class)
4580 (epg-signature-set-version, epg-signature-set-notations): Remove.
4582 (epg-make-new-signature, epg-new-signature-type)
4583 (epg-new-signature-pubkey-algorithm)
4584 (epg-new-signature-digest-algorithm, epg-new-signature-class)
4585 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
4586 Define using cl-defstruct.
4587 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
4588 (epg-key-user-id-list): Define using cl-defstruct.
4589 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
4591 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
4592 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
4593 (epg-sub-key-id, epg-sub-key-creation-time)
4594 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
4596 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
4597 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
4598 (epg-user-id-signature-list): Define using cl-defstruct.
4599 (epg-user-id-set-signature-list): Remove. Use setf instead.
4600 (epg-make-key-signature, epg-key-signature-validity)
4601 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
4602 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
4603 (epg-key-signature-user-id, epg-key-signature-class)
4604 (epg-key-signature-exportable-p): Define using cl-defstruct.
4605 (epg-make-sig-notation, epg-sig-notation-name)
4606 (epg-sig-notation-value, epg-sig-notation-human-readable)
4607 (epg-sig-notation-critical): Define using cl-defstruct.
4608 (epg-sig-notation-set-value): Remove. Use setf instead.
4609 (epg-make-import-status, epg-import-status-fingerprint)
4610 (epg-import-status-reason, epg-import-status-new)
4611 (epg-import-status-user-id, epg-import-status-signature)
4612 (epg-import-status-sub-key, epg-import-status-secret): Define using
4614 (epg-make-import-result, epg-import-result-considered)
4615 (epg-import-result-no-user-id, epg-import-result-imported)
4616 (epg-import-result-imported-rsa, epg-import-result-unchanged)
4617 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
4618 (epg-import-result-new-signatures, epg-import-result-new-revocations)
4619 (epg-import-result-secret-read, epg-import-result-secret-imported)
4620 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
4621 (epg-import-result-imports): Define using cl-defstruct.
4623 * emacs-lisp/package.el: Require EPG during macroexpansion.
4624 (package--check-signature, package-import-keyring): Use setf instead of
4625 epg-context-set-home-directory.
4627 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
4631 2014-10-23 Leo Liu <sdl.web@gmail.com>
4633 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
4634 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
4635 (cfengine3-current-defun): New function.
4636 (cfengine3-mode): Set add-log-current-defun-function.
4638 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4640 * select.el: Use lexical-binding.
4641 (gui-set-selection): Provide an implementation for non-GUI frames
4643 * term/x-win.el: Use lexical-binding.
4644 (x-clipboard-yank): Fix up missed renamings.
4645 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
4646 (w32--set-selection): Fix up var names.
4647 * term/pc-win.el: Use lexical-binding.
4648 (w16-selection-exists-p): Silence compiler warning.
4649 (w16-selection-owner-p): Fix up missed renamings.
4651 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
4653 * frame.el (frame-notice-user-settings): Fix excessive quoting.
4655 2014-10-22 Tassilo Horn <tsdh@gnu.org>
4657 * doc-view.el (doc-view-open-text): View the document's plain text
4658 in the current buffer instead of a new one.
4659 (doc-view-toggle-display): Handle the case where the current
4660 buffer contains the plain text contents of the document.
4661 (doc-view-initiate-display): Don't switch to fallback mode if the
4662 user wants to view the doc's plain text.
4663 (doc-view-set-doc-type): Use assoc-string instead of
4666 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * subr.el (read-key): Fix clicks on the mode-line.
4669 (set-transient-map): Return exit function.
4671 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4672 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4673 (mouse-yank-secondary): Use gui-get-selection.
4674 (mouse--down-1-maybe-follows-link): Use read-key.
4676 * xt-mouse.el: Add `event-kind' property on the fly from
4677 xterm-mouse-translate-1 rather than statically at the outset.
4679 2014-10-21 Daniel Colascione <dancol@dancol.org>
4681 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4682 change window configuration when we turn it off.
4684 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4686 Get rid of backend-dependent selection-handling functions for kill/yank
4687 and make it generic instead by relying on the lower-level selection
4688 management functions.
4690 * select.el (select-enable-clipboard): Rename from
4691 gui-select-enable-clipboard.
4692 (select-enable-primary): Move from x-win.el and rename from
4693 x-select-enable-primary.
4694 (gui-last-selected-text): Remove.
4695 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4697 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4698 (gui-select-text-alist, gui-selection-value-alist): Remove.
4699 (x-select-request-type): Move from x-win.el.
4700 (gui--selection-value-internal): New function, taken from x-win's
4701 x-selection-value-internal.
4702 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4703 (gui-set-selection-alist): Rename from gui-own-selection-alist and
4704 extend it to handle a nil value as a "disown" request.
4705 (gui-disown-selection-alist): Remove.
4706 (xselect-convert-to-delete): Adjust accordingly.
4707 (gui-set-selection): Simplify accordingly as well. Use dotimes.
4709 * term/x-win.el (x-last-selected-text-primary)
4710 (x-select-enable-primary): Remove (moved to select.el).
4711 (x-select-request-type): Move to select.el.
4712 (x-selection-value-internal, x--selection-value): Remove functions.
4713 (gui-selection-value, gui-select-text): Remove moethods.
4714 (gui-set-selection): Merge own and disown methods.
4716 * term/w32-win.el (w32--select-text, w32--get-selection-value):
4717 Delete function (move functionality into w32--set-selection and
4718 w32--get-selection).
4719 (gui-select-text, gui-selection-value): Don't define methods.
4720 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4722 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4724 (gui-selection-exists-p): Adjust to new name of C primitive.
4726 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4727 test of gui-select-enable-clipboard, to make it usable as
4728 a gui-get-selection method.
4729 (gui-selection-exists-p): Adjust to new name of C primitive.
4730 (gui-set-selection): Merge own and disown methods.
4731 (gui-select-text, gui-selection-value): Delete methods.
4732 (w16--select-text): Delete function.
4734 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4735 (ns-selection-value): Remove functions.
4736 (gui-select-text, gui-selection-value): Don't define method any more.
4737 (gui-set-selection): Merge the old own and disown methods.
4738 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4739 underlying C primitive.
4741 * startup.el (command-line): Adjust now that `gui-method' expects nil
4744 * frame.el (gui-method): Use window-system rather than framep.
4745 (gui-method-declare): The tty case is now nil rather than t.
4746 (make-frame): Adjust accordingly.
4748 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * net/newst-reader.el (newsticker--image-read): Simplify.
4751 (newsticker--icon-read): Use dolist and fix free var error.
4753 * imenu.el (imenu--menubar-keymap): New var.
4754 (imenu-add-to-menubar): Set it to remember the keymap we used.
4755 (imenu-update-menubar): Use it instead of asking lookup-key.
4757 * obsolete/cc-compat.el: Make obsolete (bug#18561).
4759 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4761 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4764 2014-10-21 Glenn Morris <rgm@gnu.org>
4766 * Merge in all changes up to version 24.4 release.
4768 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4773 2014-10-20 Glenn Morris <rgm@gnu.org>
4775 * Merge in all changes up to 24.4 release.
4777 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
4779 * net/newst-backend.el
4780 (newsticker--image-download-by-url-callback): Make this function
4781 actually work: Check status properly, then save image.
4783 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4787 (mouse-drag-line): Unless there's no actual mouse, use the event's
4790 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * textmodes/css-mode.el (scss-mode): New major-mode.
4793 (css-mode-syntax-table): Use d style comment, to ease the scss case.
4794 (css-ident-re): Allow things like @-moz-keyframes.
4795 (scss--hash-re): New const.
4796 (css--font-lock-keywords): New function, extracted from
4797 css-font-lock-keywords.
4799 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
4801 * net/newst-backend.el: Require url-parse.
4802 (newsticker--get-news-by-wget): Store feed name as process property.
4803 (newsticker--sentinel): Read feed name from process property.
4804 (newsticker--sentinel-work): Rename argument name to feed-name.
4805 Rename variable imageurl to image-url. Pick icon url from Atom
4806 1.0 data. Launch download of feed icon.
4807 (newsticker--get-icon-url-atom-1.0): New.
4809 (newsticker--unxml-node)
4810 (newsticker--unxml-attribute): Documentation.
4811 (newsticker--icons-dir): New.
4812 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4813 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4814 (newsticker--image-download-by-wget): New. Use process properties
4815 for storing informations.
4816 (newsticker--image-sentinel): Read informations from process properties.
4817 (newsticker--image-save)
4818 (newsticker--image-remove)
4819 (newsticker--image-download-by-url)
4820 (newsticker--image-download-by-url-callback): New.
4821 (newsticker-opml-export): Handle url list entries containing a
4822 function instead of an url string.
4824 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4825 (newsticker--print-extra-elements)
4826 (newsticker--do-print-extra-element):
4827 Documentation (newsticker--image-read): Optionally limit image height.
4828 Use imagemagick if possible.
4829 (newsticker--icon-read): New.
4831 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4832 (newsticker--treeview-tree-expand): Use feed icons in treeview.
4833 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
4834 (newsticker--tree-widget-leaf-icon): Use feed icon.
4836 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4839 Use help-function-arglist instead.
4841 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4842 (eieio--with-scoped-class): Use `declare'.
4843 (eieio-defclass): Remove compatibility code.
4844 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4845 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4847 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
4849 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4851 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4852 replacements to stock names before stock names in a list.
4853 Cdr may be a list, each name is tried in turn until one is found.
4855 2014-10-18 Alan Mackenzie <acm@muc.de>
4857 Check that a "macro" found near point-min isn't a ## operator.
4859 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4860 (c-beginning-of-macro): Use the above new function.
4862 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
4864 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4865 correct data to `gnutls-boot' (Bug#18664).
4866 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4868 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
4870 * whitespace.el (whitespace-style, whitespace-big-indent)
4871 (whitespace-big-indent-regexp, whitespace-style-value-list)
4872 (whitespace-toggle-option-alist, whitespace-interactive-char)
4873 (whitespace-toggle-options)
4874 (global-whitespace-toggle-options, whitespace-help-text)
4875 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4876 style to `whitespace-mode' to indicate that the line indentation
4877 is too deep. By default, 32 SPACEs or four TABs are considered
4878 too many but `whitespace-big-indent-regexp' can be configured.
4880 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
4882 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4885 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4888 (defclass, defgeneric, defmethod): Add doc-string position.
4889 (with-slots): Require cl-lib.
4891 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4892 (list-of): New type.
4893 (eieio--typep): Remove.
4894 (eieio-perform-slot-validation): Use cl-typep instead.
4896 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4898 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4900 2014-10-16 Alan Mackenzie <acm@muc.de>
4902 Trigger showing when point is in the "periphery" of a line or just
4904 * paren.el (show-paren-style, show-paren-delay)
4905 (show-paren-priority, show-paren-ring-bell-on-mismatch):
4906 Remove superfluous :group specifications.
4907 (show-paren-when-point-inside-paren)
4908 (show-paren-when-point-in-periphery): New customizable variables.
4909 (show-paren-highlight-openparen): Make into a defcustom.
4910 (show-paren--unescaped-p, show-paren--categorize-paren)
4911 (show-paren--locate-near-paren): New defuns.
4912 (show-paren--default): Refaactor and trigger on more paren
4914 (show-paren-function): Small consequential changes.
4916 2014-10-16 Tom Tromey <tom@tromey.com>
4918 * files.el (auto-mode-alist): Use javascript-mode for .jsm
4921 2014-10-16 Eli Zaretskii <eliz@gnu.org>
4923 * international/characters.el (bracket-type): Force pre-loading of
4926 2014-10-16 Alan Mackenzie <acm@muc.de>
4928 * cus-edit.el (custom-command-apply): Specify the return value in
4930 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4931 custom-command-apply has returned non-nil.
4933 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4936 Remove incorrect handling of eldoc-print-after-edit.
4937 (eldoc-message-commands, eldoc-last-data): Use defvar.
4938 * loadup.el (emacs-lisp/eldoc): Load it.
4940 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4942 (m4--quoted-p): New function.
4943 (m4-font-lock-keywords): Don't handle #..\n comments any more.
4944 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4945 for most special characters.
4947 * progmodes/compile.el (compilation--previous-directory): Simplify.
4948 (compilation-next-error): Ensure the parse before we look at
4949 compilation-message property.
4951 2014-10-15 Eli Zaretskii <eliz@gnu.org>
4953 * simple.el (what-cursor-position):
4954 * descr-text.el (describe-char): Update to support the new bidi
4957 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
4958 Force bidi-paragraph-direction to 'left-to-right'. This fixes
4959 buffer-menu display when the first buffer happens to start with
4962 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4964 * progmodes/elisp-mode.el (elisp--local-variables-1):
4965 Handle quoted expressions (bug#18688).
4967 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
4968 Michael Albinus <michael.albinus@gmx.de>
4970 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4971 Reduce the amount of set environment variable commands.
4973 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4975 Fix import completion. (Bug#18582)
4976 * progmodes/python.el (python-shell-completion-get-completions):
4977 Fix import case regexp.
4979 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4981 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
4982 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
4983 * progmodes/prolog.el (prolog-electric--underscore): Same.
4985 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
4987 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
4989 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
4991 * cus-start.el (all): Add missing ns and boolean to
4992 ns-use-fullscreen-animation.
4994 2014-10-11 Leo Liu <sdl.web@gmail.com>
4996 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
4998 (cfengine3-create-imenu-index): New function.
4999 (cfengine3-mode): Use it for `imenu-create-index-function'.
5000 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5003 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5005 * cus-start.el (all): Add ns-use-fullscreen-animation.
5007 2014-10-11 Glenn Morris <rgm@gnu.org>
5009 * calendar/diary-lib.el (diary-display-function):
5010 Drop support for deprecated nil and list forms.
5011 (diary-list-entries): Update for the above.
5012 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5014 2014-10-10 Leo Liu <sdl.web@gmail.com>
5016 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5019 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5021 * select.el (gui-selection-exists-p-alist): New method.
5022 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5023 * simple.el (deactivate-mark): Use it.
5024 * term/x-win.el (gui-selection-exists-p):
5025 * term/w32-win.el (gui-selection-exists-p):
5026 * term/pc-win.el (gui-selection-exists-p):
5027 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5029 2014-10-10 Glenn Morris <rgm@gnu.org>
5031 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
5032 Fix :type. Allow t to mean no limit.
5033 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5035 2014-10-09 Glenn Morris <rgm@gnu.org>
5037 * frame.el (display-monitor-attributes-list): Doc tweaks.
5039 2014-10-09 Eli Zaretskii <eliz@gnu.org>
5041 * faces.el (display-grayscale-p): Mention in the doc string that
5042 the argument can be either a display name or a frame.
5044 * frame.el (display-pixel-height, display-pixel-width)
5045 (display-mm-height, display-mm-width, display-backing-store)
5046 (display-save-under, display-planes, display-color-cells)
5047 (display-visual-class, display-monitor-attributes-list)
5048 (display-screens): Mention in the doc string that the argument can
5049 be either a display name or a frame. Improve the docs of the
5050 monitor attributes. (Bug#18636)
5052 2014-10-09 Martin Rudalics <rudalics@gmx.at>
5054 * term.el (term-window-width): Subtract 1 from the width when
5055 any fringe has zero width, not just the right fringe. (Bug#18601)
5057 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5059 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
5061 2014-10-08 Leo Liu <sdl.web@gmail.com>
5063 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
5065 2014-10-08 Glenn Morris <rgm@gnu.org>
5067 * calendar/cal-x.el (calendar-dedicate-diary):
5068 Drop support for recently deleted aliases.
5070 2014-10-08 Leo Liu <sdl.web@gmail.com>
5072 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
5073 Always return a syntax. Replace call-process-shell-command with
5074 process-file. Ensure cfengine-mode-syntax-functions-regex is
5075 always set. Ensure cache when cfengine-cf-promises fails.
5078 2014-10-07 Glenn Morris <rgm@gnu.org>
5080 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
5082 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
5084 Sync with upstream verilog-mode revision c075a492.
5085 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5086 (verilog-menu): Add AUTOINSERTLAST.
5087 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
5088 is nil, fix indenting initial/final to match always statements, bug825.
5089 Reported by Tim Clapp.
5090 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
5091 bug557. Reported by ZeDong Mao and Jason Forkey.
5092 (verilog-read-decls): Fix parsing typed interfaces.
5093 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
5094 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
5095 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
5096 Reported by Pierre-David Pfister.
5097 (verilog-auto-insert-lisp): Doc fix.
5098 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
5099 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
5100 (verilog-sk-ovm-class, verilog-sk-uvm-object)
5101 (verilog-sk-uvm-component): Fix missing string keyword in class
5102 skeletons, bug824. Reported by eldad faruhi.
5104 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5106 * term/w32-win.el: Move all code from 32-common-fns.el here.
5107 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
5108 console as well (bug#18629).
5109 * w32-common-fns.el: Remove.
5110 * loadup.el: Don't load w32-common-fns.el.
5111 * w32-fns.elc: Don't require w32-common-fns.
5113 * icomplete.el: Move Iswitchb autoload here. Much simpler.
5114 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
5115 Remove redundant obsolescence thingy.
5116 * loadup.el: Don't load obsolete/loaddefs.el.
5117 * Makefile.in (obsolete-autoloads): Remove.
5118 (AUTOGENEL): Remove obsolete/loaddefs.el.
5120 2014-10-06 Glenn Morris <rgm@gnu.org>
5122 * Makefile.in (obsolete-autoloads): Write to a separate file,
5123 to workaround autoloads bug. (Bug#17407)
5124 (AUTOGENEL): Add obsolete/loaddefs.el.
5125 * loadup.el: Load obsolete/loaddefs.el if present.
5126 * subr.el (do-after-load-evaluation):
5127 Don't warn about obsolete/loaddefs.el.
5129 * menu-bar.el (menu-bar-games-menu): Remove landmark.
5130 It has zero relationship to a game.
5132 2014-10-06 Leo Liu <sdl.web@gmail.com>
5134 * imenu.el (imenu): Re-write for clarity.
5136 2014-10-06 Glenn Morris <rgm@gnu.org>
5138 Remove calendar code obsolete since at least version 23.1.
5139 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5140 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
5141 (calendar-goto-bahai-date, list-bahai-diary-entries)
5142 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
5143 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5144 (insert-yearly-bahai-diary-entry):
5145 * calendar/cal-china.el (chinese-calendar-time-zone)
5146 (chinese-calendar-location-name)
5147 (chinese-calendar-daylight-time-offset)
5148 (chinese-calendar-standard-time-zone-name)
5149 (chinese-calendar-daylight-time-zone-name)
5150 (chinese-calendar-daylight-savings-starts)
5151 (chinese-calendar-daylight-savings-ends)
5152 (chinese-calendar-daylight-savings-starts-time)
5153 (chinese-calendar-daylight-savings-ends-time)
5154 (chinese-calendar-celestial-stem)
5155 (chinese-calendar-terrestrial-branch)
5156 (calendar-absolute-from-chinese, calendar-print-chinese-date)
5157 (calendar-goto-chinese-date):
5158 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
5159 (calendar-print-coptic-date, coptic-prompt-for-date)
5160 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
5161 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
5162 * calendar/cal-french.el (calendar-absolute-from-french)
5163 (calendar-print-french-date, calendar-goto-french-date):
5164 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
5165 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
5166 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
5167 (holiday-rosh-hashanah-etc, holiday-hanukkah)
5168 (holiday-passover-etc, holiday-tisha-b-av-etc)
5169 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
5170 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
5171 (insert-monthly-hebrew-diary-entry)
5172 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
5173 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
5174 (diary-sabbath-candles):
5175 * calendar/cal-islam.el (calendar-absolute-from-islamic)
5176 (calendar-print-islamic-date, calendar-goto-islamic-date)
5177 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
5178 (mark-islamic-diary-entries, insert-islamic-diary-entry)
5179 (insert-monthly-islamic-diary-entry)
5180 (insert-yearly-islamic-diary-entry):
5181 * calendar/cal-iso.el (calendar-absolute-from-iso)
5182 (calendar-print-iso-date, calendar-iso-read-args)
5183 (calendar-goto-iso-date, calendar-goto-iso-week):
5184 * calendar/cal-julian.el (calendar-absolute-from-julian)
5185 (calendar-print-julian-date, calendar-goto-julian-date)
5186 (calendar-absolute-from-astro, calendar-print-astro-day-number)
5187 (calendar-goto-astro-day-number):
5188 * calendar/cal-mayan.el (calendar-print-mayan-date)
5189 (calendar-next-haab-date, calendar-previous-haab-date)
5190 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
5191 (calendar-next-calendar-round-date)
5192 (calendar-previous-calendar-round-date)
5193 (calendar-absolute-from-mayan-long-count)
5194 (calendar-goto-mayan-long-count-date):
5195 * calendar/cal-move.el (scroll-calendar-left)
5196 (scroll-calendar-right, scroll-calendar-left-three-months)
5197 (scroll-calendar-right-three-months):
5198 * calendar/cal-persia.el (calendar-absolute-from-persian)
5199 (calendar-print-persian-date, persian-prompt-for-date)
5200 (calendar-goto-persian-date):
5201 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
5202 * calendar/calendar.el (view-diary-entries-initially)
5203 (mark-diary-entries-in-calendar, calendar-today-face)
5204 (diary-face, holiday-face, view-calendar-holidays-initially)
5205 (mark-holidays-in-calendar, initial-calendar-window-hook)
5206 (today-visible-calendar-hook, today-invisible-calendar-hook)
5207 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
5208 (bahai-diary-entry-symbol, american-date-diary-pattern)
5209 (european-date-diary-pattern, european-calendar-display-form)
5210 (american-calendar-display-form, holidays-in-diary-buffer)
5211 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
5212 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
5213 (fancy-diary-buffer, increment-calendar-month)
5214 (extract-calendar-month, extract-calendar-day)
5215 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
5216 (mark-visible-calendar-date, calendar-version):
5217 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
5218 (diary-display-hook, list-diary-entries-hook)
5219 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
5220 (nongregorian-diary-marking-hook, print-diary-entries-hook)
5221 (abbreviated-calendar-year, number-of-diary-entries)
5222 (view-other-diary-entries, add-to-diary-list)
5223 (include-other-diary-files, simple-diary-display)
5224 (fancy-diary-display, print-diary-entries, mark-diary-entries)
5225 (mark-sexp-diary-entries, mark-included-diary-files)
5226 (mark-calendar-days-named, mark-calendar-month)
5227 (mark-calendar-date-pattern, sort-diary-entries)
5228 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
5229 (insert-weekly-diary-entry, insert-monthly-diary-entry)
5230 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
5231 (insert-block-diary-entry, insert-cyclic-diary-entry)
5232 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
5233 * calendar/holidays.el (general-holidays, oriental-holidays)
5234 (local-holidays, other-holidays, hebrew-holidays)
5235 (christian-holidays, islamic-holidays, bahai-holidays)
5236 (solar-holidays, list-calendar-holidays)
5237 (check-calendar-holidays, mark-calendar-holidays)
5238 (filter-visible-calendar-holidays):
5239 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
5240 (diary-phases-of-moon): Remove obsolete aliases.
5241 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
5242 * calendar/cal-x.el (calendar-one-frame-setup)
5243 (calendar-only-one-frame-setup, calendar-two-frame-setup):
5244 Remove obsolete functions.
5245 (cal-x-load-hook): Remove obsolete hook.
5246 * calendar/calendar.el (european-calendar-style):
5247 Remove obsolete variable.
5248 (calendar-date-style): No longer consult european-calendar-style.
5249 * calendar/calendar.el (european-calendar, american-calendar):
5250 Remove obsolete commands.
5251 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
5252 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
5253 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
5254 Use the face `diary' instead of the variable `diary-face'.
5255 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
5256 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
5257 * calendar/icalendar.el (icalendar--date-style): Remove function.
5258 Replace all uses with calendar-date-style.
5259 * textmodes/remember.el (calendar-date-style): Declare.
5260 (remember-diary-convert-entry):
5261 No longer consult european-calendar-style.
5263 2014-10-05 Leo Liu <sdl.web@gmail.com>
5265 * imenu.el (imenu-default-goto-function): Fix typo.
5267 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5269 * net/ntlm.el (ntlm-build-auth-request):
5270 Add NTLM2 Session support. (Bug#15603)
5272 2014-10-04 Glenn Morris <rgm@gnu.org>
5274 * apropos.el (apropos-symbols-internal):
5275 Avoid error with non-symbol properties. (Bug#18337#16)
5277 * startup.el (command-line):
5278 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
5280 2014-10-04 Martin Rudalics <rudalics@gmx.at>
5282 * window.el (window-full-height-p): Make it behave correctly for
5284 (window-current-scroll-bars): Fix code.
5285 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
5287 * frame.el (frame-current-scroll-bars): Fix doc-string.
5288 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
5290 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
5292 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
5294 2014-10-04 Glenn Morris <rgm@gnu.org>
5296 * frame.el (frame-monitor-attributes)
5297 (display-monitor-attributes-list): Doc fixes.
5299 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5301 Merge trivially safe differences from standalone CC-mode.
5302 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
5303 just to then pass it to `symbol-value'.
5304 (prog-mode): Provide fallback definition, if needed.
5305 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
5306 Remove "cl-" prefix accordingly.
5307 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
5308 characterp depending on the type of characters.
5309 (c-font-lock-enum-tail): Remove unused var `start'.
5310 * progmodes/cc-engine.el: Load CL at compile-time.
5311 (c-declare-lang-variables): Use mapcan.
5312 (c-append-to-state-cache): Remove unused var `ce+1'.
5313 (c-parse-state-state): Make buffer-local.
5314 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
5315 (c-just-after-func-arglist-p): Remove unused var `end'.
5316 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
5317 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
5318 (c-make-keywords-re): Use delete-dups.
5319 (c-get-current-file): Avoid file-name-base.
5320 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
5321 `close-paren-inserted'.
5322 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
5324 * progmodes/python.el: Avoid building unneeded markers.
5325 (python-font-lock-keywords, python-indent-dedent-line)
5326 (python-fill-paren, python-shell-completion-complete-or-indent):
5327 Prefer point over point-marker.
5328 (inferior-python-mode): Remove redundant completion settings.
5330 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
5332 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
5333 (vc-svn-ignore): Use it. (Bug#18619)
5335 2014-10-03 Martin Rudalics <rudalics@gmx.at>
5337 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
5338 In doc-string mention need to set `frame-resize-pixelwise'.
5340 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
5343 similarly to Rogers's 2010-06-16 change for the remote case
5346 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5348 New gui-selection-value consolidating x-selection-value.
5349 * select.el (gui-selection-value-alist): New method.
5350 (gui-selection-value): New function.
5351 (x-selection-value): Make it an obsolete alias.
5352 * simple.el (interprogram-paste-function): Default to
5353 gui-selection-value.
5354 * w32-common-fns.el (w32-get-selection-value): Simplify.
5355 (x-selection-value): Remove alias.
5356 (interprogram-paste-function): Don't set.
5357 (gui-selection-value): Define for w32.
5358 * term/x-win.el (gui-selection-value): Define for x.
5359 (x--selection-value): Rename from x--selection-value.
5360 (interprogram-paste-function): Don't set.
5361 * term/pc-win.el (w16-get-selection-value): Simplify.
5362 (msdos-initialize-window-system): Don't set
5363 interprogram-paste-function.
5364 (gui-selection-value): Define for pc.
5365 * term/ns-win.el (x-selection-value): Remove.
5366 (gui-selection-value): Define for ns, instead.
5367 * term/common-win.el (x-setup-function-keys): Don't set
5368 interprogram-paste-function.
5369 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
5370 Use gui-selection-value.
5372 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
5374 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
5376 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * obsolete/lucid.el (read-number): Remove, redundant.
5379 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
5382 2014-10-02 Glenn Morris <rgm@gnu.org>
5384 * emacs-lisp/package.el (package-import-keyring):
5385 Create gnupg directory private. (Bug#17625#155)
5387 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5389 * progmodes/python.el (python-shell-completion-get-completions):
5390 Use python-shell--prompt-calculated-input-regexp from the
5391 process buffer (bug#18582).
5392 Don't assume that `line' comes from the process buffer.
5394 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * frame.el: Use lexical-binding (bug#18598).
5397 (make-frame): Use t rather than nil for tty's window-system.
5398 * startup.el (command-line): Use gui-method.
5400 Consolidate management/ownership of selections.
5401 * select.el (gui-get-selection-alist): New method.
5402 (gui-get-selection): Use it. Rename from x-get-selection.
5403 (x-get-selection): Define as obsolete alias.
5404 (x-get-clipboard): Mark obsolete.
5405 (gui-get-primary-selection): New function.
5406 (x-get-selection-value): Mark obsolete.
5407 (gui-own-selection-alist, gui-disown-selection-alist)
5408 (gui-selection-owner-p-alist): New methods.
5409 (gui-set-selection): Use them. Rename from x-set-selection.
5410 (x-set-selection): Define as obsolete alias.
5411 (gui--valid-simple-selection-p): Rename from
5412 x-valid-simple-selection-p.
5413 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
5414 (gui-selection-owner-p, gui-get-selection): Define for w32.
5415 (w32-get-selection-value): Rename from x-get-selection-value.
5416 Use the new gui-last-selected-text.
5417 * term/x-win.el (x-get-selection-value): Remove.
5418 (x-clipboard-yank): Declare obsolete.
5419 (gui-own-selection, gui-disown-selection, gui-get-selection)
5420 (gui-selection-owner-p): Define for x.
5421 * term/w32-win.el (w32-win-suspend-error): Rename from
5422 x-win-suspend-error.
5423 * term/pc-win.el (w16-get-selection-value): Rename from
5424 x-get-selection-value.
5425 (w16-selection-owner-p): Rename from x-selection-owner-p.
5426 (gui-own-selection, gui-disown-selection, gui-get-selection)
5427 (gui-selection-owner-p): Define for pc.
5428 (w16--select-text): New function.
5429 * term/ns-win.el (gui-own-selection, gui-disown-selection)
5430 (gui-get-selection, gui-selection-owner-p): Define for ns.
5431 * term.el (term-mouse-paste):
5432 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
5434 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
5436 * calc/calc-help.el (calc-describe-thing): Quote strings
5437 which could look like regexps.
5439 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5441 Consolidate x-select-text.
5442 * frame.el (gui-method, gui-method-define, gui-method-declare)
5443 (gui-call): New macros.
5444 (gui-method--name): New function.
5445 (frame-creation-function-alist): Use gui-method-declare.
5446 (make-frame): Use gui-method.
5447 * select.el (gui-select-enable-clipboard): Rename from
5448 x-select-enable-clipboard and move here.
5449 (x-select-enable-clipboard): Define as obsolete alias.
5450 (gui-last-selected-text): New var, to replace x-last-selected-text.
5451 (gui-select-text): New GUI method.
5452 (gui-select-text): New function.
5453 (x-select-text): Define as obsolete alias.
5454 * term/common-win.el (x-select-enable-clipboard, x-select-text):
5456 * simple.el (interprogram-cut-function): Change default to
5458 (interprogram-paste-function): Change default to `ignore'.
5459 * w32-common-fns.el (interprogram-cut-function): Don't modify.
5460 * term/x-win.el (interprogram-cut-function): Don't modify.
5461 (gui-select-text): Add method for x.
5462 * term/w32-win.el (gui-select-text): Add method for w32.
5463 * term/pc-win.el (x-last-selected-text): Remove, use
5464 gui-last-selected-text instead.
5465 (msdos-initialize-window-system): Don't set interprogram-cut-function.
5466 (gui-select-text): Add method for pc.
5467 * term/ns-win.el (ns-last-selected-text): Remove, use
5468 gui-last-selected-text instead.
5469 (gui-select-text): Add method for ns.
5470 (x-setup-function-keys): Don't change interprogram-cut-function.
5471 * loadup.el ("startup"): Load after "frame".
5472 * subr.el (package--builtin-versions, package--description-file):
5473 Move from startup.el.
5474 * startup.el (package--builtin-versions, package--description-file):
5476 (handle-args-function-alist, window-system-initialization-alist):
5477 Use gui-method-declare.
5478 (command-line): Use gui-method.
5480 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5482 * subr.el (alist-get): New accessor.
5483 * emacs-lisp/gv.el (alist-get): Provide expander.
5484 * winner.el (winner-remember):
5485 * tempo.el (tempo-use-tag-list):
5486 * progmodes/gud.el (minor-mode-map-alist):
5487 * international/mule-cmds.el (define-char-code-property):
5488 * frameset.el (frameset-filter-params):
5489 * files.el (dir-locals-set-class-variables):
5490 * register.el (get-register, set-register):
5491 * calc/calc-yank.el (calc-set-register): Use it.
5492 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
5493 * tooltip.el (tooltip-set-param): Mark as obsolete.
5494 (tooltip-show): Use alist-get instead.
5495 * ses.el (ses--alist-get): Remove. Use alist-get instead.
5497 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
5499 * net/newst-backend.el: Remove Time-stamp. Rename variable
5500 `newsticker--download-logos' to `newsticker-download-logos' and
5501 make it customizable.
5502 (newsticker--sentinel-work): Move xml-workarounds to function
5503 `newsticker--do-xml-workarounds', call unless libxml-parser is
5504 used. Allow single quote in regexp for encoding.
5505 Use libxml-parser if available, else fall back to `xml-parse-region'.
5506 Take care of possibly missing namespace prefixes (like "RDF"
5507 instead of "rdf:RDF") when checking xml nodes and attributes (as
5508 libxml correctly removes the prefixes). Always use Atom 1.0 as
5509 fallback feed type. Rename `newsticker--download-logos' to
5510 `newsticker-download-logos'
5511 (newsticker--unxml, newsticker--unxml-node)
5512 (newsticker--unxml-attribute): New.
5513 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
5514 HTML code has become part of the xml parse tree.
5515 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
5516 of possibly missing namespace prefixes.
5517 (newsticker--parse-generic-items): Code formatting. Typo.
5518 (newsticker--images-dir): Add trailing slash.
5519 (newsticker--image-get): Fix error message.
5521 * net/newst-plainview.el: Remove Time-stamp.
5523 * net/newst-reader.el: Remove Time-stamp.
5524 (newsticker-download-logos): Rename variable
5525 `newsticker--download-logos' to `newsticker-download-logos' and
5526 make it customizable.
5527 (newsticker--print-extra-elements): Add optional parameter
5528 'htmlish for using html markup. Amend list of ignored elements.
5529 (newsticker--do-print-extra-element): Add parameter 'htmlish for
5532 * net/newst-ticker.el: Remove Time-stamp.
5534 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
5535 for formatting extra elements.
5537 * net/newsticker.el: Remove Time-stamp, Version.
5538 (newsticker-version): Make obsolete.
5540 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
5542 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
5545 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5547 * emacs-lisp/package.el (package-check-signature): Default to nil if
5548 GPG is not available.
5549 (package-refresh-contents): Don't mess with the keyring if we won't
5550 check the signatures anyway.
5552 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5554 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
5555 (ses-center, ses-center-span): Use them.
5556 (ses-print-cell): Bind them while calling the printer.
5557 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
5558 (ses-dorange): Revert last change.
5559 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
5561 (ses-set-cell): Avoid `eval'.
5562 (ses--time-check): Rename it from ses-time-check and turn it into
5565 * ses.el (ses-setup): Don't assume modifying the iteration var of
5566 dotimes affects the iteration (bug#18191).
5568 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5570 * ses.el (ses-calculate-cell): Bind row and col dynamically to
5571 their values with 'cl-progv'.
5572 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
5573 their values with 'cl-progv', also use non-interned symbols for
5574 row, minrow, maxrow, mincol and maxcol.
5575 (maxrow maxcol): New defvar, to make the compiler happy.
5577 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
5580 completion functions.
5582 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * ses.el (ses--letref): Quote value before it gets re-evaluated.
5586 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
5588 Font-lock `cl-flet*', too.
5589 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
5590 Add "flet*" to intermediate var `cl-lib-kw'.
5592 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * epg-config.el (epg-gpg-program): Use the plain program names rather
5595 than their absolute file name.
5597 * subr.el (track-mouse): New macro.
5598 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5599 Remove track-mouse case.
5600 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
5602 2014-09-27 Leo Liu <sdl.web@gmail.com>
5604 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
5606 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
5608 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
5611 Handle the case where `match' is :pcase--succeed or :pcase--fail
5614 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
5615 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
5616 (eldoc-schedule-timer): Obey it.
5617 (eldoc-documentation-function): Default to nil.
5618 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
5619 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
5620 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
5621 (eldoc-last-data-store, eldoc-docstring-first-line)
5622 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
5623 (eldoc-beginning-of-sexp, eldoc-current-symbol)
5624 (eldoc-function-argstring): Move to elisp-mode.el.
5625 (eldoc-symbol-function): Remove, unused.
5626 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
5627 (elisp-completion-at-point): Rename from lisp-completion-at-point.
5628 (elisp--preceding-sexp): Rename from preceding-sexp.
5629 * loadup.el: Load new file progmodes/elisp-mode.
5630 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
5631 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
5632 (lisp--local-variables-completion-table, lisp--expect-function-p)
5633 (lisp--form-quoted-p, lisp--company-doc-buffer)
5634 (lisp--company-doc-string, lisp--company-location)
5635 (lisp-completion-at-point): Move to elisp-mode.el.
5636 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
5637 extracted from emacs-lisp-mode-syntax-table.
5638 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
5640 (lisp-imenu-generic-expression): Add comments to document what comes
5641 from which Lisp dialect.
5642 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
5643 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
5644 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
5645 (emacs-lisp-byte-code-comment)
5646 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
5647 (lisp-interaction-mode-map, lisp-interaction-mode)
5648 (eval-print-last-sexp, last-sexp-setup-props)
5649 (last-sexp-toggle-display, prin1-char, preceding-sexp)
5650 (eval-last-sexp-1, eval-last-sexp-print-value)
5651 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
5652 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
5654 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
5656 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
5657 Do not match file names that end in '/', as they cannot be 'grep'
5658 hits nowadays. This prevents confusion when 'grep -r' reports a
5659 match in a file whose basename is ':12345:'. Conversely, do not
5660 require exactly the same sequence of spaces and tabs after both
5661 colons, and allow spaces or tabs before the second colon, as per
5662 the POSIX spec for 'grep' output.
5664 2014-09-26 Leo Liu <sdl.web@gmail.com>
5666 Add cl-parse-integer based on parse-integer (Bug#18557)
5667 * calendar/parse-time.el (parse-time-digits): Remove.
5668 (digit-char-p, parse-integer) Moved to cl-lib.el.
5669 (parse-time-tokenize, parse-time-rules, parse-time-string):
5670 Use cl-parse-integer.
5672 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5674 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5675 (cl-digit-char-p): New function.
5677 2014-09-25 Juri Linkov <juri@jurta.org>
5679 * vc/add-log.el (change-log-next-buffer): Don't create an empty
5680 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5681 Return the current buffer if no files match the default pattern
5682 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
5684 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5686 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5687 the global vc-handled-backends (bug#18535).
5689 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5692 Suggested by <lompik@voila.fr>.
5694 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
5696 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5697 Rename from `newsticker--treeview-do-get-node'.
5698 (newsticker--treeview-get-node-by-id):
5699 Rename from `newsticker--treeview-get-node'.
5700 (newsticker--treeview-buffer-init)
5701 (newsticker--treeview-buffer-init): Disable buffer undo.
5702 (newsticker--treeview-unfold-node): Adapt to modified
5703 `newsticker--group-find-parent-group'.
5704 (newsticker--group-do-find-group):
5705 Rename from `newsticker--group-do-find-group-for-feed'.
5706 Now works for both, groups and feeds.
5707 (newsticker--group-find-parent-group):
5708 Rename from `newsticker--group-find-group-for-feed'.
5709 Now works for both, groups and feeds.
5710 (newsticker--group-do-get-parent-group)
5711 (newsticker--group-get-parent-group): Remove.
5712 (newsticker-group-add-group): Change interactive prompts.
5713 (newsticker-group-add-group): Finally jump to added group.
5714 (newsticker-group-delete-group): Finally jump to current feed.
5715 (newsticker--group-do-rename-group, newsticker-group-rename-group)
5716 (newsticker--get-group-names, newsticker--group-names): New.
5717 (newsticker-group-move-feed): Finally jump to moved feed.
5718 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5719 (newsticker-group-shift-group-down)
5720 (newsticker-group-shift-group-up, newsticker--group-shift): New.
5721 (newsticker-treeview-mode-map): New keybindings for new shift commands.
5723 * net/newst-backend.el (newsticker--item-list)
5724 (newsticker--item-position, newsticker--prev-message)
5725 (newsticker--scrollable-text): Move to newst-ticker.el.
5727 * net/newst-ticker.el (newsticker--item-list)
5728 (newsticker--item-position, newsticker--prev-message)
5729 (newsticker--scrollable-text): Move from newst-backend.el.
5731 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
5733 * window.el (fit-window-to-buffer): When counting buffer width,
5734 count the whole visible buffer. Correctly convert the body-height
5735 to pixel size for window-text-pixel-size (Bug#18498).
5737 2014-09-22 Sam Steingold <sds@gnu.org>
5739 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5740 (sql-execute): Use `special-mode'.
5742 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5744 Add pcase-defmacro, as well as `quote' and `app' patterns.
5745 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5746 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5747 (pcase--funcall, pcase--eval): New functions.
5748 (pcase--u1): Use them for guard, pred, let, and app.
5749 (\`): Use the new feature to generate better code for vector patterns.
5750 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5751 (pcase--upat): Remove.
5752 (pcase--macroexpand): Don't hardcode handling of `.
5753 (pcase--split-consp, pcase--split-vector): Remove.
5754 (pcase--split-equal): Disregard ` since it's expanded away.
5755 (pcase--split-member): Optimize for quote rather than for `.
5756 (pcase--split-pred): Optimize for quote rather than for `.
5757 (pcase--u1): Remove handling of ` (and of `or' and `and').
5758 Quote non-selfquoting values when passing them to `eq'.
5759 Drop `app's let-binding if the variable is not used.
5760 (pcase--q1): Remove.
5761 (`): Define as a pattern macro.
5762 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5763 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5764 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5766 (pcase--split-match): Don't hoist or/and here any more.
5767 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5768 (pcase--flip): New helper macro.
5769 (pcase--u1): Optimize the memq case directly.
5770 Don't handle neither self-quoting nor and/or patterns any more.
5771 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5772 (pcase--macroexpand): New function.
5773 (pcase--expand): Use it.
5774 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5775 New optimization functions.
5776 (pcase--u1): Add support for `quote' and `app'.
5777 (pcase): Document them in the docstring.
5779 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5781 Use lexical-bindin in Ibuffer.
5782 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5783 (ibuffer-compile-format): Simplify.
5784 (ibuffer-clear-summary-columns): Simplify.
5785 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5786 elem of dotimes when we don't refer to the iteration var from it.
5787 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5788 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5789 Silence byte-compiler.
5791 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5793 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5794 expression for a list.
5796 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5797 for functions with no arguments.
5799 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5800 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5802 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
5804 * simple.el (clone-indirect-buffer): Mention the return value
5807 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5808 Text mode in docstring (bug#18464).
5810 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5812 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5813 Accept underscores in identifiers after "sub" (bug#18502).
5815 2014-09-21 Tassilo Horn <tsdh@gnu.org>
5817 * textmodes/reftex-sel.el (reftex-select-label-mode)
5818 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5819 from special-mode (instead of fundamental-mode) and propertize
5820 with font-lock-face instead of just face. (Bug#18496)
5822 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5824 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5826 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5827 `table-etc' when `end' is non-nil.
5828 (lisp-completion-at-point): Move `end' back if it's after quote.
5829 If in comment or string, only complete when after backquote.
5831 (lisp-completion-at-point): Don't use
5832 `lisp--local-variables-completion-table' in the
5833 `lisp--form-quoted-p' case.
5835 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5837 * emacs-lisp/lisp.el (lisp--expect-function-p)
5838 (lisp--form-quoted-p): New functions.
5839 (lisp-completion-at-point): Use them to see if we're completing a
5840 variable reference, a function name, or just any symbol.
5841 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5843 2014-09-18 Ivan Kanis <ivan@kanis.fr>
5845 * net/shr.el, net/eww.el: Don't override `shr-width', but
5846 introduce a new variable `shr-internal-width'. This allows users
5847 to specify a width themselves.
5849 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5851 * image-mode.el (image-toggle-display-image): If we have a
5852 `fit-width' or a `fit-height', don't limit the size of the image
5853 to the window size, because that doesn't preserve the aspect ratio.
5854 * image-mode.el: Move defvars earlier to avoid a byte-compilation
5857 2014-09-17 Reuben Thomas <rrt@sc3d.org>
5859 * progmodes/js.el: Add interpreter-mode-alist support for various
5860 JavaScript interpreters.
5862 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
5864 Don't assume 'grep' supports GREP_OPTIONS.
5865 The GREP_OPTIONS environment variable is planned to be marked
5866 obsolescent in GNU grep, due to problems in its use, so stop
5868 * progmodes/grep.el (grep-highlight-matches): Document this.
5869 (grep-process-setup): Do not set GREP_OPTIONS.
5870 (grep-compute-defaults): Use an explicit --color option if supported.
5872 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5875 Don't add outdated key-shortcut cache (bug#18482).
5877 2014-09-15 Glenn Morris <rgm@gnu.org>
5879 * image.el (image-multi-frame-p): Fix thinko - do not force
5880 a delay if none was specified. (Bug#18334)
5882 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
5884 * window.el (fit-window-to-buffer): Doc fix.
5886 2014-09-15 Ivan Shmakov <ivan@siamics.net>
5888 * desktop.el (desktop-create-buffer): Check that buffers are still live
5889 before burying them (bug#18373).
5891 2014-09-15 Glenn Morris <rgm@gnu.org>
5893 * calendar/diary-lib.el (diary-list-entries):
5894 Restore 24.3 display behavior. (Bug#18381)
5896 2014-09-15 Eli Zaretskii <eliz@gnu.org>
5898 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5899 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
5900 discrepancy between window-pixel-edges and mouse events, and
5901 avoids moving mode line up when the mouse click is on the modeline
5902 and no drag is attempted.
5904 2014-09-14 Daniel Colascione <dancol@dancol.org>
5906 * register.el (insert-register): Change default interactive
5909 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
5911 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5912 Suppress debug messages.
5914 * net/tramp.el (tramp-file-name-handler):
5915 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5918 2014-09-13 Christopher Schmidt <ch@ristopher.com>
5920 * calendar/calendar.el (calendar-update-mode-line):
5921 Do not overwrite mode-line-format if calendar-mode-line-format is
5924 2014-09-13 Leo Liu <sdl.web@gmail.com>
5926 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5927 (pcase--expand): Use it.
5928 (pcase-exhaustive): New macro. (Bug#16567)
5930 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5931 Add pcase-exhaustive.
5933 2014-09-13 Eli Zaretskii <eliz@gnu.org>
5935 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5936 using the specified transfer-encoding, if any, or 'undecided'.
5937 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5938 broken at the window margin.
5940 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
5942 Support rendering of HTML parts in Rmail (bug#4258).
5943 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5944 separately from other text/ types. Suppress tagline for
5946 (rmail-mime-parse): Don't change visibility of tagline here.
5947 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5948 Handle text/html specially.
5949 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
5950 (rmail-mime-insert-html, rmail-mime-render-html-shr)
5951 (rmail-mime-render-html-lynx): New functions.
5952 (rmail-mime-fix-inserted-faces): New function.
5953 (rmail-mime-process-multipart): Find the best part to show
5954 following rmail-mime-prefer-html if set.
5955 (rmail-mime-searching): New variable.
5956 (rmail-search-mime-message): Bind rmail-mime-searching to
5957 suppress rendering while searching.
5959 2014-09-12 Sam Steingold <sds@gnu.org>
5961 * progmodes/sql.el (sql-product-alist): Add vertica.
5962 (sql-vertica-program, sql-vertica-options)
5963 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
5964 New functions and variables to support Vertica.
5965 Inspired by code by Roman Scherer <roman@burningswell.com>.
5967 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
5969 * ses.el (ses-file-format-extend-parameter-list): Rename from
5970 ses-file-format-extend-paramter-list, to correct a misspelling.
5973 2014-09-10 Alan Mackenzie <acm@muc.de>
5975 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
5976 gets loaded at run-time).
5977 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
5978 c-lang-const to c-make-no-parens-syntax-table and correct the
5980 (c-no-parens-syntax-table): Correct the logic of the
5983 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5985 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
5987 * progmodes/cc-mode.el (c-basic-common-init):
5988 Set open-paren-in-column-0-is-defun-start.
5989 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
5990 Remove declarations, unused.
5991 (run-mode-hooks): Remove declaration.
5992 (font-lock-defaults): Use plain `defvar' to declare.
5993 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
5994 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
5995 (c-make-mode-syntax-table): Don't micro-optimize.
5996 (c-keywords, c-keyword-member-alist): Simplify.
5997 (c-kwds-lang-consts): Don't eval at compile-time.
5998 (c-primary-expr-regexp): Comment out unused vars.
5999 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6000 (c-font-byte-compile): New var.
6001 (c--compile): New function. Use it instead of `byte-compile'.
6002 (c-cpp-matchers): Quote the value returned by
6003 `c-make-syntactic-matcher' in case it's not self-evaluating.
6004 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6005 parentheses instead (in case MATCHER happens to be a list).
6006 (c-font-lock-enum-tail): Remove unused var `start'.
6007 (c-font-lock-objc-methods): Silence byte-compiler warnings.
6008 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6009 test into an argument.
6010 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6011 (c-get-char-property): Don't use `eval' just to unquote a constant.
6012 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
6014 (c-put-char-property-fun): Don't call `byte-compile' by hand.
6015 (c-clear-char-property, c-clear-char-properties): Check that `property'
6016 is a quoted constant.
6017 (c-emacs-features): Remove `infodock', `syntax-properties', and
6018 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6019 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
6020 changing buffer, so we don't have to setq them again afterwards.
6021 (c-lang-const): Remove redundant symbolp assertions.
6022 (c-find-assignment-for-mode): Use `or'.
6023 * Makefile.in (compile-one-process): Remove cc-mode dependency.
6025 2014-09-09 Sam Steingold <sds@gnu.org>
6027 * progmodes/sql.el (sql-default-directory): Fix type annotation.
6029 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6032 Change doc comments into docstrings.
6033 * Makefile.in: Remove cc-awk dependency.
6035 2014-09-08 Sam Steingold <sds@gnu.org>
6037 * progmodes/sql.el (sql-send-line-and-next): New command,
6039 (sql-show-sqli-buffer): Display the buffer instead of its name and
6040 bind the command to C-c C-z.
6041 (sql-default-directory): New user option.
6042 (sql-product-interactive): Bind `default-directory' to it to
6043 enable remote connections using Tramp.
6044 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6045 suitable buffer is available.
6047 2014-09-08 Glenn Morris <rgm@gnu.org>
6049 * calendar/calendar.el (calendar-basic-setup):
6050 Fix calendar-view-holidays-initially-flag and fancy display.
6051 * calendar/diary-lib.el (diary-live-p): Doc fix.
6053 * calendar/calendar.el (calendar-basic-setup):
6054 Avoid clobbering calendar with diary. (Bug#18381)
6056 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
6060 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
6062 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
6063 as well (bug#18400).
6065 2014-09-08 Eli Zaretskii <eliz@gnu.org>
6067 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
6069 2014-09-06 Leo Liu <sdl.web@gmail.com>
6071 * emacs-lisp/pcase.el (pcase): Doc fix.
6072 (pcase--split-vector): New function.
6073 (pcase--q1): Support vector qpattern. (Bug#18327)
6075 2014-09-05 Sam Steingold <sds@gnu.org>
6077 * textmodes/tex-mode.el (tex-print-file-extension): New user
6079 (tex-print): Use it instead of the hard-coded string.
6081 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
6083 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6084 Expand `default-directory'.
6086 2014-09-05 Martin Rudalics <rudalics@gmx.at>
6088 * scroll-bar.el (horizontal-scroll-bars-available-p):
6090 (horizontal-scroll-bar-mode): Rewrite using
6091 horizontal-scroll-bars-available-p.
6092 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
6093 horizontal-scroll-bars-available-p.
6095 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6097 * subr.el (call-process-shell-command, process-file-shell-command):
6098 Make the `args' obsolete (bug#18409).
6099 (start-process-shell-command, start-file-process-shell-command):
6102 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
6104 * calc/calc-forms.el (math-normalize-hms): Do a better check for
6105 "negative" hms forms.
6107 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
6109 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
6110 returns nil (bug#18391).
6112 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6114 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
6115 terminating paren (bug#18352).
6116 (eldoc-last-data-store): Return cached data.
6117 (eldoc-get-var-docstring): Avoid setq.
6118 (eldoc-get-fnsym-args-string): Clarify data flow.
6120 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6122 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
6123 case where we're currently providing part of the &rest arg after some
6124 &key args, as in define-ibuffer-op (bug#18048).
6126 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6128 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
6129 buffer-local setting of which-func-mode.
6130 (which-func-mode): Use defvar-local.
6131 (which-function-mode): Don't reset which-func-mode in each buffer since
6132 it might have been set by someone else.
6133 (which-func-update-ediff-windows): Check which-function-mode.
6135 2014-09-03 Martin Rudalics <rudalics@gmx.at>
6137 * frame.el (frame-initialize): Remove horizontal-scroll-bars
6138 from frame-initial-frame-alist.
6139 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
6140 (horizontal-scroll-bar-mode-explicit)
6141 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
6142 (toggle-horizontal-scroll-bar): Remove.
6143 (horizontal-scroll-bar-mode): Remove defcustom.
6144 (horizontal-scroll-bar-mode): Fix doc-string.
6145 (scroll-bar-toolkit-scroll)
6146 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
6148 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6150 * emacs-lisp/package.el (package-generate-description-file):
6151 Properly quote the arguments (bug#18332). Change second arg.
6152 (package--alist-to-plist-args): Rename from package--alist-to-plist and
6154 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
6155 the *-pkg.el file. Adjust to new calling convention of
6156 package-generate-description-file.
6158 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
6159 (gud-gdb-completions): Remove obsolete workaround.
6161 2014-09-03 Eli Zaretskii <eliz@gnu.org>
6163 * subr.el (posn-col-row): Revert the change from commit
6164 2010-11-13T21:07:58Z!eliz@gnu.org, which
6165 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
6166 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
6167 introduced an off-by-one error in the reported row when there is a
6168 header line. (Bug#18384)
6170 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6172 * progmodes/python.el (python-indent-post-self-insert-function):
6173 Avoid electric colon at beginning-of-defun. (Bug#18228)
6175 2014-09-03 Glenn Morris <rgm@gnu.org>
6177 * tutorial.el (tutorial--display-changes):
6178 Fix 2014-08-01 change. (Bug#18382)
6180 2014-09-03 Ken Brown <kbrown@cornell.edu>
6182 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
6183 the Cygwin-w32 build. (Bug#18347)
6185 2014-09-03 Glenn Morris <rgm@gnu.org>
6187 * tar-mode.el (tar--extract, tar-extract):
6188 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
6190 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
6193 handle multiline elements (bug#18380).
6195 2014-09-01 Eli Zaretskii <eliz@gnu.org>
6197 * ls-lisp.el (ls-lisp-use-string-collate)
6198 (ls-lisp-UCA-like-collation): New defcustoms.
6199 (ls-lisp-string-lessp): Use them to control sorting by file
6201 (ls-lisp-version-lessp): New function.
6202 (ls-lisp-handle-switches): Use it to implement the -v switch of
6204 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
6206 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
6208 * ibuffer.el: Replace mode-specific quit function with
6209 `quit-window' via `special-mode'.
6210 (ibuffer-mode-map): Use keybindings from special-mode-map instead
6212 (ibuffer): Don't store previous windows configuration.
6213 Let `quit-window' handle restoring.
6214 (ibuffer-quit): Remove function. Use `quit-window' instead.
6215 (ibuffer-restore-window-config-on-quit): Remove variable.
6216 (ibuffer-prev-window-config): Remove variable.
6218 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
6220 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
6221 name instead of variable name in hook docstring. (Bug#18349)
6223 2014-08-29 Martin Rudalics <rudalics@gmx.at>
6225 * window.el (display-buffer-at-bottom): Prefer bottom-left
6226 window to other bottom windows. Reuse a bottom window if it
6227 shows the buffer already. Suggested by Juri Linkov
6228 <juri@jurta.org> in discussion of (Bug#18181).
6230 2014-08-29 Leo Liu <sdl.web@gmail.com>
6232 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
6233 append to minibuffer-setup-hook. (Bug#18341)
6235 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
6239 (lookup-syntax-properties): Silence byte-compiler.
6240 (c-lang-defconst): Quote the code with `lambda' rather than with
6242 (c-lang-const): Avoid unneeded setq.
6243 (c-lang-constants-under-evaluation): Add docstring.
6244 (c-lang--novalue): New constant.
6245 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
6246 (c-get-lang-constant): Same here.
6247 Get the mode's value using `funcall' now that the code is quoted
6250 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
6252 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
6255 2014-08-28 Martin Rudalics <rudalics@gmx.at>
6257 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
6258 interpretation of `portion-whole'.
6260 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
6262 * net/tramp-adb.el: Spell author name correctly.
6264 2014-08-28 João Távora <joaotavora@gmail.com>
6266 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
6267 use url-expand-file-name. (Bug#18310)
6269 2014-08-28 Glenn Morris <rgm@gnu.org>
6271 * emulation/cua-rect.el (cua--highlight-rectangle):
6272 Avoid error at point-min. (Bug#18309)
6274 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
6277 executable-find (bug#18244).
6279 * simple.el (self-insert-uses-region-functions): Defvar.
6281 2014-08-28 Glenn Morris <rgm@gnu.org>
6283 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
6285 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
6287 * startup.el (normal-top-level): Now use internal--top-level-message.
6289 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
6291 * startup.el (normal-top-level): Use top-level-message.
6293 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6295 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
6296 URLs containing spaces and the like.
6298 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6300 * subr.el (remq): Fix docstring (Bug#18253).
6302 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6304 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
6306 2014-08-24 Alan Mackenzie <acm@muc.de>
6308 Handle C++11's "auto" and "decltype" constructions.
6309 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
6310 and return 'decltype.
6311 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
6312 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
6314 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
6316 (c-font-lock-c++-new): Handle "decltype" constructions.
6317 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
6318 New c-lang-defconsts/defvars.
6319 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
6320 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
6321 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
6322 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
6324 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
6325 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
6326 off from c->-op-cont-re.
6327 (c->-op-cont-tokens): Change to use the above.
6328 (c->-op-without->-cont-regexp): New lang-const.
6329 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
6330 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
6333 2014-08-23 Alan Mackenzie <acm@muc.de>
6335 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
6336 loop, bug #18306. The bug was introduced on 2014-08-02.
6338 2014-08-21 Eli Zaretskii <eliz@gnu.org>
6340 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
6341 Don't recognize a Top node if there are other sectioning commands
6342 earlier in the Texinfo file. This fixes a bug in
6343 texinfo-make-menu and avoids inflooping in
6344 texinfo-all-menus-update when they are invoked on texinfo.texi.
6346 2014-08-21 Martin Rudalics <rudalics@gmx.at>
6348 * window.el (window--side-window-p): New function.
6349 (split-window, window-splittable-p): Use window--side-window-p to
6350 determine whether WINDOW can be split (Bug#18304).
6351 * calendar/calendar.el (calendar-basic-setup): Fix one call of
6352 `window-splittable-p' and add another (Bug#18304).
6354 2014-08-20 Sam Steingold <sds@gnu.org>
6356 * progmodes/python.el (python-new-pythonpath): Extract from
6357 `python-shell-calculate-process-environment'.
6359 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6361 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
6362 for &key args (bug#18048).
6364 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6366 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
6367 (eldoc-function-argstring-format): Remove.
6368 (eldoc-function-argstring): Always return upcase args.
6369 Use help-make-usage. Don't add parens.
6370 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
6371 it's too late to do it right (bug#18048).
6373 2014-08-18 Eli Zaretskii <eliz@gnu.org>
6375 * scroll-bar.el (scroll-bar-horizontal-drag-1)
6376 (scroll-bar-toolkit-horizontal-scroll): When determining the
6377 paragraph direction, use the buffer of the window designated in
6380 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
6382 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
6383 context of unified diff.
6385 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
6387 Add dependencies to fix loaddefs race during parallel builds.
6388 Without this, for example, 'make -j bootstrap' can fail and report
6389 "Opening input file: no such file or directory,
6390 .../lisp/calendar/diary-loaddefs.el ... recipe for target
6391 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
6392 got confused because diary-loaddefs.el was being built in parallel.
6393 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
6394 Depend on $(CAL_DIR)/cal-loaddefs.el.
6395 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
6397 2014-08-16 Martin Rudalics <rudalics@gmx.at>
6399 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
6400 portion-whole for scrolling right-to-left text.
6402 2014-08-15 Leo Liu <sdl.web@gmail.com>
6404 * speedbar.el (speedbar-generic-list-tag-p): Allow special
6405 elements from imenu.
6407 2014-08-15 Glenn Morris <rgm@gnu.org>
6409 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
6411 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
6413 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6414 Add Guile regexpses.
6416 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
6418 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
6419 add Guile debugger support for GUD.
6421 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
6424 (mouse-sel--ignore): New function.
6425 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
6426 (mouse-sel-original-interprogram-cut-function)
6427 (mouse-sel-original-interprogram-paste-function): Remove.
6429 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
6431 * vc/vc-git.el (vc-git-resolve-when-done): New function.
6432 Call "git add" when there are no longer conflict markers.
6434 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6436 * vc/vc-git.el (vc-git-find-file-hook): New function.
6437 Adds support for calling smerge (and resolve) on a conflicted file.
6438 (vc-git-conflicted-files): New function.
6439 Useful in itself and a step towards better smerge support.
6441 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
6444 to the first part if they're the same as the selection.
6446 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6448 * image-mode.el (image-transform-reset): New command and menu item.
6449 (image-mode-map): Rearrange the menu items to put presumably more
6450 obscure items at the end.
6452 2014-08-12 Juri Linkov <juri@jurta.org>
6454 * vc/vc-annotate.el (vc-annotate-background-mode):
6455 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
6457 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6459 * files.el (out-of-memory-warning-percentage): Turn it off by default.
6461 2014-08-11 Sam Steingold <sds@gnu.org>
6463 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
6464 the presence of known validators (tidy, (o)nsgmls).
6466 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
6468 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
6469 * net/newst-treeview.el (newsticker-treeview-date-format): New.
6470 (newsticker--treeview-list-add-item):
6471 Use `newsticker-treeview-date-format'.
6473 2014-08-11 Glenn Morris <rgm@gnu.org>
6475 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
6476 chose coding system for writing before backing up, since it causes
6477 a more serious problem than the one it solves. (Closes Bug#18141,
6480 2014-08-11 Martin Rudalics <rudalics@gmx.at>
6482 * window.el (window-total-size): Make doc-string more self-contained.
6484 * window.el (display-buffer-below-selected): Restore original
6485 behavior if buffer is already displayed in the window below the
6486 selected one (Bug#18181).
6488 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
6490 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
6493 2014-08-11 Eli Zaretskii <eliz@gnu.org>
6495 * info.el (info): Doc fix.
6497 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
6499 * info.el (Info-mode-map): Override a global down-mouse-2 binding
6502 2014-08-11 Eli Zaretskii <eliz@gnu.org>
6504 * simple.el (default-line-height): A floating-point value of
6505 line-spacing means a fraction of the default frame font's height,
6506 not of the font currently used by the 'default' face.
6507 Truncate the pixel value, like the display engine does.
6508 (window-screen-lines): Use window-inside-pixel-edges for
6509 determining the window height in pixels. (Bug#18195)
6511 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
6513 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
6515 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
6517 Enumerate evaluated sexp diary entries (Bug#7911).
6518 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
6519 (icalendar-export-sexp-enumeration-days): New.
6520 (icalendar-export-region): Now `icalendar--convert-to-ical'
6521 returns a cons cell or a list of cons cells.
6522 (icalendar--convert-to-ical): Take care of
6523 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
6524 (icalendar--convert-ordinary-to-ical)
6525 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6526 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
6527 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
6528 (icalendar--convert-anniversary-to-ical): Return cons cell.
6529 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
6530 entries. Return (list of) cons cells.
6532 2014-08-09 Juri Linkov <juri@jurta.org>
6534 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
6535 to reevaluate `vc-annotate-color-map'. (Bug#18189)
6537 2014-08-09 Alan Mackenzie <acm@muc.de>
6539 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
6540 for top-level that can cause unacceptable slow-down in scrolling.
6541 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
6542 Antipov from 2013-10-14 in emacs-devel.
6544 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6546 * ibuffer.el (ibuffer-mode-map): Use toggle button for
6547 `ibuffer-auto-mode' menu entry.
6548 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
6550 2014-08-08 Matthias Meulien <orontee@gmail.com>
6552 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
6555 2014-08-07 Martin Rudalics <rudalics@gmx.at>
6557 * window.el (window--min-size-1): Explicitly set WINDOW arg in
6558 calls of window-min-pixel-height and window-min-pixel-width.
6560 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6562 * progmodes/ada-mode.el:
6563 * net/tramp.el (tramp-handle-file-symlink-p):
6564 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
6565 about VMS, which we no longer support.
6566 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
6567 and fix a FIXME, using convert-standard-filename in place of
6568 removed ada-convert-file-name.
6570 2014-08-07 Eli Zaretskii <eliz@gnu.org>
6572 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
6574 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6576 Refer to MS-DOS using the same name everywhere.
6577 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
6578 ``msdog'' become ``MS-DOS''.
6580 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
6582 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6583 Use cached "remote-copy-args" value, if available. (Bug#18199)
6585 2014-08-07 Leo Liu <sdl.web@gmail.com>
6587 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
6588 Revert change on 2014-03-22.
6590 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
6592 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
6593 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
6597 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599 * image-mode.el (image-toggle-display-image): Always rescale images
6600 to not be bigger than the current window.
6602 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
6604 * net/eww.el (eww-bookmarks-directory): New variable.
6605 (eww-write-bookmarks): Use it.
6606 (eww-read-bookmarks): Ditto.
6608 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6610 * net/shr.el (shr-copy-url): Also copy the image URL.
6612 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
6614 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
6615 also for Tramp working buffers.
6617 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6619 * progmodes/python.el: Fix completions inside (i)pdb.
6620 (python-shell-completion-pdb-string-code): Make obsolete.
6621 (python-shell-completion-get-completions):
6622 Use python-shell-completion-string-code resending setup code
6623 continuously for (i)pdb.
6625 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
6627 * rect.el (rectangle--default-line-number-format): Rename
6628 from misspelled rectange--default-line-number-format (Bug#18045).
6631 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
6633 Don't mishandle year-9999 dates (Bug#18176).
6634 * calendar/parse-time.el (parse-time-rules):
6635 Allow years up to most-positive-fixnum.
6636 * calendar/time-date.el (date-to-time):
6637 Pass "Specified time is not representable" errors through.
6639 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6641 * progmodes/python.el: Completion code cleanups.
6642 (python-shell-completion-get-completions): Detect and send import
6643 statements directly to completion function.
6644 (python-shell-completion-at-point): Simplify prompt calculation
6645 and import vs input completion logic.
6647 2014-08-02 Alan Mackenzie <acm@muc.de>
6649 Fix confusion in C++ file caused by comma in "= {1,2},".
6651 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
6652 for a statement boundary marked by "}", check there's no "="
6654 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
6655 non-nil `comma-delim' argument.
6656 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
6657 initializer expression more accurately.
6659 Correct loop termination condition in c-syntactic-skip-backward.
6660 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6661 the situation where, after moving back out of a literal,
6662 skip-chars-backward doesn't move further, yet checks have still to
6665 2014-08-01 Eli Zaretskii <eliz@gnu.org>
6667 * tutorial.el (tutorial--display-changes): Accept punctuation
6668 characters before the key binding. (Bug#18146)
6670 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
6672 * progmodes/python.el: Shell output capture enhancements.
6673 (python-shell-accept-process-output): New function.
6674 (inferior-python-mode)
6675 (python-shell-send-setup-code): Use it.
6677 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
6679 * calendar/icalendar.el (icalendar--decode-isodatetime):
6680 Use actual current-time-zone when converting to local time. (Bug#15408)
6682 2014-07-29 Martin Rudalics <rudalics@gmx.at>
6684 * window.el (window--state-put-2): Handle horizontal scroll
6687 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6689 * menu-bar.el (menu-bar-update-buffers): Update item list format
6690 in `buffers-menu' to confirm with changes to `get_keyelt'
6691 (r117463). (Bug#18016)
6693 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6695 * progmodes/python.el (inferior-python-mode): Make input prompts
6698 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
6700 * net/tramp-sh.el (tramp-get-remote-python): Also search for
6701 executables named "python2" or "python3".
6702 (tramp-get-remote-uid-with-python): Use parentheses around
6703 arguments to `print' to make it compatible with Python 3.
6704 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
6706 2014-07-28 Eli Zaretskii <eliz@gnu.org>
6708 * window.el (window--pixel-to-total): Use FRAME's root window, not
6709 that of the selected frame. (Bug#18112, Bug#16674)
6711 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
6713 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6716 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6718 * progmodes/python.el (inferior-python-mode): Doc fix.
6720 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6722 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6723 not a character, ignore it instead of raising an error.
6725 * calendar/todo-mode.el: Fix handling of marked items and make
6726 minor code improvements.
6727 (todo-edit-item): If there are marked items, ensure user can only
6728 invoke editing commands that work with marked items.
6729 (todo-edit-item--text): When there are marked items, make it a
6730 noop if invoked with point not on an item; otherwise, ensure it
6731 applies only to item at point.
6732 (todo-item-undone): If there are marked not-done items, return
6733 point to its original position before signaling user error.
6734 (todo--user-error-if-marked-done-item): New function.
6735 (todo-edit-item--header, todo-edit-item--diary-inclusion)
6736 (todo-item-done): Use it.
6738 2014-07-28 Glenn Morris <rgm@gnu.org>
6740 * files.el (toggle-read-only): Re-add basic doc-string.
6741 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6743 * progmodes/prolog.el (prolog-mode-keybindings-edit):
6744 Replace missing `switch-to-prolog' with `run-prolog'.
6745 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6747 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6749 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6750 of file-wide setting when changing category-wide setting.
6752 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6754 * doc-view.el (doc-view-open-text): Don't require that the
6755 document is saved in a file (e.g., email attachment).
6757 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6759 Parse completion input in a iPython friendly way. (Bug#18084)
6760 * progmodes/python.el
6761 (python-shell-completion-at-point): Rename from
6762 python-shell-completion-complete-at-point.
6763 (inferior-python-mode): Use it.
6764 (python-completion-at-point): Rename from
6765 python-completion-complete-at-point. Parse input up to first
6766 backward occurrence of whitespace, open-paren, close-paren or
6768 (python-mode): Use it.
6770 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6772 * progmodes/python.el
6773 (python-shell-with-shell-buffer): New macro.
6774 (python-shell-font-lock-get-or-create-buffer)
6775 (python-shell-font-lock-kill-buffer)
6776 (python-shell-font-lock-with-font-lock-buffer)
6777 (python-shell-font-lock-cleanup-buffer)
6778 (python-shell-font-lock-toggle): Use it.
6779 (python-shell-font-lock-turn-on)
6780 (python-shell-font-lock-turn-off): Use it. Make command.
6782 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6784 Grab all Python process output before inferior-python-mode hooks.
6785 * progmodes/python.el (inferior-python-mode):
6786 Call accept-process-output and sit-for to ensure all output for process
6787 has been received before running hooks.
6788 (python-shell-internal-get-or-create-process):
6789 Cleanup accept-process-output and sit-for calls.
6791 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6793 More robust shell startup and code setup.
6794 * progmodes/python.el (python-shell-make-comint):
6795 Remove accept-process-output call.
6796 (python-shell-get-buffer): Return current buffer if major-mode is
6797 inferior-python-mode.
6798 (python-shell-get-or-create-process): Use it.
6799 (python-shell-send-setup-code): Send all setup code in one string,
6800 output success message and accept-process-output.
6802 2014-07-27 Eli Zaretskii <eliz@gnu.org>
6804 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6805 Add rudimentary support for bidirectional text.
6807 2014-07-27 Martin Rudalics <rudalics@gmx.at>
6809 * frame.el (frame-notice-user-settings): Rewrite using
6810 frame-initial-frame-tool-bar-height.
6811 * menu-bar.el (menu-bar-horizontal-scroll-bar)
6812 (menu-bar-no-horizontal-scroll-bar): New functions.
6813 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6815 * scroll-bar.el (scroll-bar-lines)
6816 (set-horizontal-scroll-bar-mode)
6817 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6818 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6819 (scroll-bar-toolkit-horizontal-scroll): New functions.
6820 (horizontal-scroll-bar-mode)
6821 (previous-horizontal-scroll-bar-mode)
6822 (horizontal-scroll-bar-mode-explicit): New variables.
6823 (horizontal-scroll-bar-mode): New option.
6824 (toggle-horizontal-scroll-bar): Do something.
6825 (top-level): Bind horizontal-scroll-bar mouse-1.
6826 * startup.el (tool-bar-originally-present): Remove variable.
6827 (command-line): Don't set tool-bar-originally-present.
6828 * window.el (window-min-height): Update doc-string.
6829 (window--dump-frame): Dump horizontal scroll bar values.
6830 (window--min-size-1): Handle minibuffer window separately.
6831 Count in margins and horizontal scroll bar. Return safe value
6832 iff IGNORE equals 'safe.
6833 (frame-windows-min-size): New function (used by frame resizing
6835 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6837 (window--sanitize-window-sizes): New function.
6838 (window-split-min-size): Remove.
6839 (split-window): Count divider-width. Don't use
6840 `window-split-min-size' any more. Reword error messages.
6841 Sanitize windows sizes after splitting.
6843 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
6845 Use `defvar-local' more.
6846 * progmodes/hideshow.el
6847 (hs-c-start-regexp, hs-block-start-regexp)
6848 (hs-block-start-mdata-select, hs-block-end-regexp)
6849 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6850 remove corresponding `make-variable-buffer-local' top-level calls.
6852 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6854 Cleanup error signals. (Bug#18067)
6855 * progmodes/python.el
6856 (python-indent-shift-left): Use user-error instead.
6857 (python-shell-prompt-detect): Use lwarn with python group.
6858 (python-completion-complete-at-point)
6859 (python-eldoc--get-doc-at-point): Don't signal error.
6861 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6863 Support for packages in Python shell. (Bug#13570)
6864 * progmodes/python.el (python-shell--package-depth): New var.
6865 (python-shell-package-enable): New command.
6866 (python-util-list-directories, python-util-list-files)
6867 (python-util-list-packages): New functions.
6869 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6871 Faster comint output. (Bug#16875)
6872 * progmodes/python.el:
6873 (python-comint-output-filter-function): Make obsolete.
6874 (python-comint-postoutput-scroll-to-bottom): New function.
6875 (inferior-python-mode): Set comint-output-filter-functions to a
6878 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6880 * progmodes/python.el (python-shell-font-lock-post-command-hook):
6881 Safeguard current point and undo history.
6883 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6885 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
6886 * progmodes/python.el:
6887 (python-shell-prompt-input-regexps): Add iPython block prompt.
6888 (python-shell-output-syntax-table): Delete var.
6889 (python-shell-font-lock-with-font-lock-buffer): New macro.
6890 (python-shell-font-lock-get-or-create-buffer)
6891 (python-shell-font-lock-kill-buffer)
6892 (python-shell-font-lock-cleanup-buffer)
6893 (python-shell-font-lock-post-command-hook)
6894 (python-shell-font-lock-turn-off): New functions.
6895 (python-shell-font-lock-turn-on): New function.
6896 (inferior-python-mode): Use it.
6897 (python-shell-font-lock-toggle): New command.
6898 (python-shell-font-lock-enable): Rename from
6899 python-shell-enable-font-lock.
6900 (run-python-internal): Use it.
6901 (python-shell-font-lock-comint-output-filter-function): New function.
6902 (python-shell-comint-end-of-output-p): New function.
6903 (python-shell-output-filter): Use it.
6904 (python-util-comint-last-prompt): New function.
6905 (python-util-text-properties-replace-name): New function.
6907 2014-07-25 Glenn Morris <rgm@gnu.org>
6909 * vc/ediff-init.el (ediff-toggle-read-only-function):
6910 * vc/ediff-util.el (ediff-toggle-read-only):
6911 Replace obsolete toggle-read-only with read-only-mode.
6913 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
6915 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6916 with `save-match-data'. (Bug#18095)
6918 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
6920 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6921 order to ensure that row and col are lexically bound inside the
6924 2014-07-21 Glenn Morris <rgm@gnu.org>
6926 * progmodes/hideif.el (hide-ifdef-mode-submap):
6927 Also substitute read-only-mode.
6928 * bindings.el (mode-line-toggle-read-only):
6929 * bs.el (bs-toggle-readonly):
6930 * buff-menu.el (Buffer-menu-toggle-read-only):
6931 * dired.el (dired-toggle-read-only):
6932 * files.el (view-read-only, find-file-read-only)
6933 (find-file-read-only-other-window)
6934 (find-file-read-only-other-frame):
6935 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6936 Doc fixes re toggle-read-only.
6938 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6940 * progmodes/python.el: Add comment about pipe buffering and
6941 solutions for missing/delayed output in inferior Python shells.
6944 * progmodes/python.el (python-mode): Don't set
6945 mode-require-final-newline. (Bug#17990)
6947 Make python.el work with IPython automatically. (Bug#15510)
6948 * progmodes/python.el:
6949 (python-shell-completion-setup-code): New value supporting iPython.
6950 (python-shell-completion-string-code): New value supporting iPython.
6951 (python-shell-completion-get-completions): Use them.
6952 (python-shell-completion-module-string-code): Make obsolete.
6953 (python-shell-prompt-input-regexps)
6954 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
6955 (python-shell-output-filter): Fix comment typo.
6957 Fix Python shell prompts detection for remote hosts.
6958 * progmodes/python.el (python-shell-prompt-detect):
6959 Replace call-process with process-file and make it more robust.
6961 Autodetect Python shell prompts. (Bug#17370)
6962 * progmodes/python.el:
6963 (python-shell-interpreter-interactive-arg)
6964 (python-shell-prompt-detect-enabled)
6965 (python-shell-prompt-detect-failure-warning)
6966 (python-shell-prompt-input-regexps)
6967 (python-shell-prompt-output-regexps): New vars.
6968 (python-shell-prompt-calculated-input-regexp)
6969 (python-shell-prompt-calculated-output-regexp): New vars.
6970 (python-shell-get-process-name)
6971 (python-shell-internal-get-process-name)
6972 (python-shell-output-filter)
6973 (python-shell-completion-get-completions): Use them.
6974 (python-shell-prompt-detect)
6975 (python-shell-prompt-validate-regexps): New functions.
6976 (python-shell-prompt-set-calculated-regexps): New function.
6977 (inferior-python-mode): Use it. Also honor overriden
6978 python-shell-interpreter and python-shell-interpreter-args.
6979 (python-shell-make-comint): Honor overriden
6980 python-shell-interpreter and python-shell-interpreter-args.
6981 (python-shell-get-or-create-process): Make it testable by allowing
6982 to call run-python non-interactively.
6983 (python-util-valid-regexp-p): New function.
6984 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
6985 (python-shell-prompt-output-regexp)
6986 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
6988 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
6990 * emacs-lisp/smie.el (smie-config--guess-1): Split from
6992 (smie-config--guess): Use it.
6994 * emacs-lisp/edebug.el: Use nadvice.
6995 (edebug-original-read): Remove.
6996 (edebug--read): Rename from edebug-read and add `orig' arg.
6997 (edebug-uninstall-read-eval-functions)
6998 (edebug-install-read-eval-functions): Use nadvice.
6999 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7000 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7001 (edebug-read-string, edebug-read-function): Use just `read'.
7002 (edebug-original-debug-on-entry): Remove.
7003 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7005 (debug-on-entry): Override with nadvice.
7007 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7008 it also makes sense to bind it to a non-mouse event.
7010 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7012 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7017 * rect.el (rectangle--string-preview): Don't assume there
7018 a non-nil default (bug#17984).
7020 2014-07-16 Glenn Morris <rgm@gnu.org>
7022 * desktop.el (after-init-hook): Disable startup frame restoration
7023 in non-graphical situations. (Bug#17693)
7025 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7026 if it was "empty", or used for a different set of files. (Bug#17884)
7028 2014-07-16 Eli Zaretskii <eliz@gnu.org>
7030 * bindings.el (mode-line-remote): If default-directory is not a
7031 string, don't call file-remote-p on it; instead state in the
7032 help-echo that it is nil. (Bug#17986)
7034 2014-07-14 Daniel Colascione <dancol@dancol.org>
7036 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7037 to `macroexpand-all'
7039 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7040 Use `macroexpand-all' instead of `cl-macroexpand-all'.
7042 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
7044 Fix bug: C-x v v discarded existing log message (Bug#17884).
7045 * vc/vc-dispatcher.el (vc-log-edit):
7046 Don't clobber an already-existing log message.
7048 2014-07-12 Glenn Morris <rgm@gnu.org>
7050 * vc/log-edit.el (log-edit-changelog-entries):
7051 Check for a visited-but-never-saved ChangeLog.
7053 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7056 a non-existing file (bug#17970).
7058 * faces.el (face-name): Undo last change.
7059 (x-resolve-font-name): Don't call face-name (bug#17956).
7061 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7063 Fix dedenters and electric colon handling. (Bug#15163)
7064 * progmodes/python.el
7065 (python-rx-constituents): Add dedenter and block-ender.
7066 (python-indent-dedenters, python-indent-block-enders): Delete.
7067 (python-indent-context): Return new case for dedenter-statement.
7068 (python-indent-calculate-indentation): Handle new case.
7069 (python-indent-calculate-levels): Fix levels calculation for
7070 dedenter statements.
7071 (python-indent-post-self-insert-function): Fix colon handling.
7072 (python-info-dedenter-opening-block-message): New function.
7073 (python-indent-line): Use it.
7074 (python-info-closing-block)
7075 (python-info-closing-block-message): Remove.
7076 (python-info-dedenter-opening-block-position)
7077 (python-info-dedenter-opening-block-positions)
7078 (python-info-dedenter-statement-p): New functions.
7080 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
7082 * files.el (out-of-memory-warning-percentage): New defcustom.
7083 (warn-maybe-out-of-memory): Use it.
7085 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
7087 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
7088 when calling `read-string'. (Bug#17839)
7090 2014-07-10 Eli Zaretskii <eliz@gnu.org>
7092 * files.el (warn-maybe-out-of-memory): Fix the wording of the
7095 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
7097 * files.el (warn-maybe-out-of-memory): New function.
7098 (find-file-noselect): Use it.
7100 2014-07-09 Sam Steingold <sds@gnu.org>
7102 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
7103 `constant' like `bless', `return' &c
7105 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * rect.el (apply-on-rectangle): Check forward-line really moved to the
7110 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7112 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
7113 the middle of a line (bug#17896).
7115 2014-07-09 Juri Linkov <juri@jurta.org>
7117 * startup.el (command-line): Append displaying the warning about
7118 the errors in the init file to the end of `after-init-hook'.
7121 * faces.el (face-name): Return input arg `face' as-is
7122 when it's not a symbol.
7123 (x-resolve-font-name): Don't check if the face is a symbol.
7126 * facemenu.el (list-colors-print): In help-echo format use %.2f
7127 instead of %d because now HSV values are floating-point components
7128 between 0.0 and 1.0.
7130 2014-07-09 Glenn Morris <rgm@gnu.org>
7132 * emulation/cua-rect.el (cua--activate-rectangle):
7133 Avoid setting cua--rectangle to nil. (Bug#17877)
7135 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7137 * calendar/todo-mode.el: Fix wrong-type-argument error when
7138 marking multiple consecutive items.
7139 (todo-toggle-mark-item): Don't try to mark the empty lines at the
7140 end of the todo and done items sections. Note in doc string that
7141 items marked by passing a numeric prefix argument can include the
7142 last todo and first done items.
7143 (todo-mark-category): Don't try to mark the empty line between the
7144 todo and done items sections.
7146 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
7149 proper Lisp quoting (bug#17934).
7151 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
7152 require-final-newline since prog-mode already took care of it (bug#17947).
7154 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7156 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
7157 refer to the Todo mode Info manual. Update the comment on
7159 (todo-find-filtered-items-file): Add todo-prefix overlays.
7160 (todo-filter-items): Reorder a let-bound variable to avoid a
7161 wrong-type-argument error on canceling the file choice dialog.
7163 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7165 * progmodes/octave.el (inferior-octave-mode):
7166 Set comint-input-ring-size to a number (bug#17912).
7168 2014-07-09 Juri Linkov <juri@jurta.org>
7170 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
7171 and `isearch-mode' associated with nil. (Bug#17849)
7173 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * linum.el (linum--face-height): New function (bug#17813).
7176 (linum-update-window): Use it to adjust margin to linum's width.
7178 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
7179 * eshell/em-smart.el (eshell-smart-scroll-window):
7180 Use with-selected-window.
7182 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
7183 Remove also pointless window&mark manipulation.
7185 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
7186 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
7187 (perl-continuation-line-p): Don't skip over anything else than labels.
7188 Return the previous char.
7189 (perl-calculate-indent): Use syntax-ppss instead of parse-start
7190 and update callers accordingly. For continuation lines, check the
7191 the case of array hashes.
7192 (perl-backward-to-noncomment): Make it non-interactive.
7193 (perl-backward-to-start-of-continued-exp): Rewrite.
7195 2014-07-08 Sam Steingold <sds@gnu.org>
7197 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
7200 2014-07-08 Juri Linkov <juri@jurta.org>
7202 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
7203 (vc-annotate-color-map): Use less saturated colors (20%) for
7205 (vc-annotate-very-old-color): Add default value for background-mode.
7206 (vc-annotate-background): Set default value to nil since now text on
7207 the default backgrounds should be legible in light and dark modes.
7208 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
7211 2014-07-08 Juri Linkov <juri@jurta.org>
7213 * simple.el (transpose-chars): Don't move point into read-only area.
7216 2014-07-08 Juri Linkov <juri@jurta.org>
7218 * window.el (with-displayed-buffer-window): New macro.
7219 (with-temp-buffer-window, with-current-buffer-window):
7220 Use `macroexp-let2' to evaluate and bind variables
7221 in the same order as macro arguments.
7222 (display-buffer--action-function-custom-type):
7223 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
7225 * minibuffer.el (minibuffer-completion-help): Replace
7226 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
7227 with actions that display *Completions* at-bottom when called
7228 from the minibuffer, or below-selected in a normal buffer.
7229 Associate `window-height' with `fit-window-to-buffer'.
7230 Let-bind `pop-up-windows' to nil.
7232 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
7233 instead of `with-current-buffer-window'. (Bug#17809)
7235 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
7237 * progmodes/hideif.el (hide-ifdef-env): Change to global.
7238 (hide-ifdef-env-backup): New variable.
7239 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
7240 New customizable variables.
7241 (hif-clear-all-ifdef-defined): New defun.
7242 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
7243 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
7244 (hif-tokenize): Fix for MS-DOS/Win EOL style.
7245 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
7246 Fix bug to hide the correct #elif region(s).
7247 (hif-range-elif): New defun.
7248 (hif-recurse-level): New var.
7249 (hif-evaluate-region, hif-evaluate-macro): New defun.
7250 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
7252 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
7255 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
7257 * net/dbus.el (dbus-peer-handler): New defun.
7258 (dbus-register-service): Register it. (Bug#17858)
7259 (dbus-managed-objects-handler): Fix docstring.
7261 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
7263 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
7264 (narrow-to-defun): New arg include-comments, defaulting to it
7267 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7269 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
7270 different calling convention to rectangle--unhighlight-for-redisplay.
7272 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
7274 * net/tramp.el (tramp-call-process): Handle error strings.
7276 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
7278 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
7279 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
7281 * net/trampver.el: Update release number.
7283 2014-07-03 Juri Linkov <juri@jurta.org>
7285 * desktop.el (desktop-save): Rename arg `auto-save' to
7286 `only-if-changed'. Doc fix. (Bug#17873)
7288 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7290 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7291 Use insert-for-yank (bug#17271).
7293 2014-07-03 Leo Liu <sdl.web@gmail.com>
7295 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
7296 Support lexical-binding.
7298 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * vc/log-edit.el (log-edit-goto-eoh): New function.
7301 (log-edit--match-first-line): Use it (bug#17861).
7303 2014-07-03 Glenn Morris <rgm@gnu.org>
7305 * vc/log-edit.el (log-edit-hook): Add missing :version.
7307 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7309 * progmodes/python.el (python-indent-post-self-insert-function):
7310 Enhancements to electric indentation behavior inside
7313 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
7316 buffer-invisibility-spec (bug#17867).
7318 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
7320 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
7323 2014-07-03 Glenn Morris <rgm@gnu.org>
7325 * cus-edit.el (help):
7326 * finder.el (finder-known-keywords):
7327 * help.el (help-for-help-internal):
7328 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
7329 (ediff-redraw-registry-buffer):
7330 * vc/ediff-ptch.el (ediff-patch-file-internal):
7331 Doc fixes re "online" help. (Bug#17803)
7333 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
7334 (idlwave-mode): Doc URL update.
7336 2014-07-01 Juri Linkov <juri@jurta.org>
7338 * man.el: Display man pages immediately and use process-filter
7339 to format them asynchronously.
7340 (Man-width): Doc fix.
7342 (Man-start-calling): Use `with-selected-window' to get
7343 `frame-width' and `window-width'.
7344 (Man-getpage-in-background): Call `Man-notify-when-ready'
7345 immediately after creating a new buffer. Call `Man-mode' and set
7346 `mode-line-process' in the created buffer. Set process-filter to
7347 `Man-bgproc-filter' in start-process branch. In call-process branch
7348 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
7349 Use `Man-start-calling' inside `with-current-buffer'.
7350 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
7351 (Man-cleanup-manpage): Don't print messages.
7352 (Man-bgproc-filter): New function.
7353 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
7354 user moved it during asynchronous formatting. Move calls of
7355 `Man-fontify-manpage' and `Man-cleanup-manpage' to
7356 `Man-bgproc-filter'. Move the call of `Man-mode' to
7357 `Man-getpage-in-background'. Use `quit-restore-window'
7358 instead of `kill-buffer'. Use `message' instead of `error'
7359 because errors are caught by process sentinel.
7360 (Man-mode): Move calls of `Man-build-page-list',
7361 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
7362 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
7364 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
7365 for the message about the man page cleaned up.
7367 2014-07-01 Mario Lang <mlang@delysid.org>
7369 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
7370 cosutomization option `gnutls-verify-error'.
7372 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7374 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
7375 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
7377 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
7378 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
7379 is suspended (bug#17857).
7381 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
7383 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7384 Prefer utf-8 coding. (Bug#17859)
7386 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7388 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
7391 2014-06-30 Glenn Morris <rgm@gnu.org>
7393 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
7394 (autoload-ensure-default-file): Maybe make existing output writable.
7395 * Makefile.in (AUTOGEN_VCS): Remove.
7396 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
7398 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7400 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
7402 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7404 New if-let, when-let, thread-first and thread-last macros.
7406 * emacs-lisp/subr-x.el
7407 (internal--listify, internal--check-binding)
7408 (internal--build-binding-value-form, internal--build-binding)
7409 (internal--build-bindings): New functions.
7410 (internal--thread-argument, thread-first, thread-last)
7411 (if-let, when-let): New macros.
7413 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
7415 * net/rcirc.el (rcirc-buffer-process): Restore previous
7416 behaviour. (Bug#17772)
7418 2014-06-29 Alan Mackenzie <acm@muc.de>
7420 Don't call c-parse-state when c++-template-syntax-table is active.
7421 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
7422 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
7423 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
7425 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7427 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
7428 account for file-wide setting of todo-top-priorities-overrides.
7429 Make code a bit cleaner.
7431 2014-06-28 Glenn Morris <rgm@gnu.org>
7433 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
7435 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7437 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
7438 category-wide setting of todo-top-priorities-overrides, check for
7439 a file-wide setting and fontify accordingly.
7441 2014-06-28 Glenn Morris <rgm@gnu.org>
7443 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
7445 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
7449 2014-06-28 K. Handa <handa@gnu.org>
7453 * composite.el: Setup composition-function-table for dotted circle.
7454 (compose-gstring-for-dotted-circle): New function.
7456 * international/characters.el: Add category "^" to all
7457 non-spacing characters.
7459 2014-06-28 Glenn Morris <rgm@gnu.org>
7461 * Makefile.in (doit): Remove force rule.
7462 (custom-deps, finder-data, autoloads, update-subdirs)
7463 (compile-one-process): PHONY targets do not need force rules.
7465 * Makefile.in (compile-main, compile, compile-always):
7466 No need to explicitly pass variables to ourself in recursive calls.
7468 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7470 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
7472 2014-06-26 Glenn Morris <rgm@gnu.org>
7474 * Makefile.in (update-authors): Update for moved authors.el.
7476 2014-06-26 Leo Liu <sdl.web@gmail.com>
7478 * skeleton.el (skeleton-end-hook): Default to nil and move the
7479 work to skeleton-insert. (Bug#17850)
7481 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
7483 * calc/calc-alg.el (math-beforep):
7484 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
7485 Simplify because string-lessp can accept symbols as args.
7487 2014-06-26 Daiki Ueno <ueno@gnu.org>
7489 * emacs-lisp/package.el (package--check-signature):
7490 If package-check-signature is allow-unsigned, don't signal error when
7491 we can't verify signature because of missing public key
7494 2014-06-26 Glenn Morris <rgm@gnu.org>
7496 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
7497 Remove outdated declaration.
7499 * emacs-lisp/authors.el (authors-valid-file-names)
7500 (authors-renamed-files-alist): Additions.
7502 2014-06-26 Leo Liu <sdl.web@gmail.com>
7504 * textmodes/picture.el (picture-set-tab-stops):
7505 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
7506 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
7508 * progmodes/asm-mode.el (asm-calculate-indentation):
7509 Use indent-next-tab-stop.
7511 * indent.el (indent-accumulate-tab-stops): New function.
7513 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7515 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
7516 (package-desc-status): Obey it.
7518 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
7520 * calendar/todo-mode.el: Fix two bugs.
7521 (todo-insert-item--basic): If user cancels item insertion to
7522 another category before setting priority, show original category
7523 whether it is in the same or a different file.
7524 (todo-set-item-priority): After selecting category, instead of
7525 moving point to top, which extends an active region, restore it.
7527 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7529 * help-fns.el (describe-function-1): Check file-name is a string before
7530 calling help-fns--autoloaded-p (bug#17564).
7532 2014-06-26 Juri Linkov <juri@jurta.org>
7534 * desktop.el (desktop-auto-save-enable)
7535 (desktop-auto-save-disable): New functions.
7536 (desktop-save-mode, desktop-auto-save-timeout): Use them.
7537 (desktop-read): Disable the autosave before loading the desktop,
7538 and enable afterwards. (Bug#17351)
7540 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7542 Fix some indentation problem with \; and pipes (bug#17842).
7543 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
7544 (sh-smie--default-forward-token, sh-smie--default-backward-token):
7546 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
7547 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
7548 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
7550 2014-06-26 Glenn Morris <rgm@gnu.org>
7552 * emacs-lisp/find-func.el (find-function-C-source-directory):
7553 Use file-accessible-directory-p.
7555 * ps-samp.el: Make it slightly less awful.
7556 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
7557 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
7558 Only set local values.
7559 (ps-article-subject, ps-article-author): Use standard functions
7560 like mail-fetch-field.
7561 (ps-info-file, ps-info-node): Use match-string.
7562 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
7563 (ps-samp-ps-setup): ... new function.
7565 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
7566 Optimize away code unneeded on any modern Emacs.
7568 * emacs-lisp/authors.el: Move to ../admin.
7570 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
7572 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
7574 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
7575 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
7576 performance enhancements.
7577 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
7579 (hif-factor, hif-string-concatenation, intern-safe): Support string
7580 concatenation and argumented macro expansion.
7581 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
7582 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
7583 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
7584 (hif-canonicalize-tokens, hif-place-macro-invocation)
7585 (hif-parse-macro-arglist): Mostly new functions for supporting
7586 argumented macro expansion.
7587 (hif-string-concatenation, hif-stringify, hif-token-concat)
7588 (hif-token-stringification, hif-token-concatenation):
7589 Stringification and concatenation.
7590 (hif-find-next-relevant): Fix comments.
7591 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
7592 some cases involving #elif.
7593 (hif-find-define, hif-add-new-defines): New functions for automatically
7594 scanning of defined symbols.
7595 (hide-ifdef-guts): Fix for defined symbol auto scanning.
7596 (hide-ifdef-undef): Fix behavior to match CPP.
7598 2014-06-25 Glenn Morris <rgm@gnu.org>
7600 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
7601 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
7602 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
7603 files. They are not relevant to the original issue (bug#1004),
7604 and cause unnecessary recompilation (bug#2151).
7606 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * play/landmark.el: Use lexical-binding and avoid `intangible'.
7609 (landmark--last-pos): New var.
7610 (landmark--intangible-chars): New const.
7611 (landmark--intangible): New function.
7612 (landmark-mode, landmark-move): Use it.
7613 (landmark-mode): Remove properties.
7614 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
7615 (landmark-cross-qtuple):
7616 Don't worry about `intangible' any more.
7617 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
7618 (landmark-init-display): Don't set `intangible' and `point-entered'.
7619 (square): Remove. Inline it instead.
7620 (landmark--distance): Rename from `distance'.
7621 (landmark-calc-distance-of-robot-from): Rename from
7622 calc-distance-of-robot-from.
7623 (landmark-calc-smell-internal): Rename from calc-smell-internal.
7625 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
7627 * files.el (dir-locals-find-file, file-relative-name):
7628 * info.el (Info-complete-menu-item):
7629 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
7630 to compare-strings to avoid out-of-range errors.
7631 * subr.el (string-prefix-p): Adjust to match strict range
7632 checking in compare-strings.
7634 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
7636 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
7637 for comment lines non-greedy and stopping at newlines to fix stack
7638 overflows with large files.
7640 2014-06-24 Eli Barzilay <eli@barzilay.org>
7642 * calculator.el (calculator-last-input): Drop 'ascii-character property
7645 2014-06-24 Leo Liu <sdl.web@gmail.com>
7647 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
7648 tab-stop-list to nil. (Bug#16381)
7650 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
7651 (indent-rigidly-left-to-tab-stop)
7652 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
7653 (move-to-tab-stop): Change callers.
7655 2014-06-24 Eli Zaretskii <eliz@gnu.org>
7657 * skeleton.el (skeleton-insert): Yet another fix of the doc string
7658 wrt behavior of \n as the first/last element of a skeleton.
7660 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
7662 * net/tramp-adb.el (tramp-adb-handle-process-file):
7663 * net/tramp-sh.el (tramp-sh-handle-process-file):
7664 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7665 the output buffer when DISPLAY is non-nil. (Bug#17815)
7667 2014-06-24 Glenn Morris <rgm@gnu.org>
7669 * play/landmark.el (landmark-move-down, landmark-move-up):
7670 Fix 2007-10-20 change - preserve horizontal position.
7672 2014-06-23 Sam Steingold <sds@gnu.org>
7674 * simple.el (kill-append): Remove undo boundary depending on ...
7675 (kill-append-merge-undo): New user option.
7677 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7679 * simple.el (handle-shift-selection, exchange-point-and-mark)
7680 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7681 (transient-mark-mode): Use&set the global value.
7682 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7683 * emulation/edt.el (edt-emulation-off): Save&restore the global
7684 transient-mark-mode setting.
7685 * obsolete/pc-select.el (pc-selection-mode): Use the
7686 transient-mark-mode function.
7688 2014-06-23 Eli Zaretskii <eliz@gnu.org>
7690 * international/fontset.el (script-representative-chars):
7691 Add representative characters for scripts added in Unicode 7.0.
7692 (otf-script-alist): Synchronize with the latest registry of OTF
7695 * international/characters.el (char-script-table): Update for
7696 scripts added and codepoint ranges changed in Unicode 7.0.
7698 2014-06-23 Eli Barzilay <eli@barzilay.org>
7700 * calculator.el (calculator-standard-displayer): Fix bug in use of
7701 `calculator-groupize-number'.
7702 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7703 `eval' code, so it works in v24.3.1 too.
7704 (calculator-last-input): Comment to clarify purpose.
7706 2014-06-22 Mario Lang <mlang@delysid.org>
7708 * textmodes/rst.el (rst-comment-region): From from -> from.
7710 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7712 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
7714 * electric.el (electric-layout-post-self-insert-function):
7715 * emacs-lisp/ert.el (ert--insert-infos):
7716 * obsolete/vi.el (vi-set-mark):
7717 * term.el (term-handle-scroll):
7718 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7719 * wid-edit.el (widget-editable-list-value-create):
7720 Prefer point-marker to copy-marker of point.
7722 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7724 Fix completion retrieval parsing (bug#17209).
7725 * progmodes/python.el (python-mode):
7726 (python-util-strip-string): New function.
7727 (python-shell-completion-get-completions): Use it.
7729 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7731 * skeleton.el (skeleton-insert): Fix last change.
7733 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7735 Enhancements for outline integration (bug#17796).
7736 * progmodes/python.el (python-mode): Properly set
7737 outline-heading-end-regexp so that comments after colons for
7738 defuns are supported.
7740 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7742 * skeleton.el (skeleton-insert): Doc fix.
7744 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7746 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7747 (smie-config-guess): Use smie-config-local so the rules are obeyed
7750 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7751 since it's already done inside the loop (bug#17819).
7753 2014-06-21 Martin Rudalics <rudalics@gmx.at>
7755 * mouse.el (mouse-drag-line): Re-remove code initially removed
7756 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7759 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7762 align with the surrounding parent (bug#17721).
7764 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7766 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7768 (texinfo-insert-block, texinfo-insert-@end)
7769 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7770 local setting of skeleton-end-newline by adding an explicit \n to
7771 the skeletons where appropriate. (Bug#17801)
7773 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7775 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7776 (smie-indent--hanging-p): Use it.
7777 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7779 2014-06-21 Leo Liu <sdl.web@gmail.com>
7781 * simple.el (read-quoted-char): Don't let help chars pop up help
7784 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7789 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7790 Drop unknown events instead of burping.
7792 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7794 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7795 and later. (Bug#17790)
7797 2014-06-21 Juri Linkov <juri@jurta.org>
7799 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7800 to `soft'. (Bug#17554)
7802 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7804 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7807 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
7809 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7810 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
7812 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
7814 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7815 `unread-command-events'.
7817 2014-06-19 William Xu <william.xwl@gmail.com>
7819 * progmodes/hideif.el (hif-string-to-number): Don't return float for
7820 hex integer constants (bug#17807).
7822 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7824 * international/mule-util.el (truncate-string-ellipsis): New var.
7825 (truncate-string-to-width): Use it.
7827 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
7829 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7830 (lisp-string-in-doc-position-p): New function, extracted from
7831 lisp-font-lock-syntactic-face-function.
7832 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7834 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
7836 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
7838 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7840 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7841 (bubbles--game-over): Don't add `intangible' properties since they
7844 2014-06-18 Juri Linkov <juri@jurta.org>
7846 * vc/ediff-init.el (ediff-current-diff-Ancestor)
7847 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7848 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7849 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7850 Add `min-colors 88' version with removed black/white foregrounds.
7853 2014-06-18 Juri Linkov <juri@jurta.org>
7855 * vc/diff-mode.el (diff-changed): Empty face definition to use
7856 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
7857 (diff-context): Use darker color on light background and
7858 lighter color on dark background.
7860 2014-06-18 Juri Linkov <juri@jurta.org>
7862 * vc/diff-mode.el (diff-refine-changed): Rename from
7863 `diff-refine-change' for consistency with `diff-changed'.
7864 (diff-refine-change): Add obsolete face alias. (Bug#10181)
7866 * vc/smerge-mode.el (smerge-refined-changed): Rename from
7867 `smerge-refined-change'.
7868 (smerge-refined-change): Add obsolete face alias.
7870 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7872 * rect.el (rectangle-preview): New custom.
7873 (rectangle): New group.
7874 (rectangle--pos-cols): Add `window' argument.
7875 (rectangle--string-preview-state, rectangle--string-preview-window):
7877 (rectangle--string-flush-preview, rectangle--string-erase-preview)
7878 (rectangle--space-to, rectangle--string-preview): New functions.
7879 (string-rectangle): Use them.
7880 (rectangle--inhibit-region-highlight): New var.
7881 (rectangle--highlight-for-redisplay): Obey it. Make sure
7882 `apply-on-region' uses the point-crutches of the right window.
7883 Use :align-to rather than multiple spaces.
7885 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
7887 * ruler-mode.el (ruler-mode-window-col)
7888 (ruler-mode-mouse-set-left-margin)
7889 (ruler-mode-mouse-set-right-margin): Fix calculation of column
7890 from mouse position (Bug#17768).
7892 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
7894 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7895 without varname or rhs causes crash.
7896 (dun-ftp): Fix bug where blank ftp password is allowed, making it
7897 impossible to win endgame.
7898 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7900 (dun-help): Bump version number; update contact info.
7902 2014-06-15 Eli Barzilay <eli@barzilay.org>
7904 * calculator.el (calculator-prompt, calculator-remove-zeros)
7905 (calculator-mode-hook, calculator-operators, calculator-stack)
7906 (calculator-mode): Tweak docstring.
7907 (calculator-user-operators): Tweak docstring, fix a bug in the last
7909 (calculator-displayer): `std' case has an optional boolean.
7910 (calculator-displayers): Use the new boolean to group in decimal mode.
7911 (calculator-mode-map, calculator, calculator-message)
7912 (calculator-op-arity, calculator-add-operators)
7913 (calculator-string-to-number, calculator-displayer-prev)
7914 (calculator-displayer-next, calculator-remove-zeros)
7915 (calculator-eng-display, calculator-number-to-string)
7916 (calculator-update-display, calculator-last-input)
7917 (calculator-clear-fragile, calculator-digit, calculator-decimal)
7918 (calculator-exp, calculator-saved-move, calculator-clear)
7919 (calculator-copy, calculator-put-value, calculator-help)
7920 (calculator-expt, calculator-truncate): Minor code improvements.
7921 (calculator-need-3-lines): New function pulling out code from
7923 (calculator-get-display): Rename from `calculator-get-prompt', and
7925 (calculator-push-curnum): Rename from `calculator-curnum-value', and
7926 extended for all uses of it. All callers changed.
7927 (calculator-groupize-number): New utility for splitting a number into
7929 (calculator-standard-displayer): Improve code, new optional argument to
7930 use comma-split groups, make second argument optional too to use with
7931 'left/'right inputs. All callers changed.
7932 (calculator-reduce-stack-once): New utility, doing the meat of what
7933 `calculator-reduce-stack' used to do, much improved (mostly using
7934 `pcase' for conciseness and clarity).
7935 (calculator-reduce-stack): Now doing just the reduction loop using
7936 `calculator-reduce-stack-once'.
7937 (calculator-funcall): Improve code, make it work in v24.3.1 too.
7938 (calculator-last-input): Improve code, remove some old cruft.
7939 (calculator-quit): Kill `calculator-buffer' in electric mode too.
7940 (calculator-integer-p): Remove.
7941 (calculator-fact): Improve code, make it work on non-integer values
7942 too (using truncated numbers).
7944 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
7946 Sync with Tramp 2.2.10.
7948 * net/tramp.el (tramp-methods): Tweak docstring.
7949 (tramp-handle-file-accessible-directory-p): Check for
7950 `file-readable-p' instead of `file-executable-p'.
7951 (tramp-check-cached-permissions):
7952 Use `tramp-compat-file-attributes'.
7953 (tramp-call-process): Add new argument VEC. Adapt callees in all
7956 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
7957 (tramp-adb-maybe-open-connection): Don't set
7958 `tramp-current-*' variables.
7960 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
7961 file properties of temporary buffers.
7963 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
7965 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
7966 (tramp-gvfs-handle-delete-file): Flush file
7967 properties, not directory properties.
7968 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
7969 reading "unix::mode".
7970 (tramp-gvfs-handle-file-name-all-completions):
7971 Use "-h" option for "gvfs-ls".
7972 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
7973 (tramp-gvfs-send-command): Simplify traces.
7975 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
7976 (vc-git-program, vc-hg-program): Declare.
7977 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
7978 (tramp-methods) <nc>: Add new method.
7979 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
7980 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
7982 (tramp-default-user-alist): Add "nc".
7983 (top): Remove completion function for "sftp". Add completion
7984 functions for "nc" and "psftp".
7985 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
7986 Implement support for "nc" method.
7987 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
7988 (tramp-remote-coding-commands, tramp-call-local-coding-command):
7990 (tramp-sh-handle-write-region): Tweak error message.
7991 (tramp-sh-handle-vc-registered): Remove backends when the remote
7992 binary does not exist.
7993 (tramp-find-inline-encoding): Do not raise an error.
7994 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
7995 the "nc" case. Quote result also locally.
7997 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7998 (tramp-smb-handle-set-file-acl): Use `start-process'.
7999 (tramp-smb-handle-insert-directory): Use progress reporter.
8000 (tramp-smb-handle-rename-file): Flush also file properties of
8003 * net/trampver.el: Update release number.
8005 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8009 (ses-localvars): Remove ses--local-printer-list, unused.
8010 (ses--metaprogramming): New macro. Use it to defvar variables.
8011 (ses-set-localvars): Simplify.
8012 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
8013 property-list into an alist.
8014 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8015 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8016 Remove; use defstruct accessors/setters instead.
8017 (ses-cell-formula-aset, ses-cell-printer-aset)
8018 (ses-cell-references-aset): Remove, use setf instead.
8019 (ses--alist-get): New function.
8020 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8021 Use an alist instead of a plist and don't do move-to-front since the
8022 list is always short.
8023 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8024 (ses-cell-property-set-fun, ses-cell-property-set)
8025 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8026 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8027 (ses--letref): New macro.
8028 (ses-cell-property-pop): Rewrite.
8029 (ses--cell): Rename from ses-cell and make it into a function.
8030 Make `formula' fallback on `value' if nil.
8031 (ses--local-printer): Rename from ses-local-printer and make it into
8033 (ses-set-cell): Turn it into a macro so finding the accessor from the
8034 field name is done at compile time.
8035 (ses-repair-cell-reference-all): Test presence of `sym' rather than
8036 `ref' before adding `sym' to :ses-repair-reference.
8037 (ses-calculate-cell): Use ses--letref rather than
8038 ses-cell-property-get-handle.
8039 (ses-write-cells): Use a single prin1-to-string.
8040 (ses-setter-with-undo): New function.
8041 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8042 (ses-unset-with-undo): Remove.
8043 (ses-load): Prefer apply' over `eval'.
8044 (ses-read-printer, ses-set-column-width): Use standard "(default
8047 2014-06-15 Glenn Morris <rgm@gnu.org>
8049 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8051 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
8052 Replace delete-duplicates and mapcan by cl- versions throughout.
8053 And cl-macroexpand-all by macroexpand-all.
8054 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8056 2014-06-15 Eli Zaretskii <eliz@gnu.org>
8058 * subr.el (posn-col-row): Doc fix. (Bug#17768)
8060 2014-06-15 Juri Linkov <juri@jurta.org>
8062 * bindings.el: Put `ascii-character' property on keypad keys
8063 mapped to characters. (Bug#17759)
8065 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8067 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
8068 bumping forward into a closing paren (bug#17761).
8070 * term/xterm.el (xterm--version-handler): Work around for OSX
8071 Terminal.app (bug#17607).
8073 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
8075 * play/dunnet.el (dun-describe-room, dun-mode):
8076 If a lamp is in the room, you won't be eaten by a grue.
8078 2014-06-13 Glenn Morris <rgm@gnu.org>
8080 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
8081 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
8082 (compile-always): GNU make automatically passes
8083 command-line arguments to sub-makes.
8085 * calendar/calendar.el (calendar-generate-window):
8086 Remove pointless call to font-lock-fontify-buffer.
8088 2014-06-13 Matthias Meulien <orontee@gmail.com>
8090 * simple.el (completion-list-mode-map): Navigate with tab and backtab
8093 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * simple.el (set-mark-command): Simplify a bit.
8097 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8099 * help.el (help--key-binding-keymap): New function.
8100 (help--binding-locus): New function.
8101 (describe-key): Mention the keymap in which the binding was
8104 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * hippie-exp.el (he--all-buffers): New function.
8107 (try-expand-line-all-buffers, try-expand-list-all-buffers)
8108 (try-expand-dabbrev-all-buffers): Use it.
8110 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
8112 * hippie-exp.el (try-expand-line-all-buffers)
8113 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
8114 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
8115 original buffer, in case they're buffer-local.
8117 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
8119 * ses.el (ses-initial-global-parameters-re): New defconst, a
8120 specific regexp is needed now that ses.el can handle both
8121 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
8123 (ses-localvars): Add local variables needed for local printer handling.
8124 (ses-set-localvars): Handle hashmap initialisation.
8125 (ses-paramlines-plist): Add param-line for number of local printers.
8126 (ses-paramfmt-plist): New defconst, needed for code factorization
8127 between functions `ses-set-parameter' and
8128 `ses-file-format-extend-paramter-list'
8129 (ses-make-local-printer-info): New defsubst.
8130 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8131 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
8132 (ses-cell-printer-aset): New defmacro.
8133 (ses-local-printer-compile): New defun.
8134 (ses-local-printer): New defmacro.
8135 (ses-printer-validate, ses-call-printer): Add support for local
8137 (ses-file-format-extend-paramter-list): New defun.
8138 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
8140 (ses-load): Add support for local printer functions.
8141 (ses-read-printer): Update docstring and add support for local printer
8143 (ses-refresh-local-printer, ses-define-local-printer): New defun.
8144 (ses-safe-printer): Add support for local printer functions.
8146 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
8148 * ffap.el (ffap-lax-url): New var (bug#17723).
8149 (ffap-url-at-point): Use it.
8150 (ffap-file-at-point): Avoid returning just "/".
8152 2014-06-12 Matthias Meulien <orontee@gmail.com>
8154 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
8155 (python-mode-map): Bind it.
8157 * progmodes/python.el (class skeleton): Don't erase last char of class
8160 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
8162 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
8164 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
8166 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
8169 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8171 * international/mule-cmds.el: Use lexical-binding.
8172 (ucs-names): Simplify.
8174 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
8176 * progmodes/python.el (run-python): Use read-shell-command.
8178 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * rect.el: Make it possible to move bounds past EOL or into TABs.
8181 (operate-on-rectangle): Use apply-on-rectangle.
8182 (rectangle--mark-crutches): New var.
8183 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
8184 (rectangle--crutches, rectangle--reset-crutches): New functions.
8185 (apply-on-rectangle): Obey crutches. Avoid setq.
8186 Fix missing final iteration if end is at EOB&BOL.
8187 (rectangle-mark-mode-map): Add remap bindings for
8188 exchange-point-and-mark and char/line movements.
8189 (rectangle--*-char): New function.
8190 (rectangle-exchange-point-and-mark, rectangle-right-char)
8191 (rectangle-left-char, rectangle-forward-char)
8192 (rectangle-backward-char, rectangle-next-line)
8193 (rectangle-previous-line): New commands.
8194 (rectangle--place-cursor): New function.
8195 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
8197 2014-06-08 Glenn Morris <rgm@gnu.org>
8199 * startup.el (initial-buffer-choice): Doc fix.
8200 Reset :version (adding an option does not merit a :version bump).
8202 * bookmark.el (bookmark-load):
8203 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
8205 2014-06-08 Juri Linkov <juri@jurta.org>
8207 * desktop.el: Activate auto-saving on window configuration changes.
8208 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
8209 `desktop-auto-save-set-timer' to/from
8210 `window-configuration-change-hook'.
8211 (desktop-auto-save-set-timer): Change REPEAT arg of
8212 `run-with-idle-timer' from t to nil.
8213 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
8215 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
8217 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
8218 vc-hg-command (bug#17570).
8220 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8222 * international/mule-cmds.el (ucs-names): Add special entry for BEL
8225 2014-06-08 Glenn Morris <rgm@gnu.org>
8227 * startup.el (window-setup-hook): Doc fix.
8229 * emacs-lisp/package.el (package-check-signature)
8230 (package-unsigned-archives): Doc fixes.
8232 2014-06-08 Martin Rudalics <rudalics@gmx.at>
8234 * window.el (display-buffer-use-some-window): Don't make window
8235 used smaller than it was before (Bug#17671).
8237 2014-06-08 Eli Zaretskii <eliz@gnu.org>
8239 * menu-bar.el (menu-bar-open): Fix last change: use the PC
8240 'redisplay' instead of '(sit-for 0)'.
8242 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
8244 * net/tramp.el (tramp-ssh-controlmaster-options):
8245 Improve search regexp. (Bug#17653)
8247 2014-06-08 Glenn Morris <rgm@gnu.org>
8249 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
8251 2014-06-08 Eli Zaretskii <eliz@gnu.org>
8253 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
8255 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
8257 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
8260 * vc/vc-hg.el (vc-hg-log-graph): New var.
8261 (vc-hg-print-log): Use it.
8262 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
8263 graph output (bug#17515).
8265 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8267 * mouse.el (mouse-posn-property): Ignore buffer position info when the
8268 even happened elsewhere.
8270 2014-06-06 Mario Lang <mlang@delysid.org>
8272 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
8273 `recenter' if `current-buffer' is equal to `window-buffer'.
8275 2014-06-05 Leo Liu <sdl.web@gmail.com>
8277 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
8279 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
8281 * textmodes/tildify.el (tildify-foreach-region-outside-env):
8282 New function which calls a callback on portions of the buffer that are
8283 outside of ignored environments.
8284 (tildify-build-regexp): Remove function since it is now
8285 incorporated in `tildify-foreach-region-outside-env' where it is
8286 optimized and simplified by the use of `mapconcat'.
8287 (tildify-tildify): Return number of substitutions made so that…
8288 (tildify-count): …can be removed.
8289 (tildify-find-env): Accept a new PAIRS argument which was
8290 previously looked up in `tildify-ignored-environments-alist' each
8291 time the function was called. With this change, the lookup is
8292 performed only once in `tildify-foreach-region-outside-env'.
8293 (tildify-region): Greatly simplify the function since now most of
8294 the work is done by `tildify-foreach-region-outside-env'.
8295 (tildify-mode-alist): Simplify slightly by avoiding if and setq
8296 and instead using or.
8298 * textmodes/tildify.el (tildify-ignored-environments-alist):
8299 Optimize environments regexes
8301 Each time beginning of an environment to ignore is found,
8302 `tildify-find-env' needs to identify regexp for the ending
8303 of the environment. This is done by trying all the opening
8304 regexes on matched text in a loop, so to speed that up, this
8305 loop should have fewer things to match, which can be done by
8306 using alternatives in the opening regexes.
8308 Coincidentally, this should make matching of the opening
8309 regexp faster as well thanks to the use of `regexp-opt' and
8310 having common prefix pulled from many regexes.
8312 * textmodes/tildify.el (tildify-string-alist)
8313 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
8314 of supported modes since `xml-mode' is no longer a thing but just
8315 an alias to the former. Also include comments and insides of tags
8316 in `tildify-ignored-environments-alist' for XML modes. Finally,
8317 since XML does not define “ ”[1], use a numeric reference for
8318 a no-break space (namely “ ”)
8320 [1] XML specification defines only a handful of predefined entities.
8321 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
8322 and includes only <, >, &, ' and " (meaning <,
8323 >, &, ' and " respectively). This is in contrast to HTML and even
8324 XHTML which defined a whole bunch of entities including “ ”.
8326 * textmodes/tildify.el (tildify-pattern-alist)
8327 (tildify-string-alist, tildify-ignored-environments-alist):
8328 Improve defcustom's types by adding more tags explaining what each
8329 value means and replace “sexp” used in
8330 `tildify-ignored-environments-alist' with a full type declaration.
8332 * textmodes/tildify.el (tildify-find-env): Fix matched group
8333 indexes in end-regex building
8335 When looking for a start of an ignore-environment, the regex is built
8336 by concatenating regexes of all the environments configured in
8337 `tildify-ignored-environments-alist'. So for example, the following
8338 list could be used to match TeX's \verb and \verb* commands:
8340 (("\\\\verb\\(.\\)" . (1))
8341 ("\\\\verb\\*\\(.\\)" . (1)))
8343 This would result in the following regex being used to find the start
8344 of any of the variants of the \verb command:
8346 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
8348 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
8349 won't match anything, and thus (match-string 1) will be nil, which
8350 will cause building of the end-matching regex to fail.
8352 Fix this by using capture groups from the time when the opening
8353 regexes are matched individually.
8355 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
8356 in `tildify-find-env'
8358 The `tildify-ignored-environments-alist' allows the end-regex to
8359 be provided not as a static string but mix of strings and indexes
8360 of groups matched the begin-regex. For example, the “\verb!…!”
8361 TeX-command (where “!” is an arbitrary character) is handled
8364 ("\\\\verb\\*?\\(.\\)" . (1))
8366 In the same way, the following should be supported as well:
8368 ("open-\\(.\\)" . ("end-" 1))
8370 However the tildify-find-env function fails at
8373 (if (stringp (setq aux (car expression)))
8374 expression ; BUG: expression is a list
8375 (regexp-quote (match-string aux))))
8377 where the string part is handled incorrectly.
8379 The most trivial fix would be to replace `expression' in the
8380 true-part of the if-statement with `aux', but instead, this commit
8381 optimizes `tildify-find-env' by changing it to use `mapconcat'
8382 rather than open-coded while-loop.
8384 2014-06-05 Mario Lang <mlang@delysid.org>
8386 * woman.el (woman-mapcan): Remove.
8387 (woman-parse-colon-path): Use cl-mapcan instead.
8389 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8391 * register.el: Add link to Emacs manual in Commentary.
8393 2014-06-02 Sam Steingold <sds@gnu.org>
8395 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
8396 (popup-menu): ...here.
8397 (menu-bar-open): Use it to avoid an error when `lookup-key'
8400 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
8402 * net/tramp.el (tramp-call-process): Add traces.
8403 (tramp-handle-unhandled-file-name-directory): Return "/".
8405 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
8407 Sync with upstream verilog-mode revision 3cd8144.
8408 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
8409 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
8410 (verilog-type-font-keywords): Add nor.
8411 (verilog-batch-execute-func): Force reading of Local Variables.
8412 Fix printing "no changes to be saved" with verilog-batch.
8413 (verilog-auto-arg-ports): Doc fix.
8414 Add verilog-auto-arg-format to support newlines in AUTOARG.
8415 (verilog-auto-arg): Doc fix.
8417 2014-06-02 Glenn Morris <rgm@gnu.org>
8419 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
8420 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
8421 * emulation/ws-mode.el: Move to obsolete/.
8422 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
8424 2014-06-02 Eli Zaretskii <eliz@gnu.org>
8426 * simple.el (keyboard-quit): Force update of mode lines, to remove
8427 the "Def" indicator, if we were defining a macro. (Bug#17615)
8429 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * minibuffer.el (minibuffer-force-complete-and-exit):
8432 Obey minibuffer-default (bug#17545).
8434 * progmodes/js.el (js-indent-line): Don't mix columns and chars
8437 * subr.el (set-transient-map): Don't wait for some "nested"
8438 transient-map to finish if we're only supposed to be active for
8439 the next command (bug#17642).
8441 2014-06-02 Leo Liu <sdl.web@gmail.com>
8443 * emacs-lisp/gv.el (window-buffer, window-display-table)
8444 (window-dedicated-p, window-hscroll, window-point, window-start):
8445 Fix gv-expander. (Bug#17630)
8447 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8449 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
8452 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
8453 for the single comma, since ", " is *very* common in normal French text
8456 2014-06-02 Glenn Morris <rgm@gnu.org>
8458 * emacs-lisp/package.el (package-check-signature)
8459 (package-unsigned-archives): Fix :version.
8461 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * subr.el (sit-for): Don't run input-methods (bug#15614).
8465 2014-06-02 Glenn Morris <rgm@gnu.org>
8467 * cus-start.el: Fix some :version numbers.
8469 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8471 * simple.el (deactivate-mark): Set mark-active to nil even if
8472 deactivation is done via setting transient-mark-mode to nil,
8473 since one is buffer-local and the other is global.
8475 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
8476 there can't be more than 2 arguments (bug#17584).
8478 2014-06-02 Glenn Morris <rgm@gnu.org>
8480 * simple.el (filter-buffer-substring-functions)
8481 (filter-buffer-substring-function, buffer-substring-filters)
8482 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
8484 * minibuffer.el (completion-in-region-functions, completion-in-region)
8485 (completion--in-region): Doc fixes.
8487 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
8488 (expand-abbrev, abbrev--default-expand): Doc fixes.
8490 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
8492 Include sources used to create macuvs.h.
8493 * international/README: Refer to the Unicode Terms of Use rather
8494 than copying it bodily here, as that simplifies maintenance.
8496 2014-06-01 Glenn Morris <rgm@gnu.org>
8498 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
8500 2014-05-31 Glenn Morris <rgm@gnu.org>
8502 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
8504 2014-05-30 Glenn Morris <rgm@gnu.org>
8506 * loadup.el: Treat `command-line-args' more flexibly.
8508 2014-05-30 Alan Mackenzie <acm@muc.de>
8510 Guard (looking-at "\\s!") from XEmacs.
8511 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
8513 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
8515 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
8516 The argument COUNT is now optional, to be more backward-compatible.
8517 Doc fix. (Bug#17560)
8519 2014-05-29 Reuben Thomas <rrt@sc3d.org>
8521 * whitespace.el (whitespace-report-region):
8522 Simplify documentation.
8523 (whitespace-report-region): Allow report-if-bogus to take the
8524 value `never', for non-interactive use.
8525 (whitespace-report): Refer to whitespace-report-region's
8528 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * whitespace.el: Use font-lock-flush. Minimize refontifications.
8531 Side benefit: it works without jit-lock.
8532 (whitespace-point--used): New buffer-local var.
8533 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
8534 (whitespace-color-off): Use font-lock-flush.
8535 (whitespace-point--used, whitespace-point--flush-used): New functions.
8536 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
8537 (whitespace-empty-at-eob-regexp): Use them.
8538 (whitespace-post-command-hook): Rewrite.
8540 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
8541 (font-lock-fontify-buffer): Mark interactive-only.
8542 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
8544 (font-lock-specified-p): Remove redundant boundp check.
8545 (font-lock-flush-function, font-lock-ensure-function): New vars.
8546 (font-lock-turn-on-thing-lock): Set them.
8547 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
8548 (font-lock-after-change-function): Make `old-len' optional.
8549 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
8550 Call font-lock-flush, just in case.
8551 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
8553 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
8554 (vera-mode-map, vera-mode-menu): Remove bindings to it.
8555 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
8556 and with-syntax-table.
8557 * textmodes/conf-mode.el (conf-quote-normal):
8558 * progmodes/sh-script.el (sh-set-shell):
8559 * progmodes/prog-mode.el (prettify-symbols-mode):
8560 * progmodes/f90.el (f90-font-lock-n):
8561 * progmodes/cwarn.el (cwarn-mode):
8562 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
8563 * progmodes/compile.el (compilation-setup, compilation--unsetup):
8564 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
8565 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
8566 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
8567 font-lock-fontify-buffer-function and
8568 font-lock-unfontify-buffer-function.
8569 (rmail-unfontify-buffer-function, rmail-fontify-message):
8570 Use with-silent-modifications.
8571 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
8572 and font-lock-ensure.
8573 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
8575 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
8577 * emacs-lisp/package.el (package-generate-autoloads):
8578 Inhibit backup files.
8580 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8582 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
8585 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
8587 * textmodes/tildify.el (tildify-buffer, tildify-region):
8588 Add dont-ask option.
8590 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
8593 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
8595 * subr.el (internal--funcall-interactively): New.
8596 (internal--call-interactively): Remove.
8597 (called-interactively-p): Detect funcall-interactively instead of
8599 * simple.el (repeat-complex-command): Use funcall-interactively.
8600 (repeat-complex-command--called-interactively-skip): Remove.
8602 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8604 * register.el (register-read-with-preview): Don't burp on
8605 frame switches (e.g. due to the frame we just popped).
8607 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
8608 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
8610 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
8612 * cus-face.el (custom-face-attributes): Add :distant-foreground.
8614 2014-05-26 Martin Rudalics <rudalics@gmx.at>
8616 * window.el (window--dump-frame): Remove interactive specification.
8618 2014-05-26 Glenn Morris <rgm@gnu.org>
8620 * hippie-exp.el (he-line-search-regexp):
8621 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
8623 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8625 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
8626 to avoid errors when trying to create or visit a file foo.todo
8627 located outside to todo-directory, and to allow having such files
8628 without them being tied to Todo mode (bug#17482).
8629 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
8630 (todo-archive-done-item, todo-find-filtered-items-file)
8631 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
8632 (todo-category-completions, todo-read-category): When visiting a
8633 Todo file, make sure we're in the right mode and the buffer local
8635 (todo-make-categories-list, todo-reset-nondiary-marker)
8636 (todo-reset-done-string, todo-reset-comment-string):
8637 After processing all Todo files, kill the buffers of those files that
8638 weren't being visited before the processing.
8639 (todo-display-as-todo-file, todo-add-to-buffer-list)
8640 (todo-visit-files-commands): Comment out.
8641 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
8642 (auto-mode-alist): Remove add-to-list calls making Todo file
8643 extensions unrestrictedly tied to Todo modes.
8645 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8647 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
8648 (advice-function-member-p): Tell it to check both names and functions
8650 (advice--add-function): Adjust call accordingly.
8652 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8654 * calendar/todo-mode.el: Miscellaneous bug fixes.
8655 (todo-delete-file): When deleting an archive but not its todo
8656 file, make sure to update the todo file's category sexp.
8657 (todo-move-category): Keep the moved category's name unless the
8658 file moved to already has a category with that name. If the
8659 numerically last category of the source file was moved, make the
8660 first category current to avoid selecting a nonexisting category.
8661 (todo-merge-category): Fix implementation to make merging to a
8662 category in another file work as documented. Eliminate now
8663 insufficient and unnecessary renaming of archive category, correct
8664 document string accordingly, and clarify it. If the numerically
8665 last category of the source file was merged, make the first
8666 category current to avoid selecting a nonexisting category.
8667 (todo-archive-done-item): When there are marked items and point
8668 happens to be on an unmarked item, ignore the latter. Don't leave
8669 point below last item after archiving marked items.
8670 (todo-unarchive-items): Fix logic to ensure unarchiving an item
8671 from an archive with only one category deletes the archive only
8672 when the category is empty after unarchiving. Make sure the todo
8673 file's category sexp is updated.
8674 (todo-read-file-name): Allow an existing file name even when it is
8675 not required (todo-move-category needs this to work as documented).
8676 (todo-add-file): Call todo-validate-name to reject the name of an
8677 existing todo file (needed due to fix in todo-read-file-name).
8678 (todo-reset-nondiary-marker): Also reset in filtered items files.
8679 (todo-reset-done-string, todo-reset-comment-string): Also reset in
8680 regexp filtered items files.
8681 (todo-reset-highlight-item): Also reset in filtered items files.
8682 Fix incorrect variable reference in document string.
8684 2014-05-26 Glenn Morris <rgm@gnu.org>
8686 * window.el (window--dump-frame): Avoid error in --without-x builds.
8688 2014-05-26 Glenn Morris <rgm@gnu.org>
8690 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8692 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8694 * frame.el (set-frame-font): Doc fix.
8696 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
8698 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
8700 * emacs-lisp/package.el (package--download-one-archive):
8701 Use `write-region' instead of `save-buffer' to avoid running various
8703 (describe-package-1): Same. Insert newline at the end of the
8704 buffer if appropriate.
8706 2014-05-26 Juri Linkov <juri@jurta.org>
8708 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8709 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8710 Add more modifiers: meta, control, shift, hyper, super, alt.
8713 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8714 to allow changing its value with `set-variable'.
8716 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8720 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8722 (scheme-mode-variables): Set syntax-propertize-function instead of
8723 font-lock-syntactic-face-function.
8724 (scheme-font-lock-syntactic-face-function): Delete.
8726 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8728 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8731 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8733 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8734 for a temporary file name.
8736 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8738 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
8740 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8742 * net/dbus.el (dbus-init-bus, dbus-call-method)
8743 (dbus-call-method-asynchronously, dbus-send-signal)
8744 (dbus-method-return-internal, dbus-method-error-internal):
8745 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
8747 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8749 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8750 methods which do not have a doc string. (Bug#17490)
8752 2014-05-25 Tassilo Horn <tsdh@gnu.org>
8754 * textmodes/reftex-ref.el (reftex-format-special): Make it work
8755 also for AMS Math's \eqref macro.
8757 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8759 Arrange to never byte-compile the generated -pkg.el file.
8761 * emacs-lisp/package.el (package-generate-description-file):
8762 Output first-line comment to set buffer-local var `no-byte-compile'.
8763 Suggested by Dmitry Gutov:
8764 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8766 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8768 Fix bug: Properly quote args to generated -pkg.el `define-package'.
8770 * emacs-lisp/package.el (package-generate-description-file):
8771 Inline `package--alist-to-plist'; rewrite to selectively
8772 quote alist values that are not self-quoting.
8773 (package--alist-to-plist): Delete func.
8775 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
8777 * term/xterm.el (xterm-function-map): Add mapping for shifted
8780 2014-05-24 Daniel Colascione <dancol@dancol.org>
8782 * progmodes/subword.el (subword-find-word-boundary): Move point to
8783 correct spot before search. (Bug#17580)
8785 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8788 2014-05-24 Leo Liu <sdl.web@gmail.com>
8790 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
8792 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8794 * minibuffer.el (completion--sreverse): Remove.
8795 (completion--common-suffix): Use `reverse' instead.
8796 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8798 2014-05-22 Glenn Morris <rgm@gnu.org>
8800 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8802 2014-05-21 Daniel Colascione <dancol@dancol.org>
8804 * files.el (interpreter-mode-alist): Add mksh.
8806 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8808 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8809 mksh. Improve custom spec; allow regular expressions.
8810 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8811 (sh-after-hack-local-variables): New function.
8812 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
8813 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8815 (sh-canonicalize-shell): Rewrite to support regexes.
8817 2014-05-21 Leo Liu <sdl.web@gmail.com>
8819 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8821 2014-05-19 Leo Liu <sdl.web@gmail.com>
8823 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8825 2014-05-18 Glenn Morris <rgm@gnu.org>
8828 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8830 2014-05-14 Sam Steingold <sds@gnu.org>
8832 * progmodes/python.el (python-shell-get-or-create-process):
8833 Do not bind `current-prefix-arg' so that C-c C-z does not talk
8834 back unless requested.
8836 2014-05-14 Glenn Morris <rgm@gnu.org>
8838 * subr.el (with-file-modes): New macro.
8839 * printing.el (pr-save-file-modes): Make obsolete.
8840 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8841 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8842 Add with-file-modes.
8843 * doc-view.el (doc-view-make-safe-dir):
8844 * epg.el (epg--start):
8845 * files.el (locate-user-emacs-file, make-temp-file)
8846 (backup-buffer-copy, move-file-to-trash):
8847 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8848 * eshell/esh-util.el (eshell-with-private-file-modes)
8849 (eshell-make-private-directory):
8850 * net/browse-url.el (browse-url-mosaic):
8851 * obsolete/mailpost.el (post-mail-send-it):
8852 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8853 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8854 Use with-file-modes.
8856 * vc/emerge.el (emerge-make-temp-file): Simplify.
8858 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
8859 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8864 2014-05-14 Glenn Morris <rgm@gnu.org>
8866 * vc/emerge.el (emerge-temp-file-prefix):
8867 Make pointless option obsolete.
8868 (emerge-temp-file-mode): Make non-functional option obsolete.
8870 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
8872 * net/browse-url.el (browse-url):
8873 Use `unhandled-file-name-directory' when setting `default-directory',
8874 in order to circumvent stalled remote connections. (Bug#17425)
8876 2014-05-14 Glenn Morris <rgm@gnu.org>
8878 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8879 Optimize on Emacs, which has the relevant functions for ages.
8881 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8883 * simple.el (undo-make-selective-list): Obey undo-no-redo.
8885 2014-05-12 Sam Steingold <sds@gnu.org>
8887 * calendar/time-date.el (seconds-to-string): New function to
8888 pretty print time delay in seconds.
8890 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8892 * mpc.el (mpc-format): Trim Date to the year.
8893 (mpc-songs-hashcons): Shorten the Date field.
8895 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8896 into autoloading just because of a silly indirection.
8898 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
8900 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
8902 2014-05-12 Glenn Morris <rgm@gnu.org>
8904 * emacs-lisp/find-gc.el: Move to ../admin.
8906 * printing.el (pr-version):
8907 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8909 * net/browse-url.el (browse-url-mosaic):
8910 Create /tmp/Mosaic.PID as a private file.
8912 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8915 (advice--member-p): If name is given, only compare the name.
8916 (advice--remove-function): Don't stop at the first match.
8917 (advice--normalize-place): New function.
8918 (add-function, remove-function): Use it.
8919 (advice--add-function): Pass the name, if any, to
8920 advice--remove-function.
8922 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
8924 * electric.el (electric-indent-post-self-insert-function): Don't use
8925 `pos' after modifying the buffer (bug#17449).
8927 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
8929 * calendar/todo-mode.el (todo-insert-item-from-calendar):
8930 Correct argument list to conform to todo-insert-item--basic.
8932 2014-05-12 Glenn Morris <rgm@gnu.org>
8934 * files.el (cd-absolute): Test if directory is accessible
8935 rather than executable. (Bug#17330)
8937 * progmodes/compile.el (recompile):
8938 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
8940 * net/browse-url.el (browse-url-mosaic):
8941 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
8942 This is CVE-2014-3423.
8944 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8946 * mouse.el: Use the normal toplevel loop while dragging.
8947 (mouse-set-point): Handle multi-clicks.
8948 (mouse-set-region): Handle multi-clicks for drags.
8949 (mouse-drag-region): Update call accordingly.
8950 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8951 Use the normal event loop instead of a local while/read-event loop.
8952 (global-map): Remove redundant bindings for double/triple-mouse-1.
8953 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
8954 Generate synthetic down events when the protocol only sends up events.
8955 (xterm-mouse-last): Remove.
8956 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
8957 terminal parameter instead.
8958 (xterm-mouse--set-click-count): New function.
8959 (xterm-mouse-event): Detect/generate double/triple clicks.
8960 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
8962 * info.el (Info-quoted): New face.
8963 (Info-mode-font-lock-keywords): New var.
8964 (Info-mode): Use it.
8966 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
8967 are a hindrance for C-x C-e.
8969 2014-05-11 Leo Liu <sdl.web@gmail.com>
8971 * net/rcirc.el (rcirc-sentinel): Fix last change.
8973 2014-05-08 Sam Steingold <sds@gnu.org>
8975 * net/rcirc.el (rcirc-reconnect-delay): New user option.
8976 (rcirc-sentinel): Auto-reconnect to the server if
8977 `rcirc-reconnect-delay' is non-0 (but not more often than its
8978 value in case the host is off-line).
8980 2014-05-09 Eli Zaretskii <eliz@gnu.org>
8982 * progmodes/grep.el (lgrep): Fix a typo in last commit.
8984 2014-05-09 Glenn Morris <rgm@gnu.org>
8986 * files.el (file-expand-wildcards):
8987 * man.el (Man-support-local-filenames):
8988 * printing.el (pr-i-directory, pr-interface-directory):
8989 * progmodes/grep.el (lgrep, rgrep):
8990 * textmodes/ispell.el (ispell-call-process)
8991 (ispell-call-process-region, ispell-start-process)
8992 (ispell-init-process): Use file-accessible-directory-p.
8994 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
8997 (xterm-mouse--read-event-sequence-1000): Return nil if something
8999 (xterm-mouse-event): Propagate it.
9000 (xterm-mouse-translate-1): Handle it.
9002 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
9004 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9005 four slots of the parameter list are filled, make sure to pass it
9006 to the argument list of todo-insert-item--basic.
9008 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9011 Add optional `seen' argument to detect and break infinite loops.
9013 2014-05-08 Eli Zaretskii <eliz@gnu.org>
9015 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9016 (trace-unsafe, trace-use-tree): Make parentheses style be
9017 according to Emacs style.
9019 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
9021 * net/tramp-sh.el (tramp-remote-process-environment):
9022 Remove HISTFILE and HISTSIZE; it's too late to set them here.
9024 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9025 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
9026 extra "PSx=..." commands.
9027 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9030 (tramp-uudecode): Replace the hard-coded temporary file name by a
9032 (tramp-remote-coding-commands): Enhance docstring.
9033 (tramp-find-inline-encoding): Replace "%t" by a temporary file
9035 This is CVE-2014-3424.
9037 2014-05-08 Glenn Morris <rgm@gnu.org>
9039 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9040 (find-gc-source-files): Update some names.
9041 (trace-call-tree): Simplify and update.
9042 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
9043 This is CVE-2014-3422.
9045 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9047 * minibuffer.el (completion--try-word-completion): Revert fix for
9048 Bug#15980 (bug#17375).
9050 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9051 Always store button numbers in the same way in xterm-mouse-last;
9052 Don't burp is xterm-mouse-last is not set as expected.
9053 Never return negative indices.
9055 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
9057 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9058 Backtrack one char if the global/char-literal var matcher hits
9059 inside a string. The next char could be the beginning of an
9060 expression expansion.
9062 2014-05-08 Glenn Morris <rgm@gnu.org>
9064 * help-fns.el (describe-function-1): Test for an autoload before a
9065 macro, since `macrop' works on autoloads. (Bug#17410)
9067 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * electric.el (electric-indent-functions-without-reindent): Add yaml.
9071 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
9072 Make sure the new point we return is within the new string (bug#17239).
9074 2014-05-05 Daniel Colascione <dancol@dancol.org>
9076 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9077 Port `gnu' pattern to rx.
9079 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
9081 Remove unneeded prompt when closing a buffer with active
9082 emacsclient ("Buffer ... still has clients"), #16548.
9083 * server.el (server-start): Remove the only call to:
9084 (server-kill-buffer-query-function): Remove.
9086 2014-05-04 Leo Liu <sdl.web@gmail.com>
9088 * calendar/diary-lib.el (calendar-chinese-month-name-array):
9089 Defvar to pacify compiler.
9091 2014-05-04 Eli Zaretskii <eliz@gnu.org>
9093 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
9095 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9097 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9098 Use nil rather than `default' for the "default" appearance (bug#17388).
9099 * vc/ediff-util.el (ediff-inferior-compare-regions)
9100 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
9101 a misleading `default' value when it's really a boolean.
9102 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
9103 overlay is not visible.
9105 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9107 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
9108 (todo-menu): Uncomment and update.
9110 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9112 * calendar/todo-mode.el: Reimplement item editing to have the same
9113 basic user interface as item insertion, and make small UI and
9114 larger internal improvements to the latter.
9115 (todo-insert-item): Add reference to the Todo mode user manual to
9116 the documentation string.
9117 (todo-insert-item--basic): Rename from todo-basic-insert-item and
9118 adjust all callers. Change signature to combine diary and
9119 nonmarking arguments. Incorporate functionality of deleted item
9120 copying command and add error checking. Remove detailed
9121 descriptions of the arguments from the documentation string, since
9122 this is treated in the Todo mode user manual.
9123 (todo-copy-item, todo-edit-multiline-item)
9124 (todo-edit-done-item-comment, todo-edit-item-header)
9125 (todo-edit-item-time, todo-edit-item-date-from-calendar)
9126 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
9127 (todo-edit-item-date-year, todo-edit-item-date-month)
9128 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
9130 (todo-edit-item): Reimplement as wrapper command for
9131 todo-edit-item--next-key and make it distinguish done and not done
9133 (todo-edit-item--text): New function, replacing old command
9134 todo-edit-item and incorporating deleted commands
9135 todo-edit-multiline-item and todo-edit-done-item-comment.
9136 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
9137 Use only numeric value of prefix argument. Remove detailed
9138 descriptions of the arguments from the documentation string, since
9139 this is treated in the Todo mode user manual.
9140 (todo-edit-item--diary-inclusion): New function, replacing old
9141 command todo-edit-item-diary-inclusion and incorporating and fixing
9142 functionality of deleted command todo-edit-item-diary-nonmarking,
9143 making sure to remove todo-nondiary-marker when adding
9144 diary-nonmarking-symbol.
9145 (todo-edit-category-diary-inclusion): Make sure to delete
9146 diary-nonmarking-symbol when adding todo-nondiary-marker.
9147 (todo-edit-category-diary-nonmarking): Fix indentation.
9148 (todo-insert-item--parameters): Group diary and nonmarking
9149 parameters together.
9150 (todo-insert-item--apply-args): Adjust to signature of
9151 todo-insert-item--basic and incorporate copy parameter.
9152 Make small code improvements.
9153 (todo-insert-item--next-param): Improve prompt and adjust it to
9154 new parameter grouping. Remove obsolete code.
9155 (todo-edit-item--param-key-alist)
9156 (todo-edit-item--date-param-key-alist)
9157 (todo-edit-done-item--param-key-alist): New defconsts.
9158 (todo-edit-item--prompt): New variable.
9159 (todo-edit-item--next-key): New function.
9160 (todo-key-bindings-t): Bind "e" to todo-edit-item.
9161 Remove bindings of deleted commands.
9163 2014-05-04 Leo Liu <sdl.web@gmail.com>
9165 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
9167 2014-05-04 Glenn Morris <rgm@gnu.org>
9169 * allout-widgets.el (allout-widgets-tally)
9170 (allout-decorate-item-guides):
9171 * menu-bar.el (menu-bar-positive-p):
9172 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9173 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
9174 * progmodes/js.el (js--inside-param-list-p)
9175 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
9176 * progmodes/prolog.el (region-exists-p):
9177 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
9178 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
9179 Doc fixes (replace `iff').
9181 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9183 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
9185 2014-05-04 Leo Liu <sdl.web@gmail.com>
9187 Support Chinese diary entries in calendar and diary. (Bug#17393)
9188 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
9189 (calendar-chinese-from-absolute-for-diary)
9190 (calendar-chinese-to-absolute-for-diary)
9191 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
9192 (diary-chinese-list-entries): New functions to list and mark
9193 Chinese diary entries in the calendar window.
9194 (diary-chinese-anniversary)
9195 (diary-chinese-insert-anniversary-entry)
9196 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
9197 (diary-chinese-insert-yearly-entry): New commands to insert
9198 Chinese diary entries.
9200 * calendar/diary-lib.el (diary-font-lock-keywords):
9201 Support font-locking Chinese dates.
9203 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
9204 inserting Chinese diary entries.
9206 * calendar/calendar.el (diary-chinese-entry-symbol):
9207 New customizable variable.
9208 (calendar-mode-map): Add bindings for inserting Chinese diary
9211 2014-05-03 Juri Linkov <juri@jurta.org>
9213 * dired.el (dired-check-switches, dired-switches-recursive-p):
9214 New functions. (Bug#17218)
9215 (dired-switches-escape-p, dired-move-to-end-of-filename):
9216 Use `dired-check-switches'.
9217 (dired-insert-old-subdirs, dired-build-subdir-alist)
9218 (dired-sort-R-check): Use `dired-switches-recursive-p'.
9220 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
9222 * simple.el (undo-make-selective-list): New algorithm fixes
9223 incorrectness of position adjustments when undoing in region.
9225 (undo-elt-crosses-region): Make obsolete.
9226 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
9227 New functions to adjust positions using undo-deltas.
9229 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
9232 the last consecutive closing paren (bug#17345).
9234 2014-04-30 Reuben Thomas <rrt@sc3d.org>
9236 * dired.el (dired-mode): make terminology for eXpunge command
9237 consistent. (Bug#17276)
9239 2014-04-30 Eli Zaretskii <eliz@gnu.org>
9241 * dired.el (dired-initial-position-hook, dired-initial-position):
9244 2014-04-30 Glenn Morris <rgm@gnu.org>
9246 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
9248 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
9250 * faces.el (face-spec-recalc): Apply X resources only after the
9251 defface spec has been applied. Thus, X resources are no longer
9252 overriden by the defface spec which also fixes issues on win32 where
9253 the toolbar coloring was wrong because it is set through X resources
9254 and was (wrongfully) overriden. (Bug#16694)
9256 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * textmodes/rst.el (electric-pair-pairs): Declare.
9259 (rst-mode): Set it (bug#17131).
9261 2014-04-30 Juri Linkov <juri@jurta.org>
9263 * desktop.el (desktop-value-to-string): Let-bind `print-length'
9264 and `print-level' to nil. (Bug#17351)
9266 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9268 * battery.el (battery-update): Handle the case where battery
9269 status is "N/A" (bug#17319).
9271 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
9274 to syntax-propertize.
9275 (ps-mode-auto-indent): Mark as obsolete.
9276 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
9277 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
9278 word regexp operators.
9279 (ps-mode-map): Move initialization into declaration. Remove binding
9280 for TAB, RET, >, ], and }.
9281 (ps-mode-syntax-table): Move initialization into declaration.
9282 Don't give word syntax to non-word chars.
9283 (ps-run-mode-map): Move initialization into declaration.
9284 (ps-mode-menu-main): Remove auto-indent entry.
9285 (ps-mode-smie-rules): New function.
9286 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
9287 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
9288 (ps-mode--string-syntax-table): New const.
9289 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
9291 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
9292 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
9294 2014-04-27 Daniel Colascione <dancol@dancol.org>
9296 * term/xterm.el (xterm-paste): Use large finite timeout when
9297 reading event to avoid putting keys in this-command-keys.
9299 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9301 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
9302 (perl-syntax-propertize-function): Use it. Extend handling of
9303 here-docs to the unquoted case.
9305 2014-04-25 Eli Zaretskii <eliz@gnu.org>
9307 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
9308 Use equal-including-properties to compare help-echo strings (bug#17331).
9310 2014-04-25 Leo Liu <sdl.web@gmail.com>
9312 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9313 Fix syntax for @. (Bug#17325)
9315 2014-04-25 Daniel Colascione <dancol@dancol.org>
9317 * emacs-lisp/cl.el (gv): Require gv early to break eager
9318 macro-expansion cycles.
9320 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * simple.el (region-active-p): Check there's a mark (bug#17324).
9324 * simple.el (completion-list-mode-map): Use choose-completion for the
9325 mouse binding as well (bug#17302).
9326 (completion-list-mode, completion-setup-function): Adjust docstring and
9327 echo area message accordingly.
9328 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
9329 calling convention of choose-completion.
9330 * comint.el (comint-dynamic-list-completions):
9331 * term.el (term-dynamic-list-completions): Accept choose-completion.
9333 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
9334 &, |, +, - and * can't be a division (bug#17317).
9336 * term/xterm.el (xterm--version-handler): Don't use modern xterm
9337 features on gnome-terminal (bug#16988).
9339 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
9341 Improve Scheme font-locking for (define ((foo ...) ...) ...).
9343 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
9344 the declared object, ignore zero or more parens, not zero or one.
9346 2014-04-24 Leo Liu <sdl.web@gmail.com>
9348 * progmodes/xscheme.el (xscheme-expressions-ring)
9349 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
9350 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
9351 (xscheme-allow-output-p, xscheme-prompt)
9352 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
9354 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
9355 Comment out unused functions.
9357 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9359 * info.el: Use lexical-binding and cl-lib.
9360 Use defvar-local and setq-local instead of make-local-variable.
9361 (Info-apropos-matches): Avoid add-to-list.
9362 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
9364 2014-04-24 Daniel Colascione <dancol@dancol.org>
9366 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
9368 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9370 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
9372 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
9374 * dired.el (dired-insert-set-properties): Do not consider
9375 subdirectory headings and empty lines to be information that
9376 `dired-hide-details-mode' should hide. (Bug#17228)
9378 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9380 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9381 Remove test messages.
9382 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
9385 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9387 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
9388 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
9390 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
9392 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9394 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9395 Set "IFS=" when using read builtin, in order to preserve spaces in
9396 the file name. Add test messages for hunting a bug on hydra.
9397 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
9399 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9401 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
9402 Don't prettify a word within a symbol.
9404 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9406 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
9409 2014-04-22 Daniel Colascione <dancol@dancol.org>
9411 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
9412 use defun to define `function-put'.
9414 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
9417 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
9418 (lisp-mode-variables): Set font-lock-extra-managed-props.
9420 * emacs-lisp/byte-run.el (function-put): New function.
9421 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
9422 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
9423 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
9426 2014-04-22 Daniel Colascione <dancol@dancol.org>
9428 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
9429 Add `full-p' parameter; when nil, call `macroexpand' instead of
9432 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
9435 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
9436 Use lambda function values, not quoted lambdas.
9437 (byte-compile-recurse-toplevel): Remove extraneous &optional.
9439 * emacs-lisp/cl-macs.el
9440 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
9441 (cl-struct-slot-value): Conditionally use aref or nth so that the
9442 compiler produces optimal code.
9444 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
9447 (inline): Don't inline cl--set-elt.
9448 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
9449 Define as inlinable instead.
9450 (cl-struct-set-slot-value): Remove.
9452 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
9453 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
9456 2014-04-21 Daniel Colascione <dancol@dancol.org>
9458 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
9459 last two parameters after all.
9460 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
9461 (cl--compiler-macro-assoc,cl-struct-slot-value)
9462 (cl-struct-set-slot-value): Stop using them.
9464 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9466 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
9467 entry in image-mode-winprops-alist.
9469 2014-04-21 Daniel Colascione <dancol@dancol.org>
9471 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
9472 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
9473 (byte-compile-toplevel-file-form): Use it.
9475 * emacs-lisp/cl-macs.el:
9476 (cl--loop-let): Properly destructure `while' clauses.
9478 2014-04-20 Daniel Colascione <dancol@dancol.org>
9480 * vc/vc.el (vc-root-dir): New public autoloaded function for
9481 generically finding the current VC root.
9482 * vc/vc-hooks.el (vc-not-supported): New error.
9483 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
9485 2014-04-20 Daniel Colascione <dancol@dancol.org>
9487 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
9489 (cl--const-expr-val): cl--const-expr-val should macroexpand its
9490 argument in case we're inside a symbol-macrolet.
9491 (cl--do-arglist, cl--compiler-macro-typep)
9492 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
9493 environment to `cl--const-expr-val'.
9494 (cl-struct-sequence-type,cl-struct-slot-info)
9495 (cl-struct-slot-offset, cl-struct-slot-value)
9496 (cl-struct-set-slot-value): New functions.
9498 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9500 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
9501 assignments such as "case=hello" (bug#17297).
9503 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
9505 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
9507 (tramp-file-name-handler, tramp-completion-file-name-handler):
9508 Revert patch from 2014-04-10, it isn't necessary anymore.
9509 (tramp-autoload-file-name-handler)
9510 (tramp-register-autoload-file-name-handlers): New defuns.
9511 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
9512 (tramp-register-file-name-handlers): Remove also
9513 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
9514 Do not autoload its invocation, but eval it after loading of 'tramp.
9516 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
9518 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
9520 2014-04-17 Daniel Colascione <dancol@dancol.org>
9522 Add support for bracketed paste mode; add infrastructure for
9523 managing terminal mode enabling and disabling automatically.
9526 (xterm-mouse-mode): Simplify.
9527 (xterm-mouse-tracking-enable-sequence)
9528 (xterm-mouse-tracking-disable-sequence): New constants.
9529 (turn-on-xterm-mouse-tracking-on-terminal)
9530 (turn-off-xterm-mouse-tracking-on-terminal):
9531 Use tty-mode-set-strings and tty-mode-reset-strings terminal
9532 parameters instead of random hooks.
9533 (turn-on-xterm-mouse-tracking)
9534 (turn-off-xterm-mouse-tracking): Delete.
9536 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
9537 (xterm-paste-ending-sequence): New constant.
9538 (xterm-paste): New command used for bracketed paste support.
9540 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
9541 (terminal-init-xterm-bracketed-paste-mode): New function.
9542 (terminal-init-xterm): Call it.
9543 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
9544 and tty-mode-reset-strings instead of random hooks.
9545 (xterm-turn-on-modify-other-keys)
9546 (xterm-turn-off-modify-other-keys)
9547 (xterm-remove-modify-other-keys): Delete obsolete functions.
9549 * term/screen.el: Rewrite to just use the xterm code.
9550 Add copyright notice. Mention tmux.
9552 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
9554 * image-mode.el (image-mode-window-put): Also update the property of
9555 the "default window".
9556 * doc-view.el (doc-view-new-window-function): If no window
9557 exists, move to the last known page.
9559 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9561 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
9562 here-documents (bug#17262).
9564 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9566 * term/pc-win.el (x-list-fonts, x-get-selection-value):
9567 Provide doc strings, as required by snarf-documentation.
9569 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9571 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
9572 arg of overlays-at. Use `invisible-p'.
9574 * obsolete/lucid.el (extent-at):
9575 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
9577 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
9579 2014-04-16 João Távora <joaotavora@gmail.com>
9581 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
9584 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9586 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9587 Use mapc to loop over a vector. (Bug#17257).
9589 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
9591 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
9592 patch, there are new problems with file names containing spaces.
9593 Get rid of backticks. (Bug#17238)
9595 2014-04-16 João Távora <joaotavora@gmail.com>
9597 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
9600 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9602 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
9603 (blink-cursor-mode): Mention customization variables and the
9604 effect of 'blink-cursor-blinks'.
9606 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
9608 * simple.el (undo): Prevent insertion of identity mapping into
9609 undo-equiv-table so as undo-only does not inf loop in the presence
9610 of consecutive nils in undo list.
9612 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
9614 * faces.el (make-face): Deprecate optional argument as it is no
9615 longer needed/used since the conditional X resources handling
9616 has been pushed down to make-face-x-resource-internal itself.
9617 (make-empty-face): Don't pass optional argument to make-face.
9619 2014-04-16 Karl Fogel <kfogel@red-bean.com>
9621 * savehist.el (savehist-save): Remove workaround for a read-passwd
9622 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
9623 noticing that the shim was still present.
9625 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9627 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
9629 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
9631 * faces.el (face-set-after-frame-default): Remove unused local variable.
9633 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9635 * progmodes/grep.el: Use lexical-binding.
9636 (grep-expand-template): Pass explicit lexical env to `eval'.
9637 (zrgrep): Let-bind grep-find-template explicitly.
9639 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
9640 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
9642 2014-04-12 Eli Zaretskii <eliz@gnu.org>
9644 * international/characters.el <standard-case-table>: Add entries
9645 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
9646 Set category of Coptic characters be 'g' (Greek).
9648 2014-04-12 Leo Liu <sdl.web@gmail.com>
9650 * progmodes/octave.el (completion-table-with-cache):
9651 Define if not available.
9652 (octave-goto-function-definition, octave-sync-function-file-names)
9653 (octave-find-definition-default-filename):
9654 Backquote upattern for compatibility.
9656 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
9658 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9659 name twice due to backticks. (Bug#17238)
9661 2014-04-12 Glenn Morris <rgm@gnu.org>
9663 * term/w32-win.el (x-win-suspend-error):
9664 * term/x-win.el (x-win-suspend-error): Sync docs.
9666 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
9668 * faces.el (make-face): Remove deprecated optional argument.
9669 The conditional application of X resources is handled directly by
9670 make-face-x-resource-internal since Emacs 24.4.
9671 (make-empty-face): Don't pass optional argument to make-face.
9673 2014-04-11 Glenn Morris <rgm@gnu.org>
9675 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
9677 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9679 Ediff's overlay priorities cause more trouble than they solve.
9680 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9681 (ediff-highest-priority): Remove function (bug#17234).
9682 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9683 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9684 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9687 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
9689 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9690 entry; use symbol boundaries to avoid mis-matches.
9692 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
9694 * net/tramp.el (tramp-file-name-handler)
9695 (tramp-completion-file-name-handler): Avoid recursive loading.
9697 * net/tramp-sh.el (tramp-make-copy-program-file-name):
9698 Quote result also locally.
9700 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9703 Remove left-over code.
9705 * newcomment.el (comment-indent-new-line): Sink code where it's used.
9706 Reuse the previous comment's indentation unconditionally if it's on its
9709 2014-04-09 Daniel Colascione <dancol@dancol.org>
9711 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9712 `no-syntax-crossing' arguments. Forward to `up-list'.
9713 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9714 Implement logic for escaping from strings. Use narrowing to deal
9717 2014-04-09 Leo Liu <sdl.web@gmail.com>
9719 * net/rcirc.el (rcirc-connection-info): New variable.
9720 (rcirc-connect): Use it to store connection info.
9721 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9723 (rcirc-cmd-reconnect): New command. (Bug#17045)
9724 (rcirc-mode, set-rcirc-encode-coding-system)
9725 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9727 2014-04-09 Daniel Colascione <dancol@dancol.org>
9729 * emacs-lisp/cl-indent.el: Add comment claiming
9730 facility is also good for elisp.
9731 (lisp-indent-find-method): New function.
9732 (common-lisp-indent-function): Recognize cl-loop.
9733 (common-lisp-indent-function-1): Recognize cl constructs; use
9734 `lisp-indent-find-method' instead of `get' directly.
9735 (if): Use else-body style for elisp.
9737 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
9739 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9740 Module methods. (Bug#17216)
9742 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9744 * help.el (describe-bindings): Fix buffer handling (bug#17210).
9745 (describe-bindings-internal): Mark obsolete.
9747 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9749 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9750 buffer-file-name, and buffer-file-truename any more.
9752 2014-04-08 Leo Liu <sdl.web@gmail.com>
9754 Use lexical-binding and require cl-lib.
9755 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9756 (rcirc-handler-generic, rcirc-fill-paragraph)
9757 (rcirc-format-response-string, rcirc-target-buffer)
9758 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9759 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9760 (rcirc-ctcp-sender-PING, rcirc-browse-url)
9761 (rcirc-markup-timestamp, rcirc-markup-attributes)
9762 (rcirc-markup-my-nick, rcirc-markup-urls)
9763 (rcirc-markup-bright-nicks, rcirc-markup-fill)
9764 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9765 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9766 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9767 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9768 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9769 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9770 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9771 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9772 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9773 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9776 2014-04-07 João Távora <joaotavora@gmail.com>
9778 * elec-pair.el (electric-pair--syntax-ppss):
9779 When inside comments parse from comment beginning.
9780 (electric-pair--balance-info): Fix typo in comment.
9781 (electric-pair--in-unterminated-string-p): Delete.
9782 (electric-pair--unbalanced-strings-p): New function.
9783 (electric-pair-string-bound-function): New var.
9784 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9785 according to `electric-pair--in-unterminated-string-p'
9787 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9788 Inhibit quote pairing if point-max is inside an unterminated string.
9789 (electric-pair--looking-at-unterminated-string-p): Delete.
9790 (electric-pair--in-unterminated-string-p): New function.
9792 2014-04-07 Glenn Morris <rgm@gnu.org>
9794 * shell.el (shell-directory-tracker):
9795 Go back to just ignoring failures. (Bug#17159)
9797 2014-04-07 João Távora <joaotavora@gmail.com>
9799 Fix `electric-pair-delete-adjacent-pairs' in modes binding
9800 backspace. (Bug#16981)
9801 * elec-pair.el (electric-pair-backward-delete-char): Delete.
9802 (electric-pair-backward-delete-char-untabify): Delete.
9803 (electric-pair-mode-map): Bind backspace to a menu item filtering
9804 a new `electric-pair-delete-pair' command.
9805 (electric-pair-delete-pair): New command.
9807 * progmodes/python.el (python-electric-pair-string-delimiter):
9808 Fix triple-quoting electricity. (Bug#17192)
9810 * elec-pair.el (electric-pair-post-self-insert-function):
9811 Don't skip whitespace when `electric-pair-text-pairs' and
9812 `electric-pair-pairs' were used. syntax to
9813 electric-pair--skip-whitespace. (Bug#17183)
9815 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9817 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9820 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9823 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9825 2014-04-07 Glenn Morris <rgm@gnu.org>
9827 * help.el (view-lossage): Doc tweak.
9829 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
9831 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9832 only when inhibit-x-resources is nil, and do that earlier in the
9833 function. Doc fix. (Bug#16694)
9834 (face-spec-choose): Accept additional optional argument, whose
9835 value is returned if no matching attributes are found.
9836 (face-spec-recalc): Use the new optional argument when calling
9837 face-spec-choose. (Bug#16378)
9838 (make-face-x-resource-internal): Do nothing when
9839 inhibit-x-resources is non-nil. Don't touch the default face if
9840 reversed video is given--as was done in previous versions of Emacs.
9841 (face-set-after-frame-default): Don't call
9842 make-face-x-resource-internal here. (Bug#16434)
9844 2014-04-07 Tassilo Horn <tsdh@gnu.org>
9846 * doc-view.el (doc-view-bookmark-jump):
9847 Use `bookmark-after-jump-hook' to jump to the right page after the
9848 buffer is shown in a window. (bug#16090)
9850 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9852 * international/characters.el (mirroring): Fix last change:
9853 instead of loading uni-mirrored.el explicitly, do that implicitly
9854 by creating the 'mirroring' uniprop table. This avoids announcing
9855 the loading of uni-mirrored.el.
9857 2014-04-07 Glenn Morris <rgm@gnu.org>
9859 * files.el (buffer-stale--default-function)
9860 (buffer-stale-function, revert-buffer--default):
9861 * autorevert.el (auto-revert-buffers): Doc tweaks.
9863 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9865 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
9867 2014-04-07 Glenn Morris <rgm@gnu.org>
9869 * files.el (make-backup-file-name-function)
9870 (make-backup-file-name, make-backup-file-name--default-function)
9871 (make-backup-file-name-1, find-backup-file-name)
9872 (revert-buffer-function, revert-buffer-insert-file-contents-function)
9873 (buffer-stale--default-function, buffer-stale-function)
9874 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9875 (revert-buffer, revert-buffer--default)
9876 (revert-buffer-insert-file-contents--default-function):
9877 Doc fixes related to defaults no longer being nil.
9878 (make-backup-file-name-function): Bump :version.
9879 Restore nil as a valid but deprecated custom type.
9881 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9883 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9884 Handle $' used as a variable (bug#17174).
9886 * progmodes/perl-mode.el (perl-indent-new-calculate):
9887 Handle forward-sexp failure (bug#16985).
9888 (perl-syntax-propertize-function): Add "foreach" and "for" statement
9889 modifiers introducing expressions (bug#17116).
9891 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
9893 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9895 2014-04-05 Leo Liu <sdl.web@gmail.com>
9897 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9898 Add define-compilation-mode.
9900 2014-04-04 João Távora <joaotavora@gmail.com>
9902 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9903 parse from comment beginning.
9904 (electric-pair--balance-info): Fix typo in comment.
9905 (electric-pair--in-unterminated-string-p): Delete.
9906 (electric-pair--unbalanced-strings-p): New function.
9907 (electric-pair-string-bound-function): New var.
9908 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9909 according to `electric-pair--in-unterminated-string-p'.
9911 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9913 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9914 Move declaration before first use.
9915 (reftex-move-to-next-arg): Silence compiler warning.
9917 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
9919 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9920 Use `window-total-width' instead of `window-width'.
9922 2014-04-03 Daniel Colascione <dancol@dancol.org>
9924 * subr.el (set-transient-map): Remove rms's workaround entirely;
9925 use new `suspicious-object' subr to mark our lambda for closer
9928 2014-04-02 Richard Stallman <rms@gnu.org>
9930 * subr.el (set-transient-map): Comment out previous change.
9932 2014-04-02 Glenn Morris <rgm@gnu.org>
9934 * menu-bar.el (menu-bar-file-menu):
9935 * vc/ediff.el (ediff-current-file):
9936 Update for revert-buffer-function no longer being nil by default.
9938 * simple.el (command-execute): Respect nil disabled-command-function.
9940 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9942 * simple.el (command-execute): Do not execute the command when it
9943 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
9945 2014-04-02 Juri Linkov <juri@jurta.org>
9947 * dired-aux.el (dired-compress-file): Don't use string-match-p
9948 because its match data is used afterwards.
9950 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
9955 2014-04-02 João Távora <joaotavora@gmail.com>
9957 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9958 Inhibit quote pairing if point-max is inside an unterminated string.
9959 (electric-pair--looking-at-unterminated-string-p):
9961 (electric-pair--in-unterminated-string-p): New function.
9963 2014-04-01 Daniel Colascione <dancol@dancol.org>
9965 * minibuffer.el (minibuffer-complete): Prevent assertion failure
9966 when trying to complete the prompt.
9968 2014-03-31 Leo Liu <sdl.web@gmail.com>
9970 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9971 Refactor out eldoc-documentation-function-default.
9972 (eldoc-documentation-function-default): New function.
9973 (eldoc-documentation-function): Change value.
9975 2014-03-31 Glenn Morris <rgm@gnu.org>
9977 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
9979 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
9980 (vhdl-compose-components-package, vhdl-compose-configuration):
9981 Abbreviate default-directory (missing from some previous upstream sync).
9983 2014-03-31 Reto Zimmermann <reto@gnu.org>
9985 Sync with upstream vhdl mode v3.35.2.
9986 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9987 (top-level): No longer require assoc.
9988 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
9989 New functions. Use throughout to replace aget etc.
9990 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
9991 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
9992 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
9993 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
9994 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
9995 except `vhdl-compiler'.
9996 (vhdl-error-regexp-add-emacs): Remove all other compilers,
9999 2014-03-31 Glenn Morris <rgm@gnu.org>
10001 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10002 Revert 2014-03-26 merge goof; go back to using defalias.
10004 2014-03-30 Daniel Colascione <dancol@dancol.org>
10006 * comint.el (comint-send-input):
10007 Deactivate completion-in-region-mode before we send comint input.
10010 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10013 2014-03-29 Glenn Morris <rgm@gnu.org>
10015 * textmodes/reftex.el: Manage most autoloads automatically.
10016 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10017 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10018 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10019 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10020 * textmodes/reftex-toc.el: Set generated-autoload-file,
10021 and add autoload cookies for reftex.el.
10022 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10024 2014-03-28 Glenn Morris <rgm@gnu.org>
10026 * cus-start.el (report-emacs-bug-address): Set custom properties.
10027 * mail/emacsbug.el (report-emacs-bug-address):
10028 Variable is now defined in emacs.c.
10030 * mail/emacsbug.el (report-emacs-bug):
10031 Include system-configuration-features.
10033 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
10035 * simple.el (cycle-spacing): Never delete spaces on first run by
10036 default, but do so in a new 'fast mode and if there are already
10037 N spaces (the previous behavior).
10038 Compare N with its value in previous invocation so that changing
10039 prefix argument restarts `cycle-spacing' sequence.
10040 The idea is that with this change, binding M-SPC to
10041 `cycle-spacing' should not introduce any changes in behavior of
10042 the binding so long as users do not type M-SPC twice in a raw with
10043 the same prefix argument or lack thereof.
10045 2014-03-28 Glenn Morris <rgm@gnu.org>
10047 * faces.el (term-file-aliases): New variable.
10048 (tty-run-terminal-initialization): Respect term-file-aliases.
10049 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10050 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10051 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10053 2014-03-27 Glenn Morris <rgm@gnu.org>
10055 * startup.el (inhibit-startup-hooks): Doc tweak.
10056 (normal-top-level): Simplify running of hooks.
10057 For window-setup-hook, respect inhibit-startup-hooks.
10058 (command-line-1): Don't set window-setup-hook to nil.
10060 Allow selective autoloading from obsolete/ directory.
10061 * Makefile.in (obsolete-autoloads): New rule.
10062 (autoloads): Run obsolete-autoloads.
10063 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
10064 * simple.el (iswitchb-mode): Remove hand-written autoloads.
10066 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
10068 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10069 Highlight special globals with font-lock-builtin-face. (Bug#17057)
10071 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10072 Don't propertize `?' or `!' as symbol constituent when after
10075 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
10077 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10078 which is no longer needed and causes trouble in GTK builds (bug#17046).
10080 * emacs-lisp/package-x.el (package--archive-contents-from-url):
10081 Use url-insert-file-contents; package-handle-response no longer exists.
10083 2014-03-26 Daniel Colascione <dancol@dancol.org>
10085 * simple.el (process-menu-mode-map): New variable.
10086 (process-menu-delete-process): New command.
10088 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10090 * emacs-lisp/package.el: Fix bug#16733 (again).
10091 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10092 (url-http-target-url): Remove unused declarations.
10093 (package-handle-response): Remove.
10094 (package--with-work-buffer): Use url-insert-file-contents and simplify.
10095 (package--download-one-archive): Use current-buffer instead of
10096 dynamic binding of `buffer'.
10097 (describe-package-1): Do not decode readme-string.
10099 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
10101 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
10103 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
10104 from 2014-03-07, it decreases performance unnecessarily. Let-bind
10105 `remote-file-name-inhibit-cache' to nil in the second pass.
10106 (tramp-find-executable): Do not call "which" on SunOS.
10107 (tramp-send-command-and-check): Fix docstring.
10108 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
10109 check whether source directory has set the sticky bit.
10111 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
10113 * simple.el (primitive-undo): Only process marker adjustments
10114 validated against their corresponding (TEXT . POS). Issue warning
10115 for lone marker adjustments in undo history. (Bug#16818)
10116 (undo-make-selective-list): Add marker adjustments to selective
10117 undo list based on whether their corresponding (TEXT . POS) is in
10118 the region. Remove variable adjusted-markers, which was unused
10119 and only non nil during undo-make-selective-list.
10120 (undo-elt-in-region): Return nil when passed a marker adjustment
10121 and explain in function doc.
10123 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10125 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
10127 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10129 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
10130 Match special global variables without curlies, too.
10131 (ruby-font-lock-keywords): Simplify the matcher for special global
10132 variables. Don't require a non-word character after the variable.
10135 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10137 * simple.el (redisplay-highlight-region-function): Increase priority of
10138 overlay to make sure boundaries are visible (bug#15899).
10140 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10142 * frameset.el (frameset--initial-params): Fix typo in parameter name.
10143 (frameset-restore): Compare display strings with equal.
10145 * frame.el (make-frame): Don't quote display name in error message,
10146 it is already a string.
10148 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10150 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
10153 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10155 * emacs-lisp/package.el (package--add-to-archive-contents):
10156 Include already installed and built-in packages in
10157 `package-archive-contents'.
10158 (package-install): Don't include already installed packages in the
10159 options during interactive invocation. (Bug#16762)
10160 (package-show-package-list): If the buffer is already displayed in
10161 another window, switch to that window.
10163 2014-03-26 Reto Zimmermann <reto@gnu.org>
10165 Sync with upstream vhdl mode v3.35.1.
10166 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10167 (vhdl-compiler-alist): Doc fix.
10168 (vhdl-goto-line): Remove.
10169 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
10170 (vhdl-mode) <paragraph-start>: Fix value.
10171 (vhdl-fix-statement-region): Not `for' in wait-statement.
10172 (vhdl-beautify-region): Also (un)tabify.
10173 (vhdl-get-visible-signals):
10174 Scan declarative part of generate statements.
10175 (vhdl-template-record): Fix indentation for record type declaration.
10176 (vhdl-expand-abbrev, vhdl-expand-paren):
10177 Revert to using fset again rather than defalias.
10178 (vhdl-scan-directory-contents): Tweak.
10179 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
10180 (vhdl-compose-components-package):
10181 Replace vhdl-goto-line with forward-line.
10182 (top-level): Tweak speedbar frame selection.
10183 (vhdl-generate-makefile-1): Support for compilers with no
10184 unit-to-file name mapping (create directory with dummy files).
10186 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
10188 Sync with upstream verilog-mode revision 702457d.
10189 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10190 (create-lockfiles): Declare.
10191 (verilog-read-decls): Fix module header imports, bug709.
10192 Reported by Victor Lau.
10193 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
10194 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
10195 interface-only modules, bug721. Reported by Dean Hoyt.
10197 2014-03-26 Glenn Morris <rgm@gnu.org>
10199 * obsolete/gulp.el: Move here from emacs-lisp/.
10201 * files.el (lock-buffer, unlock-buffer, file-locked-p):
10202 Remove fallback aliases, since they are always defined now.
10204 2014-03-24 Daniel Colascione <dancol@dancol.org>
10206 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
10207 instead of cl-loop search function.
10209 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
10211 * calendar/parse-time.el (parse-time-iso8601-regexp)
10212 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
10215 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
10217 * net/dns.el (network-interface-list): Define for XEmacs.
10219 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
10221 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
10222 the network interfaces changed.
10223 (dns-query): Use it to flush the data.
10225 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
10227 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
10229 2014-03-23 Daniel Colascione <dancol@dancol.org>
10231 Change subword-mode to use `find-word-boundary-function-table' and
10232 replace `capitalized-words-mode'. Also, convert to lexical binding.
10233 * progmodes/cap-words.el: Delete now-obsolete file.
10234 * progmodes/subword.el: Reimplement using
10235 `find-word-boundary-function-table'.
10236 (subword-mode-map): Hollow out.
10237 (capitalized-words-mode): Define as obsolete alias for
10239 (subword-mode, superword-mode): Tweak documentation to reflect new
10240 implementation; call `subword-setup-buffer'.
10241 (subword-forward, subword-capitalize): Add underscore to indicate
10243 (subword-find-word-boundary-function-table): New constant.
10244 (subword-empty-char-table): New constant.
10245 (subword-setup-buffer): New function.
10246 (subword-find-word-boundary): New function.
10248 2014-03-23 Daniel Colascione <dancol@dancol.org>
10250 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
10251 list to look for keyword arguments instead of `memq', fixing
10252 (Bug#3647) --- unfortunately, only for freshly-compiled code.
10253 Please make bootstrap.
10255 2014-03-22 Glenn Morris <rgm@gnu.org>
10257 * dired.el (dired-read-regexp): Make obsolete.
10258 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
10259 (dired-flag-files-regexp):
10260 * dired-aux.el (dired-mark-read-regexp):
10261 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
10263 * startup.el (fancy-startup-text):
10264 * help.el (describe-gnu-project): Visit online info about GNU project.
10266 * help-fns.el (help-fns--interactive-only): New function.
10267 (help-fns-describe-function-functions): Add the above function.
10268 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
10269 (next-line, previous-line): Remove hand-written interactive-only
10270 information from doc strings, it is auto-generated now.
10271 * bookmark.el (bookmark-write):
10272 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
10273 (epa-mail-import-keys): Mark interactive-only,
10274 and remove hand-written interactive-only information from doc strings.
10275 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
10276 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
10277 * files.el (not-modified):
10278 * simple.el (mark-whole-buffer): Mark interactive-only.
10280 * emacs-lisp/byte-run.el (defun-declarations-alist):
10281 Add interactive-only. Doc tweak.
10282 (macro-declarations-alist): Doc tweak.
10283 * subr.el (declare): Doc tweak (add xref to manual).
10284 * comint.el (comint-run):
10285 * files.el (insert-file-literally, insert-file):
10286 * replace.el (replace-string, replace-regexp):
10287 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
10288 (delete-forward-char, goto-line, insert-buffer, next-line)
10289 (previous-line): Set interactive-only via declare.
10291 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
10293 * emacs-lisp/package.el (package-desc): Use the contents of the
10294 quoted form, not its cdr. (Bug#16873)
10296 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
10298 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
10299 benefit of doc.c; change parameter profile to match the X function.
10301 2014-03-22 Leo Liu <sdl.web@gmail.com>
10303 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
10304 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
10306 2014-03-21 Richard Stallman <rms@gnu.org>
10308 * battery.el (battery-linux-sysfs): Search for each field
10309 from the beginning of the buffer.
10311 * subr.el (set-transient-map): Clear out function and value
10312 of the temporary symbol when we're done with it.
10314 * mail/rmailsum.el (rmail-summary-delete-forward):
10315 Optimize case of reaching end and handling count.
10316 (rmail-summary-mark-deleted): Optimize when N is current msg.
10317 Don't create new summary line.
10318 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
10319 (rmail-summary-undelete-many): Rewrite for speed.
10320 (rmail-summary-msg-number): New function.
10322 * mail/rmail.el (rmail-delete-message): Update summary.
10323 (rmail-undelete-previous-message): Handle repeat count arg.
10324 (rmail-delete-backward, rmail-delete-forward): Likewise.
10326 2014-03-21 Daniel Colascione <dancol@dancol.org>
10328 * mail/emacsbug.el (report-emacs-bug): Include memory usage
10329 information in bug reports.
10331 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
10333 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
10334 and `tramp-copy-env'.
10336 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
10337 (tramp-maybe-open-connection): Handle `tramp-login-env'.
10339 2014-03-21 Glenn Morris <rgm@gnu.org>
10341 * electric.el (electric-indent-post-self-insert-function): Add doc.
10343 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
10345 * emacs-lisp/package.el (package-compute-transaction):
10346 Use `version-list-<=' to compare the requirement version against
10347 the version of package already to be installed. Update the error
10348 message. (Bug#16826)
10350 * progmodes/ruby-mode.el (ruby-smie-rules):
10351 Add indentation rule for ` @ '. (Bug#17050)
10353 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
10355 * align.el (align-regexp): Remove superfluous backslash.
10357 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
10358 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
10359 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
10360 Fix docstring typos.
10361 (ffap-next): Use C-u in docstring.
10362 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
10363 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
10364 Remove superfluous backslashes.
10365 (ffap-string-at-point): Reflow docstring.
10367 * server.el (server-host): Reflow docstring.
10368 (server-unload-function): Fix docstring typo.
10369 (server-eval-at): Remove superfluous backslash.
10371 * skeleton.el (skeleton-insert): Remove superfluous backslash.
10372 (skeleton-insert): Doc fix.
10373 (skeleton-insert): Reflow docstring.
10375 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
10376 (tty-color-approximate, tty-color-by-index, tty-color-values)
10377 (tty-color-desc): Remove superfluous backslashes.
10379 2014-03-21 Glenn Morris <rgm@gnu.org>
10381 * cus-start.el (history-length): Bump :version.
10383 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10384 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10385 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10386 Don't set `make-backup-files'.
10388 * info.el (info--prettify-description): New function,
10389 to give info-finder descriptions consistent case, punctuation.
10390 (Info-finder-find-node): Use it. Sort packages.
10391 Refer to "description" rather than "commentary".
10393 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
10395 * frameset.el (frameset--print-register): New function.
10396 (frameset-to-register): Use it.
10398 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
10400 * progmodes/hideif.el (hif-string-to-number): New function.
10401 (hif-tokenize): Use it to understand non-decimal floats.
10403 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
10405 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
10407 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10409 * electric.el (electric-newline-and-maybe-indent): New command.
10410 Bind it globally to C-j.
10411 (electric-indent-mode): Don't mess with the global map any more.
10412 Don't drop the post-self-insert-hook is some buffer is still using it
10415 * bindings.el (global-map): Remove C-j binding.
10417 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
10418 the docstring of functions advised before dumping (bug#16993).
10420 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
10422 * ps-print.el (ps-generate-postscript-with-faces):
10423 Explicitly deactivate the mark (bug#16866).
10424 * simple.el (deactivate-mark): Update region highlight.
10426 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
10428 * emacs-lisp/package.el (describe-package-1):
10429 Decode commentary (bug#16733).
10431 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
10433 * custom.el (defcustom): Doc fix: recommend avoiding destructive
10434 modification of the value argument of :set (bug#16755).
10436 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10438 * simple.el (newline-and-indent): Do autofill (bug#17031).
10440 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
10442 * newcomment.el (comment-normalize-vars): Only add escaping check
10443 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
10444 (comment-beginning): Use `narrow-to-region' instead of moving back
10446 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
10447 (comment-start-skip): Update the docstring.
10449 2014-03-18 Richard Stallman <rms@gnu.org>
10451 * dired.el (dired-display-file): Force use of other window.
10453 2014-03-18 Daniel Colascione <dancol@dancol.org>
10455 * startup.el (tty-handle-args): Remove debug message from 2007.
10457 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
10460 (advice--make-interactive-form): Use it to avoid (auto)loading function.
10461 (advice--make-1, advice-add, advice-remove):
10462 Remove braindead :advice-pending hack.
10464 2014-03-17 Glenn Morris <rgm@gnu.org>
10466 * calendar/calendar.el (calendar-generate-month): Apply weekend
10467 face to the right days; fixes 2013-08-06 change. (Bug#17028)
10469 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
10471 * net/tramp.el (tramp-action-out-of-band): Read pending output.
10472 (tramp-call-process): Trace also DESTINATION.
10474 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10475 Quote file names when they are local. Remove superfluous trace.
10477 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
10479 * newcomment.el (comment-beginning): If `comment-start-skip'
10480 doesn't match, move back one char and try again. (Bug#16971)
10482 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10483 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
10484 Set `comment-start-skip' to a simpler value that doesn't try to
10485 check if the semicolon is escaped (this is handled by
10486 `syntax-ppss' now). (Bug#16971)
10488 * progmodes/scheme.el (scheme-mode-variables): Same.
10490 2014-03-16 Martin Rudalics <rudalics@gmx.at>
10492 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
10493 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
10494 current (Bug#16816, Bug#17007).
10495 (with-current-buffer-window): New macro doing the same as
10496 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
10497 * help.el (help-print-return-message): Warn in doc-string to not
10498 use this in `with-help-window'.
10499 (describe-bindings-internal): Call `describe-buffer-bindings'
10500 from within help buffer. See Juanma's scenario in (Bug#16816).
10501 (with-help-window): Update doc-string.
10502 * dired.el (dired-mark-pop-up):
10503 * files.el (save-buffers-kill-emacs):
10504 * register.el (register-preview): Use `with-current-buffer-window'
10505 instead of `with-temp-buffer-window'.
10507 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
10509 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
10510 Implement inserting into current buffer, documented in their docstrings.
10511 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
10512 (rst-section-tree-point, rst-forward-section, rst-indent)
10513 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
10514 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
10515 (rst-font-lock-handle-adornment-pre-match-form)
10516 (rst-repeat-last-character): Reflow docstrings.
10517 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
10518 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
10519 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
10520 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
10521 Fix docstring typos.
10522 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
10523 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
10524 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
10526 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
10528 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
10529 for compatibility with other ports.
10530 (ns-initialize-window-system): Use it. It is set in term/common-win.el
10531 from the -xrm command line argument, but in the Nextstep port its value
10532 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
10534 * progmodes/python.el (defconst, python-syntax-count-quotes)
10535 (python-indent-region, python-indent-shift-right)
10536 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
10537 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
10538 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
10539 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
10540 (inferior-python-mode, python-shell-make-comint, run-python-internal)
10541 (python-shell-buffer-substring, python-shell-send-buffer)
10542 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
10543 (python-completion-complete-at-point, python-fill-docstring-style)
10544 (python-eldoc-function, python-imenu-format-item-label)
10545 (python-imenu-format-parent-item-label)
10546 (python-imenu-format-parent-item-jump-label)
10547 (python-imenu--build-tree, python-imenu-create-index)
10548 (python-imenu-create-flat-index): Fix docstring typos.
10549 (python-indent-context, python-shell-prompt-regexp, run-python):
10550 Remove superfluous backslashes.
10551 (python-indent-line, python-nav-beginning-of-defun)
10552 (python-shell-get-buffer, python-shell-get-process)
10553 (python-info-current-defun, python-info-current-line-comment-p)
10554 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
10555 (python-indent-post-self-insert-function, python-shell-send-file)
10556 (python-shell-completion-get-completions)
10557 (python-shell-completion-complete-or-indent)
10558 (python-eldoc--get-doc-at-point): Reflow docstrings.
10560 2014-03-14 Glenn Morris <rgm@gnu.org>
10562 * emacs-lisp/package.el (package-menu-mode-map):
10563 Replace use of obsolete function alias. Tweak menu item text.
10565 * info.el (Info-finder-find-node):
10566 Ignore the `emacs' metapackage. (Bug#10813)
10568 * finder.el (finder-list-matches): Include unversioned packages
10569 in the result of a keyword search.
10571 * finder.el (finder--builtins-descriptions): New constant.
10572 (finder-compile-keywords): Use finder--builtins-descriptions.
10574 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
10576 * simple.el (blink-matching-paren): Describe the new value,
10577 `jump', enabling the old behavior.
10578 (blink-matching-open): Use that value. (Bug#17008)
10580 2014-03-14 Glenn Morris <rgm@gnu.org>
10582 * finder.el (finder-no-scan-regexp): Add leim-list.
10583 (finder-compile-keywords):
10584 Don't skip files with same basename. (Bug#14010)
10585 * Makefile.in (setwins_finder): New, excluding leim.
10586 (finder-data): Use setwins_finder.
10588 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
10589 (help-function-arglist, help-make-usage): Move from here...
10590 * help.el (help-split-fundoc, help-add-fundoc-usage)
10591 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
10592 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
10594 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
10596 * net/socks.el (socks, socks-override-functions)
10597 (socks-find-services-entry):
10598 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
10599 (hif-find-ifdef-block):
10600 * progmodes/modula2.el (m2-indent): Fix docstring typos.
10602 * net/tls.el (tls-program): Reflow docstring.
10604 * progmodes/pascal.el (pascal-mode-abbrev-table)
10605 (pascal-imenu-generic-expression, pascal-auto-endcomments)
10606 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
10607 (pascal-outline-mode): Fix docstring typos.
10608 (pascal-mode): Let define-derived-mode document mode hook.
10609 (pascal-uncomment-area): Reflow.
10610 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
10612 * progmodes/opascal.el (opascal-compound-block-indent)
10613 (opascal-case-label-indent): Fix docstring typos.
10614 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
10616 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
10618 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10619 Fontify multiple adjacent negation chars. (Bug#17004)
10621 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
10623 * emacs-lisp/package.el (package--prepare-dependencies):
10624 Accept requirements without explicit version (bug#14941).
10626 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10628 * register.el (register-separator, copy-to-register): Doc fixes.
10629 (register-preview-default): Remove unnecessary call to concat.
10631 * frameset.el (frameset-restore): When checking for a visible frame,
10632 use the action map instead of calling visible-frame-list.
10634 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
10636 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
10638 2014-03-12 Martin Rudalics <rudalics@gmx.at>
10640 * window.el (fit-frame-to-buffer): Get maximum width from
10641 display's width instead of height.
10643 2014-03-12 Glenn Morris <rgm@gnu.org>
10645 * desktop.el (desktop-restore-frames)
10646 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
10647 (desktop-restore-reuses-frames): Doc tweaks.
10649 * electric.el (electric-indent-mode): Doc fix.
10651 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10653 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
10654 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
10655 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
10656 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
10657 (cvs-dired-use-hook): Fix docstring typos.
10658 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10661 * vc/pcvs-defs.el (cvs-auto-remove-handled)
10662 (cvs-auto-remove-directories, cvs-default-ignore-marks)
10663 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10664 (cvs-execute-single-dir): Fix docstring typos.
10666 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10667 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10669 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10671 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10672 Fix docstring typos.
10674 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10676 * frameset.el (frameset--jump-to-register): Add autoload; it could be
10677 called from jump-to-register after unloading the frameset package.
10679 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10682 (bug#16975). Deactivate the mark before setting it to nil.
10683 (activate-mark): Do nothing if region is already active.
10685 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10687 * frameset.el (frameset--target-display): Remove definition; declare.
10688 (frameset-save, frameset-restore): Let-bind frameset--target-display.
10690 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10692 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10693 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10694 when the advice is pending.
10695 (advice-remove): Remove this marker when not needed any more.
10697 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10699 * frameset.el: Separate options for reusing frames and cleaning up.
10700 (frameset--reuse-list): Remove definition; declare.
10701 (frameset--action-map): Declare.
10702 (frameset--find-frame-if): Doc fix.
10703 (frameset--restore-frame): Cache frame action.
10704 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10705 how to clean up the frame list after restoring. Remove cleaning
10706 options from REUSE-FRAMES. Change all keyword values to symbols.
10707 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10709 * desktop.el (desktop-restore-forces-onscreen)
10710 (desktop-restore-reuses-frames): Use non-keyword values.
10711 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10713 2014-03-10 Glenn Morris <rgm@gnu.org>
10715 * files.el (find-file): Doc fix: update info node name.
10717 * emacs-lisp/advice.el (ad-add-advice, defadvice):
10718 Doc fix: remove references to deleted info nodes.
10720 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
10722 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10723 Do not add nil to the environment, when there's no remote `locale'.
10724 (tramp-find-inline-encoding): Check, that the remote host has
10725 installed perl, before sending scripts.
10727 2014-03-10 Leo Liu <sdl.web@gmail.com>
10729 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10730 Clear eldoc-last-message. (Bug#16920)
10732 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10737 2014-03-09 Juri Linkov <juri@jurta.org>
10739 * ansi-color.el (ansi-color-names-vector): Copy default colors
10740 from `xterm-standard-colors' that look well on the default white
10741 background (and also on the black background) to avoid illegible
10742 color combinations like yellow-on-white and white-on-white.
10743 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10745 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
10747 * frameset.el (frameset-restore): When no frame is visible, do not
10748 generate a list of frames, just make visible the selected one.
10750 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
10752 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10753 it only contains the repository root. (Bug#16897)
10755 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
10757 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10758 only when `remote-file-name-inhibit-cache' is nil.
10759 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
10761 2014-03-06 Martin Rudalics <rudalics@gmx.at>
10763 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10765 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
10766 fit-frame-to-buffer variable. Fix doc-string.
10767 (fit-window-to-buffer): Set ONLY argument in call of
10768 fit-frame-to-buffer. Fix doc-string.
10770 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
10772 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10773 (tramp-action-password): Clear password cache if needed.
10774 (tramp-read-passwd): Do not clear password cache.
10776 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10777 cache unless it is the first password request.
10779 2014-03-06 Glenn Morris <rgm@gnu.org>
10781 * simple.el (newline): Doc tweak.
10783 * emacs-lisp/shadow.el (load-path-shadows-find):
10784 Ignore dir-locals. (Bug#12357)
10786 2014-03-05 Glenn Morris <rgm@gnu.org>
10788 * files.el (interpreter-mode-alist):
10789 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
10791 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10793 * frameset.el (frameset--initial-params): Filter out null entries.
10795 2014-03-05 Martin Rudalics <rudalics@gmx.at>
10797 * window.el (window-min-height, window-min-width):
10798 Rewrite doc-strings.
10799 (window-body-size): Add PIXELWISE argument to make it consistent
10802 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10804 * finder.el (finder-mode-map, finder-mode-syntax-table):
10805 Revert part of 2014-02-28 change.
10807 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
10809 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10810 (eww-setup-buffer): Clear next/prev/etc more reliably.
10811 (eww-textarea-map): [tab] doesn't work on tty.
10812 Reported by Mario Lang.
10814 * net/shr.el (shr-map): Ditto.
10816 2014-03-04 Glenn Morris <rgm@gnu.org>
10818 * minibuffer.el (completion-hilit-commonality):
10819 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10821 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10823 * hilit-chg.el (hilit-chg-unload-function): New function.
10824 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10825 (hilit-chg-map-changes): Prefer cardinal number to digit.
10826 (hilit-chg-display-changes): Reflow docstring.
10827 (highlight-changes-rotate-faces): Remove superfluous backslash.
10829 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
10831 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10832 `tramp-send-command-and-check'.
10834 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10836 * hexl.el (hexl-address-region, hexl-ascii-region)
10837 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10838 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10839 (hexl-forward-word, hexl-previous-line, hexl-next-line):
10840 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10841 (hexl-mode): Doc fix.
10842 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10843 (hexl-mode-ruler): Fix typos in docstrings.
10845 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10846 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10847 Remove superfluous backslashes.
10848 (strokes-last-stroke, strokes-global-map, strokes-mode):
10850 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10851 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10852 (strokes-distance-squared, strokes-global-set-stroke)
10853 (strokes-global-set-stroke-string): Doc fixes.
10854 (strokes-help): Fix typos; reflow docstring.
10856 2014-03-04 Martin Rudalics <rudalics@gmx.at>
10858 * window.el (window-in-direction): Fix doc-string.
10860 2014-03-04 Glenn Morris <rgm@gnu.org>
10862 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10863 Explicit error if no grammar.
10864 (smie-config-save): Doc fix. Fix quote typo.
10866 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
10868 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10869 electric-indent-mode-hook if we obey electric-indent-mode.
10870 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10871 decide whether we obey electric-indent-mode.
10872 (c-change-set-fl-decl-start, c-extend-after-change-region):
10874 (c-electric-indent-mode-hook): Assume we do want to obey
10875 electric-indent-mode.
10877 * electric.el (electric-indent-mode-has-been-called): Remove.
10878 (electric-indent-mode): Fix accordingly.
10880 * files.el (hack-local-variables): Mention file name in warning.
10882 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10884 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
10886 * bindings.el: Add comment describing why C-d binds to `delete-char'.
10887 * simple.el (delete-forward-char): Mark as interactive-only.
10889 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
10891 * icomplete.el (icomplete-completions):
10892 Follow-up to 2014-03-01 change.
10894 * icomplete.el: Miscellaneous doc fixes.
10895 Use Icomplete everywhere instead of icomplete for consistency.
10896 (icomplete-max-delay-chars): Fix typo.
10897 (icomplete-mode): Use \[].
10898 (icomplete-tidy, icomplete-exhibit): Reflow.
10899 (icomplete-minibuffer-setup-hook, icomplete-completions):
10900 Remove superfluous backlashes.
10902 * ido.el: Miscellaneous doc fixes.
10903 Use Ido everywhere instead of ido or `ido' for consistency.
10904 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10905 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10906 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10907 (ido-separator): Extract obsolescence info from docstring and declare
10908 with make-obsolete-variable.
10909 (ido-minibuffer-setup-hook): Simplify example.
10910 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10911 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10912 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10913 (ido-everywhere): Reflow docstring.
10914 (ido-toggle-vc): Doc fix.
10915 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10916 of long list of keybindings.
10918 2014-03-03 Glenn Morris <rgm@gnu.org>
10920 * frame.el (display-pixel-height, display-pixel-width)
10921 (display-mm-dimensions-alist, display-mm-height)
10922 (display-mm-width): Doc tweaks.
10924 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
10926 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10927 case of undo in region.
10929 2014-03-02 Martin Rudalics <rudalics@gmx.at>
10931 * window.el (fit-window-to-buffer): Fix argument in window-size
10932 call when window is horizontally combined.
10934 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
10936 * icomplete.el (icomplete-completions): Use string-width.
10937 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10939 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
10941 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10942 Highlight regexp options. (Bug#16914)
10944 2014-03-01 Martin Rudalics <rudalics@gmx.at>
10946 * window.el (window--max-delta-1): Round down when calculating
10947 how many lines/columns we can get from a window.
10949 2014-03-01 Glenn Morris <rgm@gnu.org>
10951 * isearch.el (search-invisible): Doc fix.
10953 * minibuffer.el (completion-hilit-commonality):
10954 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
10955 * comint.el (comint-dynamic-list-completions): Doc fix.
10956 * comint.el (comint-dynamic-list-completions):
10957 * filecache.el (file-cache-minibuffer-complete):
10958 * tempo.el (tempo-display-completions):
10959 * eshell/em-hist.el (eshell-list-history):
10960 Replace use of obsolete argument of display-completion-list.
10962 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
10964 * icomplete.el (icomplete-completions):
10965 Revert back to using "..." when ?… cannot be displayed.
10967 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10969 * finder.el (finder-unload-function): New function.
10971 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
10973 * dframe.el (dframe-detach):
10974 * find-dired.el (find-dired, find-name-dired):
10975 * finder.el (finder-mode-map, finder-mode-syntax-table)
10976 (finder-headmark, finder-select, finder-mouse-select):
10977 Fix docstring typos.
10979 2014-02-28 Martin Rudalics <rudalics@gmx.at>
10981 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
10982 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
10983 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10984 Fix doc-string based on a suggestion by Nicolas Richard
10985 <theonewiththeevillook@yahoo.fr>.
10986 * help.el (with-help-window): Fix doc-string.
10988 2014-02-28 Ivan Kanis <ivan@kanis.fr>
10990 * net/shr.el (shr-image-animate): New option.
10991 (shr-put-image): Respect shr-image-animate.
10993 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
10995 * net/tramp-adb.el (tramp-adb-parse-device-names):
10996 Use `accept-process-output'.
10997 (tramp-adb-handle-file-truename): Cache the localname only.
10998 (tramp-adb-handle-make-directory)
10999 (tramp-adb-handle-delete-directory): Flush file properties correctly.
11000 (tramp-adb-handle-set-file-modes): Do not raise an error when file
11001 modes cannot be changed.
11003 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11004 file properties of symlinks.
11006 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
11008 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11009 required/optional fields to match development biblatex. (Bug#16781)
11011 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
11013 * saveplace.el (toggle-save-place):
11014 Fix argument handling. (Bug#16673)
11016 2014-02-28 Glenn Morris <rgm@gnu.org>
11018 * minibuffer.el (completions-first-difference)
11019 (completions-common-part, completion-hilit-commonality): Doc fixes.
11021 2014-02-28 Karl Berry <karl@gnu.org>
11023 * info.el (Info-mode-map): Add H for describe-mode,
11024 to synchronize with standalone Info.
11026 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
11028 * progmodes/sql.el (sql-interactive-mode):
11029 Avoid setting global comint-input-ring-separator. (Bug#16814)
11031 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11033 * net/dbus.el (dbus--init-bus): Declare function.
11034 (dbus-path-local, dbus-interface-local): New defconst.
11035 (dbus-init-bus): Use them.
11036 (dbus-return-values-table): Extend doc.
11037 (dbus-handle-bus-disconnect): Extend error message.
11039 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
11041 * subr.el (y-or-n-p): Fix double space issue in message.
11043 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11045 * net/tramp.el (tramp-call-process): Improve trace message.
11046 (tramp-handle-insert-file-contents): Trace error case.
11048 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11049 <insert-directory>: Use `tramp-handle-insert-directory'.
11050 (tramp-adb-handle-insert-directory): Remove function.
11051 (tramp-adb-send-command-and-check): New defun, replacing
11052 `tramp-adb-command-exit-status'. Change all callees.
11053 (tramp-adb-handle-file-attributes)
11054 (tramp-adb-handle-directory-files-and-attributes): Use it.
11055 (tramp-adb-ls-output-name-less-p):
11056 Use `directory-listing-before-filename-regexp'.
11057 (tramp-adb-handle-delete-directory): Flush also file properties of
11058 the truename of directory.
11059 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
11060 (tramp-adb-handle-file-local-copy): Make the local copy readable.
11061 (tramp-adb-handle-write-region): Implement APPEND.
11062 (tramp-adb-handle-rename-file): Make it more robust. Flush file
11063 properties correctly.
11064 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
11065 variables. Check for connected devices only when needed.
11067 2014-02-27 Glenn Morris <rgm@gnu.org>
11069 * minibuffer.el (completion-table-dynamic)
11070 (completion-table-with-cache): Doc fixes.
11072 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
11073 (completing-read-multiple): Doc fixes.
11075 2014-02-27 Daniel Colascione <dancol@dancol.org>
11077 * minibuffer.el (completion--nth-completion): Fix indentation.
11079 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
11080 explicit tramp path is empty.
11082 2014-02-27 Glenn Morris <rgm@gnu.org>
11084 * emacs-lisp/crm.el (completing-read-multiple):
11085 Empower help-enable-auto-load.
11087 2014-02-26 Glenn Morris <rgm@gnu.org>
11089 * startup.el (command-line): Don't init the tty in daemon mode.
11091 Avoid calling tty-setup-hook twice, eg if a term file
11092 explicitly calls tty-run-terminal-initialization. (Bug#16859)
11093 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
11094 (tty-create-frame-with-faces): Use it.
11095 * startup.el (command-line): Pass run-hook argument
11096 to tty-run-terminal-initialization.
11098 * dired.el (dired-restore-desktop-buffer): Demote errors;
11099 eg in case a glob match fails. (Bug#16884)
11101 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
11103 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
11104 error from `read-from-string'. (Bug#16850)
11106 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
11107 result of `completing-read' in the interactive form. (Bug#16854)
11109 2014-02-25 Glenn Morris <rgm@gnu.org>
11111 * image.el (image-animate, image-animate-timeout):
11112 Stop animating images in dead buffers. (Bug#16878)
11114 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
11116 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
11118 * startup.el (term-setup-hook): Doc fix. Make obsolete.
11119 * term/sun.el (sun-raw-prefix-hooks):
11120 Use tty-setup-hook instead of term-setup-hook.
11121 (terminal-init-sun): Construct message from bytecomp plist.
11122 * term/wyse50.el (enable-arrow-keys): Doc fix.
11124 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11126 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
11127 Fix docstring typos.
11129 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
11131 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
11133 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11135 * minibuffer.el (completion--try-word-completion):
11136 Fix error when completing M-x commands (bug#16808).
11138 2014-02-24 Leo Liu <sdl.web@gmail.com>
11140 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
11142 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11144 * apropos.el (apropos-print): Avoid formatting error when
11145 apropos-do-all and apropos-compact-layout are both t.
11147 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11149 * apropos.el (apropos-property, apropos-all-words-regexp)
11150 (apropos-true-hit, apropos-variable, apropos-print):
11151 Fix docstring typos, and remove obsolete comment.
11153 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
11155 * net/tramp-sh.el (tramp-sh-handle-file-truename):
11156 Preserve trailing "/". (Bug#16851)
11158 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
11160 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
11161 after `=>' (bug#16811).
11162 (ruby-smie-rules): Handle the inconsistent second element of the
11163 list returned by `smie-indent--parent'.
11164 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
11167 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11169 * elec-pair.el (electric-pair-text-syntax-table)
11170 (electric-pair-syntax-info, electric-pair--syntax-ppss)
11171 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
11172 (electric-pair--looking-at-unterminated-string-p): Doc fix.
11173 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
11175 2014-02-22 Glenn Morris <rgm@gnu.org>
11177 * imenu.el (imenu--generic-function): Doc fix.
11179 * register.el (frame-configuration-to-register): Make obsolete.
11181 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
11183 * desktop.el (desktop-save-buffer-p): Do not fail when
11184 desktop-files-not-to-save is nil. Return t for true result
11187 2014-02-22 Daniel Colascione <dancol@dancol.org>
11189 * net/secrets.el (secrets-create-item, secrets-search-items):
11190 Check that attribute values are strings, avoiding the construction
11191 of invalid dbus messages.
11193 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11195 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
11196 defun-declarations-alist.
11198 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
11200 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
11203 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11205 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
11206 (whitespace-newline, whitespace-trailing, whitespace-line)
11207 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
11208 (whitespace-space-after-tab): Fix typo in docstrings.
11210 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
11212 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
11214 * electric.el (electric-indent-functions-without-reindent):
11215 Add `yaml-indent-line'.
11217 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11219 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
11220 It has done nothing for years; should be removed after the release.
11222 * simple.el (choose-completion): Fix docstring typo.
11223 (read-quoted-char-radix): Remove unneeded * in docstring.
11224 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
11225 Don't escape parentheses unnecessarily in docstrings.
11227 2014-02-21 Martin Rudalics <rudalics@gmx.at>
11229 Fix handling of window-min-height/-width (Bug#16738).
11230 * window.el (window--dump-window, window--dump-frame):
11232 (window--min-size-1): Account for window dividers.
11233 When window-resize-pixelwise is nil, delay rounding till after the
11234 sum of the window components has been calculated.
11235 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
11236 nil make sure at least one text line and two text columns remain
11238 (window-resize): Signal an error when window-resize-apply fails.
11239 (window--resize-child-windows): Fix calculation of by how many
11240 pixels a window can still be shrunk via window-new-normal.
11241 (adjust-window-trailing-edge): Call window--resizable with
11242 correct TRAIL argument.
11244 (with-temp-buffer-window): Don't evaluate BODY within
11245 with-current-buffer (Bug#16816).
11247 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
11249 * net/tramp.el (tramp-check-cached-permissions):
11250 Call `file-attributes' with `suffix' being a symbol but a string.
11252 2014-02-21 Daniel Colascione <dancol@dancol.org>
11254 * net/dbus.el (dbus-init-bus-1): Declare new subr.
11255 (dbus-init-bus): New function: call into dbus-init-bus-1
11256 and installs a handler for the disconnect signal.
11257 (dbus-call-method): Rewrite to look for result in cons.
11258 (dbus-call-method-handler): Store result in cons.
11259 (dbus-check-event): Recognize events with nil sender as valid.
11260 (dbus-handle-bus-disconnect): New function. React to bus
11261 disconnection signal by synthesizing dbus error for each
11262 pending synchronous or asynchronous call.
11263 (dbus-notice-synchronous-call-errors): New function.
11264 (dbus-handle-event): Raise errors directly only when `dbus-debug'
11265 is true, not all the time.
11267 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11269 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
11270 Remove obsolescence declarations, these variables do not exist anymore.
11272 * savehist.el (savehist-save-minibuffer-history)
11273 (savehist-additional-variables, savehist-file, savehist-mode-hook)
11274 (savehist-save-hook, savehist-coding-system, savehist-loaded)
11275 (savehist-load, savehist-install, savehist-autosave): Fix typos;
11276 mostly, refer to "Savehist mode" when talking about the mode,
11277 and not the function.
11279 * saveplace.el (save-place): Remove redundant info in docstring.
11280 (save-place-forget-unreadable-files, toggle-save-place)
11281 (save-place-forget-unreadable-files, save-place-dired-hook):
11282 Fix typos and remove unneeded backslashes.
11284 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
11286 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
11287 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
11289 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11290 <insert-directory>: Use `tramp-handle-insert-directory'.
11291 (tramp-gvfs-handle-insert-directory): Remove function.
11293 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11294 Call `tramp-handle-insert-directory'.
11296 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
11298 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
11299 before the start of buffer/region (bug#16799).
11301 2014-02-20 Glenn Morris <rgm@gnu.org>
11303 * isearch.el (search-invisible): Doc fix.
11305 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
11307 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
11310 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
11312 * frameset.el (frameset-restore): Delay removing an old frame's
11313 duplicate id until the new frame has been correctly created.
11315 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
11317 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
11318 (tramp-check-cached-permissions): Call `file-attributes' if the
11321 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11322 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
11324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11325 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
11326 (tramp-gvfs-maybe-open-connection): Set always connection
11327 properties, even if target is mounted already.
11329 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
11330 Set tramp-autoload cookie.
11331 (tramp-get-remote-touch): New defun.
11332 (tramp-sh-handle-set-file-times): Use it.
11333 (tramp-sh-handle-directory-files-and-attributes):
11334 Use `tramp-handle-directory-files-and-attributes' if neither stat
11335 nor perl are available on the remote host.
11337 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
11338 "/". Write long listing only when "l" belongs to the switches.
11340 * net/trampver.el: Update release number.
11342 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
11344 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
11346 2014-02-19 Martin Rudalics <rudalics@gmx.at>
11348 * window.el (window-state-put): Allow WINDOW to refer to an
11349 internal window (Bug#16793).
11351 2014-02-19 Glenn Morris <rgm@gnu.org>
11353 * textmodes/remember.el: Move provide statement to end.
11354 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
11355 (remember-notes): Doc fixes.
11357 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11359 * delsel.el (delete-char): Restore incorrectly erased property
11362 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
11364 * frameset.el (frameset--restore-frame): When a frame is being reused
11365 and its root window is not alive, delete all the frame's windows before
11366 restoring the window state. This works around the issue in bug#16793.
11368 2014-02-18 Glenn Morris <rgm@gnu.org>
11370 * textmodes/remember.el (remember-data-directory)
11371 (remember-directory-file-name-format, remember-store-in-files)
11372 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
11373 (remember-notes-save-and-bury-buffer)
11374 (remember-notes--kill-buffer-query): Doc fixes.
11376 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
11378 2014-02-17 Alan Mackenzie <acm@muc.de>
11380 Connect electric-indent-mode up with CC Mode. Bug #15478.
11381 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
11382 to electric-indent-{,local-}-mode.
11383 (c-basic-common-init): Set electric-indent-inhibit.
11384 Initialise c-electric-flag from electric-indent-mode.
11385 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
11386 New hook functions which propagate electric-indent-mode to CC mode.
11388 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
11389 hit, toggle electric-indent-local-mode.
11391 * electric.el (electric-indent-mode-has-been-called):
11394 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
11396 * frameset.el (frameset-cfg-id): New function.
11397 (frameset--reuse-frame, frameset-restore): Use it.
11398 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
11400 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * ido.el (ido-file-internal): Remove unused var `d'.
11403 Use \` for to match BoS. Fit within 80n columns.
11405 2014-02-17 Daniel Colascione <dancol@dancol.org>
11407 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
11408 dbus-call-method check for completion using a busy-wait loop with
11411 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
11413 Sync with Tramp 2.2.9.
11415 * net/trampver.el: Update release number.
11417 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
11419 * ido.el (ido-file-internal): Don't add the name of an existing
11420 directory twice. (Bug#16747)
11422 2014-02-16 Glenn Morris <rgm@gnu.org>
11424 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
11425 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
11427 2014-02-15 Michael R. Mauger <michael@mauger.com>
11429 * progmodes/sql.el: Version 3.4
11430 (sql-oracle-options): New default value ("-L").
11431 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
11432 (sql-placeholders-filter): Correct placeholder pattern.
11433 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
11434 (sql-login-delay): New variable.
11435 (sql-product-interactive): Use it.
11437 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
11439 * frameset.el (frameset--jump-to-register): Check that buffer is live
11442 2014-02-15 Glenn Morris <rgm@gnu.org>
11444 * info.el (info-initialize): Revert 2014-01-10 change.
11446 2014-02-14 Glenn Morris <rgm@gnu.org>
11448 * replace.el (map-query-replace-regexp)
11449 (read-regexp-defaults-function, read-regexp): Doc fixes.
11451 * dired.el (dired-read-regexp):
11452 * faces.el (list-faces-display):
11453 * misearch.el (multi-isearch-read-matching-buffers)
11454 (multi-isearch-read-matching-files):
11455 * play/cookie1.el (cookie-apropos):
11456 * progmodes/grep.el (grep-read-regexp): Doc fixes.
11458 * textmodes/remember.el (remember): Use frameset-to-register
11459 rather than frame-configuration-to-register.
11461 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
11463 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
11464 incorrect keybinding.
11466 2014-02-13 Daniel Colascione <dancol@dancol.org>
11468 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
11469 when adding overlays so that line numbers from compiler match line
11472 2014-02-13 Glenn Morris <rgm@gnu.org>
11474 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
11476 * jit-lock.el (jit-lock-mode): Doc fix.
11478 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
11480 * apropos.el (apropos-read-pattern): When the user passes an empty
11481 string, give a more helpful error message than "Wrong type
11482 argument: stringp, nil".
11484 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
11488 2014-02-13 Glenn Morris <rgm@gnu.org>
11490 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
11492 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
11494 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
11495 shift-select commands.
11497 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
11499 * progmodes/js.el (js-indent-line): Don't widen.
11500 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
11502 2014-02-12 Glenn Morris <rgm@gnu.org>
11504 * icomplete.el (icomplete): Add info-link to defgroup.
11505 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
11506 (icomplete-minibuffer-map, icomplete-mode)
11507 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
11509 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
11510 (package-menu-filter): Rename from package-menu-filter-interactive.
11513 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
11515 * frameset.el (frameset--jump-to-register): Select the required
11516 window and buffer before restoring position (bug#16696).
11518 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
11520 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
11522 2014-02-10 Glenn Morris <rgm@gnu.org>
11524 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
11526 2014-02-10 Eli Zaretskii <eliz@gnu.org>
11528 * w32-common-fns.el (x-get-selection): Doc fix.
11529 * select.el (x-get-selection): Doc fix. (Bug#15109)
11531 * face-remap.el (face-remap-add-relative)
11532 (face-remap-remove-relative, face-remap-reset-base)
11533 (face-remap-set-base): Call force-mode-line-update to redisplay
11534 the current buffer due to potential change in faces. (Bug#16709)
11536 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
11538 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
11539 script more robustly.
11541 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11543 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
11545 * simple.el (choose-completion): Doc fix (bug#14160).
11547 * subr.el (event-start): Say what a nil EVENT value means.
11549 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
11552 * progmodes/grep.el (find-program): Doc fix (bug#14289).
11554 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
11556 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
11558 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
11559 predicate function (bug#15455).
11561 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
11563 * ielm.el (inferior-emacs-lisp-mode): Instead of
11564 `comment-use-global-state', set `comment-use-syntax'.
11566 2014-02-10 Glenn Morris <rgm@gnu.org>
11568 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
11570 2014-02-09 Alan Mackenzie <acm@muc.de>
11572 Fix c-invalidate-state-cache on narrowed buffers.
11573 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
11574 Widen when setting and clearing the CPP delimiter properties.
11576 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
11578 * help.el (describe-bindings): Doc fix (bug#9888).
11580 * files.el (save-buffer): Use ARG as the parameter name for
11581 consistency (bug#10346).
11582 (save-buffer): Clarify the 0 argument (bug#10346).
11584 * cus-edit.el (customize-apropos): Fix error string.
11585 (custom-buffer-create): Doc fix (bug#11122).
11586 (custom-sort-items): Doc fix (bug#11121).
11588 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
11590 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
11591 (icomplete-simple-completing-p): Mention the previous variable.
11593 * font-lock.el (font-lock-value-in-major-mode): Clarify the
11594 meaning of the parameter (bug#12282).
11596 * files.el (find-file-noselect): Clarify prompt when changing
11597 readedness (bug#13261).
11598 (locate-file): Suffixes aren't returned, so don't say that they
11600 (backup-inhibited): Doc clarification (bug#12525).
11602 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
11603 before we actually start to delete things (bug#16331).
11605 * subr.el (event-start): Doc fix (bug#14228).
11606 (event-end): Ditto.
11608 2014-02-09 Glenn Morris <rgm@gnu.org>
11610 * emacs-lisp/warnings.el (lwarn):
11611 Empower help-enable-auto-load. (Bug#15940)
11613 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11615 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
11618 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
11620 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11621 Insert output at end of buffer. (Bug#16120)
11623 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11625 * simple.el (choose-completion-string-functions): Document new
11626 calling convention (bug#14153).
11627 (execute-extended-command): Clarify doc string (bug#13373).
11629 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
11631 * find-dired.el (find-name-dired): Doc fix (bug#14290).
11632 (find-grep-dired): Doc fix (bug#14288).
11634 2014-02-08 Juri Linkov <juri@jurta.org>
11636 * isearch.el (isearch-quote-char): Check character validity
11637 like in `quoted-insert' (bug#16677).
11639 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11641 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
11643 * isearch.el (isearch-hide-immediately): Doc clarification
11646 * simple.el (line-move): Document utility function used many
11647 places in the Emacs sources (bug#14843).
11649 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
11650 (dired-prev-marked-file): Doc fix (bug#14855).
11651 (dired-up-directory): Doc fix (bug#14848).
11653 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
11655 * files.el (file-relative-name): Doc fix (bug#15159).
11657 * fringe.el (fringe-styles): Doc fix (bug#15239).
11659 * isearch.el (isearch-filter-predicate): Documentation typo fix
11662 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11664 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11666 * replace.el (replace-match-maybe-edit): Doc clarification
11669 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11671 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11673 2014-02-08 Glenn Morris <rgm@gnu.org>
11675 * help-fns.el (describe-variable):
11676 Check {file,dir}-local-variables-alist, and buffer-file-name,
11677 in the correct buffer.
11679 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
11681 * help-fns.el (describe-variable): Fix the case where
11682 a value is directory-local with no dir-locals file. (Bug#16635)
11684 2014-02-08 Glenn Morris <rgm@gnu.org>
11686 * abbrev.el (edit-abbrevs-mode):
11687 Derive from fundamental-mode. (Bug#16682)
11689 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
11691 * simple.el (quoted-insert): Check character validity (bug#16677).
11693 2014-02-07 Juri Linkov <juri@jurta.org>
11695 * desktop.el (desktop-read): Claim the lock when the owner is not
11696 the current process. (Bug#16157)
11698 2014-02-07 Juri Linkov <juri@jurta.org>
11700 * desktop.el (desktop-buffers-not-to-save): Change default from nil
11701 to "\\` ". (Bug#16651)
11703 2014-02-07 Juri Linkov <juri@jurta.org>
11705 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11706 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11707 (desktop-auto-save-cancel-timer): New function with some code from
11708 `desktop-auto-save-set-timer'.
11709 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11710 Instead of setting `desktop-save-mode' to nil, call
11711 `desktop-save-mode' with arg 0. (Bug#16630)
11713 2014-02-07 Glenn Morris <rgm@gnu.org>
11715 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11716 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11717 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11719 * obsolete/iswitchb.el: Move to obsolete/.
11720 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11721 since obsolete/ is not scanned for autoloads.
11722 * emacs-lisp/authors.el (authors-valid-file-names):
11725 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11726 Disable now non-functional find-file-hook.
11728 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
11730 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11731 instead of ";" in order to avoid additional prompts. Let heredoc
11732 scripts read from tty. (Bug#16582)
11733 (tramp-send-command): No special handling of heredocs, it isn't
11736 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11738 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11739 with a space (bug#16664). Limit the symbols considered to the ones
11740 that are bound or fbound (bug#16646).
11742 2014-02-06 Glenn Morris <rgm@gnu.org>
11744 * epa.el (epa-mail-aliases): Doc fix.
11746 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
11748 * emacs-lisp/lisp.el (lisp-completion-at-point):
11749 Use `completion-table-merge' instead of `completion-table-in-turn'
11752 * minibuffer.el (completion-table-merge): New function.
11754 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
11756 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11757 (tramp-sh-handle-set-file-acl)
11758 (tramp-sh-handle-start-file-process)
11759 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11760 (tramp-find-executable, tramp-send-command): Use it.
11762 2014-02-05 Glenn Morris <rgm@gnu.org>
11764 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
11766 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
11768 * progmodes/python.el (python-shell-send-string)
11769 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11771 2014-02-04 Anders Lindgren <andlind@gmail.com>
11773 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11774 the names (bug#16620).
11776 2014-02-03 Martin Rudalics <rudalics@gmx.at>
11778 * faces.el (window-divider): New default value. Rewrite doc-string.
11779 (window-divider-first-pixel, window-divider-last-pixel): New faces.
11781 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
11783 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11784 `protected' and `public' can also be called without arguments.
11786 2014-02-03 Glenn Morris <rgm@gnu.org>
11788 * register.el (window-configuration-to-register)
11789 (frame-configuration-to-register): Unadvertise unused argument.
11790 * frameset.el (frameset-to-register): Remove unused argument.
11792 * frameset.el (frameset-to-register):
11793 * kmacro.el (kmacro-to-register):
11794 * register.el (increment-register):
11795 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11796 (calc-append-to-register, calc-prepend-to-register):
11797 * play/gametree.el (gametree-layout-to-register)
11798 (gametree-apply-register-layout):
11799 * textmodes/picture.el (picture-clear-rectangle-to-register)
11800 (picture-yank-rectangle-from-register):
11801 * vc/emerge.el (emerge-combine-versions-register):
11802 Use register-read-with-preview to read registers.
11804 2014-02-03 João Távora <joaotavora@gmail.com>
11806 * elec-pair.el (electric-pair-backward-delete-char): Don't error
11807 when at beginning of (possibly narrowed) buffer.
11809 2014-02-02 Daniel Colascione <dancol@dancol.org>
11811 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11812 Also try to display local help from just before point.
11814 2014-02-02 Alan Mackenzie <acm@muc.de>
11816 c-parse-state. Don't "append-lower-brace-pair" in certain
11817 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
11818 recognised as a comment.
11820 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11821 as well as normal comment starter.
11822 (c-parse-state-get-strategy): Extra return possibility
11824 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11825 return value list to indicate replacement of a brace-pair cons
11827 (c-parse-state-1): With 'back-and-forward, only call
11828 c-append-lower-brace-pair-to state-cache when cons-separated.
11830 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
11832 * term/ns-win.el (ns-suspend-error): New function.
11833 (ns-initialize-window-system): Add ns-suspend-error to
11834 suspend-hook (Bug#16612).
11836 2014-02-02 Daniel Colascione <dancol@dancol.org>
11838 * progmodes/cc-defs.el (c-find-assignment-for-mode):
11839 Make loading cc-mode silent.
11841 2014-02-02 Daniel Colascione <dancol@dancol.org>
11843 * comint.el (comint-prompt-read-only): Change doc to suggest
11846 2014-02-02 Glenn Morris <rgm@gnu.org>
11848 * register.el (register-read-with-preview, point-to-register)
11849 (window-configuration-to-register, frame-configuration-to-register)
11850 (jump-to-register, number-to-register, view-register, insert-register)
11851 (copy-to-register, append-to-register, prepend-to-register)
11852 (copy-rectangle-to-register): Doc fixes.
11854 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
11856 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11857 * emacs-lisp/find-func.el (find-function-C-source): Idem.
11858 * emacs-lisp/nadvice.el (advice--cd*r): New function.
11859 * help-fns.el (describe-function-1): Use it.
11861 2014-02-02 Glenn Morris <rgm@gnu.org>
11863 * register.el (register-preview-default): New function,
11864 split from register-preview.
11865 (register-preview-function): Rename from register-preview-functions,
11866 make it not a hook.
11867 (register-preview): Use register-preview-function.
11868 (register-read-with-preview): Error on non-character event. (Bug#16595)
11870 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11872 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11873 `:' before binary operators (bug#16609). Don't check for `:'
11874 before `[' and `(', or their syntax status. A percent literal
11875 can't end with either.
11876 (ruby-font-lock-keywords): For built-ins that require arguments,
11877 check that they're followed by something that looks like argument
11880 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
11882 * subr.el (butlast): Document what an omitted N means (bug#13437).
11885 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
11887 * net/shr.el (shr-generic): Make into a defsubst to make the stack
11888 depth shallower (bug#16587).
11889 (shr-tag-svg): Respect `shr-inhibit-images'.
11890 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11892 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
11894 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11895 (ruby-smie-grammar): Make "." right-associative. Make its priority
11896 lower than the ternary and all binary operators.
11897 (ruby-smie-rules): Indent "(" relative to the first non-"."
11898 parent, or the first "." parent at indentation.
11899 Use `ruby-align-chained-calls' for indentation of "." tokens.
11902 2014-01-31 Juri Linkov <juri@jurta.org>
11904 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11905 from `make-hash-table'.
11907 * textmodes/ispell.el (ispell-init-process): Change message format
11908 to be consistent with other messages.
11910 2014-01-31 Glenn Morris <rgm@gnu.org>
11912 * delsel.el (delete-selection-mode): Doc fix.
11914 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11915 (trace-function-background): Doc fixes.
11917 * ido.el (ido-use-virtual-buffers): Doc fix.
11918 Reset :version, since the default value has not changed.
11920 * register.el (register-preview-delay, register-read-with-preview):
11923 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11924 do not mess with mail-buffer position (fixes 2009-11-03 change).
11925 * progmodes/cc-mode.el (c-submit-bug-report):
11926 Check auto-fill-mode is bound. (Bug#16592)
11928 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
11930 * startup.el (fancy-splash-image-file): New function,
11931 split from fancy-splash-head.
11932 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11933 so that we are both using the same image. (Bug#16574)
11935 2014-01-30 Glenn Morris <rgm@gnu.org>
11937 * simple.el (eval-expression): Doc fix.
11939 * hexl.el (hexl-mode-hook):
11940 * ielm.el (ielm-mode-hook):
11941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11942 (lisp-interaction-mode-hook):
11943 * progmodes/cfengine.el (cfengine3-documentation-function):
11944 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11946 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11948 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11949 is a symbol (bug#16584).
11951 2014-01-30 Glenn Morris <rgm@gnu.org>
11953 * help.el (help-for-help-internal): Add "P" to text.
11955 2014-01-29 Glenn Morris <rgm@gnu.org>
11957 * simple.el (just-one-space, cycle-spacing): Doc fixes.
11959 2014-01-28 Martin Rudalics <rudalics@gmx.at>
11961 * window.el (fit-frame-to-buffer): Fix calculations for margins and
11962 height constraints.
11964 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
11966 * progmodes/hideif.el: Extend to full CPP expression syntax.
11967 (hif-token-alist): Add missing tokens.
11968 (hif-token-regexp): Add support for float/octal/hex immediates.
11969 (hif-string-literal-regexp): New const.
11970 (hif-tokenize): Recognize strings and float/octal/hex immediates.
11971 (hif-exprlist): New function.
11972 (hif-parse-if-exp): Use it.
11973 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
11974 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
11975 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
11976 (hif-logxor, hif-comma): New functions.
11978 2014-01-28 Glenn Morris <rgm@gnu.org>
11980 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
11982 * indent.el (tab-stop-list): Doc fix. Add :version.
11984 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
11985 (cvs-append-to-ignore): Add compatibility alias.
11987 2014-01-27 Glenn Morris <rgm@gnu.org>
11989 * dired.el (dired-hide-details-mode): Don't autoload it,
11990 since it cannot be used outside Dired buffers anyway.
11992 * emulation/cua-base.el (cua-mode): Doc fix.
11994 * dired.el (dired-hide-details-hide-symlink-targets)
11995 (dired-hide-details-hide-information-lines)
11996 (dired-hide-details-mode): Doc fixes.
11998 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
11999 * strokes.el (strokes-file): Doc fix. Bump :version.
12000 (strokes-help): Doc fix.
12001 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12002 * emulation/viper.el (viper): Doc fix for custom group.
12003 (top-level): Remove oh-so-no-longer-relevant text about vip.
12004 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12006 * ido.el (ido-save-directory-list-file):
12007 * saveplace.el (save-place-file):
12008 * calendar/timeclock.el (timeclock-file):
12009 * net/quickurl.el (quickurl-url-file):
12010 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12011 * progmodes/idlwave.el (idlwave-config-directory):
12012 * textmodes/remember.el (remember-data-file):
12015 2014-01-26 Glenn Morris <rgm@gnu.org>
12017 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12018 Doc fix. Make obsolete.
12019 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12021 * sort.el (delete-duplicate-lines): Doc fix.
12023 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12025 * progmodes/ada-mode.el (ada):
12026 * woman.el (woman): Link to info manual and Commentary section.
12028 * progmodes/flymake.el (flymake):
12029 * nxml/nxml-mode.el (nxml):
12030 * net/eww.el (eww):
12031 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12032 * htmlfontify.el (htmlfontify):
12035 * ido.el (ido): Link to info manual.
12037 2014-01-25 Leo Liu <sdl.web@gmail.com>
12039 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12041 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
12043 * net/shr.el (shr-tag-img): Prefer the title over the alt text
12046 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
12048 * net/eww.el (eww-download-callback):
12049 Fix reference to eww-download-directory.
12051 * emacs-lisp/bytecomp.el (byte-compile-file):
12052 Remove unused local variable `file-name'.
12054 2014-01-24 Glenn Morris <rgm@gnu.org>
12056 * woman.el (woman-default-faces, woman-monochrome-faces):
12057 Fix obsolescence specification.
12059 * subr.el (with-demoted-errors): Doc fix.
12061 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
12063 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
12064 (cl--macroexp-fboundp): New function.
12065 (cl--make-type-test): Use it.
12067 2014-01-23 Glenn Morris <rgm@gnu.org>
12069 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
12070 * simple.el (eval-expression): Doc fixes.
12072 2014-01-22 Glenn Morris <rgm@gnu.org>
12074 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
12076 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12078 * emacs-lisp/package.el: Write files silently.
12079 (package-autoload-ensure-default-file, package--write-file-no-coding)
12080 (package-generate-description-file, package--download-one-archive)
12081 (package-install-from-archive): Tell `write-region' to stay quiet.
12082 (package-menu-mode, package-menu--print-info): Omit the Archive column
12083 if there's only one archive.
12084 (package-all-keywords, package--has-keyword-p): Remove dead code.
12086 2014-01-22 Glenn Morris <rgm@gnu.org>
12088 * version.el (emacs-bzr-version-bzr): Fix typo.
12090 * version.el (emacs-repository-get-version):
12091 Check either .bzr or .git, but not both.
12092 Make the git case actually use the DIR argument, and return nil
12093 rather than the empty string.
12094 Avoid error if .git exists but the git executable is not found.
12096 2014-01-22 Martin Rudalics <rudalics@gmx.at>
12098 Fixes in window size functions around Bug#16430 and Bug#16470.
12099 * window.el (window-total-size, window-size): New argument ROUND.
12100 (window--min-delta-1, window-min-delta, window--max-delta-1):
12101 Be more conservative when calculating the numbers of lines or
12102 columns a window can shrink (Bug#16430).
12103 (fit-window-to-buffer): Simplify code.
12104 * term.el (term-window-width): Call window-body-width again.
12106 2014-01-22 Glenn Morris <rgm@gnu.org>
12108 * image.el (image-format-suffixes): Doc fix.
12110 * international/quail.el (quail-define-package): Doc fix.
12112 * emacs-lisp/authors.el (authors-valid-file-names)
12113 (authors-renamed-files-alist): Additions.
12115 * vc/vc-git.el (vc-git-print-log): Remove --follow;
12116 reverts 2014-01-09 change. (Bug#16422)
12118 * calc/calc-embed.el (thing-at-point-looking-at):
12119 * emacs-lisp/map-ynp.el (x-popup-dialog):
12120 * obsolete/lmenu.el (x-popup-dialog):
12121 * emacs-lisp/package.el (url-recreate-url):
12122 * mail/mailclient.el (clipboard-kill-ring-save):
12123 * subr.el (x-popup-dialog): Update declaration.
12124 * mail/rmail.el (rmail-mime-message-p):
12125 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
12127 2014-01-21 Daniel Colascione <dancol@dancol.org>
12129 * progmodes/sh-script.el (sh--inside-noncommand-expression):
12130 Correctly detect when we're inside an arithmetic expansion form
12131 containing nested parenthesis.
12132 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
12133 to detect cases where we shouldn't expand "<<" to a heredoc
12136 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
12138 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
12139 (eldoc--message-command-p): New function.
12140 (eldoc-display-message-p): Use it.
12141 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
12142 message is not automatically erased for us.
12143 (eldoc-print-current-symbol-info): Erase previous message, if any.
12145 2014-01-21 Tassilo Horn <tsdh@gnu.org>
12147 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
12148 specify it's an interactive function.
12150 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
12151 Fix regex used for scanning for citation keys which failed for
12152 citations with optional arguments.
12154 2014-01-21 Leo Liu <sdl.web@gmail.com>
12156 * simple.el (read--expression): Don't enable eldoc-mode.
12158 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * simple.el (move-beginning-of-line): Make sure we don't move forward
12163 2014-01-20 Juri Linkov <juri@jurta.org>
12165 * saveplace.el (toggle-save-place, save-place-to-alist)
12166 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
12167 'dired-mode) before checking for dired-directory. (Bug#16477)
12169 2014-01-20 Juri Linkov <juri@jurta.org>
12171 * indent.el (indent-line-to): Use backward-to-indentation
12172 instead of back-to-indentation. (Bug#16461)
12174 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
12176 Revert some of the CANNOT_DUMP fix (Bug#16494).
12177 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
12178 but fixing this can wait until after the next release.
12179 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
12181 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
12183 * eshell/esh-mode.el (eshell-password-prompt-regexp):
12184 Use `password-word-equivalents'.
12185 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
12186 to t. (Bug#5664, Bug#13124)
12188 2014-01-19 Alan Mackenzie <acm@muc.de>
12190 Bind open-paren-in-column-0-is-defun-start to nil at some entry
12192 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
12193 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
12194 * progmodes/cc-mode.el (c-before-change, c-after-change)
12195 (c-font-lock-fontify-region): Bind it here.
12197 2014-01-19 Martin Rudalics <rudalics@gmx.at>
12199 * term.el (term-window-width): Call window-text-width instead of
12200 window-width (Bug#16470).
12202 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
12204 * simple.el (password-word-equivalents): Remove duplicates.
12205 Sort, to make this easier next time.
12206 Downcase. Omit ": " after "jelszó".
12208 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
12210 * term/common-win.el (saved-region-selection): Defvar it.
12211 (x-select-text): Set saved-region-selection (Bug#16382).
12213 2014-01-18 Glenn Morris <rgm@gnu.org>
12215 * emacs-lisp/authors.el (authors-aliases)
12216 (authors-renamed-files-alist): Add some entries.
12218 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
12220 * net/tramp.el (tramp-password-prompt-regexp):
12221 Use `password-word-equivalents' if available.
12222 (tramp-action-password, tramp-process-one-action)
12223 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
12225 2014-01-17 Chong Yidong <cyd@gnu.org>
12227 * simple.el (password-word-equivalents): New defcustom.
12228 * comint.el (comint-password-prompt-regexp): Use it. Bump version
12230 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
12233 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
12235 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
12236 (ruby-align-to-stmt-keywords): Change the default value.
12237 Use `ruby-alignable-keywords' to generate the possible customization
12239 (ruby-smie-rules): Instead of using a hardcoded list of alignable
12240 keywords, check against the value of `ruby-alignable-keywords'
12241 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
12243 2014-01-17 Glenn Morris <rgm@gnu.org>
12245 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
12247 Make M-x authors return zero *Authors Errors* from current logs.
12248 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
12249 (authors-ignored-files): Add some entries, remove others.
12250 (authors-ambiguous-files, authors-valid-file-names):
12252 (authors-renamed-files-alist): Add, remove, and adjust entries.
12253 (authors-renamed-files-regexps): Add some entries.
12254 Remove some very broad ones. Make some entries `lax'.
12255 (authors-lax-changelogs): New constant.
12256 (authors-disambiguate-file-name): Treat top-level specially.
12257 (authors-lax-changelog-p): New function.
12258 (authors-canonical-file-name): Check file as written against
12259 authors-valid-file-names. Do not special-case etc/.
12260 Handle `lax' logs and authors-renamed-files-regexps elements.
12262 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
12264 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
12265 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
12268 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12270 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
12271 Assume we're already in the proper buffer.
12272 Inspired by Anders Lindgren <andlind@gmail.com>.
12273 (follow-post-command-hook): Call it from the right buffer.
12274 (follow-comint-scroll-to-bottom): Adjust call.
12275 (follow-all-followers): Use get-buffer-window-list.
12277 2014-01-15 Daniel Colascione <dancol@dancol.org>
12279 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
12280 `buffer-file-name' in interactive-form so that we don't leave
12281 pathless file names in `file-name-history'.
12283 2014-01-15 Juri Linkov <juri@jurta.org>
12285 * indent.el (indent-rigidly): Set deactivate-mark to nil
12286 in transient indentation mode. (Bug#16438)
12288 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
12290 * emacs-lisp/package.el (package-desc-keywords): New function
12292 (describe-package-1, package-all-keywords)
12293 (package--has-keyword-p): Use it.
12295 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12297 * simple.el (define-alternatives): When creating the
12298 COMMAND-alternatives variable, assign COMMAND as its definition
12299 name so that `describe-variable' can relocate it.
12301 2014-01-14 Matthew Leach <matthew@mattleach.net>
12303 * font-lock.el (font-lock-keywords): Fix typo in docstring
12306 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12308 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
12309 line instead of wrongly reset `add-coment' (bug#13577).
12311 2014-01-14 Daiki Ueno <ueno@gnu.org>
12313 * epa-file.el (epa-file-write-region): Encode the region according
12314 to `buffer-file-format'. Problem reported at:
12315 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
12317 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
12319 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
12320 so it applies in the right buffer (bug#16410).
12322 2014-01-13 Daniel Colascione <dancol@dancol.org>
12324 * textmodes/rst.el (rst-define-key): Provide deprecated
12325 keybindings through named functions instead of anonymous ones so
12326 that "??" doesn't appear in describe-mode output.
12328 2014-01-13 Bastien Guerry <bzg@gnu.org>
12330 * simple.el (define-alternatives): Call the selected command
12331 interactively. When setting `COMMAND--implementation' for the
12332 first time, tell the user how to chose another implementation.
12333 Enhance the docstring.
12335 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
12337 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
12338 (log-edit--match-first-line): New function.
12339 (log-edit-font-lock-keywords): Use it.
12340 (log-edit-mode): Make jit-lock-defer-multiline work.
12342 2014-01-13 Bastien Guerry <bzg@gnu.org>
12344 * rect.el (rectangle-mark-mode): When the region is not active,
12345 display a message saying that the mark as been set and that
12346 rectangle mode is in use.
12347 (rectangle--highlight-for-redisplay): Only put an overlay with a
12348 visible vertical bar when (display-graphic-p) is non-nil.
12349 This partially fixes Bug#16403.
12351 2014-01-13 Juri Linkov <juri@jurta.org>
12353 * info.el (Info-find-file): Go to DIR before displaying the error
12354 about a nonexistent file if no previous Info file is visited.
12355 Use `user-error' instead of `error' for "Info file %s does not exist".
12356 (Info-find-node-2): In case of a nonexistent node in unwind forms
12357 go to the Top node if there is no previous node to revert to.
12360 2014-01-13 Martin Rudalics <rudalics@gmx.at>
12362 fit-frame/window-to-buffer code fixes including one for Bug#14096.
12363 * window.el (fit-frame-to-buffer): Fix doc-string.
12364 Respect window-min-height/-width. Fit pixelwise when
12365 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
12366 when avoiding that frame goes partially off-screen.
12367 (fit-window-to-buffer): Respect window-min-height/-width
12370 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
12372 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
12373 after an empty line.
12375 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
12377 * net/shr.el (shr-render-region): Autoload.
12379 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
12381 * net/eww.el (eww-download-directory): Rename from
12382 `eww-download-path' (Bug#16419).
12384 2014-01-12 Leo Liu <sdl.web@gmail.com>
12386 * dired-x.el (dired-mode-map): Fix last change.
12388 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
12390 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
12393 * emacs-lisp/generic.el (generic--normalize-comments):
12394 Rename from generic--normalise-comments. All uses changed.
12395 * play/bubbles.el (bubbles--neighborhood-score)
12396 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
12397 (bubbles--neighborhood-available)
12398 (bubbles--update-neighborhood-score):
12399 Rename from names with 'neighbourhood'. All uses changed.
12401 2014-01-12 Leo Liu <sdl.web@gmail.com>
12403 Re-implement the feature of showing eldoc info after editing.
12404 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
12405 (eldoc-edit-message-commands): New function.
12406 (eldoc-print-after-edit): New variable.
12407 (eldoc-pre-command-refresh-echo-area): Emit message only by
12408 eldoc-message-commands.
12409 (eldoc-mode): Restrict eldoc-message-commands to editing commands
12410 if eldoc-print-after-edit is set. (Bug#16346)
12411 * simple.el (read--expression): Enable eldoc-mode.
12412 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
12414 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
12415 Eric S. Raymond <esr@thyrsus.com>
12417 * version.el (emacs-repository-get-version): Enhance so the
12418 function works correctly in either a Bazaar or Git repo.
12420 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
12422 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
12423 Goes with removal of the joke manpages from /etc.
12425 2014-01-10 Kenichi Handa <handa@gnu.org>
12427 * mail/rmail.el (rmail-get-coding-system):
12428 Check rmail-get-coding-function before "funcall"ing it.
12430 2014-01-10 Glenn Morris <rgm@gnu.org>
12432 * emacs-lisp/authors.el (authors-fixed-entries):
12433 Update for files that no longer exist.
12435 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
12437 * version.el (emacs-bzr-get-version): Restore compatibilty with
12440 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
12442 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
12445 2014-01-10 Eli Zaretskii <eliz@gnu.org>
12447 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
12449 2014-01-10 Chong Yidong <cyd@gnu.org>
12451 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
12453 2014-01-10 Anders Lindgren <andlind@gmail.com>
12455 * follow.el (follow-cache-command-list): Include right-char and
12458 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
12461 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
12462 * woman.el (woman-mark-horizontal-position):
12463 Rename from woman-mark-horizonal-position. Use changed.
12465 2014-01-10 Glenn Morris <rgm@gnu.org>
12467 * info.el (info-initialize): If running uninstalled, ensure our
12468 own info files are always found first, even if INFOPATH is set.
12470 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
12472 2014-01-09 David Engster <deng@randomsample.de>
12474 * emacs-lisp/eieio-custom.el:
12475 * emacs-lisp/eieio-opt.el: Set generated autoload file to
12476 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
12477 * emacs-lisp/eieio.el: Regenerate autoloads.
12479 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
12481 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
12482 following renames. (Bug#8756)
12484 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
12486 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
12488 (activate-mark): Add `no-tmm' argument.
12489 (set-mark, push-mark-command): Use it instead of running
12490 activate-mark-hook by hand.
12492 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
12494 In preparation for the move to git, sanitize out some
12495 Bazaar-specific names.
12497 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
12499 * version.el (emacs-bzr-version): Name changed to
12500 emacs-repository-version. Obsolete-variable alias made.
12501 * loadup.el: Follow through on this name change.
12502 * mail/emacsbug.el (report-emacs-bug): Factor out any
12503 assumption about the version control system in use.
12505 2014-01-08 David Engster <deng@randomsample.de>
12507 * help-fns.el (help-fns-describe-function-functions):
12508 New variable to call functions for augmenting help buffers.
12509 (describe-function-1): Remove explicit calls to
12510 `help-fns--compiler-macro', `help-fns--parent-mode' and
12511 `help-fns--obsolete'. Put them in above new variable instead, and
12512 call them through `run-hook-with-args'.
12513 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
12514 `eieio-describe-class'. Not meant for interactive use anymore,
12515 but to augment existing help buffers. Remove optional second
12516 argument. Create proper button for file location.
12517 Rewrite function to use `insert' instead of `princ' and `prin1' where
12519 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
12520 (eieio-method-def, eieio-class-def): Move further up.
12521 (describe-method, describe-generic, eieio-describe-method):
12523 (eieio-help-constructor, eieio-help-generic): Rename from
12524 `eieio-describe-constructor' and `eieio-describe-generic', resp.
12525 Rewrite to use `insert' in the current buffer and use proper help
12527 (eieio-help-find-method-definition)
12528 (eieio-help-find-class-definition): Also accept symbols as
12530 (eieio-help-mode-augmentation-maybee): Remove.
12531 (eieio-describe-class-sb): Use `describe-function'.
12532 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
12533 Add `eieio-help-generic' and `eieio-help-constructor'.
12535 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
12538 * language/china-util.el (hz-ascii-designation):
12539 Rename from hz-ascii-designnation.
12540 (hz-ascii-designation): Rename from hz-ascii-designnation.
12543 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
12548 2014-01-08 Bastien Guerry <bzg@gnu.org>
12550 * emacs-lisp/package.el (package-delete):
12551 Correctly delete the package from package-alist.
12553 2014-01-08 Daiki Ueno <ueno@gnu.org>
12555 * emacs-lisp/package.el (url-recreate-url): Declare.
12556 (url-http-target-url): Declare.
12557 (package-handle-response): Include requested URL in the error message.
12558 (package--check-signature): Don't re-signal errors from
12559 package--with-work-buffer. Suggested by Stefan Monnier.
12561 2014-01-07 Bastien Guerry <bzg@gnu.org>
12563 * minibuffer.el (completion--try-word-completion): When both a
12564 hyphen and a space are possible candidates for the character
12565 following a word, display both candidates. (Bug#15980)
12567 2014-01-07 Martin Rudalics <rudalics@gmx.at>
12569 * window.el (balance-windows-2): While rounding don't give a
12570 window more than the remainder. Bug#16351, bug#16383.
12572 2014-01-07 Glenn Morris <rgm@gnu.org>
12574 * menu-bar.el (menu-bar-help-extra-packages): Remove.
12575 (menu-bar-help-menu): Use view-external-packages instead.
12577 2014-01-07 Bastien Guerry <bzg@gnu.org>
12579 * emacs-lisp/package.el (package-delete): Also delete the package
12580 name from `package-alist', not its description only.
12582 2014-01-07 Glenn Morris <rgm@gnu.org>
12584 * help.el (view-external-packages):
12585 * menu-bar.el (menu-bar-help-extra-packages):
12586 Visit efaq.info rather than etc/MORE.STUFF.
12588 2014-01-07 Juri Linkov <juri@jurta.org>
12590 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
12591 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
12593 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
12594 that shadows RET. (Bug#16342)
12596 2014-01-07 Chong Yidong <cyd@gnu.org>
12598 * isearch.el (isearch-yank-char, isearch-yank-word)
12599 (isearch-yank-line): Doc fix.
12601 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12603 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
12604 * emacs-lisp/elint.el (elint-find-builtins):
12605 * emacs-lisp/eldoc.el (eldoc-symbol-function):
12606 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
12607 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
12608 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
12609 * apropos.el (apropos-safe-documentation):
12610 * subr.el (symbol-file): Remove redundant fboundp.
12611 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
12613 2014-01-06 Bastien Guerry <bzg@gnu.org>
12615 * hl-line.el (global-hl-line-overlay): Make a local variable.
12616 (global-hl-line-overlays): New variable to store all overlays.
12617 (global-hl-line-mode): Don't delete overlays from the current
12618 buffer when `global-hl-line-sticky-flag' is non-nil.
12619 (global-hl-line-highlight): Add new overlays to
12620 `global-hl-line-overlays'.
12621 (global-hl-line-unhighlight-all): New function to delete all
12622 overlays when turning off `global-hl-line-mode'.
12623 This fixes Bug#16183.
12625 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12627 * subr.el (set-transient-map): Fix nested case and docstring.
12629 2014-01-06 Tassilo Horn <tsdh@gnu.org>
12631 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
12634 2014-01-06 Daniel Colascione <dancol@dancol.org>
12636 Fix defun navigation in vc log view.
12638 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
12639 like `beginning-of-defun'.
12640 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
12641 log-view-end-of-defun to log-view-end-of-defun-1. Replace
12642 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
12643 (log-view-extract-comment): Call `log-view-current-entry' directly
12644 instead of relying on broken `log-view-beginning-of-defun' behavior.
12646 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
12649 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
12650 * emacs-lisp/debug.el (cancel-debug-on-entry):
12651 * epg.el (epg-error-to-string):
12652 * files.el (recover-file):
12653 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
12654 * mail/emacsbug.el (report-emacs-bug-hook):
12655 * mail/sendmail.el (mail-recover):
12656 * ses.el (ses-yank-resize):
12657 * term/ns-win.el (ns-print-buffer):
12658 Spelling fixes in diagnostics, mostly for "canceled" with one L.
12659 * epg.el (epg-key-capability-alist): Rename from misspelled version.
12661 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12663 2014-01-06 Leo Liu <sdl.web@gmail.com>
12665 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12666 to avoid shadowing global key. (Bug#16354)
12668 2014-01-06 Daniel Colascione <dancol@dancol.org>
12670 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12673 2014-01-05 Martin Rudalics <rudalics@gmx.at>
12675 * window.el (balance-windows): Add mising t to fix Bug#16351.
12677 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12679 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12681 (shr-insert): If we have a word that's longer than `shr-width',
12682 break after it anyway. Otherwise we'll do no breaking once we get
12685 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12687 * net/eww.el (eww): Support single/double quote for search.
12688 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12689 (eww-history-quit): Delete and use quit-window.
12690 (eww-history-kill): Delete, because it doesn't work well and
12692 (eww-history-mode-map): Delete some keys and add easy-menu.
12694 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
12696 Fix misspelling of 'chinese' in rx (Bug#16237).
12697 * emacs-lisp/rx.el (rx-categories): Correct spelling of
12700 Change subword regexps back to vars (Bug#16296).
12701 * progmodes/subword.el (subword-forward-regexp)
12702 (subword-backward-regexp): Change these back to variables.
12704 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12706 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12707 syntax-begin-function (bug#16247).
12709 2014-01-03 Chong Yidong <cyd@gnu.org>
12711 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12712 (advice--docstring): Delete variable.
12713 (advice--make-1): Leave the docstring empty.
12714 (advice-add): Use function-documentation for advised docstring.
12716 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12717 Ignore function-documentation property when getting documentation.
12718 (ad-activate-advised-definition): Use function-documentation
12719 generate the docstring.
12720 (ad-make-advised-definition): Don't call
12721 ad-make-advised-definition-docstring.
12722 (ad-make-advised-definition-docstring, ad-advised-definition-p):
12725 * progmodes/sql.el (sql-help): Use function-documentation instead
12726 of dynamic-docstring-function property. No need to autoload now.
12727 (sql--help-docstring): New variable.
12728 (sql--make-help-docstring): Use it.
12730 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12732 * ielm.el (ielm-tab): Retarget.
12733 (ielm-map): Use ielm-tab for tab.
12734 (ielm-complete-filename): Use comint-filename-completion.
12735 (ielm-complete-symbol): Remove.
12736 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12737 remove ielm-tab from completion-at-point-functions (bug#16224).
12739 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12740 Beware signals raised by predicates (bug#16201).
12742 2014-01-02 Richard Stallman <rms@gnu.org>
12744 * dired-aux.el (dired-do-print): Handle printer-name.
12746 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12747 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12748 (rmail-epa-decrypt): Turn off mime processing.
12750 * mail/rmail.el (rmail-make-in-reply-to-field):
12751 Add parens in message-id.
12753 * mail/rmail.el (rmail-get-coding-function): Variable.
12754 (rmail-get-coding-system): Use it.
12756 2013-12-31 Eli Zaretskii <eliz@gnu.org>
12758 * international/mule-conf.el: Unify the charset indian-is13194.
12759 (indian-is13194): Specify unify-map.
12761 2013-12-31 Leo Liu <sdl.web@gmail.com>
12763 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
12765 2013-12-30 Daniel Colascione <dancol@dancol.org>
12767 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12768 of printing a useless when we resume from sleep.
12770 * progmodes/sh-script.el
12771 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12772 in indentation code. (Bug#16233)
12774 2013-12-28 João Távora <joaotavora@gmail.com>
12776 * elec-pair.el (electric-pair-post-self-insert-function):
12777 Don't open extra newlines at beginning of buffer. (Bug#16272)
12779 2013-12-28 Eli Zaretskii <eliz@gnu.org>
12781 * frame.el (window-system-for-display): Don't allow to create a
12782 GUI frame from a -nw session on MS-Windows. (Bug#14739)
12784 2013-12-28 Glenn Morris <rgm@gnu.org>
12786 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12789 * apropos.el (apropos-match-face):
12790 * calculator.el (calculator-displayer):
12791 * dabbrev.el (dabbrev-search-these-buffers-only):
12792 * face-remap.el (buffer-face-mode-face):
12793 * simple.el (yank-handled-properties):
12794 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12795 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12796 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12797 (hashcash-double-spend-database):
12798 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12799 (ruby-deep-indent-paren-style):
12800 * textmodes/flyspell.el (flyspell-auto-correct-binding):
12801 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12802 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12803 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12804 Specify custom types.
12806 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12807 * bookmark.el (bookmark-bmenu-use-header-line):
12808 * doc-view.el (doc-view-scale-internally):
12809 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12810 * register.el (register-preview-delay):
12811 * net/shr.el (shr-bullet):
12812 * progmodes/cfengine.el (cfengine-cf-promises)
12813 (cfengine-parameters-indent):
12814 * progmodes/octave.el (inferior-octave-error-regexp-alist):
12815 * textmodes/reftex-vars.el (reftex-label-regexps):
12816 * vc/log-edit.el (log-edit-setup-add-author): Add version.
12818 * net/tls.el (tls-certtool-program): Fix default value.
12820 * desktop.el (desktop-restore-in-current-display):
12821 * newcomment.el (comment-empty-lines):
12822 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12823 (idlwave-pad-keyword):
12824 * progmodes/tcl.el (tcl-tab-always-indent):
12825 * textmodes/reftex-vars.el (reftex-index-default-tag):
12826 * elec-pair.el (electric-pair-skip-whitespace):
12827 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12829 * emacs-lisp/authors.el (authors-ignored-files)
12830 (authors-valid-file-names, authors-renamed-files-alist): Additions.
12832 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
12834 * shell.el (shell-dynamic-complete-command): Doc fix.
12835 (shell--command-completion-data): Shell completion now matches
12836 executable filenames from the current buffer's directory, on
12837 systems in which this behavior is the default (windows-nt, ms-dos).
12839 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12841 * net/shr.el (shr-insert): Don't infloop if the width is zero.
12843 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
12845 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12848 * electric.el: Move all electric-pair-* to elec-pair.el.
12849 * elec-pair.el: New file, split from electric.el.
12851 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12853 * net/shr.el (shr-find-fill-point): Don't try to fill if the
12854 indentation level is larger than the width, because that will
12856 (shr-insert): Fill repeatedly long texts, so that Japanese is
12857 formatted correctly (bug#16263).
12858 (shr-find-fill-point): Off by one error in comparison with the
12861 2013-12-26 João Távora <joaotavora@gmail.com>
12863 * electric.el (electric-pair-mode): More flexible engine for skip-
12864 and inhibit predicates, new options for pairing-related functionality.
12865 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12866 if that keeps or improves their balance in buffers.
12867 (electric-pair-delete-adjacent-pairs): Delete the pair when
12868 backspacing over adjacent matched delimiters.
12869 (electric-pair-open-extra-newline): Open extra newline when
12870 inserting newlines between adjacent matched delimiters.
12871 (electric--sort-post-self-insertion-hook):
12872 Sort post-self-insert-hook according to priority values when
12873 minor-modes are activated.
12874 * simple.el (newline-and-indent): Call newline with interactive
12876 (blink-paren-post-self-insert-function): Set priority to 100.
12877 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12878 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12879 comments. Locally set electric-pair-skip-whitespace to 'chomp and
12880 electric-pair-open-newline-between-pairs to nil.
12882 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
12884 * progmodes/python.el: Use lexical-binding.
12885 (python-nav-beginning-of-defun): Stop searching ASAP.
12887 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
12889 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12890 Fix interactive spec. Doc fix. (Bug#15754)
12892 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
12894 * emacs-lisp/byte-run.el (eval-when-compile):
12895 * progmodes/cc-defs.el (cc-eval-when-compile):
12896 Fix edebug spec (bug#16184).
12898 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12900 * net/shr.el (shr-visit-file): Remove debugging function.
12901 (shr-insert): Don't infloop if we can't find a good place to break
12902 the line (bug#16256).
12904 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12906 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12907 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
12908 python-nav-lisp-forward-sexp-safe.
12909 (python-nav--forward-sexp): New argument SAFE allows switching
12910 forward sexp movement behavior for parens.
12911 (python-nav-forward-sexp): Throw errors on unterminated parens
12913 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12914 (python-nav-backward-sexp-safe): New functions.
12915 (python-shell-buffer-substring):
12916 Use `python-nav-forward-sexp-safe'.
12918 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12920 * net/shr.el (shr-find-fill-point): Don't break lines before a
12922 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12923 (shr-find-fill-point): Remove the special checks for the quotation
12924 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12926 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12928 * net/eww.el (eww-form-textarea): Use a different face for
12929 textareas than text input since they have different keymaps
12932 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
12934 * progmodes/python.el (python-nav-beginning-of-statement):
12935 Speed up (Bug#15295).
12937 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12939 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12940 the window configuration.
12942 2013-12-24 Eli Zaretskii <eliz@gnu.org>
12944 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12945 we run on MS-Windows or MS-DOS.
12947 2013-12-24 Martin Rudalics <rudalics@gmx.at>
12949 * window.el (balance-windows-area): Call window-size instead of
12950 window-height and window-width. Bug#16241.
12952 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12954 * net/eww.el (eww-bookmark-quit): Remove.
12955 (eww-bookmark-browse): Restore the window configuration when you
12956 choose a bookmark (bug#16144).
12958 2013-12-24 Daniel Colascione <dancol@dancol.org>
12960 * icomplete.el: Remove redundant :group arguments to `defcustom'
12962 (icomplete-show-matches-on-no-input): New customizable variable.
12963 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
12964 we have something to show.
12965 (icomplete-exhibit): Compute completions even if we have no user input.
12967 2013-12-23 Daniel Colascione <dancol@dancol.org>
12969 * icomplete.el: Move `provide' to end of file.
12971 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
12973 * net/gnutls.el (gnutls-verify-error): Add version tag.
12975 2013-12-23 Chong Yidong <cyd@gnu.org>
12977 * subr.el (set-transient-map): Rename from
12978 set-temporary-overlay-map. Doc fix.
12980 * face-remap.el (text-scale-adjust):
12981 * indent.el (indent-rigidly):
12982 * kmacro.el (kmacro-call-macro):
12983 * minibuffer.el (minibuffer-force-complete):
12984 * repeat.el (repeat):
12985 * simple.el (universal-argument--mode):
12986 * calendar/todo-mode.el (todo-insert-item--next-param):
12987 * progmodes/f90.el (f90-abbrev-start): Callers changed.
12989 * indent.el (indent-rigidly): Use substitute-command-keys.
12991 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12993 * net/eww.el (eww-tag-select): Add text-property to jump to next
12995 (eww): Add non-supported ftp error.
12997 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
12999 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13000 comments. Handle electric indent after typing `?' and `!'.
13002 2013-12-22 Chong Yidong <cyd@gnu.org>
13004 * faces.el (face-spec-recalc): If the theme specs are not
13005 applicable to a frame, fall back on the defface spec.
13006 This prevents themes from obliterating faces on low-color terminals.
13008 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13010 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13011 after `{'. We need it after block openers, and it doesn't seem
13012 to hurt after hash openers.
13014 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13016 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13017 extracted from `ruby-smie-rules'.
13018 (ruby--electric-indent-chars): New variable.
13019 (ruby--electric-indent-p): New function.
13020 (ruby-mode): Use `electric-indent-functions' instead of
13021 `electric-indent-chars'.
13023 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13025 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13027 (ruby-smie-rules): Indent plus one level after `=>'.
13029 2013-12-21 Richard Stallman <rms@gnu.org>
13031 * simple.el (newline): Doc fix.
13033 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13035 * net/eww.el (eww-list-histories, eww-list-histories)
13036 (eww-history-browse, eww-history-quit, eww-history-kill)
13037 (eww-history-mode-map, eww-history-mode): New command and
13038 functions to list browser histories.
13039 (eww-form-text): Support text form with disabled
13040 and readonly attributes.
13041 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13043 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13045 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13046 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13047 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13048 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13050 (eww-bookmark-mode-map): Add menu.
13051 (eww-render, eww-mode): Use `setq-local'.
13052 (eww-tool-bar-map): New variable.
13053 (eww-mode): Set `tool-bar-map'.
13054 (eww-view-source): Check for `html-mode' with `fboundp'.
13056 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13058 * net/shr.el (shr--extract-best-source): Don't bug out on audio
13059 elements with text inside. Also remove debugging.
13061 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
13063 * cus-start.el (all): Add ns-use-srgb-colorspace.
13065 2013-12-21 Chong Yidong <cyd@gnu.org>
13067 * custom.el (custom-theme-recalc-face): Do nothing if the face is
13068 undefined. Thus, theme settings for undefined faces do not take
13069 effect until the faces are defined with defface, the same as with
13072 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13073 (face-spec-reset-face): Don't assign extra properties in temacs.
13074 (face-spec-recalc): Apply X resources too.
13076 2013-12-21 Chong Yidong <cyd@gnu.org>
13078 * faces.el (face-spec-set):
13079 * cus-face.el (custom-theme-set-faces, custom-set-faces):
13080 * custom.el (defface): Doc fixes (Bug#16203).
13082 * indent.el (indent-rigidly-map): Add docstring, and move commands
13083 into named functions.
13084 (indent-rigidly-left, indent-rigidly-right)
13085 (indent-rigidly-left-to-tab-stop)
13086 (indent-rigidly-right-to-tab-stop): New functions. Decide on
13087 indentation direction based on bidi direction, and accumulate
13088 sequential commands in a single undo boundary.
13089 (indent-rigidly--pop-undo): New utility function.
13091 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
13093 * faces.el (read-face-name): Require crm.el when using crm-separator.
13095 2013-12-20 Daniel Colascione <dancol@dancol.org>
13097 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
13098 so that we don't reflow comments into the shebang line.
13100 2013-12-20 Juri Linkov <juri@jurta.org>
13102 * saveplace.el (save-place-to-alist): Add `dired-filename' as
13103 a position when `dired-directory' is non-nil. Check integer
13104 positions with `integerp'.
13105 (toggle-save-place, save-places-to-alist): Add check for
13107 (save-place-find-file-hook): Check integer positions with
13109 (save-place-dired-hook): Use `dired-goto-file' when
13110 `dired-filename' is found in the assoc list. Check integer
13111 positions with `integerp'.
13112 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
13114 * dired.el (dired-initial-position-hook): Rename back from
13115 `dired-initial-point-hook'.
13116 (dired-initial-position): Rename `dired-initial-point-hook' to
13117 `dired-initial-position-hook'.
13118 (dired-file-name-at-point): Doc fix. (Bug#15329)
13120 2013-12-20 Juri Linkov <juri@jurta.org>
13122 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
13123 (read-regexp-suggestions): New function.
13124 (read-regexp): Use `read-regexp-defaults-function' to get default values.
13125 Use `read-regexp-suggestions'. Add non-empty default to history
13127 (occur-read-regexp-defaults-function): Remove function.
13128 (occur-read-primary-args): Use `regexp-history-last' instead of
13129 `occur-read-regexp-defaults-function'.
13131 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13132 (hi-lock-line-face-buffer, hi-lock-face-buffer)
13133 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
13134 `hi-lock-read-regexp-defaults-function'. Doc fix.
13135 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
13136 with `find-tag-default-as-symbol-regexp'. Doc fix.
13137 (hi-lock-read-regexp-defaults): Remove function.
13138 (hi-lock-regexp-okay): Add check for null.
13140 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
13141 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
13143 * subr.el (find-tag-default-as-symbol-regexp): New function.
13144 (find-tag-default-as-regexp): Move symbol regexp formatting to
13145 `find-tag-default-as-symbol-regexp'.
13147 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
13149 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
13152 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13154 * calendar/todo-mode.el: New implementation of item insertion
13155 commands and key bindings.
13156 (todo-key-prompt): New face.
13157 (todo-insert-item): New command.
13158 (todo-insert-item--parameters): New defconst, replacing defvar
13159 todo-insertion-commands-args-genlist.
13160 (todo-insert-item--param-key-alist): New defconst, replacing
13161 defvar todo-insertion-commands-arg-key-list.
13162 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
13163 (todo-insert-item--argsleft, todo-insert-item--apply-args)
13164 (todo-insert-item--next-param): New functions.
13165 (todo-insert-item--args, todo-insert-item--argleft)
13166 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
13168 (todo-key-bindings-t): Change binding of "i" from
13169 todo-insertion-map to todo-insert-item.
13170 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
13171 (todo-insertion-command-name, todo-insertion-commands-names)
13172 (todo-define-insertion-command, todo-insertion-commands)
13173 (todo-insertion-key-bindings, todo-insertion-map): Remove.
13175 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13177 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
13178 (todo-toggle-item-highlighting): Use eval-and-compile instead of
13180 (todo-move-category): Allow choosing a non-existing todo file to
13181 move the category to, and create that file.
13182 (todo-default-priority): New user option.
13183 (todo-set-item-priority): Use it.
13184 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
13185 (desktop-restore-file-buffer): Declare.
13186 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
13187 (todo-modes-set-2): Locally set desktop-save-buffer to
13188 todo-desktop-save-buffer.
13189 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
13190 (auto-mode-alist): Add autoload cookie.
13192 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
13194 * emacs-lisp/subr-x.el: Renamed from helpers.el.
13195 helpers.el was a poor choice of name.
13196 (string-remove-prefix): New function.
13197 (string-remove-suffix): New function.
13199 2013-12-20 Martin Rudalics <rudalics@gmx.at>
13201 Fix assignment for new window total sizes.
13202 * window.el (window--pixel-to-size): Remove function.
13203 (window--pixel-to-total-1, window--pixel-to-total):
13204 Fix calculation of new total sizes.
13206 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
13208 * comint.el (comint-output-filter): Fix rear-nonsticky property
13209 placement (Bug#16010).
13211 2013-12-20 Chong Yidong <cyd@gnu.org>
13213 * faces.el (read-color): Minor fix for completion function.
13215 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
13217 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
13218 New option. (Bug#16182)
13219 (ruby-smie--indent-to-stmt-p): Use it.
13220 (ruby-smie-rules): Revert the logic in the handling of `when'.
13221 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
13222 (ruby-deep-arglist, ruby-deep-indent-paren)
13223 (ruby-deep-indent-paren-style): Update docstrings to note that the
13224 vars don't have any effect with SMIE.
13226 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
13228 * calc/calc.el (calc-enter, calc-pop): Use the variable
13229 `calc-context-sensitive-enter'.
13231 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13233 * net/shr.el (shr-insert): Protect against infloops in degenerate
13236 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13238 * progmodes/octave.el (octave): Add link to manual and octave
13240 (octave-mode-menu): Link to octave-mode manual.
13242 2013-12-20 Leo Liu <sdl.web@gmail.com>
13244 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
13245 insertion using skeleton-end-newline. (Bug#16138)
13247 2013-12-20 Juri Linkov <juri@jurta.org>
13249 * replace.el (occur-engine): Use `add-face-text-property'
13250 to add the face property to matches and titles. (Bug#14645)
13252 * hi-lock.el (hi-green): Use lighter color "light green" closer to
13253 the palette of other hi-lock colors.
13254 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
13256 2013-12-19 Juri Linkov <juri@jurta.org>
13258 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
13259 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
13260 (minibuffer-history-symbol): Move variable declaration closer to
13263 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
13266 2013-12-19 Juri Linkov <juri@jurta.org>
13268 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
13270 (log-edit-hook): Add it to :options. (Bug#16170)
13272 2013-12-19 Juri Linkov <juri@jurta.org>
13274 * simple.el (eval-expression-print-format): Don't check for
13275 command names and the last command. Always display additional
13276 formats of the integer result in the echo area, and insert them
13277 to the current buffer only with a zero prefix arg.
13278 Display character when char-displayable-p is non-nil.
13279 (eval-expression): With a zero prefix arg, set `print-length' and
13280 `print-level' to nil, and insert the integer values from
13281 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
13283 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
13284 `eval-last-sexp-arg-internal'. Doc fix.
13285 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
13286 `eval-last-sexp-print-value'. Doc fix.
13287 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
13288 Set `print-length' and `print-level' to nil when arg is zero.
13289 (eval-last-sexp): Doc fix.
13290 (eval-defun-2): Print the integer values from
13291 `eval-expression-print-format' at the end.
13293 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
13294 values from `eval-expression-print-format' at the end.
13296 * ielm.el (ielm-eval-input): Print the integer
13297 values from `eval-expression-print-format' at the end.
13299 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
13301 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
13302 2013-12-11T19:01:44Z!tzz@lifelogs.com.
13304 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
13306 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
13307 (hl-line-highlight, global-hl-line-highlight): Use it.
13308 (hl-line-overlay): Use defvar-local.
13310 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
13312 * term/ns-win.el: Require dnd.
13313 (global-map): Remove drag items.
13314 (ns-insert-text, ns-set-foreground-at-mouse)
13315 (ns-set-background-at-mouse):
13316 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
13317 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
13320 2013-12-19 Glenn Morris <rgm@gnu.org>
13322 * emacs-lisp/ert.el (ert-select-tests):
13323 Fix string/symbol mixup. (Bug#16121)
13325 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13327 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
13328 keywords to their parent.
13330 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13332 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
13333 first arg to be a string (fixed dead code), or an operator symbol.
13334 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
13336 (ruby-smie-rules): Remove parent token check in the `.' clause, it
13337 did nothing. Don't respond to `(:after ".")', it will be called
13338 with :before anyway. Remove the ` @ ' rule, it didn't seem to
13339 change anything. Only return indentation for binary operators
13340 when they are hanging. De-dent opening paren when its parent is
13341 `.', otherwise it looks bad when the dot is not at bol or eol
13344 2013-12-19 Juri Linkov <juri@jurta.org>
13346 * replace.el (query-replace-read-args): Split a non-negative arg
13347 and a negative arg into separate elements.
13348 (query-replace, query-replace-regexp, replace-string)
13349 (replace-regexp): Add arg `backward'. Doc fix.
13350 (replace-match-maybe-edit): When new arg `backward' is non-nil,
13351 move point to the beginning of the match.
13352 (replace-search, replace-highlight): Use new arg `backward'
13353 to set the value of `isearch-forward'.
13354 (perform-replace): Add arg `backward' and use it to perform
13355 replacement backward. (Bug#14979)
13357 * isearch.el (isearch-query-replace): Use a negative prefix arg
13358 to call `perform-replace' with a non-nil arg `backward'.
13360 2013-12-18 Juri Linkov <juri@jurta.org>
13362 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
13363 to the default list. Move `log-edit-show-files' to the end.
13364 Add more available functions to options.
13365 (log-edit): Move default specific settings to
13366 `log-edit-insert-message-template'. Don't move point.
13367 (log-edit-insert-message-template): New function.
13368 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
13371 2013-12-18 Juri Linkov <juri@jurta.org>
13373 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
13374 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
13376 2013-12-18 Leo Liu <sdl.web@gmail.com>
13378 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
13381 2013-12-18 Eli Zaretskii <eliz@gnu.org>
13383 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
13384 formats for displaying file sizes when the -s switch is given.
13385 Instead, compute a separate format for displaying the size in
13386 blocks, which is displayed in addition to the "regular" size.
13387 When -h is given in addition to -s, produce size in blocks in
13388 human-readable form as well. (Bug#16179)
13390 2013-12-18 Tassilo Horn <tsdh@gnu.org>
13392 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
13393 Reference tables with ~\ref{...} instead of only \ref{...}.
13395 2013-12-18 Chong Yidong <cyd@gnu.org>
13397 * cus-edit.el (custom-magic-alist): Fix "themed" description
13400 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
13401 is non-nil, do not create a new entry in the symbol's theme-value
13402 or theme-face property; update theme-settings only (Bug#14664).
13403 (custom-available-themes): Doc fix.
13405 * cus-theme.el (custom-new-theme-mode-map): Add bindings
13408 * replace.el (occur-engine): Avoid infloop (Bug#7593).
13410 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
13412 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
13415 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13417 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
13419 2013-12-18 Glenn Morris <rgm@gnu.org>
13421 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
13422 * cus-start.el (load-prefer-newer): New option.
13424 2013-12-18 Le Wang <l26wang@gmail.com>
13426 * comint.el (comint-previous-matching-input-from-input):
13427 Retain point (Bug#13404).
13429 2013-12-18 Chong Yidong <cyd@gnu.org>
13431 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
13433 2013-12-18 Glenn Morris <rgm@gnu.org>
13435 * mail/emacsbug.el (report-emacs-bug):
13436 Only mention enable-multibyte-characters if non-standard.
13438 2013-12-17 Juri Linkov <juri@jurta.org>
13440 * arc-mode.el (archive-extract-by-file): Check if directory exists
13441 before deletion to not show irrelevant errors if it doesn't exist.
13443 2013-12-17 Juri Linkov <juri@jurta.org>
13445 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
13448 * net/eww.el (browse-web): Add alias to `eww'.
13449 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
13450 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
13452 * net/browse-url.el (browse-url-browser-function): Move `eww'
13453 closer to similar functions.
13455 * startup.el (fancy-startup-screen, fancy-about-screen):
13456 Set browse-url-browser-function to eww-browse-url locally.
13459 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13461 * window.el (window--pixel-to-total): Remove unused `mini' var.
13462 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
13463 (split-window): Remove unused `new' var.
13464 (window--display-buffer): Remove unused `frame' and `delta' vars.
13465 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
13466 and display-width'.
13468 2013-12-17 Martin Rudalics <rudalics@gmx.at>
13470 * dired.el (dired-mark-pop-up):
13471 * register.el (register-preview): Don't bind
13472 split-height-threshold here since it's now done in
13473 display-buffer-below-selected.
13475 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
13477 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
13478 xterm-rgb-convert-to-16bit.
13479 (rxvt-register-default-colors): Standardize with
13480 xterm-register-default-colors (Bug#14078).
13482 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
13484 * simple.el (kill-region): Pass mark first, then point, so that
13485 kill-append works right (Bug#12819).
13486 (copy-region-as-kill, kill-ring-save): Likewise.
13488 2013-12-17 Leo Liu <sdl.web@gmail.com>
13490 * net/rcirc.el (rcirc-add-face):
13491 * eshell/em-prompt.el (eshell-emit-prompt):
13492 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
13495 2013-12-17 Chong Yidong <cyd@gnu.org>
13497 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
13498 Suggested by Xue Fuqiao.
13500 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
13502 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
13504 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13506 * net/shr.el (shr-insert-document): Remove unused var
13507 `shr-preliminary-table-render'.
13508 (shr-rescale-image): Remove unused arg `force'.
13509 (shr-put-image): Update calls accordingly.
13510 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
13512 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
13514 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
13515 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
13516 :close-all, to see which indentation method to use (Bug#16116).
13517 (smie-rules-function): Document the method :close-all.
13519 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13521 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
13523 * net/eww.el (eww-display-html): If we can't find the anchor we're
13524 looking for, then go to point-min.
13526 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
13528 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
13529 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
13530 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
13531 Expand dir too, in case it's relative.
13533 2013-12-16 Juri Linkov <juri@jurta.org>
13535 * desktop.el (desktop-auto-save-timeout): Change default to
13536 `auto-save-timeout'. Doc fix.
13537 (desktop-save): Skip the timestamp in desktop-saved-frameset
13538 when checking for auto-save changes.
13539 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
13540 `desktop-auto-save' is called repeatedly by the idle timer.
13541 (desktop-auto-save-set-timer): Replace `run-with-timer' with
13542 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
13545 2013-12-16 Juri Linkov <juri@jurta.org>
13547 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
13549 (isearch-pre-command-hook): Check `this-command' for symbolp.
13551 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13553 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
13555 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
13557 * progmodes/cfengine.el (cfengine3--current-word): Remove.
13558 (cfengine3--current-function): Bring in the current-function
13559 functionality from `cfengine3--current-word'.
13560 (cfengine3-completion-function): Bring in the
13561 bounds-of-current-word functionality from
13562 `cfengine3--current-word'.
13564 2013-12-16 Martin Rudalics <rudalics@gmx.at>
13566 * window.el (display-buffer-below-selected):
13567 Bind split-height-threshold to 0 as suggested by Juri Linkov.
13569 2013-12-16 Leo Liu <sdl.web@gmail.com>
13571 * progmodes/compile.el (compile-goto-error): Do not push-mark.
13572 Remove NOMSG arg and all uses changed.
13574 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13576 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
13577 (cua--deactivate-rectangle): Don't deactivate the mark.
13578 (cua-set-rectangle-mark): Don't set mark-active since
13579 cua--activate-rectangle already does it for us.
13580 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13581 non-rectangular region.
13583 * emulation/cua-base.el (cua-repeat-replace-region):
13584 Use with-current-buffer.
13586 * net/gnutls.el: Use cl-lib.
13587 (gnutls-negotiate): `mapcan' -> cl-mapcan.
13589 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13591 * emacs-lisp/package.el (package-built-in-p): Support both
13592 built-in and the package.el converted package descriptions.
13593 (package-show-package-list): Allow keywords.
13594 (package-keyword-button-action): Use it instead of
13595 `finder-list-matches'.
13596 (package-menu-filter-interactive): Interactive filtering (by
13598 (package-menu--generate): Support keywords and change keymappings
13599 and headers when they are given.
13600 (package--has-keyword-p): Helper function.
13601 (package-menu--refresh): Use it.
13602 (package--mapc): Helper function.
13603 (package-all-keywords): Use it.
13604 (package-menu-mode-map): Set up menu items and keybindings to
13605 provide a filtering UI.
13607 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13609 * net/gnutls.el (gnutls-verify-error): New defcustom to control
13610 the behavior when a certificate fails validation. Defaults to
13611 old behavior: never abort, just warn.
13612 (gnutls-negotiate): Use it.
13614 2013-12-14 Martin Rudalics <rudalics@gmx.at>
13616 * window.el (display-buffer-below-selected): Never split window
13617 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
13619 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
13621 * emacs-lisp/package.el (package--prepare-dependencies): New function.
13622 (package-buffer-info): Use it (bug#15108).
13624 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
13626 * icomplete.el (icomplete-completions): Make sure the prefix is already
13627 displayed elsewhere before hiding it (bug#16219).
13629 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
13631 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
13632 open-paren tokens when preceded by a open-paren, too.
13633 (ruby-smie-rules): Handle virtual indentation after open-paren
13634 tokens specially. If there is code between it and eol, return the
13635 column where is starts (Bug#16118).
13637 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13639 * progmodes/cfengine.el: Fix `add-hook' doc.
13640 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
13641 (cfengine3--current-word): Fix parameters.
13642 (cfengine3-make-syntax-cache): Simplify further.
13643 (cfengine3-completion-function, cfengine3--current-function):
13644 Use `assq' for symbols.
13645 (cfengine3--current-function): Fix `cfengine3--current-word' call.
13647 2013-12-13 Glenn Morris <rgm@gnu.org>
13649 * loadup.el (load-path): Warn if site-load or site-init changes it.
13650 No more need to reset it when bootstrapping.
13652 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13654 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
13655 locations for cf-promises.
13656 (cfengine-mode-syntax-functions-regex): New caching variable.
13657 (cfengine3-fallback-syntax): Fallback syntax for cases where
13658 cf-promises doesn't run.
13659 (cfengine3--current-word): Reimplement using
13660 `cfengine-mode-syntax-functions-regex'.
13661 (cfengine3-completion-function, cfengine3--current-function):
13662 Use `cfengine3-make-syntax-cache' directly.
13663 (cfengine3-clear-syntax-cache): New function.
13664 (cfengine3-make-syntax-cache): Simplify and create
13665 `cfengine-mode-syntax-functions-regex' on demand.
13666 (cfengine3-format-function-docstring): Don't call
13667 `cfengine3-make-syntax-cache' explicitly.
13669 2013-12-13 Martin Rudalics <rudalics@gmx.at>
13671 Fix windmove-find-other-window broken after pixelwise resizing
13673 * windmove.el (windmove-other-window-loc): Revert change from
13675 (windmove-find-other-window): Call window-in-direction.
13676 * window.el (window-in-direction): New arguments SIGN, WRAP and
13677 MINI to emulate original windmove-find-other-window behavior.
13679 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
13681 * simple.el (blink-matching--overlay): New variable.
13682 (blink-matching-open): Instead of moving point, highlight the
13683 matching paren with an overlay
13684 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13686 * faces.el (paren-showing-faces, show-paren-match)
13687 (show-paren-mismatch): Move from paren.el.
13689 2013-12-13 Leo Liu <sdl.web@gmail.com>
13691 * indent.el (indent-region): Disable progress reporter in
13692 minibuffer. (Bug#16108)
13694 * bindings.el (visual-order-cursor-movement): Fix version.
13696 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13698 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13699 Also match after beginning of line.
13700 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13701 files. Thanks to Russell Sim. (Bug#15378)
13703 2013-12-13 Juri Linkov <juri@jurta.org>
13705 * simple.el <Keypad support>: Remove key bindings duplicated
13706 with bindings.el. (Bug#14397)
13708 2013-12-13 Juri Linkov <juri@jurta.org>
13710 * comint.el (comint-mode-map): Replace `delete-char' with
13711 `delete-forward-char'. (Bug#16109)
13713 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13715 * progmodes/python.el (python-indent-calculate-indentation):
13716 Fix de-denters cornercase. (Bug#15731)
13718 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13720 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13721 (advice--make): Pay attention to `depth'.
13722 (advice--make-1): Don't autoload commands eagerly.
13723 * emacs-lisp/elp.el (elp-instrument-function):
13724 * emacs-lisp/trace.el (trace-function-internal):
13725 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13727 * iswitchb.el (iswitchb-mode): Don't belittle ido.
13729 2013-12-12 Eli Zaretskii <eliz@gnu.org>
13731 * term/w32-win.el (w32-handle-dropped-file):
13732 * startup.el (normal-top-level):
13733 * net/browse-url.el (browse-url-file-url):
13734 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13735 decode file names using 'utf-8' rather than
13736 file-name-coding-system.
13738 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13740 * progmodes/python.el (python-indent-context)
13741 (python-indent-calculate-indentation): Fix auto-identation
13742 behavior for comment blocks. (Bug#15916)
13744 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13746 * progmodes/python.el (python-indent-calculate-indentation):
13747 When determining indentation, don't treat "return", "pass", etc., as
13748 operators when they are just string constituents. (Bug#15812)
13750 2013-12-12 Juri Linkov <juri@jurta.org>
13752 * uniquify.el (uniquify-buffer-name-style): Change default to
13753 `post-forward-angle-brackets'.
13755 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13756 `uniquify'. Change default to `post-forward-angle-brackets'.
13758 2013-12-11 Glenn Morris <rgm@gnu.org>
13760 * emacs-lisp/package.el (finder-list-matches):
13761 Autoload rather than falsely declaring.
13763 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
13765 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13766 (eww-mode-map): Use them.
13768 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13770 * window.el (display-buffer-in-side-window): Fix doc-string
13773 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13775 * vc/vc-git.el: Silence byte-compiler warnings.
13776 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13777 (log-edit-set-header): Declare.
13779 2013-12-11 Eli Zaretskii <eliz@gnu.org>
13781 * Makefile.in (custom-deps, finder-data): Run output file names
13782 through unmsys--file-name. (Bug#16099)
13784 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
13786 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13787 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13789 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13790 instead of deleting the selection "by hand" (bug#16098).
13791 Rely on insert-for-yank to yank rectangles.
13792 (cua-highlight-region-shift-only): Mark obsolete.
13793 (cua-mode): Don't enable/disable transient-mark-mode,
13794 shift-select-mode (cua-mode works both with and without them), and
13795 pc-selection-mode (obsolete).
13796 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13797 (cua--deactivate-rectangle): Deactivate it.
13799 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13800 (delete-selection-helper): Make sure yank starts at the top of the
13802 (minibuffer-keyboard-quit): Use region-active-p.
13804 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13806 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13807 to `delete' (bug#16109).
13809 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13811 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13812 info manual and show keybindings and set `:group' keyword.
13814 2013-12-11 Juri Linkov <juri@jurta.org>
13816 * delsel.el (delete-active-region): Let-bind `this-command'
13817 to prevent `kill-region' from changing its original value.
13818 (delete-selection-helper): Handle `overwrite-mode' for the type
13819 `kill' exactly the same way as for the type `t'.
13820 (insert-char, quoted-insert, reindent-then-newline-and-indent):
13821 Support more commands. (Bug#13312)
13823 2013-12-11 Juri Linkov <juri@jurta.org>
13825 * bindings.el: Map kp keys to non-kp keys systematically
13826 with basic modifiers control, meta and shift. (Bug#14397)
13828 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13830 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13831 "Close browser" menu items. Fix wrong function of "List
13834 2013-12-11 Juri Linkov <juri@jurta.org>
13836 * misearch.el (multi-isearch-buffers): Set the value of
13837 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13838 arg of isearch-forward to t.
13839 (multi-isearch-buffers-regexp): Set the value of
13840 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13841 arg of isearch-forward-regexp to t.
13842 (multi-isearch-files): Set the value of
13843 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13844 arg of isearch-forward to t.
13845 (multi-isearch-files-regexp): Set the value of
13846 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13847 arg of isearch-forward-regexp to t. (Bug#16035)
13849 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13850 arg of isearch-forward to t.
13851 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13852 arg of isearch-forward-regexp to t.
13853 (dired-isearch-filter-filenames): Remove unnecessary check for
13854 `dired-isearch-filenames'.
13856 * comint.el (comint-history-isearch-backward):
13857 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13858 (comint-history-isearch-backward-regexp):
13859 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13861 2013-12-10 Eli Zaretskii <eliz@gnu.org>
13863 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13864 unmsys--file-name. (Bug#16099)
13866 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
13868 * emacs-lisp/package.el (package-keyword-button-action):
13869 Remove finder.el require dependency.
13871 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
13873 * emacs-lisp/package.el: Require finder.el.
13874 (describe-package-1): Add keyword buttons.
13875 (package-make-button): New convenience function.
13876 (package-keyword-button-action): Keyword button action using
13877 `finder-list-matches'.
13879 2013-12-09 Eli Zaretskii <eliz@gnu.org>
13881 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13884 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
13886 * autorevert.el (auto-revert-notify-add-watch): Do not handle
13889 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13891 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13892 after the end of a percent literal.
13894 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
13896 * progmodes/ruby-mode.el (ruby-forward-string): Document.
13897 Handle caret-delimited strings (Bug#16079).
13899 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13901 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13902 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13903 `ruby-parse-partial' (Bug#16078).
13905 2013-12-09 Leo Liu <sdl.web@gmail.com>
13907 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
13909 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
13911 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13912 (js-switch-indent-offset): New option.
13913 (js--proper-indentation): Use it. And handle the case when
13914 "default" is actually a key in an object literal.
13915 (js--same-line): New function.
13916 (js--multi-line-declaration-indentation): Use it.
13917 (js--indent-in-array-comp, js--array-comp-indentation):
13919 (js--proper-indentation): Use them, to handle array comprehension
13922 2013-12-08 Leo Liu <sdl.web@gmail.com>
13924 * progmodes/flymake.el (flymake-highlight-line): Re-write.
13925 (flymake-make-overlay): Remove arg MOUSE-FACE.
13926 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13928 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13930 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13932 (redisplay-highlight-region-function): Use it.
13934 * emulation/cua-base.el (cua--explicit-region-start)
13935 (cua--last-region-shifted): Remove.
13936 (cua--deactivate): Use deactivate-mark.
13937 (cua--pre-command-handler-1): Don't handle shift-selection.
13938 (cua--post-command-handler-1): Don't change transient-mark-mode.
13939 (cua--select-keymaps): Use region-active-p rather than
13940 cua--explicit-region-start or cua--last-region-shifted.
13941 (cua-mode): Enable shift-select-mode.
13943 2013-12-08 Leo Liu <sdl.web@gmail.com>
13945 * progmodes/flymake.el (flymake-popup-current-error-menu):
13946 Rename from flymake-display-err-menu-for-current-line. Reimplement.
13947 (flymake-posn-at-point-as-event, flymake-popup-menu)
13948 (flymake-make-emacs-menu): Remove. (Bug#16077)
13950 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13952 * rect.el (rectangle-mark-mode): Activate mark even if
13953 transient-mark-mode is off (bug#16066).
13954 (rectangle--highlight-for-redisplay): Fix boundary condition when point
13955 is > mark and at bolp.
13957 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
13958 (region-extract-function): Use it.
13959 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
13960 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
13962 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
13963 kill-ring-save, kill-region, delete-char, delete-forward-char.
13964 Ignore self-insert-iso.
13966 * emulation/cua-gmrk.el (cua--init-global-mark):
13967 Ignore `self-insert-iso'.
13969 * emulation/cua-base.el (cua--prefix-copy-handler)
13970 (cua--prefix-cut-handler): Rely on region-extract-function rather than
13971 checking cua--rectangle.
13972 (cua-delete-region): Use region-extract-function.
13973 (cua-replace-region): Delete function.
13974 (cua-copy-region, cua-cut-region): Obey region-extract-function.
13975 (cua--pre-command-handler-1): Don't do the delete-selection thing.
13976 (cua--self-insert-char-p): Ignore `self-insert-iso'.
13977 (cua--init-keymaps): Don't remap delete-selection commands.
13978 (cua-mode): Use delete-selection-mode instead of rolling our own
13981 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
13982 Obey region-extract-function.
13984 Make registers and delete-selection-mode work on rectangles.
13985 * register.el (describe-register-1): Don't modify the register's value.
13986 (copy-to-register): Obey region-extract-function.
13987 * delsel.el (delete-active-region): Obey region-extract-function.
13989 2013-12-08 Leo Liu <sdl.web@gmail.com>
13991 * progmodes/flymake.el (flymake, flymake-error-bitmap)
13992 (flymake-warning-bitmap, flymake-fringe-indicator-position)
13993 (flymake-compilation-prevents-syntax-check)
13994 (flymake-start-syntax-check-on-newline)
13995 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
13996 (flymake-start-syntax-check-on-find-file, flymake-log-level)
13997 (flymake-xml-program, flymake-master-file-dirs)
13998 (flymake-master-file-count-limit)
13999 (flymake-allowed-file-name-masks): Relocate.
14000 (flymake-makehash, flymake-float-time)
14001 (flymake-replace-regexp-in-string, flymake-split-string)
14002 (flymake-get-temp-dir): Remove.
14003 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14004 (flymake-current-row, flymake-selected-frame)
14005 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14006 related functions. (Bug#16077)
14008 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
14010 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14012 2013-12-07 Tassilo Horn <tsdh@gnu.org>
14014 * help-fns.el (describe-function-1): Use new advice-* functions
14015 rather than old ad-* functions. Fix function type description and
14016 source links for advised functions and subrs.
14018 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14020 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14022 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
14024 * progmodes/compile.el (compilation-start):
14025 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14027 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14028 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
14030 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14032 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14033 Touch up the last change.
14035 2013-12-06 Leo Liu <sdl.web@gmail.com>
14037 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14038 (inferior-octave-startup): Always use "octave> " for prompt.
14039 (octave-goto-function-definition)
14040 (octave-sync-function-file-names)
14041 (octave-find-definition-default-filename): Remove redundant backquotes.
14043 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14045 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14047 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14048 where appropriate already.
14049 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14050 end of method names (Bug#15874).
14052 2013-12-06 Juri Linkov <juri@jurta.org>
14054 * isearch.el (isearch--saved-overriding-local-map):
14055 New internal variable.
14056 (isearch-mode): Set it to the initial value of
14057 `overriding-terminal-local-map'.
14058 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
14059 with `isearch--saved-overriding-local-map'. (Bug#16035)
14061 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14063 * progmodes/octave.el (inferior-octave-completion-table):
14064 Turn back into function, use `completion-table-with-cache'
14065 (Bug#11906). Update all references.
14067 * minibuffer.el (completion-table-with-cache): New function.
14069 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
14071 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
14073 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
14075 * net/eww.el (eww-current-source): New variable to store page
14077 (eww-display-html, eww-mode, eww-save-history)
14078 (eww-restore-history): Use it.
14079 (eww-view-source): New command to view page source.
14080 Opportunistically uses `html-mode' to highlight the buffer.
14081 (eww-mode-map): Install it.
14083 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
14085 * net/dbus.el (dbus-unregister-service)
14086 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
14088 (dbus-unregister-service): Skip :serial entries in
14089 `dbus-registered-objects-table'.
14090 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
14092 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
14094 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
14095 around keywords with extra `split-string' argument.
14097 2013-12-04 Martin Rudalics <rudalics@gmx.at>
14099 * windmove.el (windmove-other-window-loc): Handle navigation
14100 between windows (excluding the minibuffer window - Bug#16017).
14102 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
14104 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
14105 in D-Bus type syntax.
14106 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
14107 preserve unibyte strings. (Bug#16048)
14109 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14111 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
14112 Call force-mode-line-update is the proper buffer (bug#16042).
14114 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
14116 * vc/log-edit.el (log-edit-add-new-comment): Rename to
14117 `log-edit-remember-comment', make argument optional. Adjust all
14119 (log-edit-mode): Add `log-edit-remember-comment' to
14120 `kill-buffer-hook' locally.
14121 (log-edit-kill-buffer): Don't remember comment explicitly since
14122 the buffer is killed anyway.
14124 2013-12-04 Juri Linkov <juri@jurta.org>
14126 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
14127 add-hook and remove-hook for multi-buffer search. (Bug#16035)
14129 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
14131 * notifications.el (notifications-close-notification): Call the
14132 D-Bus method with ID being a `:uint32'. (Bug#16030)
14134 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
14136 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14138 2013-12-03 Juri Linkov <juri@jurta.org>
14140 * progmodes/compile.el (compilation-start): Rename window alist
14141 entry `no-display-ok' to `allow-no-window'.
14143 * simple.el (shell-command): Add window alist entry
14144 `allow-no-window' to `display-buffer'.
14145 (async-shell-command): Doc fix.
14147 * window.el (display-buffer-no-window): New action function.
14148 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
14150 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14152 * vc/log-edit.el (log-edit-set-header): Extract from
14153 `log-edit-toggle-header'.
14154 (log-edit-extract-headers): Separate the summary, when extracted
14155 from header, from the rest of the message with an empty line.
14157 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
14158 line, if present, to the Summary header.
14160 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14162 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
14163 in current-buffer (bug#16029).
14165 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
14167 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
14168 (debugger-mode-map): Bind it.
14169 (debugger--backtrace-base): New function.
14170 (debugger-eval-expression): Use it.
14171 (debugger-frame-number): Skip local vars when present.
14172 (debugger--locals-visible-p, debugger--insert-locals)
14173 (debugger--show-locals, debugger--hide-locals): New functions.
14175 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
14177 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
14179 (tramp-get-remote-locale): New defun.
14180 (tramp-open-connection-setup-interactive-shell): Use it.
14182 2013-12-02 Leo Liu <sdl.web@gmail.com>
14184 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
14186 * progmodes/sh-script.el (sh-shell-process):
14187 * progmodes/octave.el (inferior-octave-process-live-p):
14188 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
14189 (gdb-inferior-io-sentinel):
14190 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
14192 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14194 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
14195 `save-selected-window' to `log-edit-hide-buf'. This makes
14196 `log-edit-show-files' idempotent.
14197 (log-edit-show-files): Mark the new window as dedicated.
14199 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14201 * vc/log-edit.el (log-edit-mode-map): Add binding for
14202 `log-edit-kill-biffer'.
14203 (log-edit-hide-buf): Add a FIXME comment.
14204 (log-edit-add-new-comment): New function, extracted from
14206 (log-edit-done, log-edit-add-to-changelog): Use it.
14207 (log-edit-kill-buffer): New command.
14209 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14211 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
14212 instead of killing the buffer.
14214 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14216 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
14218 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14220 * net/eww.el (eww-form-checkbox-selected-symbol)
14221 (eww-form-checkbox-symbol): New customizable variable.
14222 (eww-form-checkbox, eww-toggle-checkbox):
14223 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
14225 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
14226 (shr--get-media-pref, shr--extract-best-source): New function.
14227 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
14228 no :src tag was specified.
14230 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
14231 (eww-render): Handle `eww-use-external-browser-for-content-type'.
14232 Use \\` to match beginning of string instead of ^.
14233 (eww-browse-with-external-browser): Provide optional URL parameter.
14234 (eww-render): Set `eww-current-title' back to "".
14236 * net/shr.el (shr-tag-video): Display content for video if no
14237 poster is available.
14238 (shr-tag-audio): Add support for <audio> tag.
14240 * net/eww.el (eww-text-input-types): New const.
14241 (eww-process-text-input): Treat input types in
14242 `eww-text-input-types' as text.
14244 * net/shr.el (shr-tag-table): Fix comment typo.
14246 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14248 * net/eww.el (eww-follow-link): New command to avoid reloading
14249 pages when we follow #target links (bug#15243).
14250 (eww-quit): Special mode buffers shouldn't query before exiting.
14252 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14254 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
14257 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14259 * net/eww.el (eww-restore-history): Update the window title after
14260 moving in the history.
14261 (eww-current-dom): New variable used to save the current DOM.
14263 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
14265 * vc/log-edit.el (log-edit-mode-map): Add binding for
14266 `log-edit-beginning-of-line'.
14267 (log-edit-setup-add-author): New user option.
14268 (log-edit-beginning-of-line): New command.
14269 (log-edit): Move major mode call above the contents setup so that
14270 the local variable values are already applied.
14271 (log-edit): Only insert "Author: " when
14272 `log-edit-setup-add-author' is non-nil.
14273 (log-edit): When SETUP is non-nil, position point after ": "
14274 instead of point-min.
14276 2013-12-01 Glenn Morris <rgm@gnu.org>
14278 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
14280 2013-11-30 Eli Zaretskii <eliz@gnu.org>
14282 * startup.el (fancy-splash-frame): On MS-Windows, trigger
14283 redisplay to make sure the initial frame gets a chance to become
14284 visible. (Bug#16014)
14286 2013-11-30 Martin Rudalics <rudalics@gmx.at>
14288 Support resizing frames and windows pixelwise.
14289 * cus-start.el (frame-resize-pixelwise)
14290 (window-resize-pixelwise): New entries.
14291 * emacs-lisp/debug.el (debug): Use window-total-height instead
14292 of window-total-size.
14293 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
14294 * help.el (describe-bindings-internal): Use help-buffer as
14295 argument for with-help-window.
14296 (temp-buffer-max-width): New option.
14297 (resize-temp-buffer-window, help-window-setup)
14298 (with-help-window): Rewrite.
14299 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
14301 * window.el (frame-char-size, window-min-pixel-height)
14302 (window-safe-min-pixel-height, window-safe-min-pixel-width)
14303 (window-min-pixel-width, window-safe-min-pixel-size)
14304 (window-combination-p, window-safe-min-size)
14305 (window-resizable-p, window--size-to-pixel)
14306 (window--pixel-to-size, window--resize-apply-p): New functions.
14307 (window-safe-min-height): Fix doc-string.
14308 (window-size, window-min-size, window--min-size-1)
14309 (window-sizable, window-sizable-p, window--min-delta-1)
14310 (window-min-delta, window--max-delta-1, window-max-delta)
14311 (window--resizable, window--resizable-p, window-resizable)
14312 (window-full-height-p, window-full-width-p, window-at-side-p)
14313 (window--in-direction-2, window-in-direction)
14314 (window--resize-reset-1, window--resize-mini-window)
14315 (window-resize, window-resize-no-error)
14316 (window--resize-child-windows-normal)
14317 (window--resize-child-windows, window--resize-siblings)
14318 (window--resize-this-window, window--resize-root-window)
14319 (window--resize-root-window-vertically)
14320 (adjust-window-trailing-edge, enlarge-window, shrink-window)
14321 (maximize-window, minimize-window, delete-window)
14322 (quit-restore-window, window-split-min-size, split-window)
14323 (balance-windows-2, balance-windows)
14324 (balance-windows-area-adjust, balance-windows-area)
14325 (window--state-get-1, window-state-get, window--state-put-1)
14326 (window--state-put-2, window-state-put)
14327 (display-buffer-record-window, window--display-buffer):
14328 Make functions handle pixelwise sizing of windows.
14329 (display-buffer--action-function-custom-type)
14330 (display-buffer-fallback-action):
14331 Add display-buffer-in-previous-window.
14332 (display-buffer-use-some-window): Resize window to height it had
14334 (fit-window-to-buffer-horizontally): New option.
14335 (fit-frame-to-buffer): Describe new values.
14336 (fit-frame-to-buffer-bottom-margin): Replace with
14337 fit-frame-to-buffer-margins.
14338 (window--sanitize-margin): New function.
14339 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
14340 using window-text-pixel-size.
14342 2013-11-30 Glenn Morris <rgm@gnu.org>
14344 * emacs-lisp/bytecomp.el (byte-compile-form):
14345 Make the `interactive-only' warning like the `obsolete' one.
14346 * comint.el (comint-run):
14347 * files.el (insert-file-literally, insert-file):
14348 * replace.el (replace-string, replace-regexp):
14349 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
14350 (goto-line, insert-buffer, next-line, previous-line):
14351 Tweak `interactive-only' spec.
14353 Stop keeping (most) generated cedet grammar files in the repository.
14354 * Makefile.in (semantic): New.
14355 (compile-main): Depend on semantic.
14357 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14359 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
14360 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
14362 * uniquify.el (uniquify-buffer-name-style): Change default.
14364 * loadup.el: Preload "uniquify".
14366 * time.el (display-time-update): Update all mode lines (bug#15999).
14368 * electric.el (electric-indent-mode): Enable by default.
14369 * loadup.el: Preload "electric".
14371 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
14373 * emacs-lisp/helpers.el (string-empty-p): New function.
14374 (string-blank-p): New function.
14376 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
14378 * imenu.el (imenu--index-alist): Add missing dot to the docstring
14381 2013-11-29 Andreas Politz <politza@fh-trier.de>
14382 * imenu.el (imenu--subalist-p): Don't error on non-conses and
14383 allow non-lambda lists as functions.
14384 (imenu--in-alist): Don't recurse into non-subalists.
14385 (imenu): Don't pass function itself as an argument (Bug#14029).
14387 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14389 * progmodes/python.el (python-mode-map): Remove binding for ":".
14390 (python-indent-electric-colon): Remove command.
14391 (python-indent-post-self-insert-function): Integrate the previous code
14392 of python-indent-electric-colon. Make it conditional on
14393 electric-indent-mode.
14394 (python-mode): Add ?: to electric-indent-chars.
14395 Move python-indent-post-self-insert-function to the end of
14396 post-self-insert-hook.
14398 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14400 * doc-view.el (doc-view-goto-page): Update mode-line.
14402 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
14404 2013-11-27 Glenn Morris <rgm@gnu.org>
14406 * international/charprop.el, international/uni-bidi.el:
14407 * international/uni-category.el, international/uni-combining.el:
14408 * international/uni-comment.el, international/uni-decimal.el:
14409 * international/uni-decomposition.el, international/uni-digit.el:
14410 * international/uni-lowercase.el, international/uni-mirrored.el:
14411 * international/uni-name.el, international/uni-numeric.el:
14412 * international/uni-old-name.el, international/uni-titlecase.el:
14413 * international/uni-uppercase.el:
14414 Remove generated files from VCS repository.
14416 2013-11-27 Eli Zaretskii <eliz@gnu.org>
14418 * filenotify.el (file-notify-add-watch): Don't special-case
14419 w32notify when computing the directory to watch.
14421 2013-11-27 Glenn Morris <rgm@gnu.org>
14423 Make bootstrap without generated uni-*.el files possible again.
14424 * loadup.el: Update command-line-args checking for unidata-gen.
14425 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
14426 * composite.el, international/characters.el:
14427 Handle unicode tables being undefined.
14429 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
14430 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
14431 (compile-main): Depend on leim rule.
14433 * loadup.el: Move leim-list.el to leim/ subdirectory.
14434 * startup.el (normal-top-level): No more leim directory.
14435 * international/ja-dic-cnv.el (skkdic-convert):
14436 Disable version-control and autoloads in output files.
14437 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
14438 Disable version-control and autoloads in output files.
14439 * leim/quail: Move here from ../leim.
14440 * leim/quail/hangul.el (hangul-input-method-activate):
14441 Add autoload cookie.
14442 (generated-autoload-load-name): Set file-local value.
14443 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
14444 (generated-autoload-load-name): Set file-local value.
14446 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
14448 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
14449 (eww-add-bookmark): Ask confirmation when add to bookmarks.
14450 (eww-quit): Ask confirmation before quitting eww.
14452 2013-11-26 Eli Zaretskii <eliz@gnu.org>
14454 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
14455 reading output from Diff on MS-Windows and MS-DOS.
14457 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
14459 * emacs-lisp/helpers.el (string-reverse): New function.
14461 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
14463 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
14464 names on MS Windows, like "/[::1]:".
14466 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
14469 2013-11-26 Glenn Morris <rgm@gnu.org>
14471 * progmodes/python.el (python-indent-guess-indent-offset):
14472 Avoid corner-case error. (Bug#15975)
14474 Preload leim-list.el. (Bug#4789)
14475 * loadup.el: Load leim-list.el when found.
14476 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
14478 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
14480 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
14482 * emacs-lisp/helpers.el (string-join): New function.
14484 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
14486 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14487 Mark as obsolete and replace it with a symbol property.
14488 (byte-compile-form): Use new 'interactive-only property.
14489 * comint.el, files.el, replace.el, simple.el:
14490 Apply new 'interactive-only properly.
14492 2013-11-25 Martin Rudalics <rudalics@gmx.at>
14494 * window.el (display-buffer-at-bottom): Make sure that
14495 split-window-sensibly creates the new window on bottom
14498 2013-11-23 David Kastrup <dak@gnu.org>
14500 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
14501 on the conflict markers when available.
14502 (smerge--get-marker): New function.
14503 (smerge-end-re, smerge-base-re): Add subgroup.
14505 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14507 * frame.el (handle-focus-in, handle-focus-out): Add missing
14510 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
14512 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14513 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
14515 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14517 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
14518 (gomoku--last-pos): New var.
14519 (gomoku--intangible-chars): New const.
14520 (gomoku--intangible): New function.
14521 (gomoku-mode): Use it. Derive from special-mode.
14522 (gomoku-move-up): Adjust line count.
14523 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
14524 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
14525 Simplify accordingly.
14527 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
14528 Remove blink-cursor code.
14529 (blink-cursor-timer-function, blink-cursor-suspend):
14530 Don't special-case GUIs.
14531 (blink-cursor-mode): Use focus-in/out-hook.
14533 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
14535 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
14536 work when annotation is invisible (Bug#13886).
14538 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
14540 * json.el (json-alist-p): Only return non-nil if the alist has
14541 simple keys (Bug#13518).
14543 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
14545 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
14546 when control-statement is the first statement in a buffer (Bug#15956).
14548 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
14550 * imenu.el (imenu-generic-skip-comments-and-strings):
14551 New option (Bug#15560).
14552 (imenu--generic-function): Use it.
14554 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
14556 * minibuffer.el (completion--in-region-1): Scroll the correct window.
14559 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
14561 * emacs-lisp/helpers.el: Add some string helpers.
14562 (string-trim-left): Removes leading whitespace.
14563 (string-trim-right): Removes trailing whitespace.
14564 (string-trim): Removes leading and trailing whitespace.
14566 * subr.el (string-suffix-p): New function.
14568 2013-11-23 Glenn Morris <rgm@gnu.org>
14570 * progmodes/python.el (python-shell-send-file):
14571 Add option to delete file when done. (Bug#15647)
14572 (python-shell-send-string, python-shell-send-region): Use it.
14574 2013-11-23 Ivan Shmakov <ivan@siamics.net>
14576 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
14577 to set buffer-read-only to t, never to nil. (Bug#15938)
14579 * textmodes/tex-mode.el (latex-noindent-environments):
14580 Add safe-local-variable property. (Bug#15936)
14582 2013-11-23 Glenn Morris <rgm@gnu.org>
14584 * textmodes/enriched.el (enriched-mode): Doc fix.
14585 * emacs-lisp/authors.el (authors-renamed-files-alist):
14586 Add enriched.doc -> enriched.txt.
14588 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
14590 2013-11-22 Leo Liu <sdl.web@gmail.com>
14592 * progmodes/octave.el (inferior-octave-startup): Spit out error
14595 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
14597 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14600 (ruby-encoding-magic-comment-style): Add :version.
14602 2013-11-22 Leo Liu <sdl.web@gmail.com>
14604 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
14606 (octave-help-mode): Adapt to change to help-mode-finish to use
14607 derived-mode-p on 2013-09-17.
14608 (inferior-octave-prompt): Also match octave-gui.
14609 (octave-kill-process): Don't ask twice. (Bug#10564)
14611 2013-11-22 Leo Liu <sdl.web@gmail.com>
14613 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
14614 (inferior-octave-startup, inferior-octave-check-process)
14615 (inferior-octave-track-window-width-change)
14616 (octave-completion-at-point, octave-eldoc-function): Use it.
14617 (octave-kill-process): Provide confirmation. (Bug#10564)
14619 2013-11-21 Leo Liu <sdl.web@gmail.com>
14621 * progmodes/octave.el (octave-mode, inferior-octave-mode):
14622 Fix obsolete variable comment-use-global-state.
14624 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14626 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
14627 Add `octave-source-file'.
14628 (octave-source-file): New function. (Bug#15935)
14630 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
14632 * net/eww.el (eww-local-regex): New variable.
14633 (eww): Use it to detect localhost and similar.
14635 2013-11-21 Leo Liu <sdl.web@gmail.com>
14637 Add completion for command `ag'.
14638 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
14639 (pcomplete/ag): New function.
14640 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
14642 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14644 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
14646 (make-obsolete): Remove interactive spec.
14648 2013-11-21 Glenn Morris <rgm@gnu.org>
14650 * startup.el (command-line-1): Use path-separator with -L.
14652 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
14654 * emacs-lisp/package.el (describe-package-1): Add package archive
14657 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
14659 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14660 Change default to "# encoding: %s" to differentiate it from the
14661 default Ruby encoding comment template.
14663 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
14665 * ses.el (ses-mode): Doc fix. (Bug#14748)
14667 2013-11-20 Leo Liu <sdl.web@gmail.com>
14669 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
14671 2013-11-19 Dan Nicolaescu <dann@gnu.org>
14673 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14674 when rebase or bisect are in progress.
14676 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
14678 * filenotify.el (file-notify-add-watch): Doc fix.
14680 2013-11-19 Leo Liu <sdl.web@gmail.com>
14682 * obsolete/rcompile.el: Mark obsolete.
14684 * progmodes/compile.el (compilation-start)
14685 (compilation-goto-locus, compilation-find-file):
14686 Pass no-display-ok and handle nil value from display-buffer.
14689 * window.el (display-buffer-alist, display-buffer): Document the
14690 new parameter no-display-ok. Return either a window or nil
14691 but never a non-window value.
14693 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14695 * electric.el (electric-indent-mode-map): Remove.
14696 (electric-indent-mode): Change the global-map instead (bug#15915).
14698 * textmodes/text-mode.el (paragraph-indent-minor-mode):
14701 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
14703 * emacs-lisp/nadvice.el (remove-function): Align with
14704 add-function's behavior.
14706 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14707 (gdb--string-regexp): New constant.
14708 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14709 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14710 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14712 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14713 Adjust use accordingly.
14714 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14716 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
14718 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14719 interpolation curlies (Bug#15914).
14721 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
14723 * calc/calc.el (calc-context-sensitive-enter): New variable.
14724 (calc-enter): Use `calc-context-sensitive-enter'.
14726 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
14728 * progmodes/cfengine.el: Version bump.
14729 (cfengine-cf-promises): New defcustom to locate cf-promises.
14730 (cfengine3-vartypes): Add new "data" type.
14731 (cfengine3--current-word): New function to get current name-like
14732 word or its bounds.
14733 (cfengine3--current-function): New function to look up a CFEngine
14734 function's definition.
14735 (cfengine3-format-function-docstring): New function.
14736 (cfengine3-make-syntax-cache): New function.
14737 (cfengine3-documentation-function): New function: ElDoc glue.
14738 (cfengine3-completion-function): New function: completion glue.
14739 (cfengine3-mode): Set `compile-command',
14740 `eldoc-documentation-function', and add to
14741 `completion-at-point-functions'.
14743 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
14745 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14746 `tramp-current-connection'.
14748 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
14750 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14751 nil/self/true/false with "end of symbol".
14753 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
14755 * subr.el (version-regexp-alist): Fix a typo.
14757 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
14759 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14760 "en_US.utf8" and "LC_CTYPE" to "".
14761 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14762 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14764 2013-11-15 Leo Liu <sdl.web@gmail.com>
14766 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
14768 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14770 * progmodes/gud.el (ctl-x-map):
14771 Remove C-x SPC binding. (Bug#12342)
14772 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14774 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
14776 * subr.el (version-regexp-alist):
14777 Recognize hg, svn and darcs versions as snapshot versions.
14779 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14780 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14781 (ruby--encoding-comment-required-p): Extract from
14782 `ruby-mode-set-encoding'.
14783 (ruby-mode-set-encoding): Add the ability to always insert an
14784 utf-8 encoding comment. Fix and simplify coding comment update
14787 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
14789 * net/tramp-gvfs.el (top): Run init code only when
14790 `tramp-gvfs-enabled' is not nil.
14791 (tramp-gvfs-enabled): Check also :system bus.
14793 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14795 Sync with upstream verilog-mode revision 78e66ba.
14796 * progmodes/verilog-mode.el (verilog-end-of-defun)
14797 (verilog-type-completion, verilog-get-list): Remove unused funcs.
14798 (verilog-get-end-of-defun): Remove unused argument.
14799 (verilog-comment-depth): Remove unused local `e'.
14800 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14801 Don't pass arg to verilog-get-end-of-defun.
14803 2013-11-14 Glenn Morris <rgm@gnu.org>
14805 * obsolete/assoc.el (aget): Prefix dynamic variable.
14807 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14809 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14811 * widget.el, hfy-cmap.el: Remove bogus package version number.
14813 2013-11-13 Glenn Morris <rgm@gnu.org>
14815 * replace.el (replace-eval-replacement):
14816 Try to give more helpful error message. (Bug#15836)
14818 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14819 (archive-7z-update): Avoid custom type mismatches.
14821 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14823 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
14825 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14826 address can be empty.
14828 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14829 Accept nil SWITCHES.
14830 (tramp-gvfs-handle-write-region): Implement APPEND.
14832 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
14834 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14835 binary "|" operator and closing block args delimiter.
14836 Remove FIXME comment referring to Ruby 1.8-only syntax.
14837 (ruby-smie--implicit-semi-p): Not after "|" operator.
14838 (ruby-smie--closing-pipe-p): New function.
14839 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14840 (ruby-smie-rules): Indent after "|".
14842 2013-11-12 Glenn Morris <rgm@gnu.org>
14844 * ps-print.el (ps-face-attribute-list):
14845 Handle anonymous faces. (Bug#15827)
14847 2013-11-12 Martin Rudalics <rudalics@gmx.at>
14849 * window.el (display-buffer-other-frame): Fix doc-string.
14852 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14854 * subr.el (force-mode-line-update): Delete, move to buffer.c.
14856 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
14858 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14859 (tramp-sh-handle-file-local-copy): Don't write a message when
14860 saving temporary files.
14862 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14863 both directories are remote.
14864 (tramp-smb-handle-directory-files): Do not return double entries.
14865 Do not expand full file names.
14866 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14867 (tramp-smb-handle-write-region): Implement APPEND.
14868 (tramp-smb-get-stat-capability): Fix a stupid bug.
14870 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14872 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14874 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14876 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14877 throwing error over malformed let/let* (bug#15814).
14879 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14881 * iswitchb.el (iswitchb-mode): Mark obsolete.
14883 2013-11-11 Glenn Morris <rgm@gnu.org>
14885 * international/uni-bidi.el, international/uni-category.el:
14886 * international/uni-name.el, international/uni-numeric.el:
14887 Regenerate for Unicode 6.3.0.
14889 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
14891 * net/tramp.el (tramp-methods):
14892 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14893 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14895 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
14897 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14898 Force highlighting text after Summary keyword in doc face for rpm.
14900 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
14902 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14903 available and the word has no wildcards, append one to the grep pattern.
14904 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14905 (ispell-complete-word): Call `ispell-lookup-words' with the value
14906 independent of `ispell-look-p'.
14908 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14910 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14912 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14915 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14917 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
14918 (ruby-font-lock-keywords): Use backquote.
14920 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14922 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14923 (ruby-smie--backward-token): Only consider full-string matches.
14925 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
14927 * faces.el (describe-face): Add distant-foreground.
14929 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
14931 * progmodes/ruby-mode.el: Improve encoding comment handling.
14932 (ruby-encoding-magic-comment-style): New option.
14933 (ruby-custom-encoding-magic-comment-template): New option.
14934 (ruby--insert-coding-comment, ruby--detect-encoding):
14935 New functions extracted from `ruby-mode-set-encoding'.
14936 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14937 to control the style of the auto-inserted encoding comment.
14939 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14941 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14942 Use `smie-backward-sexp' with token argument.
14944 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
14946 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14947 Remove instrumentation code.
14949 2013-11-08 Glenn Morris <rgm@gnu.org>
14951 * progmodes/autoconf.el (autoconf-mode):
14952 Tweak comment-start-skip. (Bug#15822)
14954 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14956 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
14957 at bobp (bug#15826).
14958 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
14960 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
14962 * man.el (Man-start-calling): New macro, extracted from
14963 Man-getpage-in-background.
14964 (Man-getpage-in-background): Use it.
14965 (Man-update-manpage): New command.
14966 (Man-mode-map): Bind it.
14968 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14970 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
14971 of "and", "or", "&&" and "||".
14972 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
14973 argument. Prohibit opening curly brace because it could only be a
14974 block opener in that position.
14975 (ruby-smie--forward-token, ruby-smie--backward-token):
14976 Separate "|" from "&" or "*" going after it. That can happen in block
14978 (ruby-smie--indent-to-stmt): New function, seeks the end of
14979 previous statement or beginning of buffer.
14980 (ruby-smie-rules): Use it.
14981 (ruby-smie-rules): Check if there's a ":" before a curly block
14982 opener candidate; if there is, it's a hash.
14984 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14986 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
14987 (cl--block-wrapper): Fix last accidental change.
14989 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
14991 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14992 Instrument, in order to hunt failure on hydra.
14994 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14996 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
14997 malformed bindings form (bug#15814).
14999 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
15001 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15002 "." compared to " @ ". This incidentally fixes some indentation
15003 examples with "do".
15004 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15005 (ruby-smie-grammar): New tokens: "and" and "or".
15006 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15007 Exclude "and" and "or". Remove "do" in order to work around token
15009 (ruby-smie-rules): Add all infix tokens. Handle the case of
15010 beginning-of-buffer.
15012 2013-11-06 Glenn Morris <rgm@gnu.org>
15014 * Makefile.in (setwins_almost, setwins_for_subdirs):
15015 Avoid accidental matches.
15017 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * menu-bar.el (popup-menu): Use key-binding.
15021 2013-11-06 Eli Zaretskii <eliz@gnu.org>
15023 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15024 menus, support also the menus produced by minor modes.
15027 2013-11-06 Leo Liu <sdl.web@gmail.com>
15029 * thingatpt.el (thing-at-point-looking-at): Add optional arg
15030 DISTANCE to bound the search. All uses changed. (Bug#15808)
15032 2013-11-06 Glenn Morris <rgm@gnu.org>
15034 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15035 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15036 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15038 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15040 * electric.el (electric-indent-just-newline): New command.
15041 (electric-indent-mode-map): New keymap.
15042 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15043 Re-add :group which weren't redundant.
15045 * electric.el (electric-indent-local-mode): New minor mode.
15046 (electric-indent-functions-without-reindent): New var.
15047 (electric-indent-post-self-insert-function): Use it.
15048 * emacs-lisp/gv.el (buffer-local-value): Add setter.
15050 2013-11-05 Eli Zaretskii <eliz@gnu.org>
15052 * international/quail.el (quail-help): Be more explicit about the
15053 meaning of the labels shown on the keys. (Bug#15800)
15055 * startup.el (normal-top-level): Load the subdirs.el files before
15056 setting the locale environment. (Bug#15805)
15058 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15060 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
15061 via arguments so as to get the right ones (bug#15418).
15063 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
15065 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
15067 Fix problems found while writing a test suite.
15069 * net/tramp-compat.el (tramp-compat-load): New defun.
15070 * net/tramp.el (tramp-handle-load): Use it.
15072 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
15073 "(numberp ok-if-already-exists)" correctly.
15075 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
15077 * international/characters.el (glyphless-char-display-control):
15080 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
15082 * progmodes/python.el (python-mode):
15083 * progmodes/scheme.el (scheme-mode):
15084 * progmodes/prolog.el (prolog-mode):
15085 * progmodes/ruby-mode.el (ruby-mode):
15086 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
15087 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
15089 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15091 * rect.el (rectangle--highlight-for-redisplay):
15092 * emacs-lisp/smie.el (smie--next-indent-change):
15093 Use buffer-chars-modified-tick.
15095 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
15097 * electric.el (electric-indent-post-self-insert-function):
15098 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
15100 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
15102 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
15104 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15106 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
15109 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15111 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
15113 * progmodes/python.el: Fix up last change.
15114 (python-shell--save-temp-file): New function.
15115 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
15116 `string' comes from the current buffer.
15117 (python-shell-send-string-no-output): Remove `msg' arg.
15118 (python--use-fake-loc): New var.
15119 (python-shell-buffer-substring): Obey it. Try to compensate for the
15120 extra coding line added by python-shell--save-temp-file.
15121 (python-shell-send-region): Use python-shell--save-temp-file and
15122 python-shell-send-file directly. Add `nomain' argument.
15123 (python-shell-send-buffer): Use python-shell-send-region.
15124 (python-electric-pair-string-delimiter): New function.
15125 (python-mode): Use it.
15127 2013-11-04 Eli Zaretskii <eliz@gnu.org>
15129 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
15130 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
15131 environment and decoding all of the default-directory's to here
15133 (command-line): Decode also argv[0].
15135 * loadup.el: Error out if default-directory is a multibyte string
15136 when we are dumping.
15138 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
15140 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
15142 * emacs-lisp/package.el (package-menu-mode)
15143 (package-menu--print-info, package-menu--archive-predicate):
15144 Add Archive column to package list.
15146 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
15148 Fix problems found while writing a test suite.
15150 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
15151 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
15152 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
15153 to nil when running original file name handler. Otherwise,
15154 there are problems with constructs like "$$FOO".
15156 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
15159 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
15161 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
15163 * subr.el (version<, version<=, version=):
15164 Update docstrings with information for snapshot versions.
15166 * helpers.el: New library for misc helper functions.
15167 (hash-table-keys): New function returning a list of hash keys.
15168 (hash-table-values): New function returning a list of hash values.
15170 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
15172 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15173 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
15175 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
15177 * textmodes/fill.el (fill-single-char-nobreak-p): New function
15178 checking whether point is after a 1-letter word.
15180 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15182 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
15183 Don't infloop when expanding region over `multiline' syntax-type that
15184 begins a line (bug#15778).
15186 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15188 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
15189 Make it into a proper minor mode.
15190 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
15191 (rectangle-mark-mode-map): New keymap.
15192 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
15194 2013-11-04 Glenn Morris <rgm@gnu.org>
15196 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
15198 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15200 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
15201 (ruby-smie-rules): Use smie-rule-parent instead.
15203 * emacs-lisp/smie.el (smie-rule-parent): Always call
15204 smie-indent-virtual rather than only for hanging tokens.
15205 (smie--next-indent-change): New helper command.
15207 2013-11-03 Glenn Morris <rgm@gnu.org>
15209 * Makefile.in (abs_srcdir): Remove.
15210 (emacs): Unset EMACSLOADPATH.
15212 2013-11-02 Glenn Morris <rgm@gnu.org>
15214 * Makefile.in (EMACS): Use a relative filename.
15215 (abs_top_builddir): Remove.
15216 (custom-deps, finder-data, autoloads): Use --chdir.
15218 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
15220 Use relative filenames in TAGS files.
15221 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15222 (lisptagsfiles4, TAGS): Use relative file names.
15223 (TAGS-LISP): Remove.
15224 (maintainer-clean): No more TAGS-LISP file.
15226 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15227 (lisptagsfiles4): Use absolute filenames again.
15228 (TAGS, TAGS-LISP): Not everything needs to run in one line.
15229 Remove all *loaddefs files, not just the first. Remove esh-groups.
15230 (maintainer-clean): Delete TAGS, TAGS-LISP.
15232 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15234 * emacs-lisp/package.el (package-version-join):
15235 Recognize snapshot versions.
15237 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15239 * subr.el (version-regexp-alist): Add support for snapshot versions.
15241 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
15243 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
15244 New function, replacement for `smie-rule-parent' for when we want to
15245 skip over our direct parent if it's an assignment token..
15246 (ruby-smie-rules): Use it.
15248 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
15250 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
15251 unconditionally. Remove now unnecessary forward declarations.
15252 Remove XEmacs-specific setup.
15253 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
15254 (ruby-font-lock-syntactic-keywords)
15255 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
15256 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
15257 (ruby-here-doc-end-syntax): Remove.
15258 (ruby-mode): Don't check whether `syntax-propertize-rules' is
15259 defined as function.
15261 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15263 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
15265 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
15267 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
15268 table and abbrev table, `define-derived-mode' does that for us
15271 2013-11-01 Glenn Morris <rgm@gnu.org>
15273 * Makefile.in: Remove manual mh-e dependencies (writing .elc
15274 files is atomic for some time, so no parallel compilation issues).
15276 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
15278 * faces.el (face-x-resources): Add :distant-foreground.
15279 (region): Use :distant-foreground for gtk and ns.
15281 2013-11-01 Tassilo Horn <tsdh@gnu.org>
15283 Allow multiple bibliographies when BibLaTeX is used rather than
15285 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
15286 (reftex-locate-bibliography-files): Us it.
15288 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
15290 * image.el (image-type-header-regexps): Fix the 'pbm' part to
15291 allow comments in pbm files.
15293 * term/w32-win.el (dynamic-library-alist): Support newer versions
15294 of libjpeg starting with v7: look only for the DLL from the
15295 version against which Emacs was built.
15296 Support versions of libpng beyond 1.4.x.
15297 Support libtiff v4.x.
15299 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
15301 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
15302 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
15303 Add property :safe.
15304 (ruby-deep-arglist): Add property :type.
15306 2013-10-31 Glenn Morris <rgm@gnu.org>
15308 * Makefile.in (custom-deps, finder-data): No need to setq the target
15309 variables, we are in the right directory and the defaults work fine.
15311 2013-10-30 Glenn Morris <rgm@gnu.org>
15313 * Makefile.in (autoloads): Do not use abs_lisp.
15315 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15316 `newline' does not respect `standard-output', so use `princ'.
15318 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
15320 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
15321 * buff-menu.el (Buffer-menu--unmark): New function.
15322 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
15324 2013-10-30 Glenn Morris <rgm@gnu.org>
15326 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
15328 * emacs-lisp/package.el (lm-homepage): Declare.
15330 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
15333 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
15335 * Makefile.in (finder-data, autoloads, update-subdirs)
15336 (compile-main, compile-clean, compile-always, bootstrap-clean):
15337 Check return value of cd.
15338 (compile-calc): Remove.
15340 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15342 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
15344 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
15345 (byte-compile-and-folded): New function.
15346 (=, <, >, <=, >=): Use it.
15348 * dos-w32.el (minibuffer-history-case-insensitive-variables)
15349 (path-separator, null-device, buffer-file-coding-system)
15350 (lpr-headers-switches): Check system-type before modifying them.
15351 (find-buffer-file-type-coding-system): Mark obsolete.
15352 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
15353 find-file-not-found-set-buffer-file-coding-system.
15354 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
15355 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
15356 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
15357 (w32-direct-print-region-helper, w32-direct-print-region-function)
15358 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
15359 * startup.el (normal-top-level-add-subdirs-to-load-path):
15360 * ps-print.el (ps-print-region-function):
15361 * lpr.el (print-region-function): Use new name.
15363 * subr.el (custom-declare-variable-early): Remove function.
15364 (custom-declare-variable-list): Remove var.
15365 (error, user-error): Remove `while' loop.
15366 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
15367 (user-emacs-directory-warning, locate-user-emacs-file):
15369 * simple.el (read-quoted-char-radix, read-quoted-char):
15370 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
15372 * custom.el (custom-declare-variable-list): Don't process
15373 custom-declare-variable-list.
15375 * progmodes/python.el (python-shell-get-buffer): New function.
15376 (python-shell-get-process): Use it.
15377 (python-shell-send-string): Always use utf-8 and add a cookie to tell
15378 Python which encoding was used. Don't split-string since we only care
15379 about the first line. Return the temp-file, if applicable.
15380 (python-shell-send-region): Tell compile.el how to turn locations in
15381 the temp-file into locations in the source buffer.
15383 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
15385 * subr.el (undefined): Add missing behavior from the C code for
15388 * rect.el: Use lexical-binding. Add new rectangular region support.
15389 (rectangle-mark): New command.
15390 (rectangle--region): New var.
15391 (deactivate-mark-hook): Reset rectangle--region.
15392 (rectangle--extract-region, rectangle--insert-for-yank)
15393 (rectangle--highlight-for-redisplay)
15394 (rectangle--unhighlight-for-redisplay): New functions.
15395 (region-extract-function, redisplay-unhighlight-region-function)
15396 (redisplay-highlight-region-function): Use them to handle
15397 rectangular region.
15398 * simple.el (region-extract-function): New var.
15399 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
15400 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
15401 (kill-region): Replace obsolete `yank-handler' arg with `region'.
15402 (copy-region-as-kill, kill-ring-save): Add `region' argument.
15403 (redisplay-unhighlight-region-function)
15404 (redisplay-highlight-region-function): New vars.
15405 (redisplay--update-region-highlight): New function.
15406 (pre-redisplay-function): Use it.
15407 (exchange-point-and-mark): Don't deactivate the mark before
15408 reactivate-it anyway.
15409 * comint.el (comint-kill-region): Remove yank-handler argument.
15410 * delsel.el (delete-backward-char, backward-delete-char-untabify)
15411 (delete-char): Remove property, since it's now part of their
15413 (self-insert-iso): Remove property since this command doesn't exist.
15415 * emacs-lisp/package.el (package--download-one-archive)
15416 (describe-package-1): Don't query the user about final newline.
15418 2013-10-29 Daniel Colascione <dancol@dancol.org>
15420 * net/tramp.el (tramp-methods): Document new functionality.
15421 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
15422 tramp-hostname-checker if method provides one instead of scanning
15423 argument list for "%h" to decide hostname acceptability.
15425 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
15427 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15428 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15429 Handle COPY-CONTENTS. (Bug#15737)
15431 2013-10-28 Daiki Ueno <ueno@gnu.org>
15433 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15434 Document that this option has no effect with GnuPG 2.0 (bug#15552).
15436 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
15438 * image.el (defimage, image-load-path): Doc fixes.
15440 2013-10-27 Alan Mackenzie <acm@muc.de>
15442 Indent statements in macros following "##" correctly.
15443 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15444 Modify the "#" arm of a cond form to handle "#" and "##" operators.
15446 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15448 * linum.el (linum-update-window): Fix boundary test (bug#13446).
15450 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
15452 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
15453 after `=' is probably a new expression.
15455 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15457 * man.el (man-imenu-title): New option.
15458 (Man-mode-map): Add menu. (Bug#15722)
15459 (Man-mode): Add imenu to menu.
15461 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
15463 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15464 specific in what the first arg can be: a non-keyword word,
15465 string/regexp/percent literal opener, opening paren, or unary
15466 operator followed directly by word.
15468 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15470 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
15471 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
15472 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
15473 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
15474 Remove vars, they do not apply any more.
15475 (prolog-mode-abbrev-table): Remove redundant declaration.
15476 (prolog-upper-case-string, prolog-lower-case-string): Remove.
15477 (prolog-use-smie): Remove.
15478 (prolog-smie-rules): Add indentation rule for the if-then-else layout
15479 supported by prolog-electric-if-then-else-flag.
15480 (prolog-mode-variables, prolog-menu): Use setq-local.
15481 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
15482 Remove binding to `Backspace' since this key doesn't exist anyway.
15483 Remove bindings for electric self-inserting keys.
15484 (prog-mode): Assume it's defined.
15485 (prolog-post-self-insert): New function.
15486 (prolog-mode): Use it.
15487 (prolog-indent-line, prolog-indent-level)
15488 (prolog-find-indent-of-matching-paren)
15489 (prolog-indentation-level-of-line, prolog-goto-comment-column)
15490 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
15491 (prolog-goto-next-paren, prolog-in-string-or-comment)
15492 (prolog-tokenize, prolog-inside-mline-comment)
15493 (prolog-find-start-of-mline-comment): Remove functions.
15494 (prolog-find-unmatched-paren, prolog-clause-end)
15495 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
15496 (prolog-electric--if-then-else): Rename from
15497 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
15498 (prolog-tokenize-searchkey): Remove const.
15499 (prolog-clause-info): Use forward-sexp.
15500 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
15501 (prolog-electric-if-then-else): Remove commands.
15502 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
15503 for use in post-self-insert-hook.
15504 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
15505 for use in post-self-insert-hook.
15506 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
15507 for use in post-self-insert-hook.
15508 (prolog-electric--underscore): Rename from prolog-electric--underscore;
15509 adapt it for use in post-self-insert-hook.
15511 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
15513 * emacs-lisp/ert.el (ert-run-tests-interactively):
15514 Use `completing-read'. (Bug#9756)
15516 2013-10-25 Eli Zaretskii <eliz@gnu.org>
15518 * simple.el (line-move): Call line-move-1 instead of
15519 line-move-visual when the current window hscroll is zero, but
15520 temporary-goal-column indicates we will need to hscroll as result
15521 of the movement. (Bug#15712)
15523 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
15525 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
15526 capitalization. Use :visible instead of :active.
15527 Fix `ruby-indent-exp' reference. Add menu items for the generic
15528 commands that are used with SMIE.
15529 (ruby-do-end-to-brace): Insert space after `{'.
15531 2013-10-25 John Anthony <john@jo.hnanthony.com>
15533 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
15535 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
15537 2013-10-25 Glenn Morris <rgm@gnu.org>
15539 * vc/vc.el (vc-print-log): Don't use a working revision unless
15540 one was explicitly specified. (Bug#15322)
15542 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15544 * subr.el (add-to-list): Preserve return value in compiler-macro
15547 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15549 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
15550 result. Ask user to retry using '-all' flag. (Bug#15701)
15552 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15554 * emacs-lisp/smie.el: New smie-config system.
15555 (smie-config): New defcustom.
15556 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
15557 (smie-config-guess, smie-config-save): New commands.
15558 (smie-config--mode-local, smie-config--buffer-local)
15559 (smie-config--trace, smie-config--modefuns): New vars.
15560 (smie-config--advice, smie-config--mode-hook)
15561 (smie-config--setter, smie-config-local, smie-config--get-trace)
15562 (smie-config--guess-value, smie-config--guess): New functions.
15563 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
15564 text properties. Treat "string fence" syntax like string syntax.
15566 * progmodes/sh-script.el (sh-use-smie): Change default.
15567 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
15568 (sh-var-value): Simplify by CSE.
15569 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
15570 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
15572 (sh-guess-basic-offset): Use cl-incf.
15573 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
15575 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
15577 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
15580 2013-10-24 Glenn Morris <rgm@gnu.org>
15582 * Makefile.in (abs_top_srcdir): Remove.
15583 (update-subdirs): Use relative path to update-subdirs.
15585 2013-10-24 Eli Zaretskii <eliz@gnu.org>
15587 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
15588 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
15589 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
15590 Call unmsys--file-name before expand-file-name, not after it.
15592 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
15594 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
15595 (ert-test-skipped): New error.
15596 (ert-skip, ert-stats-skipped): New defuns.
15597 (ert--skip-unless): New macro.
15598 (ert-test-skipped): New struct.
15599 (ert--run-test-debugger, ert-test-result-type-p)
15600 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
15601 (ert--stats-set-test-and-result, ert-char-for-test-result)
15602 (ert-string-for-test-result, ert-run-tests-batch)
15603 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
15604 Handle skipped tests. (Bug#9803)
15606 2013-10-24 Glenn Morris <rgm@gnu.org>
15608 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
15610 * Makefile.in (abs_top_srcdir): New, set by configure.
15611 (update-subdirs): Correct build-aux location.
15613 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
15615 * vc/vc.el (vc-print-root-log): Always set `default-directory'
15616 value, whether we could auto-deduce `backend', or not.
15618 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
15619 with parameters" example. Simplify the "is it block or is it
15620 hash" check, but also make it more thorough.
15622 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
15624 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
15626 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15628 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
15629 { if it is hanging.
15631 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
15634 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
15636 * progmodes/compile.el (compilation-directory-matcher)
15637 (compilation-page-delimiter):
15638 Support GNU Make-4.0 directory quoting. (Bug#15678)
15640 2013-10-23 Leo Liu <sdl.web@gmail.com>
15642 * ido.el (ido-tidy): Handle read-only text.
15644 2013-10-23 Glenn Morris <rgm@gnu.org>
15646 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
15647 (emacs, compile, compile-always):
15648 Quote entities that might contain whitespace.
15649 (custom-deps, finder-data, autoloads): Use abs_lisp.
15650 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15651 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15652 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
15654 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
15656 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
15657 Use `following-char'.
15659 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15661 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15662 * progmodes/ruby-mode.el (ruby-smie-rules):
15663 Remove corresponding workaround. Fix indentation rule of ";" so it
15664 also applies when ";" is the parent.
15666 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
15668 * frame.el (display-screens, display-pixel-height)
15669 (display-pixel-width, display-mm-width, display-backing-store)
15670 (display-save-under, display-planes, display-color-cells)
15671 (display-visual-class, display-monitor-attributes-list):
15672 Mention the optional ‘display’ argument in doc strings.
15674 2013-10-22 Michael Gauland <mikelygee@amuri.net>
15676 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15677 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
15679 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15681 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15682 TODO. Add "." after " @ ".
15683 (ruby-smie--at-dot-call): New function. Checks if point at method
15684 call with explicit target.
15685 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15686 to the method name tokens when it precedes them.
15687 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15688 (ruby-smie-rules): Add rule for indentation before and after "."
15691 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15693 * textmodes/remember.el (remember-diary-extract-entries):
15696 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15699 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15701 * progmodes/ruby-mode.el (ruby-smie-grammar):
15702 Add (almost) all infix operators.
15703 (ruby-smie--implicit-semi-p): Add new operator chars.
15705 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15707 (ruby-smie--args-separator-p): Check that there's no newline
15708 between method call and its arguments.
15710 2013-10-20 Alan Mackenzie <acm@muc.de>
15712 Allow comma separated lists after Java "implements".
15714 * progmodes/cc-engine.el (c-backward-over-enum-header):
15716 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15717 from a "disallowed" list in enum fontification.
15719 2013-10-20 Johan Bockgård <bojohan@gnu.org>
15721 * startup.el (default-frame-background-mode): Remove unused defvar.
15723 * progmodes/verilog-mode.el (verilog-mode): Don't set
15724 comment-indent-function globally.
15726 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
15728 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15729 Move Info menu item creation to ns-win.el.
15731 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15734 * menu-bar.el: Move GNUstep specific menus...
15736 * term/ns-win.el (ns-initialize-window-system): ... to here.
15738 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15740 * simple.el (newline): Only run post-self-insert-hook when
15741 called interactively.
15743 2013-10-19 Johan Bockgård <bojohan@gnu.org>
15745 * icomplete.el (icomplete-with-completion-tables): Add :version.
15747 2013-10-19 Alan Mackenzie <acm@muc.de>
15749 Fix fontification bugs with constructors and const.
15751 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15752 CASE 2) Remove the check for the absence of a suffix construct
15753 after a function declaration with only types (no identifiers) in
15754 the parentheses. Also, accept a function declaration with just a
15755 type inside the parentheses, if this type can be positively
15756 recognised as such, or if a prefix keyword like "explicit" nails
15757 down the construct as a declaration.
15759 2013-10-19 Eli Zaretskii <eliz@gnu.org>
15761 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15762 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
15763 the problem whereby selecting a menu item that leads to a
15764 minibuffer prompt moves the cursor out of the minibuffer window,
15765 making it hard to type at the prompt. Suggested by Stefan Monnier
15766 <monnier@iro.umontreal.ca>.
15768 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
15770 * menu-bar.el: Don't make Services menu.
15772 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15774 * ffap.el: Handle "/usr/include/c++/<version>" directories.
15775 (ffap-alist): Use ffap-c++-mode for c++-mode.
15776 (ffap-c++-path): New variable.
15777 (ffap-c++-mode): New function.
15779 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
15781 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
15783 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
15785 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15786 introduced on 2013-09-08, which results in an infinite loop
15787 requesting a password.
15789 2013-10-18 Glenn Morris <rgm@gnu.org>
15791 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15793 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
15795 Sync with upstream verilog-mode revision 1a6ecec7.
15796 * progmodes/verilog-mode.el (verilog-mode-version): Update.
15797 (verilog-mode-release-date): Remove.
15798 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15799 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15800 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15801 (verilog-auto-tieoff-ignore-regexp)
15802 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15803 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15804 (verilog-signals-with, verilog-dir-cache-preserving)
15805 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15807 (verilog-case-fold): New option, to control case folding in
15808 regexp searches, bug597.
15809 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15810 (verilog-string-match-fold, verilog-in-paren-count)
15811 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15812 (verilog-at-close-struct-p): New functions.
15813 (verilog-beg-block-re-ordered, verilog-extended-case-re)
15814 (verilog-forward-sexp, verilog-set-auto-endcomments)
15815 (verilog-leap-to-case-head): Handle "unique0" case.
15816 (verilog-in-constraint-re): New constant.
15817 (verilog-keywords, verilog-type-font-keywords):
15818 Add some SystemVerilog 1800-2012 keywords.
15819 (verilog-label-be): Remove unimplemented argument, bug669.
15820 (verilog-batch-execute-func): When batch expanding clear
15821 create-lockfiles to prevent spurious user locks when a file ends
15823 (verilog-calculate-indent, verilog-calc-1)
15824 (verilog-at-close-constraint-p, verilog-at-constraint-p)
15825 (verilog-do-indent): Fix indentation of nested constraints
15827 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15828 (verilog-auto-inst-param): Use verilog-string-match-fold.
15829 (verilog-read-inst-module-matcher):
15830 Fix AUTOINST on gate primitives with #1.
15831 (verilog-read-decls): Fix double-declaring user-defined typed signals.
15832 Reads all user-defined typed variables.
15833 (verilog-read-defines): Fix reading definitions inside comments, bug647.
15834 (verilog-signals-matching-regexp)
15835 (verilog-signals-not-matching-regexp, verilog-auto):
15836 Respect verilog-case-fold.
15837 (verilog-diff-report): Fix line count.
15838 (verilog-auto-assign-modport): Remove unused local `modi'.
15839 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15840 better handle multidimensional arrays.
15841 Fix packed array ports misadding bit index in AUTOINST, bug637.
15842 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15843 to not double-declare existing outputs and inputs, respectively.
15844 (verilog-template-map): Bind U to verilog-sk-uvm-component.
15845 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15846 (verilog-sk-uvm-component): New skeleton.
15847 (verilog-submit-bug-report): Add verilog-case-fold,
15848 remove verilog-mode-release-date.
15850 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
15852 * subr.el (sit-for): Call (input-pending-p t) so as to behave
15855 2013-10-18 Reuben Thomas <rrt@sc3d.org>
15857 * textmodes/remember.el (remember): Set buffer-offer-save in
15858 remember buffers (bug#13566).
15860 2013-10-18 Daniel Colascione <dancol@dancol.org>
15862 When evaluating forms in ielm, direct standard output to ielm
15863 buffer. Add new ielm-return-for-effect command. Remove trailing
15864 whitespace throughout.
15866 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15867 (ielm-return-for-effect): New command.
15868 (ielm-send-input): Accept optional `for-effect' parameter.
15869 (ielm-eval-input): Accept optional `for-effect' parameter.
15870 Bind `standard-output' to stream we create using
15871 `ielm-standard-output-impl'. Suppress printing result when
15873 (ielm-standard-output-impl): New function.
15874 (inferior-emacs-lisp-mode): Explain new features in documentation.
15876 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
15880 * net/tramp.el (tramp-debug-message): Do not check for connection
15882 (tramp-message): Use "vector" connection property.
15884 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15885 (tramp-equal-remote, tramp-eshell-directory-change)
15886 * net/tramp-adb.el (tramp-adb-handle-copy-file)
15887 (tramp-adb-handle-rename-file)
15888 * net/tramp-cmds.el (tramp-list-remote-buffers)
15889 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15890 * net/tramp-compat.el (tramp-compat-process-running-p)
15891 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15892 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15893 (tramp-gvfs-handle-rename-file)
15894 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15895 (tramp-set-file-uid-gid)
15896 * net/tramp-smb.el (tramp-smb-handle-copy-file)
15897 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15898 of `file-remote-p'.
15900 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15901 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15902 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15903 (tramp-gw-open-network-stream): Suppress unrelated traces.
15905 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15906 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15907 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15908 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15909 connection property.
15911 * net/tramp-cache.el (top): Suppress traces when reading
15914 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15915 Refactor common code. Improve debug message.
15916 (tramp-maybe-open-connection)
15917 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15918 connection buffer too early.
15920 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15921 from `tramp-smb-actions-with-acl'.
15922 (tramp-smb-actions-set-acl): New defconst.
15923 (tramp-smb-handle-copy-directory)
15924 (tramp-smb-action-get-acl): New defun, renamed from
15925 `tramp-smb-action-with-acl'.
15926 (tramp-smb-action-set-acl): New defun.
15927 (tramp-smb-handle-set-file-acl): Rewrite.
15929 2013-10-17 Glenn Morris <rgm@gnu.org>
15931 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
15933 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15935 * skeleton.el (skeleton-newline): Remove.
15936 (skeleton-internal-1): Use (insert "\n") instead.
15938 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15941 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15942 forward-sexp-function while we redo its job (bug#15613).
15944 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
15946 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15947 represented by lists.
15949 2013-10-16 Glenn Morris <rgm@gnu.org>
15951 * tmm.el (tmm--history): New dynamic variable.
15952 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
15954 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
15956 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
15957 (tramp-smb-errors): Add error messages.
15958 (tramp-smb-actions-with-acl): New defconst.
15959 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
15960 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
15961 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
15962 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
15963 (tramp-smb-get-stat-capability): Fix tests.
15965 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
15967 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
15970 2013-10-16 Glenn Morris <rgm@gnu.org>
15972 * ansi-color.el (ansi-color-drop-regexp):
15973 Add 1J, 1K, 2K. (Bug#15617)
15975 * files.el (hack-local-variables--warned-lexical): New.
15976 (hack-local-variables):
15977 Warn about misplaced lexical-binding. (Bug#15616)
15979 * net/eww.el (eww-render): Always set eww-current-url,
15980 and update header line. (Bug#15622)
15981 (eww-display-html): ... Rather than just doing it here.
15983 2013-10-15 Eli Zaretskii <eliz@gnu.org>
15985 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
15986 menu navigations commands.
15988 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
15990 * progmodes/subword.el (subword-capitalize): Be careful when
15991 the search for [[:alpha:]] fails (bug#15580).
15993 2013-10-14 Eli Zaretskii <eliz@gnu.org>
15995 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
15996 to commands that scroll the menu.
15998 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
16000 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16001 Handle methods ending with `?' and `!'.
16003 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
16005 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16006 `japanese-cp932' to `cp932' to fix the problem where saving a
16007 source file written in Shift_JIS twice would end up having
16008 `coding: japanese-cp932' which Ruby could not recognize.
16009 (ruby-mode-set-encoding): Add support for encodings mapped to nil
16010 in `ruby-encoding-map'.
16011 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16012 doesn't need to be explicitly declared in magic comment.
16013 (ruby-encoding-map): Add type declaration for better customize UI.
16015 2013-10-13 Glenn Morris <rgm@gnu.org>
16017 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16018 Occur buffers are read-only. http://bugs.debian.org/720775
16020 * emacs-lisp/authors.el (authors-fixed-entries):
16021 Comment out old alpha stuff.
16023 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
16025 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16026 to `after-save-hook' instead of `before-save-hook'.
16027 (ruby-mode-set-encoding): Use the value of coding system used to
16028 write the file. Call `basic-save-buffer-1' after modifying the
16031 2013-10-13 Alan Mackenzie <acm@muc.de>
16033 Fix indentation/fontification of Java enum with
16034 "implements"/generic.
16036 * progmodes/cc-engine.el (c-backward-over-enum-header):
16037 Extracted from the three other places and enhanced to handle generics.
16038 (c-inside-bracelist-p): Uses new function above.
16039 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16041 (c-font-lock-enum-tail): Uses new function above.
16043 2013-10-13 Kenichi Handa <handa@gnu.org>
16045 * international/mule-cmds.el (select-safe-coding-system): Remove a
16046 superfluous condition in chekcing whether a coding system is safe
16049 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16051 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
16053 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
16055 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
16057 2013-10-13 Glenn Morris <rgm@gnu.org>
16059 * menu-bar.el (menu-bar-update-buffers):
16060 Unify Buffers menu prompt string. (Bug#15576)
16062 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
16064 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
16066 (authors-fixed-entries): Use accented form of name.
16068 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16070 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
16071 method calls (bug#15594).
16072 (ruby-smie--args-separator-p): New function.
16073 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
16074 recognize paren-free method calls.
16076 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
16077 internals of universal-argument.
16079 2013-10-11 Eli Zaretskii <eliz@gnu.org>
16081 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
16082 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
16083 dropped menu on second mouse click on the menu bar.
16085 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16087 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
16088 (explicit-shell-file-name): Declare.
16089 (sh--vars-before-point, sh--cmd-completion-table): New functions.
16090 (sh-completion-at-point-function): New function.
16092 (sh-smie--keyword-p): Remove unused argument.
16093 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
16095 (sh-set-shell): Always setup SMIE, even if we use the
16096 old indentation code.
16098 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
16100 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
16102 (ruby-smie-rules): Simplify the "do" rule. The cases when the
16103 predicate would return nil are almost non-existent.
16104 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
16106 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
16107 cache also after commands that modify the buffer but don't move
16110 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16112 * env.el (substitute-env-in-file-name): New function.
16113 (substitute-env-vars): Extend the meaning of the optional arg.
16115 2013-10-10 Eli Zaretskii <eliz@gnu.org>
16117 * term/w32-win.el (dynamic-library-alist): Define separate lists
16118 of GIF DLLs for versions before and after 5.0.0 of giflib.
16121 2013-10-10 João Távora <joaotavora@gmail.com>
16123 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
16124 not locked, use last revision and current source as
16125 defaults. (Bug#15569)
16127 2013-10-10 Masatake YAMATO <yamato@redhat.com>
16129 * menu-bar.el (menu-bar-open): Don't use popup-menu if
16130 menu-bar is hidden.
16132 2013-10-10 Martin Rudalics <rudalics@gmx.at>
16134 * window.el (pop-to-buffer-same-window): Fix doc-string.
16137 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16139 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
16141 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
16143 * calendar/icalendar.el (icalendar-import-file):
16144 Fix interactive spec. (Bug#15482)
16146 2013-10-10 Glenn Morris <rgm@gnu.org>
16148 * desktop.el (desktop-save): Default to saving in .emacs.d,
16149 since PWD is no longer in desktop-path by default. (Bug#15319)
16151 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
16152 now that text mode has a menu with the same entry.
16153 (menu-bar-text-mode-auto-fill): Remove now unused func.
16154 * textmodes/text-mode.el (text-mode-map):
16155 Use auto-fill help text from menu-bar.el.
16157 2013-10-10 John Anthony <john@jo.hnanthony.com>
16159 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
16161 2013-10-09 Juri Linkov <juri@jurta.org>
16163 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
16164 instead of this-command-keys. Add universal-argument-more and
16165 universal-argument-minus to the list of prefix commands. (Bug#15568)
16167 2013-10-09 Glenn Morris <rgm@gnu.org>
16169 * vc/vc-svn.el (vc-svn-create-repo):
16170 Expand paths in file://... url. (Bug#15446)
16172 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
16174 (authors): Remove unused local variables.
16176 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16178 * profiler.el: Create a more coherent calltree from partial backtraces.
16179 (profiler-format): Hide the tail with `invisible' so that C-s can still
16180 find the hidden elements.
16181 (profiler-calltree-depth): Don't recurse so enthusiastically.
16182 (profiler-function-equal): New hash-table-test.
16183 (profiler-calltree-build-unified): New function.
16184 (profiler-calltree-build): Use it.
16185 (profiler-report-make-name-part): Indent the calltree less.
16186 (profiler-report-mode): Add visibility specs for profiler-format.
16187 (profiler-report-expand-entry, profiler-report-toggle-entry):
16188 Expand the whole subtree when provided with a prefix arg.
16190 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
16192 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
16194 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
16195 hanging iuwu-mod token.
16196 (ruby-smie--forward-token): Do not include a dot after a token in
16198 (ruby-smie--backward-token): Likewise.
16200 2013-10-08 Juri Linkov <juri@jurta.org>
16202 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
16203 to isearch-other-control-char.
16204 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
16205 and isearch-post-command-hook to post-command-hook.
16206 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
16207 and isearch-post-command-hook from post-command-hook.
16208 (isearch-unread-key-sequence)
16209 (isearch-reread-key-sequence-naturally)
16210 (isearch-lookup-scroll-key, isearch-other-control-char)
16211 (isearch-other-meta-char): Remove functions.
16212 (isearch-pre-command-hook, isearch-post-command-hook):
16213 New functions based on isearch-other-meta-char rewritten
16214 relying on the new behavior of overriding-terminal-local-map
16215 that does not replace the local keymaps any more. (Bug#15200)
16217 2013-10-08 Eli Zaretskii <eliz@gnu.org>
16219 Support menus on text-mode terminals.
16220 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
16223 * tooltip.el (tooltip-mode): Don't error out on TTYs.
16225 * menu-bar.el (popup-menu, popup-menu-normalize-position):
16226 Move here from mouse.el.
16227 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
16229 (tty-menu-navigation-map): New map for TTY menu navigation.
16231 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
16233 * frame.el (display-mouse-p): Report text-mode mouse as available
16235 (display-popup-menus-p): Report availability if mouse is
16236 available; don't condition on window-system.
16238 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
16239 (tty-menu-selected-face): New faces.
16241 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16243 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
16244 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
16245 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
16246 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
16248 (lisp-mode-variables): New `elisp' argument.
16249 (emacs-lisp-mode): Use it.
16250 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
16251 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
16253 * indent.el: Use lexical-binding.
16254 (indent-region): Add progress reporter.
16255 (tab-stop-list): Make it implicitly extend to infinity by repeating the
16257 (indent--next-tab-stop): New function to implement this behavior.
16258 (tab-to-tab-stop, move-to-tab-stop): Use it.
16260 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
16262 * indent.el (indent-rigidly--current-indentation): New function.
16263 (indent-rigidly-map): New var.
16264 (indent-rigidly): Use it to provide interactive mode (bug#8196).
16266 2013-10-08 Bastien Guerry <bzg@gnu.org>
16268 * register.el (insert-register): Fix 2013-10-07 change.
16270 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16272 * progmodes/perl-mode.el: Use lexical-binding.
16273 Remove redundant :group args.
16274 (perl-nochange): Change default to be closer to other major modes's
16276 (perl-indent-line): Don't consider text on current line as a
16277 valid beginning of function from which to indent.
16279 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
16280 with more than one argument (bug#15538).
16282 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
16284 * vc/pcvs.el: Use lexical-binding.
16285 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
16286 environment of `eval'.
16287 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
16288 than a list of expressions. Adjust callers.
16289 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
16291 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
16293 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
16294 case of the dot in a chained method call being on the following line.
16296 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16298 * electric.el (electric-indent-inhibit): New var.
16299 (electric-indent-post-self-insert-function): Use it.
16300 * progmodes/python.el (python-mode): Set it.
16302 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
16305 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
16307 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
16308 (css-mode): Use electric-indent-chars.
16310 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
16311 (font-lock-beg, font-lock-end): Move before first use.
16312 (nxml-mode): Use syntax-propertize-function.
16313 (nxml-after-change, nxml-after-change1): Adjust accordingly.
16314 (nxml-extend-after-change-region): Remove.
16315 * nxml/xmltok.el: Use lexical-binding.
16316 (xmltok-save): Use `declare'.
16317 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
16318 * nxml/nxml-util.el: Use lexical-binding.
16319 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
16321 * nxml/nxml-ns.el: Use lexical-binding.
16322 (nxml-ns-save): Use `declare'.
16323 (nxml-ns-prefixes-for): Avoid add-to-list.
16324 * nxml/rng-match.el: Use lexical-binding.
16325 (rng--ipattern): Use cl-defstruct.
16326 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
16327 (rng-cons-group-after, rng-subst-group-after)
16328 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
16329 Use closures instead of `(lambda...).
16331 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
16333 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
16336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16337 Use `tramp-handle-insert-file-contents'.
16338 (tramp-gvfs-handle-insert-file-contents): Remove function.
16340 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16341 Use `save-restriction' in order to keep markers.
16343 * net/trampver.el: Update release number.
16345 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16347 * progmodes/compile.el (compilation-parse-errors):
16348 Use compilation--put-prop.
16349 (compilation--ensure-parse): Check compilation-multiline.
16351 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
16353 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
16356 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
16358 * progmodes/ruby-mode.el: Fix recently added tests.
16359 (ruby-smie-grammar): Add - and +.
16360 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
16361 (ruby-smie--backward-id): New functions.
16362 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
16363 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
16366 2013-10-07 Leo Liu <sdl.web@gmail.com>
16368 * register.el (register-preview-delay)
16369 (register-preview-functions): New variables.
16370 (register-read-with-preview, register-preview)
16371 (register-describe-oneline): New functions.
16372 (point-to-register, window-configuration-to-register)
16373 (frame-configuration-to-register, jump-to-register)
16374 (number-to-register, view-register, insert-register)
16375 (copy-to-register, append-to-register, prepend-to-register)
16376 (copy-rectangle-to-register): Use register-read-with-preview to
16377 read register. (Bug#15525)
16379 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
16381 * net/network-stream.el (network-stream-open-starttls): Don't add
16382 --insecure if it's already present, because that gnutls-cli
16383 rejects getting that parameter twice.
16385 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
16387 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
16390 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
16392 * newcomment.el (comment-use-global-state): Change default value
16393 to t, mark obsolete (Bug#15251).
16394 (comment-beginning): In addition to `comment-to-syntax', check the
16395 value of `comment-use-global-state'.
16397 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16399 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
16400 (ruby-comment-column): Follow the global default, by default.
16401 (ruby-smie-grammar): Add assignment syntax.
16402 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
16403 open-paren, a comma, or a \.
16404 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
16405 and line continuations.
16406 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
16407 followed by implicit semi-colons. Add rule for string concatenation
16408 and for indentation at BOB.
16409 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
16411 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
16412 calling next-sexp, since next-token may have skipped chars which
16413 next-sexp doesn't know should be skipped!
16415 2013-10-05 Leo Liu <sdl.web@gmail.com>
16417 * progmodes/octave.el (octave-send-region):
16418 Call compilation-forget-errors.
16420 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16422 * vc/vc-svn.el (vc-svn-find-admin-dir):
16423 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
16424 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
16425 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
16426 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
16428 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16430 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
16432 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16434 * subr.el (read-passwd): Hide chars even when called within a context
16435 where after-change-functions is disabled (bug#15501).
16436 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
16437 until we removed ourself from overriding-terminal-local-map.
16439 2013-10-04 Leo Liu <sdl.web@gmail.com>
16441 * progmodes/octave.el (inferior-octave-mode):
16442 Call compilation-forget-errors.
16444 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16446 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
16448 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
16450 * net/secrets.el (secrets-create-collection): Add optional
16451 argument ALIAS. Use proper Label keyword. Append ALIAS as
16452 dbus-call-method argument. (Bug#15516)
16454 2013-10-04 Leo Liu <sdl.web@gmail.com>
16456 * progmodes/octave.el (inferior-octave-error-regexp-alist)
16457 (inferior-octave-compilation-font-lock-keywords): New variables.
16458 (compilation-error-regexp-alist)
16459 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
16460 (inferior-octave-mode): Use compilation-shell-minor-mode.
16462 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
16464 * minibuffer.el (completion--replace): Be careful that `end' might be
16467 2013-10-03 Daiki Ueno <ueno@gnu.org>
16469 Add support for package signature checking.
16470 * emacs-lisp/package.el (url-http-file-exists-p)
16471 (epg-make-context, epg-context-set-home-directory)
16472 (epg-verify-string, epg-context-result-for)
16473 (epg-signature-status, epg-signature-to-string)
16474 (epg-check-configuration, epg-configuration)
16475 (epg-import-keys-from-file): Declare.
16476 (package-check-signature): New user option.
16477 (package-unsigned-archives): New user option.
16478 (package-desc): Add `signed' field.
16479 (package-load-descriptor): Set `signed' field if .signed file exists.
16480 (package--archive-file-exists-p): New function.
16481 (package--check-signature): New function.
16482 (package-install-from-archive): Check package signature.
16483 (package--download-one-archive): Check archive signature.
16484 (package-delete): Remove .signed file.
16485 (package-import-keyring): New command.
16486 (package-refresh-contents): Import default keyring.
16487 (package-desc-status): Add "unsigned" status.
16488 (describe-package-1, package-menu--print-info)
16489 (package-menu-mark-delete, package-menu--find-upgrades)
16490 (package-menu--status-predicate): Support "unsigned" status.
16492 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16494 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
16495 the new compilation scheme using the new byte-codes.
16497 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
16498 (byte-pophandler): New byte codes.
16499 (byte-goto-ops): Adjust accordingly.
16500 (byte-compile--use-old-handlers): New var.
16501 (byte-compile-catch): Use new byte codes depending on
16502 byte-compile--use-old-handlers.
16503 (byte-compile-condition-case--old): Rename from
16504 byte-compile-condition-case.
16505 (byte-compile-condition-case--new): New function.
16506 (byte-compile-condition-case): New function that dispatches depending
16507 on byte-compile--use-old-handlers.
16508 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
16511 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
16512 Optimize under `condition-case' and `catch' if
16513 byte-compile--use-old-handlers is nil.
16514 (disassemble-offset): Handle new bytecodes.
16516 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16518 * subr.el (error): Use `declare'.
16519 (decode-char, encode-char): Use advertised-calling-convention instead
16520 of the docstring to discourage use of the `restriction' arg.
16522 2013-10-03 Daiki Ueno <ueno@gnu.org>
16524 * epg.el (epg-verify-file): Add a comment saying that it does not
16525 notify verification error as a return value nor a signal.
16526 (epg-verify-string): Ditto.
16528 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16530 * progmodes/compile.el (compilation-start): Try globbing the arg to
16533 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
16535 Sync with Tramp 2.2.8.
16537 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
16538 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
16539 * net/trampver.el: Update release number.
16541 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
16543 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16544 and default-process-coding-system for darwin only.
16546 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16548 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
16550 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
16552 * vc/vc-git.el (vc-git-grep): Disable pager.
16554 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
16556 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
16557 Use :url instead of :homepage, as per
16558 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
16560 * newcomment.el (comment-beginning): When `comment-use-syntax' is
16561 non-nil, use `syntax-ppss' (Bug#15251).
16563 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16565 * progmodes/octave.el (inferior-octave-startup-file):
16566 Prefer ~/.emacs.d/init_octave.m.
16568 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
16570 * emacs-lisp/package.el (package-desc-from-define):
16571 Accept additional arguments as plist, convert them to an alist and store
16572 them in the `extras' slot.
16573 (package-generate-description-file): Convert extras alist back to
16574 plist and append to the `define-package' form arguments.
16575 (package--alist-to-plist): New function.
16576 (package--ac-desc): Add `extras' slot.
16577 (package--add-to-archive-contents): Check if the archive-contents
16578 vector is long enough, and if it is, pass its `extras' slot value
16579 to `package-desc-create'.
16580 (package-buffer-info): Call `lm-homepage', pass the returned value
16581 to `package-desc-from-define'.
16582 (describe-package-1): Render the homepage button (Bug#13291).
16584 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16585 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
16587 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
16589 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16590 and default-process-coding-system to utf-8-unix (Bug#15402).
16592 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
16594 * subr.el (looking-back): Do not recommend using looking-back.
16596 2013-09-28 Alan Mackenzie <acm@muc.de>
16598 Fix indentation/fontification of Java enum with "implements".
16600 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
16601 regexp which matches "implements", etc., in Java.
16602 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
16603 specifier clauses coming after "enum".
16604 * progmodes/cc-fonts.el (c-font-lock-declarations)
16605 (c-font-lock-enum-tail): Check for extra specifier clauses coming
16608 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
16610 * faces.el (region): Change ns_selection_color to
16611 ns_selection_fg_color, add ns_selection_bg_color.
16613 2013-09-28 Leo Liu <sdl.web@gmail.com>
16615 * progmodes/octave.el (inferior-octave-completion-table)
16616 (inferior-octave-completion-at-point): Minor tweaks.
16618 * textmodes/ispell.el (ispell-lookup-words): Rename from
16619 lookup-words. (Bug#15460)
16620 (lookup-words): Obsolete.
16621 (ispell-complete-word, ispell-command-loop): All uses changed.
16623 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16625 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
16626 (octave-mode-menu): Add octave-send-buffer.
16627 (octave-send-buffer): New function.
16629 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16631 * progmodes/octave.el (octave-mode-map): Add key binding for
16633 (octave-mode-menu): Add octave-lookfor.
16634 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
16636 (octave-lookfor): New function.
16638 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16640 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
16641 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
16643 (cl--loop-set-iterator-function): New function.
16644 (cl-loop): Adjust accordingly, so as not to use cl-subst.
16645 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
16646 Bind `it' with `let' instead of substituting it with `cl-subst'.
16647 (cl--unused-var-p): New function.
16648 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
16649 Eliminate some unused variable warnings (bug#15326).
16651 2013-09-27 Tassilo Horn <tsdh@gnu.org>
16653 * doc-view.el (doc-view-scale-reset): Rename from
16654 `doc-view-reset-zoom-level'.
16655 (doc-view-scale-adjust): New command.
16656 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
16657 `doc-view-scale-adjust'.
16659 2013-09-26 Tassilo Horn <tsdh@gnu.org>
16661 * doc-view.el (doc-view-reset-zoom-level): New command.
16662 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16663 zoom commands (bug#15466).
16665 2013-09-26 Kenichi Handa <handa@gnu.org>
16667 * international/quail.el (quail-help): Make it not a command.
16669 2013-09-26 Leo Liu <sdl.web@gmail.com>
16671 * minibuffer.el (completion-all-sorted-completions): Make args
16672 optional as they are.
16674 2013-09-25 Daniel Colascione <dancol@dancol.org>
16676 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16677 specs are and that they're not evaluated.
16679 2013-09-24 Sam Steingold <sds@gnu.org>
16681 * midnight.el (clean-buffer-list-kill-regexps)
16682 (clean-buffer-list-kill-buffer-names): Update for the new Man
16683 buffer naming which includes the object name.
16685 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16687 * eshell/esh-cmd.el (eshell--sep-terms): New var.
16688 (eshell-parse-command, eshell-parse-pipeline): Use it since
16689 eshell-separate-commands requires a dynamic scoped var.
16690 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16692 2013-09-23 Leo Liu <sdl.web@gmail.com>
16694 * autoinsert.el (auto-insert-alist): Make the value of
16695 lexical-binding match its file setting.
16697 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
16699 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16701 * autoarg.el (autoarg-kp-digit-argument):
16702 * electric.el (Electric-command-loop):
16703 * kmacro.el (kmacro-step-edit-insert):
16704 Do not set universal-argument-num-events.
16706 2013-09-22 Leo Liu <sdl.web@gmail.com>
16708 * files.el (interpreter-mode-alist): Add octave.
16710 2013-09-21 Alan Mackenzie <acm@muc.de>
16712 C++: fontify identifier in declaration following "public:" correctly.
16713 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16714 to match "public", etc.
16715 (c-decl-prefix-re): Add ":" into the C++ value.
16716 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16717 bit. Add a check for a ":" preceded by "public", etc.
16719 2013-09-21 Eli Zaretskii <eliz@gnu.org>
16721 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16722 recognized by GDB 7.5 and later.
16724 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
16726 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16728 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16730 * subr.el (internal--call-interactively): New const.
16731 (called-interactively-p): Use it (bug#3984).
16733 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
16735 * vc/pcvs.el (cvs-mode-ignore):
16736 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16737 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16739 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16741 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
16742 (eshell-ls-orig-insert-directory): Remove.
16743 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
16744 (eshell-ls-use-in-dired): Use advice-add/remove.
16745 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16746 Add `orig-fun' arg for use in :around advice.
16747 Make it check (redundantly) eshell-ls-use-in-dired.
16749 2013-09-19 Glenn Morris <rgm@gnu.org>
16751 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16753 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16755 * emacs-lisp/eieio.el (class-parent): Undo previous change.
16757 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
16759 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16760 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16761 (tramp-get-remote-python): New defuns.
16762 (tramp-get-remote-uid-with-perl)
16763 (tramp-get-remote-gid-with-perl): New defuns. Perl code
16764 contributed by yary <not.com@gmail.com> (tiny change).
16765 (tramp-get-remote-uid-with-python)
16766 (tramp-get-remote-gid-with-python): New defuns. Python code
16767 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16768 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16770 2013-09-19 Glenn Morris <rgm@gnu.org>
16772 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16774 * eshell/em-unix.el (eshell-remove-entries):
16775 Rename argument to avoid name-clash with global `top-level'.
16777 * eshell/esh-proc.el (eshell-kill-process-function):
16778 Remove eshell-reset-after-proc from eshell-kill-hook if present.
16779 (eshell-reset-after-proc): Remove unused arg `proc'.
16781 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16782 (directory-files-and-attributes): Mark unused arg.
16784 * eshell/em-unix.el (eshell-remove-entries):
16785 Remove unused arg `path'. Update callers.
16787 * eshell/em-hist.el (eshell-hist-parse-arguments):
16788 Remove unused arg `silent'. Update callers.
16790 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16791 Fix (f)boundp mix-up.
16793 * eshell/em-smart.el (eshell-smart-scroll-window)
16794 (eshell-disable-after-change):
16795 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16797 2013-09-18 Alan Mackenzie <acm@muc.de>
16799 Fix fontification of type when followed by "const".
16800 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16801 "known" types from fontification.
16803 2013-09-18 Glenn Morris <rgm@gnu.org>
16805 * emacs-lisp/chart.el (x-display-color-cells): Declare.
16806 (chart-face-list): Drop Emacsen without display-color-p.
16808 * net/eww.el (libxml-parse-html-region): Declare.
16809 (eww-display-html): Explicit error if no libxml2 support.
16811 * doc-view.el (doc-view-mode): Silence --without-x compilation.
16813 * image.el (image-type-from-buffer, image-multi-frame-p):
16814 Remove --without-x warning/error.
16816 * mouse.el (mouse-yank-primary):
16817 * term.el (term-mouse-paste):
16818 Reorder to silence --without-x compilation.
16820 * mpc.el (doc-view-mode): Silence --without-x compilation.
16822 * mail/rmailmm.el (rmail-mime-set-bulk-data):
16823 Silence --without-x compilation.
16825 * progmodes/gud.el (gud-find-file, gud-mode):
16826 Silence --without-x compilation.
16827 (tooltip-mode): Declare.
16829 * wdired.el (dired-backup-overwrite): Remove declaration.
16830 (wdired-mode-map): Add doc string.
16832 * custom.el (x-get-resource): Declare.
16834 * eshell/em-glob.el (ange-cache):
16835 * eshell/em-unix.el (ange-cache): Declare.
16837 * faces.el (x-display-list, x-open-connection, x-get-resource):
16840 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16841 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16844 * frame.el (x-display-grayscale-p, x-display-name): Declare.
16846 * net/gnutls.el (gnutls-log-level): Declare.
16848 * net/shr.el (image-size, image-animate): Declare.
16850 * simple.el (font-info): Declare.
16852 * subr.el (x-popup-dialog): Declare.
16854 * term/common-win.el (x-select-enable-primary)
16855 (x-last-selected-text-primary, x-last-selected-text-clipboard):
16858 * term/ns-win.el (x-handle-args): Declare.
16860 * term/x-win.el (x-select-enable-clipboard): Declare.
16862 * term/w32-win.el (create-default-fontset): Declare.
16864 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16867 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16868 (fit-frame-to-buffer): Explicit error if --without-x.
16869 (mouse-autoselect-window-select): Silence compiler.
16871 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16873 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16874 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16875 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16876 * eshell/esh-util.el (eshell-sublist):
16877 Remove unused local variables.
16879 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16881 * textmodes/two-column.el: Make 2C-split work for --without-x.
16882 (scroll-bar-columns): Autoload.
16883 (top-level): Require fringe when compiling.
16885 2013-09-18 Leo Liu <sdl.web@gmail.com>
16887 * subr.el (add-hook): Robustify to handle closure as well.
16889 2013-09-17 Glenn Morris <rgm@gnu.org>
16891 * simple.el (messages-buffer-mode-map): Unbind "g".
16893 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16895 * help-mode.el (help-mode-finish): Use derived-mode-p.
16896 Remove obsolete highlighting.
16898 * play/life.el (life-mode): Use define-derived-mode. Derive from
16900 (life): Let-bind inhibit-read-only.
16901 (life-setup): Avoid `setq'. Use `life-mode'.
16903 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16904 which should not be needed any more.
16905 (package-menu-refresh, package-menu-describe-package): Use user-error.
16907 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16908 (eshell-post-rewrite-command-hook): Make obsolete.
16909 (eshell-parse-command): Simplify.
16910 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16911 (eshell--cmd): Declare.
16912 (eshell-parse-pipeline): Remove unused var `final-p'.
16913 Pass a dynvar to eshell-post-rewrite-command-hook.
16914 Implement the new eshell-post-rewrite-command-function.
16915 (eshell-invoke-directly): Remove unused arg `input'.
16916 * eshell/esh-io.el (eshell-io-initialize):
16917 Use eshell-post-rewrite-command-function (bug#15399).
16918 (eshell--apply-redirections): Rename from eshell-apply-redirections;
16919 adjust to new calling convention.
16920 (eshell-create-handles): Rename args to avoid clashing with dynvar
16923 2013-09-17 Glenn Morris <rgm@gnu.org>
16925 * simple.el (messages-buffer-mode): New major mode.
16926 (messages-buffer): New function.
16927 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16928 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16929 (ert-run-test): Use `messages-buffer' function.
16930 (ert--force-message-log-buffer-truncation): Ignore read-only.
16931 * help.el (view-echo-area-messages): Use `messages-buffer' function.
16932 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16934 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16936 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16938 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16940 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16942 * icomplete.el (icomplete-in-buffer): New var.
16943 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16944 vars and replace them with functions.
16945 (icomplete-minibuffer-setup): Adjust accordingly.
16946 (icomplete--completion-table, icomplete--completion-predicate)
16947 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16949 (icomplete-forward-completions, icomplete-backward-completions)
16950 (icomplete-simple-completing-p, icomplete-exhibit)
16951 (icomplete-completions): Use them.
16952 (icomplete--in-region-buffer): New var.
16953 (icomplete--in-region-setup): New function.
16954 (icomplete-mode): Use it.
16956 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
16958 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
16959 return args and options.
16960 (eshell-eval-using-options): Use the new return value of
16961 eshell--do-opts to set the options's vars in their scope.
16962 (eshell--set-option): Rename from eshell-set-option.
16963 Add arg `opt-vals'.
16964 (eshell--process-option): Rename from eshell-process-option.
16965 Add arg `opt-vals'.
16966 (eshell--process-args): Use an `opt-vals' alist to store the options's
16967 values during their processing and return them additionally to the
16970 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
16972 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
16973 continuation character an operator, as far as indentation is
16974 concerned (Bug#15369).
16976 2013-09-15 Martin Rudalics <rudalics@gmx.at>
16978 * window.el (window--state-put-2): Don't process buffer state
16979 when buffer doesn't exist any more (Bug#15382).
16981 2013-09-15 Glenn Morris <rgm@gnu.org>
16983 * eshell/em-unix.el (eshell/rm):
16984 Make -f ignore missing files. (Bug#15373)
16986 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
16987 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
16988 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
16990 2013-09-14 Glenn Morris <rgm@gnu.org>
16992 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
16994 2013-09-13 Glenn Morris <rgm@gnu.org>
16996 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
16997 (dired-guess-default): Make `file' available in the env. (Bug#15363)
16999 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
17001 * frame.el (x-focus-frame): Mark as declared in frame.c.
17003 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17005 * ls-lisp.el: Use advice-add.
17006 (original-insert-directory): Remove.
17007 (ls-lisp--insert-directory): Rename from insert-directory; add
17008 `orig-fun' argument.
17009 (insert-directory): Advise.
17011 2013-09-13 Eli Zaretskii <eliz@gnu.org>
17013 * term.el (term-emulate-terminal): Decode the command string
17014 before passing it to term-command-hook. (Bug#15337)
17016 2013-09-13 Glenn Morris <rgm@gnu.org>
17018 * eshell/esh-util.el (ange-cache): Move declaration earlier.
17020 * eshell/esh-ext.el (eshell-search-path): Declare.
17022 * eshell/em-prompt.el (eshell/pwd): Autoload it.
17023 Otherwise an error occurs if eshell-dirs module not loaded.
17025 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17027 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
17029 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17030 `tramp-check-proper-host'. Check for a valid method name.
17032 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17033 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17034 * net/tramp-sh.el (tramp-maybe-open-connection):
17035 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17037 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17038 also for hash values.
17040 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17042 * term/ns-win.el (parameters): Don't declare as dynamic.
17043 (before-make-frame-hook): Don't add ineffective function.
17045 * eshell/*.el: Use lexical-binding (bug#15231).
17047 2013-09-12 Kenichi Handa <handa@gnu.org>
17049 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17051 2013-09-12 Glenn Morris <rgm@gnu.org>
17053 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17054 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17056 * subr.el (do-after-load-evaluation): Also give compiler warnings
17057 when obsolete files are used (except by obsolete files).
17059 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
17060 in the status output, assume `filename' is the first. (Bug#15322)
17062 * vc/vc.el (vc-deduce-fileset): Doc fix.
17064 * calc/calc-help.el (Info-goto-node):
17065 * progmodes/cperl-mode.el (Info-find-node):
17066 * vc/ediff.el (Info-goto-node): Update declarations.
17068 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
17070 * vc/vc-bzr.el (vc-compilation-mode): Declare.
17071 (vc-bzr-pull): Require vc-dispatcher.
17072 * vc/vc-git.el (vc-compilation-mode): Declare.
17073 (vc-git-pull): Require vc-dispatcher.
17075 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
17077 * progmodes/octave.el (help-button-action): Declare.
17079 * shell.el (shell-directory-tracker): Output error as a message
17080 rather than just returning it as a string.
17081 (shell-process-pushd): Remove useless use of message.
17083 * dframe.el (dframe-timer-fn):
17084 * files.el (dir-locals-read-from-file):
17085 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
17087 * reveal.el (reveal-post-command):
17088 * saveplace.el (load-save-place-alist-from-file):
17089 * shell.el (shell-resync-dirs):
17090 * w32-common-fns.el (x-get-selection-value):
17091 * emacs-lisp/copyright.el (copyright-find-copyright):
17092 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
17093 * emulation/tpu-edt.el (tpu-copy-keyfile):
17094 * play/bubbles.el (bubbles--mark-neighbourhood):
17095 * progmodes/executable.el
17096 (executable-make-buffer-file-executable-if-script-p):
17097 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
17099 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17101 Cleanup Eshell to rely less on dynamic scoping.
17102 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
17103 last-value, and ext-command here. Bind `args' closer to `body'.
17104 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
17105 (eshell--args): Declare new dynamic var.
17106 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
17107 last-value, and ext-command. Pass `args' to `body'.
17108 (eshell-process-args): Bind eshell--args.
17109 (eshell-set-option): Use eshell--args.
17110 * eshell/eshell.el (eshell): Use derived-mode-p.
17111 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
17112 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
17113 (eshell-glob-function): Declare.
17114 * eshell/esh-util.el: Require cl-lib.
17115 (eshell-read-hosts-file): Avoid add-to-list.
17116 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
17118 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
17120 (eshell/diff): Remove unused var `err'.
17121 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
17123 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
17124 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
17126 * eshell/em-glob.el (eshell-glob-matches, message-shown):
17127 Move declaration before first use.
17128 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
17129 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
17132 2013-09-12 Glenn Morris <rgm@gnu.org>
17134 * term/ns-win.el (global-map): Remove binding for ispell-next,
17135 deleted 1999-05-29. (Bug#15357)
17137 2013-09-11 Glenn Morris <rgm@gnu.org>
17139 * echistory.el (electric-command-history): Remove call to deleted func.
17141 * play/landmark.el (landmark-mode): Fix typos.
17143 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
17144 Check cvs-sort-ignore-file is bound.
17146 * savehist.el: No need for cl when compiling on Emacs.
17148 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17150 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
17152 (eshell-self-insert-command, eshell-send-invisible):
17153 Remove unused argument.
17154 (eshell-handle-control-codes): Remove unused var `orig'.
17155 Avoid delete-backward-char.
17157 * files.el (set-auto-mode): Simplify a bit further.
17159 2013-09-11 Glenn Morris <rgm@gnu.org>
17161 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
17162 (set-auto-mode): Don't regexp-quote elements.
17163 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
17164 * progmodes/cc-mode.el (interpreter-mode-alist):
17165 * progmodes/ruby-mode.el (interpreter-mode-alist):
17166 Revert previous change.
17168 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17170 * play/snake.el (snake-mode):
17171 * play/mpuz.el (mpuz-mode):
17172 * play/landmark.el (lm-mode):
17173 * play/blackbox.el (blackbox-mode):
17174 * play/5x5.el (5x5-mode):
17175 * obsolete/options.el (Edit-options-mode):
17176 * net/quickurl.el (quickurl-list-mode):
17177 * net/newst-treeview.el (newsticker-treeview-mode):
17178 * mail/rmailsum.el (rmail-summary-mode):
17179 * mail/mspools.el (mspools-mode):
17180 * locate.el (locate-mode):
17181 * ibuffer.el (ibuffer-mode):
17182 * emulation/ws-mode.el (wordstar-mode):
17183 * emacs-lisp/debug.el (debugger-mode):
17184 * array.el (array-mode):
17185 * net/eudc.el (eudc-mode): Use define-derived-mode.
17186 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
17187 Move initialization into declaration.
17188 (mairix-searches-mode): Use define-derived-mode.
17189 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
17190 (eudc-edit-hotlist): Use dolist.
17191 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
17192 (Man-mode): Use define-derived-mode.
17193 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
17194 (Info-edit-mode): Use define-derived-mode.
17195 (Info-cease-edit): Use Info-mode.
17196 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
17198 (eshell-mode): Use define-derived-mode.
17199 * chistory.el (command-history-mode-map): Rename from
17200 command-history-map.
17201 (command-history-mode): Use define-derived-mode.
17202 (Command-history-setup): Remove function.
17203 * calc/calc.el (calc-trail-mode-map): New var.
17204 (calc-trail-mode): Use define-derived-mode.
17205 (calc-trail-buffer): Set calc-main-buffer manually.
17206 * bookmark.el (bookmark-insert-annotation): New function.
17207 (bookmark-edit-annotation): Use it.
17208 (bookmark-edit-annotation-mode): Make it a proper major mode.
17209 (bookmark-send-edited-annotation): Use derived-mode-p.
17210 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
17211 closer to its ideal place. Use \' to match EOS.
17213 * profiler.el (profiler-calltree-find): Use function-equal.
17215 2013-09-10 Glenn Morris <rgm@gnu.org>
17217 * files.el (interpreter-mode-alist): Convert to regexps.
17218 (set-auto-mode): Adapt for this. (Bug#15306)
17219 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
17220 Comment out unused variable.
17221 * progmodes/cc-mode.el (interpreter-mode-alist):
17222 * progmodes/python.el (interpreter-mode-alist):
17223 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
17224 * progmodes/sh-script.el (sh-set-shell):
17225 No longer use interpreter-mode-alist to get list of shells.
17227 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
17229 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17231 * simple.el: Use set-temporary-overlay-map for universal-argument.
17232 (universal-argument-map): Don't use default-bindings (bug#15317).
17233 Bind switch-frame explicitly. Replace universal-argument-minus with
17234 a conditional binding.
17235 (universal-argument-num-events, saved-overriding-map): Remove.
17236 (restore-overriding-map): Remove.
17237 (universal-argument--mode): Rename from save&set-overriding-map,
17239 (universal-argument, universal-argument-more, negative-argument)
17240 (digit-argument): Adjust accordingly.
17241 (universal-argument-minus): Remove.
17242 (universal-argument-other-key): Remove.
17244 * subr.el (with-demoted-errors): Add `format' argument.
17246 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
17248 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
17249 `tramp-cleanup-connection'.
17251 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
17252 parameters KEEP-DEBUG and KEEP-PASSWORD.
17254 * net/tramp.el (tramp-file-name-handler):
17255 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17256 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17257 (tramp-maybe-open-connection):
17258 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17259 Use `tramp-cleanup-connection'.
17261 * net/tramp-sh.el (tramp-maybe-open-connection):
17262 Catch 'uname-changed inside the progress reporter.
17264 2013-09-10 Glenn Morris <rgm@gnu.org>
17266 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
17268 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
17269 returns "alternate access method" in mode (eg "-rw-r--r--.").
17271 2013-09-08 Glenn Morris <rgm@gnu.org>
17273 * saveplace.el (load-save-place-alist-from-file):
17274 Demote errors. (Bug#15305)
17276 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
17278 Improve compatibility with older Emacsen, and XEmacs.
17280 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
17281 only if it is bound. It isn't for XEmacs.
17282 (with-tramp-progress-reporter): Do not let-bind `result'.
17283 This yields to scoping errors in XEmacs.
17284 (tramp-handle-make-auto-save-file-name): New function, moved from
17287 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
17288 for `make-auto-save-file-name'.
17289 (tramp-adb--gnu-switches-to-ash):
17290 Use `tramp-compat-replace-regexp-in-string'.
17292 * net/tramp-cache.el (tramp-cache-print): Call
17293 `substring-no-properties' only if it is bound. It isn't for XEmacs.
17295 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
17296 bound. It isn't for XEmacs.
17298 * net/tramp-compat.el (tramp-compat-copy-file):
17299 Catch `wrong-number-of-arguments' error.
17300 (tramp-compat-replace-regexp-in-string): New defun.
17302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
17303 for `make-auto-save-file-name'.
17304 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
17306 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
17307 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
17308 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
17310 * net/tramp-gw.el (tramp-gw-open-network-stream):
17311 Use `tramp-compat-replace-regexp-in-string'.
17313 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17314 Call `tramp-handle-make-auto-save-file-name'.
17315 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
17316 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17317 (tramp-sh-file-inotifywait-process-filter):
17318 Use `tramp-compat-replace-regexp-in-string'.
17319 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
17321 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
17322 for `make-auto-save-file-name'.
17323 (tramp-smb-handle-copy-directory):
17324 Call `tramp-compat-replace-regexp-in-string'.
17325 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
17326 (tramp-smb-handle-copy-file): Improve error message.
17327 (tramp-smb-handle-rename-file): Rename directly only in case
17328 `newname' does not exist yet. This is a restriction of smbclient.
17329 (tramp-smb-maybe-open-connection): Rerun the function only when
17330 `auth-sources' is non-nil.
17332 2013-09-08 Kenichi Handa <handa@gnu.org>
17334 * international/characters.el: Set category "^" (Combining) for
17337 2013-09-07 Alan Mackenzie <acm@muc.de>
17339 Correctly fontify Java class constructors.
17340 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
17342 (c-recognize-typeless-decls): Set the Java value to t.
17343 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17344 While handling a "(", add a check for, effectively, Java, and handle a
17345 "typeless" declaration there.
17347 2013-09-07 Roland Winkler <winkler@gnu.org>
17349 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
17350 field subtitle for entry type book.
17352 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * minibuffer.el: Make minibuffer-complete call completion-in-region
17355 rather than other way around.
17356 (completion--some, completion-pcm--find-all-completions):
17357 Don't delay signals when debugging.
17358 (minibuffer-completion-contents): Beware fields within the
17359 minibuffer contents.
17360 (completion-all-sorted-completions): Use defvar-local.
17361 (completion--do-completion, completion--cache-all-sorted-completions)
17362 (completion-all-sorted-completions, minibuffer-force-complete):
17363 Add args `beg' and `end'.
17364 (completion--in-region-1): New fun, extracted from minibuffer-complete.
17365 (minibuffer-complete): Use completion-in-region.
17366 (completion-complete-and-exit): New fun, extracted from
17367 minibuffer-complete-and-exit.
17368 (minibuffer-complete-and-exit): Use it.
17369 (completion--complete-and-exit): Rename from
17370 minibuffer--complete-and-exit.
17371 (completion-in-region--single-word): New function, extracted from
17372 minibuffer-complete-word.
17373 (minibuffer-complete-word): Use it.
17374 (display-completion-list): Make `common-substring' argument obsolete.
17375 (completion--in-region): Call completion--in-region-1 instead of
17376 minibuffer-complete.
17377 (completion-help-at-point): Pass boundaries to
17378 minibuffer-completion-help as args rather than via an overlay.
17379 (completion-pcm--string->pattern): Use `any-delim'.
17380 (completion-pcm--optimize-pattern): New function.
17381 (completion-pcm--pattern->regex): Handle `any-delim'.
17382 * icomplete.el (icomplete-forward-completions)
17383 (icomplete-backward-completions, icomplete-completions):
17384 Adjust calls to completion-all-sorted-completions and
17385 completion--cache-all-sorted-completions.
17386 (icomplete-with-completion-tables): Default to t.
17387 * emacs-lisp/crm.el (crm--current-element): Rename from
17388 crm--select-current-element. Don't put an overlay but return the
17389 boundaries instead.
17390 (crm--completion-command): Take two new args to bind to the boundaries.
17391 (crm-completion-help): Adjust accordingly.
17392 (crm-complete): Use completion-in-region.
17393 (crm-complete-word): Use completion-in-region--single-word.
17394 (crm-complete-and-exit): Use completion-complete-and-exit.
17396 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
17401 2013-09-06 Juri Linkov <juri@jurta.org>
17403 * info.el (Info-display-images-node): When image file doesn't exist
17404 display text version of the image if it's provided in the Info file.
17405 Otherwise, display the location of missing image from SRC attribute.
17406 Add help-echo text property from ALT attribute. (Bug#15279)
17408 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17410 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
17411 (edit-abbrevs-mode): Use define-derived-mode.
17413 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
17414 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
17416 (epa-key-list-mode, epa-key-mode, epa-info-mode):
17417 Use define-derived-mode.
17419 * epg.el (epg-start-encrypt): Minor CSE simplification.
17421 2013-09-06 William Xu <william.xwl@gmail.com>
17423 * arc-mode.el: Add support for 7za (bug#15264).
17424 (archive-7z-program): New var.
17425 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
17426 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
17427 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
17429 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
17433 * net/tramp.el (tramp-syntax, tramp-prefix-format)
17434 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
17435 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
17436 (tramp-postfix-host-format, tramp-file-name-regexp)
17437 (tramp-completion-file-name-regexp)
17438 (tramp-completion-dissect-file-name)
17439 (tramp-handle-substitute-in-file-name): Remove 'url case.
17440 (tramp-file-name-regexp-url)
17441 (tramp-completion-file-name-regexp-url): Remove constants.
17443 2013-09-06 Glenn Morris <rgm@gnu.org>
17445 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
17447 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
17449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
17450 keywords" below "here-doc beginnings" (Bug#15270).
17452 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17454 * subr.el (pop): Use `car-safe'.
17455 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
17456 to detect unused `pop' return value.
17458 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
17459 var `block-regexp'.
17460 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
17461 (python-fill-string): Remove unused var `marker'.
17462 (python-skeleton-add-menu-items): Remove unused var `items'.
17464 * international/mule-cmds.el: Require CL.
17465 (find-coding-systems-for-charsets): Avoid add-to-list.
17466 (sanitize-coding-system-list): New function, extracted from
17467 select-safe-coding-system-interactively.
17468 (select-safe-coding-system-interactively): Use it.
17469 (read-input-method-name): Accept symbols for `default'.
17471 * emacs-lisp/advice.el (defadvice): Add indent rule.
17473 2013-09-05 Daniel Hackney <dan@haxney.org>
17477 * net/browse-url.el:
17480 * net/eudcb-ldap.el:
17484 * vc/ediff-diff.el:
17485 * vc/ediff-init.el:
17486 * vc/ediff-merg.el:
17487 * vc/ediff-mult.el:
17488 * vc/ediff-util.el:
17489 * vc/ediff-wind.el:
17493 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
17494 byte compiler. Remove some unused let-bound variables.
17496 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17498 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
17499 a "ref-cell", since it gets better optimized (bug#14883).
17501 2013-09-05 Glenn Morris <rgm@gnu.org>
17503 * progmodes/cc-awk.el (c-forward-sws): Declare.
17505 2013-09-04 Glenn Morris <rgm@gnu.org>
17507 * generic-x.el [rul-generic-mode]: Require cc-mode.
17508 (c++-mode-syntax-table): Declare.
17509 (rul-generic-mode-syntax-table): Init in the defvar.
17511 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17513 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
17514 (vc-do-command, vc-set-async-update):
17515 * vc/vc-mtn.el (vc-mtn-dir-status):
17516 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
17517 (vc-hg-pull, vc-hg-merge-branch):
17518 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
17519 (vc-git-merge-branch):
17520 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
17521 (vc-cvs-dir-status-files):
17522 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
17523 (vc-bzr-dir-status-files):
17524 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
17525 * vc/vc-annotate.el: Use lexical-binding.
17526 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
17527 (vc-sentinel-movepoint): Declare.
17528 (vc-annotate): Don't use `goto-line'.
17529 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
17530 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
17531 (vc-sentinel-movepoint): Declare.
17532 * vc/vc-svn.el: Use lexical-binding.
17533 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
17535 * vc/vc-rcs.el: Use lexical-binding.
17537 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
17538 `deleted'. Don't drop errors silently.
17540 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
17542 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
17544 * vc/vc.el (vc-ignore): Rewrite.
17545 (vc-default-ignore): New function.
17546 (vc-default-ignore-completion-table): Use find-ignore-file.
17548 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
17549 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
17550 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
17551 Remove. Most code moved to vc.el.
17553 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
17555 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
17556 * net/tramp-smb.el (tramp-smb-get-file-entries):
17557 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
17558 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
17560 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
17562 (eww-change-select): Remove unused var `properties'.
17563 (eww-make-unique-file-name): Remove unused var `base'.
17565 * finder.el (finder-compile-keywords): Don't mess with windows.
17567 * calculator.el (calculator-funcall): Fix typo in last change.
17569 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
17571 * emacs-lisp/package.el (package-activate-1): Don't let a missing
17572 <pkg>-autoloads.el file stop us.
17574 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
17575 warnings, and factor out common code.
17577 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
17579 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
17580 two-character operators and whether the character preceding them
17581 changes their meaning (Bug#15208).
17583 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17585 Format code sent to Python shell for robustness.
17586 * progmodes/python.el (python-shell-buffer-substring):
17588 (python-shell-send-region, python-shell-send-buffer): Use it.
17590 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
17592 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
17593 * net/tramp.el (tramp-user-error): ... here.
17594 (tramp-find-method, tramp-check-proper-host)
17595 (tramp-dissect-file-name, tramp-debug-message)
17596 (tramp-handle-shell-command):
17597 * net/tramp-adb.el (tramp-adb-handle-shell-command):
17598 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
17600 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
17602 2013-09-02 Martin Rudalics <rudalics@gmx.at>
17604 * avoid.el (mouse-avoidance-point-position)
17605 (mouse-avoidance-too-close-p): Handle case where posn-at-point
17608 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17610 * progmodes/python.el (python-shell-completion-get-completions):
17611 Drop use of deleted `comint-last-prompt-overlay'.
17612 (python-nav-if-name-main): New command.
17614 2013-09-01 Glenn Morris <rgm@gnu.org>
17616 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
17617 Avoid leading space in $wins. Otherwise the sed command used by
17618 eg compile-main ends up containing "/*.el". (Bug#15170)
17620 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
17622 2013-08-30 Glenn Morris <rgm@gnu.org>
17624 * emacs-lisp/bytecomp.el (byte-recompile-directory):
17625 Fix is-this-a-directory logic. (Bug#15220)
17627 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17629 * textmodes/css-mode.el: Use SMIE.
17630 (css-smie-grammar): New var.
17631 (css-smie--forward-token, css-smie--backward-token)
17632 (css-smie-rules): New functions.
17633 (css-mode): Use them.
17634 (css-navigation-syntax-table): Remove var.
17635 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
17636 (css-indent-calculate, css-indent-line): Remove functions.
17638 Misc changes to reduce use of `(lambda...); and other cleanups.
17639 * cus-edit.el: Use lexical-binding.
17640 (customize-push-and-save, customize-apropos)
17641 (custom-buffer-create-internal): Use closures.
17642 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
17643 * progmodes/ada-xref.el: Use setq.
17644 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
17645 * dframe.el: Use lexical-binding.
17646 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
17647 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
17648 * descr-text.el: Use lexical-binding.
17649 (describe-text-widget, describe-text-sexp, describe-property-list):
17651 * comint.el (comint-history-isearch-push-state): Use a closure.
17652 * calculator.el: Use lexical-binding.
17653 (calculator-number-to-string): Make it work with lexical-binding.
17654 (calculator-funcall): Same and use cl-letf.
17656 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
17657 (lisp--company-doc-string, lisp--company-location): New functions.
17658 (lisp-completion-at-point): Use them to improve Company support.
17660 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17661 params of lambda expressions.
17662 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17663 (ruby-smie--opening-pipe-p): New function.
17664 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17665 symbols and matched |...| for formal params.
17666 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17667 from being treated as hanging. Handle "rescue".
17669 2013-08-29 Glenn Morris <rgm@gnu.org>
17671 * progmodes/cc-engine.el (c-pull-open-brace):
17672 Move definition before use.
17674 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17676 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17677 are immutable. Don't use `unsafe' any more.
17678 (cl--defsubst-expand): Don't substitute at the same time as keeping
17679 a residual unused let-binding. Don't use `unsafe' any more.
17681 2013-08-29 Glenn Morris <rgm@gnu.org>
17683 * calendar/cal-china.el (calendar-chinese-year-cache):
17686 * nxml/nxml-util.el (nxml-debug-clear-inside):
17687 Use cl-loop rather than loop.
17689 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17691 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17693 2013-08-28 Glenn Morris <rgm@gnu.org>
17695 * progmodes/antlr-mode.el: No need to require cc-mode twice.
17697 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17699 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17701 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17703 * simple.el (repeat-complex-command--called-interactively-skip):
17705 (repeat-complex-command): Use it (bug#14136).
17707 * progmodes/cc-mode.el: Minor cleanup of var declarations.
17708 (c-define-abbrev-table): Add `doc' argument.
17709 (c-mode-abbrev-table, c++-mode-abbrev-table)
17710 (objc-mode-abbrev-table, java-mode-abbrev-table)
17711 (idl-mode-abbrev-table, pike-mode-abbrev-table)
17712 (awk-mode-abbrev-table): Use it.
17713 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17714 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17715 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17716 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17717 Move initialization into the declaration; and remove any
17720 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17721 and dynamic let binding.
17723 * vc/smerge-mode.el: Remove redundant :group args.
17725 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17728 2013-08-28 Juri Linkov <juri@jurta.org>
17730 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17731 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17732 (isearch-other-meta-char): Handle an undefined shifted printing
17733 character by downshifting it. (Bug#15200)
17735 2013-08-28 Juri Linkov <juri@jurta.org>
17737 * isearch.el (isearch-search): Change regexp error message for
17738 non-regexp searches. (Bug#15166)
17740 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
17742 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17743 for portability to hosts where /bin/sh has problems.
17745 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17747 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17749 2013-08-27 Juri Linkov <juri@jurta.org>
17751 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17752 in the keyboard macro. (Bug#15126)
17754 2013-08-27 Juri Linkov <juri@jurta.org>
17756 * isearch.el (isearch-quote-char): Comment out converting unibyte
17757 to multibyte, thus syncing with its `quoted-insert' counterpart.
17760 2013-08-27 Martin Rudalics <rudalics@gmx.at>
17762 * window.el (display-buffer-use-some-window): Add missing
17763 argument in call of get-largest-window (Bug#15185).
17764 Reported by Stephen Leake.
17766 2013-08-27 Glenn Morris <rgm@gnu.org>
17768 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17770 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17772 * progmodes/python.el (python-font-lock-keywords): Don't return nil
17773 from a matcher-function unless there's no more matches (bug#15161).
17775 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17777 * minibuffer.el: Revert change from 2013-08-20.
17779 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17780 with text property `tramp-default', if appropriate.
17781 (tramp-check-proper-host): New defun.
17782 (tramp-dissect-file-name): Do not check hostname. Revert change
17784 (tramp-backtrace): Make VEC-OR-PROC optional.
17786 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17787 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17788 * net/tramp-sh.el (tramp-maybe-open-connection):
17789 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17790 Apply `tramp-check-proper-host'.
17792 2013-08-26 Tassilo Horn <tsdh@gnu.org>
17794 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17795 lambda expression in order to have `describe-variable' display it.
17797 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17799 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17800 BUF can be optional. (Bug#15186)
17802 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
17804 * progmodes/flymake.el (flymake-get-real-file-name-function):
17805 Fix broken customization. (Bug#15184)
17807 2013-08-25 Alan Mackenzie <acm@muc.de>
17809 Improve indentation of bracelists defined by macros (without "=").
17811 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17812 expansion begins with "{", regard it as bracelist when it doesn't
17815 Parse C++ inher-intro when there's a template split over 2 lines.
17817 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17818 rigorously the search for "class" etc. followed by ":".
17820 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17821 random languages a regexp which never matches rather than nil.
17823 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17825 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17826 (c-awk-regexp-one-line-possibly-open-char-list-re)
17827 (c-awk-one-line-possibly-open-regexp-re)
17828 (c-awk-one-line-non-syn-ws*-re): Remove.
17829 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17830 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17831 (c-awk-space*-unclosed-regexp-/-re): New constants.
17832 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17833 aren't regexp delimiters.
17835 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17836 handling for a rare situation in AWK Mode involving unterminated
17839 2013-08-23 Glenn Morris <rgm@gnu.org>
17841 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17843 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17845 * files.el (create-file-buffer): If the result would begin with
17846 spaces, prepend a "|" instead of removing them. (Bug#15162)
17848 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17850 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17851 text-properties (bug#15155).
17853 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17855 (calc-keypad-redraw): Remove unused var `pad'.
17856 (calc-keypad-press): Remove unused var `menu'.
17858 2013-08-23 Martin Rudalics <rudalics@gmx.at>
17860 * window.el (display-buffer-pop-up-frame):
17861 Call pop-up-frame-function with BUFFER current so `make-frame' will
17862 use it as the new frame's buffer (Bug#15133).
17864 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17866 * calendar/timeclock.el: Minor cleanups.
17867 (timeclock-ask-before-exiting, timeclock-use-display-time):
17869 (timeclock-modeline-display): Define as alias before the
17871 (timeclock-mode-line-display): Use define-minor-mode.
17872 (timeclock-day-list-template): Make it a function, add an argument.
17873 (timeclock-day-list-required, timeclock-day-list-length)
17874 (timeclock-day-list-debt, timeclock-day-list-span)
17875 (timeclock-day-list-break): Adjust calls accordingly.
17877 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17879 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17880 Use read--expression so that completion works again.
17882 2013-08-21 Sam Steingold <sds@gnu.org>
17884 Add rudimentary inferior shell interaction
17885 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17886 (sh-set-shell): Reset it.
17887 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17888 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17890 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
17892 * align.el: Use lexical-binding.
17893 (align-region): Simplify accordingly.
17895 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
17897 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17899 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17900 `non-essential' up.
17902 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
17905 * net/tramp-adb.el:
17906 * net/tramp-cmds.el:
17907 * net/tramp-ftp.el:
17908 * net/tramp-gvfs.el:
17910 * net/tramp-sh.el: Don't wrap external variable declarations by
17911 `eval-when-compile'.
17913 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17915 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17916 now that Emacs supports ImageMagick animations.
17918 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
17920 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17921 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17923 2013-08-16 Martin Rudalics <rudalics@gmx.at>
17925 * window.el (mouse-autoselect-window-select): Do autoselect when
17926 mouse pointer is on margin.
17928 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
17930 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
17932 2013-08-16 Glenn Morris <rgm@gnu.org>
17934 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17935 Handle "Remote Directory" response of some clients. (Bug#15058)
17937 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17938 Tweak warning. (Bug#14926)
17940 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17941 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
17943 * image-mode.el (image-mode-map): Add menu items to reverse,
17944 increase, decrease, reset animation speed.
17945 (image--set-speed, image-increase-speed, image-decrease-speed)
17946 (image-reverse-speed, image-reset-speed): New functions.
17947 (image-mode-map): Add bindings for speed commands.
17949 * image.el (image-animate-get-speed, image-animate-set-speed):
17951 (image-animate-timeout): Respect image :speed property.
17953 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17955 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
17956 previous line (bug#15101).
17957 (debugger-eval-expression, debugger-record-expression):
17958 Use read--expression (bug#15102).
17960 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
17962 Remove byte compiler warnings, visible when compiling with
17963 `byte-compile-force-lexical-warnings' set to t.
17965 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
17966 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
17967 (tramp-handle-unhandled-file-name-directory)
17968 (tramp-handle-file-notify-add-watch, tramp-action-login)
17969 (tramp-action-succeed, tramp-action-permission-denied)
17970 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
17971 arguments with "_".
17973 * net/tramp-adb.el (tramp-adb-parse-device-names)
17974 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
17975 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
17976 (tramp-adb-handle-file-truename): Remove unused arguments.
17978 * net/tramp-cache.el (tramp-flush-directory-property)
17979 (tramp-flush-connection-property, tramp-list-connections)
17980 (tramp-parse-connection-properties): Prefix unused arguments with "_".
17982 * net/tramp-compat.el (tramp-compat-make-temp-file):
17983 Rename FILENAME to F.
17985 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17986 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
17987 (tramp-zeroconf-parse-workstation-device-names)
17988 (tramp-zeroconf-parse-webdav-device-names)
17989 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
17991 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17992 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
17994 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
17996 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
17997 (tramp-sh-handle-insert-file-contents-literally)
17998 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18000 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18001 Remove unused variables.
18003 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18004 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18005 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18007 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18008 Make them a defconst.
18009 (tramp-uuencode-region): Remove unused variable.
18011 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
18013 * frameset.el (frameset--prop-setter): New function.
18014 (frameset-prop): Add gv-setter declaration.
18015 (frameset-filter-minibuffer): Deal with the case that the minibuffer
18016 parameter was already set in FILTERED. Doc fix.
18017 (frameset--record-minibuffer-relationships): Allow saving a
18018 minibufferless frame without its corresponding minibuffer frame.
18019 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18020 frame, if the frame id matches.
18021 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18022 frames before orphaned ones.
18023 (frameset-restore): Warn about orphaned windows, instead of error out.
18025 2013-08-14 Martin Rudalics <rudalics@gmx.at>
18027 * window.el (window-make-atom): Don't overwrite parameter
18029 (display-buffer-in-atom-window): Handle special case where we
18030 split an already atomic window.
18031 (window--major-non-side-window, display-buffer-in-side-window)
18032 (window--side-check): Ignore minibuffer window when walking
18034 (window-deletable-p): Return 'frame only if no other frame uses
18035 our minibuffer window.
18036 (record-window-buffer): Run buffer-list-update-hook.
18037 (split-window): Make sure window--check-frame won't destroy an
18038 existing atomic window in case the new window gets nested
18040 (display-buffer-at-bottom): Ignore minibuffer window when
18041 walking window tree. Don't split a side window.
18042 (pop-to-buffer): Don't set-buffer here, the select-window call
18044 (mouse-autoselect-window-select): Autoselect only if we are in the
18045 text portion of the window.
18047 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18049 * net/shr.el (shr-parse-image-data): New function to grab both the
18050 data itself and the Content-Type.
18051 (shr-put-image): Use it.
18053 * net/eww.el (eww-display-image): Ditto.
18055 * image.el (image-content-type-suffixes): New variable.
18057 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18059 * progmodes/python.el (python-imenu--build-tree)
18060 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
18062 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
18064 * simple.el (backward-word): Mention the optional argument.
18066 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18068 * frameset.el (frameset--make): Rename constructor from make-frameset.
18069 (frameset-p, frameset-valid-p): Don't autoload.
18070 (frameset-valid-p): Use normal accessors.
18072 2013-08-13 Glenn Morris <rgm@gnu.org>
18074 * progmodes/compile.el (compile-command): Tweak example in doc.
18075 * obsolete/scribe.el (scribe-mode):
18076 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
18078 * mail/feedmail.el (feedmail-confirm-outgoing)
18079 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
18081 * cus-start.el (truncate-partial-width-windows): Fix type.
18083 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
18085 * net/shr.el (shr-table-horizontal-line): Fix custom type.
18087 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18089 * emacs-lisp/timer.el (timer--time-setter): New function.
18090 (timer--time): Use it as gv-setter.
18092 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
18093 setter is not a symbol.
18095 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
18097 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
18098 if sending fails. This makes debugging easier.
18100 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
18102 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
18103 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
18104 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
18106 2013-08-12 Eli Zaretskii <eliz@gnu.org>
18108 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
18110 2013-08-12 Glenn Morris <rgm@gnu.org>
18112 * format.el (format-annotate-function):
18113 Handle read-only text properties in the source. (Bug#14887)
18115 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18117 * net/eww.el (eww-display-html): Ignore coding system errors.
18118 One web site uses "utf-8lias" as the coding system.
18120 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
18122 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
18124 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
18126 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
18127 (tutorial--detailed-help): Remove unused local variables.
18128 (tutorial--save-tutorial-to): Use ignore-errors.
18129 (help-with-tutorial): Use looking-at-p.
18131 * view.el (view-buffer-other-window, view-buffer-other-frame):
18132 Mark unused arguments.
18134 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
18135 (woman-select-symbol-fonts, woman, woman-find-file)
18136 (woman-insert-file-contents, woman-non-underline-faces):
18137 Use string-match-p.
18138 (woman1-unquote): Move declaration.
18140 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
18141 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
18142 argument. Remove unused local variable.
18143 (xml-parse-elem-type): Use string-match-p.
18144 (xml-substitute-numeric-entities): Use ignore-errors.
18146 * calculator.el (calculator): Mark unused argument.
18147 (calculator-paste, calculator-quit, calculator-integer-p):
18149 (calculator-string-to-number, calculator-decimal, calculator-exp)
18150 (calculator-op-or-exp): Use string-match-p.
18152 * dired.el (dired-buffer-more-recently-used-p): Declare.
18153 (dired-insert-set-properties, dired-insert-old-subdirs):
18156 * dired-aux.el (dired-compress): Use ignore-errors.
18157 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
18158 (dired-do-async-shell-command, dired-do-shell-command)
18159 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
18160 (dired-insert-subdir-validate): Use string-match-p.
18161 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
18162 (dired-add-entry): Use string-match-p, looking-at-p.
18163 (dired-insert-subdir-newpos): Remove unused local variable.
18165 * filenotify.el (file-notify-callback): Remove unused local variable.
18167 * filesets.el (filesets-error): Mark unused argument.
18168 (filesets-which-command-p, filesets-filter-dir-names)
18169 (filesets-directory-files, filesets-get-external-viewer)
18170 (filesets-ingroup-get-data): Use string-match-p.
18172 * find-file.el (ff-other-file-name, ff-other-file-name)
18173 (ff-find-the-other-file, ff-cc-hh-converter):
18174 Remove unused local variables.
18175 (ff-get-file-name): Use string-match-p.
18176 (ff-all-dirs-under): Use ignore-errors.
18178 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
18179 (follow-select-if-visible): Remove unused local variable.
18181 * forms.el (read-file-filter): Move declaration.
18182 (forms--make-format, forms--make-parser, forms-insert-record):
18183 Quote function with #'.
18184 (forms--update): Use string-match-p. Quote function with #'.
18186 * help-mode.el (help-dir-local-var-def): Mark unused argument.
18187 (help-make-xrefs): Use looking-at-p.
18188 (help-xref-on-pp): Use looking-at-p, ignore-errors.
18190 * ibuffer.el (ibuffer-ext-visible-p): Declare.
18191 (ibuffer-confirm-operation-on): Use string-match-p.
18193 * msb.el (msb-item-handler, msb-dired-item-handler):
18194 Mark unused arguments.
18196 * ses.el (ses-decode-cell-symbol)
18197 (ses-kill-override): Remove unused local variable.
18198 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
18199 (ses-load): Use ignore-errors, looking-at-p.
18200 (ses-jump-safe): Use ignore-errors.
18201 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
18203 * tabify.el (untabify, tabify): Mark unused arguments.
18205 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
18206 Mark unused argument.
18207 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
18208 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
18210 * emacs-lisp/timer.el (timer--time): Define setter with
18211 gv-define-setter to avoid deprecation warning.
18213 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
18214 (*record-cmpl-statistics-p*): Remove (was commented out).
18215 (cmpl-statistics-block): Remove (body was commented out).
18216 All callers changed.
18217 (add-completions-from-buffer, load-completions-from-file):
18218 Remove unused variables.
18220 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
18222 * filecache.el (file-cache-delete-file-list):
18223 Print message only when told so.
18224 (file-cache-files-matching): Use #' in mapconcat argument.
18226 * ffap.el (ffap-url-at-point): Fix reference to variable
18227 thing-at-point-default-mail-uri-scheme.
18229 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
18231 * subr.el (define-error): New function.
18232 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
18233 error-file-not-found and define with define-error.
18234 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
18235 and define with define-error.
18236 * userlock.el (file-locked, file-supersession):
18237 * simple.el (mark-inactive):
18238 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
18239 * progmodes/ada-mode.el (ada-mode-errors):
18240 * play/life.el (life-extinct):
18241 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
18242 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
18243 * nxml/rng-util.el (rng-error):
18244 * nxml/rng-uri.el (rng-uri-error):
18245 * nxml/rng-match.el (rng-compile-error):
18246 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
18247 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
18248 * nxml/nxml-rap.el (nxml-scan-error):
18249 * nxml/nxml-outln.el (nxml-outline-error):
18250 * net/soap-client.el (soap-error):
18251 * net/gnutls.el (gnutls-error):
18252 * net/ange-ftp.el (ftp-error):
18253 * mpc.el (mpc-proc-error):
18254 * json.el (json-error, json-readtable-error, json-unknown-keyword)
18255 (json-number-format, json-string-escape, json-string-format)
18256 (json-key-format, json-object-format):
18257 * jka-compr.el (compression-error):
18258 * international/quail.el (quail-error):
18259 * international/kkc.el (kkc-error):
18260 * emacs-lisp/ert.el (ert-test-failed):
18261 * calc/calc.el (calc-error, inexact-result, math-overflow)
18263 * bookmark.el (bookmark-error-no-filename):
18264 * epg.el (epg-error): Define with define-error.
18266 * time.el (display-time-event-handler)
18267 (display-time-next-load-average): Don't call sit-for since it seems
18268 unnecessary (bug#15045).
18270 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
18271 Use #' instead of ' to quote functions.
18272 (checkdoc-output-mode): Use setq-local.
18273 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
18274 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
18275 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
18276 (checkdoc-ispell, checkdoc-ispell-current-buffer)
18277 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
18278 (checkdoc-ispell-message-text, checkdoc-ispell-start)
18279 (checkdoc-ispell-continue, checkdoc-ispell-comments)
18280 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
18282 * ido.el (ido-completion-help): Fix up compiler warning.
18284 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
18286 * frameset.el (frameset-p): Add autoload cookie.
18287 (frameset--jump-to-register): New function, based on code moved from
18289 (frameset-to-register): Move from register.el. Adapt to `registerv'.
18291 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
18292 (frameset-restore, frameset-save, frameset-session-filter-alist):
18293 Remove declarations.
18294 (register-alist): Doc fix.
18295 (frameset-to-register): Move to frameset.el.
18296 (jump-to-register, describe-register-1): Remove frameset-specific code.
18298 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18300 * allout-widgets.el (allout-widgets-pre-command-business)
18301 (allout-widgets-post-command-business)
18302 (allout-widgets-after-change-handler)
18303 (allout-decorate-item-and-context, allout-set-boundary-marker)
18304 (allout-body-modification-handler)
18305 (allout-graphics-modification-handler): Mark ignored arguments.
18306 (allout-widgets-post-command-business)
18307 (allout-widgets-exposure-change-processor)
18308 (allout-widgets-exposure-undo-processor)
18309 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
18310 (allout-parse-item-at-point, allout-decorate-item-guides)
18311 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
18312 * allout.el (epa-passphrase-callback-function): Declare.
18313 (allout-overlay-insert-in-front-handler)
18314 (allout-overlay-interior-modification-handler)
18315 (allout-isearch-end-handler, allout-chart-siblings)
18316 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
18317 (allout-yank-processing, allout-process-exposed)
18318 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
18319 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
18320 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
18321 (lisp-indent-defform): Mark ignored arguments.
18322 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
18323 (calculate-lisp-indent): Remove unused variables.
18324 * international/characters.el (indian-2-column, arabic-2-column)
18325 (tibetan): Mark ignored arguments.
18326 (use-cjk-char-width-table): Mark ignored arguments.
18327 Remove unused variables.
18328 * international/fontset.el (build-default-fontset-data)
18329 (x-compose-font-name, create-fontset-from-fontset-spec):
18330 Mark ignored arguments.
18331 (fontset-plain-name): Remove unused variables.
18332 * international/mule.el (charset-id, charset-bytes, generic-char-p)
18333 (keyboard-coding-system): Mark ignored arguments.
18334 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
18335 * help.el (resize-temp-buffer-window):
18336 * window.el (display-buffer-in-major-side-window)
18337 (display-buffer-in-side-window, display-buffer-in-previous-window):
18338 Remove unused variables.
18339 * isearch.el (isearch-forward-symbol):
18340 * version.el (emacs-bzr-version-bzr):
18341 * international/mule-cmds.el (current-language-environment):
18342 * term/common-win.el (x-handle-iconic, x-handle-geometry)
18343 (x-handle-display):
18344 * term/pc-win.el (x-list-fonts, x-display-planes)
18345 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
18346 (x-server-version, x-display-screens, x-display-mm-height)
18347 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
18348 (x-selection-owner-p, x-own-selection-internal)
18349 (x-disown-selection-internal, x-get-selection-internal)
18350 (msdos-initialize-window-system):
18351 * term/tty-colors.el (tty-color-alist, tty-color-clear):
18352 * term/x-win.el (x-handle-no-bitmap-icon):
18353 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
18354 (vc-default-find-file-hook, vc-default-extra-menu):
18355 Mark ignored arguments.
18357 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18359 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
18360 break-condition in the context of the debugged code (bug#12685).
18362 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
18365 Do not use an overlay to highlight the last prompt. (Bug#14744)
18366 (comint-mode): Make comint-last-prompt buffer local.
18367 (comint-last-prompt): New variable.
18368 (comint-last-prompt-overlay): Remove. Superseded by
18369 comint-last-prompt.
18370 (comint-snapshot-last-prompt, comint-output-filter):
18371 Use comint-last-prompt.
18373 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18375 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
18376 (frameset-save): Check validity of the resulting frameset.
18378 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
18380 * ido.el (ido-record-command): Add doc string.
18382 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18384 * frameset.el (frameset): Do not disable creation of the default
18385 frameset-p predicate. Doc fix.
18386 (frameset-valid-p): New function, copied from the old predicate-p.
18387 Add additional checks.
18388 (frameset-restore): Check with frameset-valid-p.
18389 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
18390 (frameset-name, frameset-description, frameset-properties)
18391 (frameset-states): Add docstring.
18392 (frameset-session-filter-alist, frameset-persistent-filter-alist)
18393 (frameset-filter-alist): Doc fixes.
18395 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18397 * frameset.el (frameset-p, frameset-prop): Doc fixes.
18399 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18401 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
18402 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
18403 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
18404 (byte-compile-normal-call): Remove obsolescence check.
18406 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18408 * frameset.el (frameset-restore): Doc fix.
18410 * register.el (frameset-frame-id, frameset-frame-with-id)
18411 (frameset-p, frameset-restore, frameset-save): Declare.
18412 (register-alist): Document framesets.
18413 (frameset-session-filter-alist): Declare.
18414 (frameset-to-register): New function.
18415 (jump-to-register): Implement jumping to framesets. Doc fix.
18416 (describe-register-1): Describe framesets.
18418 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
18420 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
18422 * desktop.el (desktop-save-frameset): Use new frameset-save args.
18423 Use lexical-binding.
18425 * frameset.el (frameset): Use type vector, not list (incompatible
18426 change). Do not declare a new constructor, use the default one.
18427 Upgrade suggested properties `app', `name' and `desc' to slots `app',
18428 `name' and `description', respectively, and add read-only slot
18429 `timestamp'. Doc fixes.
18430 (frameset-copy, frameset-persistent-filter-alist)
18431 (frameset-filter-alist, frameset-switch-to-gui-p)
18432 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
18433 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
18434 (frameset-filter-iconified, frameset-keep-original-display-p):
18436 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
18437 Rename from frameset-filter-(save|restore)-param. All callers changed.
18439 (frameset-p): Adapt to change to vector and be more thorough.
18440 Change arg name to OBJECT. Doc fix.
18441 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
18442 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
18443 All callers changed.
18444 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
18445 All callers changed.
18446 (frameset--record-minibuffer-relationships): Rename from
18447 frameset--process-minibuffer-frames. All callers changed.
18448 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
18449 Use new default constructor (again). Doc fix.
18450 (frameset--find-frame-if): Rename from `frameset--find-frame'.
18451 All callers changed.
18452 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
18453 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
18455 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
18456 PARAMETERS and WINDOW-STATE, respectively.
18457 (frameset-restore): Add new keyword argument PREDICATE.
18458 Reset frameset--target-display to nil. Doc fix.
18460 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18462 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
18463 (bat-mode): Use it.
18464 (bat-mode-syntax-table): Mark \n as end-of-comment.
18465 (bat-font-lock-keywords): Remove comment rule.
18467 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
18468 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
18470 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
18471 (byte-compile-callargs-warn): Use `push'.
18472 (byte-compile-arglist-warn): Ignore higher-order "calls".
18473 (byte-compile-file-form-autoload): Use `pcase'.
18474 (byte-compile-function-form): If quoting a symbol, check that it exists.
18476 2013-08-07 Eli Zaretskii <eliz@gnu.org>
18478 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
18479 and add a few popular commands found in batch files.
18480 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
18481 (dos-mode): Doc fixes.
18483 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18485 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
18486 (dos-mode): Use setq-local. Add space after "rem".
18487 (dos-mode-syntax-table): Don't use "w" for symbol chars.
18488 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
18490 2013-08-07 Arni Magnusson <arnima@hafro.is>
18492 * progmodes/dos.el: New file.
18493 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
18496 2013-08-06 Glenn Morris <rgm@gnu.org>
18498 * calendar/calendar.el: Add new faces, and day-header-array.
18499 (calendar-weekday-header, calendar-weekend-header)
18500 (calendar-month-header): New faces.
18501 (calendar-day-header-construct): New function.
18502 (calendar-day-header-width): Also :set calendar-day-header-array.
18503 (calendar-american-month-header, calendar-european-month-header)
18504 (calendar-iso-month-header): Use calendar- faces.
18505 (calendar-generate-month):
18506 Use calendar-day-header-array for day headers; apply faces to them.
18507 (calendar-mode): Check calendar-font-lock-keywords non-nil.
18508 (calendar-abbrev-construct): Add optional maxlen argument.
18509 (calendar-day-name-array): Doc fix.
18510 (calendar-day-name-array, calendar-abbrev-length)
18511 (calendar-day-abbrev-array):
18512 Also :set calendar-day-header-array, and maybe redraw.
18513 (calendar-day-header-array): New option. (Bug#15007)
18514 (calendar-font-lock-keywords): Set to nil and make obsolete.
18515 (calendar-day-name): Add option to use header array.
18517 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18519 * net/shr.el (shr-render-td): Remove debugging.
18520 (shr-render-td): Make width computation consistent by defaulting
18521 all zero-width columns to 10 characters. This may not be optimal,
18522 but it's at least consistent.
18523 (shr-make-table-1): Redo last change to fix the real problem in
18526 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18528 * files.el (cache-long-line-scans):
18529 Make obsolete alias to `cache-long-scans'.
18531 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18533 * frameset.el (frameset, frameset-filter-alist)
18534 (frameset-filter-params, frameset-save, frameset--reuse-frame)
18535 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
18536 (frameset-compute-pos): Rename from frameset--compute-pos,
18538 (frameset-move-onscreen): Use frameset-compute-pos.
18539 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18541 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
18542 Fix typos in docstrings.
18544 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18546 * frame.el (get-other-frame): Tiny cleanup.
18548 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18550 * vc/vc.el (vc-default-ignore-completion-table):
18551 Silence byte-compiler warning.
18553 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
18554 slot, which can indeed be nil.
18555 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18556 Move entry for `left' from persistent to live filter alist.
18557 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
18559 (frameset-filter-params): When restoring a frame, copy items added to
18560 `filtered', to avoid unwittingly modifying the original parameters.
18561 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
18562 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
18564 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
18565 to use looking-at-p instead of looking-at. (Bug#15028)
18567 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18569 Revert introduction of isearch-filter-predicates (bug#14714).
18570 Rely on add-function instead.
18571 * isearch.el (isearch-filter-predicates): Rename it back to
18572 isearch-filter-predicate.
18573 (isearch-message-prefix): Use advice-function-mapc and advice
18574 properties to get the isearch-message-prefix.
18575 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
18576 instead of run-hook-with-args-until-failure.
18577 (isearch-filter-visible): Not obsolete any more.
18578 * loadup.el: Preload nadvice.
18579 * replace.el (perform-replace): Revert to funcall
18580 instead of run-hook-with-args-until-failure.
18581 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
18582 * dired-aux.el (dired-isearch-filenames-mode): Rename from
18583 dired-isearch-filenames-toggle; make it into a proper minor mode.
18584 Use add/remove-function.
18585 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
18586 Call the minor-mode rather than add/remove-hook.
18587 (dired-isearch-filter-filenames):
18588 Remove isearch-message-prefix property.
18589 * info.el (Info--search-loop): New function, extracted from Info-search.
18590 Funcall isearch-filter-predicate instead of
18591 run-hook-with-args-until-failure isearch-filter-predicates.
18592 (Info-search): Use it.
18593 (Info-mode): Use isearch-filter-predicate instead of
18594 isearch-filter-predicates.
18596 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18598 Do not call to `selected-window' where it is assumed by default.
18599 Affected functions are `window-minibuffer-p', `window-dedicated-p',
18600 `window-hscroll', `window-width', `window-height', `window-buffer',
18601 `window-frame', `window-start', `window-point', `next-window'
18602 and `window-display-table'.
18603 * abbrev.el (abbrev--default-expand):
18604 * bs.el (bs--show-with-configuration):
18605 * buff-menu.el (Buffer-menu-mouse-select):
18606 * calc/calc.el (calc):
18607 * calendar/calendar.el (calendar-generate-window):
18608 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
18609 (diary-make-entry):
18610 * comint.el (send-invisible, comint-dynamic-complete-filename)
18611 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
18612 * completion.el (complete):
18613 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
18614 * disp-table.el (describe-current-display-table):
18615 * doc-view.el (doc-view-insert-image):
18616 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
18617 * ehelp.el (with-electric-help):
18618 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18619 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
18620 * emacs-lisp/helper.el (Helper-help-scroller):
18621 * emulation/cua-base.el (cua--post-command-handler-1):
18622 * eshell/esh-mode.el (eshell-output-filter):
18623 * ffap.el (ffap-gnus-wrapper):
18624 * help-macro.el (make-help-screen):
18625 * hilit-chg.el (highlight-compare-buffers):
18626 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
18627 * hl-line.el (global-hl-line-highlight):
18628 * icomplete.el (icomplete-simple-completing-p):
18629 * isearch.el (isearch-done):
18630 * jit-lock.el (jit-lock-stealth-fontify):
18631 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
18632 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
18633 * mpc.el (mpc-tagbrowser, mpc):
18634 * net/rcirc.el (rcirc-any-buffer):
18635 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
18636 * play/landmark.el (landmark-max-width, landmark-max-height):
18637 * play/zone.el (zone):
18638 * progmodes/compile.el (compilation-goto-locus):
18639 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18640 * progmodes/etags.el (find-tag-other-window):
18641 * progmodes/fortran.el (fortran-column-ruler):
18642 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
18643 * progmodes/verilog-mode.el (verilog-point-text):
18644 * reposition.el (reposition-window):
18645 * rot13.el (toggle-rot13-mode):
18646 * server.el (server-switch-buffer):
18647 * shell.el (shell-dynamic-complete-command)
18648 (shell-dynamic-complete-environment-variable):
18649 * simple.el (insert-buffer, set-selective-display)
18650 (delete-completion-window):
18651 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
18652 (speedbar-recenter):
18653 * startup.el (fancy-splash-head):
18654 * textmodes/ispell.el (ispell-command-loop):
18655 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
18656 * tutorial.el (help-with-tutorial):
18657 * vc/add-log.el (add-change-log-entry):
18658 * vc/compare-w.el (compare-windows):
18659 * vc/ediff-help.el (ediff-indent-help-message):
18660 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18661 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18662 (ediff-setup-control-frame):
18663 * vc/emerge.el (emerge-position-region):
18664 * vc/pcvs-util.el (cvs-bury-buffer):
18665 * window.el (walk-windows, mouse-autoselect-window-select):
18666 * winner.el (winner-set-conf, winner-undo): Related users changed.
18668 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18670 * frameset.el (frameset--set-id): Doc fix.
18671 (frameset-frame-id, frameset-frame-id-equal-p)
18672 (frameset-locate-frame-id): New functions.
18673 (frameset--process-minibuffer-frames, frameset--reuse-frame)
18674 (frameset-restore): Use them.
18676 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18678 Do not call to `selected-frame' where it is assumed by default.
18679 Affected functions are `raise-frame', `redraw-frame',
18680 `frame-first-window', `frame-terminal' and `delete-frame'.
18681 * calendar/appt.el (appt-disp-window):
18682 * epg.el (epg-wait-for-completion):
18683 * follow.el (follow-delete-other-windows-and-split)
18684 (follow-avoid-tail-recenter):
18685 * international/mule.el (set-terminal-coding-system):
18686 * mail/rmail.el (rmail-mail-return):
18687 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18688 * progmodes/f90.el (f90-add-imenu-menu):
18689 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18690 * server.el (server-switch-buffer):
18691 * simple.el (delete-completion-window):
18693 * term/xterm.el (terminal-init-xterm-modify-other-keys)
18694 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18695 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18696 * vc/ediff.el (ediff-documentation): Related users changed.
18697 * frame.el (selected-terminal): Remove the leftover.
18699 2013-08-05 Glenn Morris <rgm@gnu.org>
18701 * calendar/calendar.el (calendar-generate-month):
18702 Fix for calendar-column-width != 1 + calendar-day-digit-width.
18703 (calendar-generate-month, calendar-font-lock-keywords):
18704 Fix for calendar-day-header-width > length of any day name.
18706 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18708 * desktop.el (desktop-clear): Use new name of sort predicate.
18710 * frameset.el (frameset): Add docstring. Move :version property to its
18711 own `version' slot.
18712 (frameset-copy): Rename from copy-frameset.
18713 (frameset-p): Check more thoroughly.
18714 (frameset-prop): Do not check for :version, which is no longer a prop.
18715 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18716 Use new :never value instead of t.
18717 (frameset-filter-alist): Expand and clarify docstring.
18718 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18719 (frameset-filter-minibuffer, frameset-filter-save-param)
18720 (frameset-filter-restore-param, frameset-filter-iconified):
18721 Add pointer to docstring of frameset-filter-alist.
18722 (frameset-filter-params): Rename filter values to be more meaningful:
18723 :never instead of t, and reverse the meanings of :save and :restore.
18724 (frameset--process-minibuffer-frames): Clarify error message.
18725 (frameset-save): Avoid unnecessary and confusing call to framep.
18726 Use new BOA constructor for framesets.
18727 (frameset--reuse-list): Doc fix.
18728 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
18729 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18730 (frameset-minibufferless-first-p): Doc fix.
18731 Rename from frameset-sort-frames-for-deletion.
18732 (frameset-restore): Doc fixes. Use new function names.
18733 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18735 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18737 * desktop.el (desktop-restore-forces-onscreen)
18738 (desktop-restore-reuses-frames): Document :keyword constant values.
18739 (desktop-filter-parameters-alist): Remove, now identical to
18740 frameset-filter-alist.
18741 (desktop--filter-tty*): Remove, moved to frameset.el.
18742 (desktop-save-frameset, desktop-restore-frameset):
18743 Do not pass :filters argument.
18745 * frameset.el (frameset-live-filter-alist)
18746 (frameset-persistent-filter-alist): New variables.
18747 (frameset-filter-alist): Use them. Add autoload cookie.
18748 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18749 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18750 `frameset--id' (it's supposed to be internal to frameset.el).
18751 (frameset--process-minibuffer-frames): Ditto. Doc fix.
18752 (frameset--initial-params): New function.
18753 (frameset--get-frame): Use it. Doc fix.
18754 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18755 Accept :all, not 'all.
18756 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18757 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
18758 with fbound symbols. Fix frame id matching, and remove matching ids if
18759 the frame being restored is deleted. Obey :delete.
18761 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18763 * subr.el (macrop): New function.
18764 (text-clone--maintaining): New var.
18765 (text-clone--maintain): Rename from text-clone-maintain. Use it
18766 instead of inhibit-modification-hooks.
18768 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18769 a proxy, so as handle autoloads and redefinitions of the target.
18770 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18772 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18773 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
18774 (pcase--mutually-exclusive-p): New function.
18775 (pcase--split-consp): Use it.
18776 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
18777 mutually exclusive with the current predicate.
18779 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18780 (edebug-macrop): Remove. Use `macrop' instead.
18781 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
18783 * eshell/esh-cmd.el (eshell-macrop):
18784 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
18786 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18788 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18789 (advice-mapc): New function, using it.
18790 (advice-function-member-p): New function.
18791 (advice--normalize): Store the cdr in advice--saved-rewrite since
18792 that's the part that will be changed.
18793 (advice--symbol-function): New function.
18794 (advice-remove): Handle removal before the function is defined.
18795 Adjust to new advice--saved-rewrite.
18796 (advice-member-p): Use advice-function-member-p and
18797 advice--symbol-function.
18799 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18801 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18802 (frameset-filter-minibuffer): Doc fix.
18803 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
18804 (frameset--set-id, frameset--process-minibuffer-frames)
18805 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18806 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18808 * desktop.el (desktop-clear): Only delete frames when called
18809 interactively and desktop-restore-frames is non-nil. Doc fix.
18810 (desktop-read): Set desktop-saved-frameset to nil.
18812 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
18814 * vc/vc.el (vc-ignore): Rewrite.
18815 (vc-default-ignore-completion-table, vc--read-lines)
18816 (vc--add-line, vc--remove-regexp): New functions.
18818 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18819 (vc-svn-ignore-completion-table): New function.
18821 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18822 (vc-hg-ignore-completion-table)
18823 (vc-hg-find-ignore-file): New functions.
18825 * vc/vc-git.el (vc-git-ignore): Rewrite.
18826 (vc-git-ignore-completion-table)
18827 (vc-git-find-ignore-file): New functions.
18829 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18831 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18832 (vc-bzr-ignore-completion-table)
18833 (vc-bzr-find-ignore-file): New functions.
18835 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
18837 * frameset.el (frameset-prop): New function and setter.
18838 (frameset-save): Do not modify frame list passed by the caller.
18840 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18842 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18844 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
18846 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18847 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18849 * custom.el (custom-initialize-default, custom-initialize-set)
18850 (custom-initialize-reset, custom-initialize-changed): Affect the
18851 toplevel-default-value (bug#6275, bug#14586).
18852 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18855 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18857 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18858 Add cl-def* expressions.
18860 * frameset.el (frameset-filter-params): Fix order of arguments.
18862 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18864 Move code related to saving frames to frameset.el.
18865 * desktop.el: Require frameset.
18866 (desktop-restore-frames): Doc fix.
18867 (desktop-restore-reuses-frames): Rename from
18868 desktop-restoring-reuses-frames.
18869 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18870 (desktop-clear): Clear frames too.
18871 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18872 (desktop--filter-tty*, desktop-save, desktop-read):
18873 Use frameset functions.
18874 (desktop-before-saving-frames-functions, desktop--filter-*-color)
18875 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18876 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18877 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18878 (desktop--process-minibuffer-frames, desktop-save-frames)
18879 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18880 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18881 (desktop--sort-states, desktop-restoring-frames-p)
18882 (desktop-restore-frames): Remove. Most code moved to frameset.el.
18883 (desktop-restoring-frameset-p, desktop-restore-frameset)
18884 (desktop--check-dont-save, desktop-save-frameset): New functions.
18885 (desktop--app-id): New constant.
18886 (desktop-first-buffer, desktop-buffer-ok-count)
18887 (desktop-buffer-fail-count): Move before first use.
18888 * frameset.el: New file.
18890 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18892 * files.el: Use lexical-binding.
18893 (dir-locals-read-from-file): Remove unused `err' variable.
18894 (hack-dir-local-variables--warned-coding): New var.
18895 (hack-dir-local-variables): Use it to avoid repeated warnings.
18896 (make-backup-file-name--default-function): New function.
18897 (make-backup-file-name-function): Use it as default.
18898 (buffer-stale--default-function): New function.
18899 (buffer-stale-function): Use it as default.
18900 (revert-buffer-insert-file-contents--default-function): New function.
18901 (revert-buffer-insert-file-contents-function): Use it as default.
18902 (insert-directory): Avoid add-to-list.
18904 * autorevert.el (auto-revert-handler): Simplify.
18905 Use buffer-stale--default-function.
18907 2013-08-01 Tassilo Horn <tsdh@gnu.org>
18909 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18911 * whitespace.el (whitespace-ensure-local-variables): New function.
18912 (whitespace-cleanup-region): Call it.
18913 (whitespace-turn-on): Call it.
18915 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
18917 Complete file name handlers.
18919 * net/tramp.el (tramp-handle-set-visited-file-modtime)
18920 (tramp-handle-verify-visited-file-modtime)
18921 (tramp-handle-file-notify-rm-watch): New functions.
18922 (tramp-call-process): Do not bind `default-directory'.
18924 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18925 Order alphabetically.
18926 <access-file, add-name-to-file, dired-call-process>:
18927 <dired-compress-file, file-acl, file-notify-rm-watch>:
18928 <file-ownership-preserved-p, file-selinux-context>:
18929 <make-directory-internal, make-symbolic-link, set-file-acl>:
18930 <set-file-selinux-context, set-visited-file-modtime>:
18931 <verify-visited-file-modtime>: Add handler.
18932 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18934 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18935 <file-notify-add-watch, file-notify-rm-watch>:
18936 <set-file-times, set-visited-file-modtime>:
18937 <verify-visited-file-modtime>: Add handler.
18938 (with-tramp-gvfs-error-message)
18939 (tramp-gvfs-handle-set-visited-file-modtime)
18940 (tramp-gvfs-fuse-file-name): Remove.
18941 (tramp-gvfs-handle-file-notify-add-watch)
18942 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18943 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18945 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18946 Order alphabetically.
18947 <file-notify-rm-watch>: Use default Tramp handler.
18948 <executable-find>: Remove private handler.
18949 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
18950 `default-directory'.
18951 (tramp-sh-handle-executable-find)
18952 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
18953 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18954 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
18955 Do not use `format' in `tramp-message'.
18957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
18958 <file-notify-rm-watch, set-visited-file-modtime>:
18959 <verify-visited-file-modtime>: Add handler.
18960 (tramp-smb-call-winexe): Do not bind `default-directory'.
18962 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
18964 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
18966 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
18968 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
18970 (log-view-diff-changeset): Same.
18971 (log-view-diff-common): Call backend command `previous-revision'
18972 to find out the previous revision, in both cases. Swap the
18973 variables `to' and `fr', so that `fr' usually refers to the
18974 earlier revision (Bug#14989).
18976 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
18978 * ibuf-ext.el (ibuffer-filter-by-filename):
18979 Make it work with dired buffers too.
18981 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
18983 * emacs-lisp/re-builder.el (reb-color-display-p):
18984 * files.el (save-buffers-kill-terminal):
18985 * net/browse-url.el (browse-url):
18986 * server.el (server-save-buffers-kill-terminal):
18987 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
18988 Prefer nil to selected-frame for the first arg of frame-parameter.
18990 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
18992 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
18994 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
18996 * minibuffer.el (completion--twq-all): Try and preserve each
18997 completion's case choice (bug#14907).
18999 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19001 * net/network-stream.el (open-network-stream): Mention the new
19002 :nogreeting parameter.
19003 (network-stream-open-starttls): Use the :nogreeting parameter
19006 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19008 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19009 more natural than popping.
19011 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19012 (shr-urlify): Highlight under mouse.
19014 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19016 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19018 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19020 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
19023 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
19024 point-min==1. Fix search string. Fix parentheses missing.
19026 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
19027 assume point-min==1. Fix search string. Fix parentheses missing.
19029 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19031 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
19034 2013-07-29 Eli Zaretskii <eliz@gnu.org>
19036 * frame.el (frame-notice-user-settings): Avoid inflooping when the
19037 initial frame is minibuffer-less. (Bug#14841)
19039 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
19041 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19044 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19045 (tramp-maybe-open-connection): Use it.
19047 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19049 * desktop.el (desktop--make-frame): Include `minibuffer' in the
19050 minimal set of parameters passed when creating a frame, because
19051 the minibuffer status of a frame cannot be changed later.
19053 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
19055 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19056 replace-regexp-in-string and inadvertent omissions in previous change.
19057 (todo-filter-items): Ensure only file names are comma-separated in
19058 name of filtered items buffer.
19060 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19062 * desktop.el: Optionally force offscreen frames back onscreen.
19063 (desktop-restoring-reuses-frames): New option.
19064 (desktop--compute-pos, desktop--move-onscreen): New functions.
19065 (desktop--make-frame): Use desktop--move-onscreen.
19067 2013-07-27 Alan Mackenzie <acm@muc.de>
19069 Fontify a Java generic method as a function.
19070 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
19073 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
19075 * calendar/todo-mode.el: Add command to rename todo files.
19076 (todo-rename-file): New command.
19077 (todo-key-bindings-t): Add key binding for it. Change the
19078 bindings of todo-filter-regexp-items(-multifile) to use `x'
19079 instead of `r', since the latter is better suited to the new
19082 2013-07-27 Alan Mackenzie <acm@muc.de>
19084 Make Java try-with-resources statement parse properly.
19085 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
19086 (c-block-stmt-1-2-key): New language constants/variables.
19087 * progmodes/cc-engine.el (c-beginning-of-statement-1)
19088 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
19089 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
19090 with c-block-stmt-1-2-key.
19092 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
19094 * desktop.el (desktop--make-frame): Apply most frame parameters after
19095 creating the frame to force (partially or totally) offscreen frames to
19096 be restored as such.
19098 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
19100 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
19103 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19105 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
19106 `base' arg of backtrace-frame.
19108 2013-07-26 Eli Zaretskii <eliz@gnu.org>
19110 * simple.el (list-processes): Doc fix.
19112 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19114 * desktop.el (desktop--select-frame):
19115 Try harder to reuse existing frames.
19117 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19119 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
19120 (edebug-eval): Use backtrace-eval.
19121 (edebug--display, edebug--recursive-edit): Don't let-bind the
19122 edebug-outer-* vars that keep track of variables we locally let-bind.
19123 (edebug-outside-excursion): Don't restore outside values of locally
19125 (edebug--display): Use user-error.
19126 (cl-lexical-debug, cl-debug-env): Remove.
19128 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19130 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
19131 are restored to be sure that they are visible before deleting any
19134 2013-07-26 Matthias Meulien <orontee@gmail.com>
19136 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
19137 vc-print-root-log. (Bug#14948)
19139 2013-07-26 Richard Stallman <rms@gnu.org>
19141 Add aliases for encrypting mail.
19142 * epa.el (epa-mail-aliases): New option.
19143 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
19144 Bind inhibit-read-only so read-only text doesn't ruin everything.
19145 (epa-mail-default-recipients): New subroutine broken out.
19146 Handle epa-mail-aliases.
19148 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19150 Add support for lexical variables to the debugger's `e' command.
19151 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
19152 vars, except for debugger-outer-match-data.
19153 (debugger-frame-number): Move check for "on a function call" from
19154 callers into it. Add `skip-base' argument.
19155 (debugger-frame, debugger-frame-clear): Simplify accordingly.
19156 (debugger-env-macro): Only reset the state stored in non-variables,
19157 i.e. current-buffer and match-data.
19158 (debugger-eval-expression): Rewrite using backtrace-eval.
19159 * subr.el (internal--called-interactively-p--get-frame): Remove.
19160 (called-interactively-p):
19161 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
19162 `base' arg of backtrace-frame instead.
19164 2013-07-26 Glenn Morris <rgm@gnu.org>
19166 * align.el (align-regexp): Doc fix. (Bug#14857)
19167 (align-region): Explicit error if subexpression missing/does not match.
19169 * simple.el (global-visual-line-mode):
19170 Do not duplicate the mode lighter. (Bug#14858)
19172 2013-07-25 Martin Rudalics <rudalics@gmx.at>
19174 * window.el (display-buffer): In display-buffer bind
19175 split-window-keep-point to t, bug#14829.
19177 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
19179 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
19180 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
19181 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
19182 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
19183 Change accordingly.
19184 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
19185 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
19187 2013-07-25 Glenn Morris <rgm@gnu.org>
19189 * dired-x.el (dired-mark-extension): Convert comment to doc string.
19191 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
19193 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
19194 parameter to modify-frame-parameters if the value has not changed;
19195 this is a workaround for bug#14949.
19196 (desktop--make-frame): On cl-delete-if call, check parameter name,
19197 not full parameter.
19199 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19201 * vc/vc.el (vc-ignore): New function.
19203 * vc/vc-svn.el (vc-svn-ignore): New function.
19205 * vc/vc-hg.el (vc-hg-ignore): New function.
19207 * vc/vc-git.el (vc-git-ignore): New function.
19209 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
19210 (vc-dir-ignore): New function.
19212 * vc/vc-cvs.el (vc-cvs-ignore): New function.
19213 (cvs-append-to-ignore): Move here from pcvs.el.
19215 * vc/vc-bzr.el (vc-bzr-ignore): New function.
19217 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
19219 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
19221 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
19222 (desktop-restore-frames): Warn when deleting an existing frame failed.
19224 2013-07-24 Glenn Morris <rgm@gnu.org>
19226 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
19228 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
19230 * filenotify.el (file-notify-supported-p):
19231 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19234 * autorevert.el (auto-revert-use-notify)
19235 (auto-revert-notify-add-watch):
19236 * net/tramp.el (tramp-file-name-for-operation):
19237 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19238 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19240 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19241 Remove `file-notify-supported-p' entry.
19243 2013-07-24 Glenn Morris <rgm@gnu.org>
19245 * printing.el: Replace all uses of deleted ps-windows-system,
19246 ps-lp-system, ps-flatten-list with lpr- versions.
19248 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
19250 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
19251 checked with memq (bug#14935).
19253 * files.el (revert-buffer-function): Use a non-nil default.
19254 (revert-buffer-preserve-modes): Declare var to
19255 provide access to the `preserve-modes' argument.
19256 (revert-buffer): Let-bind it.
19257 (revert-buffer--default): New function, extracted from revert-buffer.
19259 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
19261 * lpr.el: Signal print errors more prominently.
19262 (print-region-function): Don't default to nil.
19263 (lpr-print-region): New function, extracted from print-region-1.
19264 Check lpr's return value and signal an error in case of problem.
19265 (print-region-1): Use it.
19266 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
19268 (ps-printer-name): Default to nil.
19269 (ps-printer-name-option): Default to lpr-printer-switch.
19270 (ps-print-region-function): Don't default to nil.
19271 (ps-postscript-code-directory): Simplify default.
19272 (ps-do-despool): Use lpr-print-region to properly check the outcome.
19273 (ps-string-list, ps-eval-switch, ps-flatten-list)
19274 (ps-flatten-list-1): Remove.
19275 (ps-multibyte-buffer): Avoid setq.
19276 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
19277 (print-region-function, ps-print-region-function): Don't set them here.
19279 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
19281 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
19282 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
19283 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
19284 (ido-decorations): Doc fix.
19286 * ansi-color.el: Fix old URL.
19288 2013-07-23 Michael R. Mauger <michael@mauger.com>
19290 * progmodes/sql.el: Version 3.3
19291 (sql-product-alist): Improve oracle :prompt-cont-regexp.
19292 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
19293 (sql-interactive-remove-continuation-prompt): Rewrite, use
19294 functions above. Fix continuation prompt and complete output line
19296 (sql-redirect-one, sql-execute): Use `read-only-mode' on
19297 redirected output buffer.
19298 (sql-mode): Restore deleted code (Bug#13591).
19300 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
19302 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
19304 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
19306 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
19308 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19309 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
19312 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
19314 * desktop.el (desktop-clear): Simplify; remove useless checks
19315 against invalid buffer names.
19316 (desktop-list*): Use cl-list*.
19317 (desktop-buffer-info, desktop-create-buffer): Simplify.
19319 2013-07-23 Leo Liu <sdl.web@gmail.com>
19321 * bookmark.el (bookmark-make-record): Restore NAME as a default
19324 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
19326 * emacs-lisp/autoload.el (autoload--setup-output): New function,
19327 extracted from autoload--insert-text.
19328 (autoload--insert-text): Remove.
19329 (autoload--print-cookie-text): New function, extracted from
19330 autoload--insert-cookie-text.
19331 (autoload--insert-cookie-text): Remove.
19332 (autoload-generate-file-autoloads): Adjust calls accordingly.
19334 * winner.el (winner-hook-installed-p): Remove.
19335 (winner-mode): Simplify accordingly.
19337 * subr.el (add-to-list): Fix compiler-macro when `append' is
19338 not constant. Don't use `cl-member' for the base case.
19340 * progmodes/subword.el: Fix boundary case (bug#13758).
19341 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
19343 (subword-backward-regexp): Make it a constant.
19344 (subword-forward-internal): Don't treat a trailing capital as the
19345 beginning of a word.
19347 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
19349 * emacs-lisp/package.el (package-menu-mode): Don't modify the
19350 global value of tabulated-list-revert-hook (bug#14930).
19352 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
19354 * desktop.el: Require 'cl-lib.
19355 (desktop-before-saving-frames-functions): New hook.
19356 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
19357 for frames being saved. Rename from desktop--save-minibuffer-frames.
19358 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
19359 Do not save frames with non-nil `desktop-dont-save' parameter.
19360 Filter out deleted frames.
19361 (desktop--find-frame): Use cl-find-if.
19362 (desktop--select-frame): Use cl-(first|second|third) to access values
19364 (desktop--make-frame): Use cl-delete-if.
19365 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
19366 (desktop-restore-frames): Use cl-(first|second|third) to access values
19367 of desktop-mini. Look for visible frame at the end, not while
19370 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
19371 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
19372 Use string-match-p, looking-at-p (bug#14927).
19374 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
19376 * desktop.el (desktop-saved-frame-states):
19377 Rename from desktop--saved-states; all users changed.
19378 (desktop-save-frames): Rename from desktop--save-frames.
19379 Do not save state to desktop file.
19380 (desktop-save): Save desktop-saved-frame-states to desktop file
19382 (desktop-restoring-frames-p): New function.
19383 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
19384 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
19385 buffer-lists when restoring frames. Suggested by Martin Rudalics.
19387 * desktop.el: Correctly restore iconified frames.
19388 (desktop--filter-iconified-position): New function.
19389 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
19391 2013-07-20 Glenn Morris <rgm@gnu.org>
19393 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
19394 Let `message' do the formatting.
19395 (def-gdb-preempt-display-buffer): Add explicit format.
19397 * image-dired.el (image-dired-track-original-file):
19398 Use with-current-buffer.
19399 (image-dired-track-thumbnail): Use with-current-buffer.
19400 Avoid changing point of wrong window.
19402 * image-dired.el (image-dired-track-original-file):
19403 Avoid changing point of wrong window. (Bug#14909)
19405 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
19407 * progmodes/gdb-mi.el (gdb-done-or-error):
19408 Guard against "%" in gdb output. (Bug#14127)
19410 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
19412 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
19415 * international/mule.el (coding-system-iso-2022-flags): Fix last
19418 2013-07-20 Kenichi Handa <handa@gnu.org>
19420 * international/mule.el (coding-system-iso-2022-flags):
19421 Add `8-bit-level-4'. (Bug#8522)
19423 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19425 * net/shr.el (shr-mouse-browse-url): New command and keystroke
19428 * net/eww.el (eww-process-text-input): Allow inputting when the
19429 point is at the start of the line, as the properties aren't
19432 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
19435 2013-07-19 Richard Stallman <rms@gnu.org>
19437 * epa.el (epa-popup-info-window): Doc fix.
19439 * subr.el (split-string): New arg TRIM.
19441 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
19443 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
19444 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
19446 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
19448 * filenotify.el (file-notify--library): Rename from
19449 `file-notify-support'. Do not autoload. Adapt all uses.
19450 (file-notify-supported-p): New defun.
19452 * autorevert.el (auto-revert-use-notify):
19453 Use `file-notify-supported-p' instead of `file-notify-support'.
19455 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
19457 * net/tramp.el (tramp-file-name-for-operation):
19458 Add `file-notify-supported-p'.
19460 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19462 (tramp-sh-file-name-handler-alist): Add it as handler for
19463 `file-notify-supported-p '.
19465 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19466 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19467 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19468 Add `ignore' as handler for `file-notify-*' functions.
19470 2013-07-17 Eli Zaretskii <eliz@gnu.org>
19472 * simple.el (line-move-partial, line-move): Don't start vscroll or
19473 scroll-up if the current line is not taller than the window.
19476 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
19478 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
19479 highlight question marks in the method names as strings.
19480 (ruby-block-beg-keywords): Inline.
19481 (ruby-font-lock-keyword-beg-re): Extract from
19482 `ruby-font-lock-keywords'.
19484 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
19486 * frame.el (blink-cursor-blinks): New defcustom.
19487 (blink-cursor-blinks-done): New defvar.
19488 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
19489 (blink-cursor-timer-function): Check if number of blinks has been
19491 (blink-cursor-suspend, blink-cursor-check): New defuns.
19493 2013-07-15 Glenn Morris <rgm@gnu.org>
19495 * edmacro.el (edmacro-format-keys): Fix previous change.
19497 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
19499 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
19500 The hack didn't work outside English locales anyway.
19502 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
19504 * simple.el (define-alternatives): Rename from alternatives-define,
19505 per RMS' suggestion.
19507 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
19509 * desktop.el (desktop-restore-frames): Change default to t.
19510 (desktop-restore-in-current-display): Now offer more options.
19511 (desktop-restoring-reuses-frames): New customization option.
19512 (desktop--saved-states): Doc fix.
19513 (desktop-filter-parameters-alist): New variable, renamed and expanded
19514 from desktop--excluded-frame-parameters.
19515 (desktop--target-display): New variable.
19516 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
19517 (desktop--filter-tty*, desktop--filter-*-color)
19518 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19519 (desktop--filter-save-desktop-parm)
19520 (desktop-restore-in-original-display-p): New functions.
19521 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
19522 (desktop--save-minibuffer-frames): New function, inspired by a similar
19523 function from Martin Rudalics.
19524 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
19525 (desktop--restore-in-this-display-p): Remove.
19526 (desktop--find-frame): Rename from desktop--find-frame-in-display
19527 and add predicate argument.
19528 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
19529 (desktop--reuse-list): New variable.
19530 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
19532 (desktop--restore-frames): Add support for "minibuffer-special" frames.
19534 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
19536 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
19538 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
19540 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19541 Highlight conversion methods on Kernel.
19543 2013-07-13 Alan Mackenzie <acm@muc.de>
19545 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
19546 and comment it out. This out-commenting enables certain C++
19547 declarations to be parsed correctly.
19549 2013-07-13 Eli Zaretskii <eliz@gnu.org>
19551 * international/mule.el (define-coding-system): Doc fix.
19553 * simple.el (default-font-height): Don't call font-info if the
19554 frame's default font didn't change since the frame was created.
19557 2013-07-13 Leo Liu <sdl.web@gmail.com>
19559 * ido.el (ido-read-file-name): Guard against non-symbol value.
19561 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19563 * progmodes/python.el (python-imenu--build-tree): Fix corner case
19566 2013-07-13 Leo Liu <sdl.web@gmail.com>
19568 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
19569 ido-set-matches call. (Bug#6852)
19571 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
19573 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
19574 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
19576 (ruby-font-lock-keywords): Distinguish calls to functions with
19577 module-like names from module references. Highlight character
19580 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
19582 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
19583 (gdb-send): Handle continued commands. (Bug#14847)
19585 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19587 * desktop.el (desktop--v2s): Remove unused local variable.
19588 (desktop-save-buffer): Make defvar-local; adjust docstring.
19589 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
19590 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
19592 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
19594 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
19596 2013-07-12 Eli Zaretskii <eliz@gnu.org>
19598 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
19601 2013-07-12 Glenn Morris <rgm@gnu.org>
19603 * doc-view.el: Require cl-lib at runtime too.
19604 (doc-view-remove-if): Remove.
19605 (doc-view-search-next-match, doc-view-search-previous-match):
19608 * edmacro.el: Require cl-lib at runtime too.
19609 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
19610 (edmacro-mismatch, edmacro-subseq): Remove.
19612 * shadowfile.el: Require cl-lib.
19613 (shadow-remove-if): Remove.
19614 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
19617 * wid-edit.el: Require cl-lib.
19618 (widget-choose): Use cl-remove-if.
19619 (widget-remove-if): Remove.
19621 * progmodes/ebrowse.el: Require cl-lib at runtime too.
19622 (ebrowse-delete-if-not): Remove.
19623 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
19624 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
19625 Use cl-delete-if-not.
19627 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19629 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
19630 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
19632 2013-07-12 Leo Liu <sdl.web@gmail.com>
19634 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
19636 2013-07-11 Glenn Morris <rgm@gnu.org>
19638 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
19639 (edebug-gensym-index, edebug-gensym):
19640 Remove reimplementation of cl-gensym.
19641 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
19643 * thumbs.el: Require cl-lib at run-time too.
19644 (thumbs-gensym-counter, thumbs-gensym):
19645 Remove reimplementation of cl-gensym.
19646 (thumbs-temp-file): Use cl-gensym.
19648 * emacs-lisp/ert.el: Require cl-lib at runtime too.
19649 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
19650 (ert--intersection, ert--set-difference, ert--set-difference-eq)
19651 (ert--union, ert--gensym-counter, ert--gensym-counter)
19652 (ert--coerce-to-vector, ert--remove*, ert--string-position)
19653 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
19654 (ert-make-test-unbound, ert--expand-should-1)
19655 (ert--expand-should, ert--should-error-handle-error)
19656 (should-error, ert--explain-equal-rec)
19657 (ert--plist-difference-explanation, ert-select-tests)
19658 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19659 Use cl-lib functions rather than reimplementations.
19661 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
19663 * net/tramp.el (tramp-methods): Extend docstring.
19664 (tramp-connection-timeout): New defcustom.
19665 (tramp-error-with-buffer): Reset timestamp only when appropriate.
19666 (with-tramp-progress-reporter): Simplify.
19667 (tramp-process-actions): Improve messages.
19669 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19670 * net/tramp-sh.el (tramp-maybe-open-connection):
19671 Use `tramp-connection-timeout'.
19672 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19675 2013-07-11 Leo Liu <sdl.web@gmail.com>
19677 * ido.el (ido-read-file-name): Conform to the requirements of
19678 read-file-name. (Bug#11861)
19679 (ido-read-directory-name): Conform to the requirements of
19680 read-directory-name.
19682 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
19684 * subr.el (delay-warning): New function.
19686 2013-07-10 Eli Zaretskii <eliz@gnu.org>
19688 * simple.el (default-line-height): New function.
19689 (line-move-partial, line-move): Use it instead of computing the
19690 line height inline.
19691 (line-move-partial): Always compute ROWH. If the last line is
19692 partially-visible, but its text is completely visible, allow
19693 cursor to enter such a partially-visible line.
19695 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
19697 Improve error messages. (Bug#14808)
19699 * net/tramp.el (tramp-current-connection): New defvar, moved from
19701 (tramp-message-show-progress-reporter-message): Remove, not
19703 (tramp-error-with-buffer): Show message in minibuffer.
19704 Discard input before waiting. Reset connection timestamp.
19705 (with-tramp-progress-reporter): Improve messages.
19706 (tramp-process-actions): Use progress reporter. Delete process in
19707 case of error. Improve messages.
19709 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19710 Call `tramp-error-with-buffer' with vector and buffer.
19711 (tramp-current-connection): Remove.
19712 (tramp-maybe-open-connection): The car of
19713 `tramp-current-connection' are the first 3 slots of the vector.
19715 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
19717 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19718 inside continued strings.
19720 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
19722 Timestamp fixes for undo (Bug#14824).
19723 * files.el (clear-visited-file-modtime): Move here from fileio.c.
19725 2013-07-10 Leo Liu <sdl.web@gmail.com>
19727 * files.el (require-final-newline): Allow safe local value.
19730 2013-07-09 Leo Liu <sdl.web@gmail.com>
19732 * ido.el (ido-read-directory-name): Handle fallback.
19733 (ido-read-file-name): Update DIR to ido-current-directory.
19735 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
19737 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
19739 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19740 "autoload". Remove "warn lower camel case" section, previously
19741 commented out. Highlight negation char. Do not highlight the
19742 target in singleton method definitions.
19744 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19746 * faces.el (tty-setup-hook): Declare the hook.
19748 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19749 and detect when a guard/pred depends on local vars (bug#14773).
19750 (pcase--u1): Adjust caller.
19752 2013-07-08 Eli Zaretskii <eliz@gnu.org>
19754 * simple.el (line-move-partial, line-move): Account for
19756 (line-move-partial): Avoid setting vscroll when the last
19757 partially-visible line in window is of default height.
19759 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19761 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19764 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
19766 * subr.el (read-quoted-char): Remove unused local variable `char'.
19768 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
19770 * vc/ediff.el (ediff-version): Version update.
19771 (ediff-files-command, ediff3-files-command, ediff-merge-command)
19772 (ediff-merge-with-ancestor-command, ediff-directories-command)
19773 (ediff-directories3-command, ediff-merge-directories-command)
19774 (ediff-merge-directories-with-ancestor-command): New functions.
19775 All are command-line interfaces to ediff: to facilitate calling
19776 Emacs with the appropriate ediff functions invoked.
19778 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19780 (viper-save-kill-buffer): Check if buffer is modified.
19782 * emulation/viper.el (viper-version): Version update.
19783 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19785 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
19787 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19788 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19789 (viper-intercept-ESC-key): Simplify.
19790 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19792 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19793 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19794 (viper-setup-ESC-to-escape): New functions.
19795 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19796 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
19798 2013-07-07 Eli Zaretskii <eliz@gnu.org>
19800 * simple.el (default-font-height, window-screen-lines):
19802 (line-move, line-move-partial): Use them instead of
19803 frame-char-height and window-text-height. This makes scrolling
19804 text smoother when the buffer's default face uses a font that is
19805 different from the frame's default font.
19807 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
19809 * files.el (write-file): Do not display confirm dialog for NS,
19810 it does its own dialog, which can't be canceled (Bug#14578).
19812 2013-07-06 Eli Zaretskii <eliz@gnu.org>
19814 * simple.el (line-move-partial): Adjust the row returned by
19815 posn-at-point for the current window-vscroll. (Bug#14567)
19817 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
19819 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19820 (tramp-sh-file-inotifywait-process-filter): Handle file names with
19823 2013-07-06 Martin Rudalics <rudalics@gmx.at>
19825 * window.el (window-state-put-stale-windows): New variable.
19826 (window--state-put-2): Save list of windows without matching buffer.
19827 (window-state-put): Remove "bufferless" windows if possible.
19829 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19831 * simple.el (alternatives-define): Remove leftover :group keyword.
19834 2013-07-06 Leo Liu <sdl.web@gmail.com>
19836 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19837 (ido-enable-virtual-buffers): New variable.
19838 (ido-buffer-internal, ido-toggle-virtual-buffers)
19839 (ido-make-buffer-list): Use it.
19840 (ido-exhibit): Support turning on and off virtual buffers
19843 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19845 * simple.el (alternatives-define): New macro.
19847 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
19849 * subr.el (read-quoted-char): Use read-key.
19850 (sit-for): Let read-event decode tty input (bug#14782).
19852 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
19854 * calendar/todo-mode.el: Add handling of file deletion, both by
19855 mode command and externally. Fix various related bugs.
19856 Clarify Commentary and improve some documentation strings and code.
19857 (todo-delete-file): New command.
19858 (todo-check-file): New function.
19859 (todo-show): Handle external deletion of the file we're trying to
19860 show (bug#14688). Replace called-interactively-p by an optional
19861 prefix argument to avoid problematic interaction with catch form
19862 when byte compiled (bug#14702).
19863 (todo-quit): Handle external deletion of the archive's todo file.
19864 Make sure the buffer that was visiting the archive file is still
19865 live before trying to bury it.
19866 (todo-category-completions): Handle external deletion of any
19867 category completion files.
19868 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19869 of todo files, in case of external deletion.
19870 (todo-add-file): Replace unnecessary setq by let-binding.
19871 (todo-find-archive): Check whether there are any archives.
19872 Replace unnecessary setq by let-binding.
19873 (todo-archive-done-item): Use find-file-noselect to get the
19874 archive buffer whether or not the archive already exists.
19875 Remove superfluous code. Use file size instead of buffer-file-name to
19876 check if the archive is new; if it is, update list of archives.
19877 (todo-default-todo-file): Allow nil to be a valid value for when
19878 there are no todo files.
19879 (todo-reevaluate-default-file-defcustom): Use corrected definition
19880 of todo-default-todo-file.
19881 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19882 (todo-delete-category, todo-show-categories-table)
19883 (todo-category-number): Clarify comment.
19884 (todo-filter-items): Clarify documentation string.
19885 (todo-show-current-file, todo-display-as-todo-file)
19886 (todo-reset-and-enable-done-separator): Tweak documentation string.
19887 (todo-done-separator): Make separator length window-width, since
19888 bug#2749 is now fixed.
19890 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
19892 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19893 Support both "gvfs-monitor-dir" and "inotifywait".
19894 (tramp-sh-file-inotifywait-process-filter): Rename from
19895 `tramp-sh-file-notify-process-filter'.
19896 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19897 (tramp-get-remote-gvfs-monitor-dir): New defuns.
19899 2013-07-05 Leo Liu <sdl.web@gmail.com>
19901 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19903 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19905 * frame.el (display-pixel-height, display-pixel-width)
19906 (display-mm-height, display-mm-width): Mention behavior on
19907 multi-monitor setups in docstrings.
19908 (w32-display-monitor-attributes-list): Declare function.
19909 (display-monitor-attributes-list): Use it.
19911 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
19913 * filenotify.el: New package.
19915 * autorevert.el (top): Require filenotify.el.
19916 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
19918 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19919 (auto-revert-notify-handler): Use `file-notify-*' functions.
19921 * subr.el (file-notify-handle-event): Move function to filenotify.el.
19923 * net/tramp.el (tramp-file-name-for-operation):
19924 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19926 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19927 for `file-notify-add-watch' and `file-notify-rm-watch'.
19928 (tramp-process-sentinel): Improve trace.
19929 (tramp-sh-handle-file-notify-add-watch)
19930 (tramp-sh-file-notify-process-filter)
19931 (tramp-sh-handle-file-notify-rm-watch)
19932 (tramp-get-remote-inotifywait): New defuns.
19934 2013-07-03 Juri Linkov <juri@jurta.org>
19936 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19937 call of `occur-read-primary-args' to interactive spec.
19939 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19940 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
19942 2013-07-03 Matthias Meulien <orontee@gmail.com>
19944 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19945 `Buffer-menu-multi-occur'. Add it to the menu.
19946 (Buffer-menu-mode): Document it in docstring.
19947 (Buffer-menu-multi-occur): New command. (Bug#14673)
19949 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19951 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
19952 keywords and built-ins.
19954 2013-07-03 Glenn Morris <rgm@gnu.org>
19956 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
19958 Make info-xref checks case-sensitive by default
19959 * info.el (Info-find-node, Info-find-in-tag-table)
19960 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
19961 Add option for exact case matching of nodes.
19962 * info-xref.el (info-xref): New custom group.
19963 (info-xref-case-fold): New option.
19964 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
19966 2013-07-03 Leo Liu <sdl.web@gmail.com>
19968 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
19970 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
19972 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
19973 middle of block statement initially, lower the depth. Remove
19974 FIXME comment, not longer valid. Remove middle of block statement
19975 detection, no need to do that anymore since we've been using
19976 `ruby-parse-region' here.
19978 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
19980 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
19982 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
19984 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
19986 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
19988 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
19989 (desktop-restore-in-current-display): New customization option.
19990 (desktop--excluded-frame-parameters): Add `font'.
19991 (desktop--save-frames): Rename from desktop--save-windows.
19992 (desktop--restore-in-this-display-p): New function.
19993 (desktop--make-full-frame): Remove unwanted width/height from
19994 full(width|height) frames.
19995 (desktop--restore-frames): Rename from desktop--restore-windows.
19996 Obey desktop-restore-current-display. Do not delete old frames or
19997 select a new frame unless we were able to restore at least one frame.
19999 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
20001 * files.el (find-file-noselect): Simplify conditional expression.
20003 * textmodes/remember.el (remember-append-to-file):
20004 Don't mix `find-buffer-visiting' and `get-file-buffer'.
20006 Add `remember-notes' function to store random notes across Emacs
20008 * textmodes/remember.el (remember-data-file): Add :set callback to
20009 affect notes buffer (if any).
20010 (remember-notes): New command.
20011 (remember-notes-buffer-name, bury-remember-notes-on-kill):
20012 New defcustoms for the `remember-notes' function.
20013 (remember-notes-save-and-bury-buffer): New command.
20014 (remember-notes-mode-map): New variable.
20015 (remember-mode): New minor mode.
20016 (remember-notes--kill-buffer-query): New function.
20017 * startup.el (initial-buffer-choice): Add notes to custom type.
20019 2013-06-30 Eli Zaretskii <eliz@gnu.org>
20021 * bindings.el (right-char, left-char): Don't call sit-for, this is
20022 no longer needed. Use arithmetic comparison only for numerical
20025 * international/mule-cmds.el (select-safe-coding-system):
20026 Handle the case of FROM being a string correctly. (Bug#14755)
20028 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20030 * net/shr.el (shr-make-table-1): Add a sanity check that allows
20031 progression on degenerate tables.
20032 (shr-rescale-image): ImageMagick animated images currently don't work.
20034 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
20036 Some fixes and improvements for desktop frame restoration.
20037 It is still experimental and disabled by default.
20038 * desktop.el (desktop--save-windows): Put the selected frame at
20039 the head of the list.
20040 (desktop--make-full-frame): New function.
20041 (desktop--restore-windows): Try to re-select the frame that was
20042 selected upon saving. Do not abort if some frames fail to restore,
20043 just show an error message and continue. Set up maximized frames
20044 so they have default non-maximized dimensions.
20046 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
20048 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20049 Don't start heredoc inside a string or comment.
20051 2013-06-29 Eli Zaretskii <eliz@gnu.org>
20053 * bindings.el (visual-order-cursor-movement): New defcustom.
20054 (right-char, left-char): Provide visual-order cursor motion by
20055 calling move-point-visually. Update the doc strings.
20057 2013-06-28 Kenichi Handa <handa@gnu.org>
20059 * international/mule.el (define-coding-system): New coding system
20060 properties :inhibit-null-byte-detection,
20061 :inhibit-iso-escape-detection, and :prefer-utf-8.
20062 (set-buffer-file-coding-system): If :charset-list property of
20063 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
20064 appropriate for setting.
20066 * international/mule-cmds.el (select-safe-coding-system):
20067 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
20068 multibyte characters, return utf-8 (or one of its siblings).
20070 * international/mule-conf.el (prefer-utf-8): New coding system.
20071 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
20074 2013-06-28 Ivan Kanis <ivan@kanis.fr>
20076 * net/shr.el (shr-render-region): New function.
20078 * net/eww.el: Autoload `eww-browse-url'.
20080 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
20082 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20083 Adapt to `package-desc-version' being a list.
20084 Use `package--ac-desc-version' to retrieve version from a package
20087 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
20089 New experimental feature to save&restore window and frame setup.
20090 * desktop.el (desktop-save-windows): New defcustom.
20091 (desktop--saved-states): New var.
20092 (desktop--excluded-frame-parameters): New defconst.
20093 (desktop--filter-frame-parms, desktop--find-frame-in-display)
20094 (desktop--restore-windows, desktop--save-windows): New functions.
20095 (desktop-save): Call `desktop--save-windows'.
20096 (desktop-read): Call `desktop--restore-windows'.
20098 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20100 * net/shr.el (add-face-text-property): Remove compat definition.
20102 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20104 * info.el (Info-try-follow-nearest-node): Move search for footnote
20105 above search for node name to prevent missing a footnote (bug#14717).
20107 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20109 * obsolete/otodo-mode.el: Add obsolescence info to file header.
20111 2013-06-27 Leo Liu <sdl.web@gmail.com>
20113 * net/eww.el (eww-read-bookmarks): Check file size.
20115 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20117 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
20118 advice--pending if newdef is nil or an autoload (bug#13820).
20119 (advice-mapc): New function.
20121 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20123 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
20125 (eww-mode-map): Add a menu bar.
20126 (eww-add-bookmark): New command.
20127 (eww-bookmark-mode): New mode and commands.
20128 (eww-add-bookmark): Remove newlines from the title.
20129 (eww-bookmark-browse): Don't bug out if it's the only window.
20131 2013-06-26 Glenn Morris <rgm@gnu.org>
20133 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
20134 (hfy-size): Handle ttys. (Bug#14668)
20136 * info-xref.el: Update for Texinfo 5 change in *note format.
20137 (info-xref-node-re, info-xref-note-re): New constants.
20138 (info-xref-check-buffer): Use info-xref-note-re.
20140 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20142 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
20144 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
20145 nil terminate the loop (bug#14718).
20147 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20149 * net/eww.el: Rework history traversal. When going forward/back,
20150 put these actions into the history, too, so that they can be
20152 (eww-render): Move the history reset to the correct buffer.
20154 2013-06-25 Juri Linkov <juri@jurta.org>
20156 * files-x.el (modify-dir-local-variable): Change the header comment
20157 in the file with directory local variables. (Bug#14692)
20159 * files-x.el (read-file-local-variable-value): Add `default'.
20162 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20164 * net/eww.el (eww-make-unique-file-name): Create a unique file
20165 name before saving to entering `y' accidentally asynchronously.
20167 2013-06-25 Ivan Kanis <ivan@kanis.fr>
20169 * net/eww.el (eww-download): New command and keystroke.
20171 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20173 * net/eww.el (eww-copy-page-url): Change name of command.
20175 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
20176 be more consistent with Info and dired.
20178 * net/eww.el (eww-mode-map): Ditto.
20180 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20182 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
20183 packages from archives.
20184 (package-archive-contents): Change format; include obsolete packages.
20185 (package-desc): Use `dir' to mark builtin packages.
20186 (package--from-builtin): Set the `dir' field to `builtin'.
20187 (generated-autoload-file, version-control): Declare.
20188 (package-compute-transaction): Change first arg and return value to be
20189 lists of package-descs. Adjust to new package-archive-contents format.
20190 (package--add-to-archive-contents): Adjust to new
20191 package-archive-contents format.
20192 (package-download-transaction): Arg is now a list of package-descs.
20193 (package-install): If `pkg' is a package name, pass it as
20194 a requirement, so it is subject to the usual (e.g. disabled) checks.
20195 (describe-package): Accept package-desc as well.
20196 (describe-package-1): Describe a specific package-desc. Add links to
20197 other package-descs for the same package name.
20198 (package-menu-describe-package): Pass the actual package-desc.
20199 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
20201 (package-desc-status): New function.
20202 (package-menu--refresh): New function, extracted
20203 from package-menu--generate.
20204 (package-menu--generate): Use it.
20205 (package-delete): Update package-alist.
20206 (package-menu-execute): Don't call package-initialize.
20208 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
20209 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
20210 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
20211 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
20212 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
20213 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
20215 2013-06-25 Martin Rudalics <rudalics@gmx.at>
20217 * window.el (window--state-get-1): Workaround for bug#14527.
20218 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
20220 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20222 * net/eww.el (eww-back-url): Implement the history by stashing all
20223 the data into a list.
20224 (eww-forward-url): Allow going forward in the history, too.
20226 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20228 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
20229 for values and use read--expression for expressions (bug#14710).
20230 (read-file-local-variable): Avoid setq.
20231 (read-file-local-variable-mode): Use minor-mode-list.
20233 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20235 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
20238 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20240 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
20241 Update imenu-support when dialect changes.
20243 2013-06-25 Leo Liu <sdl.web@gmail.com>
20245 * ido.el (ido-read-internal): Allow forward slash on windows.
20247 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
20249 * net/eww.el (eww): Start of strings is \\`, not ^.
20251 2013-06-24 Ivan Kanis <ivan@kanis.fr>
20253 * net/shr.el (shr-browse-url): Fix interactive spec.
20255 * net/eww.el (eww): Add a trailing slash to domain names.
20257 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
20259 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
20261 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
20263 * net/shr.el (shr-browse-url): Use an external browser if given a
20266 * net/eww.el (eww-external-browser): Move to shr.
20268 2013-06-24 Ivan Kanis <ivan@kanis.fr>
20270 * net/eww.el (eww): Work more correctly for file: URLs.
20271 (eww-detect-charset): Allow quoted charsets.
20272 (eww-yank-page-url): New command and keystroke.
20274 2013-06-24 Daiki Ueno <ueno@gnu.org>
20276 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
20277 file name of gpg executable.
20278 (epg-context-program): New function.
20279 (epg-context-home-directory): New function.
20280 (epg-context-set-program): New function.
20281 (epg-context-set-home-directory): New function.
20282 (epg--start): Use `epg-context-program' instead of
20284 (epg--list-keys-1): Likewise.
20286 2013-06-24 Leo Liu <sdl.web@gmail.com>
20288 * ido.el (ido-read-internal): Fix bug#14620.
20290 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
20292 * faces.el (face-documentation): Simplify.
20293 (read-face-attribute, tty-find-type, x-resolve-font-name):
20294 Use `string-match-p'.
20295 (list-faces-display): Use `string-match-p'. Simplify.
20296 (face-spec-recalc): Check face to avoid face alias loops.
20297 (read-color): Use `string-match-p' and non-capturing parenthesis.
20299 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20301 * net/shr.el (shr-rescale-image): Use the new
20302 :max-width/:max-height functionality.
20304 2013-06-23 Ivan Kanis <ivan@kanis.fr>
20306 * net/eww.el (eww-search-prefix): New variable.
20308 (eww-external-browser): New variable.
20309 (eww-mode-map): New keystroke.
20310 (eww-browse-with-external-browser): New command.
20312 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
20314 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
20316 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
20317 Don't skip aligning the next header field when padding is 0;
20318 otherwise, field width is not respected unless the title is as
20321 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
20323 * emacs-lisp/package.el (package-el-version): Remove.
20324 (package-process-define-package): Fix inf-loop.
20325 (package-install): Allow symbols as arguments again.
20327 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
20329 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
20330 add some more keyword-like methods.
20331 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
20333 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
20335 * bs.el (bs-buffer-show-mark): Make defvar-local.
20336 (bs-mode): Use setq-local.
20338 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
20339 (emacs-lock--try-unlocking): Make defvar-local.
20341 2013-06-22 Glenn Morris <rgm@gnu.org>
20343 * play/cookie1.el (cookie-apropos): Minor simplification.
20345 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
20347 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
20349 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
20350 `regexp-opt', it breaks the build during dumping.
20352 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
20354 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20355 Highlight keyword-like methods on Kernel and Module with
20356 font-lock-builtin-face.
20357 (auto-mode-alist): Consolidate different entries into one regexp
20358 and add more *file-s.
20360 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
20362 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
20364 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
20365 (diary-entry): Use it in the action of this button type instead of
20368 * calendar/todo-mode.el: New version.
20369 (todo-add-category): Append new category to end of file and give
20370 it the highest number, instead of putting it at the beginning and
20371 giving it 0. Incorporate noninteractive functionality.
20372 (todo-forward-category): Adapt to 1-based category numbering.
20373 Allow skipping over archived categories.
20374 (todo-backward-category): Derive from todo-forward-category.
20375 (todo-backward-item, todo-forward-item): Make noninteractive and
20376 delegate interactive part to new commands. Make sensitive to done items.
20377 (todo-categories): Make value an alist of category names and
20378 vectors of item counts.
20379 (todo-category-beg): Make a defconst.
20380 (todo-category-number): Use 1 instead of 0 as initial value.
20381 (todo-category-select): Make sensitive to overlays, optional item
20382 highlighting and done items.
20383 (todo-delete-item): Make sensitive to overlays and marked and done items.
20384 (todo-edit-item): Make sensitive to overlays and editing of
20385 date/time header optional. Add format checks.
20386 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
20387 no-op if point is not on an item. Advertise using todo-edit-quit.
20388 (todo-edit-mode): Make sensitive to new format, font-locking, and
20389 multiple todo files.
20390 (todo-insert-item, todo-insert-item-here): Derive from
20391 todo-basic-insert-item and extend functionality.
20392 (todo-item-end, todo-item-start): Make sensitive to done items.
20393 (todo-item-string): Don't return text properties. Restore point.
20394 (todo-jump-to-category): Make sensitive to multiple todo files and
20395 todo archives. Use extended category completion.
20396 (todo-lower-item, todo-raise-item): Rename to *-priority and
20397 derive from todo-set-item-priority.
20398 (todo-mode): Derive from special-mode. Make sensitive to new
20399 format, font-locking and multiple todo files. Make read-only.
20400 (todo-mode-map): Don't suppress digit keys, so they can supply
20401 prefix arguments. Add many new key bindings.
20402 (todo-prefix): Insert as an overlay instead of file text.
20403 Change semantics from diary date expression to purely visual mark.
20404 (todo-print): Rename to todo-print-buffer. Make buffer display
20405 features printable. Remove option to restrict number of items
20406 printed. Add option to print to file.
20407 (todo-print-function): Rename to todo-print-buffer-function.
20408 (todo-quit): Extend to handle exiting new todo modes.
20409 (todo-remove-item): Make sensitive to overlays.
20410 (todo-save): Extend to buffers of filtered items.
20411 (todo-show): Make sensitive to done items, multiple todo files and
20412 new todo modes. Offer to convert legacy todo file before creating
20413 first new todo file.
20414 (todo-show-priorities): Rename to todo-top-priorities.
20415 Change semantics of value 0.
20416 (todo-top-priorities): Rename to todo-filter-top-priorities,
20417 derive from todo-filter-items and extend functionality.
20418 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
20419 and extend functionality to other types of filtered items.
20420 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
20421 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
20422 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
20423 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
20424 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
20425 (todo-edit-mode-hook, todo-entry-prefix-function)
20426 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
20427 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
20428 (todo-initials, todo-insert-threshold, todo-item-string-start)
20429 (todo-line-string, todo-menu, todo-mode-hook)
20430 (todo-more-important-p, todo-previous-answer, todo-previous-line)
20431 (todo-print-priorities, todo-remove-separator)
20432 (todo-save-top-priorities-too, todo-string-count-lines)
20433 (todo-string-multiline-p, todo-time-string-format)
20434 (todo-tmp-buffer-name): Remove.
20435 (todo-add-file, todo-archive-done-item, todo-choose-archive)
20436 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
20437 (todo-edit-category-diary-inclusion)
20438 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
20439 (todo-edit-file, todo-edit-item-date-day)
20440 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
20441 (todo-edit-item-date-month, todo-edit-item-date-to-today)
20442 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
20443 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
20444 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
20445 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
20446 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
20447 (todo-filter-top-priorities-multifile, todo-find-archive)
20448 (todo-find-filtered-items-file, todo-go-to-source-item)
20449 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
20450 (todo-jump-to-archive-category, todo-lower-category)
20451 (todo-mark-category, todo-marked-item-p, todo-merge-category)
20452 (todo-move-category, todo-move-item, todo-next-button)
20453 (todo-next-item, todo-padded-string, todo-powerset)
20454 (todo-previous-button, todo-previous-item)
20455 (todo-print-buffer-to-file, todo-raise-category)
20456 (todo-rename-category, todo-repair-categories-sexp, todo-search)
20457 (todo-set-category-number, todo-set-item-priority)
20458 (todo-set-top-priorities-in-category)
20459 (todo-set-top-priorities-in-file, todo-show-categories-table)
20460 (todo-sort-categories-alphabetically-or-numerically)
20461 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
20462 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
20463 (todo-toggle-item-header, todo-toggle-item-highlighting)
20464 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
20465 (todo-toggle-view-done-items, todo-toggle-view-done-only)
20466 (todo-unarchive-items, todo-unmark-category): New commands.
20467 (todo-absolute-file-name, todo-add-to-buffer-list)
20468 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
20469 (todo-basic-insert-item, todo-category-completions)
20470 (todo-category-number, todo-category-string-matcher-1)
20471 (todo-category-string-matcher-2, todo-check-filtered-items-file)
20472 (todo-check-format, todo-clear-matches)
20473 (todo-comment-string-matcher, todo-convert-legacy-date-time)
20474 (todo-current-category, todo-date-string-matcher)
20475 (todo-define-insertion-command, todo-diary-expired-matcher)
20476 (todo-diary-goto-entry, todo-diary-item-p)
20477 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
20478 (todo-display-categories, todo-display-sorted, todo-done-item-p)
20479 (todo-done-item-section-p, todo-done-separator)
20480 (todo-done-string-matcher, todo-files, todo-filter-items)
20481 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
20482 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
20483 (todo-insert-category-line, todo-insert-item-from-calendar)
20484 (todo-insert-sort-button, todo-insert-with-overlays)
20485 (todo-insertion-command-name, todo-insertion-key-bindings)
20486 (todo-label-to-key, todo-longest-category-name-length)
20487 (todo-make-categories-list, todo-mode-external-set)
20488 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
20489 (todo-modes-set-3, todo-multiple-filter-files)
20490 (todo-nondiary-marker-matcher, todo-prefix-overlays)
20491 (todo-read-category, todo-read-date, todo-read-dayname)
20492 (todo-read-file-name, todo-read-time)
20493 (todo-reevaluate-category-completions-files-defcustom)
20494 (todo-reevaluate-default-file-defcustom)
20495 (todo-reevaluate-filelist-defcustoms)
20496 (todo-reevaluate-filter-files-defcustom)
20497 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
20498 (todo-reset-done-separator, todo-reset-done-separator-string)
20499 (todo-reset-done-string, todo-reset-global-current-todo-file)
20500 (todo-reset-highlight-item, todo-reset-nondiary-marker)
20501 (todo-reset-prefix, todo-set-categories)
20502 (todo-set-date-from-calendar, todo-set-show-current-file)
20503 (todo-set-top-priorities, todo-short-file-name)
20504 (todo-show-current-file, todo-sort, todo-time-string-matcher)
20505 (todo-total-item-counts, todo-update-buffer-list)
20506 (todo-update-categories-display, todo-update-categories-sexp)
20507 (todo-update-count, todo-validate-name, todo-y-or-n-p):
20509 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
20511 (todo-categories, todo-display, todo-edit, todo-faces)
20512 (todo-filtered): New defgroups.
20513 (todo-archived-only, todo-button, todo-category-string, todo-date)
20514 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
20515 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
20516 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
20517 (todo-add-item-if-new-category, todo-always-add-time-string)
20518 (todo-categories-align, todo-categories-archived-label)
20519 (todo-categories-category-label, todo-categories-diary-label)
20520 (todo-categories-done-label, todo-categories-number-separator)
20521 (todo-categories-todo-label, todo-categories-totals-label)
20522 (todo-category-completions-files, todo-completion-ignore-case)
20523 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
20524 (todo-done-separator-string, todo-done-string)
20525 (todo-files-function, todo-filter-done-items, todo-filter-files)
20526 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
20527 (todo-initial-category, todo-initial-file, todo-item-mark)
20528 (todo-legacy-date-time-regexp, todo-mode-line-function)
20529 (todo-nondiary-marker, todo-number-prefix)
20530 (todo-print-buffer-function, todo-show-current-file)
20531 (todo-show-done-only, todo-show-first, todo-show-with-done)
20532 (todo-skip-archived-categories, todo-top-priorities-overrides)
20533 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
20534 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
20536 (todo-category-done, todo-date-pattern, todo-date-string-start)
20537 (todo-diary-items-buffer, todo-done-string-start)
20538 (todo-filtered-items-buffer, todo-item-start)
20539 (todo-month-abbrev-array, todo-month-name-array)
20540 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
20541 (todo-top-priorities-buffer): New defconsts.
20542 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
20543 (todo-categories-with-marks, todo-category-string-face)
20544 (todo-comment-face, todo-comment-string, todo-current-todo-file)
20545 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
20546 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
20547 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
20548 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
20549 (todo-font-lock-keywords, todo-global-current-todo-file)
20550 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
20551 (todo-insertion-commands-args)
20552 (todo-insertion-commands-args-genlist)
20553 (todo-insertion-commands-names, todo-insertion-map)
20554 (todo-key-bindings-t, todo-key-bindings-t+a)
20555 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
20556 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
20557 (todo-nondiary-face, todo-print-buffer, todo-time-face)
20558 (todo-visited): New variables.
20560 2013-06-21 Glenn Morris <rgm@gnu.org>
20562 * play/cookie1.el (cookie-apropos): Add optional display argument.
20563 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
20564 (psychoanalyze-pinhead): Use cookie-doctor.
20566 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20568 * emacs-lisp/package.el (tar-get-file-descriptor)
20569 (tar--extract): Declare.
20571 2013-06-21 Eduard Wiebe <usenet@pusto.de>
20573 Extend flymake's warning predicate to be a function (bug#14217).
20574 * progmodes/flymake.el (flymake-warning-predicate): New.
20575 (flymake-parse-line): Use it.
20576 (flymake-warning-re): Make obsolete alias to
20577 `flymake-warning-predicate'.
20579 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20581 * emacs-lisp/package.el (package-alist): Include obsolete packages.
20582 (package-obsolete-list): Remove.
20583 (package-activate): Remove min-version argument. Add `force' argument.
20584 Adjust to new package-alist format.
20585 (package-mark-obsolete): Remove.
20586 (package-unpack): Force reload of the package's autoloads.
20587 (package-installed-p): Check builtins if the installed package is not
20589 (package-initialize): Don't reset package-obsolete-list.
20590 Don't specify which package version to activate.
20591 (package-process-define-package, describe-package-1)
20592 (package-menu--generate): Adjust to new package-alist format.
20594 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20596 * allout-widgets.el (allout-widgets-mode-off)
20597 (allout-widgets-mode-on, allout-widgets-pre-command-business)
20598 (allout-widgets-post-command-business)
20599 (allout-widgets-after-copy-or-kill-function)
20600 (allout-widgets-after-undo-function, allout-test-range-overlaps)
20601 (allout-decorate-item-and-context)
20602 (allout-graphics-modification-handler): Fix typos in docstrings.
20603 (allout-get-or-create-parent-widget): Use `looking-at-p'.
20605 * cmuscheme.el (scheme-start-file): Doc fix.
20606 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
20607 (scheme-input-filter): Use `string-match-p'.
20609 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
20611 * dired-x.el: Use Dired consistently in docstrings.
20613 * dired.el: Use Dired consistently in docstrings.
20614 (dired-readin, dired-mode): Use `setq-local'.
20615 (dired-switches-alist): Make defvar-local.
20616 (dired-buffers-for-dir): Use `zerop'.
20617 (dired-safe-switches-p, dired-switches-escape-p)
20618 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
20619 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
20620 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
20621 (dired-goto-next-nontrivial-file): Use `string-match-p'.
20622 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
20623 (dired-toggle-marks, dired-mark-files-containing-regexp)
20624 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
20625 (dired-flag-auto-save-files, dired-flag-backup-files):
20626 Use `looking-at-p'.
20627 (dired-mark-files-regexp, dired-build-subdir-alist):
20628 Use `string-match-p', `looking-at-p'.
20630 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
20631 (direct-print-region-helper): Use `string-match-p'.
20633 2013-06-21 Leo Liu <sdl.web@gmail.com>
20635 * comint.el (comint-redirect-results-list-from-process):
20638 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20640 * net/eww.el (eww-update-header-line-format): Quote % characters.
20642 2013-06-21 Glenn Morris <rgm@gnu.org>
20644 * play/cookie1.el (cookie): New custom group.
20645 (cookie-file): New option.
20646 (cookie-check-file): New function.
20647 (cookie): Make it interactive. Make start and end messages optional.
20648 Interactively, display the result. Default to cookie-file.
20649 (cookie-insert): Default to cookie-file.
20650 (cookie-snarf): Make start and end messages optional.
20651 Default to cookie-file. Use with-temp-buffer.
20652 (cookie-read): Rename from read-cookie.
20653 Make start and end messages optional. Default to cookie-file.
20654 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
20655 Do not autoload it.
20656 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
20657 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
20659 2013-06-21 Leo Liu <sdl.web@gmail.com>
20661 * progmodes/octave.el (octave-mode): Backward compatibility fix.
20663 2013-06-21 Glenn Morris <rgm@gnu.org>
20665 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20667 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20668 Daniel Hackney <dan@haxney.org>
20670 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20671 Consolidate the single-file vs tarball code.
20672 (package-desc-suffix): New function.
20673 (package-desc-full-name): Don't bother inlining it.
20674 (package-load-descriptor): Return the new package-desc.
20675 (package-mark-obsolete): Remove unused arg `package'.
20676 (package-unpack): Make it work for single files as well.
20677 Make it update package-alist.
20678 (package--make-autoloads-and-stuff): Rename from
20679 package--make-autoloads-and-compile. Don't compile any more.
20680 (package--compile): New function.
20681 (package-generate-description-file): New function, extracted from
20682 package-unpack-single.
20683 (package-unpack-single): Remove.
20684 (package--with-work-buffer): Add indentation and debugging info.
20685 (package-download-single): Remove.
20686 (package-install-from-archive): Rename from package-download-tar, make
20687 it take a pkg-desc, and make it work for single files as well.
20688 (package-download-transaction): Simplify.
20689 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
20690 external tar program.
20691 (package-install-from-buffer): Remove `pkg-desc' argument.
20692 Use package-tar-file-info for tar-mode buffers.
20693 (package-install-file): Simplify accordingly.
20694 (package-archive-base): Change to take a pkg-desc.
20695 * tar-mode.el (tar--check-descriptor): New function, extracted from
20696 tar-get-descriptor.
20697 (tar-get-descriptor): Use it.
20698 (tar-get-file-descriptor): New function.
20699 (tar--extract): New function, extracted from tar-extract.
20700 (tar--extract): Use it.
20701 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20702 case the summary uses non-ascii. Adjust to new calling convention of
20703 package-tar-file-info.
20705 2013-06-21 Leo Liu <sdl.web@gmail.com>
20707 * comint.el (comint-redirect-results-list-from-process):
20708 Fix random delay. (Bug#14681)
20710 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20712 * profiler.el (profiler-format-number): Use log, not log10.
20714 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20716 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20718 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20720 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20721 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20723 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20724 (AUTOGENEL): ... here.
20725 * emacs-lisp/cl-macs.el (cl--sublis): New function.
20726 (cl--defsubst-expand): Use it.
20728 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
20730 * subr.el (log10): Move here from C code, and declare as obsolete.
20731 All uses of (log10 X) replaced with (log X 10).
20733 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20735 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20736 Declare with `defvar-local'.
20737 (tabulated-list-use-header-line, tabulated-list-entries)
20738 (tabulated-list-padding, tabulated-list-printer)
20739 (tabulated-list-sort-key): Declare with `defvar-local'.
20740 (tabulated-list-init-header, tabulated-list-print-fake-header):
20743 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
20745 * arc-mode.el (archive-mode): Add `archive-write-file' to
20746 `write-contents-functions' also for remote files. (Bug#14652)
20748 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20750 * cus-edit.el (custom-commands): Fix typos.
20751 (custom-display): Fix tooltip text.
20752 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20753 Fix typos in docstrings.
20754 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20755 (custom-unlispify-menu-entry, custom-magic-value-create)
20756 (custom-add-see-also, custom-group-value-create): Use ?\s.
20757 (custom-guess-type, customize-apropos, editable-field)
20758 (custom-face-value-create): Use `string-match-p'.
20759 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20761 * custom.el (custom-load-symbol): Use `string-match-p'.
20763 * ansi-color.el: Convert to lexical binding.
20764 (ansi-colors): Fix URL.
20765 (ansi-color-context, ansi-color-context-region): Use defvar-local.
20766 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20767 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20769 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20771 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20773 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20775 2013-06-19 Tom Tromey <tromey@redhat.com>
20777 * net/eww.el (eww-top-url): Remove.
20778 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20779 (eww-render): Set new variables. Don't set eww-top-url.
20780 (eww-handle-link): Handle "prev", "home", and "contents".
20781 Downcase the rel text.
20782 (eww-top-url): Choose best top URL.
20784 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20786 * net/eww.el: Rewrite to implement form elements "by hand" instead of
20787 relying in widget.el. Using widget.el leads to too many
20788 user interface inconsistencies.
20789 (eww-self-insert): Implement entering commands in text fields.
20790 (eww-process-text-input): New function to make text input field editing
20792 (eww-submit): Rewrite to use the new-style form methods.
20793 (eww-select-display): Display the correct selected item.
20794 (eww-change-select): Implement changing the select value.
20795 (eww-toggle-checkbox): Implement radio/checkboxes.
20796 (eww-update-field): Fix compilation error.
20797 (eww-tag-textarea): Implement <textarea>.
20799 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20800 we don't shadow mode-specific bindings.
20802 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20805 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20807 2013-06-19 Glenn Morris <rgm@gnu.org>
20809 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20811 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20813 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20816 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20818 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20820 * net/browse-url.el (browse-url-browser-function):
20821 `eww-browse-url' has the right calling signature, `eww' does not.
20823 2013-06-19 Glenn Morris <rgm@gnu.org>
20825 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20826 Only eval autoloaded macros.
20827 (byte-compile-autoload): Only give the macro warning for macros.
20829 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20830 (ps-underlined-faces): Declare.
20832 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20833 (speedbar-add-supported-extension): Declare.
20835 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20836 Don't include a date stamp in the header of the generated file;
20837 it leads to needless differences between output files.
20839 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20841 * net/secrets.el (secrets-struct-secret-content-type):
20842 Replace check of introspection data by a test call of "CreateItem".
20843 Some servers do not offer introspection.
20845 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
20847 * electric.el (electric-pair-mode): Improve interaction with
20848 electric-layout-mode.
20849 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20850 (electric-pair-syntax): Use text-mode-syntax-table in comments
20852 (electric-pair--insert): New function.
20853 (electric-pair-post-self-insert-function): Use it and
20854 electric--after-char-pos.
20856 2013-06-19 Leo Liu <sdl.web@gmail.com>
20858 * progmodes/octave.el (octave-help): Fix regexp.
20860 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20862 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20863 (shr-table-horizontal-line): Allow nil as a value, and change the
20865 (shr-insert-table-ruler): Respect the nil value.
20867 2013-06-18 Tom Tromey <tromey@barimba>
20869 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20871 (eww-open-file): New defun.
20872 (eww-render): Initialize new variables.
20873 (eww-display-html): Handle "link" and "a".
20874 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20875 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
20876 (eww-back-url): Rename from eww-previous-url.
20877 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20880 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
20882 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20883 Distinguish ternary operator tokens from slash symbol and slash
20886 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20888 Convert symbol prettification into minor mode and global minor mode.
20890 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20891 `prog-prettify-symbols', and make a local defvar instead of defcustom.
20892 (prettify-symbols--keywords): Rename from
20893 `prog-prettify-symbols-alist' and make a local defvar.
20894 (prettify-symbols--compose-symbol): Rename from
20895 `prog--prettify-font-lock-compose-symbol'.
20896 (prettify-symbols--make-keywords): Rename from
20897 `prog-prettify-font-lock-symbols-keywords' and simplify.
20898 (prog-prettify-install): Remove.
20899 (prettify-symbols-mode): New minor mode, based on
20900 `prog-prettify-install'.
20901 (turn-on-prettify-symbols-mode): New function.
20902 (global-prettify-symbols-mode): New globalized minor mode.
20904 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20905 * progmodes/cfengine.el (cfengine3-mode):
20906 * progmodes/perl-mode.el (perl-mode): Don't call
20907 `prog-prettify-install'; set `prettify-symbols-alist' instead.
20909 2013-06-18 Juri Linkov <juri@jurta.org>
20911 * files-x.el (modify-file-local-variable-message): New function.
20912 (modify-file-local-variable)
20913 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20914 and call `modify-file-local-variable-message' when it's non-nil.
20915 (add-file-local-variable, delete-file-local-variable)
20916 (add-file-local-variable-prop-line)
20917 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20918 and use it. (Bug#9820)
20920 2013-06-18 Juri Linkov <juri@jurta.org>
20922 * emulation/vi.el (vi-shell-op):
20923 * emulation/vip.el (vip-execute-com, ex-command):
20924 * emulation/viper-cmd.el (viper-exec-bang):
20925 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20926 the call of `shell-command-on-region'. (Bug#14637)
20928 * simple.el (shell-command-on-region): Doc fix.
20930 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20932 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20935 2013-06-18 Glenn Morris <rgm@gnu.org>
20937 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20939 * newcomment.el (comment-search-forward, comment-search-backward):
20940 Doc fix. (Bug#14376)
20942 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20944 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20945 (buffer-face-mode-invoke): Doc fix.
20947 2013-06-18 Matthias Meulien <orontee@gmail.com>
20949 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
20950 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
20952 2013-06-18 Glenn Morris <rgm@gnu.org>
20954 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
20955 Replace obsolete function generic-make-keywords with its expansion.
20957 * progmodes/python.el (ffap-alist): Declare.
20959 * textmodes/reftex.el (bibtex-mode-map): Declare.
20961 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20963 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
20964 (package-unpack, package-unpack-single): Return the pkg-dir.
20965 (package-download-transaction): Use it to update package-alist.
20967 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20969 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
20972 2013-06-17 Juri Linkov <juri@jurta.org>
20974 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
20976 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20978 * emacs-lisp/package.el (package-load-descriptor):
20979 Remove `with-syntax-table' call, `read' doesn't need it.
20980 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
20982 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20984 * startup.el (command-line): Expand package name returned by
20985 `package--description-file' (bug#14639).
20987 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
20989 * emacs-lisp/package.el (package-load-descriptor): Do not call
20990 `emacs-lisp-mode', just use its syntax table.
20992 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
20994 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
20995 `font-lock-extra-managed-props' if any prettifying keyword is added.
20996 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
20997 (prog-mode): Use `setq-local'.
20999 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21001 * international/characters.el (standard-case-table): Set syntax of ?»
21002 and ?« to punctuation.
21004 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
21006 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21007 Save relevant match data before calling `syntax-ppss' (bug#14595).
21009 2013-06-15 Juri Linkov <juri@jurta.org>
21011 * files-x.el (modify-file-local-variable-prop-line): Add local
21012 variables to the end of the existing comment on the first line.
21013 Use `file-auto-mode-skip' to skip interpreter magic line,
21014 and also skip XML declaration.
21016 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21018 * startup.el (package--builtin-versions): New var.
21019 (package-subdirectory-regexp): Remove.
21020 (package--description-file): Hard code its value instead.
21022 * emacs-lisp/package.el: Don't activate packages older than builtin.
21023 (package-obsolete-list): Rename from package-obsolete-alist, and make
21024 it into a simple list of package-desc.
21025 (package-strip-version): Remove.
21026 (package-built-in-p): Use package--builtin-versions.
21027 (package-mark-obsolete): Simplify.
21028 (package-process-define-package): Mark it obsolete if older than the
21030 (package-handle-response): Use line-end-position.
21031 (package-read-archive-contents, package--download-one-archive):
21033 (package--add-to-archive-contents): Skip if older than the builtin or
21035 (package-menu-describe-package): Fix last change.
21036 (package-list-unversioned): New var.
21037 (package-menu--generate): Use it.
21039 * emacs-lisp/autoload.el: Manage package--builtin-versions.
21040 (autoload--insert-text, autoload--insert-cookie-text): New functions.
21041 (autoload-builtin-package-versions): New variable.
21042 (autoload-generate-file-autoloads): Use them.
21043 Remove the list of autoloaded functions/macros from the
21044 (autoload...) comments.
21046 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21048 2013-06-15 Eli Zaretskii <eliz@gnu.org>
21050 * simple.el (line-move-partial): Don't jump to the next screen
21051 line as soon as it becomes visible. Instead, continue enlarging
21052 the vscroll until the portion of a tall screen line that's left on
21053 display is about the height of the frame's default font.
21056 2013-06-15 Glenn Morris <rgm@gnu.org>
21058 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
21059 compilation-error-regexp-alist void, or local while let-bound.
21061 * progmodes/make-mode.el (makefile-mode-syntax-table):
21062 Treat "=" as punctuation. (Bug#14614)
21064 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
21066 * help-fns.el (describe-variable):
21067 Add extra line for permanent-local variables.
21069 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
21071 * progmodes/scheme.el (scheme-font-lock-keywords-2):
21072 Add export, import, library. (Bug#9164)
21073 (library): Set indent function.
21075 2013-06-14 Glenn Morris <rgm@gnu.org>
21077 * term/xterm.el (xterm--query):
21078 Stop after first matching handler. (Bug#14615)
21080 2013-06-14 Ivan Kanis <ivan@kanis.fr>
21082 Add support for dired in saveplace.
21083 * dired.el (dired-initial-position-hook): New variable.
21084 (dired-initial-position): Call hook to place cursor position.
21085 * saveplace.el (save-place-to-alist): Add dired position.
21086 (save-place-dired-hook): New function.
21088 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
21090 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
21091 through a symbol rather than letrec.
21093 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
21094 (package-desc): Add `dir' field.
21095 (package-desc-full-name): New function.
21096 (package-load-descriptor): Combine the two arguments. Don't use `load'.
21097 (package-maybe-load-descriptor): Remove.
21098 (package-load-all-descriptors): Just call package-load-descriptor.
21099 (package--disabled-p): New function.
21100 (package-desc-vers, package-desc-doc): Remove aliases.
21101 (package--dir): Remove function.
21102 (package-activate): Check if a package is disabled.
21103 (package-process-define-package): New function, extracted from
21105 (define-package): Turn into a place holder.
21106 (package-unpack-single, package-tar-file-info):
21107 Use package--description-file.
21108 (package-compute-transaction): Use package--disabled-p.
21109 (package-download-transaction): Don't call
21110 package-maybe-load-descriptor since they're all loaded anyway.
21111 (package-install): Change argument to be a pkg-desc.
21112 (package-delete): Use a single pkg-desc argument.
21113 (describe-package-1): Use package-desc-dir instead of package--dir.
21114 Use package-desc property instead of package-symbol.
21115 (package-install-button-action): Adjust accordingly.
21116 (package--push): Rewrite.
21117 (package-menu--print-info): Adjust accordingly. Change the ID format
21119 (package-menu-describe-package, package-menu-get-status)
21120 (package-menu--find-upgrades, package-menu-mark-upgrades)
21121 (package-menu-execute, package-menu--name-predicate):
21122 Adjust accordingly.
21123 * startup.el (package--description-file): New function.
21124 (command-line): Use it.
21125 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21126 Use package-desc-version.
21128 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
21129 (byte-compile-preprocess): Use it.
21130 (byte-compile-file-form-defalias): Try a bit harder to use macros we
21131 can't quite recognize.
21132 (byte-compile-add-to-list): Remove.
21133 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
21134 (cconv-closure-convert): Add assertion.
21136 * emacs-lisp/map-ynp.el: Use lexical-binding.
21137 (map-y-or-n-p): Remove unused vars `tail' and `object'.
21138 Factor out some repeated code.
21140 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21142 * subr.el (with-eval-after-load): New macro.
21143 (eval-after-load): Allow form to be a function.
21144 take advantage of lexical-binding.
21145 (do-after-load-evaluation): Use dolist and adjust to new format.
21146 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
21148 2013-06-13 Juri Linkov <juri@jurta.org>
21150 * replace.el (perform-replace): Display "symbol " and other search
21151 modes from `isearch-message-prefix' in the *Help* buffer.
21153 * isearch.el (isearch-query-replace): Add " symbol" and other
21154 possible search modes from `isearch-message-prefix' to the prompt.
21155 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
21156 when reading a regexp to collect.
21158 2013-06-13 Juri Linkov <juri@jurta.org>
21160 * isearch.el (word-search-regexp): Match whitespace if the search
21161 string begins or ends in whitespace. The LAX arg is applied to
21162 both ends of the search string. Use `regexp-quote' and explicit
21163 \< and \> instead of \b. Use \` and \' instead of ^ and $.
21164 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
21165 boundaries are replaced with symbol boundaries, and characters
21166 between symbols match non-word non-symbol syntax. (Bug#14602)
21168 2013-06-13 Juri Linkov <juri@jurta.org>
21170 * isearch.el (isearch-del-char): Don't exceed the length of
21171 `isearch-string' by the prefix arg. (Bug#14563)
21173 2013-06-13 Juri Linkov <juri@jurta.org>
21175 * isearch.el (isearch-yank-word, isearch-yank-line)
21176 (isearch-char-by-name, isearch-quote-char)
21177 (isearch-printing-char, isearch-process-search-char):
21178 Add optional count prefix arg. (Bug#14563)
21180 * international/isearch-x.el
21181 (isearch-process-search-multibyte-characters):
21182 Add optional count prefix arg.
21184 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21186 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
21187 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
21190 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
21192 * subr.el (set-temporary-overlay-map): Add on-exit argument.
21194 2013-06-13 Glenn Morris <rgm@gnu.org>
21196 * startup.el (tty-handle-args):
21197 Don't just discard "--" and anything after. (Bug#14608)
21199 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
21201 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
21203 Implement changes in Secret Service API. Make it backward compatible.
21204 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
21205 (secrets-create-item): Use it. Prefix properties with interface.
21207 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
21209 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
21210 (term-emulate-terminal): Respect term-suppress-hard-newline.
21212 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
21214 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
21215 Only remove a `thumb-file' overlay. (Bug#14548)
21217 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
21219 * mail/reporter.el (reporter-submit-bug-report):
21220 Handle missing package-name. (Bug#14600)
21222 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21224 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
21225 (reftex-citation-prompt, reftex-default-bibliography)
21226 (reftex-bib-or-thebib, reftex-get-bibfile-list)
21227 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
21228 (reftex-bib-sort-author, reftex-bib-sort-year)
21229 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
21230 (reftex-extract-bib-entries-from-thebibliography)
21231 (reftex-get-bibkey-default, reftex-get-bib-names)
21232 (reftex-parse-bibtex-entry, reftex-get-bib-field)
21233 (reftex-format-bib-entry, reftex-parse-bibitem)
21234 (reftex-format-bibitem, reftex-do-citation)
21235 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
21236 (reftex-restrict-bib-matches, reftex-extract-bib-file)
21237 (reftex-insert-bib-matches, reftex-format-citation)
21238 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
21239 (reftex-create-bibtex-file): Add docstrings, mostly by converting
21240 existing comments into docstrings.
21242 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
21244 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
21246 2013-06-12 Andreas Schwab <schwab@suse.de>
21248 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
21249 for auto-save files.
21251 2013-06-12 Glenn Morris <rgm@gnu.org>
21253 * ido.el (ido-delete-ignored-files): Remove.
21254 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
21255 Go back to calling ido-ignore-item-p directly.
21257 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
21259 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
21261 * ido.el (ido-delete-ignored-files): New function,
21262 split from ido-make-file-list-1.
21263 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
21264 (ido-make-file-list-1): Use ido-delete-ignored-files.
21266 2013-06-12 Leo Liu <sdl.web@gmail.com>
21268 * progmodes/octave.el (inferior-octave-startup)
21269 (inferior-octave-completion-table)
21270 (inferior-octave-track-window-width-change)
21271 (octave-eldoc-function-signatures, octave-help)
21272 (octave-find-definition): Use single quoted strings.
21273 (inferior-octave-startup-args): Change default value.
21274 (inferior-octave-startup): Do not hard code "-i" and
21275 "--no-line-editing".
21276 (inferior-octave-resync-dirs): Add optional arg NOERROR.
21277 (inferior-octave-directory-tracker): Use it.
21278 (octave-goto-function-definition): Robustify.
21279 (octave-help): Support highlighting operators in 'See also'.
21280 (octave-find-definition): Find subfunctions only in Octave mode.
21282 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
21284 * help-fns.el (help-fns--compiler-macro): If the handler function is
21285 named, then put a link to it.
21286 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
21287 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
21288 (cl-typep): Use it.
21289 (cl-eval-when): Simplify debug spec.
21290 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
21291 compiler-macro function instead of setting `compiler-macro-file'.
21293 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
21295 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
21296 * vc/vc-hooks.el (vc-stay-local): Doc fix.
21298 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
21299 Daniel Hackney <dan@haxney.org>
21301 First part of Daniel Hackney's patch to package.el.
21302 * emacs-lisp/package.el: Use defstruct.
21303 (package-desc): New, main struct.
21304 (package--bi-desc, package--ac-desc): New structs, used to describe the
21305 format in external files.
21306 (package-desc-vers): Replace with package-desc-version accessor.
21307 (package-desc-doc): Replace with package-desc-summary accessor.
21308 (package-activate-1): Remove `package' arg since the pkg-vec now
21310 (define-package): Use package-desc-from-define.
21311 (package-unpack-single): Change file-name arg to be a symbol.
21312 (package--add-to-archive-contents): Use package-desc-create and new
21313 accessor functions to package--ac-desc.
21314 (package-buffer-info, package-tar-file-info): Return a package-desc.
21315 (package-install-from-buffer): Remove `type' argument. Change pkg-info
21316 arg to be a package-desc.
21317 (package-install-file): Adjust accordingly. Use \' to match EOS.
21318 (package--from-builtin): New function.
21319 (describe-package-1, package-menu--generate): Use it.
21320 (package--make-autoloads-and-compile): Change name arg to be a symbol.
21321 (package-generate-autoloads): Idem and return the name of the file.
21322 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21323 Change pkg-info arg to be a package-desc.
21324 Use package-make-ac-desc.
21325 (package-upload-file): Use \' to match EOS.
21326 * finder.el (finder-compile-keywords): Use package-make-builtin.
21328 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21330 * vc/vc.el (vc-deduce-fileset): Change error message.
21331 (vc-read-backend): New function.
21332 (vc-next-action): Use it.
21334 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
21336 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
21337 (prolog-font-lock-keywords): Use regexp-opt instead.
21338 Don't manually highlight strings.
21339 (prolog-mode-variables): Simplify comment-start-skip.
21340 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
21342 * emacs-lisp/generic.el (generic--normalise-comments)
21343 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
21344 (generic-mode-set-comments): Use them.
21345 (generic-bracket-support): Use setq-local.
21346 (generic-make-keywords-list): Declare obsolete.
21348 2013-06-11 Glenn Morris <rgm@gnu.org>
21350 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21351 Prettify after setting font-lock-defaults. (Bug#14574)
21353 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
21355 * replace.el (query-replace, occur-read-regexp-defaults-function)
21357 * subr.el (declare-function, number-sequence, local-set-key)
21358 (substitute-key-definition, locate-user-emacs-file)
21359 (with-silent-modifications, split-string, eval-after-load):
21360 Fix typos, remove unneeded backslashes and reflow some docstrings.
21362 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21364 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
21365 default for Elisp files.
21367 2013-06-11 Glenn Morris <rgm@gnu.org>
21369 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
21370 although define-derived-mode was doing this anyway. (Bug#14583)
21372 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
21374 * allout.el (allout-encryption-plaintext-sanitization-regexps):
21375 Fix make-variable-buffer-local call to refer to the correct variable.
21377 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
21379 * eshell/em-term.el (eshell-visual-commands)
21380 (eshell-visual-subcommands, eshell-visual-options):
21381 Add summary line to docstrings. Add cross-references.
21383 2013-06-10 Glenn Morris <rgm@gnu.org>
21385 * epa.el (epa-read-file-name): New function. (Bug#14510)
21386 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
21388 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
21390 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
21391 output redirection to be ignored with visual commands.
21393 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
21395 * eshell/em-term.el (eshell-visual-command-p): New function.
21396 (eshell-term-initialize): Move long lambda to separate function
21397 eshell-visual-command-p.
21398 * eshell/em-dirs.el (eshell-dirs-initialize):
21399 * eshell/em-script.el (eshell-script-initialize):
21400 Add missing #' to lambda.
21402 2013-06-08 Leo Liu <sdl.web@gmail.com>
21404 * progmodes/octave.el (octave-add-log-current-defun): New function.
21405 (octave-mode): Set add-log-current-defun-function.
21406 (octave-goto-function-definition): Do not move point if not found.
21407 (octave-find-definition): Enhance to try subfunctions first.
21409 2013-06-08 Glenn Morris <rgm@gnu.org>
21411 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21412 (byte-compile-backward-char, byte-compile-backward-word):
21413 Improve previous change, to handle non-explicit nil.
21415 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
21417 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
21418 (smie--opener/closer-at-point): New function.
21419 (smie--matching-block-data): Use it. Don't match from right after an
21420 opener or right before a closer. Obey smie-blink-matching-inners.
21421 Don't signal a mismatch for repeated inners like "switch..case..case".
21423 2013-06-07 Leo Liu <sdl.web@gmail.com>
21425 * progmodes/octave.el (octave-mode): Set comment-use-global-state
21427 (octave-function-header-regexp): Fix. (Bug#14570)
21428 (octave-help-mode-finish-hook, octave-help-mode-finish):
21429 Remove. Just use temp-buffer-show-hook.
21431 * newcomment.el (comment-search-backward): Revert last change.
21434 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
21436 2013-06-07 Eli Zaretskii <eliz@gnu.org>
21438 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
21439 through xargs, to avoid failure due to MS-Windows limitations on
21440 command-line length.
21442 2013-06-06 Glenn Morris <rgm@gnu.org>
21444 * font-lock.el (lisp-font-lock-keywords-2):
21445 Treat user-error like error.
21447 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21448 (byte-compile-backward-char, byte-compile-backward-word):
21449 Handle explicit nil arguments. (Bug#14565)
21451 2013-06-05 Alan Mackenzie <acm@muc.de>
21453 * isearch.el (isearch-allow-prefix): New user option.
21454 (isearch-other-meta-char): Don't exit isearch when a prefix
21455 argument is typed whilst `isearch-allow-prefix' is non-nil.
21458 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21460 * autorevert.el (auto-revert-notify-handler): Use memq.
21461 Hide assertion failure.
21463 * skeleton.el: Use cl-lib.
21464 (skeleton-further-elements): Use defvar-local.
21465 (skeleton-insert): Use cl-progv.
21467 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21469 * progmodes/prog-mode.el (prog-prettify-symbols)
21470 (prog-prettify-install): Update docstrings.
21472 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21474 * simple.el: Move all the prog-mode code to prog-mode.el.
21475 * progmodes/prog-mode.el: New file.
21476 * loadup.el: Add prog-mode.el.
21478 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21480 * simple.el (prog-prettify-symbols): Add version.
21481 (prog-prettify-install): Add convenience function to prettify symbols.
21483 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
21484 (perl--augmented-font-lock-keywords-1)
21485 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
21486 variables and use it.
21488 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21489 (cfengine3-mode): Remove unneeded variable and use it.
21491 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21492 (lisp--augmented-font-lock-keywords-1)
21493 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
21494 Remove unneeded variables and use it.
21496 2013-06-05 João Távora <joaotavora@gmail.com>
21498 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
21499 to point when opening the connection. (Bug#14380)
21501 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21503 * subr.el (load-history-regexp, load-history-filename-element)
21504 (eval-after-load, after-load-functions, do-after-load-evaluation)
21505 (eval-next-after-load, display-delayed-warnings)
21506 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
21507 definition of save-match-data.
21508 (overriding-local-map): Remove accidental obsolescence declaration.
21510 * emacs-lisp/edebug.el (edebug-result): Move before first use.
21512 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21514 Generalize symbol prettify support to prog-mode and implement it
21515 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
21516 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
21517 (prog--prettify-font-lock-compose-symbol)
21518 (prog-prettify-font-lock-symbols-keywords): New variables and
21519 functions to support symbol prettification.
21520 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21521 (lisp--augmented-font-lock-keywords-1)
21522 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
21523 (lisp--prettify-symbols-alist): Implement prettify of lambda.
21524 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21525 (cfengine3--prettify-symbols-alist, cfengine3-mode):
21526 Implement prettify of -> => :: strings.
21527 * progmodes/perl-mode.el (perl-prettify-symbols)
21528 (perl--font-lock-compose-symbol)
21529 (perl--font-lock-symbols-keywords): Move to prog-mode.
21530 (perl--prettify-symbols-alist): Prettify -> => :: strings.
21531 (perl-font-lock-keywords-1)
21532 (perl-font-lock-keywords-2): Remove explicit prettify support.
21533 (perl--augmented-font-lock-keywords)
21534 (perl--augmented-font-lock-keywords-1)
21535 (perl--augmented-font-lock-keywords-2, perl-mode):
21536 Implement prettify support.
21538 2013-06-05 Leo Liu <sdl.web@gmail.com>
21540 Re-implement SMIE matching block highlight using
21541 show-paren-data-function. (Bug#14395)
21542 * emacs-lisp/smie.el (smie-matching-block-highlight)
21543 (smie--highlight-matching-block-overlay)
21544 (smie--highlight-matching-block-lastpos)
21545 (smie-highlight-matching-block)
21546 (smie-highlight-matching-block-mode): Remove.
21547 (smie--matching-block-data-cache): New variable.
21548 (smie--matching-block-data): New function.
21549 (smie-setup): Use smie--matching-block-data for
21550 show-paren-data-function.
21552 * progmodes/octave.el (octave-mode-menu): Fix.
21553 (octave-find-definition): Skip garbage lines.
21555 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21557 Fix compilation error with simultaneous dynamic+lexical scoping.
21558 Add warning when a defvar appears after the first let-binding.
21559 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
21560 (byte-compile-close-variables): Initialize it.
21561 (byte-compile--declare-var): New function.
21562 (byte-compile-file-form-defvar)
21563 (byte-compile-file-form-define-abbrev-table)
21564 (byte-compile-file-form-custom-declare-variable): Use it.
21565 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
21566 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
21567 (byte-compile-bind): Handle dynamic bindings that shadow
21569 (byte-compile-unbind): Make arg non-optional.
21570 (byte-compile-let): Simplify.
21571 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
21572 (cconv--analyse-function, cconv-analyse-form): Populate it.
21573 Protect byte-compile-bound-variables to limit the scope of defvars.
21574 (cconv-analyse-form): Add missing rule for (defvar <foo>).
21575 Remove unneeded rule for `declare'.
21577 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
21578 so as to avoid depending on cl-adjoin at run-time.
21579 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
21581 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
21582 (macroexp--warn-and-return): Use it.
21584 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21586 * subr.el: Convert to lexical binding.
21587 (overriding-local-map): Make obsolete.
21588 (add-to-list): Doc fix. Add compiler macro.
21589 (read-key): Swap values of local maps.
21591 2013-06-05 Leo Liu <sdl.web@gmail.com>
21593 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
21595 2013-06-04 Leo Liu <sdl.web@gmail.com>
21597 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
21598 (compilation-auto-jump): Suppress the "Mark set" message to give
21599 way to exit message.
21601 2013-06-04 Alan Mackenzie <acm@muc.de>
21603 Remove faulty optimization from indentation calculation.
21604 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
21605 search limit based on 2000 characters back from indent-point.
21607 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21609 * eshell/em-term.el (cl-lib): Require `cl-lib'.
21611 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
21613 * emacs-lisp/lisp.el: Use lexical-binding.
21614 (lisp--local-variables-1, lisp--local-variables): New functions.
21615 (lisp--local-variables-completion-table): New var.
21616 (lisp-completion-at-point): Use it complete let-bound vars.
21618 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
21619 eagerly (bug#14422).
21621 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
21623 * autorevert.el (auto-revert-notify-enabled)
21624 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21625 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
21626 (auto-revert-notify-handler): Handle also gfilenotify.
21628 * subr.el (file-notify-handle-event): New defun. Replacing ...
21629 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
21632 2013-06-03 Juri Linkov <juri@jurta.org>
21634 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
21635 `M-s h .'. (Bug#14427)
21637 * hi-lock.el (highlight-symbol-at-point): New alias for the new
21638 command `hi-lock-face-symbol-at-point'.
21639 (hi-lock-face-symbol-at-point): New command.
21640 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
21641 (hi-lock-menu): Add `highlight-symbol-at-point'.
21642 (hi-lock-mode): Doc fix.
21644 * isearch.el (isearch-forward-symbol-at-point): New command.
21645 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
21646 (isearch-highlight-regexp): Add a regexp which matches
21647 words/symbols for word/symbol mode.
21649 * subr.el (find-tag-default-bounds): New function with the body
21650 mostly moved from `find-tag-default'.
21651 (find-tag-default): Move most code to `find-tag-default-bounds',
21652 call it and apply `buffer-substring-no-properties' afterwards.
21654 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21656 * eshell/em-term.el (eshell-term-initialize):
21657 Use `cl-intersection' rather than `intersection'.
21659 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
21661 * vc/log-view.el: Doc fix.
21662 (log-view-mode-map): Copy keymap from `special-mode-map'.
21664 2013-06-02 Eric Ludlam <zappo@gnu.org>
21666 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21667 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21668 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21669 (eieio-unbound, eieio-default-superclass)
21670 (eieio--define-field-accessors, method-static, method-before)
21671 (method-primary, method-after, method-num-lists)
21672 (method-generic-before, method-generic-primary)
21673 (method-generic-after, method-num-slots)
21674 (eieio-specialized-key-to-generic-key)
21675 (eieio--check-type, class-v, class-p)
21676 (eieio-class-name, define-obsolete-function-alias)
21677 (eieio-class-parents-fast, eieio-class-children-fast)
21678 (same-class-fast-p, class-constructor, generic-p)
21679 (generic-primary-only-p, generic-primary-only-one-p)
21680 (class-option-assoc, class-option, eieio-object-p)
21681 (class-abstract-p, class-method-invocation-order)
21682 (eieio-defclass-autoload-map, eieio-defclass-autoload)
21683 (eieio-class-un-autoload, eieio-defclass)
21684 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21685 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21686 (eieio--defgeneric-init-form, eieio-defgeneric-form)
21687 (eieio-defgeneric-reset-generic-form)
21688 (eieio-defgeneric-form-primary-only)
21689 (eieio-defgeneric-reset-generic-form-primary-only)
21690 (eieio-defgeneric-form-primary-only-one)
21691 (eieio-defgeneric-reset-generic-form-primary-only-one)
21692 (eieio-unbind-method-implementations)
21693 (eieio--defmethod, eieio--typep)
21694 (eieio-perform-slot-validation, eieio-validate-slot-value)
21695 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21696 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21697 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21698 (eieio-slot-name-index, eieio-class-slot-name-index)
21699 (eieio-set-defaults, eieio-initarg-to-attribute)
21700 (eieio-attribute-to-initarg, eieio-c3-candidate)
21701 (eieio-c3-merge-lists, eieio-class-precedence-c3)
21702 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21703 (eieio-class-precedence-list, eieio-generic-call-methodname)
21704 (eieio-generic-call-arglst, eieio-generic-call-key)
21705 (eieio-generic-call-next-method-list)
21706 (eieio-pre-method-execution-functions, eieio-generic-call)
21707 (eieio-generic-call-primary-only, eieiomt-method-list)
21708 (eieiomt-optimizing-obarray, eieiomt-install)
21709 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21710 (eieio-generic-form, eieio-defmethod, make-obsolete)
21711 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21712 (defclass): Remove `eval-and-compile' from macro.
21713 (call-next-method, shared-initialize): Instead of using
21714 `scoped-class' variable, use new eieio--scoped-class, and
21715 eieio--with-scoped-class.
21716 (initialize-instance): Rename local variable 'scoped-class' to
21717 'this-class' to remove ambiguitity from old global.
21719 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
21721 (eieio--scoped-class-stack): New variable.
21722 (eieio--scoped-class): New fcn.
21723 (eieio--with-scoped-class): New scoping macro.
21724 (eieio-defclass): Use pushnew instead of add-to-list.
21725 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21726 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21727 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21728 `scoped-class' variable, use new eieio--scoped-class, and
21729 eieio--with-scoped-class.
21731 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21733 2013-06-02 Tassilo Horn <tsdh@gnu.org>
21735 * eshell/esh-ext.el (eshell-external-command): Pass args to
21736 `eshell-find-interpreter'.
21737 (eshell-find-interpreter): Add new second parameter ARGS.
21739 * eshell/em-script.el (eshell-script-initialize): Add second arg
21740 to the function added as MATCH to `eshell-interpreter-alist'.
21742 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21743 the function added as MATCH to `eshell-interpreter-alist'.
21745 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21746 (eshell-visual-options): New defcustom.
21747 (eshell-escape-control-x): Adapt docstring.
21748 (eshell-term-initialize): Test `eshell-visual-subcommands' and
21749 `eshell-visual-options' in addition to `eshell-visual-commands'.
21750 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21752 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
21754 * progmodes/python.el (python-indent-block-enders): Add break,
21755 continue and raise keywords.
21757 2013-06-01 Glenn Morris <rgm@gnu.org>
21759 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21761 Plain (f)boundp silences compilation warnings since Emacs 22.1.
21762 * progmodes/cc-cmds.el (delete-forward-p):
21763 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21764 * progmodes/cc-engine.el (buffer-syntactic-context):
21765 * progmodes/cc-fonts.el (face-property-instance):
21766 * progmodes/cc-mode.el (set-keymap-parents):
21767 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21768 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21769 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21770 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21771 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21773 * progmodes/cc-vars.el (other): Emacs has this widget since
21774 at least 21.1, so don't (re)define it.
21776 * eshell/em-cmpl.el (eshell-cmpl-initialize):
21777 Replace the obsolete alias pcomplete-arg-quote-list.
21779 2013-06-01 Leo Liu <sdl.web@gmail.com>
21781 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21782 punctuation syntax.
21783 (inferior-octave-minimal-columns)
21784 (inferior-octave-last-column-width): New variables.
21785 (inferior-octave-track-window-width-change): New function.
21786 (inferior-octave-mode): Adjust column width so that Octave output,
21787 for example from 'ls', can fit into the window nicely.
21789 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21791 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21792 Highlight expansions inside regexp literals.
21794 2013-05-31 Glenn Morris <rgm@gnu.org>
21796 * obsolete/sym-comp.el (symbol-complete):
21797 Replace obsolete completion-annotate-function.
21799 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21801 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21803 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21804 New function, checks if point is inside a literal that allows
21805 expression expansion.
21806 (ruby-syntax-propertize-expansion): Use it.
21807 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21810 2013-05-30 Juri Linkov <juri@jurta.org>
21812 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21814 (isearch-invisible): New variable.
21815 (isearch-forward): Doc fix.
21816 (isearch-mode): Set `isearch-invisible'
21817 to the value of `search-invisible'.
21818 (isearch-toggle-case-fold): Doc fix.
21819 (isearch-toggle-invisible): New command.
21820 (isearch-query-replace): Let-bind `search-invisible'
21821 to the value of `isearch-invisible'.
21822 (isearch-search): Use `isearch-invisible' instead of
21823 `search-invisible'. Let-bind `search-invisible'
21824 to the value of `isearch-invisible'. (Bug#11378)
21826 2013-05-30 Juri Linkov <juri@jurta.org>
21828 * replace.el (perform-replace): Avoid `isearch-range-invisible'
21829 call when `query-flag' is nil and `search-invisible' is non-nil.
21832 2013-05-30 Glenn Morris <rgm@gnu.org>
21834 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21836 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21837 (cc-require): Suppress spurious "noruntime" warnings.
21838 (cc-require-when-compile): Use fboundp, for sake of compiler.
21840 * progmodes/cc-mode.el: Move load of cc-vars before that of
21841 cc-langs (which in turn loads cc-vars), to quieten compiler.
21843 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21845 * paren.el: Simplify the code.
21846 (show-paren-mode): Always start the timer.
21847 (show-paren--idle-timer): Rename from show-paren-idle-timer.
21848 (show-paren--overlay, show-paren--overlay-1): Rename from
21849 show-paren-overlay and show-paren-overlay-1, and initialize to an
21850 overlay rather than to nil.
21851 (show-paren-function): Misc cleanup and simplifications.
21853 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21855 * paren.el (show-paren-data-function): New hook.
21856 (show-paren--default): New function, extracted from show-paren-function.
21857 (show-paren-function): Use show-paren-data-function.
21859 2013-05-30 Glenn Morris <rgm@gnu.org>
21861 * ielm.el (ielm-map, ielm-complete-symbol):
21862 Use completion-at-point rather than obsolete functions.
21863 (inferior-emacs-lisp-mode): Doc fix.
21864 Set completion-at-point-functions, rather than
21865 comint-dynamic-complete-functions.
21867 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21868 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21869 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21871 * image.el (image-animated-p): Tweak definition.
21873 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21874 (rlogin-process-connection-type): Tweak default. Add set-after.
21875 (rlogin-host): Doc fix.
21876 (rlogin): Tweak prompt.
21877 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21879 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21880 * progmodes/tcl.el (inferior-tcl-mode-map):
21881 Use completion-at-point rather than obsolete alias.
21883 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21885 * minibuffer.el (read-file-name-completion-ignore-case):
21886 Move before completion--in-region, for eager macro expansion.
21888 2013-05-29 Juri Linkov <juri@jurta.org>
21890 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21891 for total count of matching lines. Add `global-matches' for total
21892 count of matches. Rename `matches' to `lines' for count of
21893 matching lines. Add `matches' for count of matches.
21894 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
21895 to `prev-line' for line number of prev match endpt.
21896 Increment `matches' for every match. Print the number of
21897 matching lines in the header.
21898 (occur-context-lines): Rename `lines' to `curr-line'.
21899 Rename `prev-lines' to `prev-line'. (Bug#14017)
21901 2013-05-29 Juri Linkov <juri@jurta.org>
21903 * replace.el (perform-replace): Add `skip-read-only-count',
21904 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21905 Increment them for corresponding conditions and report the number
21906 of skipped occurrences in the final message. (Bug#11746)
21907 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21908 (replace-string, replace-regexp): Doc fix.
21910 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
21912 * emacs-lisp/trace.el (trace--read-args): Provide a default.
21914 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21915 prog-mode-map (bug#14504).
21917 2013-05-29 Leo Liu <sdl.web@gmail.com>
21919 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21920 (octave-help): Small simplification.
21922 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21923 off the highlight first.
21925 2013-05-29 Glenn Morris <rgm@gnu.org>
21927 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21928 Handle idlwave-last-system-routine-info-cons-cell being nil.
21930 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21931 (idlwave-write-paths): Simplify via with-temp-buffer.
21933 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21934 * emulation/cua-rect.el: Also load cua-base at run time.
21936 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21937 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21938 (cperl-imenu-on-info): Require imenu.
21940 2013-05-28 Alan Mackenzie <acm@muc.de>
21942 Handle "capitalised keywords" correctly.
21943 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21945 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
21947 * eshell/em-unix.el: Add -r option to cp.
21949 2013-05-28 Glenn Morris <rgm@gnu.org>
21951 * vc/vc-arch.el (vc-exec-after): Declare.
21952 (vc-switches): Autoload.
21953 * vc/vc-bzr.el: No need to require vc when compiling.
21954 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
21955 (vc-resynch-buffer, vc-dir-refresh): Declare.
21956 (vc-setup-buffer, vc-switches): Autoload.
21957 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
21958 (vc-resynch-buffer): Declare.
21959 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
21960 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
21961 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
21962 (grep-read-regexp, grep-read-files, grep-expand-template)
21963 (vc-dir-refresh): Declare.
21964 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
21965 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
21966 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
21967 * vc/vc-mtn.el (vc-exec-after): Declare.
21968 (vc-switches): Autoload.
21969 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
21970 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
21971 (vc-file-tree-walk): Declare.
21972 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
21973 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
21974 (vc-tag-precondition, vc-rename-master): Autoload.
21975 * vc/vc-svn.el (vc-exec-after): Declare.
21976 (vc-switches, vc-setup-buffer): Autoload.
21977 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
21979 (vc-resynch-buffer): Declare.
21981 * obsolete/fast-lock.el (byte-compile-warnings):
21982 Don't warn about obsolete features in this obsolete file.
21984 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
21985 Move definition before use.
21987 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
21988 (dun-unix-verbs): Remove dun-zippy.
21989 (dun-zippy): Remove function.
21991 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
21993 2013-05-27 Juri Linkov <juri@jurta.org>
21995 * replace.el (replace-search): New function with code moved out
21996 from `perform-replace'.
21997 (replace-highlight, replace-dehighlight): Move function definitions
21998 up closer to `replace-search'. (Bug#11746)
22000 2013-05-27 Juri Linkov <juri@jurta.org>
22002 * replace.el (perform-replace): Ignore invisible matches.
22003 In addition to checking `query-replace-skip-read-only', also
22004 filter out matches by calling `run-hook-with-args-until-failure'
22005 on `isearch-filter-predicates', and also check `search-invisible'
22006 for t or call `isearch-range-invisible'.
22007 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
22009 2013-05-27 Juri Linkov <juri@jurta.org>
22011 * isearch.el (isearch-filter-predicates): Rename from
22012 `isearch-filter-predicate'. Doc fix. (Bug#11378)
22013 (isearch-message-prefix): Display text from the property
22014 `isearch-message-prefix' of the currently active filters.
22015 (isearch-search): Don't compare `isearch-filter-predicate' with
22016 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
22017 on `isearch-filter-predicates'. Also check `search-invisible' for t
22018 or call `isearch-range-invisible'.
22019 (isearch-filter-visible): Make obsolete.
22020 (isearch-lazy-highlight-search):
22021 Call `run-hook-with-args-until-failure' on
22022 `isearch-filter-predicates' and use `isearch-range-invisible'.
22024 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22025 `isearch-filter-predicates' instead of `funcall'ing
22026 `isearch-filter-predicate'.
22027 (Info-mode): Set `Info-isearch-filter' to
22028 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22030 * dired-aux.el (dired-isearch-filter-predicate-orig):
22032 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22033 (dired-isearch-filenames-end): Add and remove
22034 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22035 instead of changing the value of `isearch-filter-predicate'.
22036 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22037 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22038 Put property `isearch-message-prefix' to "filename " on
22039 `dired-isearch-filter-filenames'.
22041 * wdired.el (wdired-change-to-wdired-mode):
22042 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22043 locally instead of changing `isearch-filter-predicate'.
22044 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22046 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
22048 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22049 return the commit hash (Bug#14459). Also set the
22050 `vc-git-detached' property.
22051 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22052 (vc-git-mode-line-string): Use the same help-echo format whether
22053 in detached mode or not, because we know the actual revision now.
22054 When in detached mode, shorten the revision to 7 chars.
22056 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22058 * emacs-lisp/easy-mmode.el (define-minor-mode):
22059 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
22060 mode hook and provide a docstring.
22062 2013-05-27 Alan Mackenzie <acm@muc.de>
22064 Remove spurious syntax-table text properties inserted by C-y.
22065 * progmodes/cc-mode.el (c-after-change): Also clear hard
22066 syntax-table property with value nil.
22068 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
22070 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
22071 when reading the events; the buffer layout shall not be changed.
22073 2013-05-27 Leo Liu <sdl.web@gmail.com>
22075 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22077 (inferior-octave-directory-tracker): Automatically re-sync
22079 (octave-help): Improve handling of 'See also'.
22081 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22083 * doc-view.el: Minor naming convention tweaks.
22084 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
22086 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
22087 even if there's no `display' property yet (bug#14435).
22089 2013-05-25 Eli Zaretskii <eliz@gnu.org>
22091 * subr.el (unmsys--file-name): Rename from reveal-filename.
22093 * Makefile.in (custom-deps, finder-data, autoloads)
22094 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22095 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22096 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
22098 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22100 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
22101 error-completion on the first 2 args of condition-case (bug#14446).
22104 2013-05-25 Leo Liu <sdl.web@gmail.com>
22106 * comint.el (comint-previous-matching-input): Do not flood the
22107 *Messages* buffer with trivial messages.
22109 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22111 * progmodes/flymake.el (flymake-nop): Don't return a string.
22112 (flymake-set-at): Fix typo.
22114 * simple.el (read--expression): New function, extracted from
22115 eval-expression. Set completion-at-point-functions (bug#14465).
22116 (eval-expression, eval-minibuffer): Use it.
22118 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
22120 * progmodes/flymake.el (flymake-save-buffer-in-file)
22121 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
22122 (flymake-selected-frame, flymake-log, flymake-ins-after)
22123 (flymake-set-at, flymake-get-buildfile-from-cache)
22124 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
22125 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
22126 Refine the doc string.
22127 (flymake-get-file-name-mode-and-masks): Reformat.
22128 (flymake-get-real-file-name-function): Fix a minor bug.
22130 2013-05-24 Juri Linkov <juri@jurta.org>
22132 * progmodes/grep.el (grep-mode-font-lock-keywords):
22133 Support =linenumber= format used by git-grep for lines with
22134 function names. (Bug#13549)
22136 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22138 * progmodes/octave.el (octave-smie-rules): Return nil rather than
22139 0 after a semi-colon; it works better for smie-auto-fill.
22140 (octave--indent-new-comment-line): New function.
22141 (octave-indent-new-comment-line): Use it (indirectly).
22142 (octave-mode): Don't disable smie-auto-fill. Use add-function to
22143 modify comment-line-break-function.
22145 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
22146 (smie-setup): Use add-function to set it.
22148 2013-05-24 Sam Steingold <sds@gnu.org>
22150 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
22151 argument (before the `interactive' argument).
22153 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22155 * image-mode.el (image-mode-winprops): Add winprops to
22156 image-mode-winprops-alist before running
22157 image-mode-new-window-functions.
22158 * doc-view.el (doc-view-new-window-function): Don't delay
22159 doc-view-goto-page via timers (bug#14435).
22161 2013-05-24 Tassilo Horn <tsdh@gnu.org>
22163 * doc-view.el: Integrate with desktop.el. (Bug#14435)
22164 (doc-view-desktop-save-buffer): New function.
22165 (doc-view-restore-desktop-buffer): New function.
22166 (desktop-buffer-mode-handlers):
22167 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
22169 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
22170 `desktop-save-buffer' function.
22172 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
22174 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
22175 (tramp-gvfs-file-name-handler): Raise a user error when
22176 `tramp-gvfs-enabled' is nil.
22177 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
22178 Do not raise a user error when loading package. (Bug#14447)
22180 * net/xesam.el: Move to obsolete/.
22182 2013-05-24 Glenn Morris <rgm@gnu.org>
22184 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
22186 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
22188 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
22189 (Info-find-node, Man-getpage-in-background): Declare.
22191 * mail/unrmail.el (unrmail):
22192 Replace obsolete detect-coding-with-priority.
22194 * net/socks.el (socks-split-string): Use this rather than split-string.
22195 (socks-nslookup-host): Update for above change.
22196 (dynamic-choice, s5-dynamic-choice-match)
22197 (s5-dynamic-choice-match-inline, s5-widget-value-create):
22198 Comment out unused code.
22200 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
22201 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
22202 (gud-tooltip-echo-area): Make obsolete.
22203 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
22205 * progmodes/js.el (js--optimize-arglist): Declare.
22207 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
22209 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
22210 (ediff-window-C): Declare.
22212 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
22213 Tweak requires to silence compiler.
22215 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
22216 (he-search-string, he-tried-table, he-expand-list)
22217 (he-init-string, he-string-member, he-substitute-string)
22218 (he-reset-string): Declare.
22220 * obsolete/options.el (list-options): Use custom-variable-p,
22221 rather than obsolete alias.
22223 2013-05-23 Sam Steingold <sds@gnu.org>
22225 * simple.el (shell-command-on-region): Pass the `replace' argument
22226 down to `call-process-region' to comply with the doc as reported on
22227 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
22229 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22231 * emacs-lisp/smie.el (smie-indent-forward-token)
22232 (smie-indent-backward-token): Handle string tokens (bug#14381).
22234 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22236 * ielm.el (ielm-menu): New menu.
22237 (inferior-emacs-lisp-mode): Set comment-start.
22239 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22241 * textmodes/reftex.el (reftex-ref-style-toggle):
22242 Fix deactivate action.
22244 * textmodes/reftex-vars.el (reftex-ref-style-alist):
22245 Add cleveref macros.
22247 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
22248 Accept options for bibliography commands.
22249 * textmodes/reftex-vars.el (reftex-bibliography-commands):
22250 Add addbibresource. Basic Biblatex support.
22252 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
22254 * net/tramp-gvfs.el (top):
22255 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
22256 when loading package. (Bug#14447)
22258 2013-05-23 Glenn Morris <rgm@gnu.org>
22260 * progmodes/js.el: No need to load comint when compiling.
22261 (ring-insert, comint-send-string, comint-send-input)
22262 (comint-last-input-end, ido-chop): Declare.
22264 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
22265 * vc/ediff-mult.el: Adjust requires.
22266 (ediff-directories-internal, ediff-directory-revisions-internal)
22267 (ediff-patch-file-internal): Declare.
22268 * vc/ediff-ptch.el: Adjust requires.
22269 (ediff-use-last-dir, ediff-buffers-internal): Declare.
22270 (ediff-find-file): Autoload.
22271 * vc/ediff-util.el: No need to load ediff when compiling.
22272 (ediff-regions-internal): Declare.
22273 * vc/ediff-wind.el: Adjust requires.
22274 (ediff-compute-toolbar-width): Define when compiling.
22275 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
22276 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
22277 (dired-get-filename, dired-get-marked-files)
22278 (ediff-last-dir-patch, ediff-patch-default-directory)
22279 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
22280 (ediff-patch-buffer-internal): Declare.
22282 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
22283 (ispell-process, ispell-buffer-local-words, lm-summary)
22284 (lm-section-start, lm-section-end): Declare.
22285 (checkdoc-ispell-init): Simplify.
22287 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
22288 (he-string-member, he-reset-string, he-substitute-string): Declare.
22290 * eshell/em-ls.el: Adjust requires.
22291 (eshell-glob-regexp): Declare.
22292 * eshell/em-tramp.el: Adjust requires.
22293 (eshell-parse-command): Autoload.
22294 * eshell/em-xtra.el: Adjust requires.
22295 (eshell-parse-command): Autoload.
22296 * eshell/esh-ext.el: Adjust requires.
22297 (eshell-parse-command, eshell-close-handles): Autoload.
22298 * eshell/esh-io.el: Adjust requires.
22299 (eshell-output-filter): Autoload.
22300 * eshell/esh-util.el: No need to load tramp when compiling.
22301 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
22303 (eshell-parse-ange-ls): Require ange-ftp and tramp.
22304 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
22305 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
22306 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
22307 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
22308 * eshell/esh-opt.el, eshell/esh-proc.el:
22309 * eshell/esh-var.el: Adjust requires.
22310 * eshell/eshell.el: Do not require esh-util twice.
22311 (eshell-add-input-to-history): Declare.
22312 (eshell-command): Check history module is active before using it.
22314 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
22316 2013-05-22 Leo Liu <sdl.web@gmail.com>
22318 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
22320 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
22322 * autorevert.el (auto-revert-notify-add-watch)
22323 (auto-revert-notify-handler): Add `attrib' for the inotify case,
22324 it indicates changes in file modification time.
22326 2013-05-22 Glenn Morris <rgm@gnu.org>
22328 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22329 Always delete the autoloaded function from the noruntime and
22330 unresolved functions lists.
22332 * allout.el: No need to load epa, epg, overlay when compiling.
22333 (epg-context-set-passphrase-callback, epg-list-keys)
22334 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
22335 (epg-key-user-id-list): Declare.
22337 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
22338 (viper-set-parsing-style-toggling-macro)
22339 (viper-set-emacs-state-searchstyle-macros):
22340 Use called-interactively-p on Emacs.
22341 (viper-looking-back): Make it an obsolete alias. Update callers.
22342 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
22343 Use looking-back rather than viper-looking-back.
22344 (viper-tmp-insert-at-eob, viper-enlarge-region)
22345 (viper-read-string-with-history, viper-register-to-point)
22346 (viper-append-to-register, viper-change-state-to-vi)
22347 (viper-backward-char-carefully, viper-forward-char-carefully)
22348 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
22349 (viper-change-state-to-emacs): Declare.
22350 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
22351 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
22352 * emulation/viper-mous.el: Do not load viper-cmd.
22353 (viper-backward-char-carefully, viper-forward-char-carefully)
22354 (viper-forward-word, viper-adjust-window): Declare.
22356 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
22358 * progmodes/idlw-help.el (idlwave-help-fontify):
22359 Use called-interactively-p.
22361 * term/w32console.el (w32-get-console-codepage)
22362 (w32-get-console-output-codepage): Declare.
22364 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
22365 Remove unnecessary declarations.
22366 (dframe-message): Doc fix.
22368 * info.el (dframe-select-attached-frame, dframe-current-frame):
22371 * speedbar.el (speedbar-message): Make it an obsolete alias.
22372 Update all callers.
22373 (speedbar-with-attached-buffer)
22374 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
22375 (speedbar-with-writable): Use backquote.
22376 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
22377 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
22378 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
22379 rather than speedbar- aliases.
22380 * mail/rmail.el: Load dframe rather than speedbar when compiling.
22381 (speedbar-make-specialized-keymap, speedbar-insert-button)
22382 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
22383 (speedbar-do-function-pointer): Declare.
22384 (rmail-speedbar-button, rmail-speedbar-find-file)
22385 (rmail-speedbar-move-message):
22386 Use dframe-with-attached-buffer rather than speedbar- alias.
22387 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
22388 (dframe-message, speedbar-make-specialized-keymap)
22389 (speedbar-add-expansion-list, speedbar-mode-functions-list)
22390 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
22391 (speedbar-insert-button, dframe-select-attached-frame)
22392 (dframe-maybee-jump-to-attached-frame)
22393 (speedbar-change-initial-expansion-list)
22394 (speedbar-previously-used-expansion-list-name): Declare.
22395 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
22396 Use dframe-message, dframe-with-attached-buffer rather than
22398 (gud-sentinel): Silence compiler.
22399 * progmodes/vhdl-mode.el (speedbar-refresh)
22400 (speedbar-do-function-pointer, speedbar-add-supported-extension)
22401 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
22402 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
22403 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
22404 (speedbar-file-lists, speedbar-make-tag-line)
22405 (speedbar-line-directory, speedbar-goto-this-file)
22406 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
22407 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
22408 (speedbar-make-button, speedbar-reset-scanners)
22409 (speedbar-files-item-info, speedbar-line-text)
22410 (speedbar-find-file-in-frame, speedbar-set-timer)
22411 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
22412 (speedbar-with-writable): Do not (re)define it.
22413 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
22414 rather than speedbar- alias.
22416 2013-05-21 Leo Liu <sdl.web@gmail.com>
22418 * progmodes/octave.el (octave-mode-menu): Update and re-organize
22420 (octave-mode): Tweak fill-nobreak-predicate.
22421 (inferior-octave-startup): Check process to avoid infinite loop.
22422 (inferior-octave): Pop to buffer first to show abornmal process
22425 2013-05-21 Glenn Morris <rgm@gnu.org>
22427 * printing.el (pr-menu-bar): Define when compiling.
22429 2013-05-21 Leo Liu <sdl.web@gmail.com>
22431 * progmodes/octave.el (octave-auto-fill): Remove.
22432 (octave-indent-new-comment-line): Improve.
22433 (octave-mode): Use auto fill mode through
22434 comment-line-break-function and fill-nobreak-predicate.
22435 (octave-goto-function-definition): Support DEFUN_DLD.
22436 (octave-beginning-of-defun): Small tweak.
22437 (octave-help): Show parent directory.
22439 2013-05-21 Glenn Morris <rgm@gnu.org>
22441 * files.el (dired-unmark):
22442 * progmodes/gud.el (gdb-input): Update declarations.
22444 * calculator.el (electric, ehelp): No need to load when compiling.
22445 (Electric-command-loop, electric-describe-mode): Declare.
22447 * doc-view.el (doc-view-current-converter-processes): Move before use.
22449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
22450 Move MODE-set-explicitly definition before use.
22452 * international/mule-diag.el (mule-diag):
22453 Don't use obsolete window-system-version.
22455 * mail/feedmail.el (smtpmail): No need to load when compiling.
22456 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
22458 * mail/mail-utils.el (rfc822): No need to load when compiling.
22459 (rfc822-addresses): Autoload it.
22460 (mail-strip-quoted-names): Trivial simplification.
22462 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
22463 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
22465 * net/snmp-mode.el (tempo): Don't duplicate requires.
22467 * progmodes/prolog.el (info): No need to load when compiling.
22468 (comint): Require before shell requires it.
22469 (Info-goto-node): Autoload it.
22470 (Info-follow-nearest-node): Declare.
22471 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
22473 * textmodes/artist.el (picture-mode-exit): Declare.
22475 * textmodes/reftex-parse.el (reftex-parse-from-file):
22476 Trivial rewrite so the compiler can parse it better.
22478 2013-05-20 Leo Liu <sdl.web@gmail.com>
22480 * progmodes/octave.el (octave-help-mode-map)
22481 (octave-help-mode-finish-hook): New variables.
22482 (octave-help-mode, octave-help-mode-finish): New functions.
22483 (octave-help): Use octave-help-mode.
22485 2013-05-20 Glenn Morris <rgm@gnu.org>
22487 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
22489 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
22491 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
22492 start at point, so that expansion starting right after opening
22493 slash in a regexp is recognized.
22494 (ruby-syntax-before-regexp-re): New defvar, extracted from
22495 ruby-syntax-propertize-function. Since the value of this regexp
22496 is looked up at runtime now, we should be able to turn
22497 `ruby-syntax-methods-before-regexp' into a defcustom later.
22498 (ruby-syntax-propertize-function): Split regexp matching into two
22499 parts, for opening and closing slashes. That allows us to skip
22500 over string interpolations and support multiline regexps.
22501 Don't call `ruby-syntax-propertize-expansions', instead use another rule
22502 for them, which calls `ruby-syntax-propertize-expansion'.
22503 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
22504 call to `ruby-syntax-propertize-function'.
22505 (ruby-syntax-propertize-expansion): Extracted from
22506 `ruby-syntax-propertize-expansions'. Handles one expansion.
22507 (ruby-syntax-propertize-percent-literal): Leave point right after
22508 the percent symbol, so that the expression expansion rule can
22509 propertize the contents.
22510 (ruby-syntax-propertize-heredoc): Leave point at bol following the
22512 (ruby-syntax-propertize-expansions): Remove.
22514 2013-05-18 Juri Linkov <juri@jurta.org>
22516 * man.el (Man-default-man-entry): Remove `-' from the end
22517 of the default value. (Bug#14400)
22519 2013-05-18 Glenn Morris <rgm@gnu.org>
22521 * comint.el (comint-password-prompt-regexp):
22522 Allow "password for XXX" where XXX contains colons (eg https://...).
22524 2013-05-18 Leo Liu <sdl.web@gmail.com>
22526 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
22527 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
22528 (octave-source-directories): Don't check process.
22529 (octave-source-directories, octave-find-definition): Doc fix.
22531 2013-05-18 Glenn Morris <rgm@gnu.org>
22533 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
22534 Remove backspace/delete bindings. (Bug#14392)
22536 * cus-dep.el (custom-make-dependencies): Sort the output.
22537 (custom-versions-load-alist): Convert comment to doc.
22539 2013-05-17 Leo Liu <sdl.web@gmail.com>
22541 * newcomment.el (comment-search-backward): Stricter in finding
22542 comment start. (Bug#14303)
22544 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
22545 (octave-comment-start-skip): Properly anchored.
22547 2013-05-17 Leo Liu <sdl.web@gmail.com>
22549 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
22550 Clean up when turned off. (Bug#14395)
22551 (smie--highlight-matching-block-overlay): No longer buffer-local.
22552 (smie-highlight-matching-block): Adjust.
22554 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
22556 Doc string fix for "nanoseconds" (Bug#14406).
22557 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
22558 Fix doc string typo that had "nanoseconds" instead of "microseconds".
22560 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
22562 * calc/calc-units.el (math-extract-units): Preserve powers
22565 2013-05-17 Leo Liu <sdl.web@gmail.com>
22567 * subr.el (delete-consecutive-dups): New function.
22568 * ido.el (ido-set-matches-1): Use it.
22569 * progmodes/octave.el (inferior-octave-completion-table): Use it.
22570 * ido.el (ido-remove-consecutive-dups): Remove.
22572 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22574 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22575 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
22576 regexp-opt's `words'.
22578 2013-05-16 Leo Liu <sdl.web@gmail.com>
22580 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
22581 (smie--highlight-matching-block-overlay)
22582 (smie--highlight-matching-block-lastpos)
22583 (smie--highlight-matching-block-timer): New variables.
22584 (smie-highlight-matching-block): New function.
22585 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
22586 (smie-setup): Conditionally enable smie-blink-matching-open.
22588 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
22590 Sync with upstream verilog-mode r840.
22591 * progmodes/verilog-mode.el (verilog-mode-version)
22592 (verilog-mode-release-date): Update.
22593 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
22594 (verilog-sig-tieoff): Fix string error on
22595 AUTORESET with colon define, bug594. Reported by Andrew Hou.
22596 (verilog-read-decls): Fix parameters confusing
22597 AUTOINST interfaces, bug565. Reported by Leith Johnson.
22599 2013-05-16 Eli Zaretskii <eliz@gnu.org>
22601 * subr.el (reveal-filename): New function.
22603 * loadup.el: Compute Emacs executable versions on MS-Windows,
22604 where executables have the .exe extension. Add a hard link
22605 emacs-XX.YY.ZZ.exe on MS-Windows.
22607 * Makefile.in (XARGS_LIMIT): New variable.
22608 (custom-deps, finder-data, autoloads)
22609 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22610 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22611 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
22612 (compile-main): Limit xargs according to $(XARGS_LIMIT).
22614 2013-05-16 Leo Liu <sdl.web@gmail.com>
22616 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
22617 (octave-mode-menu, octave-mode-map): Remove its uses.
22619 2013-05-16 Reto Zimmermann <reto@gnu.org>
22621 Sync with upstream vhdl mode v3.34.2.
22622 * progmodes/vhdl-mode.el: Use `push' throughout.
22623 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
22624 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
22625 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
22626 (vhdl-actual-generic-name): New option to derive actual generic name.
22627 (vhdl-port-paste-signals): Replace formal by actual generics.
22628 (vhdl-beautify): New name for old group vhdl-align. Update users.
22629 (vhdl-beautify-options): New option.
22630 (vhdl-last-input-event): New compat alias. Use throughout.
22631 (vhdl-goto-line): Replace user level function `goto-line'.
22632 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
22633 vhdl-fix-statement-buffer.
22634 (vhdl-create-mode-menu): Add some entries.
22635 (vhdl-align-region-groups): Respect vhdl-beautify-options.
22636 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
22637 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
22638 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
22639 to force statements on one line.
22640 (vhdl-remove-trailing-spaces-region):
22641 New, split from vhdl-remove-trailing-spaces.
22642 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
22643 Respect vhdl-beautify-options.
22644 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
22645 (vhdl-update-sensitivity-list): Not add with index if exists without.
22646 Not include array index with signal. Ignore keywords in comments.
22647 (vhdl-get-visible-signals): Regexp tweaks.
22648 (vhdl-template-component-inst): Handle empty library.
22649 (vhdl-template-type): Add template for 'enum' type.
22650 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
22651 Use vhdl-replace-string.
22652 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
22653 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
22654 (vhdl-speedbar-initialize): Update for above name change.
22655 (vhdl-compose-wire-components): Fix in handling of constants.
22656 (vhdl-error-regexp-emacs-alist): New variable.
22657 (vhdl-error-regexp-add-emacs): New function;
22658 adds support for new compile.el (Emacs 22+)
22659 (vhdl-generate-makefile-1): Change target order for single lib. units.
22660 Allow use of absolute file names.
22662 2013-05-16 Leo Liu <sdl.web@gmail.com>
22664 * simple.el (prog-indent-sexp): Indent enclosing defun.
22666 2013-05-15 Glenn Morris <rgm@gnu.org>
22668 * cus-start.el (show-trailing-whitespace): Move to editing basics.
22669 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22670 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22671 (whitespace-highlight): Move to whitespace group.
22673 * comint.el (comint-source):
22674 * pcmpl-linux.el (pcmpl-linux):
22675 * shell.el (shell-faces):
22676 * eshell/esh-opt.el (eshell-opt):
22677 * international/ccl.el (ccl): Remove empty custom groups.
22679 * completion.el (dynamic-completion-mode):
22680 * jit-lock.el (jit-lock-debug-mode):
22681 * minibuffer.el (completion-in-region-mode):
22682 * type-break.el (type-break-mode-line-message-mode)
22683 (type-break-query-mode):
22684 * emulation/tpu-edt.el (tpu-edt-mode):
22685 * progmodes/subword.el (global-subword-mode, global-superword-mode):
22686 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22687 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22689 * term/xterm.el (xterm): Change parent group to terminals.
22691 * master.el (master): Remove empty custom group.
22692 (master-mode): Remove unused :group argument.
22693 * textmodes/refill.el (refill): Remove empty custom group.
22694 (refill-mode): Remove unused :group argument.
22696 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22698 * cus-dep.el: Provide a feature.
22699 (custom-make-dependencies): Ignore dotfiles (dir-locals).
22700 Don't mistakenly ignore files whose basenames match a basename
22701 from preloaded-file-list (eg cedet/ede/simple.el).
22702 Add a fallback method for getting :group.
22704 2013-05-15 Juri Linkov <juri@jurta.org>
22706 * isearch.el (isearch-char-by-name): Rename from
22707 `isearch-insert-char-by-name'. Doc fix.
22708 (isearch-forward): Mention `isearch-char-by-name' in
22709 the docstring. (Bug#13348)
22711 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22712 `exit-minibuffer' instead of
22713 `isearch-nonincremental-exit-minibuffer'.
22714 (isearch-edit-string): Remove mention of
22715 `isearch-nonincremental-exit-minibuffer' from docstring.
22716 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22717 (isearch-forward-exit-minibuffer)
22718 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
22720 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22722 * loadup.el: Just use unversioned DOC.
22724 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22725 literals as extending to EOB.
22726 (nxml-last-fontify-end): Remove unused variable.
22727 (nxml-after-change1): Use with-silent-modifications.
22728 (nxml-extend-after-change-region): Simplify.
22729 (nxml-extend-after-change-region1): Remove function.
22730 (nxml-after-change1): Don't adjust for dependent regions.
22731 (nxml-fontify-matcher): Simplify.
22732 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22733 (xmltok-add-dependent): Remove function.
22734 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22735 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22736 (xmltok-scan-prolog-after-processing-instruction-open): Treat
22737 unclosed <[[, <?, comment, and other literals as extending to EOB.
22738 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22739 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22741 (rng-do-some-validation-1): Don't mark dependent regions.
22742 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22743 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22744 (nxml-clear-dependent-regions): Remove functions.
22745 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22746 (nxml-ensure-scan-up-to-date):
22747 Don't clear&mark dependent regions.
22749 2013-05-15 Leo Liu <sdl.web@gmail.com>
22751 * progmodes/octave.el (octave-goto-function-definition):
22752 Improve and fix callers.
22754 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22756 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22757 the setter (bug#14387).
22759 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22760 surrounding group (bug#14402).
22762 2013-05-14 Juri Linkov <juri@jurta.org>
22764 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22767 2013-05-14 Glenn Morris <rgm@gnu.org>
22769 * progmodes/f90.el (f90-imenu-generic-expression):
22770 Fix typo in 2013-05-08 change. (Bug#14402)
22772 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22774 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22775 Remove signals for which replies are never received.
22777 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22779 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22780 (gdb-handler-alist, gdb-handler-number): Remove variables.
22781 (gdb-handler-list): New variable.
22782 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22783 (gdb-pending-handler-p, gdb-handle-reply)
22784 (gdb-remove-all-pending-triggers): New functions.
22785 (gdb-discard-unordered-replies): New defcustom.
22786 (gdb-handler): New defstruct.
22787 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
22788 instead of gdb-pending-triggers. Update docstring.
22789 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
22790 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22791 (gdb-var-update-handler, def-gdb-auto-update-trigger)
22792 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22793 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22794 (gdb-frame-handler): Pending triggers are now automatically managed.
22795 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22797 (gdb-input): Automatically handles pending triggers. Update docstring.
22798 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22799 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22801 (gdb-done-or-error): Now use gdb-handle-reply.
22803 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22805 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22808 2013-05-14 Glenn Morris <rgm@gnu.org>
22810 * subr.el (user-emacs-directory-warning): New option.
22811 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
22813 2013-05-14 Leo Liu <sdl.web@gmail.com>
22815 * progmodes/octave.el (octave-font-lock-keywords): Fix error
22817 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22818 (octave-font-lock-texinfo-comment): Fix invalid search bound
22819 error: wrong side of point.
22821 2013-05-14 Glenn Morris <rgm@gnu.org>
22823 * progmodes/flymake.el (flymake-xml-program): New option.
22824 (flymake-xml-init): Use it.
22826 * term/xterm.el: Provide a feature.
22828 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
22830 2013-05-13 Glenn Morris <rgm@gnu.org>
22832 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22833 Add compat aliases as a hack workaround. (Bug#14384)
22835 2013-05-13 Leo Liu <sdl.web@gmail.com>
22837 * progmodes/octave.el (octave-indent-comment): Fix indentation for
22839 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22841 (octave-comment-start-skip): Include %!.
22842 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22844 2013-05-12 Leo Liu <sdl.web@gmail.com>
22846 * progmodes/octave.el (inferior-octave-startup): Store the value
22847 of __octave_srcdir__ for octave-source-directories.
22848 (inferior-octave-check-process): New function refactored out of
22849 inferior-octave-send-list-and-digest.
22850 (octave-source-directories)
22851 (octave-find-definition-filename-function): New variables.
22852 (octave-source-directories)
22853 (octave-find-definition-default-filename): New functions.
22854 (octave-find-definition): Improve to find functions implemented in C++.
22856 2013-05-12 Glenn Morris <rgm@gnu.org>
22858 * calendar/diary-lib.el (diary-outlook-format-1):
22859 Don't include dayname in the output. (Bug#14349)
22861 2013-05-11 Glenn Morris <rgm@gnu.org>
22863 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22865 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22866 Treat cc-provide like provide.
22868 2013-05-11 Kevin Ryde <user42@zip.com.au>
22870 * cus-dep.el (custom-make-dependencies):
22871 Use generated-autoload-load-name for the sake of files such
22872 such cedet/semantic/bovine/c.el, where the base file name
22873 is not in load-path. (Bug#5277)
22875 2013-05-11 Glenn Morris <rgm@gnu.org>
22877 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22880 2013-05-11 Leo Liu <sdl.web@gmail.com>
22882 * progmodes/octave.el (octave-indent-comment): Improve.
22883 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22884 (octave-eldoc-function-signatures, octave-eldoc-function):
22886 (octave-mode, inferior-octave-mode): Add eldoc support.
22888 2013-05-11 Richard Stallman <rms@gnu.org>
22890 * epa.el (epa-decrypt-file): Take output file name as argument
22891 and read it using `interactive'.
22893 2013-05-11 Leo Liu <sdl.web@gmail.com>
22895 * progmodes/octave.el (octave-beginning-of-line)
22896 (octave-end-of-line): Check before using up-list because it jumps
22897 out of more syntactic contructs since moving to smie.
22898 (octave-indent-comment): New function.
22899 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
22900 (octave-begin-keywords, octave-end-keywords)
22901 (octave-reserved-words, octave-smie-bnf-table)
22902 (octave-smie-rules): Add new keywords from Octave 3.6.4.
22904 2013-05-11 Glenn Morris <rgm@gnu.org>
22906 * faces.el (internal-face-x-get-resource):
22907 * frame.el (ns-display-monitor-attributes-list):
22908 * calc/calc-aent.el (math-to-radians-2):
22909 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22912 * calc/calc-menu.el: Make it loadable in isolation.
22914 * net/eudcb-bbdb.el: Make it loadable without bbdb.
22915 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22916 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22917 (eudc-bbdb-query-internal): Require 'bbdb.
22919 * lpr.el (lpr-headers-switches):
22920 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22922 * progmodes/sql.el (sql-login-params): Fix and improve :type.
22924 * emulation/edt-mapper.el: In batch mode, error rather than hang.
22926 * term.el (term-set-escape-char): Make it idempotent.
22928 2013-05-10 Leo Liu <sdl.web@gmail.com>
22930 * progmodes/octave.el (inferior-octave-completion-table):
22931 No longer a function and all uses changed. Use cache to speed up
22932 completion due to bug#11906.
22933 (octave-beginning-of-defun): Re-write to be more general.
22935 2013-05-10 Glenn Morris <rgm@gnu.org>
22937 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22939 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
22941 * comint.el (comint-redirect-send-command-to-process): Use :around
22942 rather than :override for comint-redirect-filter.
22943 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22944 Call it instead of comint-redirect-original-filter-function (which
22945 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
22947 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
22949 * frame.el (display-monitor-attributes-list): Add NS case.
22950 (ns-display-monitor-attributes-list): Declare.
22952 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
22954 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
22956 2013-05-09 Glenn Morris <rgm@gnu.org>
22958 * international/fontset.el (vertical-centering-font-regexp):
22959 Set standard-value.
22961 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
22963 * bookmark.el (bookmark-search-delay):
22964 * cus-start.el (vertical-centering-font-regexp):
22965 * ps-mule.el (ps-mule-font-info-database-default):
22966 * ps-print.el (ps-default-fg, ps-default-bg):
22967 * type-break.el (type-break-good-break-interval):
22968 * whitespace.el (whitespace-indentation-regexp)
22969 (whitespace-space-after-tab-regexp):
22970 * emacs-lisp/testcover.el (testcover-1value-functions)
22971 (testcover-noreturn-functions, testcover-progn-functions)
22972 (testcover-prog1-functions):
22973 * emulation/viper-init.el (viper-emacs-state-cursor-color):
22974 * eshell/em-glob.el (eshell-glob-translate-alist):
22975 * play/tetris.el (tetris-tty-colors):
22976 * progmodes/cpp.el (cpp-face-default-list):
22977 * progmodes/flymake.el (flymake-allowed-file-name-masks):
22978 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
22979 (idlwave-help-browser-generic-args):
22980 * progmodes/make-mode.el (makefile-special-targets-list):
22981 * progmodes/python.el (python-shell-virtualenv-path):
22982 * progmodes/verilog-mode.el (verilog-active-low-regexp)
22983 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
22984 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
22985 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
22986 * textmodes/reftex-vars.el (reftex-format-label-function):
22987 * textmodes/remember.el (remember-diary-file): Fix custom types.
22989 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
22992 2013-05-09 Leo Liu <sdl.web@gmail.com>
22994 * progmodes/octave.el (inferior-octave-completion-at-point):
22995 Restore file completion. (Bug#14300)
22996 (inferior-octave-startup): Fix incorrect highlighting for the
22999 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23001 * progmodes/ruby-mode.el: First cut at SMIE support.
23002 (ruby-use-smie): New var.
23003 (ruby-smie-grammar): New constant.
23004 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23005 (ruby-smie--forward-token, ruby-smie--backward-token)
23006 (ruby-smie-rules): New functions.
23007 (ruby-mode-variables): Setup SMIE if applicable.
23009 2013-05-08 Eli Zaretskii <eliz@gnu.org>
23011 * simple.el (line-move-visual): Signal beginning/end of buffer
23012 only if vertical-motion moved less than it was requested. Avoids
23013 silly incorrect error messages when there are display strings with
23014 multiple newlines at EOL.
23016 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23018 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23019 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23020 (prolog-char-quote-workaround):
23021 * progmodes/cperl-mode.el (cperl-under-as-char):
23022 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23024 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23026 (vhdl-mode-syntax-table-init): Remove.
23028 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23031 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23033 (ld-script-font-lock-keywords):
23034 Change regexps to use things like \_< and \_>.
23036 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23037 Change all regexps to use things like \_< and \_>.
23039 * progmodes/autoconf.el (autoconf-definition-regexp)
23040 (autoconf-font-lock-keywords, autoconf-current-defun-function):
23041 Handle a _ with symbol syntax.
23042 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23044 * progmodes/ada-mode.el (ada-mode-abbrev-table):
23045 Consolidate declaration.
23046 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23048 (ada-create-syntax-table): Remove.
23049 (ada-capitalize-word): Don't mess with the syntax of "_" since it
23050 already has the right syntax nowadays.
23051 (ada-goto-next-word): Don't change the syntax of "_".
23053 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23056 2013-05-08 Sam Steingold <sds@gnu.org>
23058 * thingatpt.el (thing-at-point): Accept optional second argument
23059 NO-PROPERTIES to strip the text properties from the return value.
23060 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
23061 to `thing-at-point' instead of stripping the properties ourselves.
23062 Also, when `thing-at-point' fails to find a url, prepend "http://"
23063 to the filename at point on the assumption that the user is
23064 pointing at something like gnu.org/gnu.
23066 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
23068 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23069 * faces.el (crm-separator):
23070 Silence byte-compiler.
23072 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
23073 (tool-bar-map): Remove unneeded defvars.
23075 2013-05-08 Leo Liu <sdl.web@gmail.com>
23077 Re-work a fix for bug#10994 based on Le Wang's patch.
23078 * ido.el (ido-remove-consecutive-dups): New helper.
23079 (ido-completing-read): Use it.
23080 (ido-chop): Revert fix for bug#10994.
23082 2013-05-08 Adam Spiers <emacs@adamspiers.org>
23084 * cus-edit.el (custom-save-variables):
23085 Pretty-print long values. (Bug#14187)
23087 2013-05-08 Glenn Morris <rgm@gnu.org>
23089 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
23090 (m4-mode-syntax-table): Init in the defvar.
23091 (m4-mode-abbrev-table): Let define-derived-mode define it.
23093 2013-05-08 Tom Tromey <tromey@redhat.com>
23095 * progmodes/m4-mode.el (m4-mode-syntax-table):
23096 Do not treat "_" as word constituent. (Bug#14167)
23098 2013-05-07 Glenn Morris <rgm@gnu.org>
23100 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
23101 Remove explicit eshell-isearch-cancel-map.
23103 * progmodes/f90.el (f90-smart-end-names): New option.
23104 (f90-smart-end): Doc fix.
23105 (f90-end-block-optional-name): New constant.
23106 (f90-block-match): Respect f90-smart-end-names.
23108 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23110 * progmodes/octave.el (octave-smie-forward-token): Be more careful
23111 about implicit semi-colons (bug#14218).
23113 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23115 * frame.el (display-monitor-attributes-list)
23116 (frame-monitor-attributes): New functions.
23118 2013-05-06 Leo Liu <sdl.web@gmail.com>
23120 * progmodes/octave.el (octave-syntax-propertize-function): Change
23121 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
23122 (octave-font-lock-keywords): Use octave-operator-regexp.
23123 (octave-completion-at-point): Rename from
23124 octave-completion-at-point-function.
23125 (inferior-octave-directory-tracker): Robustify.
23126 (octave-text-functions): Remove and fix its uses. No such things
23129 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23131 * emacs-lisp/trace.el (trace--display-buffer): New function.
23132 (trace-make-advice): Use it.
23134 2013-05-06 Juri Linkov <juri@jurta.org>
23136 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
23137 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
23139 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
23140 in the help string. (Bug#12985)
23142 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
23144 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
23146 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23148 * progmodes/perl-mode.el: Add support for here documents.
23149 (perl-syntax-propertize-function): Match here-doc markers.
23150 (perl-syntax-propertize-special-constructs): Find their end.
23151 (perl-imenu-generic-expression): Use [:alnum:].
23153 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
23154 (advice--add-function): Refresh the advice if already present
23157 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
23159 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
23161 2013-05-06 Glenn Morris <rgm@gnu.org>
23163 * w32-fns.el (w32-charset-info-alist): Declare.
23165 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
23166 of its defcustom properties.
23167 (eshell-cmpl-initialize): No need to load pcomplete.
23169 * generic-x.el: No need to require comint when compiling.
23171 * net/eudc-export.el: Make it loadable without bbdb.
23172 (top-level): Use require rather than load-library.
23173 (eudc-create-bbdb-record, eudc-bbdbify-phone)
23174 (eudc-batch-export-records-to-bbdb)
23175 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
23178 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23180 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
23181 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
23182 some tweaks, instead.
23184 2013-05-05 Leo Liu <sdl.web@gmail.com>
23186 * progmodes/octave.el (octave-font-lock-keywords)
23187 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
23188 (inferior-octave-send-list-and-digest): Improve error message.
23189 (octave-mode, inferior-octave-mode): Use setq-local.
23190 (octave-help): Set info-lookup-mode.
23192 2013-05-05 Richard Stallman <rms@gnu.org>
23194 * vc/compare-w.el (compare-windows-whitespace):
23195 Treat no-break space as whitespace.
23197 * mail/rmailsum.el (rmail-summary-rmail-update):
23198 Detect empty summary and don't change selected message.
23199 (rmail-summary-goto-msg): Likewise.
23201 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
23202 Doc fixes, rename args.
23204 2013-05-05 Alan Mackenzie <acm@muc.de>
23206 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
23208 2013-05-05 Juri Linkov <juri@jurta.org>
23210 * info.el (Info-read-subfile): Use (point-min) instead of (point)
23211 to not add the length of the summary segment to the return value.
23214 2013-05-05 Leo Liu <sdl.web@gmail.com>
23216 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
23217 (inferior-octave-output-filter): Remove.
23218 (octave-send-region, inferior-octave-startup): Fix callers.
23219 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
23220 (octave-binary-file-extensions): New user variable.
23221 (octave-find-definition): Confirm if opening binary files.
23222 (octave-help-file): Use octave-find-definition to get the binary
23224 (octave-help): Adjust for octave-help-file change.
23226 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23228 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
23229 Merge the two entries that handle function definitions.
23230 (pascal--syntax-propertize): New const.
23231 (pascal-mode): Use it. Use setq-local.
23233 2013-05-04 Glenn Morris <rgm@gnu.org>
23235 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
23236 (diary-from-outlook): Respect diary-from-outlook-function.
23238 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23240 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
23241 Move the declaration from C.
23242 (read-minibuffer, eval-minibuffer): Move from C.
23243 (completion-setup-function): Avoid minibuffer-completion-contents.
23245 2013-05-03 Leo Liu <sdl.web@gmail.com>
23247 * progmodes/octave.el (octave-font-lock-keywords): Do not
23248 dehighlight 'end' in comments or strings.
23249 (octave-completing-read, octave-goto-function-definition):
23251 (octave-help-buffer): New user variable.
23252 (octave-help-file, octave-help-function): New button types.
23253 (octave-help): New command and bind it to C-h ;.
23254 (octave-find-definition): New command and bind it to M-.
23255 (user-error): Alias to error if not defined.
23257 2013-05-02 Leo Liu <sdl.web@gmail.com>
23259 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
23261 (octave-font-lock-keywords): Include [ and {.
23263 2013-05-02 Leo Liu <sdl.web@gmail.com>
23265 * progmodes/octave.el (inferior-octave-startup-file): Change default.
23266 (inferior-octave): Remove calling comint-mode and return the buffer.
23267 (inferior-octave-startup): Cosmetic changes.
23269 2013-05-02 Leo Liu <sdl.web@gmail.com>
23271 * progmodes/octave.el (octave-syntax-propertize-function):
23272 Include the case when ' is at line beginning. (Bug#14336)
23274 2013-05-02 Glenn Morris <rgm@gnu.org>
23276 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
23277 * desktop.el (vc-dir-mode): Just autoload it here.
23279 2013-05-02 Alan Mackenzie <acm@muc.de>
23281 Eliminate variable c-standard-font-lock-fontify-region-function.
23282 * progmodes/cc-mode.el
23283 (c-standard-font-lock-fontify-region-function): Remove.
23284 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
23286 2013-05-01 Leo Liu <sdl.web@gmail.com>
23288 * progmodes/octave.el: Compatible with older emacs-24 releases.
23289 (inferior-octave-has-built-in-variables): Remove. Built-in
23290 variables were removed from Octave in 2007.
23291 (inferior-octave-startup): Fix uses.
23292 (comint-line-beginning-position): Remove compatibility code for
23295 2013-05-01 Juri Linkov <juri@jurta.org>
23297 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
23299 2013-05-01 Juri Linkov <juri@jurta.org>
23301 * comint.el (comint-previous-matching-input): Don't print message
23302 "History item: %d" when `isearch-mode' is active.
23303 (comint-history-isearch-message): Print message "History item: %d"
23304 when `comint-input-ring-index' is not empty and this function is
23305 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
23307 2013-05-01 Leo Liu <sdl.web@gmail.com>
23309 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
23310 definitions. Use completion-at-point to insert keywords.
23311 (octave-abbrev-start): Remove.
23312 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
23314 2013-04-30 Leo Liu <sdl.web@gmail.com>
23316 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
23319 2013-04-30 Alan Mackenzie <acm@muc.de>
23321 Handle arbitrarily long C++ member initialisation lists.
23322 * progmodes/cc-engine.el (c-back-over-member-initializers):
23324 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
23325 (most) member init lists.
23327 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23329 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
23332 2013-04-30 Leo Liu <sdl.web@gmail.com>
23334 * progmodes/octave.el (octave-variables): Remove. No builtin
23335 variables any more. All converted to functions.
23336 (octave-font-lock-keywords, octave-completion-at-point-function):
23338 (octave-font-lock-texinfo-comment): New user variable.
23339 (octave-texinfo-font-lock-keywords): New variable for texinfo
23341 (octave-function-comment-block): New face.
23342 (octave-font-lock-texinfo-comment): New function.
23343 (octave-mode): Font lock texinfo comment block.
23345 2013-04-29 Leo Liu <sdl.web@gmail.com>
23347 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
23348 indexing expression.
23349 (octave-continuation-string): Do not use \.
23350 (inferior-octave-complete-impossible): Remove.
23351 (inferior-octave-completion-table)
23352 (inferior-octave-completion-at-point): Remove its uses.
23353 (inferior-octave-startup): completion_matches was introduced to
23354 Octave in 1996 so safe to assume it.
23355 (octave-function-file-comment): Improve to follow how Octave does it.
23356 (octave-update-function-file-comment): Tweak.
23358 2013-04-29 Leo Liu <sdl.web@gmail.com>
23360 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
23361 (inferior-octave-startup): Remove inferior-octave-startup-hook.
23362 (octave-function-file-comment): Fix typo.
23363 (octave-sync-function-file-names): Use read-char-choice.
23365 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
23367 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
23368 to t for the less important warnings.
23370 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
23372 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
23374 2013-04-27 Glenn Morris <rgm@gnu.org>
23376 * vc/log-view.el (log-view-current-entry):
23377 Treat "---" separator lines as part of the following rev. (Bug#14169)
23379 2013-04-27 Juri Linkov <juri@jurta.org>
23381 * subr.el (read-number): Doc fix about using it by interactive
23382 code letter `n'. (Bug#14254)
23384 2013-04-27 Juri Linkov <juri@jurta.org>
23386 * desktop.el (desktop-auto-save-timeout): New option.
23387 (desktop-file-checksum): New variable.
23388 (desktop-save): Add optional arg `auto-save' and don't auto-save
23389 if nothing changed.
23390 (desktop-auto-save-timer): New variable.
23391 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
23392 (after-init-hook): Call `desktop-auto-save-set-timer'.
23393 Suggested by Reuben Thomas <rrt@sc3d.org> in
23394 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
23396 2013-04-27 Leo Liu <sdl.web@gmail.com>
23398 * progmodes/octave.el (octave-function-file-p)
23399 (octave-skip-comment-forward, octave-function-file-comment)
23400 (octave-update-function-file-comment): New functions.
23401 (octave-mode-map): Bind C-c ; to
23402 octave-update-function-file-comment.
23403 (octave-mode-menu): Add octave-update-function-file-comment.
23404 (octave-mode, inferior-octave-mode): Fix doc-string.
23405 (octave-insert-defun): Conform to Octave's coding convention.
23408 * files.el (basic-save-buffer): Don't let errors in
23409 before-save-hook prevent saving buffer.
23411 2013-04-20 Roland Winkler <winkler@gnu.org>
23413 * faces.el (read-face-name): Use completing-read if arg multiple
23416 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
23418 * ls-lisp.el (ls-lisp-insert-directory): If no files are
23419 displayed, move point to after the totals line.
23420 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
23423 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
23425 * emacs-lisp/package.el (package-autoload-ensure-default-file):
23426 Add current dir to the load-path.
23427 (package-generate-autoloads): Don't rely on
23428 autoload-ensure-default-file.
23430 2013-04-26 Reuben Thomas <rrt@sc3d.org>
23432 * textmodes/remember.el (remember-store-in-files): Document that
23433 the file name format is passed to `format-time-string'.
23435 2013-04-26 Leo Liu <sdl.web@gmail.com>
23437 * progmodes/octave.el (octave-sync-function-file-names): New function.
23438 (octave-mode): Use it in before-save-hook.
23440 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
23442 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
23445 * progmodes/octave.el (octave-smie-forward-token): Properly skip
23446 \n and comment, even if it's not an implicit ; (bug#14218).
23448 2013-04-26 Glenn Morris <rgm@gnu.org>
23450 * subr.el (read-number): Once more use `read' rather than
23451 `string-to-number', to trap non-numeric input. (Bug#14254)
23453 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
23455 * emacs-lisp/syntax.el (syntax-propertize-multiline):
23456 Use `syntax-multiline' text property consistently instead of
23457 `font-lock-multiline'. (Bug#14237)
23459 2013-04-26 Glenn Morris <rgm@gnu.org>
23461 * emacs-lisp/shadow.el (list-load-path-shadows):
23462 No longer necessary to check for duplicate simple.el, since
23463 2012-07-07 change to init_lread to not include installation lisp
23464 directories in load-path when running uninstalled. (Bug#14270)
23466 2013-04-26 Leo Liu <sdl.web@gmail.com>
23468 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
23469 (octave-mode, inferior-octave-mode): Use setq-local.
23470 (octave-not-in-string-or-comment-p): Rename to
23471 octave-in-string-or-comment-p.
23472 (octave-in-comment-p, octave-in-string-p)
23473 (octave-in-string-or-comment-p): Replace defsubst with defun.
23475 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
23477 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
23479 2013-04-25 Bastien Guerry <bzg@gnu.org>
23481 * textmodes/remember.el (remember-data-directory)
23482 (remember-directory-file-name-format): Fix custom types.
23484 2013-04-25 Leo Liu <sdl.web@gmail.com>
23486 * progmodes/octave.el (octave-completion-at-point-function):
23487 Make use of inferior octave process.
23488 (octave-initialize-completions): Remove.
23489 (inferior-octave-completion-table): New function.
23490 (inferior-octave-completion-at-point): Use it.
23491 (octave-completion-alist): Remove.
23493 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23495 * progmodes/opascal.el: Use font-lock and syntax-propertize.
23496 (opascal-mode-syntax-table): New var.
23497 (opascal-literal-kind, opascal-is-literal-end)
23498 (opascal-literal-token-at): Rewrite.
23499 (opascal--literal-start-re, opascal-font-lock-keywords)
23500 (opascal--syntax-propertize): New constants.
23501 (opascal-font-lock-defaults): Adjust.
23502 (opascal-mode): Use them. Set comment-<foo> variables as well.
23503 (delphi-comment-face, opascal-comment-face, delphi-string-face)
23504 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
23505 (delphi-other-face, opascal-other-face): Remove face variables.
23506 (opascal-save-state): Remove macro.
23507 (opascal-fontifying-progress-step): Remove constant.
23508 (opascal--ignore-changes): Remove var.
23509 (opascal-set-token-property, opascal-parse-next-literal)
23510 (opascal-is-stable-literal, opascal-complete-literal)
23511 (opascal-is-literal-start, opascal-face-of)
23512 (opascal-parse-region, opascal-parse-region-until-stable)
23513 (opascal-fontify-region, opascal-after-change)
23514 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
23515 (opascal-debug-parse-region, opascal-debug-parse-window)
23516 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
23517 (opascal-debug-fontify-buffer): Remove.
23518 (opascal-debug-mode-map): Adjust accordingly.
23520 2013-04-25 Leo Liu <sdl.web@gmail.com>
23522 Merge octave-mod.el and octave-inf.el into octave.el with some
23524 * progmodes/octave.el: New file renamed from octave-mod.el.
23525 * progmodes/octave-inf.el: Merged into octave.el.
23526 * progmodes/octave-mod.el: Renamed to octave.el.
23528 2013-04-25 Tassilo Horn <tsdh@gnu.org>
23530 * textmodes/reftex-vars.el
23531 (reftex-label-ignored-macros-and-environments): New defcustom.
23533 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
23535 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23537 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
23538 (smie-indent-keyword): Improve the check to ensure that the next
23539 comment is really on the same line.
23540 (smie-indent-comment): Don't align with a subsequent closer (or eob).
23542 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
23543 semi-colons if the line is not otherwise empty (bug#14218).
23545 2013-04-25 Glenn Morris <rgm@gnu.org>
23547 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
23549 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
23551 * progmodes/opascal.el (opascal-set-token-property): Rename from
23552 opascal-set-text-properties and only set `token' (bug#14134).
23553 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
23554 (opascal-literal-text-properties): Remove.
23555 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
23558 2013-04-24 Reuben Thomas <rrt@sc3d.org>
23560 * textmodes/remember.el (remember-handler-functions): Add an
23561 option for a new handler `remember-store-in-files'.
23562 (remember-data-directory, remember-directory-file-name-format):
23564 (remember-store-in-files): New function to store remember notes
23565 as separate files within a directory.
23567 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
23569 * progmodes/compile.el (compilation-next-error-function):
23570 Pass "formats" to compilation-find-file (bug#11777).
23572 2013-04-24 Glenn Morris <rgm@gnu.org>
23574 * vc/vc-bzr.el (vc-bzr-print-log):
23575 * vc/vc-hg.el (vc-hg-print-log):
23576 * vc/vc-svn.el (vc-svn-print-log):
23577 Fix START-REVISION with LIMIT != 1. (Bug#14168)
23579 * vc/vc-bzr.el (vc-bzr-print-log):
23580 * vc/vc-cvs.el (vc-cvs-print-log):
23581 * vc/vc-git.el (vc-git-print-log):
23582 * vc/vc-hg.el (vc-hg-print-log):
23583 * vc/vc-mtn.el (vc-mtn-print-log):
23584 * vc/vc-rcs.el (vc-rcs-print-log):
23585 * vc/vc-sccs.el (vc-sccs-print-log):
23586 * vc/vc-svn.el (vc-svn-print-log):
23587 * vc/vc.el (vc-print-log-internal): Doc fixes.
23589 2013-04-23 Glenn Morris <rgm@gnu.org>
23591 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
23592 Remove venerable code attempting to avoid substitute-command-keys.
23594 2013-04-23 Tassilo Horn <tsdh@gnu.org>
23596 * textmodes/reftex-vars.el (reftex-label-regexps):
23597 Call `reftex-compile-variables' after changes to this variable.
23599 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
23601 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
23602 Use lexical-binding.
23603 (jit-lock-force-redisplay): Use markers, check buffer's continued
23604 existence and beware narrowed buffers.
23605 (jit-lock-fontify-now): Adjust call accordingly.
23607 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
23609 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
23610 to avoid misleading the user.
23612 2013-04-22 Leo Liu <sdl.web@gmail.com>
23614 * info-look.el: Prefer latex2e.info. (Bug#14240)
23616 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
23618 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
23620 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
23621 * net/tramp.el (tramp-call-process): ... here.
23622 (tramp-set-completion-function, tramp-parse-putty):
23623 * net/tramp-adb.el (tramp-adb-execute-adb-command):
23624 * net/tramp-gvfs.el (tramp-gvfs-send-command):
23625 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
23626 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
23627 (tramp-call-local-coding-command): Use `tramp-call-process'
23628 instead of `tramp-compat-call-process'.
23630 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
23631 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
23632 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
23633 (tramp-find-inline-compress): Improve traces.
23634 (tramp-maybe-send-script): Check for Perl binary.
23635 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
23637 2013-04-22 Daiki Ueno <ueno@gnu.org>
23639 * epg.el (epg-context-pinentry-mode): New function.
23640 (epg-context-set-pinentry-mode): New function.
23641 (epg--start): Pass --pinentry-mode option to gpg command.
23643 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
23645 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
23646 `comint-dynamic-complete' is obsolete since 24.1, replaced by
23647 `completion-at-point'. (Bug#13774)
23649 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
23650 default key binding for `describe-distribution' has been moved to
23651 `C-h C-o'. (Bug#13970)
23653 2013-04-21 Glenn Morris <rgm@gnu.org>
23655 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
23657 (vc-print-log): Clarify interactive prompt.
23659 2013-04-20 Glenn Morris <rgm@gnu.org>
23661 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23662 No longer include timestamp etc information.
23664 2013-04-20 Roland Winkler <winkler@gnu.org>
23666 * faces.el (read-face-name): Bug fix, return just one face if arg
23667 multiple is nil. (Bug#14209)
23669 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23671 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23672 (remove-function): Autoload.
23674 * comint.el (comint-redirect-original-filter-function): Remove.
23675 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23676 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23677 (vc-cvs-annotate-command):
23678 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23679 * progmodes/prolog.el (prolog-consult-compile):
23680 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23681 Use add/remove-function instead.
23682 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23683 (gud-tooltip-process-output, gud-tooltip-tips):
23684 Use add/remove-function instead.
23685 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23686 (scheme-interaction-mode, exit-scheme-interaction-mode):
23687 Use add/remove-function instead.
23689 * vc/vc-dispatcher.el: Use lexical-binding.
23690 (vc--process-sentinel): Rename from vc-process-sentinel.
23691 Change last arg to be the code to run. Don't use vc-previous-sentinel
23692 and vc-sentinel-commands any more.
23693 (vc-exec-after): Allow code to be a function. Use add/remove-function.
23694 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23696 2013-04-19 Masatake YAMATO <yamato@redhat.com>
23698 * progmodes/sh-script.el (sh-imenu-generic-expression):
23699 Handle function names with a single character. (Bug#14111)
23701 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
23703 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23704 for subroutines defined in an eval (bug#14182).
23706 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23708 * bookmark.el (bookmark-completing-read): Improve handling of empty
23709 string (bug#14176).
23711 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23713 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23715 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
23717 New faster Imenu implementation (bug#14058).
23718 * progmodes/python.el (python-imenu-prev-index-position)
23719 (python-imenu-format-item-label-function)
23720 (python-imenu-format-parent-item-label-function)
23721 (python-imenu-format-parent-item-jump-label-function):
23723 (python-imenu-format-item-label)
23724 (python-imenu-format-parent-item-label)
23725 (python-imenu-format-parent-item-jump-label)
23726 (python-imenu--put-parent, python-imenu--build-tree)
23727 (python-imenu-create-index, python-imenu-create-flat-index)
23728 (python-util-popn): New functions.
23729 (python-mode): Set imenu-create-index-function to
23730 python-imenu-create-index.
23732 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23734 * winner.el (winner-active-region): Use region-active-p, activate-mark
23735 and deactivate-mark (bug#14225).
23737 * simple.el (deactivate-mark): Don't inline it.
23739 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
23741 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23743 2013-04-18 Tassilo Horn <tsdh@gnu.org>
23745 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23746 file extensions from the archive-mode entry in order to prefer
23747 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23749 2013-04-18 Leo Liu <sdl.web@gmail.com>
23751 * bindings.el (help-event-list): Add ?\?.
23753 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23755 * subr.el (with-wrapper-hook): Declare obsolete.
23756 * simple.el (filter-buffer-substring-function): New hook.
23757 (filter-buffer-substring): Use it.
23758 (filter-buffer-substring-functions): Mark obsolete.
23759 * minibuffer.el (completion-in-region-function): New hook.
23760 (completion-in-region): Use it.
23761 (completion-in-region-functions): Mark obsolete.
23762 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23763 * abbrev.el (abbrev-expand-function): New hook.
23764 (expand-abbrev): Use it.
23765 (abbrev-expand-functions): Mark obsolete.
23766 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23767 and :filter-return.
23769 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23771 * progmodes/python.el (python-nav--syntactically): Fix cornercases
23772 and do not care about match data.
23774 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23776 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23777 completion tables when completing error conditions and
23778 `declare' arguments.
23779 (lisp-complete-symbol, field-complete): Mark as obsolete.
23780 (check-parens): Unmatched parens are user errors.
23781 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23783 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
23785 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23786 command changed buffer (ie. `flyspell-pre-buffer' is not current
23787 buffer), which prevents making decisions based on invalid value of
23788 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
23789 cause an error when `flyspell-pre-point' was nil after switching
23791 (flyspell-post-command-hook): No longer needs to change buffers when
23792 checking pre-word. While at it remove unnecessary progn.
23794 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
23796 * textmodes/ispell.el (ispell-add-per-file-word-list):
23797 Fix `flyspell-correct-word-before-point' error when accepting
23798 words and `coment-padding' is an integer by using
23799 `comment-normalize-vars' (Bug #14214).
23801 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23803 New defun movement commands.
23804 * progmodes/python.el (python-nav--syntactically)
23805 (python-nav--forward-defun, python-nav-backward-defun)
23806 (python-nav-forward-defun): New functions.
23808 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23810 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23811 (python-syntax-context): Use named compiler-macro for backwards
23812 compatibility with Emacs 24.x.
23814 2013-04-17 Leo Liu <sdl.web@gmail.com>
23816 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23817 octave-hide-process-buffer.
23819 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23821 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23824 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
23826 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23827 Fix adjustment of offset when receiving incomplete responses from GDB
23830 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23832 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23833 python-mode-abbrev-table.
23834 (python-skeleton-define): Adjust accordingly.
23835 (python-mode-abbrev-table): New table that inherits from it so that
23836 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23838 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23839 (abbrev-symbol): Use it.
23840 (abbrev--before-point): Use it since we already handle inheritance.
23842 2013-04-16 Leo Liu <sdl.web@gmail.com>
23844 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23845 binding to info-lookup-symbol.
23847 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
23849 * minibuffer.el (completion--twq-all):
23850 * term/ns-win.el (ns-initialize-window-system):
23851 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23853 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23855 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23858 * doc-view.el (doc-view-start-process): Handle url-handler directories.
23860 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
23862 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23863 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23865 (ruby-end-of-defun): Remove the unused arg, change the docstring
23866 to reflect that this function is only used as the value of
23867 `end-of-defun-function'.
23868 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23869 to reflect an earlier change that beginning/end-of-defun functions
23870 jump between methods in a class definition, as well as top-level
23873 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23875 * minibuffer.el (minibuffer-complete): Don't just scroll
23876 a *Completions* that's been iconified.
23877 (minibuffer-force-complete): Make sure repetitions do cycle when going
23878 through completion-in-region -> minibuffer-complete.
23880 2013-04-15 Alan Mackenzie <acm@muc.de>
23882 Correct the placement of c-cpp-delimiters when there're #s not at
23885 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23886 place a submatch around the #.
23887 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23888 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
23891 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23893 * emacs-lisp/nadvice.el: Properly test names when adding advice.
23894 (advice--member-p): New arg `name'.
23895 (advice--add-function, advice-member-p): Use it (bug#14202).
23897 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
23899 Reformulate java imenu-generic-expression.
23900 The old expression contained ill formed regexps.
23902 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23903 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23904 (cc-imenu-java-method-arg-regexp): New defconsts.
23905 (cc-imenu-java-build-type-args-regex): New defun.
23906 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23907 handling of spaces in the regexp.
23909 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23911 * textmodes/ispell.el (ispell-command-loop): Remove
23912 flyspell highlight of a word when ispell accepts it (bug #14178).
23914 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
23916 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23917 uses code from the previous `ange-ftp-run-real-handler'.
23918 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23919 only in case that function exist. This is needed for proper
23920 unloading of Tramp.
23922 2013-04-15 Tassilo Horn <tsdh@gnu.org>
23924 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23926 * textmodes/reftex.el (reftex-compile-variables): Use it.
23928 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23930 * files.el (normal-mode): Only use default major-mode if no other mode
23933 * emacs-lisp/trace.el (trace-values): New function.
23935 * files.el: Allow : in local variables (bug#14089).
23936 (hack-local-variable-regexp): New var.
23937 (hack-local-variables-prop-line, hack-local-variables): Use it.
23939 2013-04-13 Roland Winkler <winkler@gnu.org>
23941 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
23942 data before it gets modified by bibtex-beginning-of-entry.
23944 2013-04-13 Roland Winkler <winkler@gnu.org>
23946 * textmodes/bibtex.el (bibtex-url): Doc fix.
23948 2013-04-13 Roland Winkler <winkler@gnu.org>
23950 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
23951 does not visit a BibTeX file, exclude it from the list of buffers
23952 returned by bibtex-initialize.
23954 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
23956 * window.el (split-window): Remove interactive form, since as a
23957 command this function is a special case of split-window-below.
23958 Correct doc string.
23960 2013-04-12 Roland Winkler <winkler@gnu.org>
23962 * faces.el (read-face-name): Do not override value of arg default.
23963 Allow single faces and strings as default values. Remove those
23964 elements from return value that are not faces.
23965 (describe-face): Simplify.
23966 (face-at-point): New optional args thing and multiple so that this
23967 function can provide the same functionality previously provided by
23969 (make-face-bold, make-face-unbold, make-face-italic)
23970 (make-face-unitalic, make-face-bold-italic, invert-face)
23971 (modify-face, read-face-and-attribute): Use face-at-point.
23973 * cus-edit.el (customize-face, customize-face-other-window)
23974 * cus-theme.el (custom-theme-add-face)
23975 * face-remap.el (buffer-face-set)
23976 * facemenu.el (facemenu-set-face): Use face-at-point.
23978 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
23980 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
23982 2013-04-10 Tassilo Horn <tsdh@gnu.org>
23984 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
23985 off leading { and trailing } from field values.
23987 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
23989 * emacs-lisp/timer.el (timer--check): New function.
23990 (timer--time, timer-set-function, timer-event-handler): Use it.
23991 (timer-set-idle-time): Simplify.
23992 (timer--activate): CSE.
23993 (timer-event-handler): Give more info in error message.
23994 (internal-timer-start-idle): New function, moved from C.
23996 * mpc.el (mpc-proc): Add `restart' argument.
23997 (mpc-proc-cmd): Use it.
23998 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
23999 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24002 2013-04-10 Masatake YAMATO <yamato@redhat.com>
24004 * progmodes/sh-script.el: Implement `sh-mode' own
24005 `add-log-current-defun-function' (bug#14112).
24006 (sh-current-defun-name): New function.
24007 (sh-mode): Use the function.
24009 2013-04-09 Bastien Guerry <bzg@gnu.org>
24011 * simple.el (choose-completion-string): Fix docstring (bug#14163).
24013 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
24015 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24017 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24020 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
24022 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24025 2013-04-07 Leo Liu <sdl.web@gmail.com>
24027 * pcmpl-x.el: New file.
24029 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
24031 Do not set x-display-name until X connection is established.
24032 This is needed to prevent from weird situation described at
24033 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24034 * frame.el (make-frame): Set x-display-name after call to
24035 window system initialization function, not before.
24036 * term/x-win.el (x-initialize-window-system): Add optional
24037 display argument and use it.
24038 * term/w32-win.el (w32-initialize-window-system):
24039 * term/ns-win.el (ns-initialize-window-system):
24040 * term/pc-win.el (msdos-initialize-window-system):
24041 Add compatible optional display argument.
24043 2013-04-06 Eli Zaretskii <eliz@gnu.org>
24045 * files.el (normal-backup-enable-predicate): On MS-Windows and
24046 MS-DOS compare truenames of temporary-file-directory and of the
24047 file, so that 8+3 aliases (usually found in $TEMP on Windows)
24048 don't fail comparison by compare-strings. Also, compare file
24049 names case-insensitively on MS-Windows and MS-DOS.
24051 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24053 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24054 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24056 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
24058 * whitespace.el (whitespace-color-on, whitespace-color-off):
24059 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
24061 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
24063 * ispell.el (ispell-set-spellchecker-params):
24064 Really set `ispell-args' for all equivs.
24066 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24068 * ido.el (ido-completions): Use extra elements of ido-decorations
24070 (ido-decorations): Update docstring.
24072 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
24074 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
24075 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
24076 nil during initialization, in order not to miss changes since the
24077 file was opened. (Bug#14140)
24079 2013-04-05 Leo Liu <sdl.web@gmail.com>
24081 * kmacro.el (kmacro-call-macro): Fix bug#14135.
24083 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
24085 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
24087 2013-04-04 Glenn Morris <rgm@gnu.org>
24089 * electric.el (electric-pair-inhibit-predicate): Add :version.
24091 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
24093 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
24094 when a package is required several times (bug#14082).
24096 2013-04-04 Roland Winkler <winkler@gnu.org>
24098 * faces.el (read-face-name): Behave as promised by the docstring.
24099 Assume that arg default is a list of faces.
24100 (describe-face): Call read-face-name with list of default faces.
24102 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24104 * bookmark.el: Fix deletion of bookmarks (bug#13972).
24105 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
24106 (bookmark-bmenu-execute-deletions): Only skip first line if it's
24108 (bookmark-exit-hook-internal): Save even if list is empty.
24110 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
24112 * emacs-lisp/package.el (package-pinned-packages): New var.
24113 (package--add-to-archive-contents): Obey it (bug#14118).
24115 2013-04-03 Alan Mackenzie <acm@muc.de>
24117 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
24118 Also adapt to the new values of element 7 of a parse state.
24120 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
24121 parameter `not-in-delimiter'. Handle being inside comment opener.
24122 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
24123 character in case we're typing a '*' after a '/'.
24124 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
24125 instead by passing the parameter to c-state-pp-to-literal.
24127 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
24128 for elt. 7 of a parse state.
24130 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
24132 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
24133 * international/latin1-disp.el, international/mule-util.el:
24134 * language/cyril-util.el, language/european.el, language/ind-util.el:
24135 * language/lao-util.el, language/thai.el, language/tibet-util.el:
24136 * language/tibetan.el, language/viet-util.el:
24137 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
24139 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24141 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
24142 (electric-pair-post-self-insert-function): Use it.
24143 (electric-pair-default-inhibit): New function, extracted from
24144 electric-pair-post-self-insert-function.
24146 2013-03-31 Roland Winkler <winkler@gnu.org>
24148 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
24150 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24152 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
24154 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
24156 Un-indent after "pass" and "return" statements (Bug#13888)
24157 * progmodes/python.el (python-indent-block-enders): New var.
24158 (python-indent-calculate-indentation): Use it.
24160 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
24162 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
24163 defun. Defining it as defalias could introduce too eager
24164 byte-compiler optimization. (Bug#14030)
24166 2013-03-30 Chong Yidong <cyd@gnu.org>
24168 * iswitchb.el (iswitchb-read-buffer): Fix typo.
24170 2013-03-30 Leo Liu <sdl.web@gmail.com>
24172 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
24173 (kmacro-execute-from-register): Pass the keyboard macro to
24174 kmacro-call-macro or repeating won't work correctly.
24176 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
24178 * progmodes/subword.el: Back to using `forward-symbol'.
24180 * subr.el (forward-whitespace, forward-symbol)
24181 (forward-same-syntax): Move from thingatpt.el.
24183 2013-03-29 Leo Liu <sdl.web@gmail.com>
24185 * kmacro.el (kmacro-to-register): New command.
24186 (kmacro-execute-from-register): New function.
24187 (kmacro-keymap): Bind to 'x'. (Bug#14071)
24189 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
24191 * mpc.el: Use defvar-local and setq-local.
24192 (mpc--proc-connect): Connection failures are not bugs.
24193 (mpc-mode-map): `follow-link' only applies to the buffer's content.
24194 (mpc-volume-map): Bind to the up-events.
24196 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
24198 * progmodes/subword.el (superword-mode): Use `forward-sexp'
24199 instead of `forward-symbol'.
24201 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
24203 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
24204 (edebug--recursive-edit): Use it.
24205 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
24206 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
24208 2013-03-28 Leo Liu <sdl.web@gmail.com>
24210 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
24212 2013-03-27 Eli Zaretskii <eliz@gnu.org>
24214 * facemenu.el (list-colors-callback): New defvar.
24215 (list-colors-redisplay): New function.
24216 (list-colors-display): Install list-colors-redisplay as the
24217 revert-buffer-function. (Bug#14063)
24219 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
24221 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
24222 and suffixes don't overlap (bug#14061).
24224 * case-table.el: Use lexical-binding.
24225 (case-table-get-table): New function.
24226 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
24228 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
24230 * progmodes/subword.el: Add `superword-mode' to do word motion
24231 over symbol_words (parallels and leverages `subword-mode' which
24232 does word motion inside MixedCaseWords).
24234 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
24236 * eshell/em-unix.el: Move su and sudo to...
24237 * eshell/em-tramp.el: ...Eshell tramp module.
24239 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
24241 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
24242 Change return value to be a sexp. Delay `get-buffer' to after
24243 restoring the desktop (bug#13951).
24245 2013-03-26 Leo Liu <sdl.web@gmail.com>
24247 * register.el: Move semantic tag handling back to
24248 cedet/semantic/senator.el. (Bug#14052)
24250 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
24252 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
24253 into the prompt either (bug#13963).
24255 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
24257 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
24258 part of "(error-foo)".
24260 2013-03-24 Juri Linkov <juri@jurta.org>
24262 * replace.el (list-matching-lines-prefix-face): New defcustom.
24263 (occur-1): Pass `list-matching-lines-prefix-face' to the function
24264 `occur-engine' if `face-differs-from-default-p' returns t.
24265 (occur-engine): Add `,' inside backquote construct to evaluate
24266 `prefix-face'. Propertize the prefix with the `prefix-face' face.
24267 Pass `prefix-face' to the functions `occur-context-lines' and
24268 `occur-engine-add-prefix'.
24269 (occur-engine-add-prefix, occur-context-lines): Add optional arg
24270 `prefix-face' and propertize the prefix with `prefix-face'.
24273 2013-03-24 Leo Liu <sdl.web@gmail.com>
24275 * nxml/rng-valid.el (rng-validate-while-idle)
24276 (rng-validate-quick-while-idle): Guard against deleted buffer.
24279 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
24280 is the last entry in kill-buffer-hook.
24282 * files.el (kill-buffer-hook): Doc fix.
24284 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
24286 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
24287 Make it safe-local.
24289 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
24291 2013-03-23 Leo Liu <sdl.web@gmail.com>
24293 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
24296 * nxml/rng-valid.el (rng-validate-mode)
24297 (rng-after-change-function, rng-do-some-validation):
24298 * nxml/rng-maint.el (rng-validate-buffer):
24299 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
24300 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
24301 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
24302 (nxml-extend-after-change-region): Use with-silent-modifications.
24304 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
24307 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
24308 (rng-next-error-1, rng-previous-error-1): Do not let-bind
24309 timer-idle-list. (Bug#13999)
24311 2013-03-23 Juri Linkov <juri@jurta.org>
24313 * info.el (info-index-match): New face.
24314 (Info-index, Info-apropos-matches): Add a nested subgroup to the
24315 main pattern and add text properties with the new face to matches
24316 in index entries relative to the beginning of the index entry.
24319 2013-03-21 Eric Ludlam <zappo@gnu.org>
24321 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
24322 Inhibit read only while inserting objects.
24324 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
24326 * progmodes/cfengine.el: Update docs to mention
24327 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
24328 symbol motion. Remove "_" from the word syntax.
24330 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
24332 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
24333 syntax for both `cfengine2-mode' and `cfengine3-mode'.
24335 2013-03-20 Juri Linkov <juri@jurta.org>
24337 * info.el (Info-next-reference-or-link)
24338 (Info-prev-reference-or-link): New functions.
24339 (Info-next-reference, Info-prev-reference): Use them.
24340 (Info-try-follow-nearest-node): Handle footnote navigation.
24341 (Info-fontify-node): Fontify footnotes. (Bug#13989)
24343 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
24345 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
24346 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
24348 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
24350 Suppress unnecessary non-ASCII chatter during build process.
24351 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
24352 (batch-skkdic-convert): Suppress most of the chatter.
24353 It's not needed so much now that machines are faster,
24354 and its non-ASCII component was confusing; see Dmitry Gutov in
24355 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
24357 2013-03-20 Leo Liu <sdl.web@gmail.com>
24359 * ido.el (ido-chop): Fix bug#10994.
24361 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
24363 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
24365 (whitespace-color-on, whitespace-color-off):
24366 Use `font-lock-fontify-buffer' (Bug#13817).
24368 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
24370 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
24371 remapping in mode-line.
24372 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
24374 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
24376 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
24377 value for `whitespace-line' face (Bug#13875).
24378 (whitespace-font-lock-keywords): Change description.
24379 (whitespace-color-on): Don't save `font-lock-keywords' value, save
24380 the constructed keywords instead.
24381 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
24383 2013-03-19 Leo Liu <sdl.web@gmail.com>
24385 * progmodes/compile.el (compilation-display-error): New command.
24386 (compilation-mode-map, compilation-minor-mode-map): Bind it to
24389 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
24391 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
24393 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
24395 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
24397 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
24399 * net/tramp-compat.el (tramp-compat-user-error): New defun.
24401 * net/tramp-adb.el (tramp-adb-handle-shell-command):
24402 * net/tramp-gvfs.el (top):
24403 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
24404 (tramp-handle-shell-command): Use it.
24405 (tramp-dissect-file-name): Raise an error when hostname is a
24406 method name, and neither method nor user is specified.
24408 * net/trampver.el: Update release number.
24410 2013-03-18 Leo Liu <sdl.web@gmail.com>
24412 Make sure eldoc can be turned off properly.
24413 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
24415 (eldoc-display-message-p): Revert last change.
24416 (eldoc-display-message-no-interference-p)
24417 (eldoc-print-current-symbol-info): Tweak.
24419 2013-03-18 Tassilo Horn <tsdh@gnu.org>
24421 * doc-view.el (doc-view-new-window-function): Check the new window
24422 overlay's display property instead the char property of the
24423 buffer's first char. Use `with-selected-window' instead of
24424 `save-window-excursion' with `select-window'.
24425 (doc-view-document->bitmap): Check the current doc-view overlay's
24426 display property instead the char property of the buffer's first char.
24428 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
24430 Automate the build of ja-dic.el (Bug#13984).
24431 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
24432 from the input, rather than assume that it's been done for us by the
24433 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
24434 the current date into a ja-dic.el comment, as that complicates
24435 regression testing.
24437 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24439 * whitespace.el: Fix double evaluation.
24440 (whitespace-space, whitespace-hspace, whitespace-tab)
24441 (whitespace-newline, whitespace-trailing, whitespace-line)
24442 (whitespace-space-before-tab, whitespace-indentation)
24443 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
24445 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
24446 (whitespace-color-on): Use a single font-lock-add-keywords call.
24447 Fix double-evaluation of face variables.
24449 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
24451 * net/tramp-adb.el (tramp-adb-parse-device-names):
24452 Use `start-process' instead of `call-process'. Otherwise, the
24453 function might be blocked under MS Windows. (Bug#13299)
24455 2013-03-17 Leo Liu <sdl.web@gmail.com>
24457 Extend eldoc to display info in the mode-line. (Bug#13978)
24458 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
24459 (eldoc-mode-line-string): New variable.
24460 (eldoc-minibuffer-message): New function.
24461 (eldoc-message-function): New variable.
24462 (eldoc-message): Use it.
24463 (eldoc-display-message-p)
24464 (eldoc-display-message-no-interference-p):
24465 Support eldoc-post-insert-mode.
24467 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
24468 (eval-expression): Run it.
24470 2013-03-17 Roland Winkler <winkler@gnu.org>
24472 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
24473 strings in the list of return values.
24475 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24477 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
24478 radix before checking for HMS forms.
24480 2013-03-16 Leo Liu <sdl.web@gmail.com>
24482 * progmodes/scheme.el: Add indentation and font-locking for λ.
24485 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
24487 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
24488 token before point (bug#13942).
24490 2013-03-16 Leo Liu <sdl.web@gmail.com>
24492 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
24494 2013-03-16 Eli Zaretskii <eliz@gnu.org>
24496 * startup.el (command-line-normalize-file-name): Fix handling of
24497 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
24498 <xfq.free@gmail.com> in
24499 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
24501 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
24503 Sync with Tramp 2.2.7.
24505 * net/trampver.el: Update release number.
24507 2013-03-14 Tassilo Horn <tsdh@gnu.org>
24509 * doc-view.el: Fix bug#13887.
24510 (doc-view-insert-image): Don't modify overlay associated to
24511 non-live windows, and implement horizontal centering of image in
24512 case it's smaller than the window.
24513 (doc-view-new-window-function): Force redisplay of new windows on
24516 2013-03-13 Karl Fogel <kfogel@red-bean.com>
24518 * saveplace.el (save-place-alist-to-file): Don't sort
24519 `save-place-alist', just pretty-print it (bug#13882).
24521 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
24523 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
24524 Check whether `default-file-name-coding-system' is bound.
24525 It isn't in XEmacs.
24527 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
24529 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
24530 backquotes for `obsolete' (bug#13929).
24532 * international/mule.el (find-auto-coding): Include file name in
24533 obsolescence warning (bug#13922).
24535 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
24537 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
24538 for CFEngine 3-specific indentation.
24539 (cfengine3-indent-line): Use it. Fix up category regex.
24540 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
24542 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24544 * type-break.el (type-break-file-name):
24545 * textmodes/remember.el (remember-data-file):
24546 * strokes.el (strokes-file):
24547 * shadowfile.el (shadow-initialize):
24548 * saveplace.el (save-place-file):
24549 * ps-bdf.el (bdf-cache-file):
24550 * progmodes/idlwave.el (idlwave-config-directory):
24551 * net/quickurl.el (quickurl-url-file):
24552 * international/kkc.el (kkc-init-file-name):
24553 * ido.el (ido-save-directory-list-file):
24554 * emulation/viper.el (viper-custom-file-name):
24555 * emulation/vip.el (vip-startup-file):
24556 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
24557 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
24559 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
24561 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
24562 * language/thai-word.el: Switch to UTF-8.
24564 See ChangeLog.16 for earlier changes.
24566 ;; Local Variables:
24570 Copyright (C) 2011-2015 Free Software Foundation, Inc.
24572 This file is part of GNU Emacs.
24574 GNU Emacs is free software: you can redistribute it and/or modify
24575 it under the terms of the GNU General Public License as published by
24576 the Free Software Foundation, either version 3 of the License, or
24577 (at your option) any later version.
24579 GNU Emacs is distributed in the hope that it will be useful,
24580 but WITHOUT ANY WARRANTY; without even the implied warranty of
24581 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24582 GNU General Public License for more details.
24584 You should have received a copy of the GNU General Public License
24585 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.