1 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
3 * emacs-lisp/package.el (package--compatibility-table): New var.
4 (package--add-to-compatibility-table): New function.
5 (package-read-all-archive-contents): Populate compatibility table.
6 (package--incompatible-p): Also look in dependencies.
7 (describe-package-1): Fix "incompat" handling.
9 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11 * net/rfc2104.el: Moved here from lisp/gnus.
13 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
15 * net/sasl-scram-rfc.el: New file.
17 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5. Add
19 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
22 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
24 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
27 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
29 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
30 (gdb-inferior-filter): Don't pop up the buried output buffer when
31 `gdb-display-io-nopopup' is non-nil.
33 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
35 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
37 * progmodes/python.el (python-shell-font-lock-kill-buffer): Don't
38 require a running process.
39 (python-shell-font-lock-post-command-hook): Fontify only if the
40 shell process is running.
42 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
44 * hi-lock.el (hi-lock-unface-buffer): Don't call
45 font-lock-remove-keywords if not needed (bug#19737).
47 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
49 * emacs-lisp/package.el (package-install): Invert the second
50 argument, for better backwards compatibility.
51 (package-install-button-action, package-reinstall)
52 (package-menu-execute): Account for the change.
54 2015-02-11 Nicolas Petton <nicolas@petton.fr>
56 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
57 version of seq-reverse that works on sequences in Emacs 24.
58 Bump seq.el version to 1.2.
60 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
62 * emacs-lisp/package.el (package--incompatible-p): New function.
63 Return non-nil if PKG has no chance of being installable.
64 (package--emacs-version-list): New variable.
65 (describe-package-1, package-desc-status)
66 (package-menu--print-info, package-menu--status-predicate):
67 Account for the "incompat" status.
69 2015-02-11 Martin Rudalics <rudalics@gmx.at>
71 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
72 Rename frame parameter `maximized' to `fullscreen-restore'.
73 Restore fullwidth/-height after fullboth state. Update doc-strings.
75 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
77 * net/shr.el (shr-insert): Make sure the space inserted has the
78 right font (for width).
79 (shr-fill-line): Preserve background colours when indenting/folding.
80 (shr-ensure-paragraph): Don't insert a new paragraph as the first
83 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
85 * net/shr.el (shr-use-fonts): New variable.
86 (shr-fill-text): Rename from "fold".
87 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
89 (shr-insert): Just insert, don't fill the text. Filling is now
90 done afterwards per display unit.
91 (shr-fill-lines, shr-fill-line): New functions to fill text on a
93 (shr-find-fill-point): Take a "beginning" parameter.
94 (shr-indent): Indent using the :width display parameter when using
96 (shr-parse-style): Ignore "inherit" values, since we already do that.
97 (shr-tag-img): Remove the insertion states.
98 (shr-tag-blockquote): New-style filling.
101 (shr-mark-fill): New function to mark lines that need filling.
102 (shr-tag-h1): Use a larger font.
103 (shr-tag-table-1): Get the natural and suggested widths in one
105 (shr-tag-table): Create the "fixed" version of the table only once
106 so that we can cache data in the table.
107 (shr-insert-table): Get colspan calculations right by having
108 zero-width columns after colspan ones.
109 (shr-expand-alignments): New function to make :align-to specs work
110 right when rendered in one buffer and displayed in another one.
111 (shr-insert-table-ruler): Use :align-to to get the widths right.
112 (shr-make-table): Cache more.
113 (shr-make-table-1): Use the new <td> data layout.
114 (shr-pixel-buffer-width): New function.
115 (shr-render-td): Add a caching layer.
116 (shr-dom-max-natural-width): New function.
117 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
118 (shr-tag-tt): New function.
119 (shr-tag-hr): Compute the right length when using fonts.
120 (shr-table-widths): Off-by-one error in width computation.
121 (shr-expand-newlines): Remove dead code.
122 (shr-insert-table): Extend background colors to the end of the column.
123 (shr-insert-table): Only copy the background, not underline and
125 (shr-face-background): New function.
127 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
129 python.el: Improved shell font lock respecting markers. (Bug#19650)
131 * progmodes/python.el
132 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
133 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
134 (python-shell-font-lock-post-command-hook): Fontify by copying text
135 properties from fontified buffer to shell, keeping markers unchanged.
136 (python-shell-font-lock-turn-off): Fix typo.
137 (python-util-text-properties-replace-name): Delete function.
139 2015-02-09 Nicolas Petton <nicolas@petton.fr>
141 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
142 return sequence elements in correct order.
144 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
146 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
148 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
150 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
152 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
153 case where the default value would be re-interpreted as a form!
155 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
157 * help-fns.el (help-fns--signature): Keep doc for keymap.
159 2015-02-09 Kelly Dean <kelly@prtime.org>
161 * desktop.el: Save mark-ring less verbosely.
162 (desktop-var-serdes-funs): New var.
163 (desktop-buffer-info, desktop-create-buffer): Use it.
164 (desktop-file-version): Update to 208.
166 2015-02-09 Leo Liu <sdl.web@gmail.com>
168 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
170 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
172 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
174 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
176 Port to platforms lacking test -a and -o
177 * Makefile.in (compile-clean):
178 * net/tramp-sh.el (tramp-find-executable):
179 Prefer '&&' and '||' to 'test -a' and 'test -o'.
181 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
183 * newcomment.el (comment-line): Fix missing paren.
185 2015-02-08 Ulrich Müller <ulm@gentoo.org>
187 * play/gamegrid.el: Update comment to reflect that the
188 'update-game-score' helper program is now setgid by default.
190 2015-02-08 David Kastrup <dak@gnu.org>
192 * subr.el (apply-partially): Use lexical binding here.
194 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
196 * newcomment.el (comment-line): New command.
198 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
200 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
202 * outline.el (outline-show-entry): Fix one invisible char for the
203 file's last outline. Fixes Bug#19493.
205 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
207 * subr.el (indirect-function): Change advertised calling convention.
209 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
211 python.el: Fix completion-at-point. (Bug#19667)
213 * progmodes/python.el
214 (python-shell-completion-native-get-completions): Force process buffer.
215 (python-shell-completion-at-point): Handle case where call is not
218 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
220 python.el: Fix shell font-lock multiline input. (Bug#19744)
222 * progmodes/python.el
223 (python-shell-font-lock-post-command-hook): Handle multiline input.
225 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
227 python.el: Make shell font-lock respect markers. (Bug#19650)
229 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
231 (python-shell-font-lock-comint-output-filter-function):
233 (python-shell-font-lock-post-command-hook): Respect markers on
236 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
238 python.el: Keep eldoc visible while typing args. (Bug#19637)
240 * progmodes/python.el (python-eldoc--get-symbol-at-point):
241 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
242 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
244 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
246 Fix hideshow integration. (Bug#19761)
248 * progmodes/python.el
249 (python-hideshow-forward-sexp-function): New function based on
250 Carlos Pita <carlosjosepita@gmail.com> patch.
251 (python-mode): Make `hs-special-modes-alist` use it and initialize
252 the end regexp with the empty string to avoid skipping parens.
254 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
256 * progmodes/python.el (python-check-custom-command): Do not use
257 defvar-local for compat with Emacs<24.3.
259 2015-02-07 Martin Rudalics <rudalics@gmx.at>
261 * frame.el (frame-notice-user-settings):
262 Update `frame-size-history'.
263 (make-frame): Update `frame-size-history'.
264 Call `frame-after-make-frame'.
265 * faces.el (face-set-after-frame-default): Remove call to
266 frame-can-run-window-configuration-change-hook.
268 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
270 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
271 `vc-cvs-command' (bug#19732).
273 2015-02-06 Nicolas Petton <nicolas@petton.fr>
275 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by): New functions.
276 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
277 (seq--drop-list, seq--take-list, seq--take-while-list): Better docstring.
279 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
281 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
282 `image-kill-buffer' instead.
284 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
286 * net/ldap.el (ldap-search-internal): Fix docstring.
288 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
290 * subr.el (define-error): The error conditions may be constant
291 lists, so use `append' to concatenate them.
293 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
295 * net/network-stream.el (network-stream-open-tls): Respect the
296 :end-of-capability setting.
298 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
300 * emacs-lisp/package.el (package--sort-by-dependence):
301 New function. Return PACKAGE-LIST sorted by dependencies.
302 (package-menu-execute): Use it to delete packages in order.
303 (package--sort-deps-in-alist): New function.
304 (package-menu-mark-install): Can mark dependencies.
305 (package--newest-p): New function.
306 (package-delete): Don't delesect when deleting an older version of
309 * emacs-lisp/package.el: Add missing (require 'subr-x)
311 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
313 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
314 hyphenated (bug#19263).
316 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
317 of variable interpolation (bug#19751).
319 2015-02-05 Era Eriksson <era+emacs@iki.fi>
321 * json.el (json-end-of-file): New error (bug#19768).
322 (json-pop, json-read): Use it.
324 2015-02-05 Kelly Dean <kelly@prtime.org>
326 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
329 * help-fns.el (describe-function-or-variable): New function.
331 * help.el (help-map): Bind `describe-function-or-variable' to o.
332 (help-for-help-internal): Document o key.
334 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
336 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
337 special (:documentation ...) feature.
338 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
339 (eieio-make-child-predicate): Same.
340 (eieio-copy-parents-into-subclass): Remove unused arg.
341 (eieio-defclass-internal): Adjust call accordingly and remove redundant
343 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
346 * emacs-lisp/cconv.el (cconv--convert-function):
347 Add `docstring' argument.
348 (cconv-convert): Use it to handle the new (:documentation ...) form.
349 (cconv-analyze-form): Handle the new (:documentation ...) form.
351 * emacs-lisp/bytecomp.el:
352 (byte-compile-initial-macro-environment): Use macroexp-progn.
353 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
354 (byte-compile-file-form-defvar-function): Rename from
355 byte-compile-file-form-define-abbrev-table.
356 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
357 (byte-compile): Use byte-compile-top-level rather than
358 byte-compile-lambda so we can compile non-values.
359 (byte-compile-form): Add warnings for failed uses of lexical vars via
361 (byte-compile-unfold-bcf): Improve message for failed inlining.
362 (byte-compile-make-closure): Handle new format of internal-make-closure
363 for dynamically-generated docstrings.
365 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
366 (open-line): Delete like all other commands, instead of killing.
367 (delete-active-region): Don't define any return any value.
369 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
370 (python-mode): Don't assume eldoc-documentation-function has a non-nil
373 2015-02-04 Sam Steingold <sds@gnu.org>
375 * progmodes/python.el (python-indent-calculate-indentation):
376 Avoid the error when computing top-level indentation.
378 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
380 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
382 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
383 (mail-mode-flyspell-verify): Fix last change.
384 (flyspell-external-point-words, flyspell-large-region):
385 Avoid add-to-list on local vars.
387 2015-02-04 Tassilo Horn <tsdh@gnu.org>
389 * emacs-lisp/package.el (package-installed-p): Fix typo causing
392 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
394 * image-mode.el (image-kill-buffer): New command.
395 (image-mode-map): Bind it to k.
397 * emacs-lisp/package.el (package-delete): Remove package from
398 `package-selected-packages' even if it can't be deleted.
399 (package-installed-p): Accept package-desc objects.
400 (package-install): Can be used to mark dependencies as
401 selected. When given a package-desc object which is already
402 installed, the package is not downloaded again, but it is marked
403 as selected (if it wasn't already).
404 (package-reinstall): Accept package-desc objects.
406 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
408 * emacs-lisp/package.el (package-delete): Document NOSAVE.
409 (package--get-deps): delete-dups when ONLY is nil.
410 (package-autoremove): Warn the user if `package-selected-packages'
413 (package--user-selected-p): New function.
414 (package-delete, package-install, package-install-from-buffer):
416 (package-selected-packages): Mention it.
418 (package-initialize): Don't populate `package-selected-packages'.
419 (package-install-user-selected-packages, package-autoremove):
420 Special handling for empty `package-selected-packages'.
421 (package-install): Fix when PKG is a package-desc.
423 (package-desc-status): Add "dependency" status to the Package
425 (package-menu--status-predicate, package-menu--print-info)
426 (package-menu-mark-delete, package-menu--find-upgrades)
427 (package-menu--status-predicate, describe-package-1): Use it
429 (package--removable-packages): New function.
430 (package-autoremove): Use it.
431 (package-menu-execute): Offer to remove unneeded packages.
433 (package--read-pkg-desc, package-tar-file-info): Fix reference to
436 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
438 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
439 (package-delete): New NOSAVE argument.
441 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
443 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
444 (tramp-open-shell, tramp-maybe-open-connection): Set also
445 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
447 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
449 * emacs-lisp/package.el (package--find-non-dependencies):
451 (package-initialize): Use it to populate `package-selected-packages'.
452 (package-menu-execute): Clean unnecessary `and'.
453 (package--get-deps): Fix returning duplicates.
455 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
457 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
459 (tramp-open-shell, tramp-maybe-open-connection): Support it.
462 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
464 * emacs-lisp/package.el (package-delete): Remove package from
465 package-selected-packages.
466 (package-autoremove): Remove unneeded variable.
468 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
470 * emacs-lisp/package.el (package-selected-packages): Fix :type
471 (package-install): Rename ARG to MARK-SELECTED.
472 (package--get-deps): Fix for indirect dependencies.
473 (package-used-elsewhere-p): Rename to
474 (package--used-elsewhere-p): New function.
475 (package-reinstall, package-user-selected-packages-install)
476 (package-autoremove): Use sharp-quote.
477 (package-user-selected-packages-install): Reindent and rename to
478 (package-install-user-selected-packages): New function.
480 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
482 * emacs-lisp/package.el: Don't allow deleting dependencies.
484 (package-used-elsewhere-p): New function.
485 (package-delete): Use it, return now an error when trying to
486 delete a package used as dependency by another package.
488 Add a reinstall package command.
489 (package-reinstall): New function.
491 Add a package-autoremove command.
492 (package-selected-packages): New user var.
493 (package-install): Add an optional arg to notify interactive use.
494 Fix docstring. Save installed package to
495 packages-installed-directly.
496 (package-install-from-buffer): Same.
497 (package-user-selected-packages-install): Allow installing all
498 packages in packages-installed-directly at once.
499 (package--get-deps): New function.
500 (package-autoremove): New function.
501 (package-install-button-action): Call package-install with
503 (package-menu-execute): Same but only for only for not installed
506 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
508 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
509 and eieio-make-child-predicate.
510 (eieio-class-parents): Use eieio--class-object.
511 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
512 (slot-exists-p): Use find-class.
514 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
515 Use find-lisp-object-file-name, help-fns-short-filename and new calling
516 convention for eieio-class-def.
517 (eieio-build-class-list): Remove function, unused.
518 (eieio-method-def): Remove button type, unused.
519 (eieio-class-def): Inherit from help-function-def.
520 (eieio--defclass-regexp): New constant.
521 (find-function-regexp-alist): Use it.
522 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
523 (eieio-help-find-method-definition, eieio-help-find-class-definition):
526 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
527 Use cl-check-type everywhere instead.
528 (eieio-class-object): Remove, use find-class instead when needed.
529 (class-p): Don't inline.
530 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
531 such as eieio classes, as objects. Don't inline.
532 (object-p): Mark as obsolete.
533 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
534 (eieio--generic-tagcode): Avoid `class-p'.
535 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
536 (eieio-defclass-internal): Use current-load-list rather than
539 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
541 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
543 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
544 since it may be "equivalent" in some sense, yet different (bug#19734).
546 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
548 * outline.el (outline-font-lock-face): Add docstring.
549 (outline-invisible-p): Improve docstring.
550 (outline-invent-heading): Add docstring.
551 (outline-promote): Improve docstring.
552 (outline-demote): Improve docstring.
553 (outline-head-from-level): Improve docstring.
554 (outline-end-of-heading): Add docstring.
555 (outline-next-visible-heading): Improve docstring.
556 (outline-previous-visible-heading): Improve docstring.
557 (outline-hide-region-body): Improve docstring.
558 (outline-flag-subtree): Add docstring.
559 (outline-end-of-subtree): Add docstring.
560 (outline-headers-as-kill): Improve docstring.
562 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
564 * outline.el (outline-hide-entry): Rename from `hide-entry'.
565 (hide-entry): Declare as obsolete.
566 (outline-show-entry): Rename from `show-entry'.
567 (show-entry): Declare as obsolete.
568 (outline-hide-body): Rename from `hide-body'.
569 (hide-body): Declare as obsolete.
570 (outline-hide-region-body): Rename from `hide-region-body'.
571 (hide-region-body): Declare as obsolete.
572 (outline-show-all): Rename from `show-all'.
573 (show-all): Declare as obsolete.
574 (outline-hide-subtree): Rename from `hide-subtree'.
575 (hide-subtree): Declare as obsolete.
576 (outline-hide-leaves): Rename from `hide-leaves'.
577 (hide-leaves): Declare as obsolete.
578 (outline-show-subtree): Rename from `show-subtree'.
579 (show-subtree): Declare as obsolete.
580 (outline-hide-sublevels): Rename from `hide-sublevels'.
581 (hide-sublevels): Declare as obsolete.
582 (outline-hide-other): Rename from `hide-other'.
583 (hide-other): Declare as obsolete.
584 (outline-show-children): Rename from `show-children'.
585 (show-children): Declare as obsolete.
586 (outline-show-branches): Rename from `show-branches'.
587 (show-branches): Declare as obsolete.
589 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
591 * outline.el (outline-mode): Clean up docstring.
592 (font-lock-warning-face): Remove obsolete declaration.
593 (outline-font-lock-face): Remove obsolete comment.
595 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
597 * lisp/custom.el (defface): Set `indent' to 1.
599 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
601 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
603 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
605 * lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
606 is set, but user has just been asked whether they really want to
607 kill Emacs (for example with a ‘Modified buffers exist; exit
608 anyway?’ prompt), do not ask them for another confirmation.
610 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
612 * lisp/calc/calc-units.el (calc-convert-exact-units): New function.
613 (calc-convert-units): Check for missing units.
614 (math-consistent-units-p): Strengthen the test for consistent units.
616 * lisp/calc/calc-ext.el (calc-init-extensions): Autoload
617 `calc-convert-exact-units' and assign it a keybinding.
619 * lisp/calc/calc-help (calc-u-prefix-help): Add help for the
622 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
624 * emacs-lisp/cl.el (cl--function-convert): Simplify.
626 2015-01-28 Tassilo Horn <tsdh@gnu.org>
628 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
629 punctuation syntax since to allow bibtex fields with values such
630 as {Test 1) and 2)} (bug#19205, bug#19707).
631 (reftex--prepare-syntax-tables): New function.
632 (reftex-mode): Use it.
634 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
636 python.el: New non-global state dependent indentation engine.
637 (Bug#18319, Bug#19595)
638 * progmodes/python.el (python-syntax-comment-or-string-p):
639 Accept PPSS as argument.
640 (python-syntax-closing-paren-p): New function.
641 (python-indent-current-level)
642 (python-indent-levels): Mark obsolete.
643 (python-indent-context): Return more context cases.
644 (python-indent--calculate-indentation)
645 (python-indent--calculate-levels): New functions.
646 (python-indent-calculate-levels): Use them.
647 (python-indent-calculate-indentation, python-indent-line):
648 (python-indent-line-function): Rewritten to use new API.
649 (python-indent-dedent-line): Simplify logic.
650 (python-indent-dedent-line-backspace): Use `unless`.
651 (python-indent-toggle-levels): Delete function.
653 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
655 * subr.el (posnp): Correct docstring of `posnp'.
656 (posn-col-row): Make it work with all mouse position objects.
657 * textmodes/artist.el (artist-mouse-draw-continously):
658 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
660 2015-01-28 Eli Zaretskii <eliz@gnu.org>
662 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
664 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
666 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
668 (file-notify--descriptor): New defun.
669 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
670 Adapt docstring. Handle multiple values for
671 `file-notify-descriptors' entries. (Bug#18880)
673 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
674 `file-notify-descriptors', the implementation has been changed.
676 2015-01-28 Eli Zaretskii <eliz@gnu.org>
678 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
679 On MS-Windows, bind coding-system-for-read to the console output
680 codepage. (Bug#19458)
682 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
684 Unbreak `mouse-action' property in text buttons.
685 * button.el (push-button): Fix regression from 2012-12-06.
687 2015-01-28 Glenn Morris <rgm@gnu.org>
689 * progmodes/sh-script.el (sh-mode): Doc fix.
690 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
692 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
694 Fix dired quoting bug with "Hit`N`Hide". Fixes Bug#19498.
695 * files.el (shell-quote-wildcard-pattern): Also quote "`".
697 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
699 Tighten up the tagcode used for eieio and cl-struct objects.
700 * loadup.el: Load cl-preloaded.
701 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
702 slot of the tag symbol to :quick-object-witness-check.
703 (eieio-object-p): Use :quick-object-witness-check.
704 (eieio--generic-tagcode): Use cl--generic-struct-tag.
705 * emacs-lisp/cl-preloaded.el: New file.
706 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
707 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
708 (cl--make-usage-args): Strip away &aux args.
709 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
710 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
711 (cl-defstruct): Use `declare' and cl-struct-define.
712 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
713 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
715 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
717 * emacs-lisp/cl.el (cl--function-convert):
718 Merge cache that cl--labels-convert adds (bug#19699).
720 2015-01-27 Ivan Shmakov <ivan@siamics.net>
722 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
723 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
724 (tar-header-serialize): New functions.
725 (tar-current-position): Split from tar-current-descriptor.
726 (tar-current-descriptor): Use it.
727 (tar-new-entry): New command.
728 (tar-mode-map): Bind it.
730 2015-01-27 Sam Steingold <sds@gnu.org>
732 * progmodes/python.el (python-check-custom-command): Buffer local
733 because it usually includes the buffer name.
734 (python-check-command): Set to epylint when pyflakes is not available.
736 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
738 * isearch.el (isearch-process-search-char): Add docstring.
740 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
742 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
744 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
746 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
747 for the case cl-flet or cl-labels form is wrapped with lexical-let
750 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
752 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
753 (cl--generic): The method-table is now a (list-of cl--generic-method).
754 (cl--generic-member-method): New function.
755 (cl-generic-define-method): Use it.
756 (cl--generic-build-combined-method, cl--generic-cache-miss):
757 Adapt to new method-table.
758 (cl--generic-no-next-method-function): Add `method' argument.
759 (cl-generic-call-method): Adapt to new method representation.
760 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
761 (cl-find-method, cl-method-qualifiers): New functions.
762 (cl--generic-method-info): Adapt to new method representation.
763 Return a string for the qualifiers.
764 (cl--generic-describe):
765 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
766 (eieio-all-generic-functions, eieio-method-documentation):
767 Adjust to new method representation.
769 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
771 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
773 * emacs-lisp/cl-generic.el: Add a method-combination hook.
774 (cl-generic-method-combination-function): New var.
775 (cl--generic-lambda): Remove `with-cnm' arg.
776 (cl-defmethod): Change accordingly.
777 (cl-generic-define-method): Don't check qualifiers validity.
778 Preserve all qualifiers in `method-table'.
779 (cl-generic-call-method): New function.
780 (cl--generic-nest): Remove (morph into cl-generic-call-method).
781 (cl--generic-build-combined-method): Adjust to new format of method-table
782 and use cl-generic-method-combination-function.
783 (cl--generic-standard-method-combination): New function, extracted from
784 cl--generic-build-combined-method.
785 (cl--generic-cnm-sample): Adjust to new format of method-table.
787 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
790 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
791 Remove obsolete function.
793 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
795 * net/shr.el (shr-make-table-1): Fix colspan typo.
796 (shr-make-table-1): Add comments.
797 (shr-make-table-1): Make colspan display more sensibly.
799 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
802 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
804 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
805 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
807 (cl--generic-typeof-types): Add support for `sequence'.
808 (cl-defmethod): Add non-keywords in the qualifiers.
810 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
812 * emacs-lisp/find-func.el (find-function-regexp): Don't match
813 `defgroup' (regression from the previous change here).
815 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
817 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
818 credentials error message.
820 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
822 * net/ldap.el (ldap-password-read): Validate password before
824 (ldap-search-internal): Handle ldapsearch error conditions.
826 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
828 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
830 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
832 * net/eudc.el (eudc-expand-inline): Always restore former server
835 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
837 * net/eudcb-ldap.el: Don't nag the user in case a default base is
838 provided by the LDAP system configuration file.
840 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
842 * net/eudc.el (eudc-format-query): Preserve the
843 eudc-inline-query-format ordering of attributes in the returned list.
844 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
845 Append the LDAP wildcard character to the last attribute value.
847 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
849 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
850 Downcase field names of LDAP results.
851 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
853 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
855 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
856 (ldap-search-internal): Send password to ldapsearch through a pipe
857 instead of via the command line.
859 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
861 * net/ldap.el: Require password-cache.
862 (ldap-password-read): New function.
863 (ldap-search-internal): Call ldap-password-read when it is
864 configured to be called.
866 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
868 * net/eudc-vars.el (eudc-expansion-overwrites-query):
869 Change default to nil.
871 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
873 * net/eudc.el (eudc-expand-inline): Ignore text properties of
876 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
878 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
879 format that includes first name and surname.
881 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
883 * net/eudc-vars.el (eudc-inline-query-format): Change default to
884 query email and first name instead of surname.
886 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
888 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
890 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
892 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
894 (eudc-server-hotlist): Move from eudc.el and make defcustom.
895 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
896 (eudc-set-server): Allow setting protocol to nil.
897 (eudc-expand-inline): Support hotlist-only expansions when server
900 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
902 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
903 (cl--generic-build-combined-method): Use it.
905 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
907 Don't downcase system diagnostics' first letters
908 * emacs-lisp/bytecomp.el (byte-compile-file):
909 * ffap.el (find-file-at-point):
910 * files.el (insert-file-1):
911 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
912 (ange-ftp-copy-file-internal):
913 * progmodes/etags.el (visit-tags-table):
914 Keep diagnostics consistent with system's.
915 * ffap.el (ffap-machine-p):
916 Ignore case while comparing diagnostics.
918 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
920 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
922 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
923 body with a docstring.
925 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
927 * progmodes/xref.el (xref-location-marker, xref-location-group):
928 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
931 * progmodes/etags.el (xref-location-marker): Same.
933 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
934 (xref--inhibit-mark-current): Rename from
935 `xref--inhibit-mark-selected'. Update the usages.
936 (xref-quit): Reword the docstring. Kill buffers after quitting
937 windows instead of before.
938 (xref--insert-xrefs): Tweak help-echo.
939 (xref--read-identifier-history, xref--read-pattern-history):
941 (xref--read-identifier, xref-find-apropos): Use them.
943 2015-01-21 Ulrich Müller <ulm@gentoo.org>
945 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
946 Allow the 'update-game-score' helper program to run suid or sgid.
948 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
950 * emacs-lisp/eieio.el: Use cl-defmethod.
951 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
952 (eieio-object-name-string): Declare as obsolete.
954 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
955 (eieio--specializers-apply-to-class-p): New function.
956 (eieio-all-generic-functions): Use it.
957 (eieio-method-documentation): Use it as well as cl--generic-method-info.
958 Change format of return value.
959 (eieio-help-class): Adapt accordingly.
961 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
962 errors when there's a `before' but no `primary' (bug#19645).
963 (next-method-p): Return nil rather than signal an error.
964 (eieio-defgeneric): Remove bogus (fboundp 'method).
966 * emacs-lisp/eieio-speedbar.el:
967 * emacs-lisp/eieio-datadebug.el:
968 * emacs-lisp/eieio-custom.el:
969 * emacs-lisp/eieio-base.el: Use cl-defmethod.
971 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
972 (cl--generic-setf-rewrite): Setup the setf expander right away.
973 (cl-defmethod): Make sure the setf expander is setup before we expand
975 (cl-defmethod): Silence byte-compiler warnings.
976 (cl-generic-define-method): Shuffle code to change return value.
977 (cl--generic-method-info): New function, extracted from
978 cl--generic-describe.
979 (cl--generic-describe): Use it.
981 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
983 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
984 the major mode. Remap `quit-window' to `xref-quit'.
985 (xref--xref-buffer-mode): Inherit from special-mode.
987 xref: Keep track of temporary buffers (bug#19466).
988 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
989 (xref--inhibit-mark-selected): New variables.
990 (xref--mark-selected): New function.
991 (xref--show-location): Maybe add the buffer to
992 `xref--temporary-buffers', add `xref--mark-selected' to
993 `buffer-list-update-hook' there.
994 (xref--window): Add docstring.
995 (xref-quit): Rename from `xref--quit'. Update both references.
996 Add KILL argument. When it's non-nil, kill the temporary buffers
997 that haven't been selected by the user.
998 (xref--show-xref-buffer): Change the second argument to alist,
999 extract the values for `xref--window' and
1000 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
1001 `buffer-list-update-hook' to each buffer in the list.
1002 (xref--show-xrefs): Move the logic of calling `xref-find-function'
1003 here. Save the difference between buffer lists before and after
1004 it's called as "temporary buffers", and `pass it to
1005 `xref-show-xrefs-function'.
1006 (xref--find-definitions, xref-find-references)
1007 (xref-find-apropos): Update accordingly.
1009 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
1011 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
1013 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * emacs-lisp/eieio-generic.el: Remove.
1016 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
1017 * emacs-lisp/eieio-compat.el: New file.
1018 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
1019 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
1020 Remove unused function.
1021 (eieio-defclass): Move to eieio-compat.el.
1022 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
1023 (macroexp--expand-all): Use it.
1024 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
1026 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1028 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
1029 major modes should use `add-function' to alter value of the variable.
1030 * hexl.el (hexl-mode):
1031 * ielm.el (inferior-emacs-lisp-mode):
1032 * progmodes/cfengine.el (cfengine3-mode):
1033 * progmodes/elisp-mode (emacs-lisp-mode):
1034 * progmodes/octave.el (octave-mode):
1035 * progmodes/python.el (python-mode):
1036 * simple.el (read--expression): Set `eldoc-documentation-function'
1037 using `add-function' so the default value is always used.
1039 * descr-text.el (describe-char-eldoc): New function returning
1040 basic Unicode codepoint information (e.g. name) about character
1041 at point. It is meant to be used as a default value of the
1042 `eldoc-documentation-function' variable.
1043 (describe-char-eldoc--format, describe-char-eldoc--truncate):
1044 New helper functions for `describe-char-eldoc' function.
1046 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1048 * textmodes/paragraphs.el (sentence-end-base): Include an
1049 ellipsis (…) and interrobang (‽) characters as end of a sentence,
1050 and a closing single quote (’) as an end of a quote.
1052 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
1054 * textmodes/tildify.el (tildify-double-space-undos): A new
1055 variable specifying whether pressing space in `tildify-mode' after
1056 a space has been replaced with hard space undos the substitution.
1057 (tildify-space): Add code branch for handling `tildify-doule-space'.
1059 * textmodes/tildify.el (tildify-space): A new function
1060 which can be used as a `post-self-insert-hook' to automatically
1061 convert spaces into hard spaces.
1062 (tildify-space-pattern): A new variable specifying pattern where
1063 `tildify-space' should take effect.
1064 (tildify-space-predicates): A new variable specifying list of
1065 predicate functions that all must return non-nil for
1066 `tildify-space' to take effect.
1067 (tildify-space-region-predicate): A new functions meant to be
1068 used as a predicate in `tildify-space-predicates' list.
1069 (tildify-mode): A new minor mode enabling `tildify-space' as a
1070 `post-self-insert-hook'
1072 2015-01-20 Daniel Colascione <dancol@dancol.org>
1074 * vc/vc-dir.el (vc-dir): Default to repository root, not
1077 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
1079 * progmodes/etags.el (xref-etags-location): New class.
1080 (xref-make-etags-location): New function.
1081 (etags--xref-find-definitions): Use it.
1082 (xref-location-marker): New method implementation.
1084 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
1085 (xref--insert-xrefs): Expand help-echo string.
1087 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1089 * ido.el: Update Customization instructions.
1091 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
1093 Define Ido keymaps once (bug#17000).
1094 * ido.el (ido-common-completion-map)
1095 (ido-file-dir-completion-map)
1096 (ido-file-completion-map, ido-buffer-completion-map): Set up key
1097 bindings when each variable is defined.
1098 (ido-completion-map): Move definition.
1099 (ido-init-completion-maps): Noop.
1100 (ido-common-initialization): Don't call it.
1101 (ido-setup-completion-map): Improve doc-string, cleanup.
1103 2015-01-19 Ivan Shmakov <ivan@siamics.net>
1105 * cus-dep.el (custom-make-dependencies): Ensure that
1106 default-directory is interpreted as a directory (see bug#19140.)
1108 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1110 * progmodes/xref.el (xref--display-position):
1111 Set `other-window-scroll-buffer'.
1112 (xref-goto-xref): Use `user-error'.
1114 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
1116 * progmodes/xref.el (xref--display-history): New variable.
1117 (xref--window-configuration): Remove.
1118 (xref--save-to-history): New function.
1119 (xref--display-position): Use it. Add new argument.
1120 (xref--restore-window-configuration): Remove.
1121 (xref--show-location, xref-show-location-at-point):
1123 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
1124 (xref--quit): New command.
1125 (xref-goto-xref): Use it.
1126 (xref--xref-buffer-mode-map): Bind `q' to it.
1128 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
1130 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
1131 indentation or at eol.
1133 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1135 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1136 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1138 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1140 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
1143 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
1144 introduction of a new dispatch argument.
1145 (cl--generic-cache-miss): Handle dispatch on an argument which was not
1146 considered as dispatchable for this method.
1147 (cl-defmethod): Warn when adding a method to an obsolete generic function.
1148 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
1150 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
1152 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
1154 * emacs-lisp/package.el (package--append-to-alist): Rename from
1155 `package--add-to-alist'
1156 Updated docstring due to new name.
1158 2015-01-18 Leo Liu <sdl.web@gmail.com>
1160 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
1161 multiple evaluation. (Bug#19519)
1163 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
1166 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
1169 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
1171 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
1173 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
1175 (cl-struct-type-p): New function.
1177 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
1178 (cl-defmethod): Add edebug spec.
1179 (cl--generic-build-combined-method): Fix call to
1180 cl-no-applicable-method.
1181 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
1182 (cl--generic-isnot-nnm-p): New function.
1183 (cl--generic-lambda): Use it to add support for cl-next-method-p.
1184 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
1185 (cl-next-method-p): New function.
1187 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1189 * version.el (emacs-repository-get-version): Update docstring.
1191 2015-01-17 Ivan Shmakov <ivan@siamics.net>
1193 * url/url-cookie.el (url-cookie-write-file): Let-bind print-length
1194 and print-level to nil to avoid writing a garbled list. (Bug#16805)
1196 * files.el (find-file-other-window, find-file-other-frame):
1197 Use mapc instead of mapcar. (Bug#18175)
1199 * files.el (dir-locals-collect-variables): Use default-directory
1200 in place of the file name while working on non-file buffers, just
1201 like hack-dir-local-variables already does. (Bug#19140)
1203 * textmodes/enriched.el (enriched-encode):
1204 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
1207 * desktop.el (desktop-read): Do not call desktop-clear when no
1208 desktop file is found. (Bug#18371)
1210 * misearch.el (multi-isearch-unload-function): New function.
1211 (misearch-unload-function): New alias. (Bug#19566)
1213 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
1216 class-constructor, and make it an alias for `identity'.
1219 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
1220 argument here (bug#19620)...
1221 (defclass): ...instead of in the constructor here.
1223 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
1225 * emacs-lisp/package.el (package-archive-priorities):
1226 Specify correct type.
1228 2015-01-17 Ulrich Müller <ulm@gentoo.org>
1230 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
1232 (emacs-repository-get-version): Discard the Bazaar case.
1233 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
1234 emacs-bzr-version-dirstate and move from version.el to here.
1235 (vc-bzr-working-revision): Use it.
1237 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1239 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
1240 eieio--scoped-class any more.
1242 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
1243 (eieio--scoped-class): Remove function.
1244 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
1245 (eieio--slot-name-index): Don't check the :protection anymore.
1246 (eieio-initializing-object): Remove var.
1247 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
1249 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
1251 Improve handling of doc-strings and describe-function for cl-generic.
1253 * help-mode.el (help-function-def): Add optional arg `type'.
1255 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
1257 (help-fns-short-filename): New function.
1258 (describe-function-1): Use it. Use autoload-do-load.
1260 * emacs-lisp/find-func.el: Use lexical-binding.
1261 (find-function-regexp): Don't rule out `defgeneric'.
1262 (find-function-regexp-alist): Document new possibility of including
1263 a function instead of a regexp.
1264 (find-function-search-for-symbol): Implement that new possibility.
1265 (find-function-library): Don't assume that `function' is a symbol.
1266 (find-function-do-it): Remove unused var `orig-buf'.
1268 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
1269 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
1270 (eieio--method-optimize-primary): Don't mess with the docstring.
1271 (defgeneric): Keep the `args' in the docstring.
1272 (defmethod): Don't use the method's docstring for the generic
1273 function's docstring.
1275 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
1276 (eieio-defclass-autoload): Don't record the superclasses any more.
1277 (eieio-defclass-internal): Reuse the old class object if it was just an
1279 (eieio--class-precedence-list): Load the class if it's autoloaded.
1281 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
1282 override an autoload.
1283 (cl-generic-current-method-specializers): Replace dyn-bind variable
1284 with a lexically-scoped macro.
1285 (cl--generic-lambda): Update accordingly.
1286 (cl-generic-define-method): Record manually in the load-history with
1287 type `cl-defmethod'.
1288 (cl--generic-get-dispatcher): Minor optimization.
1289 (cl--generic-search-method): New function.
1290 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
1291 (cl--generic-search-method): Add hyperlinks for methods. Merge the
1292 specializers and the function's arguments.
1294 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1296 * emacs-lisp/package.el (package--read-pkg-desc):
1297 New function. Read a `define-package' form in current buffer.
1298 Return the pkg-desc, with desc-kind set to KIND.
1299 (package-dir-info): New function. Find package information for a
1300 directory. The return result is a `package-desc'.
1301 (package-install-from-buffer): Install packages from dired buffer.
1302 (package-install-file): Install packages from directory.
1303 (package-desc-suffix)
1304 (package-install-from-archive)
1305 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1306 Ensure all remaining instances of `package-desc-kind' handle the 'dir
1309 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
1311 * emacs-lisp/package.el: Provide repository priorities.
1312 (package-archive-priorities): New variable.
1313 (package--add-to-alist): New function.
1314 (package--add-to-archive-contents): Use it.
1315 (package-menu--find-upgrades): Use it as well. Small clean up to
1316 make the use of the package name here explicit.
1317 (package-archive-priority): New function.
1318 (package-desc-priority-version): New function.
1320 2015-01-16 Daniel Colascione <dancol@dancol.org>
1322 * cus-start.el (all): Make `ring-bell-function' customizable.
1324 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
1326 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
1327 vc-svn-after-dir-status's second argument. (Bug#19429)
1329 2015-01-16 Samer Masterson <samer@samertm.com> (tiny change)
1331 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
1332 regardless of pcomplete-cycle-completions's value. (Bug#18950)
1334 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1336 * dom.el (dom-strings): New function.
1338 * files.el (directory-files-recursively): Don't use the word
1339 "path" for a file name.
1341 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
1343 * calc/calc-units.el (math-units-in-expr-p)
1344 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
1345 (math-extract-units): Handle the `neg' operator. (Bug#19582)
1347 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1349 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
1350 (cl--labels-convert): Use it to ask the macro what is its replacement
1353 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
1354 Return the value of the primary rather than the after method.
1356 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
1357 (eieio--generic-tagcode): New function.
1358 (cl-generic-tagcode-function): Use it.
1359 (eieio--generic-tag-types): New function.
1360 (cl-generic-tag-types-function): Use it.
1361 (eieio-object-p): Tighten up the test.
1363 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
1365 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * emacs-lisp/cl-generic.el: New file.
1369 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
1370 (cl-load-time-value, cl-labels): Use closures rather than
1372 (cl-macrolet): Use `eval' to create the function value, and support CL
1373 style arguments in for the defined macros.
1375 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1377 * net/eww.el: Use lexical-binding.
1378 (eww-links-at-point): Remove unused arg.
1379 (eww-mode-map): Inherit from special-mode-map.
1380 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
1382 2015-01-13 Alan Mackenzie <acm@muc.de>
1384 Allow compilation during loading of CC Mode-derived modes (bug#19206).
1385 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
1386 New function which walks the stack to discover whether we're compiling
1388 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
1389 (cc-bytecomp-is-loading): New defsubst.
1390 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
1391 Use the above defsubsts.
1392 (cc-require-when-compile, cc-bytecomp-defvar)
1393 (cc-bytecomp-defun): Simplify conditionals.
1394 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
1395 "Borrow" this function from cc-bytecomp.el.
1396 (c-get-current-file): Reformulate using the above.
1397 (c-lang-defconst): Prevent duplicate entries of file names in a
1398 symbol's 'source property.
1399 (c-lang-const): Use cc-bytecomp-is-compiling.
1400 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
1401 Use cc-bytecomp-is-compiling.
1403 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
1408 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
1410 * menu-bar.el (menu-bar-goto-menu): Before calling
1411 `xref-marker-stack-empty-p', first check that `xref' is loaded.
1414 2015-01-12 Martin Rudalics <rudalics@gmx.at>
1416 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
1419 * frame.el (frame-notice-user-settings): Remove code dealing with
1420 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
1421 only if `window-system-frame-alist' or `default-frame-alist' ask
1423 (make-frame): Update frame-adjust-size-history if needed.
1425 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
1427 Have 'make' output better GEN names
1428 * Makefile.in (PHONY_EXTRAS): New macro.
1429 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
1430 relevant files' time stamps are ignored.
1431 (custom-deps, $(lisp)/cus-load.el, finder-data)
1432 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
1433 (custom-deps, $(lisp)/cus-load.el, finder-data)
1434 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
1435 ($(lisp)/subdirs.el, update-subdirs):
1436 Output more-accurate destination names with GEN.
1438 Say "ELC foo.elc" instead of "GEN foo.elc"
1439 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
1441 ($(THEFILE)c, .el.elc): Use them.
1443 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
1445 * files.el (directory-files-recursively): Do not include
1446 superfluous remote file names.
1448 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1450 * net/eww.el (eww): Interpret anything that looks like a protocol
1451 designator as a full URL.
1453 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1455 * net/shr.el (shr-urlify): Don't bother the user about
1456 invalidly-encoded display strings.
1458 2015-01-10 Ivan Shmakov <ivan@siamics.net>
1460 * net/shr.el (shr-urlify): Decode URLs before using them as titles
1463 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1465 * net/eww.el (eww): Always interpret URLs that start with https?:
1466 as plain URLs, even if they have spaces in them (bug#19556).
1467 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
1468 software" as an URL.
1469 (eww): Don't interpret "org/foo" as an URL.
1470 (eww): Clear the title when loading so that we don't display
1471 misleading information.
1473 2015-01-10 Daniel Colascione <dancol@dancol.org>
1475 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
1476 by analogy with dired.
1478 2015-01-09 Daniel Colascione <dancol@dancol.org>
1480 * progmodes/js.el (js--function-heading-1-re)
1481 (js--function-prologue-beginning): Parse ES6 generator function
1482 declarations. (That is, "function* name()").
1484 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1486 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
1487 that creates functions, and most of the sanity checks.
1488 Mark as obsolete the <class>-child-p function.
1489 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
1490 (eieio--class, eieio--object): Use cl-defstruct.
1491 (eieio--object-num-slots): Define manually.
1492 (eieio-defclass-autoload): Use eieio--class-make.
1493 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
1494 `(lambda...) definitions and most of the sanity checks to `defclass'.
1495 Mark as obsolete the <class>-list-p function, the <class> variable and
1496 the <initarg> variables. Use pcase-dolist.
1497 (eieio-defclass): New compatibility function.
1498 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
1499 (eieio-class-speedbar): Don't use eieio-default-superclass var.
1501 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * emacs-lisp/eieio-generic.el: New file.
1504 * emacs-lisp/eieio-core.el: Move all generic function code to
1506 (eieio--defmethod): Declare.
1508 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
1509 function code to eieio-generic.el.
1510 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
1512 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
1513 to eieio--generic-call.
1514 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
1517 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1519 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
1520 Don't use <class> as a variable.
1522 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
1523 (call-next-method): Simplify.
1524 (clone): Obey eieio-backward-compatibility.
1526 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
1527 (eieio-read-generic): Use `generic-p' instead.
1529 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
1530 (eieio-defclass-autoload): Obey it.
1531 (eieio--class-object): Improve error behavior.
1532 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
1534 (eieio--defgeneric-form-primary-only): Rename from
1535 eieio-defgeneric-form-primary-only; update all callers.
1536 (eieio--defgeneric-form-primary-only-one): Rename from
1537 eieio-defgeneric-form-primary-only-one; update all callers.
1538 (eieio-defgeneric-reset-generic-form)
1539 (eieio-defgeneric-reset-generic-form-primary-only)
1540 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
1541 (eieio--method-optimize-primary): New function to replace them.
1542 (eieio--defmethod, eieio-defmethod): Use it.
1543 (eieio--perform-slot-validation): Rename from
1544 eieio-perform-slot-validation; update all callers.
1545 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
1546 Change `class' to be a class object. Update all callers.
1547 (eieio--validate-class-slot-value): Rename from
1548 eieio-validate-class-slot-value. Change `class' to be a class object.
1550 (eieio-oset-default): Accept class object as well.
1551 (eieio--generic-call-primary-only): Rename from
1552 eieio-generic-call-primary-only. Update all callers.
1554 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1555 Improve error messages.
1556 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
1557 well as user-defined types. Emit errors for legacy types like
1558 <class>-child and <class>-list, if not eieio-backward-compatibility.
1560 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
1563 (eieio--class-slot-initarg): Rename from class-slot-initarg.
1564 Change `class' arg to be a class object. Update all callers.
1565 (call-next-method): Adjust to new return value of `eieio-generic-form'.
1566 (eieio-default-superclass): Set var to the class object.
1567 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
1568 Change print behavior to affect class objects rather than
1571 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
1572 (eieio-class-parents-fast): Remove macro.
1573 (eieio--class-option-assoc): Rename from class-option-assoc.
1575 (eieio--class-option): Rename from class-option. Change `class' arg to
1576 be a class object. Update all callers.
1577 (eieio--class-method-invocation-order): Rename from
1578 class-method-invocation-order. Change `class' arg to be a class
1579 object. Update all callers.
1580 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
1581 a list of class objects rather than names.
1582 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
1583 for accessors to class allocated slots.
1584 (eieio--perform-slot-validation-for-default): Rename from
1585 eieio-perform-slot-validation-for-default. Update all callers.
1586 (eieio--add-new-slot): Rename from eieio-add-new-slot.
1587 Update all callers. Use push.
1588 (eieio-copy-parents-into-subclass): Adjust to new content of
1589 `parent' field. Use dolist.
1590 (eieio-oref): Remove support for providing a class rather than
1592 (eieio-oref-default): Prefer class objects over class names.
1593 (eieio--slot-originating-class-p): Rename from
1594 eieio-slot-originating-class-p. Update all callers. Use `or'.
1595 (eieio--slot-name-index): Turn check into assertion.
1596 (eieio--class-slot-name-index): Rename from
1597 eieio-class-slot-name-index. Change `class' arg to be a class object.
1599 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
1600 (eieio--c3-candidate): Rename from eieio-c3-candidate.
1602 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
1604 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
1606 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
1608 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
1609 Update all callers. Adjust to new `parent' content.
1610 (eieio--class-precedence-list): Rename from -class-precedence-list.
1612 (eieio-generic-call): Use autoloadp and autoload-do-load.
1613 Slight simplification.
1614 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
1615 return value of `eieio-generic-form'.
1616 (eieiomt-add): Index the hashtable with class objects rather than
1618 (eieio-generic-form): Accept class objects as well.
1620 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
1621 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
1622 (eieio-persistent-validate/fix-slot-value):
1623 Change `class' arg to be a class object. Update all callers.
1625 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
1628 additionally to class names.
1630 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
1631 (object): Remove first (constant) slot; rename second to `class-tag'.
1632 (eieio--object-class-object, eieio--object-class-name): New funs
1633 to replace eieio--object-class.
1634 (eieio--class-object, eieio--class-p): New functions.
1635 (same-class-fast-p): Make it a defsubst, change its implementation
1636 to check the class objects rather than their names.
1637 (eieio-object-p): Rewrite.
1638 (eieio-defclass): Adjust the object initialization according to the new
1640 (eieio--scoped-class): Declare it returns a class object (not a class
1641 name any more). Adjust calls accordingly (along with calls to
1642 eieio--with-scoped-class).
1643 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
1644 its class arg to be a class object. Adjust callers accordingly.
1645 (eieio-slot-originating-class-p): Make its start-class arg a class
1646 object. Adjust all callers.
1647 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
1648 Make its `class' arg a class object. Adjust all callers.
1650 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1651 Use eieio--slot-name-index rather than eieio-slot-name-index.
1653 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1655 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
1657 (eieio-object-name): Use eieio-object-name-string.
1658 (eieio--object-names): New const.
1659 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
1660 using a hashtable rather than a built-in slot.
1661 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
1662 (clone): Don't mess with the object's "name".
1664 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
1665 (eieio-object-value-get): Use eieio-object-set-name-string.
1667 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
1668 (eieio--object): Remove `name' field.
1669 (eieio-defclass): Adjust to new convention where constructors don't
1670 take an "object name" any more.
1671 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
1672 (eieio-validate-slot-value, eieio-oset-default)
1673 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
1674 (eieio-generic-call-primary-only): Simplify.
1676 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
1677 Use call-next-method.
1678 (eieio-constructor): Rename from `constructor'.
1679 (eieio-persistent-convert-list-to-object): Drop objname.
1680 (eieio-persistent-validate/fix-slot-value): Don't hardcode
1681 eieio--object-num-slots.
1682 (eieio-named): Use a normal slot.
1683 (slot-missing) <eieio-named>: Remove.
1684 (eieio-object-name-string, eieio-object-set-name-string, clone)
1685 <eieio-named>: New methods.
1687 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
1690 (method-*): Add a "eieio--" prefix to those constants.
1692 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
1694 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
1696 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
1699 `eieio-default-superclass'.
1701 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
1703 * emacs-lisp/eieio-custom.el: Use lexical-binding.
1704 (eieio-object-value-to-abstract): Simplify.
1706 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
1707 (eieio-build-class-alist): Use dolist.
1708 (eieio-all-generic-functions): Adjust to use of hashtables.
1710 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
1711 symbol-hashtable. It contains a hashtable instead of an obarray.
1712 (generic-p): Use symbol property `eieio-method-hashtable' instead of
1713 `eieio-method-obarray'.
1714 (generic-primary-only-p, generic-primary-only-one-p):
1715 Slight optimization.
1716 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
1717 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
1718 (eieio-class-un-autoload): Use autoload-do-load.
1719 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
1720 Use new cl-deftype-satisfies. Adjust to use of hashtables.
1721 Don't hardcode the value of eieio--object-num-slots.
1722 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
1723 Use a closure rather than a backquoted lambda.
1724 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
1725 function-documentation property.
1726 (eieio-slot-originating-class-p, eieio-slot-name-index)
1727 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
1728 (eieio-generic-form): Adjust to use of hashtables.
1729 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
1730 additional class argument.
1731 (eieio-generic-call-methodname): Remove, unused.
1733 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
1736 2015-01-08 Eli Zaretskii <eliz@gnu.org>
1738 * simple.el (line-move-visual): When converting X pixel coordinate
1739 to temporary-goal-column, adjust the value for right-to-left
1740 screen lines. This fixes vertical-motion, next/prev-line, etc.
1742 2015-01-08 Glenn Morris <rgm@gnu.org>
1744 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
1746 2015-01-07 K. Handa <handa@gnu.org>
1748 * international/ccl.el (define-ccl-program): Improve the docstring.
1750 2015-01-06 Sam Steingold <sds@gnu.org>
1752 * shell.el (shell-display-buffer-actions): Remove,
1753 use `display-buffer-alist' instead.
1755 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
1757 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
1760 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * minibuffer.el (completion-category-defaults): New var.
1763 Set unicode-name to use substring completion.
1764 (completion-category-defaults): Set it to nil.
1766 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1768 Add mouse interaction to xref.
1769 * progmodes/xref.el (xref--button-map): New variable.
1770 (xref--mouse-2): New command.
1771 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
1772 the inserted references.
1774 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
1776 Less 'make' chatter for lisp dir
1777 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
1778 to make it clearer that the caller must specify it.
1779 (compile-onefile): Remove, replacing by ...
1780 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
1781 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
1782 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1783 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1784 Use AM_V_GEN to lessen 'make' chatter.
1785 (.el.elc): Omit duplicate comment.
1787 Less 'make' chatter in batch mode
1788 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1789 * emacs-lisp/bytecomp.el (byte-compile-file):
1790 * files.el (save-buffer, basic-save-buffer):
1791 * international/quail.el (quail-update-leim-list-file):
1792 Don't output messages like "Generating ..." in batch mode.
1794 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
1796 Unbreak `mouse-action' property in text buttons.
1797 * button.el (push-button): Fix regression from 2012-12-06.
1799 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1801 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
1803 * menu-bar.el (menu-bar-goto-menu): Use it.
1805 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
1807 * progmodes/xref.el (xref--window-configuration): New variable.
1808 (xref-show-location-at-point): New command.
1809 (xref--restore-window-configuration): New function.
1810 (xref-next-line, xref-prev-line): Delegate to
1811 `xref-show-location-at-point'.
1812 (xref--location-at-point): Don't signal the error.
1813 (xref-goto-xref): Do that here instead.
1814 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
1815 to `pre-command-hook'.
1816 (xref--xref-buffer-mode-map): Don't remap `next-line' and
1817 `previous-line'. Additionally bind `xref-next-line' and
1818 `xref-prev-line' to `n' and `p' respectively.
1819 Bind `xref-show-location-at-point' to `C-o'.
1821 2015-01-01 Eli Zaretskii <eliz@gnu.org>
1823 * tool-bar.el (tool-bar-local-item)
1824 (tool-bar-local-item-from-menu): Call force-mode-line-update to
1825 make sure the tool-bar changes show on display.
1827 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
1829 Sync with Tramp 2.2.11.
1831 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
1832 Make an alias for `default-toplevel-value' if it doesn't exist.
1834 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1835 Use `tramp-compat-delete-directory'.
1837 * net/trampver.el: Update release number.
1839 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
1841 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
1842 for remote files. (Bug#19449)
1844 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1846 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
1848 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
1850 Less 'make' chatter in lisp directory
1851 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
1852 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
1853 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
1855 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
1857 * info.el (info-display-manual): Limit the completion alternatives
1858 to currently visited manuals if prefix argument is non-nil.
1860 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
1862 * Makefile.in (semantic): Simplify.
1864 2014-12-30 Juri Linkov <juri@linkov.net>
1866 * net/eww.el (eww-isearch-next-buffer): New function.
1867 (eww-mode): Set multi-isearch-next-buffer-function to it.
1869 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
1871 * progmodes/xref.el (xref-find-definitions): Mention "no
1872 identifier at point" case in the docstring.
1874 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
1875 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
1876 and `separator-tag-file' items.
1878 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
1880 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
1881 This is instead of system-name, which is both wrong here and obsolete.
1882 * desktop.el (desktop-save-frameset):
1883 * dnd.el (dnd-get-local-file-uri):
1884 * nxml/rng-uri.el (rng-uri-file-name-1):
1885 Prefer (system-name) to system-name, and avoid naming
1886 locals 'system-name'.
1887 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
1889 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1891 * menu-bar.el (menu-bar-next-tag-other-window)
1892 (menu-bar-next-tag): Remove.
1894 2014-12-29 K. Handa <handa@gnu.org>
1896 * international/mule.el (make-translation-table-from-alist):
1897 Accept nil or zero-length vector for FROM and TO.
1899 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
1901 * net/eww.el (eww-mode): Truncate overlong lines for prettier
1902 display when resizing.
1904 * net/shr.el (shr-width): Default to using the window width when
1907 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1909 Unbreak jumping to an alias's definition.
1910 * emacs-lisp/find-func.el (find-function-library): Return a pair
1911 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
1912 (find-function-noselect): Use it.
1913 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
1914 `elisp--xref-identifier-location', incorporate logic from
1915 `elisp--xref-find-definitions', use the changed
1916 `find-function-library' return value.
1918 2014-12-29 Juri Linkov <juri@linkov.net>
1920 * comint.el (comint-history-isearch-message): Use field-beginning
1921 instead of comint-line-beginning-position - that's more fixes for
1922 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
1923 (comint-history-isearch-message): Fix args of isearch-message-prefix.
1925 2014-12-29 Juri Linkov <juri@linkov.net>
1927 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
1928 (vc-dir-mode-map): Bind it to "\C-o".
1929 (vc-dir-menu-map): Add it to menu.
1931 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
1933 * progmodes/etags.el (find-tag-other-window)
1934 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
1935 (tags-apropos): Declare obsolete.
1937 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
1940 2014-12-28 Eli Zaretskii <eliz@gnu.org>
1942 * international/mule.el (define-coding-system): Fix typos in the
1945 2014-12-28 Kenichi Handa <handa@gnu.org>
1947 * international/mule.el (define-coding-system): Improve the doc
1950 2014-12-28 Ivan Shmakov <ivan@siamics.net>
1952 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
1953 elements in tables (bug#19444).
1955 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
1958 2014-12-28 Juri Linkov <juri@linkov.net>
1960 * vc/compare-w.el: Require diff-mode for diff faces.
1961 (compare-windows-removed, compare-windows-added): New faces
1962 inheriting from diff faces.
1963 (compare-windows): Define obsolete face alias.
1964 (compare-windows-highlight): Replace face `compare-windows' with
1965 new faces `compare-windows-added' and `compare-windows-removed'
1967 (compare-windows-get-recent-window): Signal an error when
1968 no other window is found (bug#19170).
1970 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
1972 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
1973 Skip features that have no sources.
1975 * simple.el (execute-extended-command):
1976 When `suggest-key-bindings' is nil, don't.
1978 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1980 python.el: Native readline completion.
1981 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
1982 (python-shell-completion-native-enable)
1983 (python-shell-completion-native-output-timeout): New defcustoms.
1984 (python-shell-completion-native-interpreter-disabled-p)
1985 (python-shell-completion-native-try)
1986 (python-shell-completion-native-setup)
1987 (python-shell-completion-native-turn-off)
1988 (python-shell-completion-native-turn-on)
1989 (python-shell-completion-native-turn-on-maybe)
1990 (python-shell-completion-native-turn-on-maybe-with-msg)
1991 (python-shell-completion-native-toggle): New functions.
1992 (python-shell-completion-native-get-completions): New function.
1993 (python-shell-completion-at-point): Use it.
1995 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1997 python.el: Enhance shell user interaction and deprecate
1998 python-shell-get-or-create-process.
1999 * progmodes/python.el (python-shell-get-process-or-error):
2001 (python-shell-with-shell-buffer): Use it.
2002 (python-shell-send-string, python-shell-send-region)
2003 (python-shell-send-buffer, python-shell-send-defun)
2004 (python-shell-send-file, python-shell-switch-to-shell): Use it.
2005 Add argument MSG to display user-friendly message when no process
2007 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
2008 (python-shell-make-comint): Rename argument SHOW from POP.
2009 Use display-buffer instead of pop-to-buffer.
2010 (run-python): Doc fix. Return process.
2011 (python-shell-get-or-create-process): Make obsolete.
2013 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2015 * progmodes/python.el (python-shell-buffer-substring):
2016 Handle cornercase when region sent starts at point-min.
2018 2014-12-27 Eli Zaretskii <eliz@gnu.org>
2020 * language/misc-lang.el (composition-function-table): Add Syriac
2021 characters and also ZWJ/ZWNJ.
2022 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
2025 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2027 python.el: Fix message when sending region.
2028 * progmodes/python.el (python-shell-send-region): Rename argument
2029 send-main from nomain. Fix message.
2030 (python-shell-send-buffer): Rename argument send-main from arg.
2032 python.el: Cleanup temp files even with eval errors.
2033 * progmodes/python.el (python-shell-send-file): Make file-name
2034 mandatory. Fix temp file removal in the majority of cases.
2036 python.el: Handle file encoding for shell.
2037 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
2038 (python-shell--save-temp-file): Write file with proper encoding.
2039 (python-shell-buffer-substring): Add coding cookie for detected
2040 encoding to generated content. Fix blank lines when removing
2042 (python-shell-send-file): Handle file encoding.
2043 (python-info-encoding-from-cookie)
2044 (python-info-encoding): New functions.
2046 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2048 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2049 Use `tramp-rsh-end-of-line', it ought to be more robust.
2051 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2053 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
2056 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2058 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
2060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
2061 as end-of-line delimeter for passwords, when running on MS Windows.
2063 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
2066 of indent-line-function (bug#19433).
2068 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2070 Fix line numbers on Python shell.
2071 * progmodes/python.el (python-shell--save-temp-file): Do not
2072 append coding cookie.
2073 (python-shell-send-string): Generalize for
2074 python-shell-send-region.
2075 (python--use-fake-loc): Delete var.
2076 (python-shell-buffer-substring): Cleanup fake-loc logic.
2077 (python-shell-send-region): Remove fake-loc logic, simplify.
2079 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
2081 * progmodes/python.el (python-indent-post-self-insert-function):
2082 Make colon to re-indent only for dedenters, handling
2083 multiline-statements gracefully.
2085 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2087 * net/tramp.el (tramp-handle-insert-file-contents):
2088 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
2090 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2092 * net/tramp-sh.el (tramp-send-command-and-read): New optional
2094 (tramp-get-remote-path): Use it.
2096 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2098 * subr.el (redisplay-dont-pause): Mark as obsolete.
2100 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
2102 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
2103 (tramp-accept-process-output): Use nil as argument for
2104 `accept-process-output', when there is a gateway prepended.
2106 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
2108 (tramp-gw-open-connection): Set process coding system 'binary.
2109 (tramp-gw-open-network-stream): Handle HTTP error 403.
2111 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
2113 (tramp-maybe-open-connection): Set connection property "gateway".
2115 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * subr.el (sit-for): Tweak docstring (bug#19381).
2119 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2121 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
2122 stage to after `diff-index' (bug#19386).
2124 2014-12-27 João Távora <joaotavora@gmail.com>
2126 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
2127 `electric-pair-mode' (bug#19356).
2129 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
2131 elisp-xref-find: Don't create buffers eagerly.
2133 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
2134 into `elisp--company-location'.
2135 (elisp--identifier-completion-table): Rename to
2136 `elisp--identifier-completion-table', and do not include just any
2137 symbols with a property list.
2138 (elisp-completion-at-point): Revert the 2014-12-25 change.
2139 (elisp--xref-identifier-file): New function.
2140 (elisp--xref-find-definitions): Use it.
2142 * emacs-lisp/find-func.el (find-function-library): New function,
2143 extracted from `find-function-noselect'.
2145 * progmodes/xref.el (xref-elisp-location): New class.
2146 (xref-make-elisp-location): New function.
2147 (xref-location-marker): New implementation.
2149 2014-12-27 Juri Linkov <juri@linkov.net>
2151 * minibuffer.el (minibuffer-completion-help):
2152 Use shrink-window-if-larger-than-buffer in window-height
2153 when temp-buffer-resize-mode is nil.
2155 * window.el (with-displayed-buffer-window): Remove window-height
2156 from the action alist in the temp-buffer-window-show call
2157 when window-height is handled explicitly afterwards (bug#19355).
2159 2014-12-27 Juri Linkov <juri@linkov.net>
2161 Support subdirectories when saving places in dired.
2162 * saveplace.el (toggle-save-place, save-place-to-alist)
2163 (save-places-to-alist, save-place-dired-hook):
2164 Use dired-current-directory instead of dired-directory (bug#19436).
2165 (save-place-dired-hook): Add check for alist to make the new
2166 format future-proof to allow other possible formats.
2168 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2170 python.el: Generate clearer shell buffer names.
2171 * progmodes/python.el (python-shell-get-process-name)
2172 (python-shell-internal-get-process-name): Use `buffer-name`.
2173 (python-shell-internal-get-or-create-process): Simplify.
2175 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
2177 Add basic xref apropos implementation to elisp-mode.
2179 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
2180 Filter out nil results.
2181 (elisp--xref-find-apropos): New function.
2182 (elisp-xref-find): Use it.
2184 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
2186 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
2188 * dired-aux.el (dired-maybe-insert-subdir):
2189 Make dired-maybe-insert-subdir always skip trivial files.
2191 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
2192 Dmitry Gutov <dgutov@yandex.ru>
2194 Consolidate cross-referencing commands.
2196 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
2197 `C-x 5 .' from etags.el to xref.el.
2199 * progmodes/xref.el: New file.
2201 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
2202 (elisp--identifier-location): New function, extracted from
2203 `elisp--company-location'.
2204 (elisp--company-location): Use it.
2205 (elisp--identifier-completion-table): New variable.
2206 (elisp-completion-at-point): Use it.
2207 (emacs-lisp-mode): Set the local values of `xref-find-function'
2208 and `xref-identifier-completion-table-function'.
2209 (elisp-xref-find, elisp--xref-find-definitions)
2210 (elisp--xref-identifier-completion-table): New functions.
2212 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
2213 favor of `xref--marker-ring'.
2214 (tags-lazy-completion-table): Autoload.
2215 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
2216 (find-tag-noselect): Use `xref-push-marker-stack'.
2217 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
2218 (etags--xref-limit): New constant.
2219 (etags-xref-find, etags--xref-find-definitions): New functions.
2221 2014-12-25 Martin Rudalics <rudalics@gmx.at>
2223 * cus-start.el (resize-mini-windows): Make it customizable.
2225 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
2227 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
2228 to (info "(emacs)Contributing"). (Bug#19299)
2230 2014-12-24 Martin Rudalics <rudalics@gmx.at>
2232 * window.el (mouse-autoselect-window-position-1): New variable.
2233 (mouse-autoselect-window-cancel)
2234 (mouse-autoselect-window-select, handle-select-window):
2235 With delayed autoselection select window only if mouse moves after
2236 selecting its frame.
2238 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
2240 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
2241 remote file names. (Bug#18782)
2243 2014-12-23 Sam Steingold <sds@gnu.org>
2245 * shell.el (shell-display-buffer-actions): New user option.
2246 (shell): Pass it to `pop-to-buffer' instead of hard-coding
2247 `pop-to-buffer-same-window'.
2249 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
2252 (js-syntax-propertize-regexp): Use it to recognize "slash in
2253 a character class" (bug#19397).
2255 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2257 * completion.el: Use post-self-insert-hook (bug#19400).
2258 (completion-separator-self-insert-command)
2259 (completion-separator-self-insert-autofilling): Remove.
2260 (completion-separator-chars): New var.
2261 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
2262 of changing the keymap.
2263 (completion--post-self-insert): New function.
2264 (dynamic-completion-mode): Use it instead of rebinding keys.
2265 (cmpl--completion-string): Rename from completion-string.
2266 (add-completion-to-head, delete-completion): Let-bind it explicitly.
2268 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
2270 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
2271 by leveraging `syntax-ppss'.
2273 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
2275 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
2277 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
2279 * net/tramp-sh.el (tramp-histfile-override): Add :version.
2281 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
2283 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
2285 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
2287 * let-alist.el (let-alist): Enable access to deeper alists by
2288 using dots inside the dotted symbols.
2290 2014-12-19 Alan Mackenzie <acm@muc.de>
2292 Make C++11 uniform init syntax work.
2293 New keywords "final" and "override".
2294 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
2296 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
2298 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
2299 carefully for "are we at a declarator?" using
2300 c-back-over-member-initializers.
2301 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
2302 and "override" in the C++ value.
2304 2014-12-19 Martin Rudalics <rudalics@gmx.at>
2306 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
2308 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
2310 * net/nsm.el (nsm-save-host): Don't save the host name twice
2313 2014-12-18 Sam Steingold <sds@gnu.org>
2315 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
2316 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
2317 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
2318 * menu-bar.el (menu-bar-buffer-vector): Extract from
2319 `menu-bar-update-buffers'.
2320 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
2321 (buffer-menu-open): New user command, bound globally to C-f10,
2322 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
2323 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
2324 convert the value returned by `mouse-buffer-menu-map' to a list
2325 acceptable to `popup-menu' for `buffer-menu-open'.
2327 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
2329 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
2331 2014-12-18 Sam Steingold <sds@gnu.org>
2333 * emacs-lisp/package.el: Avoid compilation warning by declaring
2334 the `find-library-name' function.
2335 (package-activate-1): Fix the `with-demoted-errors' calls:
2336 the first argument must be a string literal.
2338 2014-12-18 Martin Rudalics <rudalics@gmx.at>
2340 Add code for "preserving" window sizes.
2341 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
2343 (dired-mark-pop-up): Preserve size of window showing marked files.
2344 * electric.el (Electric-pop-up-window):
2345 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
2346 with `preserve-size' t.
2347 * minibuffer.el (minibuffer-completion-help):
2348 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
2349 (Bug#19355). Preserve size of completions window.
2350 * register.el (register-preview): Preserve size of register
2352 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
2353 with `preserve-size' t (Bug#1291).
2354 * window.el (with-displayed-buffer-window): Add calls to
2355 `window-preserve-size'.
2356 (window-min-pixel-size, window--preservable-size)
2357 (window-preserve-size, window-preserved-size)
2358 (window--preserve-size, window--min-size-ignore-p): New functions.
2359 (window-min-size, window-min-delta, window--resizable)
2360 (window--resize-this-window, split-window-below)
2361 (split-window-right): Amend doc-string.
2362 (window--min-size-1, window-sizable, window--size-fixed-1)
2363 (window-size-fixed-p, window--min-delta-1)
2364 (frame-windows-min-size, window--max-delta-1, window-resize)
2365 (window--resize-child-windows, window--resize-siblings)
2366 (enlarge-window, shrink-window, split-window): Handle preserving
2368 (adjust-window-trailing-edge): Handle preserving window
2369 sizes. Signal user-error instead of an error when there's no
2370 window above or below.
2371 (window--state-put-2): Handle horizontal scroll bars.
2372 (window--display-buffer): Call `preserve-size' if asked for.
2373 (display-buffer): Mention `preserve-size' alist member in doc-string.
2374 (fit-window-to-buffer): New argument PRESERVE-SIZE.
2375 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
2376 scroll bar on ispell's windows. Don't count window lines and
2377 don't deal with dedicated windows.
2378 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
2379 do the window handling.
2380 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
2381 (ispell-display-buffer): New function to reuse, create and fit
2382 window to ispell's buffers. (Bug#3413)
2384 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
2386 * emacs-lisp/package.el (package-activate): Do not re-activate or
2387 reload the dependencies (bug#19390).
2389 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
2392 (c-update-modeline):
2393 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
2394 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
2395 (c-mode-base-map): Use c-subword-mode.
2397 2014-12-18 Eli Zaretskii <eliz@gnu.org>
2399 * international/mule-diag.el (describe-font-internal):
2400 Display additional info returned by font-info.
2402 * linum.el (linum--face-width): Rename from linum--face-height,
2403 and use the new functionality of font-info.
2404 (linum-update-window): Use linum--face-width and frame-char-width,
2405 instead of approximating with height.
2407 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
2409 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
2410 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
2412 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
2414 (package-activate): Call itself on dependencies on PACKAGE with
2415 the same FORCE argument. Pass FORCE as RELOAD into
2416 `package-activate-1' (bug#19390).
2418 2014-12-17 Sam Steingold <sds@gnu.org>
2420 * emacs-lisp/package.el (package--list-loaded-files):
2421 Handle `(nil ...)' elements in `load-history'.
2423 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
2425 * net/tramp-sh.el (tramp-histfile-override): New variable.
2426 (tramp-open-shell, tramp-maybe-open-connection): Use it.
2428 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
2430 * vc/vc.el: Improve `dir-status-files' description.
2432 * emacs-lisp/package.el (package--list-loaded-files): Don't call
2433 file-truename on load-history elements (bug#19390).
2435 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
2437 * emacs-lisp/seq.el: New file.
2439 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
2442 is 0 and there is no input pending.
2444 2014-12-15 Juri Linkov <juri@linkov.net>
2446 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
2447 only on the return value (bug#19383).
2449 2014-12-15 Juri Linkov <juri@linkov.net>
2451 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
2452 the wrapped search by the length of the search string to be able
2453 to lazy-highlight the whole search string at point (bug#19353).
2455 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2457 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
2459 2014-12-14 Alan Mackenzie <acm@muc.de>
2461 * cus-start.el (all): Add fast-but-imprecise-scrolling.
2463 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
2465 * let-alist.el: Add lexical binding.
2467 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
2469 * emacs-lisp/package.el (package-menu-mode): Use an extra column
2470 for the "Version" column, to accomodate date-and-time-based versions.
2472 2014-12-14 Cameron Desautels <camdez@gmail.com>
2474 * cus-edit.el (custom-unsaved-options): New function, extracted
2475 from `customize-unsaved'.
2476 (custom-unsaved): Use it.
2477 (custom-prompt-customize-unsaved-options): New function.
2480 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2482 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
2484 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
2486 Move ASYNC argument to the `diff' VC command to the fifth
2487 position, for better compatibility with existing third-party code,
2490 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
2491 backend `diff' command in the last position.
2493 * vc/vc-svn.el (vc-svn-diff):
2494 * vc/vc-src.el (vc-src-diff):
2495 * vc/vc-sccs.el (vc-sccs-diff):
2496 * vc/vc-rcs.el (vc-rcs-diff):
2497 * vc/vc-mtn.el (vc-mtn-diff):
2498 * vc/vc-hg.el (vc-hg-diff):
2499 * vc/vc-git.el (vc-git-diff):
2500 * vc/vc-dav.el (vc-dav-diff):
2501 * vc/vc-cvs.el (vc-cvs-diff):
2502 * vc/vc-bzr.el (vc-bzr-diff):
2503 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
2505 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
2507 * emacs-lisp/cconv.el (cconv--analyze-use):
2508 Rename from cconv--analyse-use.
2509 (cconv--analyze-function): Rename from cconv--analyse-function.
2510 (cconv-analyze-form): Rename from cconv-analyse-form.
2512 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
2514 * net/shr.el (shr-next-link): Don't error out at eob.
2516 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2518 * isearch.el (isearch-open-necessary-overlays): Open overlay
2519 ending at point (bug#19333).
2521 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2523 * net/shr.el (shr-fold-text): New function.
2524 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
2526 (shr-fold-text): Inhibit state from being altered.
2528 * files.el (directory-files-recursively): Really check whether
2530 (directory-name-p): New function.
2531 (directory-files-recursively): Use it.
2533 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
2535 * emacs-lisp/package.el (package--list-loaded-files): New function
2536 to list files in a given directory which correspond to already
2538 (package-activate-1): Reload files given by `package--list-loaded-files'.
2539 Fix bug#10125, bug#18443, and bug#18448.
2541 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
2543 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
2545 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
2547 * simple.el (password-word-equivalents): Add "passcode", used for
2548 numeric secrets like PINs or RSA tokens.
2550 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
2552 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
2553 order to determine `tramp-own-remote-path'.
2555 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2557 * progmodes/python.el (python-shell-parse-command):
2558 Quote `python-shell-interpreter`. (Bug#19289)
2560 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
2563 (python-indent-levels): Document extra value.
2564 (python-indent-calculate-indentation): Return `noindent' in strings.
2565 (python-indent-post-self-insert-function)
2566 (python-indent-calculate-levels): Handle new value.
2568 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2570 * net/network-stream.el (network-stream-open-starttls): No need to
2571 check for the availability of `gnutls-available-p'.
2573 * files.el (directory-files-recursively): Don't follow symlinks to
2576 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
2578 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
2579 * vc/vc.el: latest-on-branch-p is no longer a public method.
2581 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
2582 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
2583 Remove `rollback' method, to be replaced in the future by uncommit.
2585 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
2587 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
2588 that there is empty output.
2590 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
2593 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
2595 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
2597 * let-alist.el: Add new package and macro.
2599 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
2601 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
2602 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
2603 it's a shoot-self-in-foot archaism. Workfiles are always kept.
2605 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
2607 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
2608 trouble with ls over ftp. These flags result in ls returning no
2609 output, causing Tramp-breakage. (bug#19192)
2611 2014-12-10 Andreas Schwab <schwab@suse.de>
2613 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
2615 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2617 * files.el (directory-files-recursively):
2618 Use `file-name-all-completions' instead of `directory-files' for
2621 * net/shr.el (shr-tag-object): Don't bug out on text elements in
2624 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
2626 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
2628 (ruby-toggle-string-quotes): New command that allows you to quickly
2629 toggle between single-quoted and double-quoted string literals.
2631 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
2633 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
2634 list, avoids problems witt names containing hyphens.
2636 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
2638 Sync with upstream verilog-mode revision aa4b777.
2639 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2640 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
2641 (verilog-set-auto-endcomments): Automatically comment property/
2642 endproperty blocks to match other similar blocks like sequence/
2643 endsequence, function/endfunction, etc. Reported by Alex Reed.
2644 (verilog-set-auto-endcomments): Fix end comments for functions of
2645 type void, etc. Detect the function- or task-name when
2646 auto-commenting blocks that lack an explicit portlist.
2647 Reported by Alex Reed.
2648 (verilog-nameable-item-re): Fix nameable items that can have an
2649 end-identifier to include endchecker, endgroup, endprogram,
2650 endproperty, and endsequence. Reported by Alex Reed.
2651 (verilog-preprocessor-re, verilog-beg-of-statement):
2652 Fix indentation of property/endproperty around pre-processor
2653 directives. Reported by Alex Reed.
2654 (verilog-label-be): When auto-commenting a buffer, consider
2655 auto-comments on all known keywords (not just a subset thereof).
2656 Reported by Alex Reed.
2657 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
2658 Reported by Alex Reed.
2659 (verilog-beg-of-statement-1, verilog-at-constraint-p):
2660 Fix hanging with many curly-bracket pairs, bug663.
2661 (verilog-do-indent): Fix electric tab deleting form-feeds.
2662 Note caused by indent-line-to deleting tabls pre 24.5.
2663 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
2664 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
2665 (verilog-read-always-signals, verilog-auto-sense-sigs)
2666 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
2667 bug844. Reported by Greg Hilton.
2669 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
2671 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
2672 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
2673 'foreach', and 'do' keywords.
2674 (verilog-endcomment-reason-re, verilog-beg-of-statement):
2675 Fix labeling do-while blocks, bug842.
2676 (verilog-backward-token): Fix indenting sensitivity lists with
2677 named events, bug840.
2679 2014-12-09 Reto Zimmermann <reto@gnu.org>
2681 Sync with upstream vhdl mode v3.36.1.
2682 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2683 (vhdl-compiler-alist): Anchor all error regexps.
2684 (vhdl-compile-use-local-error-regexp): Change default to nil.
2685 (vhdl-asort, vhdl-anot-head-p): Remove.
2686 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
2687 Remove optional argument of vhdl-aget and update all callers.
2688 (vhdl-import-project): Also set `vhdl-compiler'.
2690 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2692 * files.el (find-files): New function.
2694 * net/shr.el (shr-dom-print): Don't print comments.
2695 (shr-tag-svg): Give inline SVG images the right type.
2697 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
2698 certificates in the header line.
2699 (eww-invalid-certificate, eww-valid-certificate): New faces.
2701 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
2703 * progmodes/python.el (inferior-python-mode):
2704 Set `comint-prompt-read-only` to `t` only locally.
2706 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2708 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
2709 (nsm-format-certificate): Include more data about the connection.
2710 (nsm-query): Fill the text to that it looks nicer.
2711 (nsm-check-protocol): Also warn if using SSL3 or older.
2713 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
2717 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
2719 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
2721 * info.el (Info-mode-map): Remove left-over binding.
2723 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
2724 (avl-tree--root): Remove redundant defsetf.
2726 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2728 * net/nsm.el (network-security-level): Remove the detailed
2729 description, which was already outdated, and refer the users to
2731 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
2734 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
2736 * net/eww.el (eww-buffers-mode): New major mode.
2737 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
2738 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
2739 New commands/functions (bug#19131).
2741 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2743 * net/gnutls.el (gnutls-negotiate): Ignore files found via
2744 'file-name-handler-alist' since the gnutls library can't use those
2747 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
2749 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
2750 when FILES is non-nil (bug#19304).
2752 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
2754 * vc/vc-arch.el: Move to obsolete directory so a test framework
2755 won't trip over bit-rot in it. There has been no Arch snapshot
2758 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2760 * net/eww.el (eww-follow-link): Revert prefix behaviour to
2762 (eww-copy-page-url): Add doc string.
2764 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2766 * net/eww.el (eww): Move history recording here...
2767 (eww-browse-url): ... from here (bug#19253).
2769 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
2770 iterating over possible buffer names.)
2772 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2774 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
2775 (eww-current-buffer): Compilation fix for bug#18550 patch.
2777 2014-12-07 Ivan Shmakov <ivan@siamics.net>
2779 * net/eww.el (eww-list-histories): Restore the history in the
2780 correct buffer (bug#18550).
2782 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2784 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
2785 displaying shortened titles first (bug#16398).
2787 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
2789 * progmodes/python.el: Recognize docstrings.
2790 (python-docstring-at-p, python-font-lock-syntactic-face-function):
2792 (python-mode): Use them.
2794 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
2796 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2797 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
2798 (newsticker--treeview-create-groups-menu)
2799 (newsticker--treeview-create-tree-menu): Remove.
2800 (newsticker--treeview-tree-open-menu): New.
2801 (newsticker-treeview-tree-click): Pass event to
2802 `newsticker-treeview-tree-do-click'.
2803 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
2805 2014-12-05 Juri Linkov <juri@linkov.net>
2807 * comint.el (comint-history-isearch-search)
2808 (comint-history-isearch-wrap): Use field-beginning instead of
2809 comint-line-beginning-position.
2810 (comint-send-input): Go to the end of the field instead of the end
2811 of the line to accept whole multi-line input.
2812 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
2814 2014-12-05 Juri Linkov <juri@linkov.net>
2816 * minibuffer.el (minibuffer-completion-help):
2817 Compare selected-window with minibuffer-window to check whether
2818 completions should be displayed near the minibuffer. (Bug#17809)
2819 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
2821 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
2823 * vc/vc-mtn.el (vc-mtn-root):
2824 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
2826 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2828 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
2829 of the whole pipe when indenting an opening keyword after a |.
2830 Generalize this treatment to opening keywords like "while" (bug#18031).
2832 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2834 * simple.el (newline): Place the hook buffer-locally,
2835 to make sure it's first.
2837 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2838 Fix handling of symbols with different syntax at beginning/end or with
2839 symbol rather than word syntax.
2841 2014-12-05 Eli Zaretskii <eliz@gnu.org>
2843 * simple.el (line-move): If noninteractive, call line-move-1, not
2844 forward-line, since the former is compatible with line-move-visual
2845 both in terms of the column to which it moves and the return
2848 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * vc/ediff-init.el (ediff-odd-p): Remove.
2851 (ediff-background-face): Use cl-oddp instead.
2852 (ediff-buffer-live-p): Make it a defsubst.
2854 * tooltip.el (tooltip-region-active-p): Remove.
2856 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
2857 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
2859 * fringe.el (fringe-bitmap-p): Make it a plain function.
2861 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
2862 (class-p, generic-p, eieio-object-p, class-abstract-p):
2863 Make them defsubst, so as to avoid corner case problems where
2864 the arg might be evaluated in the condition-case, or it can't be passed
2865 to higher-order functions like `cl-some'.
2867 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2869 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
2870 and remove old menu-related code.
2872 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2874 * net/eww.el (eww-display-pdf): Let mailcap determine how to
2875 display PDF files (bug#19270).
2877 2014-12-05 Juri Linkov <juri@linkov.net>
2879 Compare with the most recent window by default.
2880 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
2881 (compare-windows-get-recent-window)
2882 (compare-windows-get-next-window): New functions.
2883 (compare-windows, compare-windows-sync-default-function):
2884 Use `compare-windows-get-window-function' instead of `next-window'.
2885 (compare-windows): Add diff/match messages with region boundaries.
2888 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2890 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
2892 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2894 * net/shr.el (shr--extract-best-source): Ignore non-text children.
2896 2014-12-04 Eli Zaretskii <eliz@gnu.org>
2898 Implement copying of a buffer portion while preserving visual order.
2899 * simple.el (bidi-directional-controls-chars)
2900 (bidi-directional-non-controls-chars): New variables.
2901 (squeeze-bidi-context-1, squeeze-bidi-context)
2902 (line-substring-with-bidi-context)
2903 (buffer-substring-with-bidi-context): New functions.
2905 * files.el (file-tree-walk): Doc fix.
2907 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
2908 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2910 * autoinsert.el (auto-insert-alist): Update C/C++ header and
2911 program support to match more extensions. Replace non-alnum
2912 characters when generating include guards (headers) and check for
2913 more extensions when generating includes (programs)
2916 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
2918 * files.el (file-tree-walk): Fix docstring.
2920 2014-12-03 Karl Fogel <kfogel@red-bean.com>
2922 Fix bug whereby saving files hung in VC hook.
2924 Saving a buffer visiting a file under SVN control would hang if
2925 the remote repository were unreachable, because the VC hooks tried
2926 to run "svn status -u" on the file, where the "-u" tells svn to
2927 get update information from the remote repository.
2928 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
2930 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
2931 argument and always pass "-v" to "svn status", never "-u".
2933 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * emacs-lisp/inline.el: Fix up copyright header.
2936 (inline-quote, inline-const-p, inline-const-val, inline-error):
2937 Silence compiler warnings.
2938 (inline-letevals): Fix edebug spec.
2939 (inline--testconst-p): Consider lambda expressions as const-p.
2940 (inline--getconst-val): Use inline--testconst-p.
2942 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
2943 and change default to stay in the minibuffer when called from
2944 the minibuffer (bug#19250).
2945 (lazy-completion-table): Use this new argument to preserve the
2948 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
2949 incorrect lexical elements (bug#19250).
2951 2014-12-03 A. N. Other <none@example.com>
2953 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
2955 2014-12-02 Glenn Morris <rgm@gnu.org>
2957 * whitespace.el (whitespace-big-indent-regexp): Add :version.
2959 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
2961 * subr.el (filter): New macro. Because it's just silly for a Lisp
2962 not to have this in 2014. And VC needs it.
2964 * vc.el: All backends: API simplification: Abolish dir-status.
2965 It's replaced by dir-status-files.
2967 * vc.el: All backends: API simplification: Remove 4th
2968 'default-state' argument from vc-dir-status files and its backend
2969 methods - no backend method ever set it. It was used only in the
2970 fallback method to to set a default of 'up-to-date, though a
2971 convoluted call chain obscured this.
2973 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
2975 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
2976 improving behavior on directories using multiple file-oriented VCSes.
2978 * vc/vc.el: All backends: API simplification; clear-headers
2979 is no longer a public method. It is now local to the one place
2980 it's used, in the RCS steal-lock method.
2982 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
2984 * vc/vc.el: In all backends: API simplification; could-register
2985 is no longer a public method. (vc-cvs.el still has a private
2988 * vc/vc.el: In all backends: API cleanup; the backend diff method
2989 takes an explicit async flag. This eliminates a particularly ugly
2992 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
2993 VC randomly/unpredictably fails without it; cause not yet established.
2995 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2997 Merge some of the differences from the standalone CC-mode.
2998 The main change is to only use the `category' text-property only when
2999 available. For that many calls are changed to use c-get-char-property,
3000 c-next-single-property-change, c-sc-scan-lists,
3001 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
3003 * progmodes/cc-mode.el (c-just-done-before-change): New var.
3004 (c-basic-common-init): Initialize it.
3005 (c-common-init): Only use mode-require-final-newline when available.
3006 (c-before-change): Check and set c-just-done-before-change.
3007 (c-after-change): Re-set c-just-done-before-change.
3008 (c-advise-fl-for-region): New macro.
3009 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
3010 (font-lock-after-change-function, jit-lock-after-change):
3013 * progmodes/cc-langs.el (c-modified-constant): New lang var.
3014 (c-known-type-key): Don't make a list just to throw it away.
3016 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
3017 Handle the case where categories are not available.
3018 (c-record-parse-state-state, c-replay-parse-state-state):
3019 Handle marker values.
3020 (c-before-change-check-<>-operators): Look for the `syntax-table'
3021 property rather than for the corresponding `category'.
3022 (c-looking-at-decl-block): Remove unused var
3023 `c-disallow-comma-in-<>-arglists'.
3024 (c-forward-<>-arglist-recur): Remove unused var
3025 `orig-record-found-types'.
3027 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
3028 (c-use-category): New const.
3029 (c-next-single-property-change): New macro.
3030 (c-region-is-active-p): Prefer region-active-p when available.
3031 (c-search-backward-char-property): Fix old min/max typo; probably
3033 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
3034 Turn them into macros that obey c-use-category.
3035 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
3036 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
3037 (c-sc-scan-lists, c-sc-parse-partial-sexp)
3038 (c-looking-at-non-alphnumspace): New macros.
3039 (c-sc-parse-partial-sexp-no-category): New function.
3040 (c-emacs-features): Add `category-properties' element.
3042 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
3043 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
3045 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
3046 (c-indent-line-or-region): Use c-region-is-active-p.
3048 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
3049 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
3050 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
3051 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
3052 (cc-bytecomp-obsolete-fun): Delete unused functions.
3054 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
3056 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3058 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
3061 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
3064 current "project" rather than just the current directory.
3065 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
3066 the file names make sense.
3068 * vc/smerge-mode.el (smerge-swap): New command.
3070 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
3072 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
3074 * net/newst-treeview.el (newsticker--treeview-item-show):
3075 Check window liveliness before measuring its width.
3077 * net/newst-backend.el (newsticker--get-news-by-url-callback):
3078 Pass correct status to `newsticker--sentinel-work'.
3079 (newsticker--sentinel-work): Use "newsticker--download-error" as
3080 guid in order to prevent multiple "Could not download..."
3081 messages. Fixes bug#19166.
3083 2014-12-01 Ivan Shmakov <ivan@siamics.net>
3085 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
3086 correct buffer (bug#19225).
3088 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3090 * net/nsm.el (network-security-level): Change the default to `medium'.
3092 * net/eww.el (eww): Leave point in a place that doesn't cause
3093 scrolling when displaying "Loading...".
3095 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3097 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
3098 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
3099 'merge-branch'. Prompting for merge revisions is pushed down to
3100 the back ends; this fixes a layering violation that caused bad
3103 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3104 vc-stay-local-p and repository-hostname are no longer public
3105 methods. Only the CVS and SVN backends used these, and the SVN
3106 support was conditioned out because svn status -v is too slow.
3107 The CVS back end retains this machinery and the vc-stay-local
3108 configuration variable now only affects it.
3110 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3112 * emacs-lisp/inline.el: New file.
3114 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
3116 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3117 vc-state-heuristic is no longer a public method, having been
3118 removed where it is redundant, unnecessary, or known buggy.
3119 This eliminated all backends except CVS. Eliminates bug#7850.
3121 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
3122 Eliminate vc-mistrust-permissions. It was only relevant to the
3123 RCS and SCCS back ends and defaulted to t. Code now always
3124 mistrusts permissions - by actual measurement the effect on
3125 performance is negligible. As a side effect bug#11490 is now
3128 * vc/vc.el, vc-hooks.el: All backends: API simplification;
3129 vc-workfile-unchanged-p is no longer a public method (but the RCS
3130 and SCCS back ends retain it as a private method used in state
3131 computation). This method was redundant with vc-state and usually
3132 implemented as a trivial call to same. Fixes the failure mode
3133 described in bug#694.
3135 * vc/vc.el: All backends: API simplification; init-revision is
3136 gone, and vc-registered functions no longer take an
3137 initial-revision argument.
3139 2014-11-29 Glenn Morris <rgm@gnu.org>
3141 * vc/vc-src.el (vc-src, vc-src-diff-switches)
3142 (vc-src-master-templates): Fix :version tags.
3144 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
3146 * outline.el (outline-move-subtree-down): Refactor and improve code.
3148 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3149 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * outline.el (outline-move-subtree-down): Make sure we can move
3152 forward to find the end of the subtree and the insertion point
3155 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3157 * progmodes/python.el (python-shell-completion-setup-code):
3158 Use __builtin__ module (or builtins in Python 3) and catch all errors
3159 when importing readline and rlcompleter.
3161 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3163 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
3164 (todo-revert-buffer): New function.
3165 (todo-modes-set-1): Use it as the buffer-local value of
3166 revert-buffer-function.
3168 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
3170 * calendar/todo-mode.el (todo-mode): If called interactively, just
3171 display a message saying to call todo-show to enter Todo mode
3174 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
3176 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
3179 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
3182 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3184 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
3185 remote `buffer-file-name'.
3187 2014-11-29 Leo Liu <sdl.web@gmail.com>
3189 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
3191 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3193 Set PYTHONUNBUFFERED on shell startup.
3195 * progmodes/python.el (python-shell-unbuffered): New var.
3196 (python-shell-calculate-process-environment): Use it.
3198 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3200 * net/tramp.el (tramp-action-password): Clean password on subsequent
3201 attempts even if there was no wrong password indication. (Bug#19047)
3203 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
3205 (tramp-open-connection-setup-interactive-shell): No need to check
3206 for nil as `tramp-get-remote-locale' return value.
3208 2014-11-29 Eli Zaretskii <eliz@gnu.org>
3210 * vc/vc-git.el (vc-git-command, vc-git--call):
3211 Bind coding-system-for-read and coding-system-for-write to
3212 vc-git-commits-coding-system.
3213 (vc-git-previous-revision): Use "~1" instead of "^", since the
3214 latter is a special character for MS-Windows system shells.
3216 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
3218 Improve XEmacs compatibility.
3220 * net/tramp.el (tramp-autoload-file-name-handler):
3221 Wrap `temporary-file-directory' by `symbol-value', it doesn't
3223 (tramp-read-passwd): Don't use `with-timeout-suspend' and
3224 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
3225 (tramp-time-less-p, tramp-time-subtract): Remove functions.
3226 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
3227 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
3228 * net/tramp-cache.el (tramp-get-file-property):
3229 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
3230 Use `time-less-p' and `time-subtract, respectively.
3232 * net/tramp-adb.el (top): Do not require time-date.el.
3234 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
3236 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3237 Check, whether `utf-8' is a valid coding system.
3239 2014-11-29 Eli Zaretskii <eliz@gnu.org>
3241 * vc/vc.el (vc-retrieve-tag): Doc fix.
3243 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
3248 2014-11-28 Martin Rudalics <rudalics@gmx.at>
3250 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
3251 * help.el (help-window-old-frame): New variable.
3252 (help-window-select): Default to nil (Bug#11039).
3254 (help-window-setup): When the help window appears on another
3255 frame and `help-window-select' is non-nil, give that frame input
3256 focus too (Bug#19012).
3257 (with-help-window): Store selected frame in
3258 help-window-old-frame.
3260 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
3262 * net/newst-treeview.el (newsticker--treeview-load): Take care of
3263 nil value for `newsticker-groups-filename'.
3265 2014-11-28 Daiki Ueno <ueno@gnu.org>
3267 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3268 (epa-sign-region, epa-encrypt-region):
3269 Use `epg-context-set-{passphrase,progress}-callback', instead of
3270 `setf'. This partially reverts commit 9e48a95c (bug#19150).
3271 Reported by José A. Romero L.
3273 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3275 * net/eww.el (eww-restore-history):
3276 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
3278 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
3280 * net/newst-backend.el (newsticker--parse-atom-1.0):
3281 Handle embedded (x)html in summary node.
3283 2014-11-27 Sam Steingold <sds@gnu.org>
3285 * menu-bar.el (menu-bar-open): When everything else fails,
3286 use (mouse-menu-bar-map).
3288 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
3290 * net/newst-treeview.el (newsticker-groups-filename):
3291 Change default value to nil. Point out that variable is obsolete in doc
3293 (newsticker--treeview-load): Change wording of the questions the
3294 user is asked when `newsticker-groups-filename' is found to be
3295 used and we offer to read and remove the groups file. (Bug#19165)
3297 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3299 * net/eww.el (eww): Record the new URL immediately, so that if the
3300 HTTP fetch fails, we have the right URL in the buffer.
3301 (eww-process-text-input): Don't shorten the input field if
3302 deleting at the last character (bug#19085).
3303 (eww-restore-history): Inhibit change functions while restoring
3305 (eww-process-text-input): Fix deletion at the start of the field, too.
3306 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
3307 (eww-process-text-input): Try to keep track of the size more reliably.
3309 * dom.el (dom-pp): New function.
3311 2014-11-27 Eli Zaretskii <eliz@gnu.org>
3313 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
3314 Don't assume --long is the default for "bzr log", always specify
3315 it explicitly, in case the user defined an alias for 'log' that
3316 uses some other format.
3318 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3320 * progmodes/python.el (python-eldoc--get-doc-at-point):
3321 Strip shell output before returning. (bug#18794)
3323 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
3325 Fix indentation before `!=' and after `+='. Originally reported
3326 in https://github.com/mooz/js2-mode/issues/174.
3327 * progmodes/js.el (js--indent-operator-re): Make assignments and
3328 (in)equality operator a separate case.
3329 (js--continued-expression-p): Escape the second `+' in the regexp.
3331 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3333 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
3335 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3337 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
3338 when querying about new certificates.
3340 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
3342 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
3344 (dom-elements): Protect against non-text nodes.
3345 (dom-non-text-children): New function.
3347 * net/eww.el (eww-tag-title): Use `dom-text'.
3349 2014-11-26 Sam Steingold <sds@gnu.org>
3351 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
3353 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3355 * net/eww.el (eww-highest-readability): More dom.el fixes.
3357 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
3359 * net/newst-backend.el (newsticker--parse-generic-items):
3360 Take care of UIDs when adding elements to cache.
3362 2014-11-26 Alan Mackenzie <acm@muc.de>
3364 Remove spurious reference to symbol category_properties.
3365 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
3367 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3369 * net/eww.el: Use the new dom.el accessors throughout.
3371 * net/shr.el: Ditto.
3375 2014-11-26 Glenn Morris <rgm@gnu.org>
3377 * arc-mode.el (archive-visit-single-files): Add :version.
3379 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3381 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
3383 (nsm-warnings-ok-p): The new version of this function always
3384 returned nil when everything was OK.
3386 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
3388 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
3390 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
3391 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
3393 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3395 * emacs-lisp/byte-run.el (function-put): Match argument names to
3398 2014-11-24 Sam Steingold <sds@gnu.org>
3400 * vc/vc-hooks.el (vc-directory-exclusion-list):
3401 Fix a trivial typo (bug#19171).
3403 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * vc/vc-hooks.el (vc-state-base-face): Don't override
3408 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3410 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
3411 (eww-process-text-input): Inhibit read only so that input fields
3412 don't get shortened (bug#19085).
3414 2014-11-24 Leo Liu <sdl.web@gmail.com>
3416 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
3418 * window.el (with-temp-buffer-window)
3419 (with-current-buffer-window, with-displayed-buffer-window):
3420 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
3421 * emacs-lisp/cl-lib.el (substring):
3422 * emacs-lisp/cl-extra.el (cl-getf): Use it.
3424 2014-11-24 Eli Zaretskii <eliz@gnu.org>
3426 * isearch.el (isearch-update): Don't assume
3427 pos-visible-in-window-p will return nil when point is hscrolled
3428 out of view. (Bug#19157)
3430 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
3432 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
3433 (eww-follow-link): Follow in new buffer in case of prefix
3434 argument, open externally with double prefix (bug#19130).
3436 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3438 * net/eww.el (eww-display-html): Decode the document-defined charset.
3439 (eww): Pop to the *eww* buffer immediately after executing the
3440 `M-x eww' command to avoid having buffers pop up later.
3441 (eww-display-html): Don't pop the *eww* buffer.
3442 (eww-display-raw): Ditto.
3443 (eww-display-image): Ditto.
3444 (eww-follow-link): Make going to #targets in the page work again.
3446 2014-11-23 Ivan Shmakov <ivan@siamics.net>
3448 * net/eww.el (eww-suggest-uris): New variable.
3449 (eww-suggested-uris): New function.
3450 (eww): Default to URL under point.
3451 (eww-links-at-point): New function.
3453 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3455 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
3457 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
3459 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
3461 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3463 * net/eww.el (eww-set-character-encoding): New command and keystroke.
3464 (eww-display-raw): Use it (bug#16225).
3466 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3468 * net/nsm.el (network-security-level): Rename from
3469 `nsm-security-level' and documented.
3471 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
3472 we're sending a password.
3474 * net/nsm.el: New file that implements a Network Security Manager.
3476 * net/network-stream.el (open-network-stream): Add a new
3477 :warn-unless-encrypted parameter.
3478 (network-stream-open-plain): Allow warning unless encrypted.
3479 (network-stream-open-starttls): Call the Network Security Manager.
3480 (network-stream-open-tls): Ditto.
3482 2014-11-23 Leo Liu <sdl.web@gmail.com>
3484 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
3485 (calendar-chinese-to-absolute-for-diary)
3486 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
3487 Handle leap months in Chinese calendar. (Bug#18953)
3489 2014-11-22 Alan Mackenzie <acm@muc.de>
3491 Fix error with `mark-defun' and "protected:" in C++ Mode.
3492 Fixes: debbugs:19134.
3494 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
3495 return code of (label) from c-beginning-of-decl-1.
3497 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
3499 * net/newst-backend.el (newsticker--sentinel-work):
3500 Tell `libxml-parse-xml-region' to discard comments. Fixes bug#18787.
3502 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
3504 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
3505 (tramp-sh-handle-process-file): Propagate `process-environment'.
3507 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
3508 Tramp propagates environment variables now.
3510 2014-11-22 Eric S. Raymond <esr@snark>
3512 * vc/vc-filewise.el: New file to isolate code used only by the
3513 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
3514 live in vc.el and certainly not in vc-hooks.el.
3516 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
3517 This is preparatory to isolating all the 'master' functions
3518 used only by the file-oriented back ends. With this done first,
3519 the substantive diffs will be easier to read.
3521 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3523 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
3524 that is recognized by `help-mode'.
3526 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * desktop.el (desktop-create-buffer): Use activate-mark to set
3529 `mark-active' (bug#19058).
3531 2014-11-21 Eric S. Raymond <esr@snark>
3533 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
3536 2014-11-21 Eli Zaretskii <eliz@gnu.org>
3538 * vc/vc.el (vc-deduce-fileset): Support invocation from
3539 *vc-change-log* buffer. (Bug#19084)
3541 2014-11-13 Matthew Leach <matthew@mattleach.net>
3543 * arc-mode.el (archive-visit-single-files): New.
3544 (archive-mode): Visit file if archive contains a single file.
3547 2014-11-21 Ulrich Müller <ulm@gentoo.org>
3549 * vc/vc.el: Fix a typo in the commentary.
3551 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
3553 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
3554 testing and a real log-view mode.
3556 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
3557 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
3558 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
3559 checkout methods; where it matters (which is only in SCCS and RCS)
3560 files are always checked out editable. This may actually have
3561 been dynamically true already - it looks like the vc-next-action
3562 code evolved past visiting the other case. Tested with RCS.
3564 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
3565 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
3566 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
3567 argument from the backend checkin methods. Only the RCS, SCCS,
3568 and CVS back ends tried to do anything with it, and that code was
3569 never exercised. Chiseling away the cruft of decades...
3571 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3573 * net/eww.el (eww-render): Remove a no-op :title setting.
3575 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3577 * net/eww.el (eww-history-limit): New variable.
3578 (eww-save-history): Use it (bug#19105).
3579 (eww-reload): Reload the page in the right buffer.
3581 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3583 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
3585 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3587 * net/eww.el (eww-desktop-remove-duplicates)
3588 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
3589 (eww-mode): Set up desktop mode (bug#18010).
3590 (eww-desktop-data-save, eww-desktop-data-1)
3591 (eww-desktop-history-duplicate, eww-desktop-misc-data)
3592 (eww-restore-desktop): New functions.
3594 2014-11-19 Eli Zaretskii <eliz@gnu.org>
3596 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
3597 correct buffer. (Bug#19101)
3599 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3601 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
3602 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
3604 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
3606 * ido.el (ido-bury-buffer-at-head): New command.
3607 (ido-buffer-completion-map): Bind it to C-S-b.
3609 2014-11-18 Juri Linkov <juri@linkov.net>
3611 * simple.el (next-line-or-history-element): Wrap next-line
3612 in with-no-warnings.
3613 (previous-line-or-history-element): Wrap previous-line
3614 in with-no-warnings.
3616 2014-11-18 Juri Linkov <juri@linkov.net>
3618 * progmodes/grep.el (grep-compute-defaults):
3619 Compute grep-highlight-matches before its use.
3621 2014-11-18 Juri Linkov <juri@linkov.net>
3623 * replace.el (query-replace-from-to-separator): Turn defvar into
3624 defcustom. Wrap char-displayable-p in ignore-errors because an
3625 attempt to autoload char-displayable-p fails during pre-loading.
3626 Move (propertize "\0" ... 'separator t) out of customizable part
3627 to query-replace-read-from.
3628 (query-replace-read-from): Call custom-reevaluate-setting on
3629 query-replace-from-to-separator to reevaluate the separator
3630 depending on the return value of char-displayable-p.
3631 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
3633 2014-11-18 Juri Linkov <juri@linkov.net>
3635 * bindings.el (minibuffer-local-map): Rebind [down] from
3636 next-history-element to next-line-or-history-element, and [up]
3637 from previous-history-element to previous-line-or-history-element.
3639 * simple.el (next-line-or-history-element)
3640 (previous-line-or-history-element): New commands.
3641 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
3643 2014-11-18 Leo Liu <sdl.web@gmail.com>
3645 * emacs-lisp/nadvice.el (define-advice): New macro.
3646 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3648 (lisp-font-lock-keywords-1): Add define-advice.
3650 2014-11-18 Daiki Ueno <ueno@gnu.org>
3652 * epg.el (epg-context): New slot EDIT-CALLBACK.
3653 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
3654 (epg-reset): Reset EDIT-CALLBACK of the context.
3655 (epg-start-edit-key): New function.
3656 (epg-edit-key): New function.
3658 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
3660 Port new time stamp handling to Emacs 23.2.
3661 This fix is for Gnus. Reported by Katsumi Yamaoka.
3662 * calendar/time-date.el (time-add, time-subtract, time-less-p):
3663 Use eval-and-compile, not eval-when-compile.
3665 2014-11-18 Daiki Ueno <ueno@gnu.org>
3667 * epg.el (epg-context-set-passphrase-callback)
3668 (epg-context-set-progress-callback): Check if the CALLBACK
3669 argument is a function, instead of a cons.
3671 2014-11-18 Daiki Ueno <ueno@gnu.org>
3673 * epa-file.el (epa-file-insert-file-contents)
3674 (epa-file-write-region): Remove redundant check of
3676 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
3677 (epa-sign-region, epa-encrypt-region): Remove redundant check of
3680 2014-11-18 Daiki Ueno <ueno@gnu.org>
3682 * epa-file.el (epa-file-insert-file-contents): Don't show
3683 "*Error*" buffer if input file does not exist.
3684 Reported by Herbert J. Skuhra.
3686 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
3687 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3689 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
3690 An alternative version of the patch from bug#13871.
3691 (c-operators): Add "alignof".
3692 (c-primitive-type-kwds): Add "char16_t", "char32_t".
3693 (c-type-modifier-kwds): Add "constexpr", "noexcept".
3694 (c-modifier-kwds): Add "thread_local".
3695 (c-constant-kwds): Add "nullptr".
3697 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
3699 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
3700 New variables for specifying tildify pattern and representation of
3701 a hard space -- a no-break space by default -- respectively.
3702 Being buffer-local they are much easier to handle than
3703 `tildify-string-alist' and `tildify-pattern-alist' respectively
3704 that have been used so far. They also works better with derived
3706 (tildify-foreach-region-function): New variable specifying
3707 a function determining portions of buffer that should be
3708 tildified. It allows major modes to create a filtering function
3709 more elaborate than a set of regular expressions. Initialised to
3710 `tildify--deprecated-ignore-evironments' by default to handle now
3711 deprecated `tildify-ignored-environments-alist' variable.
3712 (tildify--foreach-region): A new function that takes
3713 `tildify-foreach-region-function' into account and calls callback
3714 for regions of the buffer that should be tildified.
3715 (tildify-foreach-ignore-environments): A new function which can be
3716 partially applied and used as `tildify-foreach-region-function'.
3717 (tildify-ignored-environments-alist, tildify-pattern)
3718 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
3719 (tildify--find-env): Rename from `tildify-find-env' and mark as
3721 (tildify--deprecated-ignore-evironments): New function,
3722 immediately marked as obsolete, used to handle deprecated
3723 `tildify-ignored-environments-alist'.
3725 * textmodes/tex-mode.el (tex-common-initialization):
3726 Set `tildify-space-string' and `tildify-foreach-region-function'
3727 variables in all variants of TeX mode since `tildify-string-alist'
3728 and `tildify-ignored-environments-alist' are now empty by default.
3730 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
3731 If encoding supports it use no-break space instead of character
3732 entity; this changes previous default which used a numeric
3735 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
3736 If encoding does not support no-break space, use numeric reference;
3737 this changes previous default which used named entity (“ ”)
3740 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
3742 * calendar/icalendar.el (icalendar-export-alarms):
3743 New customizable variable. (Bug#5433)
3744 (icalendar-export-region): Export alarms as specified in
3745 `icalendar-export-alarms'.
3746 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
3747 New functions for exporting alarms.
3749 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3751 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
3753 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
3755 Port new time stamp handling to old Emacs and to XEmacs.
3756 This is needed for Gnus, which copies time-date.el and which
3757 runs on older Emacs implementations.
3758 * calendar/time-date.el (with-decoded-time-value):
3759 Handle 'nil' and floating-point arg more compatibly with new Emacs.
3760 (encode-time-value, with-decoded-time-value):
3761 Obsolete only if new Emacs.
3762 (time-add, time-subtract, time-less-p): Define if not new Emacs.
3764 Improve time stamp handling, and be more consistent about it.
3765 This implements a suggestion made in:
3766 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
3767 Among other things, this means timer.el no longer needs to
3768 autoload the time-date module.
3769 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
3770 * arc-mode.el (archive-ar-summarize):
3771 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
3772 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
3773 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
3774 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3775 * proced.el (proced-time-lessp):
3776 * timezone.el (timezone-time-from-absolute):
3777 * type-break.el (type-break-schedule, type-break-time-sum):
3778 Simplify by using new functionality.
3779 * calendar/cal-dst.el (calendar-next-time-zone-transition):
3780 Do not return time values in obsolete and undocumented (HI . LO)
3781 format; use (HI LO) instead.
3782 * calendar/time-date.el (with-decoded-time-value):
3783 Treat 'nil' as current time. This is mostly for XEmacs.
3784 (encode-time-value, with-decoded-time-value): Obsolete.
3785 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
3786 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
3787 * ldefs-boot.el: Update to match new time-date.el
3788 * proced.el: Do not require time-date.
3790 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792 * net/eww.el (eww-mode): Make the buffer read-only.
3793 (eww-form-text): Inhibit read-only-ness in text input fields
3796 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * simple.el (execute-extended-command--shorter): Cut search here.
3799 (execute-extended-command): Instead of here.
3801 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3803 * progmodes/python.el (python-mode): Avoid use of set-local to
3804 keep Emacs 24.x compatibility.
3806 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3808 * net/shr.el (shr): Move to the new defgroup `web'.
3810 * net/eww.el (eww): Ditto.
3812 * simple.el (execute-extended-command): Don't show the help
3813 message if the binding isn't significantly shorter than the
3814 M-x command the user typed (bug#19013).
3816 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
3818 * calendar/icalendar.el (icalendar--convert-tz-offset):
3819 Return complete cons when offsets of standard time and daylight saving
3821 (icalendar-export-region): Fix unbound variable warning.
3823 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3825 * progmodes/python.el (run-python): Allow CMD to be optional and
3826 default it to a safe command, even for Windows. (bug#18596)
3828 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3830 * progmodes/python.el (python-shell-calculate-command):
3831 Rename from python-shell-parse-command. Cleanup.
3832 (run-python, run-python-internal): Use it.
3833 (python-shell-calculate-pythonpath): Rename from
3834 python-new-pythonpath.
3835 (python-shell-calculate-process-environment): Use it.
3836 (python-shell-calculate-exec-path): Add comment.
3838 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
3840 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
3843 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
3845 * version.el (emacs-repository-get-version): Use git rev-parse
3848 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3850 * progmodes/python.el (python-indent-calculate-levels):
3851 Fix indentation behavior multiline dedenter statement. (Bug#18432)
3853 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
3855 * progmodes/python.el (python-indent-region):
3856 Use python-indent-line and skip special cases. (Bug#18843)
3858 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
3860 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
3861 envelope-from when reporting through sendmail (bug#19054).
3863 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
3865 Add faces for the VC modeline state indicator.
3867 (vc-state-faces, vc-state-base-face)
3868 (vc-up-to-date-state, vc-needs-update-state)
3869 (vc-locked-state, vc-locally-added-state)
3870 (vc-conflict-state, vc-removed-state)
3871 (vc-missing-state, vc-edited-state):
3873 (vc-default-mode-line-string): Use them
3875 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
3879 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3881 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
3883 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
3885 * progmodes/python.el (python-eldoc-setup-code): Enhance string
3886 type checks, simplify printing. (Bug#18962)
3888 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
3890 * progmodes/python.el (python-shell-font-lock-kill-buffer):
3891 (python-shell-font-lock-with-font-lock-buffer)
3892 (python-shell-get-buffer, python-ffap-module-path):
3893 Use `derived-mode-p' instead of equality test on `major-mode'.
3895 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3897 * progmodes/python.el (python-shell-virtualenv-root): Rename from
3898 python-shell-virtualenv-path.
3899 (python-shell-internal-get-process-name)
3900 (python-shell-calculate-process-environment)
3901 (python-shell-calculate-exec-path): Use it.
3903 2014-11-14 Eli Zaretskii <eliz@gnu.org>
3905 * bindings.el (search-map): Fix last change: don't use 'kbd' in
3906 bindings.el, since it is not yet loaded when bindings.el is
3909 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
3911 * progmodes/python.el (python-shell-completion-get-completions):
3914 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3916 * net/eww.el (eww-render): Don't set the title to the URL.
3918 2014-11-13 Ulrich Müller <ulm@gentoo.org>
3920 * version.el (emacs-repository-get-version): Call `git log'
3921 command with proper format argument (bug#19049).
3923 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3925 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
3927 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3929 * net/eww.el (eww-search-words): New command (bug#16258).
3931 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3933 * net/shr.el (shr-inhibit-images): Add a doc string.
3935 * net/eww.el (eww-after-render-hook): New variable.
3936 (eww-render): Use it.
3938 * net/shr.el (shr-descend): Don't descend further than
3939 `max-specpdl-size' allows (bug#16587).
3940 (shr-depth): New variable.
3941 (shr-warning): New variable.
3943 2014-11-13 Ivan Shmakov <ivan@siamics.net>
3945 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
3946 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
3948 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3950 * net/eww.el (eww): Add comment to clarify.
3952 * net/shr.el (shr-parse-image-data): Remove blocked bits from
3953 external SVG images.
3954 (shr-tag-object): Display images in <object> forms (bug#16244).
3955 (shr-tag-table): Also insert <objects> after the tables.
3957 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
3959 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
3961 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3963 * net/eww.el (eww-form-file): Fix version number.
3965 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3967 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
3969 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3971 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
3972 (eww-submit-file): New key map of file upload.
3973 (eww-form-file): New file upload button and file name context.
3974 (eww-select-file): Select file and display selected file name.
3975 (eww-tag-input): Handle input tag of file type.
3976 (eww-update-field): Add point offset.
3977 (eww-submit): Add submit with multipart/form-data.
3979 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3981 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
3982 Allow taking a buffer to render data in. This allows using several
3983 eww buffers (bug#16211).
3985 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
3987 * net/eww.el (eww-download-callback): Save only the file contents,
3990 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3992 * net/eww.el (eww-data): New plist to store all the data relevant
3993 to a single page, used throughout the file instead of the
3994 variables `eww-current-url', `eww-current-dom',
3995 `eww-current-source', and `eww-current-title'.
3996 (eww-readable): Copy over pertinent data from the parent page.
3997 (eww-save-history): Don't let the history grow infinitely.
3999 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
4000 `eww-up-url', `eww-home-url', `eww-start-url' and
4001 `eww-contents-url' and put the data into the `eww-data' plist.
4002 This allow restoring these values after going back in the history.
4004 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
4006 Allow VTIMEZONE where daylight and standard time zones are equal.
4007 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
4008 * calendar/icalendar.el (icalendar--convert-tz-offset):
4009 Support timezone without daylight saving time.
4011 2014-11-10 Glenn Morris <rgm@gnu.org>
4013 * startup.el (command-line): Handle nil elements in load-path.
4015 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4017 * help.el (view-lossage): Include the actual commands run.
4019 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
4021 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
4022 no state is specified. (Bug#18964)
4024 2014-11-09 Eric Ludlam <zappo@gnu.org>
4026 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4027 Set eieio-cog (current group) to g, which is an improved form of input
4030 2014-11-09 Juri Linkov <juri@jurta.org>
4032 * isearch.el (isearch-message-prefix): Show "Multi-file" and
4033 "Multi-buffer" instead of "Multi". (Bug#13592)
4035 * misearch.el (multi-isearch-file-list):
4036 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
4037 (multi-isearch-end): Reset multi-isearch-buffer-list and
4038 multi-isearch-file-list to nil.
4040 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4043 Don't call byte-compile-preprocess since the result will go through
4045 (byte-compile-output-docform): Handle uninterned `name' correctly.
4046 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
4047 to circumvent byte-compiler bug.
4049 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
4050 (macroexp--compiler-macro): Remove left-over debug code.
4052 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
4054 2014-11-08 Juri Linkov <juri@jurta.org>
4056 * simple.el (shell-command): Use buffer-name when output-buffer is
4057 a buffer. (Bug#18096)
4059 2014-11-08 Juri Linkov <juri@jurta.org>
4061 * minibuffer.el (minibuffer-completion-help): Compare this-command
4062 with completion-at-point. (Bug#17809)
4064 2014-11-08 Glenn Morris <rgm@gnu.org>
4066 * emacs-lisp/bytecomp.el (byte-compile-report-error):
4067 Allow the argument to be a string. Due to the vague doc,
4068 it was already being used this way.
4070 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4072 * net/tramp.el (tramp-check-cached-permissions): Include hop in
4073 the constructed Tramp file name. (Bug#18943)
4075 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4077 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
4079 (cua-set-mark, cua--post-command-handler-1):
4080 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
4082 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4084 * files.el (file-name-non-special): Wrap the call of
4085 `insert-file-contents' by `unwind-protect', in order to set the
4086 buffer's file name anyway. (Bug#18891)
4088 2014-11-08 Alan Mackenzie <acm@muc.de>
4090 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
4091 * progmodes/cc-fonts.el (c-font-lock-declarations):
4092 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
4093 the buffer is sometimes narrowed to less than "limit" (e.g., in
4094 the presence of macros).
4096 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
4098 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
4099 only when message appeared in minibuffer. (Bug#18891)
4101 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
4102 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
4103 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
4106 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4108 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4109 Don't compile before eval in `eval-and-compile'.
4110 (byte-compile-arglist-warn): Add check for defining macros after their
4111 first use. Check call use even if the function is fboundp.
4113 2014-11-08 Richard Stallman <rms@gnu.org>
4115 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
4116 Check more carefully for mime-part specified character set.
4117 Check for mime-part Content Transfer Encoding.
4118 Notify if no armor found.
4120 2014-11-08 Martin Rudalics <rudalics@gmx.at>
4122 * faces.el (face-set-after-frame-default): Enable running
4123 `window-configuration-change-hook'.
4125 2014-11-07 Juri Linkov <juri@jurta.org>
4127 * replace.el: History for query replace pairs.
4128 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
4129 (query-replace-from-to-separator): New variable.
4130 (query-replace-read-from): Let-bind query-replace-from-to-history
4131 to a list of FROM-TO strings created from query-replace-defaults
4132 and separated by query-replace-from-to-separator. Use it as
4133 the history while reading from the minibuffer. Split the returned
4134 string by the separator to get FROM and TO parts, and add them
4135 to the history variables.
4136 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
4137 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
4138 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
4140 * isearch.el (isearch-text-char-description): Keep characters
4141 intact and put formatted strings with the `display' property.
4143 2014-11-07 Martin Rudalics <rudalics@gmx.at>
4145 * cus-start.el (frame-resize-pixelwise): Fix group.
4146 (frame-inhibit-implied-resize): Add entry.
4148 2014-11-07 Daiki Ueno <ueno@gnu.org>
4150 * epa.el (epa-pinentry-mode): New user option.
4151 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4152 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
4153 * epa-file.el (epa-file-insert-file-contents)
4154 (epa-file-write-region): Respect epa-pinentry-mode.
4156 2014-11-07 Daiki Ueno <ueno@gnu.org>
4158 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
4159 (bug#18979). Reported by Hideki Saito.
4161 2014-11-06 Daiki Ueno <ueno@gnu.org>
4163 * emacs-lisp/package.el (package--display-verify-error): New function.
4164 (package--check-signature): Use it to display output sent to stderr.
4166 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * subr.el (pop): Don't call the getter twice (bug#18968).
4170 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
4173 2014-11-06 Daiki Ueno <ueno@gnu.org>
4175 * epa.el (epa-error-buffer): New variable.
4176 (epa-display-error): New function.
4177 (epa-decrypt-file, epa-verify-file, epa-verify-region)
4178 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
4179 (epa-sign-file, epa-sign-region, epa-encrypt-region)
4180 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
4181 Use setf instead of epg-context-set-*.
4182 * epa-file.el (epa-file-insert-file-contents):
4183 Use epa-display-error instead of epa-display-info. Mimic the behavior
4184 of jka-compr when decryption program is not found.
4185 (epa-file-write-region): Use epa-display-error instead of
4188 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4190 * vc/vc.el (vc-region-history): New command.
4191 (vc-print-log-internal): Use cl-some.
4193 * vc/vc-git.el (vc-git-region-history): New function.
4194 (vc-git-region-history-mode-map)
4195 (vc-git--log-view-long-font-lock-keywords)
4196 (vc-git-region-history-font-lock-keywords): New vars.
4197 (vc-git-region-history-font-lock): New function.
4198 (vc-git-region-history-mode): New major mode.
4200 2014-11-05 Tassilo Horn <tsdh@gnu.org>
4202 * net/eww.el (subr-x): Require subr-x at compile-time because eww
4205 2014-11-05 Daiki Ueno <ueno@gnu.org>
4207 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
4208 (epg-error-output): New buffer-local variable.
4209 (epg--start): Initialize epg-error-output.
4210 (epg--process-filter): Record output lines sent to stderr, in
4212 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
4214 * epa-file.el (epa-file-insert-file-contents): On error, display
4215 output sent to stderr.
4216 (epa-file-write-region): Likewise.
4218 2014-11-05 Eli Zaretskii <eliz@gnu.org>
4220 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
4221 returned by load-average.
4223 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
4225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
4226 a local copy; setting `inhibit-file-name-handlers' proper might be
4227 more performant. (Bug#18751)
4229 2014-11-05 Glenn Morris <rgm@gnu.org>
4231 * mail/emacsbug.el (report-emacs-bug): No longer include
4232 recent-keys in the report. (Bug#18900)
4234 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
4236 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
4238 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4240 * net/eww.el (eww): Trim URL with `string-trim'.
4241 Suggested by Vibhav Pant <vibhavp@gmail.com>.
4243 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4245 * net/eww.el (eww-score-readability): Don't count comments positively.
4247 * net/shr.el (shr-retransform-dom): Typo fix.
4249 * net/eww.el (eww-score-readability): Parse SVC images correctly.
4250 (eww-display-html): Don't leave point inside forms.
4252 * net/shr.el: Ditto.
4254 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4256 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
4257 edebug-prin1-to-string already handles circularity.
4259 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
4260 autoloading when specified as a lambda.
4262 * simple.el (execute-extended-command--last-typed): New var.
4263 (read-extended-command): Set it.
4264 Don't complete obsolete commands.
4265 (execute-extended-command--shorter-1)
4266 (execute-extended-command--shorter): New functions.
4267 (execute-extended-command): Use them to suggest shorter names.
4268 (indicate-copied-region, deactivate-mark): Use region-active-p.
4270 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
4272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
4273 local copy of FILENAME, when it is remote. (Bug#18751)
4275 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
4276 an error when the command fails; the return code must indicate.
4277 (tramp-adb-send-command-and-check): Fix docstring.
4279 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4281 * net/shr.el (shr-retransform-dom): Don't ignore elements that
4282 have no children like <br />.
4284 * net/eww.el (eww-display-html): Clear `url-queue'.
4285 (eww-display-pdf): New function.
4286 (eww-render): Display PDFs with `doc-view'.
4287 (url-queue): Require `url-queue' to avoid compilation warning.
4288 (eww-colorize-region): Remove duplicate function.
4289 (eww-tag-body): Use `shr-colorize-region'.
4291 2014-11-03 Yoni Rabkin <yrk@gnu.org>
4293 * net/eww.el (eww-list-bookmarks): Autoload.
4295 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4297 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
4299 * net/eww.el (eww-display-html): The charset is called `utf-8',
4301 (eww-readable): Decode the saved text correctly.
4302 (eww-readable): Save the history before displaying so that we can
4303 go back to the non-readable version.
4304 (eww-display-html): Don't try to decode the text if we've been
4305 passed in a pre-parsed DOM.
4306 (eww-tag-title): Remove newlines and extra whitespace from the
4309 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4311 * net/eww.el (eww-readable): New command and keystroke.
4313 * net/shr.el (shr-retransform-dom): New function.
4315 * net/eww.el (eww-display-html): Set `eww-current-source' in the
4317 (eww-view-source): Use it.
4319 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4321 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
4324 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
4326 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
4328 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4330 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
4332 2014-11-02 Ivan Shmakov <ivan@siamics.net>
4334 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
4337 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
4339 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
4341 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
4343 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4345 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
4347 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
4349 2014-11-01 Michael R. Mauger <michael@mauger.com>
4351 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
4352 syntax, add new keywords, and parse longer keywords first.
4353 (sql-redirect-one): Protect against empty command.
4354 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
4357 2014-11-01 Michael R. Mauger <michael@mauger.com>
4359 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
4360 Bug#16814 with let-bind of comint-input-ring variables around read
4363 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
4365 * net/tramp-cache.el (tramp-get-file-property)
4366 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
4367 and `tramp-cache-set-count-*' are bound. Otherwise, there might
4368 be compiler warnings.
4370 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
4371 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
4373 2014-11-01 Eli Zaretskii <eliz@gnu.org>
4375 * progmodes/compile.el (compilation-mode): Turn off deferred
4376 fontifications locally. (Bug#18856)
4378 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
4380 * net/tramp-sh.el (tramp-send-command): Fix the case where the
4381 remote-echo connection property is non-nil (bug#18858).
4383 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
4385 * simple.el (newline): Add assertions to try and help catch bug#18913.
4387 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
4389 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
4391 2014-11-01 Kim F. Storm <storm@cua.dk>
4393 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
4394 * delsel.el (delete-selection-save-to-register)
4395 (delsel--replace-text-or-position): New vars.
4396 (delete-active-region): Use them.
4397 (delete-selection-repeat-replace-region): New command, moved from
4399 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
4400 (cua-repeat-replace-region): Move command to delsel.el.
4401 (cua--init-keymaps): Update binding accordingly.
4402 (cua-mode): Set delete-selection-save-to-register.
4404 2014-11-01 Alan Mackenzie <acm@muc.de>
4406 Make blink-parens work with a closing template delimiter.
4407 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
4408 before calling blink-paren-function, so as to apply syntax-table
4409 properties to the ">".
4411 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
4413 * select.el (gui-get-selection): Comment: data-type ignored on NS.
4415 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
4418 (macroexp--expand-all): Unrelated tweaks.
4420 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
4422 2014-10-30 Glenn Morris <rgm@gnu.org>
4424 * startup.el (command-line): Remove pointless attempt to avoid
4425 statting the file-system (which expand-file-name doesn't do).
4427 2014-10-30 Daniel Colascione <dancol@dancol.org>
4429 Add "enum class" support to C++ mode.
4430 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
4431 (c-after-brace-list-key): New language consts/variables.
4432 * progmodes/cc-engine.el (c-looking-at-decl-block):
4433 Exclude spurious match of "enum struct" from decl-block recognition.
4434 (c-backward-colon-prefixed-type): New function.
4435 (c-backward-over-enum-header): Call above function to extend
4436 recognition of enum structure.
4438 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4440 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
4442 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
4444 2014-10-30 Eli Zaretskii <eliz@gnu.org>
4446 * progmodes/compile.el (compilation-start):
4447 If compilation-scroll-output is non-nil, don't force window-start of
4448 the compilation buffer to be at beginning of buffer. (Bug#18874)
4450 * startup.el (fancy-about-text): Read the entire tutorial, not
4451 just its first 256 bytes. (Bug#18760)
4453 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4455 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
4456 * emacs-lisp/cl-extra.el: Add missing provide.
4458 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
4459 all args are copyable (bug#18767).
4460 (=, <, >, <=, >=): Re-enable the optimization.
4462 2014-10-29 Glenn Morris <rgm@gnu.org>
4464 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
4466 * version.el (emacs-bzr-version, emacs-bzr-get-version):
4467 Revert 2014-10-26 change.
4469 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
4471 Simplify use of current-time and friends.
4472 * allout-widgets.el (allout-widgets-hook-error-handler):
4473 * calendar/appt.el (appt-display-message):
4474 * calendar/icalendar.el (icalendar--convert-float-to-ical):
4475 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
4476 (timeclock-last-period, timeclock-day-base):
4477 * eshell/em-ls.el (eshell-ls-file):
4478 * eshell/esh-util.el (eshell-parse-ange-ls):
4479 * generic-x.el (named-database-print-serial):
4480 * net/newst-backend.el (newsticker--get-news-by-url-callback)
4481 (newsticker-get-news, newsticker--sentinel-work)
4482 (newsticker--image-get, newsticker--image-sentinel):
4483 * net/tramp-sh.el (tramp-get-remote-touch):
4484 * progmodes/opascal.el (opascal-debug-log):
4485 * textmodes/remember.el (remember-mail-date)
4486 (remember-store-in-files):
4487 * vc/vc-annotate.el (vc-annotate-display-autoscale)
4488 (vc-default-annotate-current-time):
4489 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
4490 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
4491 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
4492 Omit unnecessary call to current-time.
4493 * calendar/time-date.el (time-to-seconds) [!float-time]:
4494 * vc/vc-annotate.el (vc-annotate-convert-time):
4495 Use current time if arg is nil, to be compatible with float-time.
4496 (time-date--day-in-year): New function, with most of the guts of
4497 the old time-to-day-in-year.
4498 (time-to-day-in-year): Use it.
4499 (time-to-days): Use it, to avoid decoding the same time stamp twice.
4500 * calendar/timeclock.el (timeclock-time-to-date):
4501 Arg is now optional, like current-time-string.
4502 (timeclock-update-mode-line):
4503 Don't call current-time twice to get the current time stamp,
4504 as this can lead to inconsistent results.
4505 * completion.el (cmpl-hours-since-origin):
4506 * ido.el (ido-time-stamp):
4507 * vc/vc-annotate.el (vc-annotate-convert-time):
4508 Simplify by using float-time.
4509 * completion.el (save-completions-to-file):
4510 Rename local var to avoid confusion.
4511 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
4512 time-to-seconds now behaves like float-time with respect to nil arg.
4513 * subr.el (progress-reporter-do-update):
4514 Don't call float-time unless needed.
4516 2014-10-29 Leo Liu <sdl.web@gmail.com>
4518 * net/rcirc.el (rcirc-fill-column): Use function.
4519 (rcirc-markup-fill): Remove adjustment.
4521 2014-10-28 Christopher Schmidt <ch@ristopher.com>
4523 * calc/calc.el (quick-calc):
4524 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
4526 2014-10-28 Sam Steingold <sds@gnu.org>
4528 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
4529 the sake of `window-body-width' (in addition to `frame-width').
4531 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
4533 * version.el: Fix some fallback values to conform to the actual
4536 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
4538 * Makefile.in: Change some production names so they're neutral
4539 about the repository type.
4541 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
4543 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
4544 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
4545 during initialization. (Bug#18774)
4547 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
4549 * ses.el (macroexp): Add require for this package, so that
4550 function `ses--cell' gets macroexp-quote --- this change was
4551 supposed to be in my previous commit, but left out by mistake.
4552 (ses--cell): Do not make formula a macroexp-quote of value when
4553 value, not formula, is *skip*.
4555 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4557 * ses.el (macroexp): Add require for this package, so that function
4558 `ses--cell gets macroexp-quote.
4559 (ses--cell): Makes formula a macroexp-quote of value when formula
4560 is nil. The rationale of this changr is to allow in the future
4561 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
4562 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
4563 reference list REFLIST would be re-computed after load --- thus
4564 trading off load time against file size.
4566 * emacs-lisp/package.el (package--alist-to-plist-args):
4567 Use macroexp-quote instead of a lambda expression which has the same
4568 content as macroexp-quote.
4569 (macroexp): Add require for this package, so that function
4570 `package--alist-to-plist-args' gets macroexp-quote.
4572 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
4574 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4576 * term/ns-win.el (ns-store-cut-buffer-internal)
4577 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
4579 2014-10-24 Martin Rudalics <rudalics@gmx.at>
4581 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
4582 Calculate increment from last position instead of window edge.
4583 Add right- and bottom-divider bindings to transient map.
4585 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
4588 even if :predicate was nil, for the benefit of typep.
4589 Record the name of the predicate for typep's use.
4590 (cl--make-type-test): Use pcase. Obey new
4591 cl-deftype-satisfies property.
4593 * epg.el: Use cl-defstruct.
4594 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
4595 (epg-data-string): Define via cl-defstruct.
4596 (epg--gv-nreverse): New macro.
4597 (epg-context--make): New constructor (provided vi cl-defstruct).
4598 (epg-make-context): Rewrite using it.
4599 (epg-context-protocol, epg-context-program)
4600 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
4601 (epg-context-include-certs, epg-context-cipher-algorithm)
4602 (epg-context-digest-algorithm, epg-context-compress-algorithm)
4603 (epg-context-passphrase-callback, epg-context-progress-callback)
4604 (epg-context-signers, epg-context-sig-notations, epg-context-process)
4605 (epg-context-output-file, epg-context-result, epg-context-operation)
4606 (epg-context-pinentry-mode): Define using cl-defstruct.
4607 (epg-context-set-protocol, epg-context-set-program)
4608 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
4609 (epg-context-set-digest-algorithm)
4610 (epg-context-set-sig-notations, epg-context-set-process)
4611 (epg-context-set-output-file, epg-context-set-result)
4612 (epg-context-set-operation, epg-context-set-pinentry-mode)
4613 (epg-context-set-compress-algorithm): Remove. Use setf instead.
4614 (epg-context-set-armor, epg-context-set-textmode)
4615 (epg-context-set-signers): Redefine using setf
4616 and declare as obsolete.
4617 (epg-context-set-passphrase-callback)
4618 (epg-context-set-progress-callback): Use setf.
4619 (epg-signature-notations): Rename from epg-sig-notations.
4620 (epg-make-signature, epg-signature-status, epg-signature-key-id)
4621 (epg-signature-validity, epg-signature-fingerprint)
4622 (epg-signature-creation-time, epg-signature-expiration-time)
4623 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
4624 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
4625 (epg-signature-set-status, epg-signature-set-key-id)
4626 (epg-signature-set-validity, epg-signature-set-fingerprint)
4627 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
4628 (epg-signature-set-pubkey-algorithm)
4629 (epg-signature-set-digest-algorithm, epg-signature-set-class)
4630 (epg-signature-set-version, epg-signature-set-notations): Remove.
4632 (epg-make-new-signature, epg-new-signature-type)
4633 (epg-new-signature-pubkey-algorithm)
4634 (epg-new-signature-digest-algorithm, epg-new-signature-class)
4635 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
4636 Define using cl-defstruct.
4637 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
4638 (epg-key-user-id-list): Define using cl-defstruct.
4639 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
4641 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
4642 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
4643 (epg-sub-key-id, epg-sub-key-creation-time)
4644 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
4646 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
4647 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
4648 (epg-user-id-signature-list): Define using cl-defstruct.
4649 (epg-user-id-set-signature-list): Remove. Use setf instead.
4650 (epg-make-key-signature, epg-key-signature-validity)
4651 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
4652 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
4653 (epg-key-signature-user-id, epg-key-signature-class)
4654 (epg-key-signature-exportable-p): Define using cl-defstruct.
4655 (epg-make-sig-notation, epg-sig-notation-name)
4656 (epg-sig-notation-value, epg-sig-notation-human-readable)
4657 (epg-sig-notation-critical): Define using cl-defstruct.
4658 (epg-sig-notation-set-value): Remove. Use setf instead.
4659 (epg-make-import-status, epg-import-status-fingerprint)
4660 (epg-import-status-reason, epg-import-status-new)
4661 (epg-import-status-user-id, epg-import-status-signature)
4662 (epg-import-status-sub-key, epg-import-status-secret): Define using
4664 (epg-make-import-result, epg-import-result-considered)
4665 (epg-import-result-no-user-id, epg-import-result-imported)
4666 (epg-import-result-imported-rsa, epg-import-result-unchanged)
4667 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
4668 (epg-import-result-new-signatures, epg-import-result-new-revocations)
4669 (epg-import-result-secret-read, epg-import-result-secret-imported)
4670 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
4671 (epg-import-result-imports): Define using cl-defstruct.
4673 * emacs-lisp/package.el: Require EPG during macroexpansion.
4674 (package--check-signature, package-import-keyring): Use setf instead of
4675 epg-context-set-home-directory.
4677 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4679 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
4681 2014-10-23 Leo Liu <sdl.web@gmail.com>
4683 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
4684 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
4685 (cfengine3-current-defun): New function.
4686 (cfengine3-mode): Set add-log-current-defun-function.
4688 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * select.el: Use lexical-binding.
4691 (gui-set-selection): Provide an implementation for non-GUI frames
4693 * term/x-win.el: Use lexical-binding.
4694 (x-clipboard-yank): Fix up missed renamings.
4695 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
4696 (w32--set-selection): Fix up var names.
4697 * term/pc-win.el: Use lexical-binding.
4698 (w16-selection-exists-p): Silence compiler warning.
4699 (w16-selection-owner-p): Fix up missed renamings.
4701 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
4703 * frame.el (frame-notice-user-settings): Fix excessive quoting.
4705 2014-10-22 Tassilo Horn <tsdh@gnu.org>
4707 * doc-view.el (doc-view-open-text): View the document's plain text
4708 in the current buffer instead of a new one.
4709 (doc-view-toggle-display): Handle the case where the current
4710 buffer contains the plain text contents of the document.
4711 (doc-view-initiate-display): Don't switch to fallback mode if the
4712 user wants to view the doc's plain text.
4713 (doc-view-set-doc-type): Use assoc-string instead of
4716 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * subr.el (read-key): Fix clicks on the mode-line.
4719 (set-transient-map): Return exit function.
4721 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
4722 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
4723 (mouse-yank-secondary): Use gui-get-selection.
4724 (mouse--down-1-maybe-follows-link): Use read-key.
4726 * xt-mouse.el: Add `event-kind' property on the fly from
4727 xterm-mouse-translate-1 rather than statically at the outset.
4729 2014-10-21 Daniel Colascione <dancol@dancol.org>
4731 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
4732 change window configuration when we turn it off.
4734 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4736 Get rid of backend-dependent selection-handling functions for kill/yank
4737 and make it generic instead by relying on the lower-level selection
4738 management functions.
4740 * select.el (select-enable-clipboard): Rename from
4741 gui-select-enable-clipboard.
4742 (select-enable-primary): Move from x-win.el and rename from
4743 x-select-enable-primary.
4744 (gui-last-selected-text): Remove.
4745 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
4747 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
4748 (gui-select-text-alist, gui-selection-value-alist): Remove.
4749 (x-select-request-type): Move from x-win.el.
4750 (gui--selection-value-internal): New function, taken from x-win's
4751 x-selection-value-internal.
4752 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
4753 (gui-set-selection-alist): Rename from gui-own-selection-alist and
4754 extend it to handle a nil value as a "disown" request.
4755 (gui-disown-selection-alist): Remove.
4756 (xselect-convert-to-delete): Adjust accordingly.
4757 (gui-set-selection): Simplify accordingly as well. Use dotimes.
4759 * term/x-win.el (x-last-selected-text-primary)
4760 (x-select-enable-primary): Remove (moved to select.el).
4761 (x-select-request-type): Move to select.el.
4762 (x-selection-value-internal, x--selection-value): Remove functions.
4763 (gui-selection-value, gui-select-text): Remove moethods.
4764 (gui-set-selection): Merge own and disown methods.
4766 * term/w32-win.el (w32--select-text, w32--get-selection-value):
4767 Delete function (move functionality into w32--set-selection and
4768 w32--get-selection).
4769 (gui-select-text, gui-selection-value): Don't define methods.
4770 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
4772 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
4774 (gui-selection-exists-p): Adjust to new name of C primitive.
4776 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
4777 test of gui-select-enable-clipboard, to make it usable as
4778 a gui-get-selection method.
4779 (gui-selection-exists-p): Adjust to new name of C primitive.
4780 (gui-set-selection): Merge own and disown methods.
4781 (gui-select-text, gui-selection-value): Delete methods.
4782 (w16--select-text): Delete function.
4784 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
4785 (ns-selection-value): Remove functions.
4786 (gui-select-text, gui-selection-value): Don't define method any more.
4787 (gui-set-selection): Merge the old own and disown methods.
4788 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
4789 underlying C primitive.
4791 * startup.el (command-line): Adjust now that `gui-method' expects nil
4794 * frame.el (gui-method): Use window-system rather than framep.
4795 (gui-method-declare): The tty case is now nil rather than t.
4796 (make-frame): Adjust accordingly.
4798 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4800 * net/newst-reader.el (newsticker--image-read): Simplify.
4801 (newsticker--icon-read): Use dolist and fix free var error.
4803 * imenu.el (imenu--menubar-keymap): New var.
4804 (imenu-add-to-menubar): Set it to remember the keymap we used.
4805 (imenu-update-menubar): Use it instead of asking lookup-key.
4807 * obsolete/cc-compat.el: Make obsolete (bug#18561).
4809 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
4811 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4814 2014-10-21 Glenn Morris <rgm@gnu.org>
4816 * Merge in all changes up to version 24.4 release.
4818 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4820 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
4823 2014-10-20 Glenn Morris <rgm@gnu.org>
4825 * Merge in all changes up to 24.4 release.
4827 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
4829 * net/newst-backend.el
4830 (newsticker--image-download-by-url-callback): Make this function
4831 actually work: Check status properly, then save image.
4833 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4835 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
4837 (mouse-drag-line): Unless there's no actual mouse, use the event's
4840 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * textmodes/css-mode.el (scss-mode): New major-mode.
4843 (css-mode-syntax-table): Use d style comment, to ease the scss case.
4844 (css-ident-re): Allow things like @-moz-keyframes.
4845 (scss--hash-re): New const.
4846 (css--font-lock-keywords): New function, extracted from
4847 css-font-lock-keywords.
4849 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
4851 * net/newst-backend.el: Require url-parse.
4852 (newsticker--get-news-by-wget): Store feed name as process property.
4853 (newsticker--sentinel): Read feed name from process property.
4854 (newsticker--sentinel-work): Rename argument name to feed-name.
4855 Rename variable imageurl to image-url. Pick icon url from Atom
4856 1.0 data. Launch download of feed icon.
4857 (newsticker--get-icon-url-atom-1.0): New.
4859 (newsticker--unxml-node)
4860 (newsticker--unxml-attribute): Documentation.
4861 (newsticker--icons-dir): New.
4862 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
4863 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
4864 (newsticker--image-download-by-wget): New. Use process properties
4865 for storing informations.
4866 (newsticker--image-sentinel): Read informations from process properties.
4867 (newsticker--image-save)
4868 (newsticker--image-remove)
4869 (newsticker--image-download-by-url)
4870 (newsticker--image-download-by-url-callback): New.
4871 (newsticker-opml-export): Handle url list entries containing a
4872 function instead of an url string.
4874 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
4875 (newsticker--print-extra-elements)
4876 (newsticker--do-print-extra-element):
4877 Documentation (newsticker--image-read): Optionally limit image height.
4878 Use imagemagick if possible.
4879 (newsticker--icon-read): New.
4881 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
4882 (newsticker--treeview-tree-expand): Use feed icons in treeview.
4883 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
4884 (newsticker--tree-widget-leaf-icon): Use feed icon.
4886 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4888 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
4889 Use help-function-arglist instead.
4891 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
4892 (eieio--with-scoped-class): Use `declare'.
4893 (eieio-defclass): Remove compatibility code.
4894 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
4895 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
4897 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
4899 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
4901 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
4902 replacements to stock names before stock names in a list.
4903 Cdr may be a list, each name is tried in turn until one is found.
4905 2014-10-18 Alan Mackenzie <acm@muc.de>
4907 Check that a "macro" found near point-min isn't a ## operator.
4909 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
4910 (c-beginning-of-macro): Use the above new function.
4912 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
4914 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
4915 correct data to `gnutls-boot' (Bug#18664).
4916 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
4918 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
4920 * whitespace.el (whitespace-style, whitespace-big-indent)
4921 (whitespace-big-indent-regexp, whitespace-style-value-list)
4922 (whitespace-toggle-option-alist, whitespace-interactive-char)
4923 (whitespace-toggle-options)
4924 (global-whitespace-toggle-options, whitespace-help-text)
4925 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
4926 style to `whitespace-mode' to indicate that the line indentation
4927 is too deep. By default, 32 SPACEs or four TABs are considered
4928 too many but `whitespace-big-indent-regexp' can be configured.
4930 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
4932 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
4935 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4937 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
4938 (defclass, defgeneric, defmethod): Add doc-string position.
4939 (with-slots): Require cl-lib.
4941 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
4942 (list-of): New type.
4943 (eieio--typep): Remove.
4944 (eieio-perform-slot-validation): Use cl-typep instead.
4946 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
4948 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
4950 2014-10-16 Alan Mackenzie <acm@muc.de>
4952 Trigger showing when point is in the "periphery" of a line or just
4954 * paren.el (show-paren-style, show-paren-delay)
4955 (show-paren-priority, show-paren-ring-bell-on-mismatch):
4956 Remove superfluous :group specifications.
4957 (show-paren-when-point-inside-paren)
4958 (show-paren-when-point-in-periphery): New customizable variables.
4959 (show-paren-highlight-openparen): Make into a defcustom.
4960 (show-paren--unescaped-p, show-paren--categorize-paren)
4961 (show-paren--locate-near-paren): New defuns.
4962 (show-paren--default): Refaactor and trigger on more paren
4964 (show-paren-function): Small consequential changes.
4966 2014-10-16 Tom Tromey <tom@tromey.com>
4968 * files.el (auto-mode-alist): Use javascript-mode for .jsm
4971 2014-10-16 Eli Zaretskii <eliz@gnu.org>
4973 * international/characters.el (bracket-type): Force pre-loading of
4976 2014-10-16 Alan Mackenzie <acm@muc.de>
4978 * cus-edit.el (custom-command-apply): Specify the return value in
4980 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
4981 custom-command-apply has returned non-nil.
4983 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4985 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
4986 Remove incorrect handling of eldoc-print-after-edit.
4987 (eldoc-message-commands, eldoc-last-data): Use defvar.
4988 * loadup.el (emacs-lisp/eldoc): Load it.
4990 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
4992 (m4--quoted-p): New function.
4993 (m4-font-lock-keywords): Don't handle #..\n comments any more.
4994 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
4995 for most special characters.
4997 * progmodes/compile.el (compilation--previous-directory): Simplify.
4998 (compilation-next-error): Ensure the parse before we look at
4999 compilation-message property.
5001 2014-10-15 Eli Zaretskii <eliz@gnu.org>
5003 * simple.el (what-cursor-position):
5004 * descr-text.el (describe-char): Update to support the new bidi
5007 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
5008 Force bidi-paragraph-direction to 'left-to-right'. This fixes
5009 buffer-menu display when the first buffer happens to start with
5012 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
5014 * progmodes/elisp-mode.el (elisp--local-variables-1):
5015 Handle quoted expressions (bug#18688).
5017 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
5018 Michael Albinus <michael.albinus@gmx.de>
5020 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5021 Reduce the amount of set environment variable commands.
5023 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5025 Fix import completion. (Bug#18582)
5026 * progmodes/python.el (python-shell-completion-get-completions):
5027 Fix import case regexp.
5029 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5031 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
5032 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
5033 * progmodes/prolog.el (prolog-electric--underscore): Same.
5035 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
5037 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
5039 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5041 * cus-start.el (all): Add missing ns and boolean to
5042 ns-use-fullscreen-animation.
5044 2014-10-11 Leo Liu <sdl.web@gmail.com>
5046 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
5048 (cfengine3-create-imenu-index): New function.
5049 (cfengine3-mode): Use it for `imenu-create-index-function'.
5050 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
5053 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
5055 * cus-start.el (all): Add ns-use-fullscreen-animation.
5057 2014-10-11 Glenn Morris <rgm@gnu.org>
5059 * calendar/diary-lib.el (diary-display-function):
5060 Drop support for deprecated nil and list forms.
5061 (diary-list-entries): Update for the above.
5062 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
5064 2014-10-10 Leo Liu <sdl.web@gmail.com>
5066 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
5069 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * select.el (gui-selection-exists-p-alist): New method.
5072 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
5073 * simple.el (deactivate-mark): Use it.
5074 * term/x-win.el (gui-selection-exists-p):
5075 * term/w32-win.el (gui-selection-exists-p):
5076 * term/pc-win.el (gui-selection-exists-p):
5077 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
5079 2014-10-10 Glenn Morris <rgm@gnu.org>
5081 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
5082 Fix :type. Allow t to mean no limit.
5083 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
5085 2014-10-09 Glenn Morris <rgm@gnu.org>
5087 * frame.el (display-monitor-attributes-list): Doc tweaks.
5089 2014-10-09 Eli Zaretskii <eliz@gnu.org>
5091 * faces.el (display-grayscale-p): Mention in the doc string that
5092 the argument can be either a display name or a frame.
5094 * frame.el (display-pixel-height, display-pixel-width)
5095 (display-mm-height, display-mm-width, display-backing-store)
5096 (display-save-under, display-planes, display-color-cells)
5097 (display-visual-class, display-monitor-attributes-list)
5098 (display-screens): Mention in the doc string that the argument can
5099 be either a display name or a frame. Improve the docs of the
5100 monitor attributes. (Bug#18636)
5102 2014-10-09 Martin Rudalics <rudalics@gmx.at>
5104 * term.el (term-window-width): Subtract 1 from the width when
5105 any fringe has zero width, not just the right fringe. (Bug#18601)
5107 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5109 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
5111 2014-10-08 Leo Liu <sdl.web@gmail.com>
5113 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
5115 2014-10-08 Glenn Morris <rgm@gnu.org>
5117 * calendar/cal-x.el (calendar-dedicate-diary):
5118 Drop support for recently deleted aliases.
5120 2014-10-08 Leo Liu <sdl.web@gmail.com>
5122 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
5123 Always return a syntax. Replace call-process-shell-command with
5124 process-file. Ensure cfengine-mode-syntax-functions-regex is
5125 always set. Ensure cache when cfengine-cf-promises fails.
5128 2014-10-07 Glenn Morris <rgm@gnu.org>
5130 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
5132 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
5134 Sync with upstream verilog-mode revision c075a492.
5135 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
5136 (verilog-menu): Add AUTOINSERTLAST.
5137 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
5138 is nil, fix indenting initial/final to match always statements, bug825.
5139 Reported by Tim Clapp.
5140 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
5141 bug557. Reported by ZeDong Mao and Jason Forkey.
5142 (verilog-read-decls): Fix parsing typed interfaces.
5143 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
5144 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
5145 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
5146 Reported by Pierre-David Pfister.
5147 (verilog-auto-insert-lisp): Doc fix.
5148 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
5149 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
5150 (verilog-sk-ovm-class, verilog-sk-uvm-object)
5151 (verilog-sk-uvm-component): Fix missing string keyword in class
5152 skeletons, bug824. Reported by eldad faruhi.
5154 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5156 * term/w32-win.el: Move all code from 32-common-fns.el here.
5157 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
5158 console as well (bug#18629).
5159 * w32-common-fns.el: Remove.
5160 * loadup.el: Don't load w32-common-fns.el.
5161 * w32-fns.elc: Don't require w32-common-fns.
5163 * icomplete.el: Move Iswitchb autoload here. Much simpler.
5164 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
5165 Remove redundant obsolescence thingy.
5166 * loadup.el: Don't load obsolete/loaddefs.el.
5167 * Makefile.in (obsolete-autoloads): Remove.
5168 (AUTOGENEL): Remove obsolete/loaddefs.el.
5170 2014-10-06 Glenn Morris <rgm@gnu.org>
5172 * Makefile.in (obsolete-autoloads): Write to a separate file,
5173 to workaround autoloads bug. (Bug#17407)
5174 (AUTOGENEL): Add obsolete/loaddefs.el.
5175 * loadup.el: Load obsolete/loaddefs.el if present.
5176 * subr.el (do-after-load-evaluation):
5177 Don't warn about obsolete/loaddefs.el.
5179 * menu-bar.el (menu-bar-games-menu): Remove landmark.
5180 It has zero relationship to a game.
5182 2014-10-06 Leo Liu <sdl.web@gmail.com>
5184 * imenu.el (imenu): Re-write for clarity.
5186 2014-10-06 Glenn Morris <rgm@gnu.org>
5188 Remove calendar code obsolete since at least version 23.1.
5189 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
5190 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
5191 (calendar-goto-bahai-date, list-bahai-diary-entries)
5192 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
5193 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
5194 (insert-yearly-bahai-diary-entry):
5195 * calendar/cal-china.el (chinese-calendar-time-zone)
5196 (chinese-calendar-location-name)
5197 (chinese-calendar-daylight-time-offset)
5198 (chinese-calendar-standard-time-zone-name)
5199 (chinese-calendar-daylight-time-zone-name)
5200 (chinese-calendar-daylight-savings-starts)
5201 (chinese-calendar-daylight-savings-ends)
5202 (chinese-calendar-daylight-savings-starts-time)
5203 (chinese-calendar-daylight-savings-ends-time)
5204 (chinese-calendar-celestial-stem)
5205 (chinese-calendar-terrestrial-branch)
5206 (calendar-absolute-from-chinese, calendar-print-chinese-date)
5207 (calendar-goto-chinese-date):
5208 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
5209 (calendar-print-coptic-date, coptic-prompt-for-date)
5210 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
5211 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
5212 * calendar/cal-french.el (calendar-absolute-from-french)
5213 (calendar-print-french-date, calendar-goto-french-date):
5214 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
5215 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
5216 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
5217 (holiday-rosh-hashanah-etc, holiday-hanukkah)
5218 (holiday-passover-etc, holiday-tisha-b-av-etc)
5219 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
5220 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
5221 (insert-monthly-hebrew-diary-entry)
5222 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
5223 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
5224 (diary-sabbath-candles):
5225 * calendar/cal-islam.el (calendar-absolute-from-islamic)
5226 (calendar-print-islamic-date, calendar-goto-islamic-date)
5227 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
5228 (mark-islamic-diary-entries, insert-islamic-diary-entry)
5229 (insert-monthly-islamic-diary-entry)
5230 (insert-yearly-islamic-diary-entry):
5231 * calendar/cal-iso.el (calendar-absolute-from-iso)
5232 (calendar-print-iso-date, calendar-iso-read-args)
5233 (calendar-goto-iso-date, calendar-goto-iso-week):
5234 * calendar/cal-julian.el (calendar-absolute-from-julian)
5235 (calendar-print-julian-date, calendar-goto-julian-date)
5236 (calendar-absolute-from-astro, calendar-print-astro-day-number)
5237 (calendar-goto-astro-day-number):
5238 * calendar/cal-mayan.el (calendar-print-mayan-date)
5239 (calendar-next-haab-date, calendar-previous-haab-date)
5240 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
5241 (calendar-next-calendar-round-date)
5242 (calendar-previous-calendar-round-date)
5243 (calendar-absolute-from-mayan-long-count)
5244 (calendar-goto-mayan-long-count-date):
5245 * calendar/cal-move.el (scroll-calendar-left)
5246 (scroll-calendar-right, scroll-calendar-left-three-months)
5247 (scroll-calendar-right-three-months):
5248 * calendar/cal-persia.el (calendar-absolute-from-persian)
5249 (calendar-print-persian-date, persian-prompt-for-date)
5250 (calendar-goto-persian-date):
5251 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
5252 * calendar/calendar.el (view-diary-entries-initially)
5253 (mark-diary-entries-in-calendar, calendar-today-face)
5254 (diary-face, holiday-face, view-calendar-holidays-initially)
5255 (mark-holidays-in-calendar, initial-calendar-window-hook)
5256 (today-visible-calendar-hook, today-invisible-calendar-hook)
5257 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
5258 (bahai-diary-entry-symbol, american-date-diary-pattern)
5259 (european-date-diary-pattern, european-calendar-display-form)
5260 (american-calendar-display-form, holidays-in-diary-buffer)
5261 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
5262 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
5263 (fancy-diary-buffer, increment-calendar-month)
5264 (extract-calendar-month, extract-calendar-day)
5265 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
5266 (mark-visible-calendar-date, calendar-version):
5267 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
5268 (diary-display-hook, list-diary-entries-hook)
5269 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
5270 (nongregorian-diary-marking-hook, print-diary-entries-hook)
5271 (abbreviated-calendar-year, number-of-diary-entries)
5272 (view-other-diary-entries, add-to-diary-list)
5273 (include-other-diary-files, simple-diary-display)
5274 (fancy-diary-display, print-diary-entries, mark-diary-entries)
5275 (mark-sexp-diary-entries, mark-included-diary-files)
5276 (mark-calendar-days-named, mark-calendar-month)
5277 (mark-calendar-date-pattern, sort-diary-entries)
5278 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
5279 (insert-weekly-diary-entry, insert-monthly-diary-entry)
5280 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
5281 (insert-block-diary-entry, insert-cyclic-diary-entry)
5282 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
5283 * calendar/holidays.el (general-holidays, oriental-holidays)
5284 (local-holidays, other-holidays, hebrew-holidays)
5285 (christian-holidays, islamic-holidays, bahai-holidays)
5286 (solar-holidays, list-calendar-holidays)
5287 (check-calendar-holidays, mark-calendar-holidays)
5288 (filter-visible-calendar-holidays):
5289 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
5290 (diary-phases-of-moon): Remove obsolete aliases.
5291 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
5292 * calendar/cal-x.el (calendar-one-frame-setup)
5293 (calendar-only-one-frame-setup, calendar-two-frame-setup):
5294 Remove obsolete functions.
5295 (cal-x-load-hook): Remove obsolete hook.
5296 * calendar/calendar.el (european-calendar-style):
5297 Remove obsolete variable.
5298 (calendar-date-style): No longer consult european-calendar-style.
5299 * calendar/calendar.el (european-calendar, american-calendar):
5300 Remove obsolete commands.
5301 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
5302 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
5303 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
5304 Use the face `diary' instead of the variable `diary-face'.
5305 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
5306 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
5307 * calendar/icalendar.el (icalendar--date-style): Remove function.
5308 Replace all uses with calendar-date-style.
5309 * textmodes/remember.el (calendar-date-style): Declare.
5310 (remember-diary-convert-entry):
5311 No longer consult european-calendar-style.
5313 2014-10-05 Leo Liu <sdl.web@gmail.com>
5315 * imenu.el (imenu-default-goto-function): Fix typo.
5317 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5319 * net/ntlm.el (ntlm-build-auth-request):
5320 Add NTLM2 Session support. (Bug#15603)
5322 2014-10-04 Glenn Morris <rgm@gnu.org>
5324 * apropos.el (apropos-symbols-internal):
5325 Avoid error with non-symbol properties. (Bug#18337#16)
5327 * startup.el (command-line):
5328 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
5330 2014-10-04 Martin Rudalics <rudalics@gmx.at>
5332 * window.el (window-full-height-p): Make it behave correctly for
5334 (window-current-scroll-bars): Fix code.
5335 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
5337 * frame.el (frame-current-scroll-bars): Fix doc-string.
5338 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
5340 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
5342 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
5344 2014-10-04 Glenn Morris <rgm@gnu.org>
5346 * frame.el (frame-monitor-attributes)
5347 (display-monitor-attributes-list): Doc fixes.
5349 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5351 Merge trivially safe differences from standalone CC-mode.
5352 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
5353 just to then pass it to `symbol-value'.
5354 (prog-mode): Provide fallback definition, if needed.
5355 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
5356 Remove "cl-" prefix accordingly.
5357 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
5358 characterp depending on the type of characters.
5359 (c-font-lock-enum-tail): Remove unused var `start'.
5360 * progmodes/cc-engine.el: Load CL at compile-time.
5361 (c-declare-lang-variables): Use mapcan.
5362 (c-append-to-state-cache): Remove unused var `ce+1'.
5363 (c-parse-state-state): Make buffer-local.
5364 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
5365 (c-just-after-func-arglist-p): Remove unused var `end'.
5366 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
5367 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
5368 (c-make-keywords-re): Use delete-dups.
5369 (c-get-current-file): Avoid file-name-base.
5370 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
5371 `close-paren-inserted'.
5372 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
5374 * progmodes/python.el: Avoid building unneeded markers.
5375 (python-font-lock-keywords, python-indent-dedent-line)
5376 (python-fill-paren, python-shell-completion-complete-or-indent):
5377 Prefer point over point-marker.
5378 (inferior-python-mode): Remove redundant completion settings.
5380 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
5382 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
5383 (vc-svn-ignore): Use it. (Bug#18619)
5385 2014-10-03 Martin Rudalics <rudalics@gmx.at>
5387 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
5388 In doc-string mention need to set `frame-resize-pixelwise'.
5390 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5392 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
5393 similarly to Rogers's 2010-06-16 change for the remote case
5396 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5398 New gui-selection-value consolidating x-selection-value.
5399 * select.el (gui-selection-value-alist): New method.
5400 (gui-selection-value): New function.
5401 (x-selection-value): Make it an obsolete alias.
5402 * simple.el (interprogram-paste-function): Default to
5403 gui-selection-value.
5404 * w32-common-fns.el (w32-get-selection-value): Simplify.
5405 (x-selection-value): Remove alias.
5406 (interprogram-paste-function): Don't set.
5407 (gui-selection-value): Define for w32.
5408 * term/x-win.el (gui-selection-value): Define for x.
5409 (x--selection-value): Rename from x--selection-value.
5410 (interprogram-paste-function): Don't set.
5411 * term/pc-win.el (w16-get-selection-value): Simplify.
5412 (msdos-initialize-window-system): Don't set
5413 interprogram-paste-function.
5414 (gui-selection-value): Define for pc.
5415 * term/ns-win.el (x-selection-value): Remove.
5416 (gui-selection-value): Define for ns, instead.
5417 * term/common-win.el (x-setup-function-keys): Don't set
5418 interprogram-paste-function.
5419 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
5420 Use gui-selection-value.
5422 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
5424 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
5426 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5428 * obsolete/lucid.el (read-number): Remove, redundant.
5429 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
5432 2014-10-02 Glenn Morris <rgm@gnu.org>
5434 * emacs-lisp/package.el (package-import-keyring):
5435 Create gnupg directory private. (Bug#17625#155)
5437 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5439 * progmodes/python.el (python-shell-completion-get-completions):
5440 Use python-shell--prompt-calculated-input-regexp from the
5441 process buffer (bug#18582).
5442 Don't assume that `line' comes from the process buffer.
5444 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5446 * frame.el: Use lexical-binding (bug#18598).
5447 (make-frame): Use t rather than nil for tty's window-system.
5448 * startup.el (command-line): Use gui-method.
5450 Consolidate management/ownership of selections.
5451 * select.el (gui-get-selection-alist): New method.
5452 (gui-get-selection): Use it. Rename from x-get-selection.
5453 (x-get-selection): Define as obsolete alias.
5454 (x-get-clipboard): Mark obsolete.
5455 (gui-get-primary-selection): New function.
5456 (x-get-selection-value): Mark obsolete.
5457 (gui-own-selection-alist, gui-disown-selection-alist)
5458 (gui-selection-owner-p-alist): New methods.
5459 (gui-set-selection): Use them. Rename from x-set-selection.
5460 (x-set-selection): Define as obsolete alias.
5461 (gui--valid-simple-selection-p): Rename from
5462 x-valid-simple-selection-p.
5463 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
5464 (gui-selection-owner-p, gui-get-selection): Define for w32.
5465 (w32-get-selection-value): Rename from x-get-selection-value.
5466 Use the new gui-last-selected-text.
5467 * term/x-win.el (x-get-selection-value): Remove.
5468 (x-clipboard-yank): Declare obsolete.
5469 (gui-own-selection, gui-disown-selection, gui-get-selection)
5470 (gui-selection-owner-p): Define for x.
5471 * term/w32-win.el (w32-win-suspend-error): Rename from
5472 x-win-suspend-error.
5473 * term/pc-win.el (w16-get-selection-value): Rename from
5474 x-get-selection-value.
5475 (w16-selection-owner-p): Rename from x-selection-owner-p.
5476 (gui-own-selection, gui-disown-selection, gui-get-selection)
5477 (gui-selection-owner-p): Define for pc.
5478 (w16--select-text): New function.
5479 * term/ns-win.el (gui-own-selection, gui-disown-selection)
5480 (gui-get-selection, gui-selection-owner-p): Define for ns.
5481 * term.el (term-mouse-paste):
5482 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
5484 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
5486 * calc/calc-help.el (calc-describe-thing): Quote strings
5487 which could look like regexps.
5489 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5491 Consolidate x-select-text.
5492 * frame.el (gui-method, gui-method-define, gui-method-declare)
5493 (gui-call): New macros.
5494 (gui-method--name): New function.
5495 (frame-creation-function-alist): Use gui-method-declare.
5496 (make-frame): Use gui-method.
5497 * select.el (gui-select-enable-clipboard): Rename from
5498 x-select-enable-clipboard and move here.
5499 (x-select-enable-clipboard): Define as obsolete alias.
5500 (gui-last-selected-text): New var, to replace x-last-selected-text.
5501 (gui-select-text): New GUI method.
5502 (gui-select-text): New function.
5503 (x-select-text): Define as obsolete alias.
5504 * term/common-win.el (x-select-enable-clipboard, x-select-text):
5506 * simple.el (interprogram-cut-function): Change default to
5508 (interprogram-paste-function): Change default to `ignore'.
5509 * w32-common-fns.el (interprogram-cut-function): Don't modify.
5510 * term/x-win.el (interprogram-cut-function): Don't modify.
5511 (gui-select-text): Add method for x.
5512 * term/w32-win.el (gui-select-text): Add method for w32.
5513 * term/pc-win.el (x-last-selected-text): Remove, use
5514 gui-last-selected-text instead.
5515 (msdos-initialize-window-system): Don't set interprogram-cut-function.
5516 (gui-select-text): Add method for pc.
5517 * term/ns-win.el (ns-last-selected-text): Remove, use
5518 gui-last-selected-text instead.
5519 (gui-select-text): Add method for ns.
5520 (x-setup-function-keys): Don't change interprogram-cut-function.
5521 * loadup.el ("startup"): Load after "frame".
5522 * subr.el (package--builtin-versions, package--description-file):
5523 Move from startup.el.
5524 * startup.el (package--builtin-versions, package--description-file):
5526 (handle-args-function-alist, window-system-initialization-alist):
5527 Use gui-method-declare.
5528 (command-line): Use gui-method.
5530 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * subr.el (alist-get): New accessor.
5533 * emacs-lisp/gv.el (alist-get): Provide expander.
5534 * winner.el (winner-remember):
5535 * tempo.el (tempo-use-tag-list):
5536 * progmodes/gud.el (minor-mode-map-alist):
5537 * international/mule-cmds.el (define-char-code-property):
5538 * frameset.el (frameset-filter-params):
5539 * files.el (dir-locals-set-class-variables):
5540 * register.el (get-register, set-register):
5541 * calc/calc-yank.el (calc-set-register): Use it.
5542 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
5543 * tooltip.el (tooltip-set-param): Mark as obsolete.
5544 (tooltip-show): Use alist-get instead.
5545 * ses.el (ses--alist-get): Remove. Use alist-get instead.
5547 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
5549 * net/newst-backend.el: Remove Time-stamp. Rename variable
5550 `newsticker--download-logos' to `newsticker-download-logos' and
5551 make it customizable.
5552 (newsticker--sentinel-work): Move xml-workarounds to function
5553 `newsticker--do-xml-workarounds', call unless libxml-parser is
5554 used. Allow single quote in regexp for encoding.
5555 Use libxml-parser if available, else fall back to `xml-parse-region'.
5556 Take care of possibly missing namespace prefixes (like "RDF"
5557 instead of "rdf:RDF") when checking xml nodes and attributes (as
5558 libxml correctly removes the prefixes). Always use Atom 1.0 as
5559 fallback feed type. Rename `newsticker--download-logos' to
5560 `newsticker-download-logos'
5561 (newsticker--unxml, newsticker--unxml-node)
5562 (newsticker--unxml-attribute): New.
5563 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
5564 HTML code has become part of the xml parse tree.
5565 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
5566 of possibly missing namespace prefixes.
5567 (newsticker--parse-generic-items): Code formatting. Typo.
5568 (newsticker--images-dir): Add trailing slash.
5569 (newsticker--image-get): Fix error message.
5571 * net/newst-plainview.el: Remove Time-stamp.
5573 * net/newst-reader.el: Remove Time-stamp.
5574 (newsticker-download-logos): Rename variable
5575 `newsticker--download-logos' to `newsticker-download-logos' and
5576 make it customizable.
5577 (newsticker--print-extra-elements): Add optional parameter
5578 'htmlish for using html markup. Amend list of ignored elements.
5579 (newsticker--do-print-extra-element): Add parameter 'htmlish for
5582 * net/newst-ticker.el: Remove Time-stamp.
5584 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
5585 for formatting extra elements.
5587 * net/newsticker.el: Remove Time-stamp, Version.
5588 (newsticker-version): Make obsolete.
5590 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
5592 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
5595 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5597 * emacs-lisp/package.el (package-check-signature): Default to nil if
5598 GPG is not available.
5599 (package-refresh-contents): Don't mess with the keyring if we won't
5600 check the signatures anyway.
5602 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
5605 (ses-center, ses-center-span): Use them.
5606 (ses-print-cell): Bind them while calling the printer.
5607 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
5608 (ses-dorange): Revert last change.
5609 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
5611 (ses-set-cell): Avoid `eval'.
5612 (ses--time-check): Rename it from ses-time-check and turn it into
5615 * ses.el (ses-setup): Don't assume modifying the iteration var of
5616 dotimes affects the iteration (bug#18191).
5618 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5620 * ses.el (ses-calculate-cell): Bind row and col dynamically to
5621 their values with 'cl-progv'.
5622 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
5623 their values with 'cl-progv', also use non-interned symbols for
5624 row, minrow, maxrow, mincol and maxcol.
5625 (maxrow maxcol): New defvar, to make the compiler happy.
5627 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5629 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
5630 completion functions.
5632 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5634 * ses.el (ses--letref): Quote value before it gets re-evaluated.
5636 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
5638 Font-lock `cl-flet*', too.
5639 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
5640 Add "flet*" to intermediate var `cl-lib-kw'.
5642 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5644 * epg-config.el (epg-gpg-program): Use the plain program names rather
5645 than their absolute file name.
5647 * subr.el (track-mouse): New macro.
5648 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5649 Remove track-mouse case.
5650 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
5652 2014-09-27 Leo Liu <sdl.web@gmail.com>
5654 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
5656 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
5658 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
5661 Handle the case where `match' is :pcase--succeed or :pcase--fail
5664 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
5665 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
5666 (eldoc-schedule-timer): Obey it.
5667 (eldoc-documentation-function): Default to nil.
5668 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
5669 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
5670 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
5671 (eldoc-last-data-store, eldoc-docstring-first-line)
5672 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
5673 (eldoc-beginning-of-sexp, eldoc-current-symbol)
5674 (eldoc-function-argstring): Move to elisp-mode.el.
5675 (eldoc-symbol-function): Remove, unused.
5676 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
5677 (elisp-completion-at-point): Rename from lisp-completion-at-point.
5678 (elisp--preceding-sexp): Rename from preceding-sexp.
5679 * loadup.el: Load new file progmodes/elisp-mode.
5680 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
5681 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
5682 (lisp--local-variables-completion-table, lisp--expect-function-p)
5683 (lisp--form-quoted-p, lisp--company-doc-buffer)
5684 (lisp--company-doc-string, lisp--company-location)
5685 (lisp-completion-at-point): Move to elisp-mode.el.
5686 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
5687 extracted from emacs-lisp-mode-syntax-table.
5688 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
5690 (lisp-imenu-generic-expression): Add comments to document what comes
5691 from which Lisp dialect.
5692 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
5693 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
5694 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
5695 (emacs-lisp-byte-code-comment)
5696 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
5697 (lisp-interaction-mode-map, lisp-interaction-mode)
5698 (eval-print-last-sexp, last-sexp-setup-props)
5699 (last-sexp-toggle-display, prin1-char, preceding-sexp)
5700 (eval-last-sexp-1, eval-last-sexp-print-value)
5701 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
5702 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
5704 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
5706 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
5707 Do not match file names that end in '/', as they cannot be 'grep'
5708 hits nowadays. This prevents confusion when 'grep -r' reports a
5709 match in a file whose basename is ':12345:'. Conversely, do not
5710 require exactly the same sequence of spaces and tabs after both
5711 colons, and allow spaces or tabs before the second colon, as per
5712 the POSIX spec for 'grep' output.
5714 2014-09-26 Leo Liu <sdl.web@gmail.com>
5716 Add cl-parse-integer based on parse-integer (Bug#18557)
5717 * calendar/parse-time.el (parse-time-digits): Remove.
5718 (digit-char-p, parse-integer) Moved to cl-lib.el.
5719 (parse-time-tokenize, parse-time-rules, parse-time-string):
5720 Use cl-parse-integer.
5722 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
5724 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
5725 (cl-digit-char-p): New function.
5727 2014-09-25 Juri Linkov <juri@jurta.org>
5729 * vc/add-log.el (change-log-next-buffer): Don't create an empty
5730 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
5731 Return the current buffer if no files match the default pattern
5732 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
5734 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5736 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
5737 the global vc-handled-backends (bug#18535).
5739 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5741 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
5742 Suggested by <lompik@voila.fr>.
5744 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
5746 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
5747 Rename from `newsticker--treeview-do-get-node'.
5748 (newsticker--treeview-get-node-by-id):
5749 Rename from `newsticker--treeview-get-node'.
5750 (newsticker--treeview-buffer-init)
5751 (newsticker--treeview-buffer-init): Disable buffer undo.
5752 (newsticker--treeview-unfold-node): Adapt to modified
5753 `newsticker--group-find-parent-group'.
5754 (newsticker--group-do-find-group):
5755 Rename from `newsticker--group-do-find-group-for-feed'.
5756 Now works for both, groups and feeds.
5757 (newsticker--group-find-parent-group):
5758 Rename from `newsticker--group-find-group-for-feed'.
5759 Now works for both, groups and feeds.
5760 (newsticker--group-do-get-parent-group)
5761 (newsticker--group-get-parent-group): Remove.
5762 (newsticker-group-add-group): Change interactive prompts.
5763 (newsticker-group-add-group): Finally jump to added group.
5764 (newsticker-group-delete-group): Finally jump to current feed.
5765 (newsticker--group-do-rename-group, newsticker-group-rename-group)
5766 (newsticker--get-group-names, newsticker--group-names): New.
5767 (newsticker-group-move-feed): Finally jump to moved feed.
5768 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
5769 (newsticker-group-shift-group-down)
5770 (newsticker-group-shift-group-up, newsticker--group-shift): New.
5771 (newsticker-treeview-mode-map): New keybindings for new shift commands.
5773 * net/newst-backend.el (newsticker--item-list)
5774 (newsticker--item-position, newsticker--prev-message)
5775 (newsticker--scrollable-text): Move to newst-ticker.el.
5777 * net/newst-ticker.el (newsticker--item-list)
5778 (newsticker--item-position, newsticker--prev-message)
5779 (newsticker--scrollable-text): Move from newst-backend.el.
5781 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
5783 * window.el (fit-window-to-buffer): When counting buffer width,
5784 count the whole visible buffer. Correctly convert the body-height
5785 to pixel size for window-text-pixel-size (Bug#18498).
5787 2014-09-22 Sam Steingold <sds@gnu.org>
5789 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
5790 (sql-execute): Use `special-mode'.
5792 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5794 Add pcase-defmacro, as well as `quote' and `app' patterns.
5795 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
5796 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
5797 (pcase--funcall, pcase--eval): New functions.
5798 (pcase--u1): Use them for guard, pred, let, and app.
5799 (\`): Use the new feature to generate better code for vector patterns.
5800 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
5801 (pcase--upat): Remove.
5802 (pcase--macroexpand): Don't hardcode handling of `.
5803 (pcase--split-consp, pcase--split-vector): Remove.
5804 (pcase--split-equal): Disregard ` since it's expanded away.
5805 (pcase--split-member): Optimize for quote rather than for `.
5806 (pcase--split-pred): Optimize for quote rather than for `.
5807 (pcase--u1): Remove handling of ` (and of `or' and `and').
5808 Quote non-selfquoting values when passing them to `eq'.
5809 Drop `app's let-binding if the variable is not used.
5810 (pcase--q1): Remove.
5811 (`): Define as a pattern macro.
5812 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
5813 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
5814 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
5816 (pcase--split-match): Don't hoist or/and here any more.
5817 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
5818 (pcase--flip): New helper macro.
5819 (pcase--u1): Optimize the memq case directly.
5820 Don't handle neither self-quoting nor and/or patterns any more.
5821 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
5822 (pcase--macroexpand): New function.
5823 (pcase--expand): Use it.
5824 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
5825 New optimization functions.
5826 (pcase--u1): Add support for `quote' and `app'.
5827 (pcase): Document them in the docstring.
5829 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5831 Use lexical-bindin in Ibuffer.
5832 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
5833 (ibuffer-compile-format): Simplify.
5834 (ibuffer-clear-summary-columns): Simplify.
5835 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
5836 elem of dotimes when we don't refer to the iteration var from it.
5837 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
5838 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
5839 Silence byte-compiler.
5841 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
5844 expression for a list.
5846 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
5847 for functions with no arguments.
5849 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
5850 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
5852 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
5854 * simple.el (clone-indirect-buffer): Mention the return value
5857 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
5858 Text mode in docstring (bug#18464).
5860 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5863 Accept underscores in identifiers after "sub" (bug#18502).
5865 2014-09-21 Tassilo Horn <tsdh@gnu.org>
5867 * textmodes/reftex-sel.el (reftex-select-label-mode)
5868 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
5869 from special-mode (instead of fundamental-mode) and propertize
5870 with font-lock-face instead of just face. (Bug#18496)
5872 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
5874 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5876 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
5877 `table-etc' when `end' is non-nil.
5878 (lisp-completion-at-point): Move `end' back if it's after quote.
5879 If in comment or string, only complete when after backquote.
5881 (lisp-completion-at-point): Don't use
5882 `lisp--local-variables-completion-table' in the
5883 `lisp--form-quoted-p' case.
5885 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
5887 * emacs-lisp/lisp.el (lisp--expect-function-p)
5888 (lisp--form-quoted-p): New functions.
5889 (lisp-completion-at-point): Use them to see if we're completing a
5890 variable reference, a function name, or just any symbol.
5891 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
5893 2014-09-18 Ivan Kanis <ivan@kanis.fr>
5895 * net/shr.el, net/eww.el: Don't override `shr-width', but
5896 introduce a new variable `shr-internal-width'. This allows users
5897 to specify a width themselves.
5899 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5901 * image-mode.el (image-toggle-display-image): If we have a
5902 `fit-width' or a `fit-height', don't limit the size of the image
5903 to the window size, because that doesn't preserve the aspect ratio.
5904 * image-mode.el: Move defvars earlier to avoid a byte-compilation
5907 2014-09-17 Reuben Thomas <rrt@sc3d.org>
5909 * progmodes/js.el: Add interpreter-mode-alist support for various
5910 JavaScript interpreters.
5912 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
5914 Don't assume 'grep' supports GREP_OPTIONS.
5915 The GREP_OPTIONS environment variable is planned to be marked
5916 obsolescent in GNU grep, due to problems in its use, so stop
5918 * progmodes/grep.el (grep-highlight-matches): Document this.
5919 (grep-process-setup): Do not set GREP_OPTIONS.
5920 (grep-compute-defaults): Use an explicit --color option if supported.
5922 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5924 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
5925 Don't add outdated key-shortcut cache (bug#18482).
5927 2014-09-15 Glenn Morris <rgm@gnu.org>
5929 * image.el (image-multi-frame-p): Fix thinko - do not force
5930 a delay if none was specified. (Bug#18334)
5932 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
5934 * window.el (fit-window-to-buffer): Doc fix.
5936 2014-09-15 Ivan Shmakov <ivan@siamics.net>
5938 * desktop.el (desktop-create-buffer): Check that buffers are still live
5939 before burying them (bug#18373).
5941 2014-09-15 Glenn Morris <rgm@gnu.org>
5943 * calendar/diary-lib.el (diary-list-entries):
5944 Restore 24.3 display behavior. (Bug#18381)
5946 2014-09-15 Eli Zaretskii <eliz@gnu.org>
5948 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
5949 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
5950 discrepancy between window-pixel-edges and mouse events, and
5951 avoids moving mode line up when the mouse click is on the modeline
5952 and no drag is attempted.
5954 2014-09-14 Daniel Colascione <dancol@dancol.org>
5956 * register.el (insert-register): Change default interactive
5959 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
5961 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
5962 Suppress debug messages.
5964 * net/tramp.el (tramp-file-name-handler):
5965 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
5968 2014-09-13 Christopher Schmidt <ch@ristopher.com>
5970 * calendar/calendar.el (calendar-update-mode-line):
5971 Do not overwrite mode-line-format if calendar-mode-line-format is
5974 2014-09-13 Leo Liu <sdl.web@gmail.com>
5976 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
5977 (pcase--expand): Use it.
5978 (pcase-exhaustive): New macro. (Bug#16567)
5980 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5981 Add pcase-exhaustive.
5983 2014-09-13 Eli Zaretskii <eliz@gnu.org>
5985 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
5986 using the specified transfer-encoding, if any, or 'undecided'.
5987 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
5988 broken at the window margin.
5990 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
5992 Support rendering of HTML parts in Rmail (bug#4258).
5993 * mail/rmailmm.el (rmail-mime-process): Handle text/html
5994 separately from other text/ types. Suppress tagline for
5996 (rmail-mime-parse): Don't change visibility of tagline here.
5997 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
5998 Handle text/html specially.
5999 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
6000 (rmail-mime-insert-html, rmail-mime-render-html-shr)
6001 (rmail-mime-render-html-lynx): New functions.
6002 (rmail-mime-fix-inserted-faces): New function.
6003 (rmail-mime-process-multipart): Find the best part to show
6004 following rmail-mime-prefer-html if set.
6005 (rmail-mime-searching): New variable.
6006 (rmail-search-mime-message): Bind rmail-mime-searching to
6007 suppress rendering while searching.
6009 2014-09-12 Sam Steingold <sds@gnu.org>
6011 * progmodes/sql.el (sql-product-alist): Add vertica.
6012 (sql-vertica-program, sql-vertica-options)
6013 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
6014 New functions and variables to support Vertica.
6015 Inspired by code by Roman Scherer <roman@burningswell.com>.
6017 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
6019 * ses.el (ses-file-format-extend-parameter-list): Rename from
6020 ses-file-format-extend-paramter-list, to correct a misspelling.
6023 2014-09-10 Alan Mackenzie <acm@muc.de>
6025 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
6026 gets loaded at run-time).
6027 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
6028 c-lang-const to c-make-no-parens-syntax-table and correct the
6030 (c-no-parens-syntax-table): Correct the logic of the
6033 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6035 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
6037 * progmodes/cc-mode.el (c-basic-common-init):
6038 Set open-paren-in-column-0-is-defun-start.
6039 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
6040 Remove declarations, unused.
6041 (run-mode-hooks): Remove declaration.
6042 (font-lock-defaults): Use plain `defvar' to declare.
6043 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
6044 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
6045 (c-make-mode-syntax-table): Don't micro-optimize.
6046 (c-keywords, c-keyword-member-alist): Simplify.
6047 (c-kwds-lang-consts): Don't eval at compile-time.
6048 (c-primary-expr-regexp): Comment out unused vars.
6049 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
6050 (c-font-byte-compile): New var.
6051 (c--compile): New function. Use it instead of `byte-compile'.
6052 (c-cpp-matchers): Quote the value returned by
6053 `c-make-syntactic-matcher' in case it's not self-evaluating.
6054 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
6055 parentheses instead (in case MATCHER happens to be a list).
6056 (c-font-lock-enum-tail): Remove unused var `start'.
6057 (c-font-lock-objc-methods): Silence byte-compiler warnings.
6058 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
6059 test into an argument.
6060 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
6061 (c-get-char-property): Don't use `eval' just to unquote a constant.
6062 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
6064 (c-put-char-property-fun): Don't call `byte-compile' by hand.
6065 (c-clear-char-property, c-clear-char-properties): Check that `property'
6066 is a quoted constant.
6067 (c-emacs-features): Remove `infodock', `syntax-properties', and
6068 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
6069 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
6070 changing buffer, so we don't have to setq them again afterwards.
6071 (c-lang-const): Remove redundant symbolp assertions.
6072 (c-find-assignment-for-mode): Use `or'.
6073 * Makefile.in (compile-one-process): Remove cc-mode dependency.
6075 2014-09-09 Sam Steingold <sds@gnu.org>
6077 * progmodes/sql.el (sql-default-directory): Fix type annotation.
6079 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
6082 Change doc comments into docstrings.
6083 * Makefile.in: Remove cc-awk dependency.
6085 2014-09-08 Sam Steingold <sds@gnu.org>
6087 * progmodes/sql.el (sql-send-line-and-next): New command,
6089 (sql-show-sqli-buffer): Display the buffer instead of its name and
6090 bind the command to C-c C-z.
6091 (sql-default-directory): New user option.
6092 (sql-product-interactive): Bind `default-directory' to it to
6093 enable remote connections using Tramp.
6094 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
6095 suitable buffer is available.
6097 2014-09-08 Glenn Morris <rgm@gnu.org>
6099 * calendar/calendar.el (calendar-basic-setup):
6100 Fix calendar-view-holidays-initially-flag and fancy display.
6101 * calendar/diary-lib.el (diary-live-p): Doc fix.
6103 * calendar/calendar.el (calendar-basic-setup):
6104 Avoid clobbering calendar with diary. (Bug#18381)
6106 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
6110 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
6112 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
6113 as well (bug#18400).
6115 2014-09-08 Eli Zaretskii <eliz@gnu.org>
6117 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
6119 2014-09-06 Leo Liu <sdl.web@gmail.com>
6121 * emacs-lisp/pcase.el (pcase): Doc fix.
6122 (pcase--split-vector): New function.
6123 (pcase--q1): Support vector qpattern. (Bug#18327)
6125 2014-09-05 Sam Steingold <sds@gnu.org>
6127 * textmodes/tex-mode.el (tex-print-file-extension): New user
6129 (tex-print): Use it instead of the hard-coded string.
6131 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
6133 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6134 Expand `default-directory'.
6136 2014-09-05 Martin Rudalics <rudalics@gmx.at>
6138 * scroll-bar.el (horizontal-scroll-bars-available-p):
6140 (horizontal-scroll-bar-mode): Rewrite using
6141 horizontal-scroll-bars-available-p.
6142 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
6143 horizontal-scroll-bars-available-p.
6145 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6147 * subr.el (call-process-shell-command, process-file-shell-command):
6148 Make the `args' obsolete (bug#18409).
6149 (start-process-shell-command, start-file-process-shell-command):
6152 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
6154 * calc/calc-forms.el (math-normalize-hms): Do a better check for
6155 "negative" hms forms.
6157 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
6159 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
6160 returns nil (bug#18391).
6162 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
6165 terminating paren (bug#18352).
6166 (eldoc-last-data-store): Return cached data.
6167 (eldoc-get-var-docstring): Avoid setq.
6168 (eldoc-get-fnsym-args-string): Clarify data flow.
6170 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6172 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
6173 case where we're currently providing part of the &rest arg after some
6174 &key args, as in define-ibuffer-op (bug#18048).
6176 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6178 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
6179 buffer-local setting of which-func-mode.
6180 (which-func-mode): Use defvar-local.
6181 (which-function-mode): Don't reset which-func-mode in each buffer since
6182 it might have been set by someone else.
6183 (which-func-update-ediff-windows): Check which-function-mode.
6185 2014-09-03 Martin Rudalics <rudalics@gmx.at>
6187 * frame.el (frame-initialize): Remove horizontal-scroll-bars
6188 from frame-initial-frame-alist.
6189 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
6190 (horizontal-scroll-bar-mode-explicit)
6191 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
6192 (toggle-horizontal-scroll-bar): Remove.
6193 (horizontal-scroll-bar-mode): Remove defcustom.
6194 (horizontal-scroll-bar-mode): Fix doc-string.
6195 (scroll-bar-toolkit-scroll)
6196 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
6198 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * emacs-lisp/package.el (package-generate-description-file):
6201 Properly quote the arguments (bug#18332). Change second arg.
6202 (package--alist-to-plist-args): Rename from package--alist-to-plist and
6204 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
6205 the *-pkg.el file. Adjust to new calling convention of
6206 package-generate-description-file.
6208 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
6209 (gud-gdb-completions): Remove obsolete workaround.
6211 2014-09-03 Eli Zaretskii <eliz@gnu.org>
6213 * subr.el (posn-col-row): Revert the change from commit
6214 2010-11-13T21:07:58Z!eliz@gnu.org, which
6215 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
6216 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
6217 introduced an off-by-one error in the reported row when there is a
6218 header line. (Bug#18384)
6220 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
6222 * progmodes/python.el (python-indent-post-self-insert-function):
6223 Avoid electric colon at beginning-of-defun. (Bug#18228)
6225 2014-09-03 Glenn Morris <rgm@gnu.org>
6227 * tutorial.el (tutorial--display-changes):
6228 Fix 2014-08-01 change. (Bug#18382)
6230 2014-09-03 Ken Brown <kbrown@cornell.edu>
6232 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
6233 the Cygwin-w32 build. (Bug#18347)
6235 2014-09-03 Glenn Morris <rgm@gnu.org>
6237 * tar-mode.el (tar--extract, tar-extract):
6238 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
6240 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6242 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
6243 handle multiline elements (bug#18380).
6245 2014-09-01 Eli Zaretskii <eliz@gnu.org>
6247 * ls-lisp.el (ls-lisp-use-string-collate)
6248 (ls-lisp-UCA-like-collation): New defcustoms.
6249 (ls-lisp-string-lessp): Use them to control sorting by file
6251 (ls-lisp-version-lessp): New function.
6252 (ls-lisp-handle-switches): Use it to implement the -v switch of
6254 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
6256 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
6258 * ibuffer.el: Replace mode-specific quit function with
6259 `quit-window' via `special-mode'.
6260 (ibuffer-mode-map): Use keybindings from special-mode-map instead
6262 (ibuffer): Don't store previous windows configuration.
6263 Let `quit-window' handle restoring.
6264 (ibuffer-quit): Remove function. Use `quit-window' instead.
6265 (ibuffer-restore-window-config-on-quit): Remove variable.
6266 (ibuffer-prev-window-config): Remove variable.
6268 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
6270 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
6271 name instead of variable name in hook docstring. (Bug#18349)
6273 2014-08-29 Martin Rudalics <rudalics@gmx.at>
6275 * window.el (display-buffer-at-bottom): Prefer bottom-left
6276 window to other bottom windows. Reuse a bottom window if it
6277 shows the buffer already. Suggested by Juri Linkov
6278 <juri@jurta.org> in discussion of (Bug#18181).
6280 2014-08-29 Leo Liu <sdl.web@gmail.com>
6282 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
6283 append to minibuffer-setup-hook. (Bug#18341)
6285 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
6289 (lookup-syntax-properties): Silence byte-compiler.
6290 (c-lang-defconst): Quote the code with `lambda' rather than with
6292 (c-lang-const): Avoid unneeded setq.
6293 (c-lang-constants-under-evaluation): Add docstring.
6294 (c-lang--novalue): New constant.
6295 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
6296 (c-get-lang-constant): Same here.
6297 Get the mode's value using `funcall' now that the code is quoted
6300 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
6302 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
6305 2014-08-28 Martin Rudalics <rudalics@gmx.at>
6307 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
6308 interpretation of `portion-whole'.
6310 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
6312 * net/tramp-adb.el: Spell author name correctly.
6314 2014-08-28 João Távora <joaotavora@gmail.com>
6316 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
6317 use url-expand-file-name. (Bug#18310)
6319 2014-08-28 Glenn Morris <rgm@gnu.org>
6321 * emulation/cua-rect.el (cua--highlight-rectangle):
6322 Avoid error at point-min. (Bug#18309)
6324 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6326 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
6327 executable-find (bug#18244).
6329 * simple.el (self-insert-uses-region-functions): Defvar.
6331 2014-08-28 Glenn Morris <rgm@gnu.org>
6333 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
6335 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
6337 * startup.el (normal-top-level): Now use internal--top-level-message.
6339 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
6341 * startup.el (normal-top-level): Use top-level-message.
6343 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6345 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
6346 URLs containing spaces and the like.
6348 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6350 * subr.el (remq): Fix docstring (Bug#18253).
6352 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
6354 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
6356 2014-08-24 Alan Mackenzie <acm@muc.de>
6358 Handle C++11's "auto" and "decltype" constructions.
6359 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
6360 and return 'decltype.
6361 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
6362 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
6364 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
6366 (c-font-lock-c++-new): Handle "decltype" constructions.
6367 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
6368 New c-lang-defconsts/defvars.
6369 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
6370 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
6371 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
6372 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
6374 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
6375 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
6376 off from c->-op-cont-re.
6377 (c->-op-cont-tokens): Change to use the above.
6378 (c->-op-without->-cont-regexp): New lang-const.
6379 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
6380 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
6383 2014-08-23 Alan Mackenzie <acm@muc.de>
6385 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
6386 loop, bug #18306. The bug was introduced on 2014-08-02.
6388 2014-08-21 Eli Zaretskii <eliz@gnu.org>
6390 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
6391 Don't recognize a Top node if there are other sectioning commands
6392 earlier in the Texinfo file. This fixes a bug in
6393 texinfo-make-menu and avoids inflooping in
6394 texinfo-all-menus-update when they are invoked on texinfo.texi.
6396 2014-08-21 Martin Rudalics <rudalics@gmx.at>
6398 * window.el (window--side-window-p): New function.
6399 (split-window, window-splittable-p): Use window--side-window-p to
6400 determine whether WINDOW can be split (Bug#18304).
6401 * calendar/calendar.el (calendar-basic-setup): Fix one call of
6402 `window-splittable-p' and add another (Bug#18304).
6404 2014-08-20 Sam Steingold <sds@gnu.org>
6406 * progmodes/python.el (python-new-pythonpath): Extract from
6407 `python-shell-calculate-process-environment'.
6409 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6411 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
6412 for &key args (bug#18048).
6414 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
6417 (eldoc-function-argstring-format): Remove.
6418 (eldoc-function-argstring): Always return upcase args.
6419 Use help-make-usage. Don't add parens.
6420 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
6421 it's too late to do it right (bug#18048).
6423 2014-08-18 Eli Zaretskii <eliz@gnu.org>
6425 * scroll-bar.el (scroll-bar-horizontal-drag-1)
6426 (scroll-bar-toolkit-horizontal-scroll): When determining the
6427 paragraph direction, use the buffer of the window designated in
6430 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
6432 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
6433 context of unified diff.
6435 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
6437 Add dependencies to fix loaddefs race during parallel builds.
6438 Without this, for example, 'make -j bootstrap' can fail and report
6439 "Opening input file: no such file or directory,
6440 .../lisp/calendar/diary-loaddefs.el ... recipe for target
6441 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
6442 got confused because diary-loaddefs.el was being built in parallel.
6443 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
6444 Depend on $(CAL_DIR)/cal-loaddefs.el.
6445 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
6447 2014-08-16 Martin Rudalics <rudalics@gmx.at>
6449 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
6450 portion-whole for scrolling right-to-left text.
6452 2014-08-15 Leo Liu <sdl.web@gmail.com>
6454 * speedbar.el (speedbar-generic-list-tag-p): Allow special
6455 elements from imenu.
6457 2014-08-15 Glenn Morris <rgm@gnu.org>
6459 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
6461 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
6463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6464 Add Guile regexpses.
6466 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
6468 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
6469 add Guile debugger support for GUD.
6471 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6473 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
6474 (mouse-sel--ignore): New function.
6475 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
6476 (mouse-sel-original-interprogram-cut-function)
6477 (mouse-sel-original-interprogram-paste-function): Remove.
6479 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
6481 * vc/vc-git.el (vc-git-resolve-when-done): New function.
6482 Call "git add" when there are no longer conflict markers.
6484 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6486 * vc/vc-git.el (vc-git-find-file-hook): New function.
6487 Adds support for calling smerge (and resolve) on a conflicted file.
6488 (vc-git-conflicted-files): New function.
6489 Useful in itself and a step towards better smerge support.
6491 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
6494 to the first part if they're the same as the selection.
6496 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6498 * image-mode.el (image-transform-reset): New command and menu item.
6499 (image-mode-map): Rearrange the menu items to put presumably more
6500 obscure items at the end.
6502 2014-08-12 Juri Linkov <juri@jurta.org>
6504 * vc/vc-annotate.el (vc-annotate-background-mode):
6505 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
6507 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6509 * files.el (out-of-memory-warning-percentage): Turn it off by default.
6511 2014-08-11 Sam Steingold <sds@gnu.org>
6513 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
6514 the presence of known validators (tidy, (o)nsgmls).
6516 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
6518 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
6519 * net/newst-treeview.el (newsticker-treeview-date-format): New.
6520 (newsticker--treeview-list-add-item):
6521 Use `newsticker-treeview-date-format'.
6523 2014-08-11 Glenn Morris <rgm@gnu.org>
6525 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
6526 chose coding system for writing before backing up, since it causes
6527 a more serious problem than the one it solves. (Closes Bug#18141,
6530 2014-08-11 Martin Rudalics <rudalics@gmx.at>
6532 * window.el (window-total-size): Make doc-string more self-contained.
6534 * window.el (display-buffer-below-selected): Restore original
6535 behavior if buffer is already displayed in the window below the
6536 selected one (Bug#18181).
6538 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
6543 2014-08-11 Eli Zaretskii <eliz@gnu.org>
6545 * info.el (info): Doc fix.
6547 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
6549 * info.el (Info-mode-map): Override a global down-mouse-2 binding
6552 2014-08-11 Eli Zaretskii <eliz@gnu.org>
6554 * simple.el (default-line-height): A floating-point value of
6555 line-spacing means a fraction of the default frame font's height,
6556 not of the font currently used by the 'default' face.
6557 Truncate the pixel value, like the display engine does.
6558 (window-screen-lines): Use window-inside-pixel-edges for
6559 determining the window height in pixels. (Bug#18195)
6561 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
6563 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
6565 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
6567 Enumerate evaluated sexp diary entries (Bug#7911).
6568 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
6569 (icalendar-export-sexp-enumeration-days): New.
6570 (icalendar-export-region): Now `icalendar--convert-to-ical'
6571 returns a cons cell or a list of cons cells.
6572 (icalendar--convert-to-ical): Take care of
6573 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
6574 (icalendar--convert-ordinary-to-ical)
6575 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6576 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
6577 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
6578 (icalendar--convert-anniversary-to-ical): Return cons cell.
6579 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
6580 entries. Return (list of) cons cells.
6582 2014-08-09 Juri Linkov <juri@jurta.org>
6584 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
6585 to reevaluate `vc-annotate-color-map'. (Bug#18189)
6587 2014-08-09 Alan Mackenzie <acm@muc.de>
6589 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
6590 for top-level that can cause unacceptable slow-down in scrolling.
6591 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
6592 Antipov from 2013-10-14 in emacs-devel.
6594 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6596 * ibuffer.el (ibuffer-mode-map): Use toggle button for
6597 `ibuffer-auto-mode' menu entry.
6598 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
6600 2014-08-08 Matthias Meulien <orontee@gmail.com>
6602 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
6605 2014-08-07 Martin Rudalics <rudalics@gmx.at>
6607 * window.el (window--min-size-1): Explicitly set WINDOW arg in
6608 calls of window-min-pixel-height and window-min-pixel-width.
6610 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6612 * progmodes/ada-mode.el:
6613 * net/tramp.el (tramp-handle-file-symlink-p):
6614 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
6615 about VMS, which we no longer support.
6616 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
6617 and fix a FIXME, using convert-standard-filename in place of
6618 removed ada-convert-file-name.
6620 2014-08-07 Eli Zaretskii <eliz@gnu.org>
6622 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
6624 2014-08-07 Reuben Thomas <rrt@sc3d.org>
6626 Refer to MS-DOS using the same name everywhere.
6627 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
6628 ``msdog'' become ``MS-DOS''.
6630 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
6632 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6633 Use cached "remote-copy-args" value, if available. (Bug#18199)
6635 2014-08-07 Leo Liu <sdl.web@gmail.com>
6637 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
6638 Revert change on 2014-03-22.
6640 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
6642 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
6643 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
6647 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6649 * image-mode.el (image-toggle-display-image): Always rescale images
6650 to not be bigger than the current window.
6652 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
6654 * net/eww.el (eww-bookmarks-directory): New variable.
6655 (eww-write-bookmarks): Use it.
6656 (eww-read-bookmarks): Ditto.
6658 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6660 * net/shr.el (shr-copy-url): Also copy the image URL.
6662 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
6664 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
6665 also for Tramp working buffers.
6667 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6669 * progmodes/python.el: Fix completions inside (i)pdb.
6670 (python-shell-completion-pdb-string-code): Make obsolete.
6671 (python-shell-completion-get-completions):
6672 Use python-shell-completion-string-code resending setup code
6673 continuously for (i)pdb.
6675 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
6677 * rect.el (rectangle--default-line-number-format): Rename
6678 from misspelled rectange--default-line-number-format (Bug#18045).
6681 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
6683 Don't mishandle year-9999 dates (Bug#18176).
6684 * calendar/parse-time.el (parse-time-rules):
6685 Allow years up to most-positive-fixnum.
6686 * calendar/time-date.el (date-to-time):
6687 Pass "Specified time is not representable" errors through.
6689 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6691 * progmodes/python.el: Completion code cleanups.
6692 (python-shell-completion-get-completions): Detect and send import
6693 statements directly to completion function.
6694 (python-shell-completion-at-point): Simplify prompt calculation
6695 and import vs input completion logic.
6697 2014-08-02 Alan Mackenzie <acm@muc.de>
6699 Fix confusion in C++ file caused by comma in "= {1,2},".
6701 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
6702 for a statement boundary marked by "}", check there's no "="
6704 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
6705 non-nil `comma-delim' argument.
6706 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
6707 initializer expression more accurately.
6709 Correct loop termination condition in c-syntactic-skip-backward.
6710 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
6711 the situation where, after moving back out of a literal,
6712 skip-chars-backward doesn't move further, yet checks have still to
6715 2014-08-01 Eli Zaretskii <eliz@gnu.org>
6717 * tutorial.el (tutorial--display-changes): Accept punctuation
6718 characters before the key binding. (Bug#18146)
6720 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
6722 * progmodes/python.el: Shell output capture enhancements.
6723 (python-shell-accept-process-output): New function.
6724 (inferior-python-mode)
6725 (python-shell-send-setup-code): Use it.
6727 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
6729 * calendar/icalendar.el (icalendar--decode-isodatetime):
6730 Use actual current-time-zone when converting to local time. (Bug#15408)
6732 2014-07-29 Martin Rudalics <rudalics@gmx.at>
6734 * window.el (window--state-put-2): Handle horizontal scroll
6737 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6739 * menu-bar.el (menu-bar-update-buffers): Update item list format
6740 in `buffers-menu' to confirm with changes to `get_keyelt'
6741 (r117463). (Bug#18016)
6743 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6745 * progmodes/python.el (inferior-python-mode): Make input prompts
6748 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
6750 * net/tramp-sh.el (tramp-get-remote-python): Also search for
6751 executables named "python2" or "python3".
6752 (tramp-get-remote-uid-with-python): Use parentheses around
6753 arguments to `print' to make it compatible with Python 3.
6754 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
6756 2014-07-28 Eli Zaretskii <eliz@gnu.org>
6758 * window.el (window--pixel-to-total): Use FRAME's root window, not
6759 that of the selected frame. (Bug#18112, Bug#16674)
6761 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
6763 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6766 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6768 * progmodes/python.el (inferior-python-mode): Doc fix.
6770 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6772 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
6773 not a character, ignore it instead of raising an error.
6775 * calendar/todo-mode.el: Fix handling of marked items and make
6776 minor code improvements.
6777 (todo-edit-item): If there are marked items, ensure user can only
6778 invoke editing commands that work with marked items.
6779 (todo-edit-item--text): When there are marked items, make it a
6780 noop if invoked with point not on an item; otherwise, ensure it
6781 applies only to item at point.
6782 (todo-item-undone): If there are marked not-done items, return
6783 point to its original position before signaling user error.
6784 (todo--user-error-if-marked-done-item): New function.
6785 (todo-edit-item--header, todo-edit-item--diary-inclusion)
6786 (todo-item-done): Use it.
6788 2014-07-28 Glenn Morris <rgm@gnu.org>
6790 * files.el (toggle-read-only): Re-add basic doc-string.
6791 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
6793 * progmodes/prolog.el (prolog-mode-keybindings-edit):
6794 Replace missing `switch-to-prolog' with `run-prolog'.
6795 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
6797 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6799 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
6800 of file-wide setting when changing category-wide setting.
6802 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
6804 * doc-view.el (doc-view-open-text): Don't require that the
6805 document is saved in a file (e.g., email attachment).
6807 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6809 Parse completion input in a iPython friendly way. (Bug#18084)
6810 * progmodes/python.el
6811 (python-shell-completion-at-point): Rename from
6812 python-shell-completion-complete-at-point.
6813 (inferior-python-mode): Use it.
6814 (python-completion-at-point): Rename from
6815 python-completion-complete-at-point. Parse input up to first
6816 backward occurrence of whitespace, open-paren, close-paren or
6818 (python-mode): Use it.
6820 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6822 * progmodes/python.el
6823 (python-shell-with-shell-buffer): New macro.
6824 (python-shell-font-lock-get-or-create-buffer)
6825 (python-shell-font-lock-kill-buffer)
6826 (python-shell-font-lock-with-font-lock-buffer)
6827 (python-shell-font-lock-cleanup-buffer)
6828 (python-shell-font-lock-toggle): Use it.
6829 (python-shell-font-lock-turn-on)
6830 (python-shell-font-lock-turn-off): Use it. Make command.
6832 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6834 Grab all Python process output before inferior-python-mode hooks.
6835 * progmodes/python.el (inferior-python-mode):
6836 Call accept-process-output and sit-for to ensure all output for process
6837 has been received before running hooks.
6838 (python-shell-internal-get-or-create-process):
6839 Cleanup accept-process-output and sit-for calls.
6841 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
6843 More robust shell startup and code setup.
6844 * progmodes/python.el (python-shell-make-comint):
6845 Remove accept-process-output call.
6846 (python-shell-get-buffer): Return current buffer if major-mode is
6847 inferior-python-mode.
6848 (python-shell-get-or-create-process): Use it.
6849 (python-shell-send-setup-code): Send all setup code in one string,
6850 output success message and accept-process-output.
6852 2014-07-27 Eli Zaretskii <eliz@gnu.org>
6854 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
6855 Add rudimentary support for bidirectional text.
6857 2014-07-27 Martin Rudalics <rudalics@gmx.at>
6859 * frame.el (frame-notice-user-settings): Rewrite using
6860 frame-initial-frame-tool-bar-height.
6861 * menu-bar.el (menu-bar-horizontal-scroll-bar)
6862 (menu-bar-no-horizontal-scroll-bar): New functions.
6863 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
6865 * scroll-bar.el (scroll-bar-lines)
6866 (set-horizontal-scroll-bar-mode)
6867 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
6868 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
6869 (scroll-bar-toolkit-horizontal-scroll): New functions.
6870 (horizontal-scroll-bar-mode)
6871 (previous-horizontal-scroll-bar-mode)
6872 (horizontal-scroll-bar-mode-explicit): New variables.
6873 (horizontal-scroll-bar-mode): New option.
6874 (toggle-horizontal-scroll-bar): Do something.
6875 (top-level): Bind horizontal-scroll-bar mouse-1.
6876 * startup.el (tool-bar-originally-present): Remove variable.
6877 (command-line): Don't set tool-bar-originally-present.
6878 * window.el (window-min-height): Update doc-string.
6879 (window--dump-frame): Dump horizontal scroll bar values.
6880 (window--min-size-1): Handle minibuffer window separately.
6881 Count in margins and horizontal scroll bar. Return safe value
6882 iff IGNORE equals 'safe.
6883 (frame-windows-min-size): New function (used by frame resizing
6885 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
6887 (window--sanitize-window-sizes): New function.
6888 (window-split-min-size): Remove.
6889 (split-window): Count divider-width. Don't use
6890 `window-split-min-size' any more. Reword error messages.
6891 Sanitize windows sizes after splitting.
6893 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
6895 Use `defvar-local' more.
6896 * progmodes/hideshow.el
6897 (hs-c-start-regexp, hs-block-start-regexp)
6898 (hs-block-start-mdata-select, hs-block-end-regexp)
6899 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
6900 remove corresponding `make-variable-buffer-local' top-level calls.
6902 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6904 Cleanup error signals. (Bug#18067)
6905 * progmodes/python.el
6906 (python-indent-shift-left): Use user-error instead.
6907 (python-shell-prompt-detect): Use lwarn with python group.
6908 (python-completion-complete-at-point)
6909 (python-eldoc--get-doc-at-point): Don't signal error.
6911 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6913 Support for packages in Python shell. (Bug#13570)
6914 * progmodes/python.el (python-shell--package-depth): New var.
6915 (python-shell-package-enable): New command.
6916 (python-util-list-directories, python-util-list-files)
6917 (python-util-list-packages): New functions.
6919 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6921 Faster comint output. (Bug#16875)
6922 * progmodes/python.el:
6923 (python-comint-output-filter-function): Make obsolete.
6924 (python-comint-postoutput-scroll-to-bottom): New function.
6925 (inferior-python-mode): Set comint-output-filter-functions to a
6928 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
6930 * progmodes/python.el (python-shell-font-lock-post-command-hook):
6931 Safeguard current point and undo history.
6933 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
6935 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
6936 * progmodes/python.el:
6937 (python-shell-prompt-input-regexps): Add iPython block prompt.
6938 (python-shell-output-syntax-table): Delete var.
6939 (python-shell-font-lock-with-font-lock-buffer): New macro.
6940 (python-shell-font-lock-get-or-create-buffer)
6941 (python-shell-font-lock-kill-buffer)
6942 (python-shell-font-lock-cleanup-buffer)
6943 (python-shell-font-lock-post-command-hook)
6944 (python-shell-font-lock-turn-off): New functions.
6945 (python-shell-font-lock-turn-on): New function.
6946 (inferior-python-mode): Use it.
6947 (python-shell-font-lock-toggle): New command.
6948 (python-shell-font-lock-enable): Rename from
6949 python-shell-enable-font-lock.
6950 (run-python-internal): Use it.
6951 (python-shell-font-lock-comint-output-filter-function): New function.
6952 (python-shell-comint-end-of-output-p): New function.
6953 (python-shell-output-filter): Use it.
6954 (python-util-comint-last-prompt): New function.
6955 (python-util-text-properties-replace-name): New function.
6957 2014-07-25 Glenn Morris <rgm@gnu.org>
6959 * vc/ediff-init.el (ediff-toggle-read-only-function):
6960 * vc/ediff-util.el (ediff-toggle-read-only):
6961 Replace obsolete toggle-read-only with read-only-mode.
6963 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
6965 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
6966 with `save-match-data'. (Bug#18095)
6968 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
6970 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
6971 order to ensure that row and col are lexically bound inside the
6974 2014-07-21 Glenn Morris <rgm@gnu.org>
6976 * progmodes/hideif.el (hide-ifdef-mode-submap):
6977 Also substitute read-only-mode.
6978 * bindings.el (mode-line-toggle-read-only):
6979 * bs.el (bs-toggle-readonly):
6980 * buff-menu.el (Buffer-menu-toggle-read-only):
6981 * dired.el (dired-toggle-read-only):
6982 * files.el (view-read-only, find-file-read-only)
6983 (find-file-read-only-other-window)
6984 (find-file-read-only-other-frame):
6985 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
6986 Doc fixes re toggle-read-only.
6988 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
6990 * progmodes/python.el: Add comment about pipe buffering and
6991 solutions for missing/delayed output in inferior Python shells.
6994 * progmodes/python.el (python-mode): Don't set
6995 mode-require-final-newline. (Bug#17990)
6997 Make python.el work with IPython automatically. (Bug#15510)
6998 * progmodes/python.el:
6999 (python-shell-completion-setup-code): New value supporting iPython.
7000 (python-shell-completion-string-code): New value supporting iPython.
7001 (python-shell-completion-get-completions): Use them.
7002 (python-shell-completion-module-string-code): Make obsolete.
7003 (python-shell-prompt-input-regexps)
7004 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
7005 (python-shell-output-filter): Fix comment typo.
7007 Fix Python shell prompts detection for remote hosts.
7008 * progmodes/python.el (python-shell-prompt-detect):
7009 Replace call-process with process-file and make it more robust.
7011 Autodetect Python shell prompts. (Bug#17370)
7012 * progmodes/python.el:
7013 (python-shell-interpreter-interactive-arg)
7014 (python-shell-prompt-detect-enabled)
7015 (python-shell-prompt-detect-failure-warning)
7016 (python-shell-prompt-input-regexps)
7017 (python-shell-prompt-output-regexps): New vars.
7018 (python-shell-prompt-calculated-input-regexp)
7019 (python-shell-prompt-calculated-output-regexp): New vars.
7020 (python-shell-get-process-name)
7021 (python-shell-internal-get-process-name)
7022 (python-shell-output-filter)
7023 (python-shell-completion-get-completions): Use them.
7024 (python-shell-prompt-detect)
7025 (python-shell-prompt-validate-regexps): New functions.
7026 (python-shell-prompt-set-calculated-regexps): New function.
7027 (inferior-python-mode): Use it. Also honor overriden
7028 python-shell-interpreter and python-shell-interpreter-args.
7029 (python-shell-make-comint): Honor overriden
7030 python-shell-interpreter and python-shell-interpreter-args.
7031 (python-shell-get-or-create-process): Make it testable by allowing
7032 to call run-python non-interactively.
7033 (python-util-valid-regexp-p): New function.
7034 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
7035 (python-shell-prompt-output-regexp)
7036 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
7038 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
7040 * emacs-lisp/smie.el (smie-config--guess-1): Split from
7042 (smie-config--guess): Use it.
7044 * emacs-lisp/edebug.el: Use nadvice.
7045 (edebug-original-read): Remove.
7046 (edebug--read): Rename from edebug-read and add `orig' arg.
7047 (edebug-uninstall-read-eval-functions)
7048 (edebug-install-read-eval-functions): Use nadvice.
7049 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
7050 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
7051 (edebug-read-string, edebug-read-function): Use just `read'.
7052 (edebug-original-debug-on-entry): Remove.
7053 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
7055 (debug-on-entry): Override with nadvice.
7057 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
7058 it also makes sense to bind it to a non-mouse event.
7060 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
7062 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
7067 * rect.el (rectangle--string-preview): Don't assume there
7068 a non-nil default (bug#17984).
7070 2014-07-16 Glenn Morris <rgm@gnu.org>
7072 * desktop.el (after-init-hook): Disable startup frame restoration
7073 in non-graphical situations. (Bug#17693)
7075 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
7076 if it was "empty", or used for a different set of files. (Bug#17884)
7078 2014-07-16 Eli Zaretskii <eliz@gnu.org>
7080 * bindings.el (mode-line-remote): If default-directory is not a
7081 string, don't call file-remote-p on it; instead state in the
7082 help-echo that it is nil. (Bug#17986)
7084 2014-07-14 Daniel Colascione <dancol@dancol.org>
7086 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
7087 to `macroexpand-all'
7089 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
7090 Use `macroexpand-all' instead of `cl-macroexpand-all'.
7092 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
7094 Fix bug: C-x v v discarded existing log message (Bug#17884).
7095 * vc/vc-dispatcher.el (vc-log-edit):
7096 Don't clobber an already-existing log message.
7098 2014-07-12 Glenn Morris <rgm@gnu.org>
7100 * vc/log-edit.el (log-edit-changelog-entries):
7101 Check for a visited-but-never-saved ChangeLog.
7103 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
7105 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
7106 a non-existing file (bug#17970).
7108 * faces.el (face-name): Undo last change.
7109 (x-resolve-font-name): Don't call face-name (bug#17956).
7111 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
7113 Fix dedenters and electric colon handling. (Bug#15163)
7114 * progmodes/python.el
7115 (python-rx-constituents): Add dedenter and block-ender.
7116 (python-indent-dedenters, python-indent-block-enders): Delete.
7117 (python-indent-context): Return new case for dedenter-statement.
7118 (python-indent-calculate-indentation): Handle new case.
7119 (python-indent-calculate-levels): Fix levels calculation for
7120 dedenter statements.
7121 (python-indent-post-self-insert-function): Fix colon handling.
7122 (python-info-dedenter-opening-block-message): New function.
7123 (python-indent-line): Use it.
7124 (python-info-closing-block)
7125 (python-info-closing-block-message): Remove.
7126 (python-info-dedenter-opening-block-position)
7127 (python-info-dedenter-opening-block-positions)
7128 (python-info-dedenter-statement-p): New functions.
7130 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
7132 * files.el (out-of-memory-warning-percentage): New defcustom.
7133 (warn-maybe-out-of-memory): Use it.
7135 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
7137 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
7138 when calling `read-string'. (Bug#17839)
7140 2014-07-10 Eli Zaretskii <eliz@gnu.org>
7142 * files.el (warn-maybe-out-of-memory): Fix the wording of the
7145 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
7147 * files.el (warn-maybe-out-of-memory): New function.
7148 (find-file-noselect): Use it.
7150 2014-07-09 Sam Steingold <sds@gnu.org>
7152 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
7153 `constant' like `bless', `return' &c
7155 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * rect.el (apply-on-rectangle): Check forward-line really moved to the
7160 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7162 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
7163 the middle of a line (bug#17896).
7165 2014-07-09 Juri Linkov <juri@jurta.org>
7167 * startup.el (command-line): Append displaying the warning about
7168 the errors in the init file to the end of `after-init-hook'.
7171 * faces.el (face-name): Return input arg `face' as-is
7172 when it's not a symbol.
7173 (x-resolve-font-name): Don't check if the face is a symbol.
7176 * facemenu.el (list-colors-print): In help-echo format use %.2f
7177 instead of %d because now HSV values are floating-point components
7178 between 0.0 and 1.0.
7180 2014-07-09 Glenn Morris <rgm@gnu.org>
7182 * emulation/cua-rect.el (cua--activate-rectangle):
7183 Avoid setting cua--rectangle to nil. (Bug#17877)
7185 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7187 * calendar/todo-mode.el: Fix wrong-type-argument error when
7188 marking multiple consecutive items.
7189 (todo-toggle-mark-item): Don't try to mark the empty lines at the
7190 end of the todo and done items sections. Note in doc string that
7191 items marked by passing a numeric prefix argument can include the
7192 last todo and first done items.
7193 (todo-mark-category): Don't try to mark the empty line between the
7194 todo and done items sections.
7196 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
7199 proper Lisp quoting (bug#17934).
7201 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
7202 require-final-newline since prog-mode already took care of it (bug#17947).
7204 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
7206 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
7207 refer to the Todo mode Info manual. Update the comment on
7209 (todo-find-filtered-items-file): Add todo-prefix overlays.
7210 (todo-filter-items): Reorder a let-bound variable to avoid a
7211 wrong-type-argument error on canceling the file choice dialog.
7213 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
7215 * progmodes/octave.el (inferior-octave-mode):
7216 Set comint-input-ring-size to a number (bug#17912).
7218 2014-07-09 Juri Linkov <juri@jurta.org>
7220 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
7221 and `isearch-mode' associated with nil. (Bug#17849)
7223 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * linum.el (linum--face-height): New function (bug#17813).
7226 (linum-update-window): Use it to adjust margin to linum's width.
7228 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
7229 * eshell/em-smart.el (eshell-smart-scroll-window):
7230 Use with-selected-window.
7232 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
7233 Remove also pointless window&mark manipulation.
7235 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
7236 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
7237 (perl-continuation-line-p): Don't skip over anything else than labels.
7238 Return the previous char.
7239 (perl-calculate-indent): Use syntax-ppss instead of parse-start
7240 and update callers accordingly. For continuation lines, check the
7241 the case of array hashes.
7242 (perl-backward-to-noncomment): Make it non-interactive.
7243 (perl-backward-to-start-of-continued-exp): Rewrite.
7245 2014-07-08 Sam Steingold <sds@gnu.org>
7247 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
7250 2014-07-08 Juri Linkov <juri@jurta.org>
7252 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
7253 (vc-annotate-color-map): Use less saturated colors (20%) for
7255 (vc-annotate-very-old-color): Add default value for background-mode.
7256 (vc-annotate-background): Set default value to nil since now text on
7257 the default backgrounds should be legible in light and dark modes.
7258 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
7261 2014-07-08 Juri Linkov <juri@jurta.org>
7263 * simple.el (transpose-chars): Don't move point into read-only area.
7266 2014-07-08 Juri Linkov <juri@jurta.org>
7268 * window.el (with-displayed-buffer-window): New macro.
7269 (with-temp-buffer-window, with-current-buffer-window):
7270 Use `macroexp-let2' to evaluate and bind variables
7271 in the same order as macro arguments.
7272 (display-buffer--action-function-custom-type):
7273 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
7275 * minibuffer.el (minibuffer-completion-help): Replace
7276 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
7277 with actions that display *Completions* at-bottom when called
7278 from the minibuffer, or below-selected in a normal buffer.
7279 Associate `window-height' with `fit-window-to-buffer'.
7280 Let-bind `pop-up-windows' to nil.
7282 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
7283 instead of `with-current-buffer-window'. (Bug#17809)
7285 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
7287 * progmodes/hideif.el (hide-ifdef-env): Change to global.
7288 (hide-ifdef-env-backup): New variable.
7289 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
7290 New customizable variables.
7291 (hif-clear-all-ifdef-defined): New defun.
7292 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
7293 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
7294 (hif-tokenize): Fix for MS-DOS/Win EOL style.
7295 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
7296 Fix bug to hide the correct #elif region(s).
7297 (hif-range-elif): New defun.
7298 (hif-recurse-level): New var.
7299 (hif-evaluate-region, hif-evaluate-macro): New defun.
7300 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
7302 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
7305 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
7307 * net/dbus.el (dbus-peer-handler): New defun.
7308 (dbus-register-service): Register it. (Bug#17858)
7309 (dbus-managed-objects-handler): Fix docstring.
7311 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
7313 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
7314 (narrow-to-defun): New arg include-comments, defaulting to it
7317 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7319 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
7320 different calling convention to rectangle--unhighlight-for-redisplay.
7322 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
7324 * net/tramp.el (tramp-call-process): Handle error strings.
7326 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
7328 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
7329 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
7331 * net/trampver.el: Update release number.
7333 2014-07-03 Juri Linkov <juri@jurta.org>
7335 * desktop.el (desktop-save): Rename arg `auto-save' to
7336 `only-if-changed'. Doc fix. (Bug#17873)
7338 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7340 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7341 Use insert-for-yank (bug#17271).
7343 2014-07-03 Leo Liu <sdl.web@gmail.com>
7345 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
7346 Support lexical-binding.
7348 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7350 * vc/log-edit.el (log-edit-goto-eoh): New function.
7351 (log-edit--match-first-line): Use it (bug#17861).
7353 2014-07-03 Glenn Morris <rgm@gnu.org>
7355 * vc/log-edit.el (log-edit-hook): Add missing :version.
7357 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7359 * progmodes/python.el (python-indent-post-self-insert-function):
7360 Enhancements to electric indentation behavior inside
7363 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
7366 buffer-invisibility-spec (bug#17867).
7368 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
7370 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
7373 2014-07-03 Glenn Morris <rgm@gnu.org>
7375 * cus-edit.el (help):
7376 * finder.el (finder-known-keywords):
7377 * help.el (help-for-help-internal):
7378 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
7379 (ediff-redraw-registry-buffer):
7380 * vc/ediff-ptch.el (ediff-patch-file-internal):
7381 Doc fixes re "online" help. (Bug#17803)
7383 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
7384 (idlwave-mode): Doc URL update.
7386 2014-07-01 Juri Linkov <juri@jurta.org>
7388 * man.el: Display man pages immediately and use process-filter
7389 to format them asynchronously.
7390 (Man-width): Doc fix.
7392 (Man-start-calling): Use `with-selected-window' to get
7393 `frame-width' and `window-width'.
7394 (Man-getpage-in-background): Call `Man-notify-when-ready'
7395 immediately after creating a new buffer. Call `Man-mode' and set
7396 `mode-line-process' in the created buffer. Set process-filter to
7397 `Man-bgproc-filter' in start-process branch. In call-process branch
7398 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
7399 Use `Man-start-calling' inside `with-current-buffer'.
7400 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
7401 (Man-cleanup-manpage): Don't print messages.
7402 (Man-bgproc-filter): New function.
7403 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
7404 user moved it during asynchronous formatting. Move calls of
7405 `Man-fontify-manpage' and `Man-cleanup-manpage' to
7406 `Man-bgproc-filter'. Move the call of `Man-mode' to
7407 `Man-getpage-in-background'. Use `quit-restore-window'
7408 instead of `kill-buffer'. Use `message' instead of `error'
7409 because errors are caught by process sentinel.
7410 (Man-mode): Move calls of `Man-build-page-list',
7411 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
7412 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
7414 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
7415 for the message about the man page cleaned up.
7417 2014-07-01 Mario Lang <mlang@delysid.org>
7419 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
7420 cosutomization option `gnutls-verify-error'.
7422 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
7424 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
7425 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
7427 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
7428 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
7429 is suspended (bug#17857).
7431 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
7433 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7434 Prefer utf-8 coding. (Bug#17859)
7436 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7438 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
7441 2014-06-30 Glenn Morris <rgm@gnu.org>
7443 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
7444 (autoload-ensure-default-file): Maybe make existing output writable.
7445 * Makefile.in (AUTOGEN_VCS): Remove.
7446 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
7448 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7450 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
7452 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
7454 New if-let, when-let, thread-first and thread-last macros.
7456 * emacs-lisp/subr-x.el
7457 (internal--listify, internal--check-binding)
7458 (internal--build-binding-value-form, internal--build-binding)
7459 (internal--build-bindings): New functions.
7460 (internal--thread-argument, thread-first, thread-last)
7461 (if-let, when-let): New macros.
7463 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
7465 * net/rcirc.el (rcirc-buffer-process): Restore previous
7466 behaviour. (Bug#17772)
7468 2014-06-29 Alan Mackenzie <acm@muc.de>
7470 Don't call c-parse-state when c++-template-syntax-table is active.
7471 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
7472 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
7473 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
7475 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7477 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
7478 account for file-wide setting of todo-top-priorities-overrides.
7479 Make code a bit cleaner.
7481 2014-06-28 Glenn Morris <rgm@gnu.org>
7483 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
7485 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
7487 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
7488 category-wide setting of todo-top-priorities-overrides, check for
7489 a file-wide setting and fontify accordingly.
7491 2014-06-28 Glenn Morris <rgm@gnu.org>
7493 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
7495 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
7499 2014-06-28 K. Handa <handa@gnu.org>
7503 * composite.el: Setup composition-function-table for dotted circle.
7504 (compose-gstring-for-dotted-circle): New function.
7506 * international/characters.el: Add category "^" to all
7507 non-spacing characters.
7509 2014-06-28 Glenn Morris <rgm@gnu.org>
7511 * Makefile.in (doit): Remove force rule.
7512 (custom-deps, finder-data, autoloads, update-subdirs)
7513 (compile-one-process): PHONY targets do not need force rules.
7515 * Makefile.in (compile-main, compile, compile-always):
7516 No need to explicitly pass variables to ourself in recursive calls.
7518 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
7522 2014-06-26 Glenn Morris <rgm@gnu.org>
7524 * Makefile.in (update-authors): Update for moved authors.el.
7526 2014-06-26 Leo Liu <sdl.web@gmail.com>
7528 * skeleton.el (skeleton-end-hook): Default to nil and move the
7529 work to skeleton-insert. (Bug#17850)
7531 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
7533 * calc/calc-alg.el (math-beforep):
7534 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
7535 Simplify because string-lessp can accept symbols as args.
7537 2014-06-26 Daiki Ueno <ueno@gnu.org>
7539 * emacs-lisp/package.el (package--check-signature):
7540 If package-check-signature is allow-unsigned, don't signal error when
7541 we can't verify signature because of missing public key
7544 2014-06-26 Glenn Morris <rgm@gnu.org>
7546 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
7547 Remove outdated declaration.
7549 * emacs-lisp/authors.el (authors-valid-file-names)
7550 (authors-renamed-files-alist): Additions.
7552 2014-06-26 Leo Liu <sdl.web@gmail.com>
7554 * textmodes/picture.el (picture-set-tab-stops):
7555 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
7556 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
7558 * progmodes/asm-mode.el (asm-calculate-indentation):
7559 Use indent-next-tab-stop.
7561 * indent.el (indent-accumulate-tab-stops): New function.
7563 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7565 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
7566 (package-desc-status): Obey it.
7568 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
7570 * calendar/todo-mode.el: Fix two bugs.
7571 (todo-insert-item--basic): If user cancels item insertion to
7572 another category before setting priority, show original category
7573 whether it is in the same or a different file.
7574 (todo-set-item-priority): After selecting category, instead of
7575 moving point to top, which extends an active region, restore it.
7577 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7579 * help-fns.el (describe-function-1): Check file-name is a string before
7580 calling help-fns--autoloaded-p (bug#17564).
7582 2014-06-26 Juri Linkov <juri@jurta.org>
7584 * desktop.el (desktop-auto-save-enable)
7585 (desktop-auto-save-disable): New functions.
7586 (desktop-save-mode, desktop-auto-save-timeout): Use them.
7587 (desktop-read): Disable the autosave before loading the desktop,
7588 and enable afterwards. (Bug#17351)
7590 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7592 Fix some indentation problem with \; and pipes (bug#17842).
7593 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
7594 (sh-smie--default-forward-token, sh-smie--default-backward-token):
7596 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
7597 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
7598 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
7600 2014-06-26 Glenn Morris <rgm@gnu.org>
7602 * emacs-lisp/find-func.el (find-function-C-source-directory):
7603 Use file-accessible-directory-p.
7605 * ps-samp.el: Make it slightly less awful.
7606 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
7607 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
7608 Only set local values.
7609 (ps-article-subject, ps-article-author): Use standard functions
7610 like mail-fetch-field.
7611 (ps-info-file, ps-info-node): Use match-string.
7612 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
7613 (ps-samp-ps-setup): ... new function.
7615 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
7616 Optimize away code unneeded on any modern Emacs.
7618 * emacs-lisp/authors.el: Move to ../admin.
7620 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
7622 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
7624 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
7625 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
7626 performance enhancements.
7627 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
7629 (hif-factor, hif-string-concatenation, intern-safe): Support string
7630 concatenation and argumented macro expansion.
7631 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
7632 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
7633 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
7634 (hif-canonicalize-tokens, hif-place-macro-invocation)
7635 (hif-parse-macro-arglist): Mostly new functions for supporting
7636 argumented macro expansion.
7637 (hif-string-concatenation, hif-stringify, hif-token-concat)
7638 (hif-token-stringification, hif-token-concatenation):
7639 Stringification and concatenation.
7640 (hif-find-next-relevant): Fix comments.
7641 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
7642 some cases involving #elif.
7643 (hif-find-define, hif-add-new-defines): New functions for automatically
7644 scanning of defined symbols.
7645 (hide-ifdef-guts): Fix for defined symbol auto scanning.
7646 (hide-ifdef-undef): Fix behavior to match CPP.
7648 2014-06-25 Glenn Morris <rgm@gnu.org>
7650 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
7651 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
7652 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
7653 files. They are not relevant to the original issue (bug#1004),
7654 and cause unnecessary recompilation (bug#2151).
7656 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7658 * play/landmark.el: Use lexical-binding and avoid `intangible'.
7659 (landmark--last-pos): New var.
7660 (landmark--intangible-chars): New const.
7661 (landmark--intangible): New function.
7662 (landmark-mode, landmark-move): Use it.
7663 (landmark-mode): Remove properties.
7664 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
7665 (landmark-cross-qtuple):
7666 Don't worry about `intangible' any more.
7667 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
7668 (landmark-init-display): Don't set `intangible' and `point-entered'.
7669 (square): Remove. Inline it instead.
7670 (landmark--distance): Rename from `distance'.
7671 (landmark-calc-distance-of-robot-from): Rename from
7672 calc-distance-of-robot-from.
7673 (landmark-calc-smell-internal): Rename from calc-smell-internal.
7675 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
7677 * files.el (dir-locals-find-file, file-relative-name):
7678 * info.el (Info-complete-menu-item):
7679 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
7680 to compare-strings to avoid out-of-range errors.
7681 * subr.el (string-prefix-p): Adjust to match strict range
7682 checking in compare-strings.
7684 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
7686 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
7687 for comment lines non-greedy and stopping at newlines to fix stack
7688 overflows with large files.
7690 2014-06-24 Eli Barzilay <eli@barzilay.org>
7692 * calculator.el (calculator-last-input): Drop 'ascii-character property
7695 2014-06-24 Leo Liu <sdl.web@gmail.com>
7697 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
7698 tab-stop-list to nil. (Bug#16381)
7700 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
7701 (indent-rigidly-left-to-tab-stop)
7702 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
7703 (move-to-tab-stop): Change callers.
7705 2014-06-24 Eli Zaretskii <eliz@gnu.org>
7707 * skeleton.el (skeleton-insert): Yet another fix of the doc string
7708 wrt behavior of \n as the first/last element of a skeleton.
7710 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
7712 * net/tramp-adb.el (tramp-adb-handle-process-file):
7713 * net/tramp-sh.el (tramp-sh-handle-process-file):
7714 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
7715 the output buffer when DISPLAY is non-nil. (Bug#17815)
7717 2014-06-24 Glenn Morris <rgm@gnu.org>
7719 * play/landmark.el (landmark-move-down, landmark-move-up):
7720 Fix 2007-10-20 change - preserve horizontal position.
7722 2014-06-23 Sam Steingold <sds@gnu.org>
7724 * simple.el (kill-append): Remove undo boundary depending on ...
7725 (kill-append-merge-undo): New user option.
7727 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7729 * simple.el (handle-shift-selection, exchange-point-and-mark)
7730 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
7731 (transient-mark-mode): Use&set the global value.
7732 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
7733 * emulation/edt.el (edt-emulation-off): Save&restore the global
7734 transient-mark-mode setting.
7735 * obsolete/pc-select.el (pc-selection-mode): Use the
7736 transient-mark-mode function.
7738 2014-06-23 Eli Zaretskii <eliz@gnu.org>
7740 * international/fontset.el (script-representative-chars):
7741 Add representative characters for scripts added in Unicode 7.0.
7742 (otf-script-alist): Synchronize with the latest registry of OTF
7745 * international/characters.el (char-script-table): Update for
7746 scripts added and codepoint ranges changed in Unicode 7.0.
7748 2014-06-23 Eli Barzilay <eli@barzilay.org>
7750 * calculator.el (calculator-standard-displayer): Fix bug in use of
7751 `calculator-groupize-number'.
7752 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
7753 `eval' code, so it works in v24.3.1 too.
7754 (calculator-last-input): Comment to clarify purpose.
7756 2014-06-22 Mario Lang <mlang@delysid.org>
7758 * textmodes/rst.el (rst-comment-region): From from -> from.
7760 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
7762 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
7764 * electric.el (electric-layout-post-self-insert-function):
7765 * emacs-lisp/ert.el (ert--insert-infos):
7766 * obsolete/vi.el (vi-set-mark):
7767 * term.el (term-handle-scroll):
7768 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
7769 * wid-edit.el (widget-editable-list-value-create):
7770 Prefer point-marker to copy-marker of point.
7772 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7774 Fix completion retrieval parsing (bug#17209).
7775 * progmodes/python.el (python-mode):
7776 (python-util-strip-string): New function.
7777 (python-shell-completion-get-completions): Use it.
7779 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7781 * skeleton.el (skeleton-insert): Fix last change.
7783 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
7785 Enhancements for outline integration (bug#17796).
7786 * progmodes/python.el (python-mode): Properly set
7787 outline-heading-end-regexp so that comments after colons for
7788 defuns are supported.
7790 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7792 * skeleton.el (skeleton-insert): Doc fix.
7794 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
7797 (smie-config-guess): Use smie-config-local so the rules are obeyed
7800 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
7801 since it's already done inside the loop (bug#17819).
7803 2014-06-21 Martin Rudalics <rudalics@gmx.at>
7805 * mouse.el (mouse-drag-line): Re-remove code initially removed
7806 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
7809 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
7812 align with the surrounding parent (bug#17721).
7814 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7816 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
7818 (texinfo-insert-block, texinfo-insert-@end)
7819 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
7820 local setting of skeleton-end-newline by adding an explicit \n to
7821 the skeletons where appropriate. (Bug#17801)
7823 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
7826 (smie-indent--hanging-p): Use it.
7827 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
7829 2014-06-21 Leo Liu <sdl.web@gmail.com>
7831 * simple.el (read-quoted-char): Don't let help chars pop up help
7834 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
7839 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
7840 Drop unknown events instead of burping.
7842 2014-06-21 Eli Zaretskii <eliz@gnu.org>
7844 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
7845 and later. (Bug#17790)
7847 2014-06-21 Juri Linkov <juri@jurta.org>
7849 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
7850 to `soft'. (Bug#17554)
7852 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7854 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
7857 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
7859 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
7860 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
7862 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
7864 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
7865 `unread-command-events'.
7867 2014-06-19 William Xu <william.xwl@gmail.com>
7869 * progmodes/hideif.el (hif-string-to-number): Don't return float for
7870 hex integer constants (bug#17807).
7872 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * international/mule-util.el (truncate-string-ellipsis): New var.
7875 (truncate-string-to-width): Use it.
7877 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
7879 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
7880 (lisp-string-in-doc-position-p): New function, extracted from
7881 lisp-font-lock-syntactic-face-function.
7882 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
7884 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
7886 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
7888 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7890 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
7891 (bubbles--game-over): Don't add `intangible' properties since they
7894 2014-06-18 Juri Linkov <juri@jurta.org>
7896 * vc/ediff-init.el (ediff-current-diff-Ancestor)
7897 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
7898 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
7899 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
7900 Add `min-colors 88' version with removed black/white foregrounds.
7903 2014-06-18 Juri Linkov <juri@jurta.org>
7905 * vc/diff-mode.el (diff-changed): Empty face definition to use
7906 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
7907 (diff-context): Use darker color on light background and
7908 lighter color on dark background.
7910 2014-06-18 Juri Linkov <juri@jurta.org>
7912 * vc/diff-mode.el (diff-refine-changed): Rename from
7913 `diff-refine-change' for consistency with `diff-changed'.
7914 (diff-refine-change): Add obsolete face alias. (Bug#10181)
7916 * vc/smerge-mode.el (smerge-refined-changed): Rename from
7917 `smerge-refined-change'.
7918 (smerge-refined-change): Add obsolete face alias.
7920 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7922 * rect.el (rectangle-preview): New custom.
7923 (rectangle): New group.
7924 (rectangle--pos-cols): Add `window' argument.
7925 (rectangle--string-preview-state, rectangle--string-preview-window):
7927 (rectangle--string-flush-preview, rectangle--string-erase-preview)
7928 (rectangle--space-to, rectangle--string-preview): New functions.
7929 (string-rectangle): Use them.
7930 (rectangle--inhibit-region-highlight): New var.
7931 (rectangle--highlight-for-redisplay): Obey it. Make sure
7932 `apply-on-region' uses the point-crutches of the right window.
7933 Use :align-to rather than multiple spaces.
7935 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
7937 * ruler-mode.el (ruler-mode-window-col)
7938 (ruler-mode-mouse-set-left-margin)
7939 (ruler-mode-mouse-set-right-margin): Fix calculation of column
7940 from mouse position (Bug#17768).
7942 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
7944 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
7945 without varname or rhs causes crash.
7946 (dun-ftp): Fix bug where blank ftp password is allowed, making it
7947 impossible to win endgame.
7948 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
7950 (dun-help): Bump version number; update contact info.
7952 2014-06-15 Eli Barzilay <eli@barzilay.org>
7954 * calculator.el (calculator-prompt, calculator-remove-zeros)
7955 (calculator-mode-hook, calculator-operators, calculator-stack)
7956 (calculator-mode): Tweak docstring.
7957 (calculator-user-operators): Tweak docstring, fix a bug in the last
7959 (calculator-displayer): `std' case has an optional boolean.
7960 (calculator-displayers): Use the new boolean to group in decimal mode.
7961 (calculator-mode-map, calculator, calculator-message)
7962 (calculator-op-arity, calculator-add-operators)
7963 (calculator-string-to-number, calculator-displayer-prev)
7964 (calculator-displayer-next, calculator-remove-zeros)
7965 (calculator-eng-display, calculator-number-to-string)
7966 (calculator-update-display, calculator-last-input)
7967 (calculator-clear-fragile, calculator-digit, calculator-decimal)
7968 (calculator-exp, calculator-saved-move, calculator-clear)
7969 (calculator-copy, calculator-put-value, calculator-help)
7970 (calculator-expt, calculator-truncate): Minor code improvements.
7971 (calculator-need-3-lines): New function pulling out code from
7973 (calculator-get-display): Rename from `calculator-get-prompt', and
7975 (calculator-push-curnum): Rename from `calculator-curnum-value', and
7976 extended for all uses of it. All callers changed.
7977 (calculator-groupize-number): New utility for splitting a number into
7979 (calculator-standard-displayer): Improve code, new optional argument to
7980 use comma-split groups, make second argument optional too to use with
7981 'left/'right inputs. All callers changed.
7982 (calculator-reduce-stack-once): New utility, doing the meat of what
7983 `calculator-reduce-stack' used to do, much improved (mostly using
7984 `pcase' for conciseness and clarity).
7985 (calculator-reduce-stack): Now doing just the reduction loop using
7986 `calculator-reduce-stack-once'.
7987 (calculator-funcall): Improve code, make it work in v24.3.1 too.
7988 (calculator-last-input): Improve code, remove some old cruft.
7989 (calculator-quit): Kill `calculator-buffer' in electric mode too.
7990 (calculator-integer-p): Remove.
7991 (calculator-fact): Improve code, make it work on non-integer values
7992 too (using truncated numbers).
7994 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
7996 Sync with Tramp 2.2.10.
7998 * net/tramp.el (tramp-methods): Tweak docstring.
7999 (tramp-handle-file-accessible-directory-p): Check for
8000 `file-readable-p' instead of `file-executable-p'.
8001 (tramp-check-cached-permissions):
8002 Use `tramp-compat-file-attributes'.
8003 (tramp-call-process): Add new argument VEC. Adapt callees in all
8006 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
8007 (tramp-adb-maybe-open-connection): Don't set
8008 `tramp-current-*' variables.
8010 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
8011 file properties of temporary buffers.
8013 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
8015 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
8016 (tramp-gvfs-handle-delete-file): Flush file
8017 properties, not directory properties.
8018 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
8019 reading "unix::mode".
8020 (tramp-gvfs-handle-file-name-all-completions):
8021 Use "-h" option for "gvfs-ls".
8022 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
8023 (tramp-gvfs-send-command): Simplify traces.
8025 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
8026 (vc-git-program, vc-hg-program): Declare.
8027 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
8028 (tramp-methods) <nc>: Add new method.
8029 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
8030 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
8032 (tramp-default-user-alist): Add "nc".
8033 (top): Remove completion function for "sftp". Add completion
8034 functions for "nc" and "psftp".
8035 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
8036 Implement support for "nc" method.
8037 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
8038 (tramp-remote-coding-commands, tramp-call-local-coding-command):
8040 (tramp-sh-handle-write-region): Tweak error message.
8041 (tramp-sh-handle-vc-registered): Remove backends when the remote
8042 binary does not exist.
8043 (tramp-find-inline-encoding): Do not raise an error.
8044 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
8045 the "nc" case. Quote result also locally.
8047 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8048 (tramp-smb-handle-set-file-acl): Use `start-process'.
8049 (tramp-smb-handle-insert-directory): Use progress reporter.
8050 (tramp-smb-handle-rename-file): Flush also file properties of
8053 * net/trampver.el: Update release number.
8055 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8057 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
8059 (ses-localvars): Remove ses--local-printer-list, unused.
8060 (ses--metaprogramming): New macro. Use it to defvar variables.
8061 (ses-set-localvars): Simplify.
8062 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
8063 property-list into an alist.
8064 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8065 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
8066 Remove; use defstruct accessors/setters instead.
8067 (ses-cell-formula-aset, ses-cell-printer-aset)
8068 (ses-cell-references-aset): Remove, use setf instead.
8069 (ses--alist-get): New function.
8070 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
8071 Use an alist instead of a plist and don't do move-to-front since the
8072 list is always short.
8073 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
8074 (ses-cell-property-set-fun, ses-cell-property-set)
8075 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
8076 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
8077 (ses--letref): New macro.
8078 (ses-cell-property-pop): Rewrite.
8079 (ses--cell): Rename from ses-cell and make it into a function.
8080 Make `formula' fallback on `value' if nil.
8081 (ses--local-printer): Rename from ses-local-printer and make it into
8083 (ses-set-cell): Turn it into a macro so finding the accessor from the
8084 field name is done at compile time.
8085 (ses-repair-cell-reference-all): Test presence of `sym' rather than
8086 `ref' before adding `sym' to :ses-repair-reference.
8087 (ses-calculate-cell): Use ses--letref rather than
8088 ses-cell-property-get-handle.
8089 (ses-write-cells): Use a single prin1-to-string.
8090 (ses-setter-with-undo): New function.
8091 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
8092 (ses-unset-with-undo): Remove.
8093 (ses-load): Prefer apply' over `eval'.
8094 (ses-read-printer, ses-set-column-width): Use standard "(default
8097 2014-06-15 Glenn Morris <rgm@gnu.org>
8099 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
8101 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
8102 Replace delete-duplicates and mapcan by cl- versions throughout.
8103 And cl-macroexpand-all by macroexpand-all.
8104 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
8106 2014-06-15 Eli Zaretskii <eliz@gnu.org>
8108 * subr.el (posn-col-row): Doc fix. (Bug#17768)
8110 2014-06-15 Juri Linkov <juri@jurta.org>
8112 * bindings.el: Put `ascii-character' property on keypad keys
8113 mapped to characters. (Bug#17759)
8115 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
8118 bumping forward into a closing paren (bug#17761).
8120 * term/xterm.el (xterm--version-handler): Work around for OSX
8121 Terminal.app (bug#17607).
8123 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
8125 * play/dunnet.el (dun-describe-room, dun-mode):
8126 If a lamp is in the room, you won't be eaten by a grue.
8128 2014-06-13 Glenn Morris <rgm@gnu.org>
8130 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
8131 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
8132 (compile-always): GNU make automatically passes
8133 command-line arguments to sub-makes.
8135 * calendar/calendar.el (calendar-generate-window):
8136 Remove pointless call to font-lock-fontify-buffer.
8138 2014-06-13 Matthias Meulien <orontee@gmail.com>
8140 * simple.el (completion-list-mode-map): Navigate with tab and backtab
8143 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8145 * simple.el (set-mark-command): Simplify a bit.
8147 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8149 * help.el (help--key-binding-keymap): New function.
8150 (help--binding-locus): New function.
8151 (describe-key): Mention the keymap in which the binding was
8154 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8156 * hippie-exp.el (he--all-buffers): New function.
8157 (try-expand-line-all-buffers, try-expand-list-all-buffers)
8158 (try-expand-dabbrev-all-buffers): Use it.
8160 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
8162 * hippie-exp.el (try-expand-line-all-buffers)
8163 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
8164 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
8165 original buffer, in case they're buffer-local.
8167 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
8169 * ses.el (ses-initial-global-parameters-re): New defconst, a
8170 specific regexp is needed now that ses.el can handle both
8171 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
8173 (ses-localvars): Add local variables needed for local printer handling.
8174 (ses-set-localvars): Handle hashmap initialisation.
8175 (ses-paramlines-plist): Add param-line for number of local printers.
8176 (ses-paramfmt-plist): New defconst, needed for code factorization
8177 between functions `ses-set-parameter' and
8178 `ses-file-format-extend-paramter-list'
8179 (ses-make-local-printer-info): New defsubst.
8180 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
8181 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
8182 (ses-cell-printer-aset): New defmacro.
8183 (ses-local-printer-compile): New defun.
8184 (ses-local-printer): New defmacro.
8185 (ses-printer-validate, ses-call-printer): Add support for local
8187 (ses-file-format-extend-paramter-list): New defun.
8188 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
8190 (ses-load): Add support for local printer functions.
8191 (ses-read-printer): Update docstring and add support for local printer
8193 (ses-refresh-local-printer, ses-define-local-printer): New defun.
8194 (ses-safe-printer): Add support for local printer functions.
8196 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
8198 * ffap.el (ffap-lax-url): New var (bug#17723).
8199 (ffap-url-at-point): Use it.
8200 (ffap-file-at-point): Avoid returning just "/".
8202 2014-06-12 Matthias Meulien <orontee@gmail.com>
8204 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
8205 (python-mode-map): Bind it.
8207 * progmodes/python.el (class skeleton): Don't erase last char of class
8210 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
8212 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
8214 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
8216 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
8219 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * international/mule-cmds.el: Use lexical-binding.
8222 (ucs-names): Simplify.
8224 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
8226 * progmodes/python.el (run-python): Use read-shell-command.
8228 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * rect.el: Make it possible to move bounds past EOL or into TABs.
8231 (operate-on-rectangle): Use apply-on-rectangle.
8232 (rectangle--mark-crutches): New var.
8233 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
8234 (rectangle--crutches, rectangle--reset-crutches): New functions.
8235 (apply-on-rectangle): Obey crutches. Avoid setq.
8236 Fix missing final iteration if end is at EOB&BOL.
8237 (rectangle-mark-mode-map): Add remap bindings for
8238 exchange-point-and-mark and char/line movements.
8239 (rectangle--*-char): New function.
8240 (rectangle-exchange-point-and-mark, rectangle-right-char)
8241 (rectangle-left-char, rectangle-forward-char)
8242 (rectangle-backward-char, rectangle-next-line)
8243 (rectangle-previous-line): New commands.
8244 (rectangle--place-cursor): New function.
8245 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
8247 2014-06-08 Glenn Morris <rgm@gnu.org>
8249 * startup.el (initial-buffer-choice): Doc fix.
8250 Reset :version (adding an option does not merit a :version bump).
8252 * bookmark.el (bookmark-load):
8253 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
8255 2014-06-08 Juri Linkov <juri@jurta.org>
8257 * desktop.el: Activate auto-saving on window configuration changes.
8258 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
8259 `desktop-auto-save-set-timer' to/from
8260 `window-configuration-change-hook'.
8261 (desktop-auto-save-set-timer): Change REPEAT arg of
8262 `run-with-idle-timer' from t to nil.
8263 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
8265 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
8267 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
8268 vc-hg-command (bug#17570).
8270 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8272 * international/mule-cmds.el (ucs-names): Add special entry for BEL
8275 2014-06-08 Glenn Morris <rgm@gnu.org>
8277 * startup.el (window-setup-hook): Doc fix.
8279 * emacs-lisp/package.el (package-check-signature)
8280 (package-unsigned-archives): Doc fixes.
8282 2014-06-08 Martin Rudalics <rudalics@gmx.at>
8284 * window.el (display-buffer-use-some-window): Don't make window
8285 used smaller than it was before (Bug#17671).
8287 2014-06-08 Eli Zaretskii <eliz@gnu.org>
8289 * menu-bar.el (menu-bar-open): Fix last change: use the PC
8290 'redisplay' instead of '(sit-for 0)'.
8292 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
8294 * net/tramp.el (tramp-ssh-controlmaster-options):
8295 Improve search regexp. (Bug#17653)
8297 2014-06-08 Glenn Morris <rgm@gnu.org>
8299 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
8301 2014-06-08 Eli Zaretskii <eliz@gnu.org>
8303 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
8305 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
8307 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
8310 * vc/vc-hg.el (vc-hg-log-graph): New var.
8311 (vc-hg-print-log): Use it.
8312 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
8313 graph output (bug#17515).
8315 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8317 * mouse.el (mouse-posn-property): Ignore buffer position info when the
8318 even happened elsewhere.
8320 2014-06-06 Mario Lang <mlang@delysid.org>
8322 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
8323 `recenter' if `current-buffer' is equal to `window-buffer'.
8325 2014-06-05 Leo Liu <sdl.web@gmail.com>
8327 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
8329 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
8331 * textmodes/tildify.el (tildify-foreach-region-outside-env):
8332 New function which calls a callback on portions of the buffer that are
8333 outside of ignored environments.
8334 (tildify-build-regexp): Remove function since it is now
8335 incorporated in `tildify-foreach-region-outside-env' where it is
8336 optimized and simplified by the use of `mapconcat'.
8337 (tildify-tildify): Return number of substitutions made so that…
8338 (tildify-count): …can be removed.
8339 (tildify-find-env): Accept a new PAIRS argument which was
8340 previously looked up in `tildify-ignored-environments-alist' each
8341 time the function was called. With this change, the lookup is
8342 performed only once in `tildify-foreach-region-outside-env'.
8343 (tildify-region): Greatly simplify the function since now most of
8344 the work is done by `tildify-foreach-region-outside-env'.
8345 (tildify-mode-alist): Simplify slightly by avoiding if and setq
8346 and instead using or.
8348 * textmodes/tildify.el (tildify-ignored-environments-alist):
8349 Optimize environments regexes
8351 Each time beginning of an environment to ignore is found,
8352 `tildify-find-env' needs to identify regexp for the ending
8353 of the environment. This is done by trying all the opening
8354 regexes on matched text in a loop, so to speed that up, this
8355 loop should have fewer things to match, which can be done by
8356 using alternatives in the opening regexes.
8358 Coincidentally, this should make matching of the opening
8359 regexp faster as well thanks to the use of `regexp-opt' and
8360 having common prefix pulled from many regexes.
8362 * textmodes/tildify.el (tildify-string-alist)
8363 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
8364 of supported modes since `xml-mode' is no longer a thing but just
8365 an alias to the former. Also include comments and insides of tags
8366 in `tildify-ignored-environments-alist' for XML modes. Finally,
8367 since XML does not define “ ”[1], use a numeric reference for
8368 a no-break space (namely “ ”)
8370 [1] XML specification defines only a handful of predefined entities.
8371 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
8372 and includes only <, >, &, ' and " (meaning <,
8373 >, &, ' and " respectively). This is in contrast to HTML and even
8374 XHTML which defined a whole bunch of entities including “ ”.
8376 * textmodes/tildify.el (tildify-pattern-alist)
8377 (tildify-string-alist, tildify-ignored-environments-alist):
8378 Improve defcustom's types by adding more tags explaining what each
8379 value means and replace “sexp” used in
8380 `tildify-ignored-environments-alist' with a full type declaration.
8382 * textmodes/tildify.el (tildify-find-env): Fix matched group
8383 indexes in end-regex building
8385 When looking for a start of an ignore-environment, the regex is built
8386 by concatenating regexes of all the environments configured in
8387 `tildify-ignored-environments-alist'. So for example, the following
8388 list could be used to match TeX's \verb and \verb* commands:
8390 (("\\\\verb\\(.\\)" . (1))
8391 ("\\\\verb\\*\\(.\\)" . (1)))
8393 This would result in the following regex being used to find the start
8394 of any of the variants of the \verb command:
8396 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
8398 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
8399 won't match anything, and thus (match-string 1) will be nil, which
8400 will cause building of the end-matching regex to fail.
8402 Fix this by using capture groups from the time when the opening
8403 regexes are matched individually.
8405 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
8406 in `tildify-find-env'
8408 The `tildify-ignored-environments-alist' allows the end-regex to
8409 be provided not as a static string but mix of strings and indexes
8410 of groups matched the begin-regex. For example, the “\verb!…!”
8411 TeX-command (where “!” is an arbitrary character) is handled
8414 ("\\\\verb\\*?\\(.\\)" . (1))
8416 In the same way, the following should be supported as well:
8418 ("open-\\(.\\)" . ("end-" 1))
8420 However the tildify-find-env function fails at
8423 (if (stringp (setq aux (car expression)))
8424 expression ; BUG: expression is a list
8425 (regexp-quote (match-string aux))))
8427 where the string part is handled incorrectly.
8429 The most trivial fix would be to replace `expression' in the
8430 true-part of the if-statement with `aux', but instead, this commit
8431 optimizes `tildify-find-env' by changing it to use `mapconcat'
8432 rather than open-coded while-loop.
8434 2014-06-05 Mario Lang <mlang@delysid.org>
8436 * woman.el (woman-mapcan): Remove.
8437 (woman-parse-colon-path): Use cl-mapcan instead.
8439 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8441 * register.el: Add link to Emacs manual in Commentary.
8443 2014-06-02 Sam Steingold <sds@gnu.org>
8445 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
8446 (popup-menu): ...here.
8447 (menu-bar-open): Use it to avoid an error when `lookup-key'
8450 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
8452 * net/tramp.el (tramp-call-process): Add traces.
8453 (tramp-handle-unhandled-file-name-directory): Return "/".
8455 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
8457 Sync with upstream verilog-mode revision 3cd8144.
8458 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
8459 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
8460 (verilog-type-font-keywords): Add nor.
8461 (verilog-batch-execute-func): Force reading of Local Variables.
8462 Fix printing "no changes to be saved" with verilog-batch.
8463 (verilog-auto-arg-ports): Doc fix.
8464 Add verilog-auto-arg-format to support newlines in AUTOARG.
8465 (verilog-auto-arg): Doc fix.
8467 2014-06-02 Glenn Morris <rgm@gnu.org>
8469 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
8470 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
8471 * emulation/ws-mode.el: Move to obsolete/.
8472 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
8474 2014-06-02 Eli Zaretskii <eliz@gnu.org>
8476 * simple.el (keyboard-quit): Force update of mode lines, to remove
8477 the "Def" indicator, if we were defining a macro. (Bug#17615)
8479 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * minibuffer.el (minibuffer-force-complete-and-exit):
8482 Obey minibuffer-default (bug#17545).
8484 * progmodes/js.el (js-indent-line): Don't mix columns and chars
8487 * subr.el (set-transient-map): Don't wait for some "nested"
8488 transient-map to finish if we're only supposed to be active for
8489 the next command (bug#17642).
8491 2014-06-02 Leo Liu <sdl.web@gmail.com>
8493 * emacs-lisp/gv.el (window-buffer, window-display-table)
8494 (window-dedicated-p, window-hscroll, window-point, window-start):
8495 Fix gv-expander. (Bug#17630)
8497 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8499 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
8502 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
8503 for the single comma, since ", " is *very* common in normal French text
8506 2014-06-02 Glenn Morris <rgm@gnu.org>
8508 * emacs-lisp/package.el (package-check-signature)
8509 (package-unsigned-archives): Fix :version.
8511 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8513 * subr.el (sit-for): Don't run input-methods (bug#15614).
8515 2014-06-02 Glenn Morris <rgm@gnu.org>
8517 * cus-start.el: Fix some :version numbers.
8519 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8521 * simple.el (deactivate-mark): Set mark-active to nil even if
8522 deactivation is done via setting transient-mark-mode to nil,
8523 since one is buffer-local and the other is global.
8525 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
8526 there can't be more than 2 arguments (bug#17584).
8528 2014-06-02 Glenn Morris <rgm@gnu.org>
8530 * simple.el (filter-buffer-substring-functions)
8531 (filter-buffer-substring-function, buffer-substring-filters)
8532 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
8534 * minibuffer.el (completion-in-region-functions, completion-in-region)
8535 (completion--in-region): Doc fixes.
8537 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
8538 (expand-abbrev, abbrev--default-expand): Doc fixes.
8540 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
8542 Include sources used to create macuvs.h.
8543 * international/README: Refer to the Unicode Terms of Use rather
8544 than copying it bodily here, as that simplifies maintenance.
8546 2014-06-01 Glenn Morris <rgm@gnu.org>
8548 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
8550 2014-05-31 Glenn Morris <rgm@gnu.org>
8552 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
8554 2014-05-30 Glenn Morris <rgm@gnu.org>
8556 * loadup.el: Treat `command-line-args' more flexibly.
8558 2014-05-30 Alan Mackenzie <acm@muc.de>
8560 Guard (looking-at "\\s!") from XEmacs.
8561 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
8563 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
8565 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
8566 The argument COUNT is now optional, to be more backward-compatible.
8567 Doc fix. (Bug#17560)
8569 2014-05-29 Reuben Thomas <rrt@sc3d.org>
8571 * whitespace.el (whitespace-report-region):
8572 Simplify documentation.
8573 (whitespace-report-region): Allow report-if-bogus to take the
8574 value `never', for non-interactive use.
8575 (whitespace-report): Refer to whitespace-report-region's
8578 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8580 * whitespace.el: Use font-lock-flush. Minimize refontifications.
8581 Side benefit: it works without jit-lock.
8582 (whitespace-point--used): New buffer-local var.
8583 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
8584 (whitespace-color-off): Use font-lock-flush.
8585 (whitespace-point--used, whitespace-point--flush-used): New functions.
8586 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
8587 (whitespace-empty-at-eob-regexp): Use them.
8588 (whitespace-post-command-hook): Rewrite.
8590 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
8591 (font-lock-fontify-buffer): Mark interactive-only.
8592 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
8594 (font-lock-specified-p): Remove redundant boundp check.
8595 (font-lock-flush-function, font-lock-ensure-function): New vars.
8596 (font-lock-turn-on-thing-lock): Set them.
8597 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
8598 (font-lock-after-change-function): Make `old-len' optional.
8599 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
8600 Call font-lock-flush, just in case.
8601 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
8603 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
8604 (vera-mode-map, vera-mode-menu): Remove bindings to it.
8605 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
8606 and with-syntax-table.
8607 * textmodes/conf-mode.el (conf-quote-normal):
8608 * progmodes/sh-script.el (sh-set-shell):
8609 * progmodes/prog-mode.el (prettify-symbols-mode):
8610 * progmodes/f90.el (f90-font-lock-n):
8611 * progmodes/cwarn.el (cwarn-mode):
8612 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
8613 * progmodes/compile.el (compilation-setup, compilation--unsetup):
8614 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
8615 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
8616 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
8617 font-lock-fontify-buffer-function and
8618 font-lock-unfontify-buffer-function.
8619 (rmail-unfontify-buffer-function, rmail-fontify-message):
8620 Use with-silent-modifications.
8621 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
8622 and font-lock-ensure.
8623 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
8625 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
8627 * emacs-lisp/package.el (package-generate-autoloads):
8628 Inhibit backup files.
8630 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8632 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
8635 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
8637 * textmodes/tildify.el (tildify-buffer, tildify-region):
8638 Add dont-ask option.
8640 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8642 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
8643 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
8645 * subr.el (internal--funcall-interactively): New.
8646 (internal--call-interactively): Remove.
8647 (called-interactively-p): Detect funcall-interactively instead of
8649 * simple.el (repeat-complex-command): Use funcall-interactively.
8650 (repeat-complex-command--called-interactively-skip): Remove.
8652 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8654 * register.el (register-read-with-preview): Don't burp on
8655 frame switches (e.g. due to the frame we just popped).
8657 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
8658 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
8660 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
8662 * cus-face.el (custom-face-attributes): Add :distant-foreground.
8664 2014-05-26 Martin Rudalics <rudalics@gmx.at>
8666 * window.el (window--dump-frame): Remove interactive specification.
8668 2014-05-26 Glenn Morris <rgm@gnu.org>
8670 * hippie-exp.el (he-line-search-regexp):
8671 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
8673 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8675 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
8676 to avoid errors when trying to create or visit a file foo.todo
8677 located outside to todo-directory, and to allow having such files
8678 without them being tied to Todo mode (bug#17482).
8679 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
8680 (todo-archive-done-item, todo-find-filtered-items-file)
8681 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
8682 (todo-category-completions, todo-read-category): When visiting a
8683 Todo file, make sure we're in the right mode and the buffer local
8685 (todo-make-categories-list, todo-reset-nondiary-marker)
8686 (todo-reset-done-string, todo-reset-comment-string):
8687 After processing all Todo files, kill the buffers of those files that
8688 weren't being visited before the processing.
8689 (todo-display-as-todo-file, todo-add-to-buffer-list)
8690 (todo-visit-files-commands): Comment out.
8691 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
8692 (auto-mode-alist): Remove add-to-list calls making Todo file
8693 extensions unrestrictedly tied to Todo modes.
8695 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8697 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
8698 (advice-function-member-p): Tell it to check both names and functions
8700 (advice--add-function): Adjust call accordingly.
8702 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
8704 * calendar/todo-mode.el: Miscellaneous bug fixes.
8705 (todo-delete-file): When deleting an archive but not its todo
8706 file, make sure to update the todo file's category sexp.
8707 (todo-move-category): Keep the moved category's name unless the
8708 file moved to already has a category with that name. If the
8709 numerically last category of the source file was moved, make the
8710 first category current to avoid selecting a nonexisting category.
8711 (todo-merge-category): Fix implementation to make merging to a
8712 category in another file work as documented. Eliminate now
8713 insufficient and unnecessary renaming of archive category, correct
8714 document string accordingly, and clarify it. If the numerically
8715 last category of the source file was merged, make the first
8716 category current to avoid selecting a nonexisting category.
8717 (todo-archive-done-item): When there are marked items and point
8718 happens to be on an unmarked item, ignore the latter. Don't leave
8719 point below last item after archiving marked items.
8720 (todo-unarchive-items): Fix logic to ensure unarchiving an item
8721 from an archive with only one category deletes the archive only
8722 when the category is empty after unarchiving. Make sure the todo
8723 file's category sexp is updated.
8724 (todo-read-file-name): Allow an existing file name even when it is
8725 not required (todo-move-category needs this to work as documented).
8726 (todo-add-file): Call todo-validate-name to reject the name of an
8727 existing todo file (needed due to fix in todo-read-file-name).
8728 (todo-reset-nondiary-marker): Also reset in filtered items files.
8729 (todo-reset-done-string, todo-reset-comment-string): Also reset in
8730 regexp filtered items files.
8731 (todo-reset-highlight-item): Also reset in filtered items files.
8732 Fix incorrect variable reference in document string.
8734 2014-05-26 Glenn Morris <rgm@gnu.org>
8736 * window.el (window--dump-frame): Avoid error in --without-x builds.
8738 2014-05-26 Glenn Morris <rgm@gnu.org>
8740 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
8742 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8744 * frame.el (set-frame-font): Doc fix.
8746 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
8748 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
8750 * emacs-lisp/package.el (package--download-one-archive):
8751 Use `write-region' instead of `save-buffer' to avoid running various
8753 (describe-package-1): Same. Insert newline at the end of the
8754 buffer if appropriate.
8756 2014-05-26 Juri Linkov <juri@jurta.org>
8758 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
8759 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
8760 Add more modifiers: meta, control, shift, hyper, super, alt.
8763 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
8764 to allow changing its value with `set-variable'.
8766 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8768 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
8770 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
8772 (scheme-mode-variables): Set syntax-propertize-function instead of
8773 font-lock-syntactic-face-function.
8774 (scheme-font-lock-syntactic-face-function): Delete.
8776 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
8778 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
8781 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8783 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
8784 for a temporary file name.
8786 2014-05-26 Eli Zaretskii <eliz@gnu.org>
8788 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
8790 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
8792 * net/dbus.el (dbus-init-bus, dbus-call-method)
8793 (dbus-call-method-asynchronously, dbus-send-signal)
8794 (dbus-method-return-internal, dbus-method-error-internal):
8795 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
8797 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8799 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
8800 methods which do not have a doc string. (Bug#17490)
8802 2014-05-25 Tassilo Horn <tsdh@gnu.org>
8804 * textmodes/reftex-ref.el (reftex-format-special): Make it work
8805 also for AMS Math's \eqref macro.
8807 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8809 Arrange to never byte-compile the generated -pkg.el file.
8811 * emacs-lisp/package.el (package-generate-description-file):
8812 Output first-line comment to set buffer-local var `no-byte-compile'.
8813 Suggested by Dmitry Gutov:
8814 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
8816 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
8818 Fix bug: Properly quote args to generated -pkg.el `define-package'.
8820 * emacs-lisp/package.el (package-generate-description-file):
8821 Inline `package--alist-to-plist'; rewrite to selectively
8822 quote alist values that are not self-quoting.
8823 (package--alist-to-plist): Delete func.
8825 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
8827 * term/xterm.el (xterm-function-map): Add mapping for shifted
8830 2014-05-24 Daniel Colascione <dancol@dancol.org>
8832 * progmodes/subword.el (subword-find-word-boundary): Move point to
8833 correct spot before search. (Bug#17580)
8835 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
8838 2014-05-24 Leo Liu <sdl.web@gmail.com>
8840 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
8842 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * minibuffer.el (completion--sreverse): Remove.
8845 (completion--common-suffix): Use `reverse' instead.
8846 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
8848 2014-05-22 Glenn Morris <rgm@gnu.org>
8850 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
8852 2014-05-21 Daniel Colascione <dancol@dancol.org>
8854 * files.el (interpreter-mode-alist): Add mksh.
8856 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
8858 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
8859 mksh. Improve custom spec; allow regular expressions.
8860 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
8861 (sh-after-hack-local-variables): New function.
8862 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
8863 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
8865 (sh-canonicalize-shell): Rewrite to support regexes.
8867 2014-05-21 Leo Liu <sdl.web@gmail.com>
8869 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
8871 2014-05-19 Leo Liu <sdl.web@gmail.com>
8873 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
8875 2014-05-18 Glenn Morris <rgm@gnu.org>
8878 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
8880 2014-05-14 Sam Steingold <sds@gnu.org>
8882 * progmodes/python.el (python-shell-get-or-create-process):
8883 Do not bind `current-prefix-arg' so that C-c C-z does not talk
8884 back unless requested.
8886 2014-05-14 Glenn Morris <rgm@gnu.org>
8888 * subr.el (with-file-modes): New macro.
8889 * printing.el (pr-save-file-modes): Make obsolete.
8890 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
8891 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
8892 Add with-file-modes.
8893 * doc-view.el (doc-view-make-safe-dir):
8894 * epg.el (epg--start):
8895 * files.el (locate-user-emacs-file, make-temp-file)
8896 (backup-buffer-copy, move-file-to-trash):
8897 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
8898 * eshell/esh-util.el (eshell-with-private-file-modes)
8899 (eshell-make-private-directory):
8900 * net/browse-url.el (browse-url-mosaic):
8901 * obsolete/mailpost.el (post-mail-send-it):
8902 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
8903 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
8904 Use with-file-modes.
8906 * vc/emerge.el (emerge-make-temp-file): Simplify.
8908 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
8909 Stefan Monnier <monnier@iro.umontreal.ca>
8911 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
8914 2014-05-14 Glenn Morris <rgm@gnu.org>
8916 * vc/emerge.el (emerge-temp-file-prefix):
8917 Make pointless option obsolete.
8918 (emerge-temp-file-mode): Make non-functional option obsolete.
8920 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
8922 * net/browse-url.el (browse-url):
8923 Use `unhandled-file-name-directory' when setting `default-directory',
8924 in order to circumvent stalled remote connections. (Bug#17425)
8926 2014-05-14 Glenn Morris <rgm@gnu.org>
8928 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
8929 Optimize on Emacs, which has the relevant functions for ages.
8931 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8933 * simple.el (undo-make-selective-list): Obey undo-no-redo.
8935 2014-05-12 Sam Steingold <sds@gnu.org>
8937 * calendar/time-date.el (seconds-to-string): New function to
8938 pretty print time delay in seconds.
8940 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8942 * mpc.el (mpc-format): Trim Date to the year.
8943 (mpc-songs-hashcons): Shorten the Date field.
8945 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
8946 into autoloading just because of a silly indirection.
8948 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
8950 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
8952 2014-05-12 Glenn Morris <rgm@gnu.org>
8954 * emacs-lisp/find-gc.el: Move to ../admin.
8956 * printing.el (pr-version):
8957 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
8959 * net/browse-url.el (browse-url-mosaic):
8960 Create /tmp/Mosaic.PID as a private file.
8962 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8964 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
8965 (advice--member-p): If name is given, only compare the name.
8966 (advice--remove-function): Don't stop at the first match.
8967 (advice--normalize-place): New function.
8968 (add-function, remove-function): Use it.
8969 (advice--add-function): Pass the name, if any, to
8970 advice--remove-function.
8972 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
8974 * electric.el (electric-indent-post-self-insert-function): Don't use
8975 `pos' after modifying the buffer (bug#17449).
8977 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
8979 * calendar/todo-mode.el (todo-insert-item-from-calendar):
8980 Correct argument list to conform to todo-insert-item--basic.
8982 2014-05-12 Glenn Morris <rgm@gnu.org>
8984 * files.el (cd-absolute): Test if directory is accessible
8985 rather than executable. (Bug#17330)
8987 * progmodes/compile.el (recompile):
8988 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
8990 * net/browse-url.el (browse-url-mosaic):
8991 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
8992 This is CVE-2014-3423.
8994 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * mouse.el: Use the normal toplevel loop while dragging.
8997 (mouse-set-point): Handle multi-clicks.
8998 (mouse-set-region): Handle multi-clicks for drags.
8999 (mouse-drag-region): Update call accordingly.
9000 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
9001 Use the normal event loop instead of a local while/read-event loop.
9002 (global-map): Remove redundant bindings for double/triple-mouse-1.
9003 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
9004 Generate synthetic down events when the protocol only sends up events.
9005 (xterm-mouse-last): Remove.
9006 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
9007 terminal parameter instead.
9008 (xterm-mouse--set-click-count): New function.
9009 (xterm-mouse-event): Detect/generate double/triple clicks.
9010 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
9012 * info.el (Info-quoted): New face.
9013 (Info-mode-font-lock-keywords): New var.
9014 (Info-mode): Use it.
9016 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
9017 are a hindrance for C-x C-e.
9019 2014-05-11 Leo Liu <sdl.web@gmail.com>
9021 * net/rcirc.el (rcirc-sentinel): Fix last change.
9023 2014-05-08 Sam Steingold <sds@gnu.org>
9025 * net/rcirc.el (rcirc-reconnect-delay): New user option.
9026 (rcirc-sentinel): Auto-reconnect to the server if
9027 `rcirc-reconnect-delay' is non-0 (but not more often than its
9028 value in case the host is off-line).
9030 2014-05-09 Eli Zaretskii <eliz@gnu.org>
9032 * progmodes/grep.el (lgrep): Fix a typo in last commit.
9034 2014-05-09 Glenn Morris <rgm@gnu.org>
9036 * files.el (file-expand-wildcards):
9037 * man.el (Man-support-local-filenames):
9038 * printing.el (pr-i-directory, pr-interface-directory):
9039 * progmodes/grep.el (lgrep, rgrep):
9040 * textmodes/ispell.el (ispell-call-process)
9041 (ispell-call-process-region, ispell-start-process)
9042 (ispell-init-process): Use file-accessible-directory-p.
9044 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9046 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
9047 (xterm-mouse--read-event-sequence-1000): Return nil if something
9049 (xterm-mouse-event): Propagate it.
9050 (xterm-mouse-translate-1): Handle it.
9052 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
9054 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
9055 four slots of the parameter list are filled, make sure to pass it
9056 to the argument list of todo-insert-item--basic.
9058 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9060 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
9061 Add optional `seen' argument to detect and break infinite loops.
9063 2014-05-08 Eli Zaretskii <eliz@gnu.org>
9065 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
9066 (trace-unsafe, trace-use-tree): Make parentheses style be
9067 according to Emacs style.
9069 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
9071 * net/tramp-sh.el (tramp-remote-process-environment):
9072 Remove HISTFILE and HISTSIZE; it's too late to set them here.
9074 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
9075 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
9076 extra "PSx=..." commands.
9077 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
9080 (tramp-uudecode): Replace the hard-coded temporary file name by a
9082 (tramp-remote-coding-commands): Enhance docstring.
9083 (tramp-find-inline-encoding): Replace "%t" by a temporary file
9085 This is CVE-2014-3424.
9087 2014-05-08 Glenn Morris <rgm@gnu.org>
9089 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
9090 (find-gc-source-files): Update some names.
9091 (trace-call-tree): Simplify and update.
9092 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
9093 This is CVE-2014-3422.
9095 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9097 * minibuffer.el (completion--try-word-completion): Revert fix for
9098 Bug#15980 (bug#17375).
9100 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
9101 Always store button numbers in the same way in xterm-mouse-last;
9102 Don't burp is xterm-mouse-last is not set as expected.
9103 Never return negative indices.
9105 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
9107 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9108 Backtrack one char if the global/char-literal var matcher hits
9109 inside a string. The next char could be the beginning of an
9110 expression expansion.
9112 2014-05-08 Glenn Morris <rgm@gnu.org>
9114 * help-fns.el (describe-function-1): Test for an autoload before a
9115 macro, since `macrop' works on autoloads. (Bug#17410)
9117 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9119 * electric.el (electric-indent-functions-without-reindent): Add yaml.
9121 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
9122 Make sure the new point we return is within the new string (bug#17239).
9124 2014-05-05 Daniel Colascione <dancol@dancol.org>
9126 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9127 Port `gnu' pattern to rx.
9129 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
9131 Remove unneeded prompt when closing a buffer with active
9132 emacsclient ("Buffer ... still has clients"), #16548.
9133 * server.el (server-start): Remove the only call to:
9134 (server-kill-buffer-query-function): Remove.
9136 2014-05-04 Leo Liu <sdl.web@gmail.com>
9138 * calendar/diary-lib.el (calendar-chinese-month-name-array):
9139 Defvar to pacify compiler.
9141 2014-05-04 Eli Zaretskii <eliz@gnu.org>
9143 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
9145 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9147 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9148 Use nil rather than `default' for the "default" appearance (bug#17388).
9149 * vc/ediff-util.el (ediff-inferior-compare-regions)
9150 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
9151 a misleading `default' value when it's really a boolean.
9152 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
9153 overlay is not visible.
9155 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9157 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
9158 (todo-menu): Uncomment and update.
9160 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
9162 * calendar/todo-mode.el: Reimplement item editing to have the same
9163 basic user interface as item insertion, and make small UI and
9164 larger internal improvements to the latter.
9165 (todo-insert-item): Add reference to the Todo mode user manual to
9166 the documentation string.
9167 (todo-insert-item--basic): Rename from todo-basic-insert-item and
9168 adjust all callers. Change signature to combine diary and
9169 nonmarking arguments. Incorporate functionality of deleted item
9170 copying command and add error checking. Remove detailed
9171 descriptions of the arguments from the documentation string, since
9172 this is treated in the Todo mode user manual.
9173 (todo-copy-item, todo-edit-multiline-item)
9174 (todo-edit-done-item-comment, todo-edit-item-header)
9175 (todo-edit-item-time, todo-edit-item-date-from-calendar)
9176 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
9177 (todo-edit-item-date-year, todo-edit-item-date-month)
9178 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
9180 (todo-edit-item): Reimplement as wrapper command for
9181 todo-edit-item--next-key and make it distinguish done and not done
9183 (todo-edit-item--text): New function, replacing old command
9184 todo-edit-item and incorporating deleted commands
9185 todo-edit-multiline-item and todo-edit-done-item-comment.
9186 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
9187 Use only numeric value of prefix argument. Remove detailed
9188 descriptions of the arguments from the documentation string, since
9189 this is treated in the Todo mode user manual.
9190 (todo-edit-item--diary-inclusion): New function, replacing old
9191 command todo-edit-item-diary-inclusion and incorporating and fixing
9192 functionality of deleted command todo-edit-item-diary-nonmarking,
9193 making sure to remove todo-nondiary-marker when adding
9194 diary-nonmarking-symbol.
9195 (todo-edit-category-diary-inclusion): Make sure to delete
9196 diary-nonmarking-symbol when adding todo-nondiary-marker.
9197 (todo-edit-category-diary-nonmarking): Fix indentation.
9198 (todo-insert-item--parameters): Group diary and nonmarking
9199 parameters together.
9200 (todo-insert-item--apply-args): Adjust to signature of
9201 todo-insert-item--basic and incorporate copy parameter.
9202 Make small code improvements.
9203 (todo-insert-item--next-param): Improve prompt and adjust it to
9204 new parameter grouping. Remove obsolete code.
9205 (todo-edit-item--param-key-alist)
9206 (todo-edit-item--date-param-key-alist)
9207 (todo-edit-done-item--param-key-alist): New defconsts.
9208 (todo-edit-item--prompt): New variable.
9209 (todo-edit-item--next-key): New function.
9210 (todo-key-bindings-t): Bind "e" to todo-edit-item.
9211 Remove bindings of deleted commands.
9213 2014-05-04 Leo Liu <sdl.web@gmail.com>
9215 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
9217 2014-05-04 Glenn Morris <rgm@gnu.org>
9219 * allout-widgets.el (allout-widgets-tally)
9220 (allout-decorate-item-guides):
9221 * menu-bar.el (menu-bar-positive-p):
9222 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9223 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
9224 * progmodes/js.el (js--inside-param-list-p)
9225 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
9226 * progmodes/prolog.el (region-exists-p):
9227 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
9228 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
9229 Doc fixes (replace `iff').
9231 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
9235 2014-05-04 Leo Liu <sdl.web@gmail.com>
9237 Support Chinese diary entries in calendar and diary. (Bug#17393)
9238 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
9239 (calendar-chinese-from-absolute-for-diary)
9240 (calendar-chinese-to-absolute-for-diary)
9241 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
9242 (diary-chinese-list-entries): New functions to list and mark
9243 Chinese diary entries in the calendar window.
9244 (diary-chinese-anniversary)
9245 (diary-chinese-insert-anniversary-entry)
9246 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
9247 (diary-chinese-insert-yearly-entry): New commands to insert
9248 Chinese diary entries.
9250 * calendar/diary-lib.el (diary-font-lock-keywords):
9251 Support font-locking Chinese dates.
9253 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
9254 inserting Chinese diary entries.
9256 * calendar/calendar.el (diary-chinese-entry-symbol):
9257 New customizable variable.
9258 (calendar-mode-map): Add bindings for inserting Chinese diary
9261 2014-05-03 Juri Linkov <juri@jurta.org>
9263 * dired.el (dired-check-switches, dired-switches-recursive-p):
9264 New functions. (Bug#17218)
9265 (dired-switches-escape-p, dired-move-to-end-of-filename):
9266 Use `dired-check-switches'.
9267 (dired-insert-old-subdirs, dired-build-subdir-alist)
9268 (dired-sort-R-check): Use `dired-switches-recursive-p'.
9270 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
9272 * simple.el (undo-make-selective-list): New algorithm fixes
9273 incorrectness of position adjustments when undoing in region.
9275 (undo-elt-crosses-region): Make obsolete.
9276 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
9277 New functions to adjust positions using undo-deltas.
9279 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9281 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
9282 the last consecutive closing paren (bug#17345).
9284 2014-04-30 Reuben Thomas <rrt@sc3d.org>
9286 * dired.el (dired-mode): make terminology for eXpunge command
9287 consistent. (Bug#17276)
9289 2014-04-30 Eli Zaretskii <eliz@gnu.org>
9291 * dired.el (dired-initial-position-hook, dired-initial-position):
9294 2014-04-30 Glenn Morris <rgm@gnu.org>
9296 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
9298 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
9300 * faces.el (face-spec-recalc): Apply X resources only after the
9301 defface spec has been applied. Thus, X resources are no longer
9302 overriden by the defface spec which also fixes issues on win32 where
9303 the toolbar coloring was wrong because it is set through X resources
9304 and was (wrongfully) overriden. (Bug#16694)
9306 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * textmodes/rst.el (electric-pair-pairs): Declare.
9309 (rst-mode): Set it (bug#17131).
9311 2014-04-30 Juri Linkov <juri@jurta.org>
9313 * desktop.el (desktop-value-to-string): Let-bind `print-length'
9314 and `print-level' to nil. (Bug#17351)
9316 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9318 * battery.el (battery-update): Handle the case where battery
9319 status is "N/A" (bug#17319).
9321 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9323 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
9324 to syntax-propertize.
9325 (ps-mode-auto-indent): Mark as obsolete.
9326 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
9327 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
9328 word regexp operators.
9329 (ps-mode-map): Move initialization into declaration. Remove binding
9330 for TAB, RET, >, ], and }.
9331 (ps-mode-syntax-table): Move initialization into declaration.
9332 Don't give word syntax to non-word chars.
9333 (ps-run-mode-map): Move initialization into declaration.
9334 (ps-mode-menu-main): Remove auto-indent entry.
9335 (ps-mode-smie-rules): New function.
9336 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
9337 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
9338 (ps-mode--string-syntax-table): New const.
9339 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
9341 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
9342 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
9344 2014-04-27 Daniel Colascione <dancol@dancol.org>
9346 * term/xterm.el (xterm-paste): Use large finite timeout when
9347 reading event to avoid putting keys in this-command-keys.
9349 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
9352 (perl-syntax-propertize-function): Use it. Extend handling of
9353 here-docs to the unquoted case.
9355 2014-04-25 Eli Zaretskii <eliz@gnu.org>
9357 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
9358 Use equal-including-properties to compare help-echo strings (bug#17331).
9360 2014-04-25 Leo Liu <sdl.web@gmail.com>
9362 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9363 Fix syntax for @. (Bug#17325)
9365 2014-04-25 Daniel Colascione <dancol@dancol.org>
9367 * emacs-lisp/cl.el (gv): Require gv early to break eager
9368 macro-expansion cycles.
9370 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * simple.el (region-active-p): Check there's a mark (bug#17324).
9374 * simple.el (completion-list-mode-map): Use choose-completion for the
9375 mouse binding as well (bug#17302).
9376 (completion-list-mode, completion-setup-function): Adjust docstring and
9377 echo area message accordingly.
9378 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
9379 calling convention of choose-completion.
9380 * comint.el (comint-dynamic-list-completions):
9381 * term.el (term-dynamic-list-completions): Accept choose-completion.
9383 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
9384 &, |, +, - and * can't be a division (bug#17317).
9386 * term/xterm.el (xterm--version-handler): Don't use modern xterm
9387 features on gnome-terminal (bug#16988).
9389 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
9391 Improve Scheme font-locking for (define ((foo ...) ...) ...).
9393 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
9394 the declared object, ignore zero or more parens, not zero or one.
9396 2014-04-24 Leo Liu <sdl.web@gmail.com>
9398 * progmodes/xscheme.el (xscheme-expressions-ring)
9399 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
9400 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
9401 (xscheme-allow-output-p, xscheme-prompt)
9402 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
9404 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
9405 Comment out unused functions.
9407 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * info.el: Use lexical-binding and cl-lib.
9410 Use defvar-local and setq-local instead of make-local-variable.
9411 (Info-apropos-matches): Avoid add-to-list.
9412 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
9414 2014-04-24 Daniel Colascione <dancol@dancol.org>
9416 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
9418 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9420 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
9422 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
9424 * dired.el (dired-insert-set-properties): Do not consider
9425 subdirectory headings and empty lines to be information that
9426 `dired-hide-details-mode' should hide. (Bug#17228)
9428 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9430 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9431 Remove test messages.
9432 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
9435 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
9438 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
9440 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
9442 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9444 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9445 Set "IFS=" when using read builtin, in order to preserve spaces in
9446 the file name. Add test messages for hunting a bug on hydra.
9447 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
9449 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9451 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
9452 Don't prettify a word within a symbol.
9454 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
9456 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
9459 2014-04-22 Daniel Colascione <dancol@dancol.org>
9461 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
9462 use defun to define `function-put'.
9464 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9466 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
9467 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
9468 (lisp-mode-variables): Set font-lock-extra-managed-props.
9470 * emacs-lisp/byte-run.el (function-put): New function.
9471 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
9472 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
9473 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
9476 2014-04-22 Daniel Colascione <dancol@dancol.org>
9478 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
9479 Add `full-p' parameter; when nil, call `macroexpand' instead of
9482 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
9485 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
9486 Use lambda function values, not quoted lambdas.
9487 (byte-compile-recurse-toplevel): Remove extraneous &optional.
9489 * emacs-lisp/cl-macs.el
9490 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
9491 (cl-struct-slot-value): Conditionally use aref or nth so that the
9492 compiler produces optimal code.
9494 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9496 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
9497 (inline): Don't inline cl--set-elt.
9498 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
9499 Define as inlinable instead.
9500 (cl-struct-set-slot-value): Remove.
9502 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
9503 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
9506 2014-04-21 Daniel Colascione <dancol@dancol.org>
9508 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
9509 last two parameters after all.
9510 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
9511 (cl--compiler-macro-assoc,cl-struct-slot-value)
9512 (cl-struct-set-slot-value): Stop using them.
9514 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9516 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
9517 entry in image-mode-winprops-alist.
9519 2014-04-21 Daniel Colascione <dancol@dancol.org>
9521 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
9522 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
9523 (byte-compile-toplevel-file-form): Use it.
9525 * emacs-lisp/cl-macs.el:
9526 (cl--loop-let): Properly destructure `while' clauses.
9528 2014-04-20 Daniel Colascione <dancol@dancol.org>
9530 * vc/vc.el (vc-root-dir): New public autoloaded function for
9531 generically finding the current VC root.
9532 * vc/vc-hooks.el (vc-not-supported): New error.
9533 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
9535 2014-04-20 Daniel Colascione <dancol@dancol.org>
9537 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
9539 (cl--const-expr-val): cl--const-expr-val should macroexpand its
9540 argument in case we're inside a symbol-macrolet.
9541 (cl--do-arglist, cl--compiler-macro-typep)
9542 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
9543 environment to `cl--const-expr-val'.
9544 (cl-struct-sequence-type,cl-struct-slot-info)
9545 (cl-struct-slot-offset, cl-struct-slot-value)
9546 (cl-struct-set-slot-value): New functions.
9548 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
9551 assignments such as "case=hello" (bug#17297).
9553 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
9555 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
9557 (tramp-file-name-handler, tramp-completion-file-name-handler):
9558 Revert patch from 2014-04-10, it isn't necessary anymore.
9559 (tramp-autoload-file-name-handler)
9560 (tramp-register-autoload-file-name-handlers): New defuns.
9561 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
9562 (tramp-register-file-name-handlers): Remove also
9563 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
9564 Do not autoload its invocation, but eval it after loading of 'tramp.
9566 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
9568 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
9570 2014-04-17 Daniel Colascione <dancol@dancol.org>
9572 Add support for bracketed paste mode; add infrastructure for
9573 managing terminal mode enabling and disabling automatically.
9576 (xterm-mouse-mode): Simplify.
9577 (xterm-mouse-tracking-enable-sequence)
9578 (xterm-mouse-tracking-disable-sequence): New constants.
9579 (turn-on-xterm-mouse-tracking-on-terminal)
9580 (turn-off-xterm-mouse-tracking-on-terminal):
9581 Use tty-mode-set-strings and tty-mode-reset-strings terminal
9582 parameters instead of random hooks.
9583 (turn-on-xterm-mouse-tracking)
9584 (turn-off-xterm-mouse-tracking): Delete.
9586 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
9587 (xterm-paste-ending-sequence): New constant.
9588 (xterm-paste): New command used for bracketed paste support.
9590 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
9591 (terminal-init-xterm-bracketed-paste-mode): New function.
9592 (terminal-init-xterm): Call it.
9593 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
9594 and tty-mode-reset-strings instead of random hooks.
9595 (xterm-turn-on-modify-other-keys)
9596 (xterm-turn-off-modify-other-keys)
9597 (xterm-remove-modify-other-keys): Delete obsolete functions.
9599 * term/screen.el: Rewrite to just use the xterm code.
9600 Add copyright notice. Mention tmux.
9602 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
9604 * image-mode.el (image-mode-window-put): Also update the property of
9605 the "default window".
9606 * doc-view.el (doc-view-new-window-function): If no window
9607 exists, move to the last known page.
9609 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9611 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
9612 here-documents (bug#17262).
9614 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9616 * term/pc-win.el (x-list-fonts, x-get-selection-value):
9617 Provide doc strings, as required by snarf-documentation.
9619 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
9622 arg of overlays-at. Use `invisible-p'.
9624 * obsolete/lucid.el (extent-at):
9625 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
9627 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
9629 2014-04-16 João Távora <joaotavora@gmail.com>
9631 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
9634 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9636 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
9637 Use mapc to loop over a vector. (Bug#17257).
9639 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
9641 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
9642 patch, there are new problems with file names containing spaces.
9643 Get rid of backticks. (Bug#17238)
9645 2014-04-16 João Távora <joaotavora@gmail.com>
9647 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
9650 2014-04-16 Eli Zaretskii <eliz@gnu.org>
9652 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
9653 (blink-cursor-mode): Mention customization variables and the
9654 effect of 'blink-cursor-blinks'.
9656 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
9658 * simple.el (undo): Prevent insertion of identity mapping into
9659 undo-equiv-table so as undo-only does not inf loop in the presence
9660 of consecutive nils in undo list.
9662 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
9664 * faces.el (make-face): Deprecate optional argument as it is no
9665 longer needed/used since the conditional X resources handling
9666 has been pushed down to make-face-x-resource-internal itself.
9667 (make-empty-face): Don't pass optional argument to make-face.
9669 2014-04-16 Karl Fogel <kfogel@red-bean.com>
9671 * savehist.el (savehist-save): Remove workaround for a read-passwd
9672 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
9673 noticing that the shim was still present.
9675 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9677 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
9679 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
9681 * faces.el (face-set-after-frame-default): Remove unused local variable.
9683 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9685 * progmodes/grep.el: Use lexical-binding.
9686 (grep-expand-template): Pass explicit lexical env to `eval'.
9687 (zrgrep): Let-bind grep-find-template explicitly.
9689 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
9690 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
9692 2014-04-12 Eli Zaretskii <eliz@gnu.org>
9694 * international/characters.el <standard-case-table>: Add entries
9695 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
9696 Set category of Coptic characters be 'g' (Greek).
9698 2014-04-12 Leo Liu <sdl.web@gmail.com>
9700 * progmodes/octave.el (completion-table-with-cache):
9701 Define if not available.
9702 (octave-goto-function-definition, octave-sync-function-file-names)
9703 (octave-find-definition-default-filename):
9704 Backquote upattern for compatibility.
9706 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
9708 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
9709 name twice due to backticks. (Bug#17238)
9711 2014-04-12 Glenn Morris <rgm@gnu.org>
9713 * term/w32-win.el (x-win-suspend-error):
9714 * term/x-win.el (x-win-suspend-error): Sync docs.
9716 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
9718 * faces.el (make-face): Remove deprecated optional argument.
9719 The conditional application of X resources is handled directly by
9720 make-face-x-resource-internal since Emacs 24.4.
9721 (make-empty-face): Don't pass optional argument to make-face.
9723 2014-04-11 Glenn Morris <rgm@gnu.org>
9725 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
9727 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9729 Ediff's overlay priorities cause more trouble than they solve.
9730 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
9731 (ediff-highest-priority): Remove function (bug#17234).
9732 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
9733 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
9734 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9737 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
9739 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
9740 entry; use symbol boundaries to avoid mis-matches.
9742 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
9744 * net/tramp.el (tramp-file-name-handler)
9745 (tramp-completion-file-name-handler): Avoid recursive loading.
9747 * net/tramp-sh.el (tramp-make-copy-program-file-name):
9748 Quote result also locally.
9750 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9752 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
9753 Remove left-over code.
9755 * newcomment.el (comment-indent-new-line): Sink code where it's used.
9756 Reuse the previous comment's indentation unconditionally if it's on its
9759 2014-04-09 Daniel Colascione <dancol@dancol.org>
9761 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
9762 `no-syntax-crossing' arguments. Forward to `up-list'.
9763 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
9764 Implement logic for escaping from strings. Use narrowing to deal
9767 2014-04-09 Leo Liu <sdl.web@gmail.com>
9769 * net/rcirc.el (rcirc-connection-info): New variable.
9770 (rcirc-connect): Use it to store connection info.
9771 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
9773 (rcirc-cmd-reconnect): New command. (Bug#17045)
9774 (rcirc-mode, set-rcirc-encode-coding-system)
9775 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
9777 2014-04-09 Daniel Colascione <dancol@dancol.org>
9779 * emacs-lisp/cl-indent.el: Add comment claiming
9780 facility is also good for elisp.
9781 (lisp-indent-find-method): New function.
9782 (common-lisp-indent-function): Recognize cl-loop.
9783 (common-lisp-indent-function-1): Recognize cl constructs; use
9784 `lisp-indent-find-method' instead of `get' directly.
9785 (if): Use else-body style for elisp.
9787 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
9789 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9790 Module methods. (Bug#17216)
9792 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * help.el (describe-bindings): Fix buffer handling (bug#17210).
9795 (describe-bindings-internal): Mark obsolete.
9797 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
9799 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
9800 buffer-file-name, and buffer-file-truename any more.
9802 2014-04-08 Leo Liu <sdl.web@gmail.com>
9804 Use lexical-binding and require cl-lib.
9805 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
9806 (rcirc-handler-generic, rcirc-fill-paragraph)
9807 (rcirc-format-response-string, rcirc-target-buffer)
9808 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
9809 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
9810 (rcirc-ctcp-sender-PING, rcirc-browse-url)
9811 (rcirc-markup-timestamp, rcirc-markup-attributes)
9812 (rcirc-markup-my-nick, rcirc-markup-urls)
9813 (rcirc-markup-bright-nicks, rcirc-markup-fill)
9814 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
9815 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
9816 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
9817 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
9818 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
9819 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
9820 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
9821 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
9822 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
9823 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
9826 2014-04-07 João Távora <joaotavora@gmail.com>
9828 * elec-pair.el (electric-pair--syntax-ppss):
9829 When inside comments parse from comment beginning.
9830 (electric-pair--balance-info): Fix typo in comment.
9831 (electric-pair--in-unterminated-string-p): Delete.
9832 (electric-pair--unbalanced-strings-p): New function.
9833 (electric-pair-string-bound-function): New var.
9834 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9835 according to `electric-pair--in-unterminated-string-p'
9837 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
9838 Inhibit quote pairing if point-max is inside an unterminated string.
9839 (electric-pair--looking-at-unterminated-string-p): Delete.
9840 (electric-pair--in-unterminated-string-p): New function.
9842 2014-04-07 Glenn Morris <rgm@gnu.org>
9844 * shell.el (shell-directory-tracker):
9845 Go back to just ignoring failures. (Bug#17159)
9847 2014-04-07 João Távora <joaotavora@gmail.com>
9849 Fix `electric-pair-delete-adjacent-pairs' in modes binding
9850 backspace. (Bug#16981)
9851 * elec-pair.el (electric-pair-backward-delete-char): Delete.
9852 (electric-pair-backward-delete-char-untabify): Delete.
9853 (electric-pair-mode-map): Bind backspace to a menu item filtering
9854 a new `electric-pair-delete-pair' command.
9855 (electric-pair-delete-pair): New command.
9857 * progmodes/python.el (python-electric-pair-string-delimiter):
9858 Fix triple-quoting electricity. (Bug#17192)
9860 * elec-pair.el (electric-pair-post-self-insert-function):
9861 Don't skip whitespace when `electric-pair-text-pairs' and
9862 `electric-pair-pairs' were used. syntax to
9863 electric-pair--skip-whitespace. (Bug#17183)
9865 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9867 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
9870 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
9873 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
9875 2014-04-07 Glenn Morris <rgm@gnu.org>
9877 * help.el (view-lossage): Doc tweak.
9879 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
9881 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
9882 only when inhibit-x-resources is nil, and do that earlier in the
9883 function. Doc fix. (Bug#16694)
9884 (face-spec-choose): Accept additional optional argument, whose
9885 value is returned if no matching attributes are found.
9886 (face-spec-recalc): Use the new optional argument when calling
9887 face-spec-choose. (Bug#16378)
9888 (make-face-x-resource-internal): Do nothing when
9889 inhibit-x-resources is non-nil. Don't touch the default face if
9890 reversed video is given--as was done in previous versions of Emacs.
9891 (face-set-after-frame-default): Don't call
9892 make-face-x-resource-internal here. (Bug#16434)
9894 2014-04-07 Tassilo Horn <tsdh@gnu.org>
9896 * doc-view.el (doc-view-bookmark-jump):
9897 Use `bookmark-after-jump-hook' to jump to the right page after the
9898 buffer is shown in a window. (bug#16090)
9900 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9902 * international/characters.el (mirroring): Fix last change:
9903 instead of loading uni-mirrored.el explicitly, do that implicitly
9904 by creating the 'mirroring' uniprop table. This avoids announcing
9905 the loading of uni-mirrored.el.
9907 2014-04-07 Glenn Morris <rgm@gnu.org>
9909 * files.el (buffer-stale--default-function)
9910 (buffer-stale-function, revert-buffer--default):
9911 * autorevert.el (auto-revert-buffers): Doc tweaks.
9913 2014-04-07 Eli Zaretskii <eliz@gnu.org>
9915 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
9917 2014-04-07 Glenn Morris <rgm@gnu.org>
9919 * files.el (make-backup-file-name-function)
9920 (make-backup-file-name, make-backup-file-name--default-function)
9921 (make-backup-file-name-1, find-backup-file-name)
9922 (revert-buffer-function, revert-buffer-insert-file-contents-function)
9923 (buffer-stale--default-function, buffer-stale-function)
9924 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
9925 (revert-buffer, revert-buffer--default)
9926 (revert-buffer-insert-file-contents--default-function):
9927 Doc fixes related to defaults no longer being nil.
9928 (make-backup-file-name-function): Bump :version.
9929 Restore nil as a valid but deprecated custom type.
9931 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
9933 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9934 Handle $' used as a variable (bug#17174).
9936 * progmodes/perl-mode.el (perl-indent-new-calculate):
9937 Handle forward-sexp failure (bug#16985).
9938 (perl-syntax-propertize-function): Add "foreach" and "for" statement
9939 modifiers introducing expressions (bug#17116).
9941 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
9943 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
9945 2014-04-05 Leo Liu <sdl.web@gmail.com>
9947 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9948 Add define-compilation-mode.
9950 2014-04-04 João Távora <joaotavora@gmail.com>
9952 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
9953 parse from comment beginning.
9954 (electric-pair--balance-info): Fix typo in comment.
9955 (electric-pair--in-unterminated-string-p): Delete.
9956 (electric-pair--unbalanced-strings-p): New function.
9957 (electric-pair-string-bound-function): New var.
9958 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9959 according to `electric-pair--in-unterminated-string-p'.
9961 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9963 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
9964 Move declaration before first use.
9965 (reftex-move-to-next-arg): Silence compiler warning.
9967 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
9969 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
9970 Use `window-total-width' instead of `window-width'.
9972 2014-04-03 Daniel Colascione <dancol@dancol.org>
9974 * subr.el (set-transient-map): Remove rms's workaround entirely;
9975 use new `suspicious-object' subr to mark our lambda for closer
9978 2014-04-02 Richard Stallman <rms@gnu.org>
9980 * subr.el (set-transient-map): Comment out previous change.
9982 2014-04-02 Glenn Morris <rgm@gnu.org>
9984 * menu-bar.el (menu-bar-file-menu):
9985 * vc/ediff.el (ediff-current-file):
9986 Update for revert-buffer-function no longer being nil by default.
9988 * simple.el (command-execute): Respect nil disabled-command-function.
9990 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9992 * simple.el (command-execute): Do not execute the command when it
9993 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
9995 2014-04-02 Juri Linkov <juri@jurta.org>
9997 * dired-aux.el (dired-compress-file): Don't use string-match-p
9998 because its match data is used afterwards.
10000 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
10002 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
10005 2014-04-02 João Távora <joaotavora@gmail.com>
10007 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
10008 Inhibit quote pairing if point-max is inside an unterminated string.
10009 (electric-pair--looking-at-unterminated-string-p):
10011 (electric-pair--in-unterminated-string-p): New function.
10013 2014-04-01 Daniel Colascione <dancol@dancol.org>
10015 * minibuffer.el (minibuffer-complete): Prevent assertion failure
10016 when trying to complete the prompt.
10018 2014-03-31 Leo Liu <sdl.web@gmail.com>
10020 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10021 Refactor out eldoc-documentation-function-default.
10022 (eldoc-documentation-function-default): New function.
10023 (eldoc-documentation-function): Change value.
10025 2014-03-31 Glenn Morris <rgm@gnu.org>
10027 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
10029 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
10030 (vhdl-compose-components-package, vhdl-compose-configuration):
10031 Abbreviate default-directory (missing from some previous upstream sync).
10033 2014-03-31 Reto Zimmermann <reto@gnu.org>
10035 Sync with upstream vhdl mode v3.35.2.
10036 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10037 (top-level): No longer require assoc.
10038 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
10039 New functions. Use throughout to replace aget etc.
10040 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
10041 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
10042 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
10043 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
10044 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
10045 except `vhdl-compiler'.
10046 (vhdl-error-regexp-add-emacs): Remove all other compilers,
10049 2014-03-31 Glenn Morris <rgm@gnu.org>
10051 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
10052 Revert 2014-03-26 merge goof; go back to using defalias.
10054 2014-03-30 Daniel Colascione <dancol@dancol.org>
10056 * comint.el (comint-send-input):
10057 Deactivate completion-in-region-mode before we send comint input.
10060 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
10063 2014-03-29 Glenn Morris <rgm@gnu.org>
10065 * textmodes/reftex.el: Manage most autoloads automatically.
10066 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
10067 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
10068 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
10069 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
10070 * textmodes/reftex-toc.el: Set generated-autoload-file,
10071 and add autoload cookies for reftex.el.
10072 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
10074 2014-03-28 Glenn Morris <rgm@gnu.org>
10076 * cus-start.el (report-emacs-bug-address): Set custom properties.
10077 * mail/emacsbug.el (report-emacs-bug-address):
10078 Variable is now defined in emacs.c.
10080 * mail/emacsbug.el (report-emacs-bug):
10081 Include system-configuration-features.
10083 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
10085 * simple.el (cycle-spacing): Never delete spaces on first run by
10086 default, but do so in a new 'fast mode and if there are already
10087 N spaces (the previous behavior).
10088 Compare N with its value in previous invocation so that changing
10089 prefix argument restarts `cycle-spacing' sequence.
10090 The idea is that with this change, binding M-SPC to
10091 `cycle-spacing' should not introduce any changes in behavior of
10092 the binding so long as users do not type M-SPC twice in a raw with
10093 the same prefix argument or lack thereof.
10095 2014-03-28 Glenn Morris <rgm@gnu.org>
10097 * faces.el (term-file-aliases): New variable.
10098 (tty-run-terminal-initialization): Respect term-file-aliases.
10099 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
10100 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
10101 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
10103 2014-03-27 Glenn Morris <rgm@gnu.org>
10105 * startup.el (inhibit-startup-hooks): Doc tweak.
10106 (normal-top-level): Simplify running of hooks.
10107 For window-setup-hook, respect inhibit-startup-hooks.
10108 (command-line-1): Don't set window-setup-hook to nil.
10110 Allow selective autoloading from obsolete/ directory.
10111 * Makefile.in (obsolete-autoloads): New rule.
10112 (autoloads): Run obsolete-autoloads.
10113 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
10114 * simple.el (iswitchb-mode): Remove hand-written autoloads.
10116 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
10118 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10119 Highlight special globals with font-lock-builtin-face. (Bug#17057)
10121 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10122 Don't propertize `?' or `!' as symbol constituent when after
10125 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
10127 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
10128 which is no longer needed and causes trouble in GTK builds (bug#17046).
10130 * emacs-lisp/package-x.el (package--archive-contents-from-url):
10131 Use url-insert-file-contents; package-handle-response no longer exists.
10133 2014-03-26 Daniel Colascione <dancol@dancol.org>
10135 * simple.el (process-menu-mode-map): New variable.
10136 (process-menu-delete-process): New command.
10138 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10140 * emacs-lisp/package.el: Fix bug#16733 (again).
10141 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
10142 (url-http-target-url): Remove unused declarations.
10143 (package-handle-response): Remove.
10144 (package--with-work-buffer): Use url-insert-file-contents and simplify.
10145 (package--download-one-archive): Use current-buffer instead of
10146 dynamic binding of `buffer'.
10147 (describe-package-1): Do not decode readme-string.
10149 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
10151 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
10153 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
10154 from 2014-03-07, it decreases performance unnecessarily. Let-bind
10155 `remote-file-name-inhibit-cache' to nil in the second pass.
10156 (tramp-find-executable): Do not call "which" on SunOS.
10157 (tramp-send-command-and-check): Fix docstring.
10158 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
10159 check whether source directory has set the sticky bit.
10161 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
10163 * simple.el (primitive-undo): Only process marker adjustments
10164 validated against their corresponding (TEXT . POS). Issue warning
10165 for lone marker adjustments in undo history. (Bug#16818)
10166 (undo-make-selective-list): Add marker adjustments to selective
10167 undo list based on whether their corresponding (TEXT . POS) is in
10168 the region. Remove variable adjusted-markers, which was unused
10169 and only non nil during undo-make-selective-list.
10170 (undo-elt-in-region): Return nil when passed a marker adjustment
10171 and explain in function doc.
10173 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10175 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
10177 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10179 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
10180 Match special global variables without curlies, too.
10181 (ruby-font-lock-keywords): Simplify the matcher for special global
10182 variables. Don't require a non-word character after the variable.
10185 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10187 * simple.el (redisplay-highlight-region-function): Increase priority of
10188 overlay to make sure boundaries are visible (bug#15899).
10190 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
10192 * frameset.el (frameset--initial-params): Fix typo in parameter name.
10193 (frameset-restore): Compare display strings with equal.
10195 * frame.el (make-frame): Don't quote display name in error message,
10196 it is already a string.
10198 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10200 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
10203 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
10205 * emacs-lisp/package.el (package--add-to-archive-contents):
10206 Include already installed and built-in packages in
10207 `package-archive-contents'.
10208 (package-install): Don't include already installed packages in the
10209 options during interactive invocation. (Bug#16762)
10210 (package-show-package-list): If the buffer is already displayed in
10211 another window, switch to that window.
10213 2014-03-26 Reto Zimmermann <reto@gnu.org>
10215 Sync with upstream vhdl mode v3.35.1.
10216 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
10217 (vhdl-compiler-alist): Doc fix.
10218 (vhdl-goto-line): Remove.
10219 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
10220 (vhdl-mode) <paragraph-start>: Fix value.
10221 (vhdl-fix-statement-region): Not `for' in wait-statement.
10222 (vhdl-beautify-region): Also (un)tabify.
10223 (vhdl-get-visible-signals):
10224 Scan declarative part of generate statements.
10225 (vhdl-template-record): Fix indentation for record type declaration.
10226 (vhdl-expand-abbrev, vhdl-expand-paren):
10227 Revert to using fset again rather than defalias.
10228 (vhdl-scan-directory-contents): Tweak.
10229 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
10230 (vhdl-compose-components-package):
10231 Replace vhdl-goto-line with forward-line.
10232 (top-level): Tweak speedbar frame selection.
10233 (vhdl-generate-makefile-1): Support for compilers with no
10234 unit-to-file name mapping (create directory with dummy files).
10236 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
10238 Sync with upstream verilog-mode revision 702457d.
10239 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10240 (create-lockfiles): Declare.
10241 (verilog-read-decls): Fix module header imports, bug709.
10242 Reported by Victor Lau.
10243 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
10244 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
10245 interface-only modules, bug721. Reported by Dean Hoyt.
10247 2014-03-26 Glenn Morris <rgm@gnu.org>
10249 * obsolete/gulp.el: Move here from emacs-lisp/.
10251 * files.el (lock-buffer, unlock-buffer, file-locked-p):
10252 Remove fallback aliases, since they are always defined now.
10254 2014-03-24 Daniel Colascione <dancol@dancol.org>
10256 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
10257 instead of cl-loop search function.
10259 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
10261 * calendar/parse-time.el (parse-time-iso8601-regexp)
10262 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
10265 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
10267 * net/dns.el (network-interface-list): Define for XEmacs.
10269 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
10271 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
10272 the network interfaces changed.
10273 (dns-query): Use it to flush the data.
10275 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
10277 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
10279 2014-03-23 Daniel Colascione <dancol@dancol.org>
10281 Change subword-mode to use `find-word-boundary-function-table' and
10282 replace `capitalized-words-mode'. Also, convert to lexical binding.
10283 * progmodes/cap-words.el: Delete now-obsolete file.
10284 * progmodes/subword.el: Reimplement using
10285 `find-word-boundary-function-table'.
10286 (subword-mode-map): Hollow out.
10287 (capitalized-words-mode): Define as obsolete alias for
10289 (subword-mode, superword-mode): Tweak documentation to reflect new
10290 implementation; call `subword-setup-buffer'.
10291 (subword-forward, subword-capitalize): Add underscore to indicate
10293 (subword-find-word-boundary-function-table): New constant.
10294 (subword-empty-char-table): New constant.
10295 (subword-setup-buffer): New function.
10296 (subword-find-word-boundary): New function.
10298 2014-03-23 Daniel Colascione <dancol@dancol.org>
10300 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
10301 list to look for keyword arguments instead of `memq', fixing
10302 (Bug#3647) --- unfortunately, only for freshly-compiled code.
10303 Please make bootstrap.
10305 2014-03-22 Glenn Morris <rgm@gnu.org>
10307 * dired.el (dired-read-regexp): Make obsolete.
10308 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
10309 (dired-flag-files-regexp):
10310 * dired-aux.el (dired-mark-read-regexp):
10311 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
10313 * startup.el (fancy-startup-text):
10314 * help.el (describe-gnu-project): Visit online info about GNU project.
10316 * help-fns.el (help-fns--interactive-only): New function.
10317 (help-fns-describe-function-functions): Add the above function.
10318 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
10319 (next-line, previous-line): Remove hand-written interactive-only
10320 information from doc strings, it is auto-generated now.
10321 * bookmark.el (bookmark-write):
10322 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
10323 (epa-mail-import-keys): Mark interactive-only,
10324 and remove hand-written interactive-only information from doc strings.
10325 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
10326 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
10327 * files.el (not-modified):
10328 * simple.el (mark-whole-buffer): Mark interactive-only.
10330 * emacs-lisp/byte-run.el (defun-declarations-alist):
10331 Add interactive-only. Doc tweak.
10332 (macro-declarations-alist): Doc tweak.
10333 * subr.el (declare): Doc tweak (add xref to manual).
10334 * comint.el (comint-run):
10335 * files.el (insert-file-literally, insert-file):
10336 * replace.el (replace-string, replace-regexp):
10337 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
10338 (delete-forward-char, goto-line, insert-buffer, next-line)
10339 (previous-line): Set interactive-only via declare.
10341 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
10343 * emacs-lisp/package.el (package-desc): Use the contents of the
10344 quoted form, not its cdr. (Bug#16873)
10346 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
10348 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
10349 benefit of doc.c; change parameter profile to match the X function.
10351 2014-03-22 Leo Liu <sdl.web@gmail.com>
10353 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
10354 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
10356 2014-03-21 Richard Stallman <rms@gnu.org>
10358 * battery.el (battery-linux-sysfs): Search for each field
10359 from the beginning of the buffer.
10361 * subr.el (set-transient-map): Clear out function and value
10362 of the temporary symbol when we're done with it.
10364 * mail/rmailsum.el (rmail-summary-delete-forward):
10365 Optimize case of reaching end and handling count.
10366 (rmail-summary-mark-deleted): Optimize when N is current msg.
10367 Don't create new summary line.
10368 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
10369 (rmail-summary-undelete-many): Rewrite for speed.
10370 (rmail-summary-msg-number): New function.
10372 * mail/rmail.el (rmail-delete-message): Update summary.
10373 (rmail-undelete-previous-message): Handle repeat count arg.
10374 (rmail-delete-backward, rmail-delete-forward): Likewise.
10376 2014-03-21 Daniel Colascione <dancol@dancol.org>
10378 * mail/emacsbug.el (report-emacs-bug): Include memory usage
10379 information in bug reports.
10381 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
10383 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
10384 and `tramp-copy-env'.
10386 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
10387 (tramp-maybe-open-connection): Handle `tramp-login-env'.
10389 2014-03-21 Glenn Morris <rgm@gnu.org>
10391 * electric.el (electric-indent-post-self-insert-function): Add doc.
10393 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
10395 * emacs-lisp/package.el (package-compute-transaction):
10396 Use `version-list-<=' to compare the requirement version against
10397 the version of package already to be installed. Update the error
10398 message. (Bug#16826)
10400 * progmodes/ruby-mode.el (ruby-smie-rules):
10401 Add indentation rule for ` @ '. (Bug#17050)
10403 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
10405 * align.el (align-regexp): Remove superfluous backslash.
10407 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
10408 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
10409 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
10410 Fix docstring typos.
10411 (ffap-next): Use C-u in docstring.
10412 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
10413 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
10414 Remove superfluous backslashes.
10415 (ffap-string-at-point): Reflow docstring.
10417 * server.el (server-host): Reflow docstring.
10418 (server-unload-function): Fix docstring typo.
10419 (server-eval-at): Remove superfluous backslash.
10421 * skeleton.el (skeleton-insert): Remove superfluous backslash.
10422 (skeleton-insert): Doc fix.
10423 (skeleton-insert): Reflow docstring.
10425 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
10426 (tty-color-approximate, tty-color-by-index, tty-color-values)
10427 (tty-color-desc): Remove superfluous backslashes.
10429 2014-03-21 Glenn Morris <rgm@gnu.org>
10431 * cus-start.el (history-length): Bump :version.
10433 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10434 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10435 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10436 Don't set `make-backup-files'.
10438 * info.el (info--prettify-description): New function,
10439 to give info-finder descriptions consistent case, punctuation.
10440 (Info-finder-find-node): Use it. Sort packages.
10441 Refer to "description" rather than "commentary".
10443 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
10445 * frameset.el (frameset--print-register): New function.
10446 (frameset-to-register): Use it.
10448 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
10450 * progmodes/hideif.el (hif-string-to-number): New function.
10451 (hif-tokenize): Use it to understand non-decimal floats.
10453 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
10455 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
10457 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * electric.el (electric-newline-and-maybe-indent): New command.
10460 Bind it globally to C-j.
10461 (electric-indent-mode): Don't mess with the global map any more.
10462 Don't drop the post-self-insert-hook is some buffer is still using it
10465 * bindings.el (global-map): Remove C-j binding.
10467 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
10468 the docstring of functions advised before dumping (bug#16993).
10470 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
10472 * ps-print.el (ps-generate-postscript-with-faces):
10473 Explicitly deactivate the mark (bug#16866).
10474 * simple.el (deactivate-mark): Update region highlight.
10476 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
10478 * emacs-lisp/package.el (describe-package-1):
10479 Decode commentary (bug#16733).
10481 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
10483 * custom.el (defcustom): Doc fix: recommend avoiding destructive
10484 modification of the value argument of :set (bug#16755).
10486 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10488 * simple.el (newline-and-indent): Do autofill (bug#17031).
10490 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
10492 * newcomment.el (comment-normalize-vars): Only add escaping check
10493 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
10494 (comment-beginning): Use `narrow-to-region' instead of moving back
10496 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
10497 (comment-start-skip): Update the docstring.
10499 2014-03-18 Richard Stallman <rms@gnu.org>
10501 * dired.el (dired-display-file): Force use of other window.
10503 2014-03-18 Daniel Colascione <dancol@dancol.org>
10505 * startup.el (tty-handle-args): Remove debug message from 2007.
10507 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10509 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
10510 (advice--make-interactive-form): Use it to avoid (auto)loading function.
10511 (advice--make-1, advice-add, advice-remove):
10512 Remove braindead :advice-pending hack.
10514 2014-03-17 Glenn Morris <rgm@gnu.org>
10516 * calendar/calendar.el (calendar-generate-month): Apply weekend
10517 face to the right days; fixes 2013-08-06 change. (Bug#17028)
10519 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
10521 * net/tramp.el (tramp-action-out-of-band): Read pending output.
10522 (tramp-call-process): Trace also DESTINATION.
10524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10525 Quote file names when they are local. Remove superfluous trace.
10527 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
10529 * newcomment.el (comment-beginning): If `comment-start-skip'
10530 doesn't match, move back one char and try again. (Bug#16971)
10532 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10533 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
10534 Set `comment-start-skip' to a simpler value that doesn't try to
10535 check if the semicolon is escaped (this is handled by
10536 `syntax-ppss' now). (Bug#16971)
10538 * progmodes/scheme.el (scheme-mode-variables): Same.
10540 2014-03-16 Martin Rudalics <rudalics@gmx.at>
10542 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
10543 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
10544 current (Bug#16816, Bug#17007).
10545 (with-current-buffer-window): New macro doing the same as
10546 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
10547 * help.el (help-print-return-message): Warn in doc-string to not
10548 use this in `with-help-window'.
10549 (describe-bindings-internal): Call `describe-buffer-bindings'
10550 from within help buffer. See Juanma's scenario in (Bug#16816).
10551 (with-help-window): Update doc-string.
10552 * dired.el (dired-mark-pop-up):
10553 * files.el (save-buffers-kill-emacs):
10554 * register.el (register-preview): Use `with-current-buffer-window'
10555 instead of `with-temp-buffer-window'.
10557 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
10559 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
10560 Implement inserting into current buffer, documented in their docstrings.
10561 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
10562 (rst-section-tree-point, rst-forward-section, rst-indent)
10563 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
10564 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
10565 (rst-font-lock-handle-adornment-pre-match-form)
10566 (rst-repeat-last-character): Reflow docstrings.
10567 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
10568 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
10569 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
10570 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
10571 Fix docstring typos.
10572 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
10573 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
10574 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
10576 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
10578 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
10579 for compatibility with other ports.
10580 (ns-initialize-window-system): Use it. It is set in term/common-win.el
10581 from the -xrm command line argument, but in the Nextstep port its value
10582 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
10584 * progmodes/python.el (defconst, python-syntax-count-quotes)
10585 (python-indent-region, python-indent-shift-right)
10586 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
10587 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
10588 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
10589 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
10590 (inferior-python-mode, python-shell-make-comint, run-python-internal)
10591 (python-shell-buffer-substring, python-shell-send-buffer)
10592 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
10593 (python-completion-complete-at-point, python-fill-docstring-style)
10594 (python-eldoc-function, python-imenu-format-item-label)
10595 (python-imenu-format-parent-item-label)
10596 (python-imenu-format-parent-item-jump-label)
10597 (python-imenu--build-tree, python-imenu-create-index)
10598 (python-imenu-create-flat-index): Fix docstring typos.
10599 (python-indent-context, python-shell-prompt-regexp, run-python):
10600 Remove superfluous backslashes.
10601 (python-indent-line, python-nav-beginning-of-defun)
10602 (python-shell-get-buffer, python-shell-get-process)
10603 (python-info-current-defun, python-info-current-line-comment-p)
10604 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
10605 (python-indent-post-self-insert-function, python-shell-send-file)
10606 (python-shell-completion-get-completions)
10607 (python-shell-completion-complete-or-indent)
10608 (python-eldoc--get-doc-at-point): Reflow docstrings.
10610 2014-03-14 Glenn Morris <rgm@gnu.org>
10612 * emacs-lisp/package.el (package-menu-mode-map):
10613 Replace use of obsolete function alias. Tweak menu item text.
10615 * info.el (Info-finder-find-node):
10616 Ignore the `emacs' metapackage. (Bug#10813)
10618 * finder.el (finder-list-matches): Include unversioned packages
10619 in the result of a keyword search.
10621 * finder.el (finder--builtins-descriptions): New constant.
10622 (finder-compile-keywords): Use finder--builtins-descriptions.
10624 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
10626 * simple.el (blink-matching-paren): Describe the new value,
10627 `jump', enabling the old behavior.
10628 (blink-matching-open): Use that value. (Bug#17008)
10630 2014-03-14 Glenn Morris <rgm@gnu.org>
10632 * finder.el (finder-no-scan-regexp): Add leim-list.
10633 (finder-compile-keywords):
10634 Don't skip files with same basename. (Bug#14010)
10635 * Makefile.in (setwins_finder): New, excluding leim.
10636 (finder-data): Use setwins_finder.
10638 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
10639 (help-function-arglist, help-make-usage): Move from here...
10640 * help.el (help-split-fundoc, help-add-fundoc-usage)
10641 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
10642 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
10644 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
10646 * net/socks.el (socks, socks-override-functions)
10647 (socks-find-services-entry):
10648 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
10649 (hif-find-ifdef-block):
10650 * progmodes/modula2.el (m2-indent): Fix docstring typos.
10652 * net/tls.el (tls-program): Reflow docstring.
10654 * progmodes/pascal.el (pascal-mode-abbrev-table)
10655 (pascal-imenu-generic-expression, pascal-auto-endcomments)
10656 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
10657 (pascal-outline-mode): Fix docstring typos.
10658 (pascal-mode): Let define-derived-mode document mode hook.
10659 (pascal-uncomment-area): Reflow.
10660 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
10662 * progmodes/opascal.el (opascal-compound-block-indent)
10663 (opascal-case-label-indent): Fix docstring typos.
10664 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
10666 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
10668 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10669 Fontify multiple adjacent negation chars. (Bug#17004)
10671 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
10673 * emacs-lisp/package.el (package--prepare-dependencies):
10674 Accept requirements without explicit version (bug#14941).
10676 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10678 * register.el (register-separator, copy-to-register): Doc fixes.
10679 (register-preview-default): Remove unnecessary call to concat.
10681 * frameset.el (frameset-restore): When checking for a visible frame,
10682 use the action map instead of calling visible-frame-list.
10684 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
10686 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
10688 2014-03-12 Martin Rudalics <rudalics@gmx.at>
10690 * window.el (fit-frame-to-buffer): Get maximum width from
10691 display's width instead of height.
10693 2014-03-12 Glenn Morris <rgm@gnu.org>
10695 * desktop.el (desktop-restore-frames)
10696 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
10697 (desktop-restore-reuses-frames): Doc tweaks.
10699 * electric.el (electric-indent-mode): Doc fix.
10701 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10703 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
10704 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
10705 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
10706 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
10707 (cvs-dired-use-hook): Fix docstring typos.
10708 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
10711 * vc/pcvs-defs.el (cvs-auto-remove-handled)
10712 (cvs-auto-remove-directories, cvs-default-ignore-marks)
10713 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
10714 (cvs-execute-single-dir): Fix docstring typos.
10716 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
10717 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
10719 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
10721 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
10722 Fix docstring typos.
10724 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
10726 * frameset.el (frameset--jump-to-register): Add autoload; it could be
10727 called from jump-to-register after unloading the frameset package.
10729 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10731 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
10732 (bug#16975). Deactivate the mark before setting it to nil.
10733 (activate-mark): Do nothing if region is already active.
10735 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10737 * frameset.el (frameset--target-display): Remove definition; declare.
10738 (frameset-save, frameset-restore): Let-bind frameset--target-display.
10740 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
10742 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
10743 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
10744 when the advice is pending.
10745 (advice-remove): Remove this marker when not needed any more.
10747 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
10749 * frameset.el: Separate options for reusing frames and cleaning up.
10750 (frameset--reuse-list): Remove definition; declare.
10751 (frameset--action-map): Declare.
10752 (frameset--find-frame-if): Doc fix.
10753 (frameset--restore-frame): Cache frame action.
10754 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
10755 how to clean up the frame list after restoring. Remove cleaning
10756 options from REUSE-FRAMES. Change all keyword values to symbols.
10757 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
10759 * desktop.el (desktop-restore-forces-onscreen)
10760 (desktop-restore-reuses-frames): Use non-keyword values.
10761 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
10763 2014-03-10 Glenn Morris <rgm@gnu.org>
10765 * files.el (find-file): Doc fix: update info node name.
10767 * emacs-lisp/advice.el (ad-add-advice, defadvice):
10768 Doc fix: remove references to deleted info nodes.
10770 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
10772 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
10773 Do not add nil to the environment, when there's no remote `locale'.
10774 (tramp-find-inline-encoding): Check, that the remote host has
10775 installed perl, before sending scripts.
10777 2014-03-10 Leo Liu <sdl.web@gmail.com>
10779 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10780 Clear eldoc-last-message. (Bug#16920)
10782 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
10787 2014-03-09 Juri Linkov <juri@jurta.org>
10789 * ansi-color.el (ansi-color-names-vector): Copy default colors
10790 from `xterm-standard-colors' that look well on the default white
10791 background (and also on the black background) to avoid illegible
10792 color combinations like yellow-on-white and white-on-white.
10793 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
10795 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
10797 * frameset.el (frameset-restore): When no frame is visible, do not
10798 generate a list of frames, just make visible the selected one.
10800 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
10802 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
10803 it only contains the repository root. (Bug#16897)
10805 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
10807 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
10808 only when `remote-file-name-inhibit-cache' is nil.
10809 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
10811 2014-03-06 Martin Rudalics <rudalics@gmx.at>
10813 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
10815 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
10816 fit-frame-to-buffer variable. Fix doc-string.
10817 (fit-window-to-buffer): Set ONLY argument in call of
10818 fit-frame-to-buffer. Fix doc-string.
10820 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
10822 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
10823 (tramp-action-password): Clear password cache if needed.
10824 (tramp-read-passwd): Do not clear password cache.
10826 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
10827 cache unless it is the first password request.
10829 2014-03-06 Glenn Morris <rgm@gnu.org>
10831 * simple.el (newline): Doc tweak.
10833 * emacs-lisp/shadow.el (load-path-shadows-find):
10834 Ignore dir-locals. (Bug#12357)
10836 2014-03-05 Glenn Morris <rgm@gnu.org>
10838 * files.el (interpreter-mode-alist):
10839 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
10841 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10843 * frameset.el (frameset--initial-params): Filter out null entries.
10845 2014-03-05 Martin Rudalics <rudalics@gmx.at>
10847 * window.el (window-min-height, window-min-width):
10848 Rewrite doc-strings.
10849 (window-body-size): Add PIXELWISE argument to make it consistent
10852 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
10854 * finder.el (finder-mode-map, finder-mode-syntax-table):
10855 Revert part of 2014-02-28 change.
10857 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
10859 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
10860 (eww-setup-buffer): Clear next/prev/etc more reliably.
10861 (eww-textarea-map): [tab] doesn't work on tty.
10862 Reported by Mario Lang.
10864 * net/shr.el (shr-map): Ditto.
10866 2014-03-04 Glenn Morris <rgm@gnu.org>
10868 * minibuffer.el (completion-hilit-commonality):
10869 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
10871 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10873 * hilit-chg.el (hilit-chg-unload-function): New function.
10874 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
10875 (hilit-chg-map-changes): Prefer cardinal number to digit.
10876 (hilit-chg-display-changes): Reflow docstring.
10877 (highlight-changes-rotate-faces): Remove superfluous backslash.
10879 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
10881 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
10882 `tramp-send-command-and-check'.
10884 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
10886 * hexl.el (hexl-address-region, hexl-ascii-region)
10887 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
10888 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
10889 (hexl-forward-word, hexl-previous-line, hexl-next-line):
10890 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
10891 (hexl-mode): Doc fix.
10892 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
10893 (hexl-mode-ruler): Fix typos in docstrings.
10895 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
10896 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
10897 Remove superfluous backslashes.
10898 (strokes-last-stroke, strokes-global-map, strokes-mode):
10900 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
10901 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
10902 (strokes-distance-squared, strokes-global-set-stroke)
10903 (strokes-global-set-stroke-string): Doc fixes.
10904 (strokes-help): Fix typos; reflow docstring.
10906 2014-03-04 Martin Rudalics <rudalics@gmx.at>
10908 * window.el (window-in-direction): Fix doc-string.
10910 2014-03-04 Glenn Morris <rgm@gnu.org>
10912 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
10913 Explicit error if no grammar.
10914 (smie-config-save): Doc fix. Fix quote typo.
10916 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
10919 electric-indent-mode-hook if we obey electric-indent-mode.
10920 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
10921 decide whether we obey electric-indent-mode.
10922 (c-change-set-fl-decl-start, c-extend-after-change-region):
10924 (c-electric-indent-mode-hook): Assume we do want to obey
10925 electric-indent-mode.
10927 * electric.el (electric-indent-mode-has-been-called): Remove.
10928 (electric-indent-mode): Fix accordingly.
10930 * files.el (hack-local-variables): Mention file name in warning.
10932 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
10934 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
10936 * bindings.el: Add comment describing why C-d binds to `delete-char'.
10937 * simple.el (delete-forward-char): Mark as interactive-only.
10939 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
10941 * icomplete.el (icomplete-completions):
10942 Follow-up to 2014-03-01 change.
10944 * icomplete.el: Miscellaneous doc fixes.
10945 Use Icomplete everywhere instead of icomplete for consistency.
10946 (icomplete-max-delay-chars): Fix typo.
10947 (icomplete-mode): Use \[].
10948 (icomplete-tidy, icomplete-exhibit): Reflow.
10949 (icomplete-minibuffer-setup-hook, icomplete-completions):
10950 Remove superfluous backlashes.
10952 * ido.el: Miscellaneous doc fixes.
10953 Use Ido everywhere instead of ido or `ido' for consistency.
10954 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
10955 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
10956 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
10957 (ido-separator): Extract obsolescence info from docstring and declare
10958 with make-obsolete-variable.
10959 (ido-minibuffer-setup-hook): Simplify example.
10960 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
10961 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
10962 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
10963 (ido-everywhere): Reflow docstring.
10964 (ido-toggle-vc): Doc fix.
10965 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
10966 of long list of keybindings.
10968 2014-03-03 Glenn Morris <rgm@gnu.org>
10970 * frame.el (display-pixel-height, display-pixel-width)
10971 (display-mm-dimensions-alist, display-mm-height)
10972 (display-mm-width): Doc tweaks.
10974 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
10976 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10977 case of undo in region.
10979 2014-03-02 Martin Rudalics <rudalics@gmx.at>
10981 * window.el (fit-window-to-buffer): Fix argument in window-size
10982 call when window is horizontally combined.
10984 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
10986 * icomplete.el (icomplete-completions): Use string-width.
10987 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10989 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
10991 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10992 Highlight regexp options. (Bug#16914)
10994 2014-03-01 Martin Rudalics <rudalics@gmx.at>
10996 * window.el (window--max-delta-1): Round down when calculating
10997 how many lines/columns we can get from a window.
10999 2014-03-01 Glenn Morris <rgm@gnu.org>
11001 * isearch.el (search-invisible): Doc fix.
11003 * minibuffer.el (completion-hilit-commonality):
11004 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
11005 * comint.el (comint-dynamic-list-completions): Doc fix.
11006 * comint.el (comint-dynamic-list-completions):
11007 * filecache.el (file-cache-minibuffer-complete):
11008 * tempo.el (tempo-display-completions):
11009 * eshell/em-hist.el (eshell-list-history):
11010 Replace use of obsolete argument of display-completion-list.
11012 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
11014 * icomplete.el (icomplete-completions):
11015 Revert back to using "..." when ?… cannot be displayed.
11017 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11019 * finder.el (finder-unload-function): New function.
11021 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
11023 * dframe.el (dframe-detach):
11024 * find-dired.el (find-dired, find-name-dired):
11025 * finder.el (finder-mode-map, finder-mode-syntax-table)
11026 (finder-headmark, finder-select, finder-mouse-select):
11027 Fix docstring typos.
11029 2014-02-28 Martin Rudalics <rudalics@gmx.at>
11031 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
11032 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
11033 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11034 Fix doc-string based on a suggestion by Nicolas Richard
11035 <theonewiththeevillook@yahoo.fr>.
11036 * help.el (with-help-window): Fix doc-string.
11038 2014-02-28 Ivan Kanis <ivan@kanis.fr>
11040 * net/shr.el (shr-image-animate): New option.
11041 (shr-put-image): Respect shr-image-animate.
11043 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
11045 * net/tramp-adb.el (tramp-adb-parse-device-names):
11046 Use `accept-process-output'.
11047 (tramp-adb-handle-file-truename): Cache the localname only.
11048 (tramp-adb-handle-make-directory)
11049 (tramp-adb-handle-delete-directory): Flush file properties correctly.
11050 (tramp-adb-handle-set-file-modes): Do not raise an error when file
11051 modes cannot be changed.
11053 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
11054 file properties of symlinks.
11056 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
11058 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
11059 required/optional fields to match development biblatex. (Bug#16781)
11061 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
11063 * saveplace.el (toggle-save-place):
11064 Fix argument handling. (Bug#16673)
11066 2014-02-28 Glenn Morris <rgm@gnu.org>
11068 * minibuffer.el (completions-first-difference)
11069 (completions-common-part, completion-hilit-commonality): Doc fixes.
11071 2014-02-28 Karl Berry <karl@gnu.org>
11073 * info.el (Info-mode-map): Add H for describe-mode,
11074 to synchronize with standalone Info.
11076 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
11078 * progmodes/sql.el (sql-interactive-mode):
11079 Avoid setting global comint-input-ring-separator. (Bug#16814)
11081 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11083 * net/dbus.el (dbus--init-bus): Declare function.
11084 (dbus-path-local, dbus-interface-local): New defconst.
11085 (dbus-init-bus): Use them.
11086 (dbus-return-values-table): Extend doc.
11087 (dbus-handle-bus-disconnect): Extend error message.
11089 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
11091 * subr.el (y-or-n-p): Fix double space issue in message.
11093 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
11095 * net/tramp.el (tramp-call-process): Improve trace message.
11096 (tramp-handle-insert-file-contents): Trace error case.
11098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11099 <insert-directory>: Use `tramp-handle-insert-directory'.
11100 (tramp-adb-handle-insert-directory): Remove function.
11101 (tramp-adb-send-command-and-check): New defun, replacing
11102 `tramp-adb-command-exit-status'. Change all callees.
11103 (tramp-adb-handle-file-attributes)
11104 (tramp-adb-handle-directory-files-and-attributes): Use it.
11105 (tramp-adb-ls-output-name-less-p):
11106 Use `directory-listing-before-filename-regexp'.
11107 (tramp-adb-handle-delete-directory): Flush also file properties of
11108 the truename of directory.
11109 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
11110 (tramp-adb-handle-file-local-copy): Make the local copy readable.
11111 (tramp-adb-handle-write-region): Implement APPEND.
11112 (tramp-adb-handle-rename-file): Make it more robust. Flush file
11113 properties correctly.
11114 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
11115 variables. Check for connected devices only when needed.
11117 2014-02-27 Glenn Morris <rgm@gnu.org>
11119 * minibuffer.el (completion-table-dynamic)
11120 (completion-table-with-cache): Doc fixes.
11122 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
11123 (completing-read-multiple): Doc fixes.
11125 2014-02-27 Daniel Colascione <dancol@dancol.org>
11127 * minibuffer.el (completion--nth-completion): Fix indentation.
11129 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
11130 explicit tramp path is empty.
11132 2014-02-27 Glenn Morris <rgm@gnu.org>
11134 * emacs-lisp/crm.el (completing-read-multiple):
11135 Empower help-enable-auto-load.
11137 2014-02-26 Glenn Morris <rgm@gnu.org>
11139 * startup.el (command-line): Don't init the tty in daemon mode.
11141 Avoid calling tty-setup-hook twice, eg if a term file
11142 explicitly calls tty-run-terminal-initialization. (Bug#16859)
11143 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
11144 (tty-create-frame-with-faces): Use it.
11145 * startup.el (command-line): Pass run-hook argument
11146 to tty-run-terminal-initialization.
11148 * dired.el (dired-restore-desktop-buffer): Demote errors;
11149 eg in case a glob match fails. (Bug#16884)
11151 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
11153 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
11154 error from `read-from-string'. (Bug#16850)
11156 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
11157 result of `completing-read' in the interactive form. (Bug#16854)
11159 2014-02-25 Glenn Morris <rgm@gnu.org>
11161 * image.el (image-animate, image-animate-timeout):
11162 Stop animating images in dead buffers. (Bug#16878)
11164 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
11166 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
11168 * startup.el (term-setup-hook): Doc fix. Make obsolete.
11169 * term/sun.el (sun-raw-prefix-hooks):
11170 Use tty-setup-hook instead of term-setup-hook.
11171 (terminal-init-sun): Construct message from bytecomp plist.
11172 * term/wyse50.el (enable-arrow-keys): Doc fix.
11174 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11176 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
11177 Fix docstring typos.
11179 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
11181 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
11183 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11185 * minibuffer.el (completion--try-word-completion):
11186 Fix error when completing M-x commands (bug#16808).
11188 2014-02-24 Leo Liu <sdl.web@gmail.com>
11190 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
11192 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
11194 * apropos.el (apropos-print): Avoid formatting error when
11195 apropos-do-all and apropos-compact-layout are both t.
11197 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11199 * apropos.el (apropos-property, apropos-all-words-regexp)
11200 (apropos-true-hit, apropos-variable, apropos-print):
11201 Fix docstring typos, and remove obsolete comment.
11203 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
11205 * net/tramp-sh.el (tramp-sh-handle-file-truename):
11206 Preserve trailing "/". (Bug#16851)
11208 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
11210 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
11211 after `=>' (bug#16811).
11212 (ruby-smie-rules): Handle the inconsistent second element of the
11213 list returned by `smie-indent--parent'.
11214 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
11217 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
11219 * elec-pair.el (electric-pair-text-syntax-table)
11220 (electric-pair-syntax-info, electric-pair--syntax-ppss)
11221 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
11222 (electric-pair--looking-at-unterminated-string-p): Doc fix.
11223 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
11225 2014-02-22 Glenn Morris <rgm@gnu.org>
11227 * imenu.el (imenu--generic-function): Doc fix.
11229 * register.el (frame-configuration-to-register): Make obsolete.
11231 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
11233 * desktop.el (desktop-save-buffer-p): Do not fail when
11234 desktop-files-not-to-save is nil. Return t for true result
11237 2014-02-22 Daniel Colascione <dancol@dancol.org>
11239 * net/secrets.el (secrets-create-item, secrets-search-items):
11240 Check that attribute values are strings, avoiding the construction
11241 of invalid dbus messages.
11243 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11245 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
11246 defun-declarations-alist.
11248 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
11250 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
11253 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11255 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
11256 (whitespace-newline, whitespace-trailing, whitespace-line)
11257 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
11258 (whitespace-space-after-tab): Fix typo in docstrings.
11260 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
11262 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
11264 * electric.el (electric-indent-functions-without-reindent):
11265 Add `yaml-indent-line'.
11267 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11269 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
11270 It has done nothing for years; should be removed after the release.
11272 * simple.el (choose-completion): Fix docstring typo.
11273 (read-quoted-char-radix): Remove unneeded * in docstring.
11274 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
11275 Don't escape parentheses unnecessarily in docstrings.
11277 2014-02-21 Martin Rudalics <rudalics@gmx.at>
11279 Fix handling of window-min-height/-width (Bug#16738).
11280 * window.el (window--dump-window, window--dump-frame):
11282 (window--min-size-1): Account for window dividers.
11283 When window-resize-pixelwise is nil, delay rounding till after the
11284 sum of the window components has been calculated.
11285 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
11286 nil make sure at least one text line and two text columns remain
11288 (window-resize): Signal an error when window-resize-apply fails.
11289 (window--resize-child-windows): Fix calculation of by how many
11290 pixels a window can still be shrunk via window-new-normal.
11291 (adjust-window-trailing-edge): Call window--resizable with
11292 correct TRAIL argument.
11294 (with-temp-buffer-window): Don't evaluate BODY within
11295 with-current-buffer (Bug#16816).
11297 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
11299 * net/tramp.el (tramp-check-cached-permissions):
11300 Call `file-attributes' with `suffix' being a symbol but a string.
11302 2014-02-21 Daniel Colascione <dancol@dancol.org>
11304 * net/dbus.el (dbus-init-bus-1): Declare new subr.
11305 (dbus-init-bus): New function: call into dbus-init-bus-1
11306 and installs a handler for the disconnect signal.
11307 (dbus-call-method): Rewrite to look for result in cons.
11308 (dbus-call-method-handler): Store result in cons.
11309 (dbus-check-event): Recognize events with nil sender as valid.
11310 (dbus-handle-bus-disconnect): New function. React to bus
11311 disconnection signal by synthesizing dbus error for each
11312 pending synchronous or asynchronous call.
11313 (dbus-notice-synchronous-call-errors): New function.
11314 (dbus-handle-event): Raise errors directly only when `dbus-debug'
11315 is true, not all the time.
11317 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
11319 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
11320 Remove obsolescence declarations, these variables do not exist anymore.
11322 * savehist.el (savehist-save-minibuffer-history)
11323 (savehist-additional-variables, savehist-file, savehist-mode-hook)
11324 (savehist-save-hook, savehist-coding-system, savehist-loaded)
11325 (savehist-load, savehist-install, savehist-autosave): Fix typos;
11326 mostly, refer to "Savehist mode" when talking about the mode,
11327 and not the function.
11329 * saveplace.el (save-place): Remove redundant info in docstring.
11330 (save-place-forget-unreadable-files, toggle-save-place)
11331 (save-place-forget-unreadable-files, save-place-dired-hook):
11332 Fix typos and remove unneeded backslashes.
11334 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
11336 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
11337 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
11339 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11340 <insert-directory>: Use `tramp-handle-insert-directory'.
11341 (tramp-gvfs-handle-insert-directory): Remove function.
11343 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11344 Call `tramp-handle-insert-directory'.
11346 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
11348 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
11349 before the start of buffer/region (bug#16799).
11351 2014-02-20 Glenn Morris <rgm@gnu.org>
11353 * isearch.el (search-invisible): Doc fix.
11355 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
11357 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
11360 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
11362 * frameset.el (frameset-restore): Delay removing an old frame's
11363 duplicate id until the new frame has been correctly created.
11365 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
11367 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
11368 (tramp-check-cached-permissions): Call `file-attributes' if the
11371 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
11372 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
11374 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11375 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
11376 (tramp-gvfs-maybe-open-connection): Set always connection
11377 properties, even if target is mounted already.
11379 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
11380 Set tramp-autoload cookie.
11381 (tramp-get-remote-touch): New defun.
11382 (tramp-sh-handle-set-file-times): Use it.
11383 (tramp-sh-handle-directory-files-and-attributes):
11384 Use `tramp-handle-directory-files-and-attributes' if neither stat
11385 nor perl are available on the remote host.
11387 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
11388 "/". Write long listing only when "l" belongs to the switches.
11390 * net/trampver.el: Update release number.
11392 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
11394 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
11396 2014-02-19 Martin Rudalics <rudalics@gmx.at>
11398 * window.el (window-state-put): Allow WINDOW to refer to an
11399 internal window (Bug#16793).
11401 2014-02-19 Glenn Morris <rgm@gnu.org>
11403 * textmodes/remember.el: Move provide statement to end.
11404 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
11405 (remember-notes): Doc fixes.
11407 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11409 * delsel.el (delete-char): Restore incorrectly erased property
11412 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
11414 * frameset.el (frameset--restore-frame): When a frame is being reused
11415 and its root window is not alive, delete all the frame's windows before
11416 restoring the window state. This works around the issue in bug#16793.
11418 2014-02-18 Glenn Morris <rgm@gnu.org>
11420 * textmodes/remember.el (remember-data-directory)
11421 (remember-directory-file-name-format, remember-store-in-files)
11422 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
11423 (remember-notes-save-and-bury-buffer)
11424 (remember-notes--kill-buffer-query): Doc fixes.
11426 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
11428 2014-02-17 Alan Mackenzie <acm@muc.de>
11430 Connect electric-indent-mode up with CC Mode. Bug #15478.
11431 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
11432 to electric-indent-{,local-}-mode.
11433 (c-basic-common-init): Set electric-indent-inhibit.
11434 Initialise c-electric-flag from electric-indent-mode.
11435 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
11436 New hook functions which propagate electric-indent-mode to CC mode.
11438 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
11439 hit, toggle electric-indent-local-mode.
11441 * electric.el (electric-indent-mode-has-been-called):
11444 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
11446 * frameset.el (frameset-cfg-id): New function.
11447 (frameset--reuse-frame, frameset-restore): Use it.
11448 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
11450 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * ido.el (ido-file-internal): Remove unused var `d'.
11453 Use \` for to match BoS. Fit within 80n columns.
11455 2014-02-17 Daniel Colascione <dancol@dancol.org>
11457 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
11458 dbus-call-method check for completion using a busy-wait loop with
11461 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
11463 Sync with Tramp 2.2.9.
11465 * net/trampver.el: Update release number.
11467 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
11469 * ido.el (ido-file-internal): Don't add the name of an existing
11470 directory twice. (Bug#16747)
11472 2014-02-16 Glenn Morris <rgm@gnu.org>
11474 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
11475 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
11477 2014-02-15 Michael R. Mauger <michael@mauger.com>
11479 * progmodes/sql.el: Version 3.4
11480 (sql-oracle-options): New default value ("-L").
11481 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
11482 (sql-placeholders-filter): Correct placeholder pattern.
11483 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
11484 (sql-login-delay): New variable.
11485 (sql-product-interactive): Use it.
11487 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
11489 * frameset.el (frameset--jump-to-register): Check that buffer is live
11492 2014-02-15 Glenn Morris <rgm@gnu.org>
11494 * info.el (info-initialize): Revert 2014-01-10 change.
11496 2014-02-14 Glenn Morris <rgm@gnu.org>
11498 * replace.el (map-query-replace-regexp)
11499 (read-regexp-defaults-function, read-regexp): Doc fixes.
11501 * dired.el (dired-read-regexp):
11502 * faces.el (list-faces-display):
11503 * misearch.el (multi-isearch-read-matching-buffers)
11504 (multi-isearch-read-matching-files):
11505 * play/cookie1.el (cookie-apropos):
11506 * progmodes/grep.el (grep-read-regexp): Doc fixes.
11508 * textmodes/remember.el (remember): Use frameset-to-register
11509 rather than frame-configuration-to-register.
11511 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
11513 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
11514 incorrect keybinding.
11516 2014-02-13 Daniel Colascione <dancol@dancol.org>
11518 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
11519 when adding overlays so that line numbers from compiler match line
11522 2014-02-13 Glenn Morris <rgm@gnu.org>
11524 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
11526 * jit-lock.el (jit-lock-mode): Doc fix.
11528 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
11530 * apropos.el (apropos-read-pattern): When the user passes an empty
11531 string, give a more helpful error message than "Wrong type
11532 argument: stringp, nil".
11534 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
11538 2014-02-13 Glenn Morris <rgm@gnu.org>
11540 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
11542 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
11544 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
11545 shift-select commands.
11547 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
11549 * progmodes/js.el (js-indent-line): Don't widen.
11550 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
11552 2014-02-12 Glenn Morris <rgm@gnu.org>
11554 * icomplete.el (icomplete): Add info-link to defgroup.
11555 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
11556 (icomplete-minibuffer-map, icomplete-mode)
11557 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
11559 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
11560 (package-menu-filter): Rename from package-menu-filter-interactive.
11563 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
11565 * frameset.el (frameset--jump-to-register): Select the required
11566 window and buffer before restoring position (bug#16696).
11568 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
11570 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
11572 2014-02-10 Glenn Morris <rgm@gnu.org>
11574 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
11576 2014-02-10 Eli Zaretskii <eliz@gnu.org>
11578 * w32-common-fns.el (x-get-selection): Doc fix.
11579 * select.el (x-get-selection): Doc fix. (Bug#15109)
11581 * face-remap.el (face-remap-add-relative)
11582 (face-remap-remove-relative, face-remap-reset-base)
11583 (face-remap-set-base): Call force-mode-line-update to redisplay
11584 the current buffer due to potential change in faces. (Bug#16709)
11586 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
11588 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
11589 script more robustly.
11591 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11593 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
11595 * simple.el (choose-completion): Doc fix (bug#14160).
11597 * subr.el (event-start): Say what a nil EVENT value means.
11599 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
11602 * progmodes/grep.el (find-program): Doc fix (bug#14289).
11604 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
11606 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
11608 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
11609 predicate function (bug#15455).
11611 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
11613 * ielm.el (inferior-emacs-lisp-mode): Instead of
11614 `comment-use-global-state', set `comment-use-syntax'.
11616 2014-02-10 Glenn Morris <rgm@gnu.org>
11618 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
11620 2014-02-09 Alan Mackenzie <acm@muc.de>
11622 Fix c-invalidate-state-cache on narrowed buffers.
11623 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
11624 Widen when setting and clearing the CPP delimiter properties.
11626 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
11628 * help.el (describe-bindings): Doc fix (bug#9888).
11630 * files.el (save-buffer): Use ARG as the parameter name for
11631 consistency (bug#10346).
11632 (save-buffer): Clarify the 0 argument (bug#10346).
11634 * cus-edit.el (customize-apropos): Fix error string.
11635 (custom-buffer-create): Doc fix (bug#11122).
11636 (custom-sort-items): Doc fix (bug#11121).
11638 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
11640 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
11641 (icomplete-simple-completing-p): Mention the previous variable.
11643 * font-lock.el (font-lock-value-in-major-mode): Clarify the
11644 meaning of the parameter (bug#12282).
11646 * files.el (find-file-noselect): Clarify prompt when changing
11647 readedness (bug#13261).
11648 (locate-file): Suffixes aren't returned, so don't say that they
11650 (backup-inhibited): Doc clarification (bug#12525).
11652 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
11653 before we actually start to delete things (bug#16331).
11655 * subr.el (event-start): Doc fix (bug#14228).
11656 (event-end): Ditto.
11658 2014-02-09 Glenn Morris <rgm@gnu.org>
11660 * emacs-lisp/warnings.el (lwarn):
11661 Empower help-enable-auto-load. (Bug#15940)
11663 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11665 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
11668 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
11670 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
11671 Insert output at end of buffer. (Bug#16120)
11673 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11675 * simple.el (choose-completion-string-functions): Document new
11676 calling convention (bug#14153).
11677 (execute-extended-command): Clarify doc string (bug#13373).
11679 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
11681 * find-dired.el (find-name-dired): Doc fix (bug#14290).
11682 (find-grep-dired): Doc fix (bug#14288).
11684 2014-02-08 Juri Linkov <juri@jurta.org>
11686 * isearch.el (isearch-quote-char): Check character validity
11687 like in `quoted-insert' (bug#16677).
11689 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
11691 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
11693 * isearch.el (isearch-hide-immediately): Doc clarification
11696 * simple.el (line-move): Document utility function used many
11697 places in the Emacs sources (bug#14843).
11699 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
11700 (dired-prev-marked-file): Doc fix (bug#14855).
11701 (dired-up-directory): Doc fix (bug#14848).
11703 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
11705 * files.el (file-relative-name): Doc fix (bug#15159).
11707 * fringe.el (fringe-styles): Doc fix (bug#15239).
11709 * isearch.el (isearch-filter-predicate): Documentation typo fix
11712 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
11714 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
11716 * replace.el (replace-match-maybe-edit): Doc clarification
11719 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11721 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
11723 2014-02-08 Glenn Morris <rgm@gnu.org>
11725 * help-fns.el (describe-variable):
11726 Check {file,dir}-local-variables-alist, and buffer-file-name,
11727 in the correct buffer.
11729 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
11731 * help-fns.el (describe-variable): Fix the case where
11732 a value is directory-local with no dir-locals file. (Bug#16635)
11734 2014-02-08 Glenn Morris <rgm@gnu.org>
11736 * abbrev.el (edit-abbrevs-mode):
11737 Derive from fundamental-mode. (Bug#16682)
11739 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
11741 * simple.el (quoted-insert): Check character validity (bug#16677).
11743 2014-02-07 Juri Linkov <juri@jurta.org>
11745 * desktop.el (desktop-read): Claim the lock when the owner is not
11746 the current process. (Bug#16157)
11748 2014-02-07 Juri Linkov <juri@jurta.org>
11750 * desktop.el (desktop-buffers-not-to-save): Change default from nil
11751 to "\\` ". (Bug#16651)
11753 2014-02-07 Juri Linkov <juri@jurta.org>
11755 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
11756 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
11757 (desktop-auto-save-cancel-timer): New function with some code from
11758 `desktop-auto-save-set-timer'.
11759 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
11760 Instead of setting `desktop-save-mode' to nil, call
11761 `desktop-save-mode' with arg 0. (Bug#16630)
11763 2014-02-07 Glenn Morris <rgm@gnu.org>
11765 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
11766 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
11767 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
11769 * obsolete/iswitchb.el: Move to obsolete/.
11770 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
11771 since obsolete/ is not scanned for autoloads.
11772 * emacs-lisp/authors.el (authors-valid-file-names):
11775 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
11776 Disable now non-functional find-file-hook.
11778 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
11780 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
11781 instead of ";" in order to avoid additional prompts. Let heredoc
11782 scripts read from tty. (Bug#16582)
11783 (tramp-send-command): No special handling of heredocs, it isn't
11786 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
11788 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
11789 with a space (bug#16664). Limit the symbols considered to the ones
11790 that are bound or fbound (bug#16646).
11792 2014-02-06 Glenn Morris <rgm@gnu.org>
11794 * epa.el (epa-mail-aliases): Doc fix.
11796 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
11798 * emacs-lisp/lisp.el (lisp-completion-at-point):
11799 Use `completion-table-merge' instead of `completion-table-in-turn'
11802 * minibuffer.el (completion-table-merge): New function.
11804 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
11806 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
11807 (tramp-sh-handle-set-file-acl)
11808 (tramp-sh-handle-start-file-process)
11809 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
11810 (tramp-find-executable, tramp-send-command): Use it.
11812 2014-02-05 Glenn Morris <rgm@gnu.org>
11814 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
11816 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
11818 * progmodes/python.el (python-shell-send-string)
11819 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
11821 2014-02-04 Anders Lindgren <andlind@gmail.com>
11823 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
11824 the names (bug#16620).
11826 2014-02-03 Martin Rudalics <rudalics@gmx.at>
11828 * faces.el (window-divider): New default value. Rewrite doc-string.
11829 (window-divider-first-pixel, window-divider-last-pixel): New faces.
11831 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
11833 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11834 `protected' and `public' can also be called without arguments.
11836 2014-02-03 Glenn Morris <rgm@gnu.org>
11838 * register.el (window-configuration-to-register)
11839 (frame-configuration-to-register): Unadvertise unused argument.
11840 * frameset.el (frameset-to-register): Remove unused argument.
11842 * frameset.el (frameset-to-register):
11843 * kmacro.el (kmacro-to-register):
11844 * register.el (increment-register):
11845 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
11846 (calc-append-to-register, calc-prepend-to-register):
11847 * play/gametree.el (gametree-layout-to-register)
11848 (gametree-apply-register-layout):
11849 * textmodes/picture.el (picture-clear-rectangle-to-register)
11850 (picture-yank-rectangle-from-register):
11851 * vc/emerge.el (emerge-combine-versions-register):
11852 Use register-read-with-preview to read registers.
11854 2014-02-03 João Távora <joaotavora@gmail.com>
11856 * elec-pair.el (electric-pair-backward-delete-char): Don't error
11857 when at beginning of (possibly narrowed) buffer.
11859 2014-02-02 Daniel Colascione <dancol@dancol.org>
11861 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
11862 Also try to display local help from just before point.
11864 2014-02-02 Alan Mackenzie <acm@muc.de>
11866 c-parse-state. Don't "append-lower-brace-pair" in certain
11867 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
11868 recognised as a comment.
11870 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
11871 as well as normal comment starter.
11872 (c-parse-state-get-strategy): Extra return possibility
11874 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
11875 return value list to indicate replacement of a brace-pair cons
11877 (c-parse-state-1): With 'back-and-forward, only call
11878 c-append-lower-brace-pair-to state-cache when cons-separated.
11880 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
11882 * term/ns-win.el (ns-suspend-error): New function.
11883 (ns-initialize-window-system): Add ns-suspend-error to
11884 suspend-hook (Bug#16612).
11886 2014-02-02 Daniel Colascione <dancol@dancol.org>
11888 * progmodes/cc-defs.el (c-find-assignment-for-mode):
11889 Make loading cc-mode silent.
11891 2014-02-02 Daniel Colascione <dancol@dancol.org>
11893 * comint.el (comint-prompt-read-only): Change doc to suggest
11896 2014-02-02 Glenn Morris <rgm@gnu.org>
11898 * register.el (register-read-with-preview, point-to-register)
11899 (window-configuration-to-register, frame-configuration-to-register)
11900 (jump-to-register, number-to-register, view-register, insert-register)
11901 (copy-to-register, append-to-register, prepend-to-register)
11902 (copy-rectangle-to-register): Doc fixes.
11904 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
11906 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
11907 * emacs-lisp/find-func.el (find-function-C-source): Idem.
11908 * emacs-lisp/nadvice.el (advice--cd*r): New function.
11909 * help-fns.el (describe-function-1): Use it.
11911 2014-02-02 Glenn Morris <rgm@gnu.org>
11913 * register.el (register-preview-default): New function,
11914 split from register-preview.
11915 (register-preview-function): Rename from register-preview-functions,
11916 make it not a hook.
11917 (register-preview): Use register-preview-function.
11918 (register-read-with-preview): Error on non-character event. (Bug#16595)
11920 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
11922 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
11923 `:' before binary operators (bug#16609). Don't check for `:'
11924 before `[' and `(', or their syntax status. A percent literal
11925 can't end with either.
11926 (ruby-font-lock-keywords): For built-ins that require arguments,
11927 check that they're followed by something that looks like argument
11930 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
11932 * subr.el (butlast): Document what an omitted N means (bug#13437).
11935 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
11937 * net/shr.el (shr-generic): Make into a defsubst to make the stack
11938 depth shallower (bug#16587).
11939 (shr-tag-svg): Respect `shr-inhibit-images'.
11940 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
11942 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
11944 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
11945 (ruby-smie-grammar): Make "." right-associative. Make its priority
11946 lower than the ternary and all binary operators.
11947 (ruby-smie-rules): Indent "(" relative to the first non-"."
11948 parent, or the first "." parent at indentation.
11949 Use `ruby-align-chained-calls' for indentation of "." tokens.
11952 2014-01-31 Juri Linkov <juri@jurta.org>
11954 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
11955 from `make-hash-table'.
11957 * textmodes/ispell.el (ispell-init-process): Change message format
11958 to be consistent with other messages.
11960 2014-01-31 Glenn Morris <rgm@gnu.org>
11962 * delsel.el (delete-selection-mode): Doc fix.
11964 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
11965 (trace-function-background): Doc fixes.
11967 * ido.el (ido-use-virtual-buffers): Doc fix.
11968 Reset :version, since the default value has not changed.
11970 * register.el (register-preview-delay, register-read-with-preview):
11973 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
11974 do not mess with mail-buffer position (fixes 2009-11-03 change).
11975 * progmodes/cc-mode.el (c-submit-bug-report):
11976 Check auto-fill-mode is bound. (Bug#16592)
11978 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
11980 * startup.el (fancy-splash-image-file): New function,
11981 split from fancy-splash-head.
11982 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
11983 so that we are both using the same image. (Bug#16574)
11985 2014-01-30 Glenn Morris <rgm@gnu.org>
11987 * simple.el (eval-expression): Doc fix.
11989 * hexl.el (hexl-mode-hook):
11990 * ielm.el (ielm-mode-hook):
11991 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
11992 (lisp-interaction-mode-hook):
11993 * progmodes/cfengine.el (cfengine3-documentation-function):
11994 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
11996 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11998 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
11999 is a symbol (bug#16584).
12001 2014-01-30 Glenn Morris <rgm@gnu.org>
12003 * help.el (help-for-help-internal): Add "P" to text.
12005 2014-01-29 Glenn Morris <rgm@gnu.org>
12007 * simple.el (just-one-space, cycle-spacing): Doc fixes.
12009 2014-01-28 Martin Rudalics <rudalics@gmx.at>
12011 * window.el (fit-frame-to-buffer): Fix calculations for margins and
12012 height constraints.
12014 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
12016 * progmodes/hideif.el: Extend to full CPP expression syntax.
12017 (hif-token-alist): Add missing tokens.
12018 (hif-token-regexp): Add support for float/octal/hex immediates.
12019 (hif-string-literal-regexp): New const.
12020 (hif-tokenize): Recognize strings and float/octal/hex immediates.
12021 (hif-exprlist): New function.
12022 (hif-parse-if-exp): Use it.
12023 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
12024 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
12025 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
12026 (hif-logxor, hif-comma): New functions.
12028 2014-01-28 Glenn Morris <rgm@gnu.org>
12030 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
12032 * indent.el (tab-stop-list): Doc fix. Add :version.
12034 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
12035 (cvs-append-to-ignore): Add compatibility alias.
12037 2014-01-27 Glenn Morris <rgm@gnu.org>
12039 * dired.el (dired-hide-details-mode): Don't autoload it,
12040 since it cannot be used outside Dired buffers anyway.
12042 * emulation/cua-base.el (cua-mode): Doc fix.
12044 * dired.el (dired-hide-details-hide-symlink-targets)
12045 (dired-hide-details-hide-information-lines)
12046 (dired-hide-details-mode): Doc fixes.
12048 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
12049 * strokes.el (strokes-file): Doc fix. Bump :version.
12050 (strokes-help): Doc fix.
12051 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
12052 * emulation/viper.el (viper): Doc fix for custom group.
12053 (top-level): Remove oh-so-no-longer-relevant text about vip.
12054 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
12056 * ido.el (ido-save-directory-list-file):
12057 * saveplace.el (save-place-file):
12058 * calendar/timeclock.el (timeclock-file):
12059 * net/quickurl.el (quickurl-url-file):
12060 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12061 * progmodes/idlwave.el (idlwave-config-directory):
12062 * textmodes/remember.el (remember-data-file):
12065 2014-01-26 Glenn Morris <rgm@gnu.org>
12067 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
12068 Doc fix. Make obsolete.
12069 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
12071 * sort.el (delete-duplicate-lines): Doc fix.
12073 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12075 * progmodes/ada-mode.el (ada):
12076 * woman.el (woman): Link to info manual and Commentary section.
12078 * progmodes/flymake.el (flymake):
12079 * nxml/nxml-mode.el (nxml):
12080 * net/eww.el (eww):
12081 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
12082 * htmlfontify.el (htmlfontify):
12085 * ido.el (ido): Link to info manual.
12087 2014-01-25 Leo Liu <sdl.web@gmail.com>
12089 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
12091 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
12093 * net/shr.el (shr-tag-img): Prefer the title over the alt text
12096 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
12098 * net/eww.el (eww-download-callback):
12099 Fix reference to eww-download-directory.
12101 * emacs-lisp/bytecomp.el (byte-compile-file):
12102 Remove unused local variable `file-name'.
12104 2014-01-24 Glenn Morris <rgm@gnu.org>
12106 * woman.el (woman-default-faces, woman-monochrome-faces):
12107 Fix obsolescence specification.
12109 * subr.el (with-demoted-errors): Doc fix.
12111 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
12113 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
12114 (cl--macroexp-fboundp): New function.
12115 (cl--make-type-test): Use it.
12117 2014-01-23 Glenn Morris <rgm@gnu.org>
12119 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
12120 * simple.el (eval-expression): Doc fixes.
12122 2014-01-22 Glenn Morris <rgm@gnu.org>
12124 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
12126 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12128 * emacs-lisp/package.el: Write files silently.
12129 (package-autoload-ensure-default-file, package--write-file-no-coding)
12130 (package-generate-description-file, package--download-one-archive)
12131 (package-install-from-archive): Tell `write-region' to stay quiet.
12132 (package-menu-mode, package-menu--print-info): Omit the Archive column
12133 if there's only one archive.
12134 (package-all-keywords, package--has-keyword-p): Remove dead code.
12136 2014-01-22 Glenn Morris <rgm@gnu.org>
12138 * version.el (emacs-bzr-version-bzr): Fix typo.
12140 * version.el (emacs-repository-get-version):
12141 Check either .bzr or .git, but not both.
12142 Make the git case actually use the DIR argument, and return nil
12143 rather than the empty string.
12144 Avoid error if .git exists but the git executable is not found.
12146 2014-01-22 Martin Rudalics <rudalics@gmx.at>
12148 Fixes in window size functions around Bug#16430 and Bug#16470.
12149 * window.el (window-total-size, window-size): New argument ROUND.
12150 (window--min-delta-1, window-min-delta, window--max-delta-1):
12151 Be more conservative when calculating the numbers of lines or
12152 columns a window can shrink (Bug#16430).
12153 (fit-window-to-buffer): Simplify code.
12154 * term.el (term-window-width): Call window-body-width again.
12156 2014-01-22 Glenn Morris <rgm@gnu.org>
12158 * image.el (image-format-suffixes): Doc fix.
12160 * international/quail.el (quail-define-package): Doc fix.
12162 * emacs-lisp/authors.el (authors-valid-file-names)
12163 (authors-renamed-files-alist): Additions.
12165 * vc/vc-git.el (vc-git-print-log): Remove --follow;
12166 reverts 2014-01-09 change. (Bug#16422)
12168 * calc/calc-embed.el (thing-at-point-looking-at):
12169 * emacs-lisp/map-ynp.el (x-popup-dialog):
12170 * obsolete/lmenu.el (x-popup-dialog):
12171 * emacs-lisp/package.el (url-recreate-url):
12172 * mail/mailclient.el (clipboard-kill-ring-save):
12173 * subr.el (x-popup-dialog): Update declaration.
12174 * mail/rmail.el (rmail-mime-message-p):
12175 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
12177 2014-01-21 Daniel Colascione <dancol@dancol.org>
12179 * progmodes/sh-script.el (sh--inside-noncommand-expression):
12180 Correctly detect when we're inside an arithmetic expansion form
12181 containing nested parenthesis.
12182 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
12183 to detect cases where we shouldn't expand "<<" to a heredoc
12186 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
12188 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
12189 (eldoc--message-command-p): New function.
12190 (eldoc-display-message-p): Use it.
12191 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
12192 message is not automatically erased for us.
12193 (eldoc-print-current-symbol-info): Erase previous message, if any.
12195 2014-01-21 Tassilo Horn <tsdh@gnu.org>
12197 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
12198 specify it's an interactive function.
12200 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
12201 Fix regex used for scanning for citation keys which failed for
12202 citations with optional arguments.
12204 2014-01-21 Leo Liu <sdl.web@gmail.com>
12206 * simple.el (read--expression): Don't enable eldoc-mode.
12208 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
12210 * simple.el (move-beginning-of-line): Make sure we don't move forward
12213 2014-01-20 Juri Linkov <juri@jurta.org>
12215 * saveplace.el (toggle-save-place, save-place-to-alist)
12216 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
12217 'dired-mode) before checking for dired-directory. (Bug#16477)
12219 2014-01-20 Juri Linkov <juri@jurta.org>
12221 * indent.el (indent-line-to): Use backward-to-indentation
12222 instead of back-to-indentation. (Bug#16461)
12224 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
12226 Revert some of the CANNOT_DUMP fix (Bug#16494).
12227 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
12228 but fixing this can wait until after the next release.
12229 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
12231 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
12233 * eshell/esh-mode.el (eshell-password-prompt-regexp):
12234 Use `password-word-equivalents'.
12235 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
12236 to t. (Bug#5664, Bug#13124)
12238 2014-01-19 Alan Mackenzie <acm@muc.de>
12240 Bind open-paren-in-column-0-is-defun-start to nil at some entry
12242 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
12243 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
12244 * progmodes/cc-mode.el (c-before-change, c-after-change)
12245 (c-font-lock-fontify-region): Bind it here.
12247 2014-01-19 Martin Rudalics <rudalics@gmx.at>
12249 * term.el (term-window-width): Call window-text-width instead of
12250 window-width (Bug#16470).
12252 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
12254 * simple.el (password-word-equivalents): Remove duplicates.
12255 Sort, to make this easier next time.
12256 Downcase. Omit ": " after "jelszó".
12258 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
12260 * term/common-win.el (saved-region-selection): Defvar it.
12261 (x-select-text): Set saved-region-selection (Bug#16382).
12263 2014-01-18 Glenn Morris <rgm@gnu.org>
12265 * emacs-lisp/authors.el (authors-aliases)
12266 (authors-renamed-files-alist): Add some entries.
12268 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
12270 * net/tramp.el (tramp-password-prompt-regexp):
12271 Use `password-word-equivalents' if available.
12272 (tramp-action-password, tramp-process-one-action)
12273 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
12275 2014-01-17 Chong Yidong <cyd@gnu.org>
12277 * simple.el (password-word-equivalents): New defcustom.
12278 * comint.el (comint-password-prompt-regexp): Use it. Bump version
12280 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
12283 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
12285 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
12286 (ruby-align-to-stmt-keywords): Change the default value.
12287 Use `ruby-alignable-keywords' to generate the possible customization
12289 (ruby-smie-rules): Instead of using a hardcoded list of alignable
12290 keywords, check against the value of `ruby-alignable-keywords'
12291 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
12293 2014-01-17 Glenn Morris <rgm@gnu.org>
12295 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
12297 Make M-x authors return zero *Authors Errors* from current logs.
12298 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
12299 (authors-ignored-files): Add some entries, remove others.
12300 (authors-ambiguous-files, authors-valid-file-names):
12302 (authors-renamed-files-alist): Add, remove, and adjust entries.
12303 (authors-renamed-files-regexps): Add some entries.
12304 Remove some very broad ones. Make some entries `lax'.
12305 (authors-lax-changelogs): New constant.
12306 (authors-disambiguate-file-name): Treat top-level specially.
12307 (authors-lax-changelog-p): New function.
12308 (authors-canonical-file-name): Check file as written against
12309 authors-valid-file-names. Do not special-case etc/.
12310 Handle `lax' logs and authors-renamed-files-regexps elements.
12312 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
12314 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
12315 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
12318 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12320 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
12321 Assume we're already in the proper buffer.
12322 Inspired by Anders Lindgren <andlind@gmail.com>.
12323 (follow-post-command-hook): Call it from the right buffer.
12324 (follow-comint-scroll-to-bottom): Adjust call.
12325 (follow-all-followers): Use get-buffer-window-list.
12327 2014-01-15 Daniel Colascione <dancol@dancol.org>
12329 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
12330 `buffer-file-name' in interactive-form so that we don't leave
12331 pathless file names in `file-name-history'.
12333 2014-01-15 Juri Linkov <juri@jurta.org>
12335 * indent.el (indent-rigidly): Set deactivate-mark to nil
12336 in transient indentation mode. (Bug#16438)
12338 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
12340 * emacs-lisp/package.el (package-desc-keywords): New function
12342 (describe-package-1, package-all-keywords)
12343 (package--has-keyword-p): Use it.
12345 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12347 * simple.el (define-alternatives): When creating the
12348 COMMAND-alternatives variable, assign COMMAND as its definition
12349 name so that `describe-variable' can relocate it.
12351 2014-01-14 Matthew Leach <matthew@mattleach.net>
12353 * font-lock.el (font-lock-keywords): Fix typo in docstring
12356 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12358 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
12359 line instead of wrongly reset `add-coment' (bug#13577).
12361 2014-01-14 Daiki Ueno <ueno@gnu.org>
12363 * epa-file.el (epa-file-write-region): Encode the region according
12364 to `buffer-file-format'. Problem reported at:
12365 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
12367 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
12369 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
12370 so it applies in the right buffer (bug#16410).
12372 2014-01-13 Daniel Colascione <dancol@dancol.org>
12374 * textmodes/rst.el (rst-define-key): Provide deprecated
12375 keybindings through named functions instead of anonymous ones so
12376 that "??" doesn't appear in describe-mode output.
12378 2014-01-13 Bastien Guerry <bzg@gnu.org>
12380 * simple.el (define-alternatives): Call the selected command
12381 interactively. When setting `COMMAND--implementation' for the
12382 first time, tell the user how to chose another implementation.
12383 Enhance the docstring.
12385 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
12388 (log-edit--match-first-line): New function.
12389 (log-edit-font-lock-keywords): Use it.
12390 (log-edit-mode): Make jit-lock-defer-multiline work.
12392 2014-01-13 Bastien Guerry <bzg@gnu.org>
12394 * rect.el (rectangle-mark-mode): When the region is not active,
12395 display a message saying that the mark as been set and that
12396 rectangle mode is in use.
12397 (rectangle--highlight-for-redisplay): Only put an overlay with a
12398 visible vertical bar when (display-graphic-p) is non-nil.
12399 This partially fixes Bug#16403.
12401 2014-01-13 Juri Linkov <juri@jurta.org>
12403 * info.el (Info-find-file): Go to DIR before displaying the error
12404 about a nonexistent file if no previous Info file is visited.
12405 Use `user-error' instead of `error' for "Info file %s does not exist".
12406 (Info-find-node-2): In case of a nonexistent node in unwind forms
12407 go to the Top node if there is no previous node to revert to.
12410 2014-01-13 Martin Rudalics <rudalics@gmx.at>
12412 fit-frame/window-to-buffer code fixes including one for Bug#14096.
12413 * window.el (fit-frame-to-buffer): Fix doc-string.
12414 Respect window-min-height/-width. Fit pixelwise when
12415 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
12416 when avoiding that frame goes partially off-screen.
12417 (fit-window-to-buffer): Respect window-min-height/-width
12420 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
12422 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
12423 after an empty line.
12425 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
12427 * net/shr.el (shr-render-region): Autoload.
12429 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
12431 * net/eww.el (eww-download-directory): Rename from
12432 `eww-download-path' (Bug#16419).
12434 2014-01-12 Leo Liu <sdl.web@gmail.com>
12436 * dired-x.el (dired-mode-map): Fix last change.
12438 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
12440 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
12443 * emacs-lisp/generic.el (generic--normalize-comments):
12444 Rename from generic--normalise-comments. All uses changed.
12445 * play/bubbles.el (bubbles--neighborhood-score)
12446 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
12447 (bubbles--neighborhood-available)
12448 (bubbles--update-neighborhood-score):
12449 Rename from names with 'neighbourhood'. All uses changed.
12451 2014-01-12 Leo Liu <sdl.web@gmail.com>
12453 Re-implement the feature of showing eldoc info after editing.
12454 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
12455 (eldoc-edit-message-commands): New function.
12456 (eldoc-print-after-edit): New variable.
12457 (eldoc-pre-command-refresh-echo-area): Emit message only by
12458 eldoc-message-commands.
12459 (eldoc-mode): Restrict eldoc-message-commands to editing commands
12460 if eldoc-print-after-edit is set. (Bug#16346)
12461 * simple.el (read--expression): Enable eldoc-mode.
12462 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
12464 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
12465 Eric S. Raymond <esr@thyrsus.com>
12467 * version.el (emacs-repository-get-version): Enhance so the
12468 function works correctly in either a Bazaar or Git repo.
12470 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
12472 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
12473 Goes with removal of the joke manpages from /etc.
12475 2014-01-10 Kenichi Handa <handa@gnu.org>
12477 * mail/rmail.el (rmail-get-coding-system):
12478 Check rmail-get-coding-function before "funcall"ing it.
12480 2014-01-10 Glenn Morris <rgm@gnu.org>
12482 * emacs-lisp/authors.el (authors-fixed-entries):
12483 Update for files that no longer exist.
12485 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
12487 * version.el (emacs-bzr-get-version): Restore compatibilty with
12490 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
12492 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
12495 2014-01-10 Eli Zaretskii <eliz@gnu.org>
12497 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
12499 2014-01-10 Chong Yidong <cyd@gnu.org>
12501 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
12503 2014-01-10 Anders Lindgren <andlind@gmail.com>
12505 * follow.el (follow-cache-command-list): Include right-char and
12508 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
12511 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
12512 * woman.el (woman-mark-horizontal-position):
12513 Rename from woman-mark-horizonal-position. Use changed.
12515 2014-01-10 Glenn Morris <rgm@gnu.org>
12517 * info.el (info-initialize): If running uninstalled, ensure our
12518 own info files are always found first, even if INFOPATH is set.
12520 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
12522 2014-01-09 David Engster <deng@randomsample.de>
12524 * emacs-lisp/eieio-custom.el:
12525 * emacs-lisp/eieio-opt.el: Set generated autoload file to
12526 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
12527 * emacs-lisp/eieio.el: Regenerate autoloads.
12529 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
12531 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
12532 following renames. (Bug#8756)
12534 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
12536 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
12538 (activate-mark): Add `no-tmm' argument.
12539 (set-mark, push-mark-command): Use it instead of running
12540 activate-mark-hook by hand.
12542 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
12544 In preparation for the move to git, sanitize out some
12545 Bazaar-specific names.
12547 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
12549 * version.el (emacs-bzr-version): Name changed to
12550 emacs-repository-version. Obsolete-variable alias made.
12551 * loadup.el: Follow through on this name change.
12552 * mail/emacsbug.el (report-emacs-bug): Factor out any
12553 assumption about the version control system in use.
12555 2014-01-08 David Engster <deng@randomsample.de>
12557 * help-fns.el (help-fns-describe-function-functions):
12558 New variable to call functions for augmenting help buffers.
12559 (describe-function-1): Remove explicit calls to
12560 `help-fns--compiler-macro', `help-fns--parent-mode' and
12561 `help-fns--obsolete'. Put them in above new variable instead, and
12562 call them through `run-hook-with-args'.
12563 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
12564 `eieio-describe-class'. Not meant for interactive use anymore,
12565 but to augment existing help buffers. Remove optional second
12566 argument. Create proper button for file location.
12567 Rewrite function to use `insert' instead of `princ' and `prin1' where
12569 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
12570 (eieio-method-def, eieio-class-def): Move further up.
12571 (describe-method, describe-generic, eieio-describe-method):
12573 (eieio-help-constructor, eieio-help-generic): Rename from
12574 `eieio-describe-constructor' and `eieio-describe-generic', resp.
12575 Rewrite to use `insert' in the current buffer and use proper help
12577 (eieio-help-find-method-definition)
12578 (eieio-help-find-class-definition): Also accept symbols as
12580 (eieio-help-mode-augmentation-maybee): Remove.
12581 (eieio-describe-class-sb): Use `describe-function'.
12582 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
12583 Add `eieio-help-generic' and `eieio-help-constructor'.
12585 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
12588 * language/china-util.el (hz-ascii-designation):
12589 Rename from hz-ascii-designnation.
12590 (hz-ascii-designation): Rename from hz-ascii-designnation.
12593 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
12598 2014-01-08 Bastien Guerry <bzg@gnu.org>
12600 * emacs-lisp/package.el (package-delete):
12601 Correctly delete the package from package-alist.
12603 2014-01-08 Daiki Ueno <ueno@gnu.org>
12605 * emacs-lisp/package.el (url-recreate-url): Declare.
12606 (url-http-target-url): Declare.
12607 (package-handle-response): Include requested URL in the error message.
12608 (package--check-signature): Don't re-signal errors from
12609 package--with-work-buffer. Suggested by Stefan Monnier.
12611 2014-01-07 Bastien Guerry <bzg@gnu.org>
12613 * minibuffer.el (completion--try-word-completion): When both a
12614 hyphen and a space are possible candidates for the character
12615 following a word, display both candidates. (Bug#15980)
12617 2014-01-07 Martin Rudalics <rudalics@gmx.at>
12619 * window.el (balance-windows-2): While rounding don't give a
12620 window more than the remainder. Bug#16351, bug#16383.
12622 2014-01-07 Glenn Morris <rgm@gnu.org>
12624 * menu-bar.el (menu-bar-help-extra-packages): Remove.
12625 (menu-bar-help-menu): Use view-external-packages instead.
12627 2014-01-07 Bastien Guerry <bzg@gnu.org>
12629 * emacs-lisp/package.el (package-delete): Also delete the package
12630 name from `package-alist', not its description only.
12632 2014-01-07 Glenn Morris <rgm@gnu.org>
12634 * help.el (view-external-packages):
12635 * menu-bar.el (menu-bar-help-extra-packages):
12636 Visit efaq.info rather than etc/MORE.STUFF.
12638 2014-01-07 Juri Linkov <juri@jurta.org>
12640 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
12641 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
12643 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
12644 that shadows RET. (Bug#16342)
12646 2014-01-07 Chong Yidong <cyd@gnu.org>
12648 * isearch.el (isearch-yank-char, isearch-yank-word)
12649 (isearch-yank-line): Doc fix.
12651 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12653 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
12654 * emacs-lisp/elint.el (elint-find-builtins):
12655 * emacs-lisp/eldoc.el (eldoc-symbol-function):
12656 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
12657 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
12658 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
12659 * apropos.el (apropos-safe-documentation):
12660 * subr.el (symbol-file): Remove redundant fboundp.
12661 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
12663 2014-01-06 Bastien Guerry <bzg@gnu.org>
12665 * hl-line.el (global-hl-line-overlay): Make a local variable.
12666 (global-hl-line-overlays): New variable to store all overlays.
12667 (global-hl-line-mode): Don't delete overlays from the current
12668 buffer when `global-hl-line-sticky-flag' is non-nil.
12669 (global-hl-line-highlight): Add new overlays to
12670 `global-hl-line-overlays'.
12671 (global-hl-line-unhighlight-all): New function to delete all
12672 overlays when turning off `global-hl-line-mode'.
12673 This fixes Bug#16183.
12675 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
12677 * subr.el (set-transient-map): Fix nested case and docstring.
12679 2014-01-06 Tassilo Horn <tsdh@gnu.org>
12681 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
12684 2014-01-06 Daniel Colascione <dancol@dancol.org>
12686 Fix defun navigation in vc log view.
12688 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
12689 like `beginning-of-defun'.
12690 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
12691 log-view-end-of-defun to log-view-end-of-defun-1. Replace
12692 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
12693 (log-view-extract-comment): Call `log-view-current-entry' directly
12694 instead of relying on broken `log-view-beginning-of-defun' behavior.
12696 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
12699 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
12700 * emacs-lisp/debug.el (cancel-debug-on-entry):
12701 * epg.el (epg-error-to-string):
12702 * files.el (recover-file):
12703 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
12704 * mail/emacsbug.el (report-emacs-bug-hook):
12705 * mail/sendmail.el (mail-recover):
12706 * ses.el (ses-yank-resize):
12707 * term/ns-win.el (ns-print-buffer):
12708 Spelling fixes in diagnostics, mostly for "canceled" with one L.
12709 * epg.el (epg-key-capability-alist): Rename from misspelled version.
12711 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
12713 2014-01-06 Leo Liu <sdl.web@gmail.com>
12715 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
12716 to avoid shadowing global key. (Bug#16354)
12718 2014-01-06 Daniel Colascione <dancol@dancol.org>
12720 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
12723 2014-01-05 Martin Rudalics <rudalics@gmx.at>
12725 * window.el (balance-windows): Add mising t to fix Bug#16351.
12727 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12729 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
12731 (shr-insert): If we have a word that's longer than `shr-width',
12732 break after it anyway. Otherwise we'll do no breaking once we get
12735 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12737 * net/eww.el (eww): Support single/double quote for search.
12738 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
12739 (eww-history-quit): Delete and use quit-window.
12740 (eww-history-kill): Delete, because it doesn't work well and
12742 (eww-history-mode-map): Delete some keys and add easy-menu.
12744 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
12746 Fix misspelling of 'chinese' in rx (Bug#16237).
12747 * emacs-lisp/rx.el (rx-categories): Correct spelling of
12750 Change subword regexps back to vars (Bug#16296).
12751 * progmodes/subword.el (subword-forward-regexp)
12752 (subword-backward-regexp): Change these back to variables.
12754 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12756 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
12757 syntax-begin-function (bug#16247).
12759 2014-01-03 Chong Yidong <cyd@gnu.org>
12761 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
12762 (advice--docstring): Delete variable.
12763 (advice--make-1): Leave the docstring empty.
12764 (advice-add): Use function-documentation for advised docstring.
12766 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
12767 Ignore function-documentation property when getting documentation.
12768 (ad-activate-advised-definition): Use function-documentation
12769 generate the docstring.
12770 (ad-make-advised-definition): Don't call
12771 ad-make-advised-definition-docstring.
12772 (ad-make-advised-definition-docstring, ad-advised-definition-p):
12775 * progmodes/sql.el (sql-help): Use function-documentation instead
12776 of dynamic-docstring-function property. No need to autoload now.
12777 (sql--help-docstring): New variable.
12778 (sql--make-help-docstring): Use it.
12780 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * ielm.el (ielm-tab): Retarget.
12783 (ielm-map): Use ielm-tab for tab.
12784 (ielm-complete-filename): Use comint-filename-completion.
12785 (ielm-complete-symbol): Remove.
12786 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
12787 remove ielm-tab from completion-at-point-functions (bug#16224).
12789 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
12790 Beware signals raised by predicates (bug#16201).
12792 2014-01-02 Richard Stallman <rms@gnu.org>
12794 * dired-aux.el (dired-do-print): Handle printer-name.
12796 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
12797 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
12798 (rmail-epa-decrypt): Turn off mime processing.
12800 * mail/rmail.el (rmail-make-in-reply-to-field):
12801 Add parens in message-id.
12803 * mail/rmail.el (rmail-get-coding-function): Variable.
12804 (rmail-get-coding-system): Use it.
12806 2013-12-31 Eli Zaretskii <eliz@gnu.org>
12808 * international/mule-conf.el: Unify the charset indian-is13194.
12809 (indian-is13194): Specify unify-map.
12811 2013-12-31 Leo Liu <sdl.web@gmail.com>
12813 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
12815 2013-12-30 Daniel Colascione <dancol@dancol.org>
12817 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
12818 of printing a useless when we resume from sleep.
12820 * progmodes/sh-script.el
12821 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
12822 in indentation code. (Bug#16233)
12824 2013-12-28 João Távora <joaotavora@gmail.com>
12826 * elec-pair.el (electric-pair-post-self-insert-function):
12827 Don't open extra newlines at beginning of buffer. (Bug#16272)
12829 2013-12-28 Eli Zaretskii <eliz@gnu.org>
12831 * frame.el (window-system-for-display): Don't allow to create a
12832 GUI frame from a -nw session on MS-Windows. (Bug#14739)
12834 2013-12-28 Glenn Morris <rgm@gnu.org>
12836 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
12839 * apropos.el (apropos-match-face):
12840 * calculator.el (calculator-displayer):
12841 * dabbrev.el (dabbrev-search-these-buffers-only):
12842 * face-remap.el (buffer-face-mode-face):
12843 * simple.el (yank-handled-properties):
12844 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
12845 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
12846 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
12847 (hashcash-double-spend-database):
12848 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
12849 (ruby-deep-indent-paren-style):
12850 * textmodes/flyspell.el (flyspell-auto-correct-binding):
12851 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
12852 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
12853 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
12854 Specify custom types.
12856 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
12857 * bookmark.el (bookmark-bmenu-use-header-line):
12858 * doc-view.el (doc-view-scale-internally):
12859 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
12860 * register.el (register-preview-delay):
12861 * net/shr.el (shr-bullet):
12862 * progmodes/cfengine.el (cfengine-cf-promises)
12863 (cfengine-parameters-indent):
12864 * progmodes/octave.el (inferior-octave-error-regexp-alist):
12865 * textmodes/reftex-vars.el (reftex-label-regexps):
12866 * vc/log-edit.el (log-edit-setup-add-author): Add version.
12868 * net/tls.el (tls-certtool-program): Fix default value.
12870 * desktop.el (desktop-restore-in-current-display):
12871 * newcomment.el (comment-empty-lines):
12872 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
12873 (idlwave-pad-keyword):
12874 * progmodes/tcl.el (tcl-tab-always-indent):
12875 * textmodes/reftex-vars.el (reftex-index-default-tag):
12876 * elec-pair.el (electric-pair-skip-whitespace):
12877 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
12879 * emacs-lisp/authors.el (authors-ignored-files)
12880 (authors-valid-file-names, authors-renamed-files-alist): Additions.
12882 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
12884 * shell.el (shell-dynamic-complete-command): Doc fix.
12885 (shell--command-completion-data): Shell completion now matches
12886 executable filenames from the current buffer's directory, on
12887 systems in which this behavior is the default (windows-nt, ms-dos).
12889 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12891 * net/shr.el (shr-insert): Don't infloop if the width is zero.
12893 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
12895 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
12898 * electric.el: Move all electric-pair-* to elec-pair.el.
12899 * elec-pair.el: New file, split from electric.el.
12901 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
12903 * net/shr.el (shr-find-fill-point): Don't try to fill if the
12904 indentation level is larger than the width, because that will
12906 (shr-insert): Fill repeatedly long texts, so that Japanese is
12907 formatted correctly (bug#16263).
12908 (shr-find-fill-point): Off by one error in comparison with the
12911 2013-12-26 João Távora <joaotavora@gmail.com>
12913 * electric.el (electric-pair-mode): More flexible engine for skip-
12914 and inhibit predicates, new options for pairing-related functionality.
12915 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
12916 if that keeps or improves their balance in buffers.
12917 (electric-pair-delete-adjacent-pairs): Delete the pair when
12918 backspacing over adjacent matched delimiters.
12919 (electric-pair-open-extra-newline): Open extra newline when
12920 inserting newlines between adjacent matched delimiters.
12921 (electric--sort-post-self-insertion-hook):
12922 Sort post-self-insert-hook according to priority values when
12923 minor-modes are activated.
12924 * simple.el (newline-and-indent): Call newline with interactive
12926 (blink-paren-post-self-insert-function): Set priority to 100.
12927 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12928 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
12929 comments. Locally set electric-pair-skip-whitespace to 'chomp and
12930 electric-pair-open-newline-between-pairs to nil.
12932 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
12934 * progmodes/python.el: Use lexical-binding.
12935 (python-nav-beginning-of-defun): Stop searching ASAP.
12937 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
12939 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
12940 Fix interactive spec. Doc fix. (Bug#15754)
12942 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
12944 * emacs-lisp/byte-run.el (eval-when-compile):
12945 * progmodes/cc-defs.el (cc-eval-when-compile):
12946 Fix edebug spec (bug#16184).
12948 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12950 * net/shr.el (shr-visit-file): Remove debugging function.
12951 (shr-insert): Don't infloop if we can't find a good place to break
12952 the line (bug#16256).
12954 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
12956 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
12957 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
12958 python-nav-lisp-forward-sexp-safe.
12959 (python-nav--forward-sexp): New argument SAFE allows switching
12960 forward sexp movement behavior for parens.
12961 (python-nav-forward-sexp): Throw errors on unterminated parens
12963 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
12964 (python-nav-backward-sexp-safe): New functions.
12965 (python-shell-buffer-substring):
12966 Use `python-nav-forward-sexp-safe'.
12968 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
12970 * net/shr.el (shr-find-fill-point): Don't break lines before a
12972 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
12973 (shr-find-fill-point): Remove the special checks for the quotation
12974 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
12976 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
12978 * net/eww.el (eww-form-textarea): Use a different face for
12979 textareas than text input since they have different keymaps
12982 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
12984 * progmodes/python.el (python-nav-beginning-of-statement):
12985 Speed up (Bug#15295).
12987 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
12989 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
12990 the window configuration.
12992 2013-12-24 Eli Zaretskii <eliz@gnu.org>
12994 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
12995 we run on MS-Windows or MS-DOS.
12997 2013-12-24 Martin Rudalics <rudalics@gmx.at>
12999 * window.el (balance-windows-area): Call window-size instead of
13000 window-height and window-width. Bug#16241.
13002 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
13004 * net/eww.el (eww-bookmark-quit): Remove.
13005 (eww-bookmark-browse): Restore the window configuration when you
13006 choose a bookmark (bug#16144).
13008 2013-12-24 Daniel Colascione <dancol@dancol.org>
13010 * icomplete.el: Remove redundant :group arguments to `defcustom'
13012 (icomplete-show-matches-on-no-input): New customizable variable.
13013 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13014 we have something to show.
13015 (icomplete-exhibit): Compute completions even if we have no user input.
13017 2013-12-23 Daniel Colascione <dancol@dancol.org>
13019 * icomplete.el: Move `provide' to end of file.
13021 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
13023 * net/gnutls.el (gnutls-verify-error): Add version tag.
13025 2013-12-23 Chong Yidong <cyd@gnu.org>
13027 * subr.el (set-transient-map): Rename from
13028 set-temporary-overlay-map. Doc fix.
13030 * face-remap.el (text-scale-adjust):
13031 * indent.el (indent-rigidly):
13032 * kmacro.el (kmacro-call-macro):
13033 * minibuffer.el (minibuffer-force-complete):
13034 * repeat.el (repeat):
13035 * simple.el (universal-argument--mode):
13036 * calendar/todo-mode.el (todo-insert-item--next-param):
13037 * progmodes/f90.el (f90-abbrev-start): Callers changed.
13039 * indent.el (indent-rigidly): Use substitute-command-keys.
13041 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13043 * net/eww.el (eww-tag-select): Add text-property to jump to next
13045 (eww): Add non-supported ftp error.
13047 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13049 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
13050 comments. Handle electric indent after typing `?' and `!'.
13052 2013-12-22 Chong Yidong <cyd@gnu.org>
13054 * faces.el (face-spec-recalc): If the theme specs are not
13055 applicable to a frame, fall back on the defface spec.
13056 This prevents themes from obliterating faces on low-color terminals.
13058 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13060 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13061 after `{'. We need it after block openers, and it doesn't seem
13062 to hurt after hash openers.
13064 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13066 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
13067 extracted from `ruby-smie-rules'.
13068 (ruby--electric-indent-chars): New variable.
13069 (ruby--electric-indent-p): New function.
13070 (ruby-mode): Use `electric-indent-functions' instead of
13071 `electric-indent-chars'.
13073 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
13075 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13077 (ruby-smie-rules): Indent plus one level after `=>'.
13079 2013-12-21 Richard Stallman <rms@gnu.org>
13081 * simple.el (newline): Doc fix.
13083 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13085 * net/eww.el (eww-list-histories, eww-list-histories)
13086 (eww-history-browse, eww-history-quit, eww-history-kill)
13087 (eww-history-mode-map, eww-history-mode): New command and
13088 functions to list browser histories.
13089 (eww-form-text): Support text form with disabled
13090 and readonly attributes.
13091 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
13093 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13095 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13096 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
13097 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
13098 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
13100 (eww-bookmark-mode-map): Add menu.
13101 (eww-render, eww-mode): Use `setq-local'.
13102 (eww-tool-bar-map): New variable.
13103 (eww-mode): Set `tool-bar-map'.
13104 (eww-view-source): Check for `html-mode' with `fboundp'.
13106 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108 * net/shr.el (shr--extract-best-source): Don't bug out on audio
13109 elements with text inside. Also remove debugging.
13111 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
13113 * cus-start.el (all): Add ns-use-srgb-colorspace.
13115 2013-12-21 Chong Yidong <cyd@gnu.org>
13117 * custom.el (custom-theme-recalc-face): Do nothing if the face is
13118 undefined. Thus, theme settings for undefined faces do not take
13119 effect until the faces are defined with defface, the same as with
13122 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13123 (face-spec-reset-face): Don't assign extra properties in temacs.
13124 (face-spec-recalc): Apply X resources too.
13126 2013-12-21 Chong Yidong <cyd@gnu.org>
13128 * faces.el (face-spec-set):
13129 * cus-face.el (custom-theme-set-faces, custom-set-faces):
13130 * custom.el (defface): Doc fixes (Bug#16203).
13132 * indent.el (indent-rigidly-map): Add docstring, and move commands
13133 into named functions.
13134 (indent-rigidly-left, indent-rigidly-right)
13135 (indent-rigidly-left-to-tab-stop)
13136 (indent-rigidly-right-to-tab-stop): New functions. Decide on
13137 indentation direction based on bidi direction, and accumulate
13138 sequential commands in a single undo boundary.
13139 (indent-rigidly--pop-undo): New utility function.
13141 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
13143 * faces.el (read-face-name): Require crm.el when using crm-separator.
13145 2013-12-20 Daniel Colascione <dancol@dancol.org>
13147 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
13148 so that we don't reflow comments into the shebang line.
13150 2013-12-20 Juri Linkov <juri@jurta.org>
13152 * saveplace.el (save-place-to-alist): Add `dired-filename' as
13153 a position when `dired-directory' is non-nil. Check integer
13154 positions with `integerp'.
13155 (toggle-save-place, save-places-to-alist): Add check for
13157 (save-place-find-file-hook): Check integer positions with
13159 (save-place-dired-hook): Use `dired-goto-file' when
13160 `dired-filename' is found in the assoc list. Check integer
13161 positions with `integerp'.
13162 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
13164 * dired.el (dired-initial-position-hook): Rename back from
13165 `dired-initial-point-hook'.
13166 (dired-initial-position): Rename `dired-initial-point-hook' to
13167 `dired-initial-position-hook'.
13168 (dired-file-name-at-point): Doc fix. (Bug#15329)
13170 2013-12-20 Juri Linkov <juri@jurta.org>
13172 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
13173 (read-regexp-suggestions): New function.
13174 (read-regexp): Use `read-regexp-defaults-function' to get default values.
13175 Use `read-regexp-suggestions'. Add non-empty default to history
13177 (occur-read-regexp-defaults-function): Remove function.
13178 (occur-read-primary-args): Use `regexp-history-last' instead of
13179 `occur-read-regexp-defaults-function'.
13181 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13182 (hi-lock-line-face-buffer, hi-lock-face-buffer)
13183 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
13184 `hi-lock-read-regexp-defaults-function'. Doc fix.
13185 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
13186 with `find-tag-default-as-symbol-regexp'. Doc fix.
13187 (hi-lock-read-regexp-defaults): Remove function.
13188 (hi-lock-regexp-okay): Add check for null.
13190 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
13191 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
13193 * subr.el (find-tag-default-as-symbol-regexp): New function.
13194 (find-tag-default-as-regexp): Move symbol regexp formatting to
13195 `find-tag-default-as-symbol-regexp'.
13197 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
13199 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
13202 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13204 * calendar/todo-mode.el: New implementation of item insertion
13205 commands and key bindings.
13206 (todo-key-prompt): New face.
13207 (todo-insert-item): New command.
13208 (todo-insert-item--parameters): New defconst, replacing defvar
13209 todo-insertion-commands-args-genlist.
13210 (todo-insert-item--param-key-alist): New defconst, replacing
13211 defvar todo-insertion-commands-arg-key-list.
13212 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
13213 (todo-insert-item--argsleft, todo-insert-item--apply-args)
13214 (todo-insert-item--next-param): New functions.
13215 (todo-insert-item--args, todo-insert-item--argleft)
13216 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
13218 (todo-key-bindings-t): Change binding of "i" from
13219 todo-insertion-map to todo-insert-item.
13220 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
13221 (todo-insertion-command-name, todo-insertion-commands-names)
13222 (todo-define-insertion-command, todo-insertion-commands)
13223 (todo-insertion-key-bindings, todo-insertion-map): Remove.
13225 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
13227 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
13228 (todo-toggle-item-highlighting): Use eval-and-compile instead of
13230 (todo-move-category): Allow choosing a non-existing todo file to
13231 move the category to, and create that file.
13232 (todo-default-priority): New user option.
13233 (todo-set-item-priority): Use it.
13234 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
13235 (desktop-restore-file-buffer): Declare.
13236 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
13237 (todo-modes-set-2): Locally set desktop-save-buffer to
13238 todo-desktop-save-buffer.
13239 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
13240 (auto-mode-alist): Add autoload cookie.
13242 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
13244 * emacs-lisp/subr-x.el: Renamed from helpers.el.
13245 helpers.el was a poor choice of name.
13246 (string-remove-prefix): New function.
13247 (string-remove-suffix): New function.
13249 2013-12-20 Martin Rudalics <rudalics@gmx.at>
13251 Fix assignment for new window total sizes.
13252 * window.el (window--pixel-to-size): Remove function.
13253 (window--pixel-to-total-1, window--pixel-to-total):
13254 Fix calculation of new total sizes.
13256 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
13258 * comint.el (comint-output-filter): Fix rear-nonsticky property
13259 placement (Bug#16010).
13261 2013-12-20 Chong Yidong <cyd@gnu.org>
13263 * faces.el (read-color): Minor fix for completion function.
13265 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
13267 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
13268 New option. (Bug#16182)
13269 (ruby-smie--indent-to-stmt-p): Use it.
13270 (ruby-smie-rules): Revert the logic in the handling of `when'.
13271 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
13272 (ruby-deep-arglist, ruby-deep-indent-paren)
13273 (ruby-deep-indent-paren-style): Update docstrings to note that the
13274 vars don't have any effect with SMIE.
13276 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
13278 * calc/calc.el (calc-enter, calc-pop): Use the variable
13279 `calc-context-sensitive-enter'.
13281 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13283 * net/shr.el (shr-insert): Protect against infloops in degenerate
13286 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13288 * progmodes/octave.el (octave): Add link to manual and octave
13290 (octave-mode-menu): Link to octave-mode manual.
13292 2013-12-20 Leo Liu <sdl.web@gmail.com>
13294 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
13295 insertion using skeleton-end-newline. (Bug#16138)
13297 2013-12-20 Juri Linkov <juri@jurta.org>
13299 * replace.el (occur-engine): Use `add-face-text-property'
13300 to add the face property to matches and titles. (Bug#14645)
13302 * hi-lock.el (hi-green): Use lighter color "light green" closer to
13303 the palette of other hi-lock colors.
13304 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
13306 2013-12-19 Juri Linkov <juri@jurta.org>
13308 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
13309 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
13310 (minibuffer-history-symbol): Move variable declaration closer to
13313 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
13316 2013-12-19 Juri Linkov <juri@jurta.org>
13318 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
13320 (log-edit-hook): Add it to :options. (Bug#16170)
13322 2013-12-19 Juri Linkov <juri@jurta.org>
13324 * simple.el (eval-expression-print-format): Don't check for
13325 command names and the last command. Always display additional
13326 formats of the integer result in the echo area, and insert them
13327 to the current buffer only with a zero prefix arg.
13328 Display character when char-displayable-p is non-nil.
13329 (eval-expression): With a zero prefix arg, set `print-length' and
13330 `print-level' to nil, and insert the integer values from
13331 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
13333 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
13334 `eval-last-sexp-arg-internal'. Doc fix.
13335 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
13336 `eval-last-sexp-print-value'. Doc fix.
13337 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
13338 Set `print-length' and `print-level' to nil when arg is zero.
13339 (eval-last-sexp): Doc fix.
13340 (eval-defun-2): Print the integer values from
13341 `eval-expression-print-format' at the end.
13343 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
13344 values from `eval-expression-print-format' at the end.
13346 * ielm.el (ielm-eval-input): Print the integer
13347 values from `eval-expression-print-format' at the end.
13349 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
13351 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
13352 2013-12-11T19:01:44Z!tzz@lifelogs.com.
13354 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
13356 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
13357 (hl-line-highlight, global-hl-line-highlight): Use it.
13358 (hl-line-overlay): Use defvar-local.
13360 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
13362 * term/ns-win.el: Require dnd.
13363 (global-map): Remove drag items.
13364 (ns-insert-text, ns-set-foreground-at-mouse)
13365 (ns-set-background-at-mouse):
13366 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
13367 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
13370 2013-12-19 Glenn Morris <rgm@gnu.org>
13372 * emacs-lisp/ert.el (ert-select-tests):
13373 Fix string/symbol mixup. (Bug#16121)
13375 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13377 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
13378 keywords to their parent.
13380 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13382 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
13383 first arg to be a string (fixed dead code), or an operator symbol.
13384 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
13386 (ruby-smie-rules): Remove parent token check in the `.' clause, it
13387 did nothing. Don't respond to `(:after ".")', it will be called
13388 with :before anyway. Remove the ` @ ' rule, it didn't seem to
13389 change anything. Only return indentation for binary operators
13390 when they are hanging. De-dent opening paren when its parent is
13391 `.', otherwise it looks bad when the dot is not at bol or eol
13394 2013-12-19 Juri Linkov <juri@jurta.org>
13396 * replace.el (query-replace-read-args): Split a non-negative arg
13397 and a negative arg into separate elements.
13398 (query-replace, query-replace-regexp, replace-string)
13399 (replace-regexp): Add arg `backward'. Doc fix.
13400 (replace-match-maybe-edit): When new arg `backward' is non-nil,
13401 move point to the beginning of the match.
13402 (replace-search, replace-highlight): Use new arg `backward'
13403 to set the value of `isearch-forward'.
13404 (perform-replace): Add arg `backward' and use it to perform
13405 replacement backward. (Bug#14979)
13407 * isearch.el (isearch-query-replace): Use a negative prefix arg
13408 to call `perform-replace' with a non-nil arg `backward'.
13410 2013-12-18 Juri Linkov <juri@jurta.org>
13412 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
13413 to the default list. Move `log-edit-show-files' to the end.
13414 Add more available functions to options.
13415 (log-edit): Move default specific settings to
13416 `log-edit-insert-message-template'. Don't move point.
13417 (log-edit-insert-message-template): New function.
13418 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
13421 2013-12-18 Juri Linkov <juri@jurta.org>
13423 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
13424 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
13426 2013-12-18 Leo Liu <sdl.web@gmail.com>
13428 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
13431 2013-12-18 Eli Zaretskii <eliz@gnu.org>
13433 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
13434 formats for displaying file sizes when the -s switch is given.
13435 Instead, compute a separate format for displaying the size in
13436 blocks, which is displayed in addition to the "regular" size.
13437 When -h is given in addition to -s, produce size in blocks in
13438 human-readable form as well. (Bug#16179)
13440 2013-12-18 Tassilo Horn <tsdh@gnu.org>
13442 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
13443 Reference tables with ~\ref{...} instead of only \ref{...}.
13445 2013-12-18 Chong Yidong <cyd@gnu.org>
13447 * cus-edit.el (custom-magic-alist): Fix "themed" description
13450 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
13451 is non-nil, do not create a new entry in the symbol's theme-value
13452 or theme-face property; update theme-settings only (Bug#14664).
13453 (custom-available-themes): Doc fix.
13455 * cus-theme.el (custom-new-theme-mode-map): Add bindings
13458 * replace.el (occur-engine): Avoid infloop (Bug#7593).
13460 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
13462 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
13465 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
13467 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
13469 2013-12-18 Glenn Morris <rgm@gnu.org>
13471 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
13472 * cus-start.el (load-prefer-newer): New option.
13474 2013-12-18 Le Wang <l26wang@gmail.com>
13476 * comint.el (comint-previous-matching-input-from-input):
13477 Retain point (Bug#13404).
13479 2013-12-18 Chong Yidong <cyd@gnu.org>
13481 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
13483 2013-12-18 Glenn Morris <rgm@gnu.org>
13485 * mail/emacsbug.el (report-emacs-bug):
13486 Only mention enable-multibyte-characters if non-standard.
13488 2013-12-17 Juri Linkov <juri@jurta.org>
13490 * arc-mode.el (archive-extract-by-file): Check if directory exists
13491 before deletion to not show irrelevant errors if it doesn't exist.
13493 2013-12-17 Juri Linkov <juri@jurta.org>
13495 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
13498 * net/eww.el (browse-web): Add alias to `eww'.
13499 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
13500 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
13502 * net/browse-url.el (browse-url-browser-function): Move `eww'
13503 closer to similar functions.
13505 * startup.el (fancy-startup-screen, fancy-about-screen):
13506 Set browse-url-browser-function to eww-browse-url locally.
13509 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13511 * window.el (window--pixel-to-total): Remove unused `mini' var.
13512 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
13513 (split-window): Remove unused `new' var.
13514 (window--display-buffer): Remove unused `frame' and `delta' vars.
13515 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
13516 and display-width'.
13518 2013-12-17 Martin Rudalics <rudalics@gmx.at>
13520 * dired.el (dired-mark-pop-up):
13521 * register.el (register-preview): Don't bind
13522 split-height-threshold here since it's now done in
13523 display-buffer-below-selected.
13525 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
13527 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
13528 xterm-rgb-convert-to-16bit.
13529 (rxvt-register-default-colors): Standardize with
13530 xterm-register-default-colors (Bug#14078).
13532 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
13534 * simple.el (kill-region): Pass mark first, then point, so that
13535 kill-append works right (Bug#12819).
13536 (copy-region-as-kill, kill-ring-save): Likewise.
13538 2013-12-17 Leo Liu <sdl.web@gmail.com>
13540 * net/rcirc.el (rcirc-add-face):
13541 * eshell/em-prompt.el (eshell-emit-prompt):
13542 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
13545 2013-12-17 Chong Yidong <cyd@gnu.org>
13547 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
13548 Suggested by Xue Fuqiao.
13550 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
13552 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
13554 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
13556 * net/shr.el (shr-insert-document): Remove unused var
13557 `shr-preliminary-table-render'.
13558 (shr-rescale-image): Remove unused arg `force'.
13559 (shr-put-image): Update calls accordingly.
13560 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
13562 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
13564 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
13565 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
13566 :close-all, to see which indentation method to use (Bug#16116).
13567 (smie-rules-function): Document the method :close-all.
13569 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13571 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
13573 * net/eww.el (eww-display-html): If we can't find the anchor we're
13574 looking for, then go to point-min.
13576 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
13578 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
13579 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
13580 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
13581 Expand dir too, in case it's relative.
13583 2013-12-16 Juri Linkov <juri@jurta.org>
13585 * desktop.el (desktop-auto-save-timeout): Change default to
13586 `auto-save-timeout'. Doc fix.
13587 (desktop-save): Skip the timestamp in desktop-saved-frameset
13588 when checking for auto-save changes.
13589 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
13590 `desktop-auto-save' is called repeatedly by the idle timer.
13591 (desktop-auto-save-set-timer): Replace `run-with-timer' with
13592 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
13595 2013-12-16 Juri Linkov <juri@jurta.org>
13597 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
13599 (isearch-pre-command-hook): Check `this-command' for symbolp.
13601 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13603 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
13605 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
13607 * progmodes/cfengine.el (cfengine3--current-word): Remove.
13608 (cfengine3--current-function): Bring in the current-function
13609 functionality from `cfengine3--current-word'.
13610 (cfengine3-completion-function): Bring in the
13611 bounds-of-current-word functionality from
13612 `cfengine3--current-word'.
13614 2013-12-16 Martin Rudalics <rudalics@gmx.at>
13616 * window.el (display-buffer-below-selected):
13617 Bind split-height-threshold to 0 as suggested by Juri Linkov.
13619 2013-12-16 Leo Liu <sdl.web@gmail.com>
13621 * progmodes/compile.el (compile-goto-error): Do not push-mark.
13622 Remove NOMSG arg and all uses changed.
13624 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
13626 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
13627 (cua--deactivate-rectangle): Don't deactivate the mark.
13628 (cua-set-rectangle-mark): Don't set mark-active since
13629 cua--activate-rectangle already does it for us.
13630 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
13631 non-rectangular region.
13633 * emulation/cua-base.el (cua-repeat-replace-region):
13634 Use with-current-buffer.
13636 * net/gnutls.el: Use cl-lib.
13637 (gnutls-negotiate): `mapcan' -> cl-mapcan.
13639 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13641 * emacs-lisp/package.el (package-built-in-p): Support both
13642 built-in and the package.el converted package descriptions.
13643 (package-show-package-list): Allow keywords.
13644 (package-keyword-button-action): Use it instead of
13645 `finder-list-matches'.
13646 (package-menu-filter-interactive): Interactive filtering (by
13648 (package-menu--generate): Support keywords and change keymappings
13649 and headers when they are given.
13650 (package--has-keyword-p): Helper function.
13651 (package-menu--refresh): Use it.
13652 (package--mapc): Helper function.
13653 (package-all-keywords): Use it.
13654 (package-menu-mode-map): Set up menu items and keybindings to
13655 provide a filtering UI.
13657 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
13659 * net/gnutls.el (gnutls-verify-error): New defcustom to control
13660 the behavior when a certificate fails validation. Defaults to
13661 old behavior: never abort, just warn.
13662 (gnutls-negotiate): Use it.
13664 2013-12-14 Martin Rudalics <rudalics@gmx.at>
13666 * window.el (display-buffer-below-selected): Never split window
13667 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
13669 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
13671 * emacs-lisp/package.el (package--prepare-dependencies): New function.
13672 (package-buffer-info): Use it (bug#15108).
13674 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * icomplete.el (icomplete-completions): Make sure the prefix is already
13677 displayed elsewhere before hiding it (bug#16219).
13679 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
13681 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
13682 open-paren tokens when preceded by a open-paren, too.
13683 (ruby-smie-rules): Handle virtual indentation after open-paren
13684 tokens specially. If there is code between it and eol, return the
13685 column where is starts (Bug#16118).
13687 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13689 * progmodes/cfengine.el: Fix `add-hook' doc.
13690 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
13691 (cfengine3--current-word): Fix parameters.
13692 (cfengine3-make-syntax-cache): Simplify further.
13693 (cfengine3-completion-function, cfengine3--current-function):
13694 Use `assq' for symbols.
13695 (cfengine3--current-function): Fix `cfengine3--current-word' call.
13697 2013-12-13 Glenn Morris <rgm@gnu.org>
13699 * loadup.el (load-path): Warn if site-load or site-init changes it.
13700 No more need to reset it when bootstrapping.
13702 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
13704 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
13705 locations for cf-promises.
13706 (cfengine-mode-syntax-functions-regex): New caching variable.
13707 (cfengine3-fallback-syntax): Fallback syntax for cases where
13708 cf-promises doesn't run.
13709 (cfengine3--current-word): Reimplement using
13710 `cfengine-mode-syntax-functions-regex'.
13711 (cfengine3-completion-function, cfengine3--current-function):
13712 Use `cfengine3-make-syntax-cache' directly.
13713 (cfengine3-clear-syntax-cache): New function.
13714 (cfengine3-make-syntax-cache): Simplify and create
13715 `cfengine-mode-syntax-functions-regex' on demand.
13716 (cfengine3-format-function-docstring): Don't call
13717 `cfengine3-make-syntax-cache' explicitly.
13719 2013-12-13 Martin Rudalics <rudalics@gmx.at>
13721 Fix windmove-find-other-window broken after pixelwise resizing
13723 * windmove.el (windmove-other-window-loc): Revert change from
13725 (windmove-find-other-window): Call window-in-direction.
13726 * window.el (window-in-direction): New arguments SIGN, WRAP and
13727 MINI to emulate original windmove-find-other-window behavior.
13729 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
13731 * simple.el (blink-matching--overlay): New variable.
13732 (blink-matching-open): Instead of moving point, highlight the
13733 matching paren with an overlay
13734 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
13736 * faces.el (paren-showing-faces, show-paren-match)
13737 (show-paren-mismatch): Move from paren.el.
13739 2013-12-13 Leo Liu <sdl.web@gmail.com>
13741 * indent.el (indent-region): Disable progress reporter in
13742 minibuffer. (Bug#16108)
13744 * bindings.el (visual-order-cursor-movement): Fix version.
13746 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
13748 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
13749 Also match after beginning of line.
13750 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13751 files. Thanks to Russell Sim. (Bug#15378)
13753 2013-12-13 Juri Linkov <juri@jurta.org>
13755 * simple.el <Keypad support>: Remove key bindings duplicated
13756 with bindings.el. (Bug#14397)
13758 2013-12-13 Juri Linkov <juri@jurta.org>
13760 * comint.el (comint-mode-map): Replace `delete-char' with
13761 `delete-forward-char'. (Bug#16109)
13763 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13765 * progmodes/python.el (python-indent-calculate-indentation):
13766 Fix de-denters cornercase. (Bug#15731)
13768 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13770 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
13771 (advice--make): Pay attention to `depth'.
13772 (advice--make-1): Don't autoload commands eagerly.
13773 * emacs-lisp/elp.el (elp-instrument-function):
13774 * emacs-lisp/trace.el (trace-function-internal):
13775 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
13777 * iswitchb.el (iswitchb-mode): Don't belittle ido.
13779 2013-12-12 Eli Zaretskii <eliz@gnu.org>
13781 * term/w32-win.el (w32-handle-dropped-file):
13782 * startup.el (normal-top-level):
13783 * net/browse-url.el (browse-url-file-url):
13784 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
13785 decode file names using 'utf-8' rather than
13786 file-name-coding-system.
13788 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
13790 * progmodes/python.el (python-indent-context)
13791 (python-indent-calculate-indentation): Fix auto-identation
13792 behavior for comment blocks. (Bug#15916)
13794 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
13796 * progmodes/python.el (python-indent-calculate-indentation):
13797 When determining indentation, don't treat "return", "pass", etc., as
13798 operators when they are just string constituents. (Bug#15812)
13800 2013-12-12 Juri Linkov <juri@jurta.org>
13802 * uniquify.el (uniquify-buffer-name-style): Change default to
13803 `post-forward-angle-brackets'.
13805 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13806 `uniquify'. Change default to `post-forward-angle-brackets'.
13808 2013-12-11 Glenn Morris <rgm@gnu.org>
13810 * emacs-lisp/package.el (finder-list-matches):
13811 Autoload rather than falsely declaring.
13813 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
13815 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
13816 (eww-mode-map): Use them.
13818 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13820 * window.el (display-buffer-in-side-window): Fix doc-string
13823 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13825 * vc/vc-git.el: Silence byte-compiler warnings.
13826 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
13827 (log-edit-set-header): Declare.
13829 2013-12-11 Eli Zaretskii <eliz@gnu.org>
13831 * Makefile.in (custom-deps, finder-data): Run output file names
13832 through unmsys--file-name. (Bug#16099)
13834 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
13836 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
13837 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
13839 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
13840 instead of deleting the selection "by hand" (bug#16098).
13841 Rely on insert-for-yank to yank rectangles.
13842 (cua-highlight-region-shift-only): Mark obsolete.
13843 (cua-mode): Don't enable/disable transient-mark-mode,
13844 shift-select-mode (cua-mode works both with and without them), and
13845 pc-selection-mode (obsolete).
13846 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
13847 (cua--deactivate-rectangle): Deactivate it.
13849 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
13850 (delete-selection-helper): Make sure yank starts at the top of the
13852 (minibuffer-keyboard-quit): Use region-active-p.
13854 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
13856 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
13857 to `delete' (bug#16109).
13859 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13861 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
13862 info manual and show keybindings and set `:group' keyword.
13864 2013-12-11 Juri Linkov <juri@jurta.org>
13866 * delsel.el (delete-active-region): Let-bind `this-command'
13867 to prevent `kill-region' from changing its original value.
13868 (delete-selection-helper): Handle `overwrite-mode' for the type
13869 `kill' exactly the same way as for the type `t'.
13870 (insert-char, quoted-insert, reindent-then-newline-and-indent):
13871 Support more commands. (Bug#13312)
13873 2013-12-11 Juri Linkov <juri@jurta.org>
13875 * bindings.el: Map kp keys to non-kp keys systematically
13876 with basic modifiers control, meta and shift. (Bug#14397)
13878 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13880 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
13881 "Close browser" menu items. Fix wrong function of "List
13884 2013-12-11 Juri Linkov <juri@jurta.org>
13886 * misearch.el (multi-isearch-buffers): Set the value of
13887 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13888 arg of isearch-forward to t.
13889 (multi-isearch-buffers-regexp): Set the value of
13890 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
13891 arg of isearch-forward-regexp to t.
13892 (multi-isearch-files): Set the value of
13893 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13894 arg of isearch-forward to t.
13895 (multi-isearch-files-regexp): Set the value of
13896 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
13897 arg of isearch-forward-regexp to t. (Bug#16035)
13899 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
13900 arg of isearch-forward to t.
13901 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
13902 arg of isearch-forward-regexp to t.
13903 (dired-isearch-filter-filenames): Remove unnecessary check for
13904 `dired-isearch-filenames'.
13906 * comint.el (comint-history-isearch-backward):
13907 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
13908 (comint-history-isearch-backward-regexp):
13909 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
13911 2013-12-10 Eli Zaretskii <eliz@gnu.org>
13913 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
13914 unmsys--file-name. (Bug#16099)
13916 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
13918 * emacs-lisp/package.el (package-keyword-button-action):
13919 Remove finder.el require dependency.
13921 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
13923 * emacs-lisp/package.el: Require finder.el.
13924 (describe-package-1): Add keyword buttons.
13925 (package-make-button): New convenience function.
13926 (package-keyword-button-action): Keyword button action using
13927 `finder-list-matches'.
13929 2013-12-09 Eli Zaretskii <eliz@gnu.org>
13931 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
13934 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
13936 * autorevert.el (auto-revert-notify-add-watch): Do not handle
13939 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13941 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
13942 after the end of a percent literal.
13944 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
13946 * progmodes/ruby-mode.el (ruby-forward-string): Document.
13947 Handle caret-delimited strings (Bug#16079).
13949 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
13951 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
13952 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
13953 `ruby-parse-partial' (Bug#16078).
13955 2013-12-09 Leo Liu <sdl.web@gmail.com>
13957 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
13959 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
13961 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
13962 (js-switch-indent-offset): New option.
13963 (js--proper-indentation): Use it. And handle the case when
13964 "default" is actually a key in an object literal.
13965 (js--same-line): New function.
13966 (js--multi-line-declaration-indentation): Use it.
13967 (js--indent-in-array-comp, js--array-comp-indentation):
13969 (js--proper-indentation): Use them, to handle array comprehension
13972 2013-12-08 Leo Liu <sdl.web@gmail.com>
13974 * progmodes/flymake.el (flymake-highlight-line): Re-write.
13975 (flymake-make-overlay): Remove arg MOUSE-FACE.
13976 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
13978 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13980 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
13982 (redisplay-highlight-region-function): Use it.
13984 * emulation/cua-base.el (cua--explicit-region-start)
13985 (cua--last-region-shifted): Remove.
13986 (cua--deactivate): Use deactivate-mark.
13987 (cua--pre-command-handler-1): Don't handle shift-selection.
13988 (cua--post-command-handler-1): Don't change transient-mark-mode.
13989 (cua--select-keymaps): Use region-active-p rather than
13990 cua--explicit-region-start or cua--last-region-shifted.
13991 (cua-mode): Enable shift-select-mode.
13993 2013-12-08 Leo Liu <sdl.web@gmail.com>
13995 * progmodes/flymake.el (flymake-popup-current-error-menu):
13996 Rename from flymake-display-err-menu-for-current-line. Reimplement.
13997 (flymake-posn-at-point-as-event, flymake-popup-menu)
13998 (flymake-make-emacs-menu): Remove. (Bug#16077)
14000 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
14002 * rect.el (rectangle-mark-mode): Activate mark even if
14003 transient-mark-mode is off (bug#16066).
14004 (rectangle--highlight-for-redisplay): Fix boundary condition when point
14005 is > mark and at bolp.
14007 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
14008 (region-extract-function): Use it.
14009 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
14010 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
14012 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
14013 kill-ring-save, kill-region, delete-char, delete-forward-char.
14014 Ignore self-insert-iso.
14016 * emulation/cua-gmrk.el (cua--init-global-mark):
14017 Ignore `self-insert-iso'.
14019 * emulation/cua-base.el (cua--prefix-copy-handler)
14020 (cua--prefix-cut-handler): Rely on region-extract-function rather than
14021 checking cua--rectangle.
14022 (cua-delete-region): Use region-extract-function.
14023 (cua-replace-region): Delete function.
14024 (cua-copy-region, cua-cut-region): Obey region-extract-function.
14025 (cua--pre-command-handler-1): Don't do the delete-selection thing.
14026 (cua--self-insert-char-p): Ignore `self-insert-iso'.
14027 (cua--init-keymaps): Don't remap delete-selection commands.
14028 (cua-mode): Use delete-selection-mode instead of rolling our own
14031 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
14032 Obey region-extract-function.
14034 Make registers and delete-selection-mode work on rectangles.
14035 * register.el (describe-register-1): Don't modify the register's value.
14036 (copy-to-register): Obey region-extract-function.
14037 * delsel.el (delete-active-region): Obey region-extract-function.
14039 2013-12-08 Leo Liu <sdl.web@gmail.com>
14041 * progmodes/flymake.el (flymake, flymake-error-bitmap)
14042 (flymake-warning-bitmap, flymake-fringe-indicator-position)
14043 (flymake-compilation-prevents-syntax-check)
14044 (flymake-start-syntax-check-on-newline)
14045 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
14046 (flymake-start-syntax-check-on-find-file, flymake-log-level)
14047 (flymake-xml-program, flymake-master-file-dirs)
14048 (flymake-master-file-count-limit)
14049 (flymake-allowed-file-name-masks): Relocate.
14050 (flymake-makehash, flymake-float-time)
14051 (flymake-replace-regexp-in-string, flymake-split-string)
14052 (flymake-get-temp-dir): Remove.
14053 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
14054 (flymake-current-row, flymake-selected-frame)
14055 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
14056 related functions. (Bug#16077)
14058 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
14060 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
14062 2013-12-07 Tassilo Horn <tsdh@gnu.org>
14064 * help-fns.el (describe-function-1): Use new advice-* functions
14065 rather than old ad-* functions. Fix function type description and
14066 source links for advised functions and subrs.
14068 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14070 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
14072 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
14074 * progmodes/compile.el (compilation-start):
14075 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
14077 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
14078 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
14080 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14082 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14083 Touch up the last change.
14085 2013-12-06 Leo Liu <sdl.web@gmail.com>
14087 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
14088 (inferior-octave-startup): Always use "octave> " for prompt.
14089 (octave-goto-function-definition)
14090 (octave-sync-function-file-names)
14091 (octave-find-definition-default-filename): Remove redundant backquotes.
14093 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14095 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
14097 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
14098 where appropriate already.
14099 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
14100 end of method names (Bug#15874).
14102 2013-12-06 Juri Linkov <juri@jurta.org>
14104 * isearch.el (isearch--saved-overriding-local-map):
14105 New internal variable.
14106 (isearch-mode): Set it to the initial value of
14107 `overriding-terminal-local-map'.
14108 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
14109 with `isearch--saved-overriding-local-map'. (Bug#16035)
14111 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
14113 * progmodes/octave.el (inferior-octave-completion-table):
14114 Turn back into function, use `completion-table-with-cache'
14115 (Bug#11906). Update all references.
14117 * minibuffer.el (completion-table-with-cache): New function.
14119 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
14121 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
14123 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
14125 * net/eww.el (eww-current-source): New variable to store page
14127 (eww-display-html, eww-mode, eww-save-history)
14128 (eww-restore-history): Use it.
14129 (eww-view-source): New command to view page source.
14130 Opportunistically uses `html-mode' to highlight the buffer.
14131 (eww-mode-map): Install it.
14133 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
14135 * net/dbus.el (dbus-unregister-service)
14136 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
14138 (dbus-unregister-service): Skip :serial entries in
14139 `dbus-registered-objects-table'.
14140 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
14142 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
14144 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
14145 around keywords with extra `split-string' argument.
14147 2013-12-04 Martin Rudalics <rudalics@gmx.at>
14149 * windmove.el (windmove-other-window-loc): Handle navigation
14150 between windows (excluding the minibuffer window - Bug#16017).
14152 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
14154 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
14155 in D-Bus type syntax.
14156 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
14157 preserve unibyte strings. (Bug#16048)
14159 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14161 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
14162 Call force-mode-line-update is the proper buffer (bug#16042).
14164 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
14166 * vc/log-edit.el (log-edit-add-new-comment): Rename to
14167 `log-edit-remember-comment', make argument optional. Adjust all
14169 (log-edit-mode): Add `log-edit-remember-comment' to
14170 `kill-buffer-hook' locally.
14171 (log-edit-kill-buffer): Don't remember comment explicitly since
14172 the buffer is killed anyway.
14174 2013-12-04 Juri Linkov <juri@jurta.org>
14176 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
14177 add-hook and remove-hook for multi-buffer search. (Bug#16035)
14179 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
14181 * notifications.el (notifications-close-notification): Call the
14182 D-Bus method with ID being a `:uint32'. (Bug#16030)
14184 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
14186 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
14188 2013-12-03 Juri Linkov <juri@jurta.org>
14190 * progmodes/compile.el (compilation-start): Rename window alist
14191 entry `no-display-ok' to `allow-no-window'.
14193 * simple.el (shell-command): Add window alist entry
14194 `allow-no-window' to `display-buffer'.
14195 (async-shell-command): Doc fix.
14197 * window.el (display-buffer-no-window): New action function.
14198 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
14200 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14202 * vc/log-edit.el (log-edit-set-header): Extract from
14203 `log-edit-toggle-header'.
14204 (log-edit-extract-headers): Separate the summary, when extracted
14205 from header, from the rest of the message with an empty line.
14207 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
14208 line, if present, to the Summary header.
14210 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14212 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
14213 in current-buffer (bug#16029).
14215 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
14217 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
14218 (debugger-mode-map): Bind it.
14219 (debugger--backtrace-base): New function.
14220 (debugger-eval-expression): Use it.
14221 (debugger-frame-number): Skip local vars when present.
14222 (debugger--locals-visible-p, debugger--insert-locals)
14223 (debugger--show-locals, debugger--hide-locals): New functions.
14225 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
14227 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
14229 (tramp-get-remote-locale): New defun.
14230 (tramp-open-connection-setup-interactive-shell): Use it.
14232 2013-12-02 Leo Liu <sdl.web@gmail.com>
14234 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
14236 * progmodes/sh-script.el (sh-shell-process):
14237 * progmodes/octave.el (inferior-octave-process-live-p):
14238 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
14239 (gdb-inferior-io-sentinel):
14240 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
14242 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14244 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
14245 `save-selected-window' to `log-edit-hide-buf'. This makes
14246 `log-edit-show-files' idempotent.
14247 (log-edit-show-files): Mark the new window as dedicated.
14249 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
14251 * vc/log-edit.el (log-edit-mode-map): Add binding for
14252 `log-edit-kill-biffer'.
14253 (log-edit-hide-buf): Add a FIXME comment.
14254 (log-edit-add-new-comment): New function, extracted from
14256 (log-edit-done, log-edit-add-to-changelog): Use it.
14257 (log-edit-kill-buffer): New command.
14259 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14261 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
14262 instead of killing the buffer.
14264 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14266 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
14268 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14270 * net/eww.el (eww-form-checkbox-selected-symbol)
14271 (eww-form-checkbox-symbol): New customizable variable.
14272 (eww-form-checkbox, eww-toggle-checkbox):
14273 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
14275 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
14276 (shr--get-media-pref, shr--extract-best-source): New function.
14277 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
14278 no :src tag was specified.
14280 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
14281 (eww-render): Handle `eww-use-external-browser-for-content-type'.
14282 Use \\` to match beginning of string instead of ^.
14283 (eww-browse-with-external-browser): Provide optional URL parameter.
14284 (eww-render): Set `eww-current-title' back to "".
14286 * net/shr.el (shr-tag-video): Display content for video if no
14287 poster is available.
14288 (shr-tag-audio): Add support for <audio> tag.
14290 * net/eww.el (eww-text-input-types): New const.
14291 (eww-process-text-input): Treat input types in
14292 `eww-text-input-types' as text.
14294 * net/shr.el (shr-tag-table): Fix comment typo.
14296 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14298 * net/eww.el (eww-follow-link): New command to avoid reloading
14299 pages when we follow #target links (bug#15243).
14300 (eww-quit): Special mode buffers shouldn't query before exiting.
14302 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14304 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
14307 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14309 * net/eww.el (eww-restore-history): Update the window title after
14310 moving in the history.
14311 (eww-current-dom): New variable used to save the current DOM.
14313 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
14315 * vc/log-edit.el (log-edit-mode-map): Add binding for
14316 `log-edit-beginning-of-line'.
14317 (log-edit-setup-add-author): New user option.
14318 (log-edit-beginning-of-line): New command.
14319 (log-edit): Move major mode call above the contents setup so that
14320 the local variable values are already applied.
14321 (log-edit): Only insert "Author: " when
14322 `log-edit-setup-add-author' is non-nil.
14323 (log-edit): When SETUP is non-nil, position point after ": "
14324 instead of point-min.
14326 2013-12-01 Glenn Morris <rgm@gnu.org>
14328 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
14330 2013-11-30 Eli Zaretskii <eliz@gnu.org>
14332 * startup.el (fancy-splash-frame): On MS-Windows, trigger
14333 redisplay to make sure the initial frame gets a chance to become
14334 visible. (Bug#16014)
14336 2013-11-30 Martin Rudalics <rudalics@gmx.at>
14338 Support resizing frames and windows pixelwise.
14339 * cus-start.el (frame-resize-pixelwise)
14340 (window-resize-pixelwise): New entries.
14341 * emacs-lisp/debug.el (debug): Use window-total-height instead
14342 of window-total-size.
14343 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
14344 * help.el (describe-bindings-internal): Use help-buffer as
14345 argument for with-help-window.
14346 (temp-buffer-max-width): New option.
14347 (resize-temp-buffer-window, help-window-setup)
14348 (with-help-window): Rewrite.
14349 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
14351 * window.el (frame-char-size, window-min-pixel-height)
14352 (window-safe-min-pixel-height, window-safe-min-pixel-width)
14353 (window-min-pixel-width, window-safe-min-pixel-size)
14354 (window-combination-p, window-safe-min-size)
14355 (window-resizable-p, window--size-to-pixel)
14356 (window--pixel-to-size, window--resize-apply-p): New functions.
14357 (window-safe-min-height): Fix doc-string.
14358 (window-size, window-min-size, window--min-size-1)
14359 (window-sizable, window-sizable-p, window--min-delta-1)
14360 (window-min-delta, window--max-delta-1, window-max-delta)
14361 (window--resizable, window--resizable-p, window-resizable)
14362 (window-full-height-p, window-full-width-p, window-at-side-p)
14363 (window--in-direction-2, window-in-direction)
14364 (window--resize-reset-1, window--resize-mini-window)
14365 (window-resize, window-resize-no-error)
14366 (window--resize-child-windows-normal)
14367 (window--resize-child-windows, window--resize-siblings)
14368 (window--resize-this-window, window--resize-root-window)
14369 (window--resize-root-window-vertically)
14370 (adjust-window-trailing-edge, enlarge-window, shrink-window)
14371 (maximize-window, minimize-window, delete-window)
14372 (quit-restore-window, window-split-min-size, split-window)
14373 (balance-windows-2, balance-windows)
14374 (balance-windows-area-adjust, balance-windows-area)
14375 (window--state-get-1, window-state-get, window--state-put-1)
14376 (window--state-put-2, window-state-put)
14377 (display-buffer-record-window, window--display-buffer):
14378 Make functions handle pixelwise sizing of windows.
14379 (display-buffer--action-function-custom-type)
14380 (display-buffer-fallback-action):
14381 Add display-buffer-in-previous-window.
14382 (display-buffer-use-some-window): Resize window to height it had
14384 (fit-window-to-buffer-horizontally): New option.
14385 (fit-frame-to-buffer): Describe new values.
14386 (fit-frame-to-buffer-bottom-margin): Replace with
14387 fit-frame-to-buffer-margins.
14388 (window--sanitize-margin): New function.
14389 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
14390 using window-text-pixel-size.
14392 2013-11-30 Glenn Morris <rgm@gnu.org>
14394 * emacs-lisp/bytecomp.el (byte-compile-form):
14395 Make the `interactive-only' warning like the `obsolete' one.
14396 * comint.el (comint-run):
14397 * files.el (insert-file-literally, insert-file):
14398 * replace.el (replace-string, replace-regexp):
14399 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
14400 (goto-line, insert-buffer, next-line, previous-line):
14401 Tweak `interactive-only' spec.
14403 Stop keeping (most) generated cedet grammar files in the repository.
14404 * Makefile.in (semantic): New.
14405 (compile-main): Depend on semantic.
14407 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14409 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
14410 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
14412 * uniquify.el (uniquify-buffer-name-style): Change default.
14414 * loadup.el: Preload "uniquify".
14416 * time.el (display-time-update): Update all mode lines (bug#15999).
14418 * electric.el (electric-indent-mode): Enable by default.
14419 * loadup.el: Preload "electric".
14421 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
14423 * emacs-lisp/helpers.el (string-empty-p): New function.
14424 (string-blank-p): New function.
14426 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
14428 * imenu.el (imenu--index-alist): Add missing dot to the docstring
14431 2013-11-29 Andreas Politz <politza@fh-trier.de>
14432 * imenu.el (imenu--subalist-p): Don't error on non-conses and
14433 allow non-lambda lists as functions.
14434 (imenu--in-alist): Don't recurse into non-subalists.
14435 (imenu): Don't pass function itself as an argument (Bug#14029).
14437 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14439 * progmodes/python.el (python-mode-map): Remove binding for ":".
14440 (python-indent-electric-colon): Remove command.
14441 (python-indent-post-self-insert-function): Integrate the previous code
14442 of python-indent-electric-colon. Make it conditional on
14443 electric-indent-mode.
14444 (python-mode): Add ?: to electric-indent-chars.
14445 Move python-indent-post-self-insert-function to the end of
14446 post-self-insert-hook.
14448 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14450 * doc-view.el (doc-view-goto-page): Update mode-line.
14452 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
14454 2013-11-27 Glenn Morris <rgm@gnu.org>
14456 * international/charprop.el, international/uni-bidi.el:
14457 * international/uni-category.el, international/uni-combining.el:
14458 * international/uni-comment.el, international/uni-decimal.el:
14459 * international/uni-decomposition.el, international/uni-digit.el:
14460 * international/uni-lowercase.el, international/uni-mirrored.el:
14461 * international/uni-name.el, international/uni-numeric.el:
14462 * international/uni-old-name.el, international/uni-titlecase.el:
14463 * international/uni-uppercase.el:
14464 Remove generated files from VCS repository.
14466 2013-11-27 Eli Zaretskii <eliz@gnu.org>
14468 * filenotify.el (file-notify-add-watch): Don't special-case
14469 w32notify when computing the directory to watch.
14471 2013-11-27 Glenn Morris <rgm@gnu.org>
14473 Make bootstrap without generated uni-*.el files possible again.
14474 * loadup.el: Update command-line-args checking for unidata-gen.
14475 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
14476 * composite.el, international/characters.el:
14477 Handle unicode tables being undefined.
14479 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
14480 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
14481 (compile-main): Depend on leim rule.
14483 * loadup.el: Move leim-list.el to leim/ subdirectory.
14484 * startup.el (normal-top-level): No more leim directory.
14485 * international/ja-dic-cnv.el (skkdic-convert):
14486 Disable version-control and autoloads in output files.
14487 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
14488 Disable version-control and autoloads in output files.
14489 * leim/quail: Move here from ../leim.
14490 * leim/quail/hangul.el (hangul-input-method-activate):
14491 Add autoload cookie.
14492 (generated-autoload-load-name): Set file-local value.
14493 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
14494 (generated-autoload-load-name): Set file-local value.
14496 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
14498 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
14499 (eww-add-bookmark): Ask confirmation when add to bookmarks.
14500 (eww-quit): Ask confirmation before quitting eww.
14502 2013-11-26 Eli Zaretskii <eliz@gnu.org>
14504 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
14505 reading output from Diff on MS-Windows and MS-DOS.
14507 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
14509 * emacs-lisp/helpers.el (string-reverse): New function.
14511 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
14513 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
14514 names on MS Windows, like "/[::1]:".
14516 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
14519 2013-11-26 Glenn Morris <rgm@gnu.org>
14521 * progmodes/python.el (python-indent-guess-indent-offset):
14522 Avoid corner-case error. (Bug#15975)
14524 Preload leim-list.el. (Bug#4789)
14525 * loadup.el: Load leim-list.el when found.
14526 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
14528 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
14530 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
14532 * emacs-lisp/helpers.el (string-join): New function.
14534 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
14536 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14537 Mark as obsolete and replace it with a symbol property.
14538 (byte-compile-form): Use new 'interactive-only property.
14539 * comint.el, files.el, replace.el, simple.el:
14540 Apply new 'interactive-only properly.
14542 2013-11-25 Martin Rudalics <rudalics@gmx.at>
14544 * window.el (display-buffer-at-bottom): Make sure that
14545 split-window-sensibly creates the new window on bottom
14548 2013-11-23 David Kastrup <dak@gnu.org>
14550 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
14551 on the conflict markers when available.
14552 (smerge--get-marker): New function.
14553 (smerge-end-re, smerge-base-re): Add subgroup.
14555 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14557 * frame.el (handle-focus-in, handle-focus-out): Add missing
14560 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
14562 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14563 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
14565 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14567 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
14568 (gomoku--last-pos): New var.
14569 (gomoku--intangible-chars): New const.
14570 (gomoku--intangible): New function.
14571 (gomoku-mode): Use it. Derive from special-mode.
14572 (gomoku-move-up): Adjust line count.
14573 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
14574 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
14575 Simplify accordingly.
14577 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
14578 Remove blink-cursor code.
14579 (blink-cursor-timer-function, blink-cursor-suspend):
14580 Don't special-case GUIs.
14581 (blink-cursor-mode): Use focus-in/out-hook.
14583 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
14585 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
14586 work when annotation is invisible (Bug#13886).
14588 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
14590 * json.el (json-alist-p): Only return non-nil if the alist has
14591 simple keys (Bug#13518).
14593 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
14595 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
14596 when control-statement is the first statement in a buffer (Bug#15956).
14598 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
14600 * imenu.el (imenu-generic-skip-comments-and-strings):
14601 New option (Bug#15560).
14602 (imenu--generic-function): Use it.
14604 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
14606 * minibuffer.el (completion--in-region-1): Scroll the correct window.
14609 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
14611 * emacs-lisp/helpers.el: Add some string helpers.
14612 (string-trim-left): Removes leading whitespace.
14613 (string-trim-right): Removes trailing whitespace.
14614 (string-trim): Removes leading and trailing whitespace.
14616 * subr.el (string-suffix-p): New function.
14618 2013-11-23 Glenn Morris <rgm@gnu.org>
14620 * progmodes/python.el (python-shell-send-file):
14621 Add option to delete file when done. (Bug#15647)
14622 (python-shell-send-string, python-shell-send-region): Use it.
14624 2013-11-23 Ivan Shmakov <ivan@siamics.net>
14626 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
14627 to set buffer-read-only to t, never to nil. (Bug#15938)
14629 * textmodes/tex-mode.el (latex-noindent-environments):
14630 Add safe-local-variable property. (Bug#15936)
14632 2013-11-23 Glenn Morris <rgm@gnu.org>
14634 * textmodes/enriched.el (enriched-mode): Doc fix.
14635 * emacs-lisp/authors.el (authors-renamed-files-alist):
14636 Add enriched.doc -> enriched.txt.
14638 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
14640 2013-11-22 Leo Liu <sdl.web@gmail.com>
14642 * progmodes/octave.el (inferior-octave-startup): Spit out error
14645 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
14647 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14650 (ruby-encoding-magic-comment-style): Add :version.
14652 2013-11-22 Leo Liu <sdl.web@gmail.com>
14654 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
14656 (octave-help-mode): Adapt to change to help-mode-finish to use
14657 derived-mode-p on 2013-09-17.
14658 (inferior-octave-prompt): Also match octave-gui.
14659 (octave-kill-process): Don't ask twice. (Bug#10564)
14661 2013-11-22 Leo Liu <sdl.web@gmail.com>
14663 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
14664 (inferior-octave-startup, inferior-octave-check-process)
14665 (inferior-octave-track-window-width-change)
14666 (octave-completion-at-point, octave-eldoc-function): Use it.
14667 (octave-kill-process): Provide confirmation. (Bug#10564)
14669 2013-11-21 Leo Liu <sdl.web@gmail.com>
14671 * progmodes/octave.el (octave-mode, inferior-octave-mode):
14672 Fix obsolete variable comment-use-global-state.
14674 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14676 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
14677 Add `octave-source-file'.
14678 (octave-source-file): New function. (Bug#15935)
14680 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
14682 * net/eww.el (eww-local-regex): New variable.
14683 (eww): Use it to detect localhost and similar.
14685 2013-11-21 Leo Liu <sdl.web@gmail.com>
14687 Add completion for command `ag'.
14688 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
14689 (pcomplete/ag): New function.
14690 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
14692 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14694 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
14696 (make-obsolete): Remove interactive spec.
14698 2013-11-21 Glenn Morris <rgm@gnu.org>
14700 * startup.el (command-line-1): Use path-separator with -L.
14702 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
14704 * emacs-lisp/package.el (describe-package-1): Add package archive
14707 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
14709 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
14710 Change default to "# encoding: %s" to differentiate it from the
14711 default Ruby encoding comment template.
14713 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
14715 * ses.el (ses-mode): Doc fix. (Bug#14748)
14717 2013-11-20 Leo Liu <sdl.web@gmail.com>
14719 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
14721 2013-11-19 Dan Nicolaescu <dann@gnu.org>
14723 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
14724 when rebase or bisect are in progress.
14726 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
14728 * filenotify.el (file-notify-add-watch): Doc fix.
14730 2013-11-19 Leo Liu <sdl.web@gmail.com>
14732 * obsolete/rcompile.el: Mark obsolete.
14734 * progmodes/compile.el (compilation-start)
14735 (compilation-goto-locus, compilation-find-file):
14736 Pass no-display-ok and handle nil value from display-buffer.
14739 * window.el (display-buffer-alist, display-buffer): Document the
14740 new parameter no-display-ok. Return either a window or nil
14741 but never a non-window value.
14743 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14745 * electric.el (electric-indent-mode-map): Remove.
14746 (electric-indent-mode): Change the global-map instead (bug#15915).
14748 * textmodes/text-mode.el (paragraph-indent-minor-mode):
14751 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
14753 * emacs-lisp/nadvice.el (remove-function): Align with
14754 add-function's behavior.
14756 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
14757 (gdb--string-regexp): New constant.
14758 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
14759 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
14760 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
14762 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
14763 Adjust use accordingly.
14764 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
14766 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
14768 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
14769 interpolation curlies (Bug#15914).
14771 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
14773 * calc/calc.el (calc-context-sensitive-enter): New variable.
14774 (calc-enter): Use `calc-context-sensitive-enter'.
14776 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
14778 * progmodes/cfengine.el: Version bump.
14779 (cfengine-cf-promises): New defcustom to locate cf-promises.
14780 (cfengine3-vartypes): Add new "data" type.
14781 (cfengine3--current-word): New function to get current name-like
14782 word or its bounds.
14783 (cfengine3--current-function): New function to look up a CFEngine
14784 function's definition.
14785 (cfengine3-format-function-docstring): New function.
14786 (cfengine3-make-syntax-cache): New function.
14787 (cfengine3-documentation-function): New function: ElDoc glue.
14788 (cfengine3-completion-function): New function: completion glue.
14789 (cfengine3-mode): Set `compile-command',
14790 `eldoc-documentation-function', and add to
14791 `completion-at-point-functions'.
14793 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
14795 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
14796 `tramp-current-connection'.
14798 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
14800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
14801 nil/self/true/false with "end of symbol".
14803 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
14805 * subr.el (version-regexp-alist): Fix a typo.
14807 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
14809 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
14810 "en_US.utf8" and "LC_CTYPE" to "".
14811 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
14812 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
14814 2013-11-15 Leo Liu <sdl.web@gmail.com>
14816 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
14818 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14820 * progmodes/gud.el (ctl-x-map):
14821 Remove C-x SPC binding. (Bug#12342)
14822 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
14824 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
14826 * subr.el (version-regexp-alist):
14827 Recognize hg, svn and darcs versions as snapshot versions.
14829 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
14830 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
14831 (ruby--encoding-comment-required-p): Extract from
14832 `ruby-mode-set-encoding'.
14833 (ruby-mode-set-encoding): Add the ability to always insert an
14834 utf-8 encoding comment. Fix and simplify coding comment update
14837 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
14839 * net/tramp-gvfs.el (top): Run init code only when
14840 `tramp-gvfs-enabled' is not nil.
14841 (tramp-gvfs-enabled): Check also :system bus.
14843 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14845 Sync with upstream verilog-mode revision 78e66ba.
14846 * progmodes/verilog-mode.el (verilog-end-of-defun)
14847 (verilog-type-completion, verilog-get-list): Remove unused funcs.
14848 (verilog-get-end-of-defun): Remove unused argument.
14849 (verilog-comment-depth): Remove unused local `e'.
14850 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
14851 Don't pass arg to verilog-get-end-of-defun.
14853 2013-11-14 Glenn Morris <rgm@gnu.org>
14855 * obsolete/assoc.el (aget): Prefix dynamic variable.
14857 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
14859 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
14861 * widget.el, hfy-cmap.el: Remove bogus package version number.
14863 2013-11-13 Glenn Morris <rgm@gnu.org>
14865 * replace.el (replace-eval-replacement):
14866 Try to give more helpful error message. (Bug#15836)
14868 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14869 (archive-7z-update): Avoid custom type mismatches.
14871 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
14873 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
14875 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
14876 address can be empty.
14878 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
14879 Accept nil SWITCHES.
14880 (tramp-gvfs-handle-write-region): Implement APPEND.
14882 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
14884 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
14885 binary "|" operator and closing block args delimiter.
14886 Remove FIXME comment referring to Ruby 1.8-only syntax.
14887 (ruby-smie--implicit-semi-p): Not after "|" operator.
14888 (ruby-smie--closing-pipe-p): New function.
14889 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
14890 (ruby-smie-rules): Indent after "|".
14892 2013-11-12 Glenn Morris <rgm@gnu.org>
14894 * ps-print.el (ps-face-attribute-list):
14895 Handle anonymous faces. (Bug#15827)
14897 2013-11-12 Martin Rudalics <rudalics@gmx.at>
14899 * window.el (display-buffer-other-frame): Fix doc-string.
14902 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14904 * subr.el (force-mode-line-update): Delete, move to buffer.c.
14906 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
14908 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
14909 (tramp-sh-handle-file-local-copy): Don't write a message when
14910 saving temporary files.
14912 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
14913 both directories are remote.
14914 (tramp-smb-handle-directory-files): Do not return double entries.
14915 Do not expand full file names.
14916 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
14917 (tramp-smb-handle-write-region): Implement APPEND.
14918 (tramp-smb-get-stat-capability): Fix a stupid bug.
14920 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14922 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
14924 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14926 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
14927 throwing error over malformed let/let* (bug#15814).
14929 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14931 * iswitchb.el (iswitchb-mode): Mark obsolete.
14933 2013-11-11 Glenn Morris <rgm@gnu.org>
14935 * international/uni-bidi.el, international/uni-category.el:
14936 * international/uni-name.el, international/uni-numeric.el:
14937 Regenerate for Unicode 6.3.0.
14939 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
14941 * net/tramp.el (tramp-methods):
14942 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
14943 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
14945 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
14947 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14948 Force highlighting text after Summary keyword in doc face for rpm.
14950 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
14952 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
14953 available and the word has no wildcards, append one to the grep pattern.
14954 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
14955 (ispell-complete-word): Call `ispell-lookup-words' with the value
14956 independent of `ispell-look-p'.
14958 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14960 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
14962 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
14965 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14967 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
14968 (ruby-font-lock-keywords): Use backquote.
14970 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14972 * progmodes/ruby-mode.el (ruby-smie--forward-token)
14973 (ruby-smie--backward-token): Only consider full-string matches.
14975 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
14977 * faces.el (describe-face): Add distant-foreground.
14979 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
14981 * progmodes/ruby-mode.el: Improve encoding comment handling.
14982 (ruby-encoding-magic-comment-style): New option.
14983 (ruby-custom-encoding-magic-comment-template): New option.
14984 (ruby--insert-coding-comment, ruby--detect-encoding):
14985 New functions extracted from `ruby-mode-set-encoding'.
14986 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
14987 to control the style of the auto-inserted encoding comment.
14989 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
14991 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
14992 Use `smie-backward-sexp' with token argument.
14994 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
14996 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
14997 Remove instrumentation code.
14999 2013-11-08 Glenn Morris <rgm@gnu.org>
15001 * progmodes/autoconf.el (autoconf-mode):
15002 Tweak comment-start-skip. (Bug#15822)
15004 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
15006 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
15007 at bobp (bug#15826).
15008 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
15010 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
15012 * man.el (Man-start-calling): New macro, extracted from
15013 Man-getpage-in-background.
15014 (Man-getpage-in-background): Use it.
15015 (Man-update-manpage): New command.
15016 (Man-mode-map): Bind it.
15018 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
15020 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
15021 of "and", "or", "&&" and "||".
15022 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
15023 argument. Prohibit opening curly brace because it could only be a
15024 block opener in that position.
15025 (ruby-smie--forward-token, ruby-smie--backward-token):
15026 Separate "|" from "&" or "*" going after it. That can happen in block
15028 (ruby-smie--indent-to-stmt): New function, seeks the end of
15029 previous statement or beginning of buffer.
15030 (ruby-smie-rules): Use it.
15031 (ruby-smie-rules): Check if there's a ":" before a curly block
15032 opener candidate; if there is, it's a hash.
15034 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
15036 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
15037 (cl--block-wrapper): Fix last accidental change.
15039 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
15041 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
15042 Instrument, in order to hunt failure on hydra.
15044 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15046 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
15047 malformed bindings form (bug#15814).
15049 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
15051 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
15052 "." compared to " @ ". This incidentally fixes some indentation
15053 examples with "do".
15054 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
15055 (ruby-smie-grammar): New tokens: "and" and "or".
15056 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
15057 Exclude "and" and "or". Remove "do" in order to work around token
15059 (ruby-smie-rules): Add all infix tokens. Handle the case of
15060 beginning-of-buffer.
15062 2013-11-06 Glenn Morris <rgm@gnu.org>
15064 * Makefile.in (setwins_almost, setwins_for_subdirs):
15065 Avoid accidental matches.
15067 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15069 * menu-bar.el (popup-menu): Use key-binding.
15071 2013-11-06 Eli Zaretskii <eliz@gnu.org>
15073 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
15074 menus, support also the menus produced by minor modes.
15077 2013-11-06 Leo Liu <sdl.web@gmail.com>
15079 * thingatpt.el (thing-at-point-looking-at): Add optional arg
15080 DISTANCE to bound the search. All uses changed. (Bug#15808)
15082 2013-11-06 Glenn Morris <rgm@gnu.org>
15084 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
15085 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
15086 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
15088 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
15090 * electric.el (electric-indent-just-newline): New command.
15091 (electric-indent-mode-map): New keymap.
15092 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
15093 Re-add :group which weren't redundant.
15095 * electric.el (electric-indent-local-mode): New minor mode.
15096 (electric-indent-functions-without-reindent): New var.
15097 (electric-indent-post-self-insert-function): Use it.
15098 * emacs-lisp/gv.el (buffer-local-value): Add setter.
15100 2013-11-05 Eli Zaretskii <eliz@gnu.org>
15102 * international/quail.el (quail-help): Be more explicit about the
15103 meaning of the labels shown on the keys. (Bug#15800)
15105 * startup.el (normal-top-level): Load the subdirs.el files before
15106 setting the locale environment. (Bug#15805)
15108 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15110 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
15111 via arguments so as to get the right ones (bug#15418).
15113 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
15115 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
15117 Fix problems found while writing a test suite.
15119 * net/tramp-compat.el (tramp-compat-load): New defun.
15120 * net/tramp.el (tramp-handle-load): Use it.
15122 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
15123 "(numberp ok-if-already-exists)" correctly.
15125 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
15127 * international/characters.el (glyphless-char-display-control):
15130 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
15132 * progmodes/python.el (python-mode):
15133 * progmodes/scheme.el (scheme-mode):
15134 * progmodes/prolog.el (prolog-mode):
15135 * progmodes/ruby-mode.el (ruby-mode):
15136 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
15137 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
15139 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15141 * rect.el (rectangle--highlight-for-redisplay):
15142 * emacs-lisp/smie.el (smie--next-indent-change):
15143 Use buffer-chars-modified-tick.
15145 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
15147 * electric.el (electric-indent-post-self-insert-function):
15148 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
15150 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
15152 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
15154 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15156 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
15159 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15161 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
15163 * progmodes/python.el: Fix up last change.
15164 (python-shell--save-temp-file): New function.
15165 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
15166 `string' comes from the current buffer.
15167 (python-shell-send-string-no-output): Remove `msg' arg.
15168 (python--use-fake-loc): New var.
15169 (python-shell-buffer-substring): Obey it. Try to compensate for the
15170 extra coding line added by python-shell--save-temp-file.
15171 (python-shell-send-region): Use python-shell--save-temp-file and
15172 python-shell-send-file directly. Add `nomain' argument.
15173 (python-shell-send-buffer): Use python-shell-send-region.
15174 (python-electric-pair-string-delimiter): New function.
15175 (python-mode): Use it.
15177 2013-11-04 Eli Zaretskii <eliz@gnu.org>
15179 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
15180 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
15181 environment and decoding all of the default-directory's to here
15183 (command-line): Decode also argv[0].
15185 * loadup.el: Error out if default-directory is a multibyte string
15186 when we are dumping.
15188 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
15190 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
15192 * emacs-lisp/package.el (package-menu-mode)
15193 (package-menu--print-info, package-menu--archive-predicate):
15194 Add Archive column to package list.
15196 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
15198 Fix problems found while writing a test suite.
15200 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
15201 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
15202 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
15203 to nil when running original file name handler. Otherwise,
15204 there are problems with constructs like "$$FOO".
15206 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
15209 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
15211 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
15213 * subr.el (version<, version<=, version=):
15214 Update docstrings with information for snapshot versions.
15216 * helpers.el: New library for misc helper functions.
15217 (hash-table-keys): New function returning a list of hash keys.
15218 (hash-table-values): New function returning a list of hash values.
15220 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
15222 * progmodes/ruby-mode.el (ruby-smie--forward-token)
15223 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
15225 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
15227 * textmodes/fill.el (fill-single-char-nobreak-p): New function
15228 checking whether point is after a 1-letter word.
15230 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15232 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
15233 Don't infloop when expanding region over `multiline' syntax-type that
15234 begins a line (bug#15778).
15236 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15238 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
15239 Make it into a proper minor mode.
15240 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
15241 (rectangle-mark-mode-map): New keymap.
15242 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
15244 2013-11-04 Glenn Morris <rgm@gnu.org>
15246 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
15248 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15250 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
15251 (ruby-smie-rules): Use smie-rule-parent instead.
15253 * emacs-lisp/smie.el (smie-rule-parent): Always call
15254 smie-indent-virtual rather than only for hanging tokens.
15255 (smie--next-indent-change): New helper command.
15257 2013-11-03 Glenn Morris <rgm@gnu.org>
15259 * Makefile.in (abs_srcdir): Remove.
15260 (emacs): Unset EMACSLOADPATH.
15262 2013-11-02 Glenn Morris <rgm@gnu.org>
15264 * Makefile.in (EMACS): Use a relative filename.
15265 (abs_top_builddir): Remove.
15266 (custom-deps, finder-data, autoloads): Use --chdir.
15268 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
15270 Use relative filenames in TAGS files.
15271 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15272 (lisptagsfiles4, TAGS): Use relative file names.
15273 (TAGS-LISP): Remove.
15274 (maintainer-clean): No more TAGS-LISP file.
15276 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
15277 (lisptagsfiles4): Use absolute filenames again.
15278 (TAGS, TAGS-LISP): Not everything needs to run in one line.
15279 Remove all *loaddefs files, not just the first. Remove esh-groups.
15280 (maintainer-clean): Delete TAGS, TAGS-LISP.
15282 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15284 * emacs-lisp/package.el (package-version-join):
15285 Recognize snapshot versions.
15287 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15289 * subr.el (version-regexp-alist): Add support for snapshot versions.
15291 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
15293 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
15294 New function, replacement for `smie-rule-parent' for when we want to
15295 skip over our direct parent if it's an assignment token..
15296 (ruby-smie-rules): Use it.
15298 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
15300 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
15301 unconditionally. Remove now unnecessary forward declarations.
15302 Remove XEmacs-specific setup.
15303 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
15304 (ruby-font-lock-syntactic-keywords)
15305 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
15306 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
15307 (ruby-here-doc-end-syntax): Remove.
15308 (ruby-mode): Don't check whether `syntax-propertize-rules' is
15309 defined as function.
15311 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
15313 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
15315 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
15317 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
15318 table and abbrev table, `define-derived-mode' does that for us
15321 2013-11-01 Glenn Morris <rgm@gnu.org>
15323 * Makefile.in: Remove manual mh-e dependencies (writing .elc
15324 files is atomic for some time, so no parallel compilation issues).
15326 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
15328 * faces.el (face-x-resources): Add :distant-foreground.
15329 (region): Use :distant-foreground for gtk and ns.
15331 2013-11-01 Tassilo Horn <tsdh@gnu.org>
15333 Allow multiple bibliographies when BibLaTeX is used rather than
15335 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
15336 (reftex-locate-bibliography-files): Us it.
15338 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
15340 * image.el (image-type-header-regexps): Fix the 'pbm' part to
15341 allow comments in pbm files.
15343 * term/w32-win.el (dynamic-library-alist): Support newer versions
15344 of libjpeg starting with v7: look only for the DLL from the
15345 version against which Emacs was built.
15346 Support versions of libpng beyond 1.4.x.
15347 Support libtiff v4.x.
15349 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
15351 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
15352 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
15353 Add property :safe.
15354 (ruby-deep-arglist): Add property :type.
15356 2013-10-31 Glenn Morris <rgm@gnu.org>
15358 * Makefile.in (custom-deps, finder-data): No need to setq the target
15359 variables, we are in the right directory and the defaults work fine.
15361 2013-10-30 Glenn Morris <rgm@gnu.org>
15363 * Makefile.in (autoloads): Do not use abs_lisp.
15365 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15366 `newline' does not respect `standard-output', so use `princ'.
15368 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
15370 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
15371 * buff-menu.el (Buffer-menu--unmark): New function.
15372 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
15374 2013-10-30 Glenn Morris <rgm@gnu.org>
15376 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
15378 * emacs-lisp/package.el (lm-homepage): Declare.
15380 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
15383 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
15385 * Makefile.in (finder-data, autoloads, update-subdirs)
15386 (compile-main, compile-clean, compile-always, bootstrap-clean):
15387 Check return value of cd.
15388 (compile-calc): Remove.
15390 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15392 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
15394 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
15395 (byte-compile-and-folded): New function.
15396 (=, <, >, <=, >=): Use it.
15398 * dos-w32.el (minibuffer-history-case-insensitive-variables)
15399 (path-separator, null-device, buffer-file-coding-system)
15400 (lpr-headers-switches): Check system-type before modifying them.
15401 (find-buffer-file-type-coding-system): Mark obsolete.
15402 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
15403 find-file-not-found-set-buffer-file-coding-system.
15404 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
15405 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
15406 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
15407 (w32-direct-print-region-helper, w32-direct-print-region-function)
15408 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
15409 * startup.el (normal-top-level-add-subdirs-to-load-path):
15410 * ps-print.el (ps-print-region-function):
15411 * lpr.el (print-region-function): Use new name.
15413 * subr.el (custom-declare-variable-early): Remove function.
15414 (custom-declare-variable-list): Remove var.
15415 (error, user-error): Remove `while' loop.
15416 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
15417 (user-emacs-directory-warning, locate-user-emacs-file):
15419 * simple.el (read-quoted-char-radix, read-quoted-char):
15420 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
15422 * custom.el (custom-declare-variable-list): Don't process
15423 custom-declare-variable-list.
15425 * progmodes/python.el (python-shell-get-buffer): New function.
15426 (python-shell-get-process): Use it.
15427 (python-shell-send-string): Always use utf-8 and add a cookie to tell
15428 Python which encoding was used. Don't split-string since we only care
15429 about the first line. Return the temp-file, if applicable.
15430 (python-shell-send-region): Tell compile.el how to turn locations in
15431 the temp-file into locations in the source buffer.
15433 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
15435 * subr.el (undefined): Add missing behavior from the C code for
15438 * rect.el: Use lexical-binding. Add new rectangular region support.
15439 (rectangle-mark): New command.
15440 (rectangle--region): New var.
15441 (deactivate-mark-hook): Reset rectangle--region.
15442 (rectangle--extract-region, rectangle--insert-for-yank)
15443 (rectangle--highlight-for-redisplay)
15444 (rectangle--unhighlight-for-redisplay): New functions.
15445 (region-extract-function, redisplay-unhighlight-region-function)
15446 (redisplay-highlight-region-function): Use them to handle
15447 rectangular region.
15448 * simple.el (region-extract-function): New var.
15449 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
15450 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
15451 (kill-region): Replace obsolete `yank-handler' arg with `region'.
15452 (copy-region-as-kill, kill-ring-save): Add `region' argument.
15453 (redisplay-unhighlight-region-function)
15454 (redisplay-highlight-region-function): New vars.
15455 (redisplay--update-region-highlight): New function.
15456 (pre-redisplay-function): Use it.
15457 (exchange-point-and-mark): Don't deactivate the mark before
15458 reactivate-it anyway.
15459 * comint.el (comint-kill-region): Remove yank-handler argument.
15460 * delsel.el (delete-backward-char, backward-delete-char-untabify)
15461 (delete-char): Remove property, since it's now part of their
15463 (self-insert-iso): Remove property since this command doesn't exist.
15465 * emacs-lisp/package.el (package--download-one-archive)
15466 (describe-package-1): Don't query the user about final newline.
15468 2013-10-29 Daniel Colascione <dancol@dancol.org>
15470 * net/tramp.el (tramp-methods): Document new functionality.
15471 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
15472 tramp-hostname-checker if method provides one instead of scanning
15473 argument list for "%h" to decide hostname acceptability.
15475 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
15477 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15478 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15479 Handle COPY-CONTENTS. (Bug#15737)
15481 2013-10-28 Daiki Ueno <ueno@gnu.org>
15483 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15484 Document that this option has no effect with GnuPG 2.0 (bug#15552).
15486 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
15488 * image.el (defimage, image-load-path): Doc fixes.
15490 2013-10-27 Alan Mackenzie <acm@muc.de>
15492 Indent statements in macros following "##" correctly.
15493 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15494 Modify the "#" arm of a cond form to handle "#" and "##" operators.
15496 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15498 * linum.el (linum-update-window): Fix boundary test (bug#13446).
15500 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
15502 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
15503 after `=' is probably a new expression.
15505 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15507 * man.el (man-imenu-title): New option.
15508 (Man-mode-map): Add menu. (Bug#15722)
15509 (Man-mode): Add imenu to menu.
15511 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
15513 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15514 specific in what the first arg can be: a non-keyword word,
15515 string/regexp/percent literal opener, opening paren, or unary
15516 operator followed directly by word.
15518 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15520 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
15521 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
15522 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
15523 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
15524 Remove vars, they do not apply any more.
15525 (prolog-mode-abbrev-table): Remove redundant declaration.
15526 (prolog-upper-case-string, prolog-lower-case-string): Remove.
15527 (prolog-use-smie): Remove.
15528 (prolog-smie-rules): Add indentation rule for the if-then-else layout
15529 supported by prolog-electric-if-then-else-flag.
15530 (prolog-mode-variables, prolog-menu): Use setq-local.
15531 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
15532 Remove binding to `Backspace' since this key doesn't exist anyway.
15533 Remove bindings for electric self-inserting keys.
15534 (prog-mode): Assume it's defined.
15535 (prolog-post-self-insert): New function.
15536 (prolog-mode): Use it.
15537 (prolog-indent-line, prolog-indent-level)
15538 (prolog-find-indent-of-matching-paren)
15539 (prolog-indentation-level-of-line, prolog-goto-comment-column)
15540 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
15541 (prolog-goto-next-paren, prolog-in-string-or-comment)
15542 (prolog-tokenize, prolog-inside-mline-comment)
15543 (prolog-find-start-of-mline-comment): Remove functions.
15544 (prolog-find-unmatched-paren, prolog-clause-end)
15545 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
15546 (prolog-electric--if-then-else): Rename from
15547 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
15548 (prolog-tokenize-searchkey): Remove const.
15549 (prolog-clause-info): Use forward-sexp.
15550 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
15551 (prolog-electric-if-then-else): Remove commands.
15552 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
15553 for use in post-self-insert-hook.
15554 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
15555 for use in post-self-insert-hook.
15556 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
15557 for use in post-self-insert-hook.
15558 (prolog-electric--underscore): Rename from prolog-electric--underscore;
15559 adapt it for use in post-self-insert-hook.
15561 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
15563 * emacs-lisp/ert.el (ert-run-tests-interactively):
15564 Use `completing-read'. (Bug#9756)
15566 2013-10-25 Eli Zaretskii <eliz@gnu.org>
15568 * simple.el (line-move): Call line-move-1 instead of
15569 line-move-visual when the current window hscroll is zero, but
15570 temporary-goal-column indicates we will need to hscroll as result
15571 of the movement. (Bug#15712)
15573 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
15575 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
15576 capitalization. Use :visible instead of :active.
15577 Fix `ruby-indent-exp' reference. Add menu items for the generic
15578 commands that are used with SMIE.
15579 (ruby-do-end-to-brace): Insert space after `{'.
15581 2013-10-25 John Anthony <john@jo.hnanthony.com>
15583 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
15585 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
15587 2013-10-25 Glenn Morris <rgm@gnu.org>
15589 * vc/vc.el (vc-print-log): Don't use a working revision unless
15590 one was explicitly specified. (Bug#15322)
15592 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15594 * subr.el (add-to-list): Preserve return value in compiler-macro
15597 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15599 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
15600 result. Ask user to retry using '-all' flag. (Bug#15701)
15602 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15604 * emacs-lisp/smie.el: New smie-config system.
15605 (smie-config): New defcustom.
15606 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
15607 (smie-config-guess, smie-config-save): New commands.
15608 (smie-config--mode-local, smie-config--buffer-local)
15609 (smie-config--trace, smie-config--modefuns): New vars.
15610 (smie-config--advice, smie-config--mode-hook)
15611 (smie-config--setter, smie-config-local, smie-config--get-trace)
15612 (smie-config--guess-value, smie-config--guess): New functions.
15613 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
15614 text properties. Treat "string fence" syntax like string syntax.
15616 * progmodes/sh-script.el (sh-use-smie): Change default.
15617 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
15618 (sh-var-value): Simplify by CSE.
15619 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
15620 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
15622 (sh-guess-basic-offset): Use cl-incf.
15623 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
15625 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
15627 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
15630 2013-10-24 Glenn Morris <rgm@gnu.org>
15632 * Makefile.in (abs_top_srcdir): Remove.
15633 (update-subdirs): Use relative path to update-subdirs.
15635 2013-10-24 Eli Zaretskii <eliz@gnu.org>
15637 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
15638 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
15639 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
15640 Call unmsys--file-name before expand-file-name, not after it.
15642 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
15644 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
15645 (ert-test-skipped): New error.
15646 (ert-skip, ert-stats-skipped): New defuns.
15647 (ert--skip-unless): New macro.
15648 (ert-test-skipped): New struct.
15649 (ert--run-test-debugger, ert-test-result-type-p)
15650 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
15651 (ert--stats-set-test-and-result, ert-char-for-test-result)
15652 (ert-string-for-test-result, ert-run-tests-batch)
15653 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
15654 Handle skipped tests. (Bug#9803)
15656 2013-10-24 Glenn Morris <rgm@gnu.org>
15658 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
15660 * Makefile.in (abs_top_srcdir): New, set by configure.
15661 (update-subdirs): Correct build-aux location.
15663 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
15665 * vc/vc.el (vc-print-root-log): Always set `default-directory'
15666 value, whether we could auto-deduce `backend', or not.
15668 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
15669 with parameters" example. Simplify the "is it block or is it
15670 hash" check, but also make it more thorough.
15672 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
15674 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
15676 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15678 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
15679 { if it is hanging.
15681 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
15684 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
15686 * progmodes/compile.el (compilation-directory-matcher)
15687 (compilation-page-delimiter):
15688 Support GNU Make-4.0 directory quoting. (Bug#15678)
15690 2013-10-23 Leo Liu <sdl.web@gmail.com>
15692 * ido.el (ido-tidy): Handle read-only text.
15694 2013-10-23 Glenn Morris <rgm@gnu.org>
15696 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
15697 (emacs, compile, compile-always):
15698 Quote entities that might contain whitespace.
15699 (custom-deps, finder-data, autoloads): Use abs_lisp.
15700 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15701 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15702 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
15704 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
15706 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
15707 Use `following-char'.
15709 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15711 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
15712 * progmodes/ruby-mode.el (ruby-smie-rules):
15713 Remove corresponding workaround. Fix indentation rule of ";" so it
15714 also applies when ";" is the parent.
15716 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
15718 * frame.el (display-screens, display-pixel-height)
15719 (display-pixel-width, display-mm-width, display-backing-store)
15720 (display-save-under, display-planes, display-color-cells)
15721 (display-visual-class, display-monitor-attributes-list):
15722 Mention the optional ‘display’ argument in doc strings.
15724 2013-10-22 Michael Gauland <mikelygee@amuri.net>
15726 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
15727 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
15729 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15731 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
15732 TODO. Add "." after " @ ".
15733 (ruby-smie--at-dot-call): New function. Checks if point at method
15734 call with explicit target.
15735 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
15736 to the method name tokens when it precedes them.
15737 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
15738 (ruby-smie-rules): Add rule for indentation before and after "."
15741 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15743 * textmodes/remember.el (remember-diary-extract-entries):
15746 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
15749 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
15751 * progmodes/ruby-mode.el (ruby-smie-grammar):
15752 Add (almost) all infix operators.
15753 (ruby-smie--implicit-semi-p): Add new operator chars.
15755 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
15757 (ruby-smie--args-separator-p): Check that there's no newline
15758 between method call and its arguments.
15760 2013-10-20 Alan Mackenzie <acm@muc.de>
15762 Allow comma separated lists after Java "implements".
15764 * progmodes/cc-engine.el (c-backward-over-enum-header):
15766 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
15767 from a "disallowed" list in enum fontification.
15769 2013-10-20 Johan Bockgård <bojohan@gnu.org>
15771 * startup.el (default-frame-background-mode): Remove unused defvar.
15773 * progmodes/verilog-mode.el (verilog-mode): Don't set
15774 comment-indent-function globally.
15776 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
15778 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
15779 Move Info menu item creation to ns-win.el.
15781 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
15784 * menu-bar.el: Move GNUstep specific menus...
15786 * term/ns-win.el (ns-initialize-window-system): ... to here.
15788 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * simple.el (newline): Only run post-self-insert-hook when
15791 called interactively.
15793 2013-10-19 Johan Bockgård <bojohan@gnu.org>
15795 * icomplete.el (icomplete-with-completion-tables): Add :version.
15797 2013-10-19 Alan Mackenzie <acm@muc.de>
15799 Fix fontification bugs with constructors and const.
15801 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
15802 CASE 2) Remove the check for the absence of a suffix construct
15803 after a function declaration with only types (no identifiers) in
15804 the parentheses. Also, accept a function declaration with just a
15805 type inside the parentheses, if this type can be positively
15806 recognised as such, or if a prefix keyword like "explicit" nails
15807 down the construct as a declaration.
15809 2013-10-19 Eli Zaretskii <eliz@gnu.org>
15811 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
15812 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
15813 the problem whereby selecting a menu item that leads to a
15814 minibuffer prompt moves the cursor out of the minibuffer window,
15815 making it hard to type at the prompt. Suggested by Stefan Monnier
15816 <monnier@iro.umontreal.ca>.
15818 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
15820 * menu-bar.el: Don't make Services menu.
15822 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15824 * ffap.el: Handle "/usr/include/c++/<version>" directories.
15825 (ffap-alist): Use ffap-c++-mode for c++-mode.
15826 (ffap-c++-path): New variable.
15827 (ffap-c++-mode): New function.
15829 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
15831 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
15833 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
15835 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
15836 introduced on 2013-09-08, which results in an infinite loop
15837 requesting a password.
15839 2013-10-18 Glenn Morris <rgm@gnu.org>
15841 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
15843 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
15845 Sync with upstream verilog-mode revision 1a6ecec7.
15846 * progmodes/verilog-mode.el (verilog-mode-version): Update.
15847 (verilog-mode-release-date): Remove.
15848 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
15849 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
15850 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
15851 (verilog-auto-tieoff-ignore-regexp)
15852 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
15853 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
15854 (verilog-signals-with, verilog-dir-cache-preserving)
15855 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
15857 (verilog-case-fold): New option, to control case folding in
15858 regexp searches, bug597.
15859 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
15860 (verilog-string-match-fold, verilog-in-paren-count)
15861 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
15862 (verilog-at-close-struct-p): New functions.
15863 (verilog-beg-block-re-ordered, verilog-extended-case-re)
15864 (verilog-forward-sexp, verilog-set-auto-endcomments)
15865 (verilog-leap-to-case-head): Handle "unique0" case.
15866 (verilog-in-constraint-re): New constant.
15867 (verilog-keywords, verilog-type-font-keywords):
15868 Add some SystemVerilog 1800-2012 keywords.
15869 (verilog-label-be): Remove unimplemented argument, bug669.
15870 (verilog-batch-execute-func): When batch expanding clear
15871 create-lockfiles to prevent spurious user locks when a file ends
15873 (verilog-calculate-indent, verilog-calc-1)
15874 (verilog-at-close-constraint-p, verilog-at-constraint-p)
15875 (verilog-do-indent): Fix indentation of nested constraints
15877 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
15878 (verilog-auto-inst-param): Use verilog-string-match-fold.
15879 (verilog-read-inst-module-matcher):
15880 Fix AUTOINST on gate primitives with #1.
15881 (verilog-read-decls): Fix double-declaring user-defined typed signals.
15882 Reads all user-defined typed variables.
15883 (verilog-read-defines): Fix reading definitions inside comments, bug647.
15884 (verilog-signals-matching-regexp)
15885 (verilog-signals-not-matching-regexp, verilog-auto):
15886 Respect verilog-case-fold.
15887 (verilog-diff-report): Fix line count.
15888 (verilog-auto-assign-modport): Remove unused local `modi'.
15889 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
15890 better handle multidimensional arrays.
15891 Fix packed array ports misadding bit index in AUTOINST, bug637.
15892 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
15893 to not double-declare existing outputs and inputs, respectively.
15894 (verilog-template-map): Bind U to verilog-sk-uvm-component.
15895 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
15896 (verilog-sk-uvm-component): New skeleton.
15897 (verilog-submit-bug-report): Add verilog-case-fold,
15898 remove verilog-mode-release-date.
15900 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
15902 * subr.el (sit-for): Call (input-pending-p t) so as to behave
15905 2013-10-18 Reuben Thomas <rrt@sc3d.org>
15907 * textmodes/remember.el (remember): Set buffer-offer-save in
15908 remember buffers (bug#13566).
15910 2013-10-18 Daniel Colascione <dancol@dancol.org>
15912 When evaluating forms in ielm, direct standard output to ielm
15913 buffer. Add new ielm-return-for-effect command. Remove trailing
15914 whitespace throughout.
15916 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
15917 (ielm-return-for-effect): New command.
15918 (ielm-send-input): Accept optional `for-effect' parameter.
15919 (ielm-eval-input): Accept optional `for-effect' parameter.
15920 Bind `standard-output' to stream we create using
15921 `ielm-standard-output-impl'. Suppress printing result when
15923 (ielm-standard-output-impl): New function.
15924 (inferior-emacs-lisp-mode): Explain new features in documentation.
15926 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
15930 * net/tramp.el (tramp-debug-message): Do not check for connection
15932 (tramp-message): Use "vector" connection property.
15934 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
15935 (tramp-equal-remote, tramp-eshell-directory-change)
15936 * net/tramp-adb.el (tramp-adb-handle-copy-file)
15937 (tramp-adb-handle-rename-file)
15938 * net/tramp-cmds.el (tramp-list-remote-buffers)
15939 (tramp-cleanup-connection, tramp-cleanup-this-connection)
15940 * net/tramp-compat.el (tramp-compat-process-running-p)
15941 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
15942 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
15943 (tramp-gvfs-handle-rename-file)
15944 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15945 (tramp-set-file-uid-gid)
15946 * net/tramp-smb.el (tramp-smb-handle-copy-file)
15947 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
15948 of `file-remote-p'.
15950 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
15951 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
15952 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
15953 (tramp-gw-open-network-stream): Suppress unrelated traces.
15955 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
15956 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
15957 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15958 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
15959 connection property.
15961 * net/tramp-cache.el (top): Suppress traces when reading
15964 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
15965 Refactor common code. Improve debug message.
15966 (tramp-maybe-open-connection)
15967 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
15968 connection buffer too early.
15970 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
15971 from `tramp-smb-actions-with-acl'.
15972 (tramp-smb-actions-set-acl): New defconst.
15973 (tramp-smb-handle-copy-directory)
15974 (tramp-smb-action-get-acl): New defun, renamed from
15975 `tramp-smb-action-with-acl'.
15976 (tramp-smb-action-set-acl): New defun.
15977 (tramp-smb-handle-set-file-acl): Rewrite.
15979 2013-10-17 Glenn Morris <rgm@gnu.org>
15981 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
15983 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15985 * skeleton.el (skeleton-newline): Remove.
15986 (skeleton-internal-1): Use (insert "\n") instead.
15988 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
15991 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
15992 forward-sexp-function while we redo its job (bug#15613).
15994 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
15996 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
15997 represented by lists.
15999 2013-10-16 Glenn Morris <rgm@gnu.org>
16001 * tmm.el (tmm--history): New dynamic variable.
16002 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
16004 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
16006 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
16007 (tramp-smb-errors): Add error messages.
16008 (tramp-smb-actions-with-acl): New defconst.
16009 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
16010 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
16011 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
16012 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
16013 (tramp-smb-get-stat-capability): Fix tests.
16015 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
16017 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
16020 2013-10-16 Glenn Morris <rgm@gnu.org>
16022 * ansi-color.el (ansi-color-drop-regexp):
16023 Add 1J, 1K, 2K. (Bug#15617)
16025 * files.el (hack-local-variables--warned-lexical): New.
16026 (hack-local-variables):
16027 Warn about misplaced lexical-binding. (Bug#15616)
16029 * net/eww.el (eww-render): Always set eww-current-url,
16030 and update header line. (Bug#15622)
16031 (eww-display-html): ... Rather than just doing it here.
16033 2013-10-15 Eli Zaretskii <eliz@gnu.org>
16035 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
16036 menu navigations commands.
16038 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
16040 * progmodes/subword.el (subword-capitalize): Be careful when
16041 the search for [[:alpha:]] fails (bug#15580).
16043 2013-10-14 Eli Zaretskii <eliz@gnu.org>
16045 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
16046 to commands that scroll the menu.
16048 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
16050 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
16051 Handle methods ending with `?' and `!'.
16053 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
16055 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
16056 `japanese-cp932' to `cp932' to fix the problem where saving a
16057 source file written in Shift_JIS twice would end up having
16058 `coding: japanese-cp932' which Ruby could not recognize.
16059 (ruby-mode-set-encoding): Add support for encodings mapped to nil
16060 in `ruby-encoding-map'.
16061 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
16062 doesn't need to be explicitly declared in magic comment.
16063 (ruby-encoding-map): Add type declaration for better customize UI.
16065 2013-10-13 Glenn Morris <rgm@gnu.org>
16067 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
16068 Occur buffers are read-only. http://bugs.debian.org/720775
16070 * emacs-lisp/authors.el (authors-fixed-entries):
16071 Comment out old alpha stuff.
16073 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
16075 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
16076 to `after-save-hook' instead of `before-save-hook'.
16077 (ruby-mode-set-encoding): Use the value of coding system used to
16078 write the file. Call `basic-save-buffer-1' after modifying the
16081 2013-10-13 Alan Mackenzie <acm@muc.de>
16083 Fix indentation/fontification of Java enum with
16084 "implements"/generic.
16086 * progmodes/cc-engine.el (c-backward-over-enum-header):
16087 Extracted from the three other places and enhanced to handle generics.
16088 (c-inside-bracelist-p): Uses new function above.
16089 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
16091 (c-font-lock-enum-tail): Uses new function above.
16093 2013-10-13 Kenichi Handa <handa@gnu.org>
16095 * international/mule-cmds.el (select-safe-coding-system): Remove a
16096 superfluous condition in chekcing whether a coding system is safe
16099 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16101 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
16103 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
16105 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
16107 2013-10-13 Glenn Morris <rgm@gnu.org>
16109 * menu-bar.el (menu-bar-update-buffers):
16110 Unify Buffers menu prompt string. (Bug#15576)
16112 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
16114 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
16116 (authors-fixed-entries): Use accented form of name.
16118 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16120 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
16121 method calls (bug#15594).
16122 (ruby-smie--args-separator-p): New function.
16123 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
16124 recognize paren-free method calls.
16126 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
16127 internals of universal-argument.
16129 2013-10-11 Eli Zaretskii <eliz@gnu.org>
16131 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
16132 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
16133 dropped menu on second mouse click on the menu bar.
16135 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16137 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
16138 (explicit-shell-file-name): Declare.
16139 (sh--vars-before-point, sh--cmd-completion-table): New functions.
16140 (sh-completion-at-point-function): New function.
16142 (sh-smie--keyword-p): Remove unused argument.
16143 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
16145 (sh-set-shell): Always setup SMIE, even if we use the
16146 old indentation code.
16148 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
16150 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
16152 (ruby-smie-rules): Simplify the "do" rule. The cases when the
16153 predicate would return nil are almost non-existent.
16154 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
16156 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
16157 cache also after commands that modify the buffer but don't move
16160 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16162 * env.el (substitute-env-in-file-name): New function.
16163 (substitute-env-vars): Extend the meaning of the optional arg.
16165 2013-10-10 Eli Zaretskii <eliz@gnu.org>
16167 * term/w32-win.el (dynamic-library-alist): Define separate lists
16168 of GIF DLLs for versions before and after 5.0.0 of giflib.
16171 2013-10-10 João Távora <joaotavora@gmail.com>
16173 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
16174 not locked, use last revision and current source as
16175 defaults. (Bug#15569)
16177 2013-10-10 Masatake YAMATO <yamato@redhat.com>
16179 * menu-bar.el (menu-bar-open): Don't use popup-menu if
16180 menu-bar is hidden.
16182 2013-10-10 Martin Rudalics <rudalics@gmx.at>
16184 * window.el (pop-to-buffer-same-window): Fix doc-string.
16187 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16189 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
16191 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
16193 * calendar/icalendar.el (icalendar-import-file):
16194 Fix interactive spec. (Bug#15482)
16196 2013-10-10 Glenn Morris <rgm@gnu.org>
16198 * desktop.el (desktop-save): Default to saving in .emacs.d,
16199 since PWD is no longer in desktop-path by default. (Bug#15319)
16201 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
16202 now that text mode has a menu with the same entry.
16203 (menu-bar-text-mode-auto-fill): Remove now unused func.
16204 * textmodes/text-mode.el (text-mode-map):
16205 Use auto-fill help text from menu-bar.el.
16207 2013-10-10 John Anthony <john@jo.hnanthony.com>
16209 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
16211 2013-10-09 Juri Linkov <juri@jurta.org>
16213 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
16214 instead of this-command-keys. Add universal-argument-more and
16215 universal-argument-minus to the list of prefix commands. (Bug#15568)
16217 2013-10-09 Glenn Morris <rgm@gnu.org>
16219 * vc/vc-svn.el (vc-svn-create-repo):
16220 Expand paths in file://... url. (Bug#15446)
16222 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
16224 (authors): Remove unused local variables.
16226 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
16228 * profiler.el: Create a more coherent calltree from partial backtraces.
16229 (profiler-format): Hide the tail with `invisible' so that C-s can still
16230 find the hidden elements.
16231 (profiler-calltree-depth): Don't recurse so enthusiastically.
16232 (profiler-function-equal): New hash-table-test.
16233 (profiler-calltree-build-unified): New function.
16234 (profiler-calltree-build): Use it.
16235 (profiler-report-make-name-part): Indent the calltree less.
16236 (profiler-report-mode): Add visibility specs for profiler-format.
16237 (profiler-report-expand-entry, profiler-report-toggle-entry):
16238 Expand the whole subtree when provided with a prefix arg.
16240 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
16242 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
16244 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
16245 hanging iuwu-mod token.
16246 (ruby-smie--forward-token): Do not include a dot after a token in
16248 (ruby-smie--backward-token): Likewise.
16250 2013-10-08 Juri Linkov <juri@jurta.org>
16252 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
16253 to isearch-other-control-char.
16254 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
16255 and isearch-post-command-hook to post-command-hook.
16256 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
16257 and isearch-post-command-hook from post-command-hook.
16258 (isearch-unread-key-sequence)
16259 (isearch-reread-key-sequence-naturally)
16260 (isearch-lookup-scroll-key, isearch-other-control-char)
16261 (isearch-other-meta-char): Remove functions.
16262 (isearch-pre-command-hook, isearch-post-command-hook):
16263 New functions based on isearch-other-meta-char rewritten
16264 relying on the new behavior of overriding-terminal-local-map
16265 that does not replace the local keymaps any more. (Bug#15200)
16267 2013-10-08 Eli Zaretskii <eliz@gnu.org>
16269 Support menus on text-mode terminals.
16270 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
16273 * tooltip.el (tooltip-mode): Don't error out on TTYs.
16275 * menu-bar.el (popup-menu, popup-menu-normalize-position):
16276 Move here from mouse.el.
16277 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
16279 (tty-menu-navigation-map): New map for TTY menu navigation.
16281 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
16283 * frame.el (display-mouse-p): Report text-mode mouse as available
16285 (display-popup-menus-p): Report availability if mouse is
16286 available; don't condition on window-system.
16288 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
16289 (tty-menu-selected-face): New faces.
16291 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16293 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
16294 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
16295 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
16296 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
16298 (lisp-mode-variables): New `elisp' argument.
16299 (emacs-lisp-mode): Use it.
16300 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
16301 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
16303 * indent.el: Use lexical-binding.
16304 (indent-region): Add progress reporter.
16305 (tab-stop-list): Make it implicitly extend to infinity by repeating the
16307 (indent--next-tab-stop): New function to implement this behavior.
16308 (tab-to-tab-stop, move-to-tab-stop): Use it.
16310 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
16312 * indent.el (indent-rigidly--current-indentation): New function.
16313 (indent-rigidly-map): New var.
16314 (indent-rigidly): Use it to provide interactive mode (bug#8196).
16316 2013-10-08 Bastien Guerry <bzg@gnu.org>
16318 * register.el (insert-register): Fix 2013-10-07 change.
16320 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
16322 * progmodes/perl-mode.el: Use lexical-binding.
16323 Remove redundant :group args.
16324 (perl-nochange): Change default to be closer to other major modes's
16326 (perl-indent-line): Don't consider text on current line as a
16327 valid beginning of function from which to indent.
16329 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
16330 with more than one argument (bug#15538).
16332 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
16334 * vc/pcvs.el: Use lexical-binding.
16335 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
16336 environment of `eval'.
16337 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
16338 than a list of expressions. Adjust callers.
16339 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
16341 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
16343 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
16344 case of the dot in a chained method call being on the following line.
16346 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16348 * electric.el (electric-indent-inhibit): New var.
16349 (electric-indent-post-self-insert-function): Use it.
16350 * progmodes/python.el (python-mode): Set it.
16352 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
16355 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
16357 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
16358 (css-mode): Use electric-indent-chars.
16360 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
16361 (font-lock-beg, font-lock-end): Move before first use.
16362 (nxml-mode): Use syntax-propertize-function.
16363 (nxml-after-change, nxml-after-change1): Adjust accordingly.
16364 (nxml-extend-after-change-region): Remove.
16365 * nxml/xmltok.el: Use lexical-binding.
16366 (xmltok-save): Use `declare'.
16367 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
16368 * nxml/nxml-util.el: Use lexical-binding.
16369 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
16371 * nxml/nxml-ns.el: Use lexical-binding.
16372 (nxml-ns-save): Use `declare'.
16373 (nxml-ns-prefixes-for): Avoid add-to-list.
16374 * nxml/rng-match.el: Use lexical-binding.
16375 (rng--ipattern): Use cl-defstruct.
16376 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
16377 (rng-cons-group-after, rng-subst-group-after)
16378 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
16379 Use closures instead of `(lambda...).
16381 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
16383 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
16386 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16387 Use `tramp-handle-insert-file-contents'.
16388 (tramp-gvfs-handle-insert-file-contents): Remove function.
16390 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16391 Use `save-restriction' in order to keep markers.
16393 * net/trampver.el: Update release number.
16395 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16397 * progmodes/compile.el (compilation-parse-errors):
16398 Use compilation--put-prop.
16399 (compilation--ensure-parse): Check compilation-multiline.
16401 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
16403 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
16406 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
16408 * progmodes/ruby-mode.el: Fix recently added tests.
16409 (ruby-smie-grammar): Add - and +.
16410 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
16411 (ruby-smie--backward-id): New functions.
16412 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
16413 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
16416 2013-10-07 Leo Liu <sdl.web@gmail.com>
16418 * register.el (register-preview-delay)
16419 (register-preview-functions): New variables.
16420 (register-read-with-preview, register-preview)
16421 (register-describe-oneline): New functions.
16422 (point-to-register, window-configuration-to-register)
16423 (frame-configuration-to-register, jump-to-register)
16424 (number-to-register, view-register, insert-register)
16425 (copy-to-register, append-to-register, prepend-to-register)
16426 (copy-rectangle-to-register): Use register-read-with-preview to
16427 read register. (Bug#15525)
16429 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
16431 * net/network-stream.el (network-stream-open-starttls): Don't add
16432 --insecure if it's already present, because that gnutls-cli
16433 rejects getting that parameter twice.
16435 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
16437 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
16440 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
16442 * newcomment.el (comment-use-global-state): Change default value
16443 to t, mark obsolete (Bug#15251).
16444 (comment-beginning): In addition to `comment-to-syntax', check the
16445 value of `comment-use-global-state'.
16447 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16449 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
16450 (ruby-comment-column): Follow the global default, by default.
16451 (ruby-smie-grammar): Add assignment syntax.
16452 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
16453 open-paren, a comma, or a \.
16454 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
16455 and line continuations.
16456 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
16457 followed by implicit semi-colons. Add rule for string concatenation
16458 and for indentation at BOB.
16459 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
16461 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
16462 calling next-sexp, since next-token may have skipped chars which
16463 next-sexp doesn't know should be skipped!
16465 2013-10-05 Leo Liu <sdl.web@gmail.com>
16467 * progmodes/octave.el (octave-send-region):
16468 Call compilation-forget-errors.
16470 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16472 * vc/vc-svn.el (vc-svn-find-admin-dir):
16473 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
16474 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
16475 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
16476 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
16478 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16480 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
16482 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
16484 * subr.el (read-passwd): Hide chars even when called within a context
16485 where after-change-functions is disabled (bug#15501).
16486 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
16487 until we removed ourself from overriding-terminal-local-map.
16489 2013-10-04 Leo Liu <sdl.web@gmail.com>
16491 * progmodes/octave.el (inferior-octave-mode):
16492 Call compilation-forget-errors.
16494 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
16496 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
16498 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
16500 * net/secrets.el (secrets-create-collection): Add optional
16501 argument ALIAS. Use proper Label keyword. Append ALIAS as
16502 dbus-call-method argument. (Bug#15516)
16504 2013-10-04 Leo Liu <sdl.web@gmail.com>
16506 * progmodes/octave.el (inferior-octave-error-regexp-alist)
16507 (inferior-octave-compilation-font-lock-keywords): New variables.
16508 (compilation-error-regexp-alist)
16509 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
16510 (inferior-octave-mode): Use compilation-shell-minor-mode.
16512 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
16514 * minibuffer.el (completion--replace): Be careful that `end' might be
16517 2013-10-03 Daiki Ueno <ueno@gnu.org>
16519 Add support for package signature checking.
16520 * emacs-lisp/package.el (url-http-file-exists-p)
16521 (epg-make-context, epg-context-set-home-directory)
16522 (epg-verify-string, epg-context-result-for)
16523 (epg-signature-status, epg-signature-to-string)
16524 (epg-check-configuration, epg-configuration)
16525 (epg-import-keys-from-file): Declare.
16526 (package-check-signature): New user option.
16527 (package-unsigned-archives): New user option.
16528 (package-desc): Add `signed' field.
16529 (package-load-descriptor): Set `signed' field if .signed file exists.
16530 (package--archive-file-exists-p): New function.
16531 (package--check-signature): New function.
16532 (package-install-from-archive): Check package signature.
16533 (package--download-one-archive): Check archive signature.
16534 (package-delete): Remove .signed file.
16535 (package-import-keyring): New command.
16536 (package-refresh-contents): Import default keyring.
16537 (package-desc-status): Add "unsigned" status.
16538 (describe-package-1, package-menu--print-info)
16539 (package-menu-mark-delete, package-menu--find-upgrades)
16540 (package-menu--status-predicate): Support "unsigned" status.
16542 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16544 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
16545 the new compilation scheme using the new byte-codes.
16547 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
16548 (byte-pophandler): New byte codes.
16549 (byte-goto-ops): Adjust accordingly.
16550 (byte-compile--use-old-handlers): New var.
16551 (byte-compile-catch): Use new byte codes depending on
16552 byte-compile--use-old-handlers.
16553 (byte-compile-condition-case--old): Rename from
16554 byte-compile-condition-case.
16555 (byte-compile-condition-case--new): New function.
16556 (byte-compile-condition-case): New function that dispatches depending
16557 on byte-compile--use-old-handlers.
16558 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
16561 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
16562 Optimize under `condition-case' and `catch' if
16563 byte-compile--use-old-handlers is nil.
16564 (disassemble-offset): Handle new bytecodes.
16566 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16568 * subr.el (error): Use `declare'.
16569 (decode-char, encode-char): Use advertised-calling-convention instead
16570 of the docstring to discourage use of the `restriction' arg.
16572 2013-10-03 Daiki Ueno <ueno@gnu.org>
16574 * epg.el (epg-verify-file): Add a comment saying that it does not
16575 notify verification error as a return value nor a signal.
16576 (epg-verify-string): Ditto.
16578 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
16580 * progmodes/compile.el (compilation-start): Try globbing the arg to
16583 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
16585 Sync with Tramp 2.2.8.
16587 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
16588 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
16589 * net/trampver.el: Update release number.
16591 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
16593 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16594 and default-process-coding-system for darwin only.
16596 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16598 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
16600 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
16602 * vc/vc-git.el (vc-git-grep): Disable pager.
16604 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
16606 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
16607 Use :url instead of :homepage, as per
16608 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
16610 * newcomment.el (comment-beginning): When `comment-use-syntax' is
16611 non-nil, use `syntax-ppss' (Bug#15251).
16613 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16615 * progmodes/octave.el (inferior-octave-startup-file):
16616 Prefer ~/.emacs.d/init_octave.m.
16618 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
16620 * emacs-lisp/package.el (package-desc-from-define):
16621 Accept additional arguments as plist, convert them to an alist and store
16622 them in the `extras' slot.
16623 (package-generate-description-file): Convert extras alist back to
16624 plist and append to the `define-package' form arguments.
16625 (package--alist-to-plist): New function.
16626 (package--ac-desc): Add `extras' slot.
16627 (package--add-to-archive-contents): Check if the archive-contents
16628 vector is long enough, and if it is, pass its `extras' slot value
16629 to `package-desc-create'.
16630 (package-buffer-info): Call `lm-homepage', pass the returned value
16631 to `package-desc-from-define'.
16632 (describe-package-1): Render the homepage button (Bug#13291).
16634 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16635 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
16637 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
16639 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
16640 and default-process-coding-system to utf-8-unix (Bug#15402).
16642 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
16644 * subr.el (looking-back): Do not recommend using looking-back.
16646 2013-09-28 Alan Mackenzie <acm@muc.de>
16648 Fix indentation/fontification of Java enum with "implements".
16650 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
16651 regexp which matches "implements", etc., in Java.
16652 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
16653 specifier clauses coming after "enum".
16654 * progmodes/cc-fonts.el (c-font-lock-declarations)
16655 (c-font-lock-enum-tail): Check for extra specifier clauses coming
16658 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
16660 * faces.el (region): Change ns_selection_color to
16661 ns_selection_fg_color, add ns_selection_bg_color.
16663 2013-09-28 Leo Liu <sdl.web@gmail.com>
16665 * progmodes/octave.el (inferior-octave-completion-table)
16666 (inferior-octave-completion-at-point): Minor tweaks.
16668 * textmodes/ispell.el (ispell-lookup-words): Rename from
16669 lookup-words. (Bug#15460)
16670 (lookup-words): Obsolete.
16671 (ispell-complete-word, ispell-command-loop): All uses changed.
16673 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16675 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
16676 (octave-mode-menu): Add octave-send-buffer.
16677 (octave-send-buffer): New function.
16679 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16681 * progmodes/octave.el (octave-mode-map): Add key binding for
16683 (octave-mode-menu): Add octave-lookfor.
16684 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
16686 (octave-lookfor): New function.
16688 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
16690 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
16691 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
16693 (cl--loop-set-iterator-function): New function.
16694 (cl-loop): Adjust accordingly, so as not to use cl-subst.
16695 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
16696 Bind `it' with `let' instead of substituting it with `cl-subst'.
16697 (cl--unused-var-p): New function.
16698 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
16699 Eliminate some unused variable warnings (bug#15326).
16701 2013-09-27 Tassilo Horn <tsdh@gnu.org>
16703 * doc-view.el (doc-view-scale-reset): Rename from
16704 `doc-view-reset-zoom-level'.
16705 (doc-view-scale-adjust): New command.
16706 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
16707 `doc-view-scale-adjust'.
16709 2013-09-26 Tassilo Horn <tsdh@gnu.org>
16711 * doc-view.el (doc-view-reset-zoom-level): New command.
16712 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
16713 zoom commands (bug#15466).
16715 2013-09-26 Kenichi Handa <handa@gnu.org>
16717 * international/quail.el (quail-help): Make it not a command.
16719 2013-09-26 Leo Liu <sdl.web@gmail.com>
16721 * minibuffer.el (completion-all-sorted-completions): Make args
16722 optional as they are.
16724 2013-09-25 Daniel Colascione <dancol@dancol.org>
16726 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
16727 specs are and that they're not evaluated.
16729 2013-09-24 Sam Steingold <sds@gnu.org>
16731 * midnight.el (clean-buffer-list-kill-regexps)
16732 (clean-buffer-list-kill-buffer-names): Update for the new Man
16733 buffer naming which includes the object name.
16735 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16737 * eshell/esh-cmd.el (eshell--sep-terms): New var.
16738 (eshell-parse-command, eshell-parse-pipeline): Use it since
16739 eshell-separate-commands requires a dynamic scoped var.
16740 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
16742 2013-09-23 Leo Liu <sdl.web@gmail.com>
16744 * autoinsert.el (auto-insert-alist): Make the value of
16745 lexical-binding match its file setting.
16747 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
16749 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
16751 * autoarg.el (autoarg-kp-digit-argument):
16752 * electric.el (Electric-command-loop):
16753 * kmacro.el (kmacro-step-edit-insert):
16754 Do not set universal-argument-num-events.
16756 2013-09-22 Leo Liu <sdl.web@gmail.com>
16758 * files.el (interpreter-mode-alist): Add octave.
16760 2013-09-21 Alan Mackenzie <acm@muc.de>
16762 C++: fontify identifier in declaration following "public:" correctly.
16763 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
16764 to match "public", etc.
16765 (c-decl-prefix-re): Add ":" into the C++ value.
16766 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
16767 bit. Add a check for a ":" preceded by "public", etc.
16769 2013-09-21 Eli Zaretskii <eliz@gnu.org>
16771 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
16772 recognized by GDB 7.5 and later.
16774 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
16776 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
16778 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16780 * subr.el (internal--call-interactively): New const.
16781 (called-interactively-p): Use it (bug#3984).
16783 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
16785 * vc/pcvs.el (cvs-mode-ignore):
16786 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
16787 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
16789 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16791 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
16792 (eshell-ls-orig-insert-directory): Remove.
16793 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
16794 (eshell-ls-use-in-dired): Use advice-add/remove.
16795 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
16796 Add `orig-fun' arg for use in :around advice.
16797 Make it check (redundantly) eshell-ls-use-in-dired.
16799 2013-09-19 Glenn Morris <rgm@gnu.org>
16801 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
16803 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
16805 * emacs-lisp/eieio.el (class-parent): Undo previous change.
16807 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
16809 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
16810 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
16811 (tramp-get-remote-python): New defuns.
16812 (tramp-get-remote-uid-with-perl)
16813 (tramp-get-remote-gid-with-perl): New defuns. Perl code
16814 contributed by yary <not.com@gmail.com> (tiny change).
16815 (tramp-get-remote-uid-with-python)
16816 (tramp-get-remote-gid-with-python): New defuns. Python code
16817 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
16818 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
16820 2013-09-19 Glenn Morris <rgm@gnu.org>
16822 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
16824 * eshell/em-unix.el (eshell-remove-entries):
16825 Rename argument to avoid name-clash with global `top-level'.
16827 * eshell/esh-proc.el (eshell-kill-process-function):
16828 Remove eshell-reset-after-proc from eshell-kill-hook if present.
16829 (eshell-reset-after-proc): Remove unused arg `proc'.
16831 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
16832 (directory-files-and-attributes): Mark unused arg.
16834 * eshell/em-unix.el (eshell-remove-entries):
16835 Remove unused arg `path'. Update callers.
16837 * eshell/em-hist.el (eshell-hist-parse-arguments):
16838 Remove unused arg `silent'. Update callers.
16840 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
16841 Fix (f)boundp mix-up.
16843 * eshell/em-smart.el (eshell-smart-scroll-window)
16844 (eshell-disable-after-change):
16845 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
16847 2013-09-18 Alan Mackenzie <acm@muc.de>
16849 Fix fontification of type when followed by "const".
16850 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
16851 "known" types from fontification.
16853 2013-09-18 Glenn Morris <rgm@gnu.org>
16855 * emacs-lisp/chart.el (x-display-color-cells): Declare.
16856 (chart-face-list): Drop Emacsen without display-color-p.
16858 * net/eww.el (libxml-parse-html-region): Declare.
16859 (eww-display-html): Explicit error if no libxml2 support.
16861 * doc-view.el (doc-view-mode): Silence --without-x compilation.
16863 * image.el (image-type-from-buffer, image-multi-frame-p):
16864 Remove --without-x warning/error.
16866 * mouse.el (mouse-yank-primary):
16867 * term.el (term-mouse-paste):
16868 Reorder to silence --without-x compilation.
16870 * mpc.el (doc-view-mode): Silence --without-x compilation.
16872 * mail/rmailmm.el (rmail-mime-set-bulk-data):
16873 Silence --without-x compilation.
16875 * progmodes/gud.el (gud-find-file, gud-mode):
16876 Silence --without-x compilation.
16877 (tooltip-mode): Declare.
16879 * wdired.el (dired-backup-overwrite): Remove declaration.
16880 (wdired-mode-map): Add doc string.
16882 * custom.el (x-get-resource): Declare.
16884 * eshell/em-glob.el (ange-cache):
16885 * eshell/em-unix.el (ange-cache): Declare.
16887 * faces.el (x-display-list, x-open-connection, x-get-resource):
16890 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
16891 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
16894 * frame.el (x-display-grayscale-p, x-display-name): Declare.
16896 * net/gnutls.el (gnutls-log-level): Declare.
16898 * net/shr.el (image-size, image-animate): Declare.
16900 * simple.el (font-info): Declare.
16902 * subr.el (x-popup-dialog): Declare.
16904 * term/common-win.el (x-select-enable-primary)
16905 (x-last-selected-text-primary, x-last-selected-text-clipboard):
16908 * term/ns-win.el (x-handle-args): Declare.
16910 * term/x-win.el (x-select-enable-clipboard): Declare.
16912 * term/w32-win.el (create-default-fontset): Declare.
16914 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
16917 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16918 (fit-frame-to-buffer): Explicit error if --without-x.
16919 (mouse-autoselect-window-select): Silence compiler.
16921 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16923 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
16924 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
16925 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
16926 * eshell/esh-util.el (eshell-sublist):
16927 Remove unused local variables.
16929 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
16931 * textmodes/two-column.el: Make 2C-split work for --without-x.
16932 (scroll-bar-columns): Autoload.
16933 (top-level): Require fringe when compiling.
16935 2013-09-18 Leo Liu <sdl.web@gmail.com>
16937 * subr.el (add-hook): Robustify to handle closure as well.
16939 2013-09-17 Glenn Morris <rgm@gnu.org>
16941 * simple.el (messages-buffer-mode-map): Unbind "g".
16943 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16945 * help-mode.el (help-mode-finish): Use derived-mode-p.
16946 Remove obsolete highlighting.
16948 * play/life.el (life-mode): Use define-derived-mode. Derive from
16950 (life): Let-bind inhibit-read-only.
16951 (life-setup): Avoid `setq'. Use `life-mode'.
16953 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
16954 which should not be needed any more.
16955 (package-menu-refresh, package-menu-describe-package): Use user-error.
16957 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
16958 (eshell-post-rewrite-command-hook): Make obsolete.
16959 (eshell-parse-command): Simplify.
16960 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16961 (eshell--cmd): Declare.
16962 (eshell-parse-pipeline): Remove unused var `final-p'.
16963 Pass a dynvar to eshell-post-rewrite-command-hook.
16964 Implement the new eshell-post-rewrite-command-function.
16965 (eshell-invoke-directly): Remove unused arg `input'.
16966 * eshell/esh-io.el (eshell-io-initialize):
16967 Use eshell-post-rewrite-command-function (bug#15399).
16968 (eshell--apply-redirections): Rename from eshell-apply-redirections;
16969 adjust to new calling convention.
16970 (eshell-create-handles): Rename args to avoid clashing with dynvar
16973 2013-09-17 Glenn Morris <rgm@gnu.org>
16975 * simple.el (messages-buffer-mode): New major mode.
16976 (messages-buffer): New function.
16977 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
16978 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
16979 (ert-run-test): Use `messages-buffer' function.
16980 (ert--force-message-log-buffer-truncation): Ignore read-only.
16981 * help.el (view-echo-area-messages): Use `messages-buffer' function.
16982 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
16984 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
16986 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
16988 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
16990 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16992 * icomplete.el (icomplete-in-buffer): New var.
16993 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
16994 vars and replace them with functions.
16995 (icomplete-minibuffer-setup): Adjust accordingly.
16996 (icomplete--completion-table, icomplete--completion-predicate)
16997 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
16999 (icomplete-forward-completions, icomplete-backward-completions)
17000 (icomplete-simple-completing-p, icomplete-exhibit)
17001 (icomplete-completions): Use them.
17002 (icomplete--in-region-buffer): New var.
17003 (icomplete--in-region-setup): New function.
17004 (icomplete-mode): Use it.
17006 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
17008 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
17009 return args and options.
17010 (eshell-eval-using-options): Use the new return value of
17011 eshell--do-opts to set the options's vars in their scope.
17012 (eshell--set-option): Rename from eshell-set-option.
17013 Add arg `opt-vals'.
17014 (eshell--process-option): Rename from eshell-process-option.
17015 Add arg `opt-vals'.
17016 (eshell--process-args): Use an `opt-vals' alist to store the options's
17017 values during their processing and return them additionally to the
17020 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
17022 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
17023 continuation character an operator, as far as indentation is
17024 concerned (Bug#15369).
17026 2013-09-15 Martin Rudalics <rudalics@gmx.at>
17028 * window.el (window--state-put-2): Don't process buffer state
17029 when buffer doesn't exist any more (Bug#15382).
17031 2013-09-15 Glenn Morris <rgm@gnu.org>
17033 * eshell/em-unix.el (eshell/rm):
17034 Make -f ignore missing files. (Bug#15373)
17036 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
17037 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
17038 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
17040 2013-09-14 Glenn Morris <rgm@gnu.org>
17042 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
17044 2013-09-13 Glenn Morris <rgm@gnu.org>
17046 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
17047 (dired-guess-default): Make `file' available in the env. (Bug#15363)
17049 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
17051 * frame.el (x-focus-frame): Mark as declared in frame.c.
17053 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17055 * ls-lisp.el: Use advice-add.
17056 (original-insert-directory): Remove.
17057 (ls-lisp--insert-directory): Rename from insert-directory; add
17058 `orig-fun' argument.
17059 (insert-directory): Advise.
17061 2013-09-13 Eli Zaretskii <eliz@gnu.org>
17063 * term.el (term-emulate-terminal): Decode the command string
17064 before passing it to term-command-hook. (Bug#15337)
17066 2013-09-13 Glenn Morris <rgm@gnu.org>
17068 * eshell/esh-util.el (ange-cache): Move declaration earlier.
17070 * eshell/esh-ext.el (eshell-search-path): Declare.
17072 * eshell/em-prompt.el (eshell/pwd): Autoload it.
17073 Otherwise an error occurs if eshell-dirs module not loaded.
17075 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
17077 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
17079 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
17080 `tramp-check-proper-host'. Check for a valid method name.
17082 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17083 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17084 * net/tramp-sh.el (tramp-maybe-open-connection):
17085 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
17087 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
17088 also for hash values.
17090 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * term/ns-win.el (parameters): Don't declare as dynamic.
17093 (before-make-frame-hook): Don't add ineffective function.
17095 * eshell/*.el: Use lexical-binding (bug#15231).
17097 2013-09-12 Kenichi Handa <handa@gnu.org>
17099 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
17101 2013-09-12 Glenn Morris <rgm@gnu.org>
17103 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
17104 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
17106 * subr.el (do-after-load-evaluation): Also give compiler warnings
17107 when obsolete files are used (except by obsolete files).
17109 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
17110 in the status output, assume `filename' is the first. (Bug#15322)
17112 * vc/vc.el (vc-deduce-fileset): Doc fix.
17114 * calc/calc-help.el (Info-goto-node):
17115 * progmodes/cperl-mode.el (Info-find-node):
17116 * vc/ediff.el (Info-goto-node): Update declarations.
17118 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
17120 * vc/vc-bzr.el (vc-compilation-mode): Declare.
17121 (vc-bzr-pull): Require vc-dispatcher.
17122 * vc/vc-git.el (vc-compilation-mode): Declare.
17123 (vc-git-pull): Require vc-dispatcher.
17125 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
17127 * progmodes/octave.el (help-button-action): Declare.
17129 * shell.el (shell-directory-tracker): Output error as a message
17130 rather than just returning it as a string.
17131 (shell-process-pushd): Remove useless use of message.
17133 * dframe.el (dframe-timer-fn):
17134 * files.el (dir-locals-read-from-file):
17135 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
17137 * reveal.el (reveal-post-command):
17138 * saveplace.el (load-save-place-alist-from-file):
17139 * shell.el (shell-resync-dirs):
17140 * w32-common-fns.el (x-get-selection-value):
17141 * emacs-lisp/copyright.el (copyright-find-copyright):
17142 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
17143 * emulation/tpu-edt.el (tpu-copy-keyfile):
17144 * play/bubbles.el (bubbles--mark-neighbourhood):
17145 * progmodes/executable.el
17146 (executable-make-buffer-file-executable-if-script-p):
17147 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
17149 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17151 Cleanup Eshell to rely less on dynamic scoping.
17152 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
17153 last-value, and ext-command here. Bind `args' closer to `body'.
17154 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
17155 (eshell--args): Declare new dynamic var.
17156 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
17157 last-value, and ext-command. Pass `args' to `body'.
17158 (eshell-process-args): Bind eshell--args.
17159 (eshell-set-option): Use eshell--args.
17160 * eshell/eshell.el (eshell): Use derived-mode-p.
17161 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
17162 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
17163 (eshell-glob-function): Declare.
17164 * eshell/esh-util.el: Require cl-lib.
17165 (eshell-read-hosts-file): Avoid add-to-list.
17166 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
17168 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
17170 (eshell/diff): Remove unused var `err'.
17171 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
17173 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
17174 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
17176 * eshell/em-glob.el (eshell-glob-matches, message-shown):
17177 Move declaration before first use.
17178 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
17179 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
17182 2013-09-12 Glenn Morris <rgm@gnu.org>
17184 * term/ns-win.el (global-map): Remove binding for ispell-next,
17185 deleted 1999-05-29. (Bug#15357)
17187 2013-09-11 Glenn Morris <rgm@gnu.org>
17189 * echistory.el (electric-command-history): Remove call to deleted func.
17191 * play/landmark.el (landmark-mode): Fix typos.
17193 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
17194 Check cvs-sort-ignore-file is bound.
17196 * savehist.el: No need for cl when compiling on Emacs.
17198 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17200 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
17202 (eshell-self-insert-command, eshell-send-invisible):
17203 Remove unused argument.
17204 (eshell-handle-control-codes): Remove unused var `orig'.
17205 Avoid delete-backward-char.
17207 * files.el (set-auto-mode): Simplify a bit further.
17209 2013-09-11 Glenn Morris <rgm@gnu.org>
17211 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
17212 (set-auto-mode): Don't regexp-quote elements.
17213 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
17214 * progmodes/cc-mode.el (interpreter-mode-alist):
17215 * progmodes/ruby-mode.el (interpreter-mode-alist):
17216 Revert previous change.
17218 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17220 * play/snake.el (snake-mode):
17221 * play/mpuz.el (mpuz-mode):
17222 * play/landmark.el (lm-mode):
17223 * play/blackbox.el (blackbox-mode):
17224 * play/5x5.el (5x5-mode):
17225 * obsolete/options.el (Edit-options-mode):
17226 * net/quickurl.el (quickurl-list-mode):
17227 * net/newst-treeview.el (newsticker-treeview-mode):
17228 * mail/rmailsum.el (rmail-summary-mode):
17229 * mail/mspools.el (mspools-mode):
17230 * locate.el (locate-mode):
17231 * ibuffer.el (ibuffer-mode):
17232 * emulation/ws-mode.el (wordstar-mode):
17233 * emacs-lisp/debug.el (debugger-mode):
17234 * array.el (array-mode):
17235 * net/eudc.el (eudc-mode): Use define-derived-mode.
17236 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
17237 Move initialization into declaration.
17238 (mairix-searches-mode): Use define-derived-mode.
17239 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
17240 (eudc-edit-hotlist): Use dolist.
17241 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
17242 (Man-mode): Use define-derived-mode.
17243 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
17244 (Info-edit-mode): Use define-derived-mode.
17245 (Info-cease-edit): Use Info-mode.
17246 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
17248 (eshell-mode): Use define-derived-mode.
17249 * chistory.el (command-history-mode-map): Rename from
17250 command-history-map.
17251 (command-history-mode): Use define-derived-mode.
17252 (Command-history-setup): Remove function.
17253 * calc/calc.el (calc-trail-mode-map): New var.
17254 (calc-trail-mode): Use define-derived-mode.
17255 (calc-trail-buffer): Set calc-main-buffer manually.
17256 * bookmark.el (bookmark-insert-annotation): New function.
17257 (bookmark-edit-annotation): Use it.
17258 (bookmark-edit-annotation-mode): Make it a proper major mode.
17259 (bookmark-send-edited-annotation): Use derived-mode-p.
17260 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
17261 closer to its ideal place. Use \' to match EOS.
17263 * profiler.el (profiler-calltree-find): Use function-equal.
17265 2013-09-10 Glenn Morris <rgm@gnu.org>
17267 * files.el (interpreter-mode-alist): Convert to regexps.
17268 (set-auto-mode): Adapt for this. (Bug#15306)
17269 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
17270 Comment out unused variable.
17271 * progmodes/cc-mode.el (interpreter-mode-alist):
17272 * progmodes/python.el (interpreter-mode-alist):
17273 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
17274 * progmodes/sh-script.el (sh-set-shell):
17275 No longer use interpreter-mode-alist to get list of shells.
17277 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
17279 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17281 * simple.el: Use set-temporary-overlay-map for universal-argument.
17282 (universal-argument-map): Don't use default-bindings (bug#15317).
17283 Bind switch-frame explicitly. Replace universal-argument-minus with
17284 a conditional binding.
17285 (universal-argument-num-events, saved-overriding-map): Remove.
17286 (restore-overriding-map): Remove.
17287 (universal-argument--mode): Rename from save&set-overriding-map,
17289 (universal-argument, universal-argument-more, negative-argument)
17290 (digit-argument): Adjust accordingly.
17291 (universal-argument-minus): Remove.
17292 (universal-argument-other-key): Remove.
17294 * subr.el (with-demoted-errors): Add `format' argument.
17296 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
17298 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
17299 `tramp-cleanup-connection'.
17301 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
17302 parameters KEEP-DEBUG and KEEP-PASSWORD.
17304 * net/tramp.el (tramp-file-name-handler):
17305 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17306 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17307 (tramp-maybe-open-connection):
17308 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17309 Use `tramp-cleanup-connection'.
17311 * net/tramp-sh.el (tramp-maybe-open-connection):
17312 Catch 'uname-changed inside the progress reporter.
17314 2013-09-10 Glenn Morris <rgm@gnu.org>
17316 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
17318 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
17319 returns "alternate access method" in mode (eg "-rw-r--r--.").
17321 2013-09-08 Glenn Morris <rgm@gnu.org>
17323 * saveplace.el (load-save-place-alist-from-file):
17324 Demote errors. (Bug#15305)
17326 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
17328 Improve compatibility with older Emacsen, and XEmacs.
17330 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
17331 only if it is bound. It isn't for XEmacs.
17332 (with-tramp-progress-reporter): Do not let-bind `result'.
17333 This yields to scoping errors in XEmacs.
17334 (tramp-handle-make-auto-save-file-name): New function, moved from
17337 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
17338 for `make-auto-save-file-name'.
17339 (tramp-adb--gnu-switches-to-ash):
17340 Use `tramp-compat-replace-regexp-in-string'.
17342 * net/tramp-cache.el (tramp-cache-print): Call
17343 `substring-no-properties' only if it is bound. It isn't for XEmacs.
17345 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
17346 bound. It isn't for XEmacs.
17348 * net/tramp-compat.el (tramp-compat-copy-file):
17349 Catch `wrong-number-of-arguments' error.
17350 (tramp-compat-replace-regexp-in-string): New defun.
17352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
17353 for `make-auto-save-file-name'.
17354 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
17356 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
17357 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
17358 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
17360 * net/tramp-gw.el (tramp-gw-open-network-stream):
17361 Use `tramp-compat-replace-regexp-in-string'.
17363 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
17364 Call `tramp-handle-make-auto-save-file-name'.
17365 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
17366 (tramp-sh-file-gvfs-monitor-dir-process-filter)
17367 (tramp-sh-file-inotifywait-process-filter):
17368 Use `tramp-compat-replace-regexp-in-string'.
17369 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
17371 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
17372 for `make-auto-save-file-name'.
17373 (tramp-smb-handle-copy-directory):
17374 Call `tramp-compat-replace-regexp-in-string'.
17375 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
17376 (tramp-smb-handle-copy-file): Improve error message.
17377 (tramp-smb-handle-rename-file): Rename directly only in case
17378 `newname' does not exist yet. This is a restriction of smbclient.
17379 (tramp-smb-maybe-open-connection): Rerun the function only when
17380 `auth-sources' is non-nil.
17382 2013-09-08 Kenichi Handa <handa@gnu.org>
17384 * international/characters.el: Set category "^" (Combining) for
17387 2013-09-07 Alan Mackenzie <acm@muc.de>
17389 Correctly fontify Java class constructors.
17390 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
17392 (c-recognize-typeless-decls): Set the Java value to t.
17393 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17394 While handling a "(", add a check for, effectively, Java, and handle a
17395 "typeless" declaration there.
17397 2013-09-07 Roland Winkler <winkler@gnu.org>
17399 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
17400 field subtitle for entry type book.
17402 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17404 * minibuffer.el: Make minibuffer-complete call completion-in-region
17405 rather than other way around.
17406 (completion--some, completion-pcm--find-all-completions):
17407 Don't delay signals when debugging.
17408 (minibuffer-completion-contents): Beware fields within the
17409 minibuffer contents.
17410 (completion-all-sorted-completions): Use defvar-local.
17411 (completion--do-completion, completion--cache-all-sorted-completions)
17412 (completion-all-sorted-completions, minibuffer-force-complete):
17413 Add args `beg' and `end'.
17414 (completion--in-region-1): New fun, extracted from minibuffer-complete.
17415 (minibuffer-complete): Use completion-in-region.
17416 (completion-complete-and-exit): New fun, extracted from
17417 minibuffer-complete-and-exit.
17418 (minibuffer-complete-and-exit): Use it.
17419 (completion--complete-and-exit): Rename from
17420 minibuffer--complete-and-exit.
17421 (completion-in-region--single-word): New function, extracted from
17422 minibuffer-complete-word.
17423 (minibuffer-complete-word): Use it.
17424 (display-completion-list): Make `common-substring' argument obsolete.
17425 (completion--in-region): Call completion--in-region-1 instead of
17426 minibuffer-complete.
17427 (completion-help-at-point): Pass boundaries to
17428 minibuffer-completion-help as args rather than via an overlay.
17429 (completion-pcm--string->pattern): Use `any-delim'.
17430 (completion-pcm--optimize-pattern): New function.
17431 (completion-pcm--pattern->regex): Handle `any-delim'.
17432 * icomplete.el (icomplete-forward-completions)
17433 (icomplete-backward-completions, icomplete-completions):
17434 Adjust calls to completion-all-sorted-completions and
17435 completion--cache-all-sorted-completions.
17436 (icomplete-with-completion-tables): Default to t.
17437 * emacs-lisp/crm.el (crm--current-element): Rename from
17438 crm--select-current-element. Don't put an overlay but return the
17439 boundaries instead.
17440 (crm--completion-command): Take two new args to bind to the boundaries.
17441 (crm-completion-help): Adjust accordingly.
17442 (crm-complete): Use completion-in-region.
17443 (crm-complete-word): Use completion-in-region--single-word.
17444 (crm-complete-and-exit): Use completion-complete-and-exit.
17446 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17448 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
17451 2013-09-06 Juri Linkov <juri@jurta.org>
17453 * info.el (Info-display-images-node): When image file doesn't exist
17454 display text version of the image if it's provided in the Info file.
17455 Otherwise, display the location of missing image from SRC attribute.
17456 Add help-echo text property from ALT attribute. (Bug#15279)
17458 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
17460 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
17461 (edit-abbrevs-mode): Use define-derived-mode.
17463 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
17464 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
17466 (epa-key-list-mode, epa-key-mode, epa-info-mode):
17467 Use define-derived-mode.
17469 * epg.el (epg-start-encrypt): Minor CSE simplification.
17471 2013-09-06 William Xu <william.xwl@gmail.com>
17473 * arc-mode.el: Add support for 7za (bug#15264).
17474 (archive-7z-program): New var.
17475 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
17476 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
17477 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
17479 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
17483 * net/tramp.el (tramp-syntax, tramp-prefix-format)
17484 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
17485 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
17486 (tramp-postfix-host-format, tramp-file-name-regexp)
17487 (tramp-completion-file-name-regexp)
17488 (tramp-completion-dissect-file-name)
17489 (tramp-handle-substitute-in-file-name): Remove 'url case.
17490 (tramp-file-name-regexp-url)
17491 (tramp-completion-file-name-regexp-url): Remove constants.
17493 2013-09-06 Glenn Morris <rgm@gnu.org>
17495 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
17497 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
17499 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
17500 keywords" below "here-doc beginnings" (Bug#15270).
17502 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17504 * subr.el (pop): Use `car-safe'.
17505 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
17506 to detect unused `pop' return value.
17508 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
17509 var `block-regexp'.
17510 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
17511 (python-fill-string): Remove unused var `marker'.
17512 (python-skeleton-add-menu-items): Remove unused var `items'.
17514 * international/mule-cmds.el: Require CL.
17515 (find-coding-systems-for-charsets): Avoid add-to-list.
17516 (sanitize-coding-system-list): New function, extracted from
17517 select-safe-coding-system-interactively.
17518 (select-safe-coding-system-interactively): Use it.
17519 (read-input-method-name): Accept symbols for `default'.
17521 * emacs-lisp/advice.el (defadvice): Add indent rule.
17523 2013-09-05 Daniel Hackney <dan@haxney.org>
17527 * net/browse-url.el:
17530 * net/eudcb-ldap.el:
17534 * vc/ediff-diff.el:
17535 * vc/ediff-init.el:
17536 * vc/ediff-merg.el:
17537 * vc/ediff-mult.el:
17538 * vc/ediff-util.el:
17539 * vc/ediff-wind.el:
17543 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
17544 byte compiler. Remove some unused let-bound variables.
17546 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
17548 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
17549 a "ref-cell", since it gets better optimized (bug#14883).
17551 2013-09-05 Glenn Morris <rgm@gnu.org>
17553 * progmodes/cc-awk.el (c-forward-sws): Declare.
17555 2013-09-04 Glenn Morris <rgm@gnu.org>
17557 * generic-x.el [rul-generic-mode]: Require cc-mode.
17558 (c++-mode-syntax-table): Declare.
17559 (rul-generic-mode-syntax-table): Init in the defvar.
17561 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17563 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
17564 (vc-do-command, vc-set-async-update):
17565 * vc/vc-mtn.el (vc-mtn-dir-status):
17566 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
17567 (vc-hg-pull, vc-hg-merge-branch):
17568 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
17569 (vc-git-merge-branch):
17570 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
17571 (vc-cvs-dir-status-files):
17572 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
17573 (vc-bzr-dir-status-files):
17574 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
17575 * vc/vc-annotate.el: Use lexical-binding.
17576 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
17577 (vc-sentinel-movepoint): Declare.
17578 (vc-annotate): Don't use `goto-line'.
17579 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
17580 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
17581 (vc-sentinel-movepoint): Declare.
17582 * vc/vc-svn.el: Use lexical-binding.
17583 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
17585 * vc/vc-rcs.el: Use lexical-binding.
17587 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
17588 `deleted'. Don't drop errors silently.
17590 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
17592 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
17594 * vc/vc.el (vc-ignore): Rewrite.
17595 (vc-default-ignore): New function.
17596 (vc-default-ignore-completion-table): Use find-ignore-file.
17598 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
17599 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
17600 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
17601 Remove. Most code moved to vc.el.
17603 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
17605 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
17606 * net/tramp-smb.el (tramp-smb-get-file-entries):
17607 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
17608 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
17610 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
17612 (eww-change-select): Remove unused var `properties'.
17613 (eww-make-unique-file-name): Remove unused var `base'.
17615 * finder.el (finder-compile-keywords): Don't mess with windows.
17617 * calculator.el (calculator-funcall): Fix typo in last change.
17619 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
17621 * emacs-lisp/package.el (package-activate-1): Don't let a missing
17622 <pkg>-autoloads.el file stop us.
17624 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
17625 warnings, and factor out common code.
17627 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
17629 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
17630 two-character operators and whether the character preceding them
17631 changes their meaning (Bug#15208).
17633 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17635 Format code sent to Python shell for robustness.
17636 * progmodes/python.el (python-shell-buffer-substring):
17638 (python-shell-send-region, python-shell-send-buffer): Use it.
17640 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
17642 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
17643 * net/tramp.el (tramp-user-error): ... here.
17644 (tramp-find-method, tramp-check-proper-host)
17645 (tramp-dissect-file-name, tramp-debug-message)
17646 (tramp-handle-shell-command):
17647 * net/tramp-adb.el (tramp-adb-handle-shell-command):
17648 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
17650 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
17652 2013-09-02 Martin Rudalics <rudalics@gmx.at>
17654 * avoid.el (mouse-avoidance-point-position)
17655 (mouse-avoidance-too-close-p): Handle case where posn-at-point
17658 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
17660 * progmodes/python.el (python-shell-completion-get-completions):
17661 Drop use of deleted `comint-last-prompt-overlay'.
17662 (python-nav-if-name-main): New command.
17664 2013-09-01 Glenn Morris <rgm@gnu.org>
17666 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
17667 Avoid leading space in $wins. Otherwise the sed command used by
17668 eg compile-main ends up containing "/*.el". (Bug#15170)
17670 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
17672 2013-08-30 Glenn Morris <rgm@gnu.org>
17674 * emacs-lisp/bytecomp.el (byte-recompile-directory):
17675 Fix is-this-a-directory logic. (Bug#15220)
17677 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17679 * textmodes/css-mode.el: Use SMIE.
17680 (css-smie-grammar): New var.
17681 (css-smie--forward-token, css-smie--backward-token)
17682 (css-smie-rules): New functions.
17683 (css-mode): Use them.
17684 (css-navigation-syntax-table): Remove var.
17685 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
17686 (css-indent-calculate, css-indent-line): Remove functions.
17688 Misc changes to reduce use of `(lambda...); and other cleanups.
17689 * cus-edit.el: Use lexical-binding.
17690 (customize-push-and-save, customize-apropos)
17691 (custom-buffer-create-internal): Use closures.
17692 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
17693 * progmodes/ada-xref.el: Use setq.
17694 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
17695 * dframe.el: Use lexical-binding.
17696 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
17697 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
17698 * descr-text.el: Use lexical-binding.
17699 (describe-text-widget, describe-text-sexp, describe-property-list):
17701 * comint.el (comint-history-isearch-push-state): Use a closure.
17702 * calculator.el: Use lexical-binding.
17703 (calculator-number-to-string): Make it work with lexical-binding.
17704 (calculator-funcall): Same and use cl-letf.
17706 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
17707 (lisp--company-doc-string, lisp--company-location): New functions.
17708 (lisp-completion-at-point): Use them to improve Company support.
17710 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
17711 params of lambda expressions.
17712 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
17713 (ruby-smie--opening-pipe-p): New function.
17714 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
17715 symbols and matched |...| for formal params.
17716 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
17717 from being treated as hanging. Handle "rescue".
17719 2013-08-29 Glenn Morris <rgm@gnu.org>
17721 * progmodes/cc-engine.el (c-pull-open-brace):
17722 Move definition before use.
17724 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
17726 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
17727 are immutable. Don't use `unsafe' any more.
17728 (cl--defsubst-expand): Don't substitute at the same time as keeping
17729 a residual unused let-binding. Don't use `unsafe' any more.
17731 2013-08-29 Glenn Morris <rgm@gnu.org>
17733 * calendar/cal-china.el (calendar-chinese-year-cache):
17736 * nxml/nxml-util.el (nxml-debug-clear-inside):
17737 Use cl-loop rather than loop.
17739 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
17741 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
17743 2013-08-28 Glenn Morris <rgm@gnu.org>
17745 * progmodes/antlr-mode.el: No need to require cc-mode twice.
17747 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
17749 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
17751 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * simple.el (repeat-complex-command--called-interactively-skip):
17755 (repeat-complex-command): Use it (bug#14136).
17757 * progmodes/cc-mode.el: Minor cleanup of var declarations.
17758 (c-define-abbrev-table): Add `doc' argument.
17759 (c-mode-abbrev-table, c++-mode-abbrev-table)
17760 (objc-mode-abbrev-table, java-mode-abbrev-table)
17761 (idl-mode-abbrev-table, pike-mode-abbrev-table)
17762 (awk-mode-abbrev-table): Use it.
17763 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
17764 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
17765 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
17766 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
17767 Move initialization into the declaration; and remove any
17770 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
17771 and dynamic let binding.
17773 * vc/smerge-mode.el: Remove redundant :group args.
17775 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
17778 2013-08-28 Juri Linkov <juri@jurta.org>
17780 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
17781 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
17782 (isearch-other-meta-char): Handle an undefined shifted printing
17783 character by downshifting it. (Bug#15200)
17785 2013-08-28 Juri Linkov <juri@jurta.org>
17787 * isearch.el (isearch-search): Change regexp error message for
17788 non-regexp searches. (Bug#15166)
17790 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
17792 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
17793 for portability to hosts where /bin/sh has problems.
17795 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
17797 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
17799 2013-08-27 Juri Linkov <juri@jurta.org>
17801 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
17802 in the keyboard macro. (Bug#15126)
17804 2013-08-27 Juri Linkov <juri@jurta.org>
17806 * isearch.el (isearch-quote-char): Comment out converting unibyte
17807 to multibyte, thus syncing with its `quoted-insert' counterpart.
17810 2013-08-27 Martin Rudalics <rudalics@gmx.at>
17812 * window.el (display-buffer-use-some-window): Add missing
17813 argument in call of get-largest-window (Bug#15185).
17814 Reported by Stephen Leake.
17816 2013-08-27 Glenn Morris <rgm@gnu.org>
17818 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
17820 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
17822 * progmodes/python.el (python-font-lock-keywords): Don't return nil
17823 from a matcher-function unless there's no more matches (bug#15161).
17825 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17827 * minibuffer.el: Revert change from 2013-08-20.
17829 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
17830 with text property `tramp-default', if appropriate.
17831 (tramp-check-proper-host): New defun.
17832 (tramp-dissect-file-name): Do not check hostname. Revert change
17834 (tramp-backtrace): Make VEC-OR-PROC optional.
17836 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
17837 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
17838 * net/tramp-sh.el (tramp-maybe-open-connection):
17839 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
17840 Apply `tramp-check-proper-host'.
17842 2013-08-26 Tassilo Horn <tsdh@gnu.org>
17844 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
17845 lambda expression in order to have `describe-variable' display it.
17847 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
17849 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
17850 BUF can be optional. (Bug#15186)
17852 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
17854 * progmodes/flymake.el (flymake-get-real-file-name-function):
17855 Fix broken customization. (Bug#15184)
17857 2013-08-25 Alan Mackenzie <acm@muc.de>
17859 Improve indentation of bracelists defined by macros (without "=").
17861 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
17862 expansion begins with "{", regard it as bracelist when it doesn't
17865 Parse C++ inher-intro when there's a template split over 2 lines.
17867 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
17868 rigorously the search for "class" etc. followed by ":".
17870 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
17871 random languages a regexp which never matches rather than nil.
17873 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
17875 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
17876 (c-awk-regexp-one-line-possibly-open-char-list-re)
17877 (c-awk-one-line-possibly-open-regexp-re)
17878 (c-awk-one-line-non-syn-ws*-re): Remove.
17879 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
17880 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
17881 (c-awk-space*-unclosed-regexp-/-re): New constants.
17882 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
17883 aren't regexp delimiters.
17885 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
17886 handling for a rare situation in AWK Mode involving unterminated
17889 2013-08-23 Glenn Morris <rgm@gnu.org>
17891 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
17893 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
17895 * files.el (create-file-buffer): If the result would begin with
17896 spaces, prepend a "|" instead of removing them. (Bug#15162)
17898 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17900 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
17901 text-properties (bug#15155).
17903 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
17905 (calc-keypad-redraw): Remove unused var `pad'.
17906 (calc-keypad-press): Remove unused var `menu'.
17908 2013-08-23 Martin Rudalics <rudalics@gmx.at>
17910 * window.el (display-buffer-pop-up-frame):
17911 Call pop-up-frame-function with BUFFER current so `make-frame' will
17912 use it as the new frame's buffer (Bug#15133).
17914 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17916 * calendar/timeclock.el: Minor cleanups.
17917 (timeclock-ask-before-exiting, timeclock-use-display-time):
17919 (timeclock-modeline-display): Define as alias before the
17921 (timeclock-mode-line-display): Use define-minor-mode.
17922 (timeclock-day-list-template): Make it a function, add an argument.
17923 (timeclock-day-list-required, timeclock-day-list-length)
17924 (timeclock-day-list-debt, timeclock-day-list-span)
17925 (timeclock-day-list-break): Adjust calls accordingly.
17927 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
17929 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
17930 Use read--expression so that completion works again.
17932 2013-08-21 Sam Steingold <sds@gnu.org>
17934 Add rudimentary inferior shell interaction
17935 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
17936 (sh-set-shell): Reset it.
17937 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
17938 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
17940 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
17942 * align.el: Use lexical-binding.
17943 (align-region): Simplify accordingly.
17945 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
17947 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
17949 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
17950 `non-essential' up.
17952 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
17955 * net/tramp-adb.el:
17956 * net/tramp-cmds.el:
17957 * net/tramp-ftp.el:
17958 * net/tramp-gvfs.el:
17960 * net/tramp-sh.el: Don't wrap external variable declarations by
17961 `eval-when-compile'.
17963 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17965 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
17966 now that Emacs supports ImageMagick animations.
17968 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
17970 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
17971 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
17973 2013-08-16 Martin Rudalics <rudalics@gmx.at>
17975 * window.el (mouse-autoselect-window-select): Do autoselect when
17976 mouse pointer is on margin.
17978 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
17980 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
17982 2013-08-16 Glenn Morris <rgm@gnu.org>
17984 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
17985 Handle "Remote Directory" response of some clients. (Bug#15058)
17987 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
17988 Tweak warning. (Bug#14926)
17990 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
17991 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
17993 * image-mode.el (image-mode-map): Add menu items to reverse,
17994 increase, decrease, reset animation speed.
17995 (image--set-speed, image-increase-speed, image-decrease-speed)
17996 (image-reverse-speed, image-reset-speed): New functions.
17997 (image-mode-map): Add bindings for speed commands.
17999 * image.el (image-animate-get-speed, image-animate-set-speed):
18001 (image-animate-timeout): Respect image :speed property.
18003 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18005 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
18006 previous line (bug#15101).
18007 (debugger-eval-expression, debugger-record-expression):
18008 Use read--expression (bug#15102).
18010 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
18012 Remove byte compiler warnings, visible when compiling with
18013 `byte-compile-force-lexical-warnings' set to t.
18015 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
18016 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
18017 (tramp-handle-unhandled-file-name-directory)
18018 (tramp-handle-file-notify-add-watch, tramp-action-login)
18019 (tramp-action-succeed, tramp-action-permission-denied)
18020 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
18021 arguments with "_".
18023 * net/tramp-adb.el (tramp-adb-parse-device-names)
18024 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
18025 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
18026 (tramp-adb-handle-file-truename): Remove unused arguments.
18028 * net/tramp-cache.el (tramp-flush-directory-property)
18029 (tramp-flush-connection-property, tramp-list-connections)
18030 (tramp-parse-connection-properties): Prefix unused arguments with "_".
18032 * net/tramp-compat.el (tramp-compat-make-temp-file):
18033 Rename FILENAME to F.
18035 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
18036 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
18037 (tramp-zeroconf-parse-workstation-device-names)
18038 (tramp-zeroconf-parse-webdav-device-names)
18039 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
18041 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
18042 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
18044 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
18046 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
18047 (tramp-sh-handle-insert-file-contents-literally)
18048 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
18050 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
18051 Remove unused variables.
18053 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
18054 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
18055 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
18057 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
18058 Make them a defconst.
18059 (tramp-uuencode-region): Remove unused variable.
18061 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
18063 * frameset.el (frameset--prop-setter): New function.
18064 (frameset-prop): Add gv-setter declaration.
18065 (frameset-filter-minibuffer): Deal with the case that the minibuffer
18066 parameter was already set in FILTERED. Doc fix.
18067 (frameset--record-minibuffer-relationships): Allow saving a
18068 minibufferless frame without its corresponding minibuffer frame.
18069 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
18070 frame, if the frame id matches.
18071 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
18072 frames before orphaned ones.
18073 (frameset-restore): Warn about orphaned windows, instead of error out.
18075 2013-08-14 Martin Rudalics <rudalics@gmx.at>
18077 * window.el (window-make-atom): Don't overwrite parameter
18079 (display-buffer-in-atom-window): Handle special case where we
18080 split an already atomic window.
18081 (window--major-non-side-window, display-buffer-in-side-window)
18082 (window--side-check): Ignore minibuffer window when walking
18084 (window-deletable-p): Return 'frame only if no other frame uses
18085 our minibuffer window.
18086 (record-window-buffer): Run buffer-list-update-hook.
18087 (split-window): Make sure window--check-frame won't destroy an
18088 existing atomic window in case the new window gets nested
18090 (display-buffer-at-bottom): Ignore minibuffer window when
18091 walking window tree. Don't split a side window.
18092 (pop-to-buffer): Don't set-buffer here, the select-window call
18094 (mouse-autoselect-window-select): Autoselect only if we are in the
18095 text portion of the window.
18097 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
18099 * net/shr.el (shr-parse-image-data): New function to grab both the
18100 data itself and the Content-Type.
18101 (shr-put-image): Use it.
18103 * net/eww.el (eww-display-image): Ditto.
18105 * image.el (image-content-type-suffixes): New variable.
18107 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
18109 * progmodes/python.el (python-imenu--build-tree)
18110 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
18112 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
18114 * simple.el (backward-word): Mention the optional argument.
18116 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18118 * frameset.el (frameset--make): Rename constructor from make-frameset.
18119 (frameset-p, frameset-valid-p): Don't autoload.
18120 (frameset-valid-p): Use normal accessors.
18122 2013-08-13 Glenn Morris <rgm@gnu.org>
18124 * progmodes/compile.el (compile-command): Tweak example in doc.
18125 * obsolete/scribe.el (scribe-mode):
18126 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
18128 * mail/feedmail.el (feedmail-confirm-outgoing)
18129 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
18131 * cus-start.el (truncate-partial-width-windows): Fix type.
18133 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
18135 * net/shr.el (shr-table-horizontal-line): Fix custom type.
18137 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
18139 * emacs-lisp/timer.el (timer--time-setter): New function.
18140 (timer--time): Use it as gv-setter.
18142 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
18143 setter is not a symbol.
18145 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
18147 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
18148 if sending fails. This makes debugging easier.
18150 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
18152 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
18153 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
18154 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
18156 2013-08-12 Eli Zaretskii <eliz@gnu.org>
18158 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
18160 2013-08-12 Glenn Morris <rgm@gnu.org>
18162 * format.el (format-annotate-function):
18163 Handle read-only text properties in the source. (Bug#14887)
18165 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18167 * net/eww.el (eww-display-html): Ignore coding system errors.
18168 One web site uses "utf-8lias" as the coding system.
18170 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
18172 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
18174 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
18176 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
18177 (tutorial--detailed-help): Remove unused local variables.
18178 (tutorial--save-tutorial-to): Use ignore-errors.
18179 (help-with-tutorial): Use looking-at-p.
18181 * view.el (view-buffer-other-window, view-buffer-other-frame):
18182 Mark unused arguments.
18184 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
18185 (woman-select-symbol-fonts, woman, woman-find-file)
18186 (woman-insert-file-contents, woman-non-underline-faces):
18187 Use string-match-p.
18188 (woman1-unquote): Move declaration.
18190 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
18191 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
18192 argument. Remove unused local variable.
18193 (xml-parse-elem-type): Use string-match-p.
18194 (xml-substitute-numeric-entities): Use ignore-errors.
18196 * calculator.el (calculator): Mark unused argument.
18197 (calculator-paste, calculator-quit, calculator-integer-p):
18199 (calculator-string-to-number, calculator-decimal, calculator-exp)
18200 (calculator-op-or-exp): Use string-match-p.
18202 * dired.el (dired-buffer-more-recently-used-p): Declare.
18203 (dired-insert-set-properties, dired-insert-old-subdirs):
18206 * dired-aux.el (dired-compress): Use ignore-errors.
18207 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
18208 (dired-do-async-shell-command, dired-do-shell-command)
18209 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
18210 (dired-insert-subdir-validate): Use string-match-p.
18211 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
18212 (dired-add-entry): Use string-match-p, looking-at-p.
18213 (dired-insert-subdir-newpos): Remove unused local variable.
18215 * filenotify.el (file-notify-callback): Remove unused local variable.
18217 * filesets.el (filesets-error): Mark unused argument.
18218 (filesets-which-command-p, filesets-filter-dir-names)
18219 (filesets-directory-files, filesets-get-external-viewer)
18220 (filesets-ingroup-get-data): Use string-match-p.
18222 * find-file.el (ff-other-file-name, ff-other-file-name)
18223 (ff-find-the-other-file, ff-cc-hh-converter):
18224 Remove unused local variables.
18225 (ff-get-file-name): Use string-match-p.
18226 (ff-all-dirs-under): Use ignore-errors.
18228 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
18229 (follow-select-if-visible): Remove unused local variable.
18231 * forms.el (read-file-filter): Move declaration.
18232 (forms--make-format, forms--make-parser, forms-insert-record):
18233 Quote function with #'.
18234 (forms--update): Use string-match-p. Quote function with #'.
18236 * help-mode.el (help-dir-local-var-def): Mark unused argument.
18237 (help-make-xrefs): Use looking-at-p.
18238 (help-xref-on-pp): Use looking-at-p, ignore-errors.
18240 * ibuffer.el (ibuffer-ext-visible-p): Declare.
18241 (ibuffer-confirm-operation-on): Use string-match-p.
18243 * msb.el (msb-item-handler, msb-dired-item-handler):
18244 Mark unused arguments.
18246 * ses.el (ses-decode-cell-symbol)
18247 (ses-kill-override): Remove unused local variable.
18248 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
18249 (ses-load): Use ignore-errors, looking-at-p.
18250 (ses-jump-safe): Use ignore-errors.
18251 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
18253 * tabify.el (untabify, tabify): Mark unused arguments.
18255 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
18256 Mark unused argument.
18257 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
18258 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
18260 * emacs-lisp/timer.el (timer--time): Define setter with
18261 gv-define-setter to avoid deprecation warning.
18263 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
18264 (*record-cmpl-statistics-p*): Remove (was commented out).
18265 (cmpl-statistics-block): Remove (body was commented out).
18266 All callers changed.
18267 (add-completions-from-buffer, load-completions-from-file):
18268 Remove unused variables.
18270 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
18272 * filecache.el (file-cache-delete-file-list):
18273 Print message only when told so.
18274 (file-cache-files-matching): Use #' in mapconcat argument.
18276 * ffap.el (ffap-url-at-point): Fix reference to variable
18277 thing-at-point-default-mail-uri-scheme.
18279 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
18281 * subr.el (define-error): New function.
18282 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
18283 error-file-not-found and define with define-error.
18284 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
18285 and define with define-error.
18286 * userlock.el (file-locked, file-supersession):
18287 * simple.el (mark-inactive):
18288 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
18289 * progmodes/ada-mode.el (ada-mode-errors):
18290 * play/life.el (life-extinct):
18291 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
18292 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
18293 * nxml/rng-util.el (rng-error):
18294 * nxml/rng-uri.el (rng-uri-error):
18295 * nxml/rng-match.el (rng-compile-error):
18296 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
18297 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
18298 * nxml/nxml-rap.el (nxml-scan-error):
18299 * nxml/nxml-outln.el (nxml-outline-error):
18300 * net/soap-client.el (soap-error):
18301 * net/gnutls.el (gnutls-error):
18302 * net/ange-ftp.el (ftp-error):
18303 * mpc.el (mpc-proc-error):
18304 * json.el (json-error, json-readtable-error, json-unknown-keyword)
18305 (json-number-format, json-string-escape, json-string-format)
18306 (json-key-format, json-object-format):
18307 * jka-compr.el (compression-error):
18308 * international/quail.el (quail-error):
18309 * international/kkc.el (kkc-error):
18310 * emacs-lisp/ert.el (ert-test-failed):
18311 * calc/calc.el (calc-error, inexact-result, math-overflow)
18313 * bookmark.el (bookmark-error-no-filename):
18314 * epg.el (epg-error): Define with define-error.
18316 * time.el (display-time-event-handler)
18317 (display-time-next-load-average): Don't call sit-for since it seems
18318 unnecessary (bug#15045).
18320 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
18321 Use #' instead of ' to quote functions.
18322 (checkdoc-output-mode): Use setq-local.
18323 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
18324 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
18325 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
18326 (checkdoc-ispell, checkdoc-ispell-current-buffer)
18327 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
18328 (checkdoc-ispell-message-text, checkdoc-ispell-start)
18329 (checkdoc-ispell-continue, checkdoc-ispell-comments)
18330 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
18332 * ido.el (ido-completion-help): Fix up compiler warning.
18334 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
18336 * frameset.el (frameset-p): Add autoload cookie.
18337 (frameset--jump-to-register): New function, based on code moved from
18339 (frameset-to-register): Move from register.el. Adapt to `registerv'.
18341 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
18342 (frameset-restore, frameset-save, frameset-session-filter-alist):
18343 Remove declarations.
18344 (register-alist): Doc fix.
18345 (frameset-to-register): Move to frameset.el.
18346 (jump-to-register, describe-register-1): Remove frameset-specific code.
18348 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18350 * allout-widgets.el (allout-widgets-pre-command-business)
18351 (allout-widgets-post-command-business)
18352 (allout-widgets-after-change-handler)
18353 (allout-decorate-item-and-context, allout-set-boundary-marker)
18354 (allout-body-modification-handler)
18355 (allout-graphics-modification-handler): Mark ignored arguments.
18356 (allout-widgets-post-command-business)
18357 (allout-widgets-exposure-change-processor)
18358 (allout-widgets-exposure-undo-processor)
18359 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
18360 (allout-parse-item-at-point, allout-decorate-item-guides)
18361 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
18362 * allout.el (epa-passphrase-callback-function): Declare.
18363 (allout-overlay-insert-in-front-handler)
18364 (allout-overlay-interior-modification-handler)
18365 (allout-isearch-end-handler, allout-chart-siblings)
18366 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
18367 (allout-yank-processing, allout-process-exposed)
18368 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
18369 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
18370 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
18371 (lisp-indent-defform): Mark ignored arguments.
18372 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
18373 (calculate-lisp-indent): Remove unused variables.
18374 * international/characters.el (indian-2-column, arabic-2-column)
18375 (tibetan): Mark ignored arguments.
18376 (use-cjk-char-width-table): Mark ignored arguments.
18377 Remove unused variables.
18378 * international/fontset.el (build-default-fontset-data)
18379 (x-compose-font-name, create-fontset-from-fontset-spec):
18380 Mark ignored arguments.
18381 (fontset-plain-name): Remove unused variables.
18382 * international/mule.el (charset-id, charset-bytes, generic-char-p)
18383 (keyboard-coding-system): Mark ignored arguments.
18384 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
18385 * help.el (resize-temp-buffer-window):
18386 * window.el (display-buffer-in-major-side-window)
18387 (display-buffer-in-side-window, display-buffer-in-previous-window):
18388 Remove unused variables.
18389 * isearch.el (isearch-forward-symbol):
18390 * version.el (emacs-bzr-version-bzr):
18391 * international/mule-cmds.el (current-language-environment):
18392 * term/common-win.el (x-handle-iconic, x-handle-geometry)
18393 (x-handle-display):
18394 * term/pc-win.el (x-list-fonts, x-display-planes)
18395 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
18396 (x-server-version, x-display-screens, x-display-mm-height)
18397 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
18398 (x-selection-owner-p, x-own-selection-internal)
18399 (x-disown-selection-internal, x-get-selection-internal)
18400 (msdos-initialize-window-system):
18401 * term/tty-colors.el (tty-color-alist, tty-color-clear):
18402 * term/x-win.el (x-handle-no-bitmap-icon):
18403 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
18404 (vc-default-find-file-hook, vc-default-extra-menu):
18405 Mark ignored arguments.
18407 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18409 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
18410 break-condition in the context of the debugged code (bug#12685).
18412 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
18415 Do not use an overlay to highlight the last prompt. (Bug#14744)
18416 (comint-mode): Make comint-last-prompt buffer local.
18417 (comint-last-prompt): New variable.
18418 (comint-last-prompt-overlay): Remove. Superseded by
18419 comint-last-prompt.
18420 (comint-snapshot-last-prompt, comint-output-filter):
18421 Use comint-last-prompt.
18423 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18425 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
18426 (frameset-save): Check validity of the resulting frameset.
18428 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
18430 * ido.el (ido-record-command): Add doc string.
18432 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18434 * frameset.el (frameset): Do not disable creation of the default
18435 frameset-p predicate. Doc fix.
18436 (frameset-valid-p): New function, copied from the old predicate-p.
18437 Add additional checks.
18438 (frameset-restore): Check with frameset-valid-p.
18439 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
18440 (frameset-name, frameset-description, frameset-properties)
18441 (frameset-states): Add docstring.
18442 (frameset-session-filter-alist, frameset-persistent-filter-alist)
18443 (frameset-filter-alist): Doc fixes.
18445 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18447 * frameset.el (frameset-p, frameset-prop): Doc fixes.
18449 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
18451 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
18452 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
18453 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
18454 (byte-compile-normal-call): Remove obsolescence check.
18456 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
18458 * frameset.el (frameset-restore): Doc fix.
18460 * register.el (frameset-frame-id, frameset-frame-with-id)
18461 (frameset-p, frameset-restore, frameset-save): Declare.
18462 (register-alist): Document framesets.
18463 (frameset-session-filter-alist): Declare.
18464 (frameset-to-register): New function.
18465 (jump-to-register): Implement jumping to framesets. Doc fix.
18466 (describe-register-1): Describe framesets.
18468 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
18470 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
18472 * desktop.el (desktop-save-frameset): Use new frameset-save args.
18473 Use lexical-binding.
18475 * frameset.el (frameset): Use type vector, not list (incompatible
18476 change). Do not declare a new constructor, use the default one.
18477 Upgrade suggested properties `app', `name' and `desc' to slots `app',
18478 `name' and `description', respectively, and add read-only slot
18479 `timestamp'. Doc fixes.
18480 (frameset-copy, frameset-persistent-filter-alist)
18481 (frameset-filter-alist, frameset-switch-to-gui-p)
18482 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
18483 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
18484 (frameset-filter-iconified, frameset-keep-original-display-p):
18486 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
18487 Rename from frameset-filter-(save|restore)-param. All callers changed.
18489 (frameset-p): Adapt to change to vector and be more thorough.
18490 Change arg name to OBJECT. Doc fix.
18491 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
18492 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
18493 All callers changed.
18494 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
18495 All callers changed.
18496 (frameset--record-minibuffer-relationships): Rename from
18497 frameset--process-minibuffer-frames. All callers changed.
18498 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
18499 Use new default constructor (again). Doc fix.
18500 (frameset--find-frame-if): Rename from `frameset--find-frame'.
18501 All callers changed.
18502 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
18503 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
18505 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
18506 PARAMETERS and WINDOW-STATE, respectively.
18507 (frameset-restore): Add new keyword argument PREDICATE.
18508 Reset frameset--target-display to nil. Doc fix.
18510 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18512 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
18513 (bat-mode): Use it.
18514 (bat-mode-syntax-table): Mark \n as end-of-comment.
18515 (bat-font-lock-keywords): Remove comment rule.
18517 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
18518 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
18520 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
18521 (byte-compile-callargs-warn): Use `push'.
18522 (byte-compile-arglist-warn): Ignore higher-order "calls".
18523 (byte-compile-file-form-autoload): Use `pcase'.
18524 (byte-compile-function-form): If quoting a symbol, check that it exists.
18526 2013-08-07 Eli Zaretskii <eliz@gnu.org>
18528 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
18529 and add a few popular commands found in batch files.
18530 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
18531 (dos-mode): Doc fixes.
18533 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
18535 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
18536 (dos-mode): Use setq-local. Add space after "rem".
18537 (dos-mode-syntax-table): Don't use "w" for symbol chars.
18538 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
18540 2013-08-07 Arni Magnusson <arnima@hafro.is>
18542 * progmodes/dos.el: New file.
18543 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
18546 2013-08-06 Glenn Morris <rgm@gnu.org>
18548 * calendar/calendar.el: Add new faces, and day-header-array.
18549 (calendar-weekday-header, calendar-weekend-header)
18550 (calendar-month-header): New faces.
18551 (calendar-day-header-construct): New function.
18552 (calendar-day-header-width): Also :set calendar-day-header-array.
18553 (calendar-american-month-header, calendar-european-month-header)
18554 (calendar-iso-month-header): Use calendar- faces.
18555 (calendar-generate-month):
18556 Use calendar-day-header-array for day headers; apply faces to them.
18557 (calendar-mode): Check calendar-font-lock-keywords non-nil.
18558 (calendar-abbrev-construct): Add optional maxlen argument.
18559 (calendar-day-name-array): Doc fix.
18560 (calendar-day-name-array, calendar-abbrev-length)
18561 (calendar-day-abbrev-array):
18562 Also :set calendar-day-header-array, and maybe redraw.
18563 (calendar-day-header-array): New option. (Bug#15007)
18564 (calendar-font-lock-keywords): Set to nil and make obsolete.
18565 (calendar-day-name): Add option to use header array.
18567 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18569 * net/shr.el (shr-render-td): Remove debugging.
18570 (shr-render-td): Make width computation consistent by defaulting
18571 all zero-width columns to 10 characters. This may not be optimal,
18572 but it's at least consistent.
18573 (shr-make-table-1): Redo last change to fix the real problem in
18576 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18578 * files.el (cache-long-line-scans):
18579 Make obsolete alias to `cache-long-scans'.
18581 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18583 * frameset.el (frameset, frameset-filter-alist)
18584 (frameset-filter-params, frameset-save, frameset--reuse-frame)
18585 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
18586 (frameset-compute-pos): Rename from frameset--compute-pos,
18588 (frameset-move-onscreen): Use frameset-compute-pos.
18589 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18591 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
18592 Fix typos in docstrings.
18594 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
18596 * frame.el (get-other-frame): Tiny cleanup.
18598 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
18600 * vc/vc.el (vc-default-ignore-completion-table):
18601 Silence byte-compiler warning.
18603 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
18604 slot, which can indeed be nil.
18605 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18606 Move entry for `left' from persistent to live filter alist.
18607 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
18609 (frameset-filter-params): When restoring a frame, copy items added to
18610 `filtered', to avoid unwittingly modifying the original parameters.
18611 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
18612 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
18614 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
18615 to use looking-at-p instead of looking-at. (Bug#15028)
18617 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18619 Revert introduction of isearch-filter-predicates (bug#14714).
18620 Rely on add-function instead.
18621 * isearch.el (isearch-filter-predicates): Rename it back to
18622 isearch-filter-predicate.
18623 (isearch-message-prefix): Use advice-function-mapc and advice
18624 properties to get the isearch-message-prefix.
18625 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
18626 instead of run-hook-with-args-until-failure.
18627 (isearch-filter-visible): Not obsolete any more.
18628 * loadup.el: Preload nadvice.
18629 * replace.el (perform-replace): Revert to funcall
18630 instead of run-hook-with-args-until-failure.
18631 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
18632 * dired-aux.el (dired-isearch-filenames-mode): Rename from
18633 dired-isearch-filenames-toggle; make it into a proper minor mode.
18634 Use add/remove-function.
18635 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
18636 Call the minor-mode rather than add/remove-hook.
18637 (dired-isearch-filter-filenames):
18638 Remove isearch-message-prefix property.
18639 * info.el (Info--search-loop): New function, extracted from Info-search.
18640 Funcall isearch-filter-predicate instead of
18641 run-hook-with-args-until-failure isearch-filter-predicates.
18642 (Info-search): Use it.
18643 (Info-mode): Use isearch-filter-predicate instead of
18644 isearch-filter-predicates.
18646 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18648 Do not call to `selected-window' where it is assumed by default.
18649 Affected functions are `window-minibuffer-p', `window-dedicated-p',
18650 `window-hscroll', `window-width', `window-height', `window-buffer',
18651 `window-frame', `window-start', `window-point', `next-window'
18652 and `window-display-table'.
18653 * abbrev.el (abbrev--default-expand):
18654 * bs.el (bs--show-with-configuration):
18655 * buff-menu.el (Buffer-menu-mouse-select):
18656 * calc/calc.el (calc):
18657 * calendar/calendar.el (calendar-generate-window):
18658 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
18659 (diary-make-entry):
18660 * comint.el (send-invisible, comint-dynamic-complete-filename)
18661 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
18662 * completion.el (complete):
18663 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
18664 * disp-table.el (describe-current-display-table):
18665 * doc-view.el (doc-view-insert-image):
18666 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
18667 * ehelp.el (with-electric-help):
18668 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18669 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
18670 * emacs-lisp/helper.el (Helper-help-scroller):
18671 * emulation/cua-base.el (cua--post-command-handler-1):
18672 * eshell/esh-mode.el (eshell-output-filter):
18673 * ffap.el (ffap-gnus-wrapper):
18674 * help-macro.el (make-help-screen):
18675 * hilit-chg.el (highlight-compare-buffers):
18676 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
18677 * hl-line.el (global-hl-line-highlight):
18678 * icomplete.el (icomplete-simple-completing-p):
18679 * isearch.el (isearch-done):
18680 * jit-lock.el (jit-lock-stealth-fontify):
18681 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
18682 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
18683 * mpc.el (mpc-tagbrowser, mpc):
18684 * net/rcirc.el (rcirc-any-buffer):
18685 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
18686 * play/landmark.el (landmark-max-width, landmark-max-height):
18687 * play/zone.el (zone):
18688 * progmodes/compile.el (compilation-goto-locus):
18689 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
18690 * progmodes/etags.el (find-tag-other-window):
18691 * progmodes/fortran.el (fortran-column-ruler):
18692 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
18693 * progmodes/verilog-mode.el (verilog-point-text):
18694 * reposition.el (reposition-window):
18695 * rot13.el (toggle-rot13-mode):
18696 * server.el (server-switch-buffer):
18697 * shell.el (shell-dynamic-complete-command)
18698 (shell-dynamic-complete-environment-variable):
18699 * simple.el (insert-buffer, set-selective-display)
18700 (delete-completion-window):
18701 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
18702 (speedbar-recenter):
18703 * startup.el (fancy-splash-head):
18704 * textmodes/ispell.el (ispell-command-loop):
18705 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
18706 * tutorial.el (help-with-tutorial):
18707 * vc/add-log.el (add-change-log-entry):
18708 * vc/compare-w.el (compare-windows):
18709 * vc/ediff-help.el (ediff-indent-help-message):
18710 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
18711 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
18712 (ediff-setup-control-frame):
18713 * vc/emerge.el (emerge-position-region):
18714 * vc/pcvs-util.el (cvs-bury-buffer):
18715 * window.el (walk-windows, mouse-autoselect-window-select):
18716 * winner.el (winner-set-conf, winner-undo): Related users changed.
18718 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18720 * frameset.el (frameset--set-id): Doc fix.
18721 (frameset-frame-id, frameset-frame-id-equal-p)
18722 (frameset-locate-frame-id): New functions.
18723 (frameset--process-minibuffer-frames, frameset--reuse-frame)
18724 (frameset-restore): Use them.
18726 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
18728 Do not call to `selected-frame' where it is assumed by default.
18729 Affected functions are `raise-frame', `redraw-frame',
18730 `frame-first-window', `frame-terminal' and `delete-frame'.
18731 * calendar/appt.el (appt-disp-window):
18732 * epg.el (epg-wait-for-completion):
18733 * follow.el (follow-delete-other-windows-and-split)
18734 (follow-avoid-tail-recenter):
18735 * international/mule.el (set-terminal-coding-system):
18736 * mail/rmail.el (rmail-mail-return):
18737 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
18738 * progmodes/f90.el (f90-add-imenu-menu):
18739 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
18740 * server.el (server-switch-buffer):
18741 * simple.el (delete-completion-window):
18743 * term/xterm.el (terminal-init-xterm-modify-other-keys)
18744 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
18745 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
18746 * vc/ediff.el (ediff-documentation): Related users changed.
18747 * frame.el (selected-terminal): Remove the leftover.
18749 2013-08-05 Glenn Morris <rgm@gnu.org>
18751 * calendar/calendar.el (calendar-generate-month):
18752 Fix for calendar-column-width != 1 + calendar-day-digit-width.
18753 (calendar-generate-month, calendar-font-lock-keywords):
18754 Fix for calendar-day-header-width > length of any day name.
18756 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
18758 * desktop.el (desktop-clear): Use new name of sort predicate.
18760 * frameset.el (frameset): Add docstring. Move :version property to its
18761 own `version' slot.
18762 (frameset-copy): Rename from copy-frameset.
18763 (frameset-p): Check more thoroughly.
18764 (frameset-prop): Do not check for :version, which is no longer a prop.
18765 (frameset-live-filter-alist, frameset-persistent-filter-alist):
18766 Use new :never value instead of t.
18767 (frameset-filter-alist): Expand and clarify docstring.
18768 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
18769 (frameset-filter-minibuffer, frameset-filter-save-param)
18770 (frameset-filter-restore-param, frameset-filter-iconified):
18771 Add pointer to docstring of frameset-filter-alist.
18772 (frameset-filter-params): Rename filter values to be more meaningful:
18773 :never instead of t, and reverse the meanings of :save and :restore.
18774 (frameset--process-minibuffer-frames): Clarify error message.
18775 (frameset-save): Avoid unnecessary and confusing call to framep.
18776 Use new BOA constructor for framesets.
18777 (frameset--reuse-list): Doc fix.
18778 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
18779 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
18780 (frameset-minibufferless-first-p): Doc fix.
18781 Rename from frameset-sort-frames-for-deletion.
18782 (frameset-restore): Doc fixes. Use new function names.
18783 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
18785 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18787 * desktop.el (desktop-restore-forces-onscreen)
18788 (desktop-restore-reuses-frames): Document :keyword constant values.
18789 (desktop-filter-parameters-alist): Remove, now identical to
18790 frameset-filter-alist.
18791 (desktop--filter-tty*): Remove, moved to frameset.el.
18792 (desktop-save-frameset, desktop-restore-frameset):
18793 Do not pass :filters argument.
18795 * frameset.el (frameset-live-filter-alist)
18796 (frameset-persistent-filter-alist): New variables.
18797 (frameset-filter-alist): Use them. Add autoload cookie.
18798 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
18799 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
18800 `frameset--id' (it's supposed to be internal to frameset.el).
18801 (frameset--process-minibuffer-frames): Ditto. Doc fix.
18802 (frameset--initial-params): New function.
18803 (frameset--get-frame): Use it. Doc fix.
18804 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
18805 Accept :all, not 'all.
18806 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
18807 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
18808 with fbound symbols. Fix frame id matching, and remove matching ids if
18809 the frame being restored is deleted. Obey :delete.
18811 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18813 * subr.el (macrop): New function.
18814 (text-clone--maintaining): New var.
18815 (text-clone--maintain): Rename from text-clone-maintain. Use it
18816 instead of inhibit-modification-hooks.
18818 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
18819 a proxy, so as handle autoloads and redefinitions of the target.
18820 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
18822 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
18823 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
18824 (pcase--mutually-exclusive-p): New function.
18825 (pcase--split-consp): Use it.
18826 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
18827 mutually exclusive with the current predicate.
18829 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
18830 (edebug-macrop): Remove. Use `macrop' instead.
18831 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
18833 * eshell/esh-cmd.el (eshell-macrop):
18834 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
18836 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
18838 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
18839 (advice-mapc): New function, using it.
18840 (advice-function-member-p): New function.
18841 (advice--normalize): Store the cdr in advice--saved-rewrite since
18842 that's the part that will be changed.
18843 (advice--symbol-function): New function.
18844 (advice-remove): Handle removal before the function is defined.
18845 Adjust to new advice--saved-rewrite.
18846 (advice-member-p): Use advice-function-member-p and
18847 advice--symbol-function.
18849 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
18851 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
18852 (frameset-filter-minibuffer): Doc fix.
18853 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
18854 (frameset--set-id, frameset--process-minibuffer-frames)
18855 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
18856 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
18858 * desktop.el (desktop-clear): Only delete frames when called
18859 interactively and desktop-restore-frames is non-nil. Doc fix.
18860 (desktop-read): Set desktop-saved-frameset to nil.
18862 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
18864 * vc/vc.el (vc-ignore): Rewrite.
18865 (vc-default-ignore-completion-table, vc--read-lines)
18866 (vc--add-line, vc--remove-regexp): New functions.
18868 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
18869 (vc-svn-ignore-completion-table): New function.
18871 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
18872 (vc-hg-ignore-completion-table)
18873 (vc-hg-find-ignore-file): New functions.
18875 * vc/vc-git.el (vc-git-ignore): Rewrite.
18876 (vc-git-ignore-completion-table)
18877 (vc-git-find-ignore-file): New functions.
18879 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
18881 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
18882 (vc-bzr-ignore-completion-table)
18883 (vc-bzr-find-ignore-file): New functions.
18885 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
18887 * frameset.el (frameset-prop): New function and setter.
18888 (frameset-save): Do not modify frame list passed by the caller.
18890 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18892 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
18894 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
18896 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
18897 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
18899 * custom.el (custom-initialize-default, custom-initialize-set)
18900 (custom-initialize-reset, custom-initialize-changed): Affect the
18901 toplevel-default-value (bug#6275, bug#14586).
18902 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
18905 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18907 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
18908 Add cl-def* expressions.
18910 * frameset.el (frameset-filter-params): Fix order of arguments.
18912 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
18914 Move code related to saving frames to frameset.el.
18915 * desktop.el: Require frameset.
18916 (desktop-restore-frames): Doc fix.
18917 (desktop-restore-reuses-frames): Rename from
18918 desktop-restoring-reuses-frames.
18919 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
18920 (desktop-clear): Clear frames too.
18921 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
18922 (desktop--filter-tty*, desktop-save, desktop-read):
18923 Use frameset functions.
18924 (desktop-before-saving-frames-functions, desktop--filter-*-color)
18925 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
18926 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
18927 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
18928 (desktop--process-minibuffer-frames, desktop-save-frames)
18929 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
18930 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
18931 (desktop--sort-states, desktop-restoring-frames-p)
18932 (desktop-restore-frames): Remove. Most code moved to frameset.el.
18933 (desktop-restoring-frameset-p, desktop-restore-frameset)
18934 (desktop--check-dont-save, desktop-save-frameset): New functions.
18935 (desktop--app-id): New constant.
18936 (desktop-first-buffer, desktop-buffer-ok-count)
18937 (desktop-buffer-fail-count): Move before first use.
18938 * frameset.el: New file.
18940 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18942 * files.el: Use lexical-binding.
18943 (dir-locals-read-from-file): Remove unused `err' variable.
18944 (hack-dir-local-variables--warned-coding): New var.
18945 (hack-dir-local-variables): Use it to avoid repeated warnings.
18946 (make-backup-file-name--default-function): New function.
18947 (make-backup-file-name-function): Use it as default.
18948 (buffer-stale--default-function): New function.
18949 (buffer-stale-function): Use it as default.
18950 (revert-buffer-insert-file-contents--default-function): New function.
18951 (revert-buffer-insert-file-contents-function): Use it as default.
18952 (insert-directory): Avoid add-to-list.
18954 * autorevert.el (auto-revert-handler): Simplify.
18955 Use buffer-stale--default-function.
18957 2013-08-01 Tassilo Horn <tsdh@gnu.org>
18959 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
18961 * whitespace.el (whitespace-ensure-local-variables): New function.
18962 (whitespace-cleanup-region): Call it.
18963 (whitespace-turn-on): Call it.
18965 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
18967 Complete file name handlers.
18969 * net/tramp.el (tramp-handle-set-visited-file-modtime)
18970 (tramp-handle-verify-visited-file-modtime)
18971 (tramp-handle-file-notify-rm-watch): New functions.
18972 (tramp-call-process): Do not bind `default-directory'.
18974 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
18975 Order alphabetically.
18976 <access-file, add-name-to-file, dired-call-process>:
18977 <dired-compress-file, file-acl, file-notify-rm-watch>:
18978 <file-ownership-preserved-p, file-selinux-context>:
18979 <make-directory-internal, make-symbolic-link, set-file-acl>:
18980 <set-file-selinux-context, set-visited-file-modtime>:
18981 <verify-visited-file-modtime>: Add handler.
18982 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
18984 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
18985 <file-notify-add-watch, file-notify-rm-watch>:
18986 <set-file-times, set-visited-file-modtime>:
18987 <verify-visited-file-modtime>: Add handler.
18988 (with-tramp-gvfs-error-message)
18989 (tramp-gvfs-handle-set-visited-file-modtime)
18990 (tramp-gvfs-fuse-file-name): Remove.
18991 (tramp-gvfs-handle-file-notify-add-watch)
18992 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
18993 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
18995 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18996 Order alphabetically.
18997 <file-notify-rm-watch>: Use default Tramp handler.
18998 <executable-find>: Remove private handler.
18999 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
19000 `default-directory'.
19001 (tramp-sh-handle-executable-find)
19002 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
19003 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19004 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
19005 Do not use `format' in `tramp-message'.
19007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19008 <file-notify-rm-watch, set-visited-file-modtime>:
19009 <verify-visited-file-modtime>: Add handler.
19010 (tramp-smb-call-winexe): Do not bind `default-directory'.
19012 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
19014 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
19016 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
19018 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
19020 (log-view-diff-changeset): Same.
19021 (log-view-diff-common): Call backend command `previous-revision'
19022 to find out the previous revision, in both cases. Swap the
19023 variables `to' and `fr', so that `fr' usually refers to the
19024 earlier revision (Bug#14989).
19026 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
19028 * ibuf-ext.el (ibuffer-filter-by-filename):
19029 Make it work with dired buffers too.
19031 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
19033 * emacs-lisp/re-builder.el (reb-color-display-p):
19034 * files.el (save-buffers-kill-terminal):
19035 * net/browse-url.el (browse-url):
19036 * server.el (server-save-buffers-kill-terminal):
19037 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
19038 Prefer nil to selected-frame for the first arg of frame-parameter.
19040 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
19042 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
19044 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
19046 * minibuffer.el (completion--twq-all): Try and preserve each
19047 completion's case choice (bug#14907).
19049 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
19051 * net/network-stream.el (open-network-stream): Mention the new
19052 :nogreeting parameter.
19053 (network-stream-open-starttls): Use the :nogreeting parameter
19056 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
19058 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
19059 more natural than popping.
19061 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
19062 (shr-urlify): Highlight under mouse.
19064 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19066 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
19068 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
19070 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
19073 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
19074 point-min==1. Fix search string. Fix parentheses missing.
19076 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
19077 assume point-min==1. Fix search string. Fix parentheses missing.
19079 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
19081 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
19084 2013-07-29 Eli Zaretskii <eliz@gnu.org>
19086 * frame.el (frame-notice-user-settings): Avoid inflooping when the
19087 initial frame is minibuffer-less. (Bug#14841)
19089 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
19091 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
19094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19095 (tramp-maybe-open-connection): Use it.
19097 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19099 * desktop.el (desktop--make-frame): Include `minibuffer' in the
19100 minimal set of parameters passed when creating a frame, because
19101 the minibuffer status of a frame cannot be changed later.
19103 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
19105 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
19106 replace-regexp-in-string and inadvertent omissions in previous change.
19107 (todo-filter-items): Ensure only file names are comma-separated in
19108 name of filtered items buffer.
19110 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
19112 * desktop.el: Optionally force offscreen frames back onscreen.
19113 (desktop-restoring-reuses-frames): New option.
19114 (desktop--compute-pos, desktop--move-onscreen): New functions.
19115 (desktop--make-frame): Use desktop--move-onscreen.
19117 2013-07-27 Alan Mackenzie <acm@muc.de>
19119 Fontify a Java generic method as a function.
19120 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
19123 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
19125 * calendar/todo-mode.el: Add command to rename todo files.
19126 (todo-rename-file): New command.
19127 (todo-key-bindings-t): Add key binding for it. Change the
19128 bindings of todo-filter-regexp-items(-multifile) to use `x'
19129 instead of `r', since the latter is better suited to the new
19132 2013-07-27 Alan Mackenzie <acm@muc.de>
19134 Make Java try-with-resources statement parse properly.
19135 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
19136 (c-block-stmt-1-2-key): New language constants/variables.
19137 * progmodes/cc-engine.el (c-beginning-of-statement-1)
19138 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
19139 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
19140 with c-block-stmt-1-2-key.
19142 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
19144 * desktop.el (desktop--make-frame): Apply most frame parameters after
19145 creating the frame to force (partially or totally) offscreen frames to
19146 be restored as such.
19148 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
19150 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
19153 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19155 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
19156 `base' arg of backtrace-frame.
19158 2013-07-26 Eli Zaretskii <eliz@gnu.org>
19160 * simple.el (list-processes): Doc fix.
19162 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19164 * desktop.el (desktop--select-frame):
19165 Try harder to reuse existing frames.
19167 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19169 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
19170 (edebug-eval): Use backtrace-eval.
19171 (edebug--display, edebug--recursive-edit): Don't let-bind the
19172 edebug-outer-* vars that keep track of variables we locally let-bind.
19173 (edebug-outside-excursion): Don't restore outside values of locally
19175 (edebug--display): Use user-error.
19176 (cl-lexical-debug, cl-debug-env): Remove.
19178 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
19180 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
19181 are restored to be sure that they are visible before deleting any
19184 2013-07-26 Matthias Meulien <orontee@gmail.com>
19186 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
19187 vc-print-root-log. (Bug#14948)
19189 2013-07-26 Richard Stallman <rms@gnu.org>
19191 Add aliases for encrypting mail.
19192 * epa.el (epa-mail-aliases): New option.
19193 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
19194 Bind inhibit-read-only so read-only text doesn't ruin everything.
19195 (epa-mail-default-recipients): New subroutine broken out.
19196 Handle epa-mail-aliases.
19198 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
19200 Add support for lexical variables to the debugger's `e' command.
19201 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
19202 vars, except for debugger-outer-match-data.
19203 (debugger-frame-number): Move check for "on a function call" from
19204 callers into it. Add `skip-base' argument.
19205 (debugger-frame, debugger-frame-clear): Simplify accordingly.
19206 (debugger-env-macro): Only reset the state stored in non-variables,
19207 i.e. current-buffer and match-data.
19208 (debugger-eval-expression): Rewrite using backtrace-eval.
19209 * subr.el (internal--called-interactively-p--get-frame): Remove.
19210 (called-interactively-p):
19211 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
19212 `base' arg of backtrace-frame instead.
19214 2013-07-26 Glenn Morris <rgm@gnu.org>
19216 * align.el (align-regexp): Doc fix. (Bug#14857)
19217 (align-region): Explicit error if subexpression missing/does not match.
19219 * simple.el (global-visual-line-mode):
19220 Do not duplicate the mode lighter. (Bug#14858)
19222 2013-07-25 Martin Rudalics <rudalics@gmx.at>
19224 * window.el (display-buffer): In display-buffer bind
19225 split-window-keep-point to t, bug#14829.
19227 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
19229 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
19230 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
19231 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
19232 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
19233 Change accordingly.
19234 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
19235 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
19237 2013-07-25 Glenn Morris <rgm@gnu.org>
19239 * dired-x.el (dired-mark-extension): Convert comment to doc string.
19241 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
19243 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
19244 parameter to modify-frame-parameters if the value has not changed;
19245 this is a workaround for bug#14949.
19246 (desktop--make-frame): On cl-delete-if call, check parameter name,
19247 not full parameter.
19249 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
19251 * vc/vc.el (vc-ignore): New function.
19253 * vc/vc-svn.el (vc-svn-ignore): New function.
19255 * vc/vc-hg.el (vc-hg-ignore): New function.
19257 * vc/vc-git.el (vc-git-ignore): New function.
19259 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
19260 (vc-dir-ignore): New function.
19262 * vc/vc-cvs.el (vc-cvs-ignore): New function.
19263 (cvs-append-to-ignore): Move here from pcvs.el.
19265 * vc/vc-bzr.el (vc-bzr-ignore): New function.
19267 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
19269 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
19271 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
19272 (desktop-restore-frames): Warn when deleting an existing frame failed.
19274 2013-07-24 Glenn Morris <rgm@gnu.org>
19276 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
19278 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
19280 * filenotify.el (file-notify-supported-p):
19281 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19284 * autorevert.el (auto-revert-use-notify)
19285 (auto-revert-notify-add-watch):
19286 * net/tramp.el (tramp-file-name-for-operation):
19287 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19288 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19289 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19290 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19291 Remove `file-notify-supported-p' entry.
19293 2013-07-24 Glenn Morris <rgm@gnu.org>
19295 * printing.el: Replace all uses of deleted ps-windows-system,
19296 ps-lp-system, ps-flatten-list with lpr- versions.
19298 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
19300 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
19301 checked with memq (bug#14935).
19303 * files.el (revert-buffer-function): Use a non-nil default.
19304 (revert-buffer-preserve-modes): Declare var to
19305 provide access to the `preserve-modes' argument.
19306 (revert-buffer): Let-bind it.
19307 (revert-buffer--default): New function, extracted from revert-buffer.
19309 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
19311 * lpr.el: Signal print errors more prominently.
19312 (print-region-function): Don't default to nil.
19313 (lpr-print-region): New function, extracted from print-region-1.
19314 Check lpr's return value and signal an error in case of problem.
19315 (print-region-1): Use it.
19316 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
19318 (ps-printer-name): Default to nil.
19319 (ps-printer-name-option): Default to lpr-printer-switch.
19320 (ps-print-region-function): Don't default to nil.
19321 (ps-postscript-code-directory): Simplify default.
19322 (ps-do-despool): Use lpr-print-region to properly check the outcome.
19323 (ps-string-list, ps-eval-switch, ps-flatten-list)
19324 (ps-flatten-list-1): Remove.
19325 (ps-multibyte-buffer): Avoid setq.
19326 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
19327 (print-region-function, ps-print-region-function): Don't set them here.
19329 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
19331 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
19332 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
19333 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
19334 (ido-decorations): Doc fix.
19336 * ansi-color.el: Fix old URL.
19338 2013-07-23 Michael R. Mauger <michael@mauger.com>
19340 * progmodes/sql.el: Version 3.3
19341 (sql-product-alist): Improve oracle :prompt-cont-regexp.
19342 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
19343 (sql-interactive-remove-continuation-prompt): Rewrite, use
19344 functions above. Fix continuation prompt and complete output line
19346 (sql-redirect-one, sql-execute): Use `read-only-mode' on
19347 redirected output buffer.
19348 (sql-mode): Restore deleted code (Bug#13591).
19350 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
19352 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
19354 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
19356 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
19358 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19360 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
19362 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
19364 * desktop.el (desktop-clear): Simplify; remove useless checks
19365 against invalid buffer names.
19366 (desktop-list*): Use cl-list*.
19367 (desktop-buffer-info, desktop-create-buffer): Simplify.
19369 2013-07-23 Leo Liu <sdl.web@gmail.com>
19371 * bookmark.el (bookmark-make-record): Restore NAME as a default
19374 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
19376 * emacs-lisp/autoload.el (autoload--setup-output): New function,
19377 extracted from autoload--insert-text.
19378 (autoload--insert-text): Remove.
19379 (autoload--print-cookie-text): New function, extracted from
19380 autoload--insert-cookie-text.
19381 (autoload--insert-cookie-text): Remove.
19382 (autoload-generate-file-autoloads): Adjust calls accordingly.
19384 * winner.el (winner-hook-installed-p): Remove.
19385 (winner-mode): Simplify accordingly.
19387 * subr.el (add-to-list): Fix compiler-macro when `append' is
19388 not constant. Don't use `cl-member' for the base case.
19390 * progmodes/subword.el: Fix boundary case (bug#13758).
19391 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
19393 (subword-backward-regexp): Make it a constant.
19394 (subword-forward-internal): Don't treat a trailing capital as the
19395 beginning of a word.
19397 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
19399 * emacs-lisp/package.el (package-menu-mode): Don't modify the
19400 global value of tabulated-list-revert-hook (bug#14930).
19402 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
19404 * desktop.el: Require 'cl-lib.
19405 (desktop-before-saving-frames-functions): New hook.
19406 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
19407 for frames being saved. Rename from desktop--save-minibuffer-frames.
19408 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
19409 Do not save frames with non-nil `desktop-dont-save' parameter.
19410 Filter out deleted frames.
19411 (desktop--find-frame): Use cl-find-if.
19412 (desktop--select-frame): Use cl-(first|second|third) to access values
19414 (desktop--make-frame): Use cl-delete-if.
19415 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
19416 (desktop-restore-frames): Use cl-(first|second|third) to access values
19417 of desktop-mini. Look for visible frame at the end, not while
19420 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
19421 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
19422 Use string-match-p, looking-at-p (bug#14927).
19424 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
19426 * desktop.el (desktop-saved-frame-states):
19427 Rename from desktop--saved-states; all users changed.
19428 (desktop-save-frames): Rename from desktop--save-frames.
19429 Do not save state to desktop file.
19430 (desktop-save): Save desktop-saved-frame-states to desktop file
19432 (desktop-restoring-frames-p): New function.
19433 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
19434 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
19435 buffer-lists when restoring frames. Suggested by Martin Rudalics.
19437 * desktop.el: Correctly restore iconified frames.
19438 (desktop--filter-iconified-position): New function.
19439 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
19441 2013-07-20 Glenn Morris <rgm@gnu.org>
19443 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
19444 Let `message' do the formatting.
19445 (def-gdb-preempt-display-buffer): Add explicit format.
19447 * image-dired.el (image-dired-track-original-file):
19448 Use with-current-buffer.
19449 (image-dired-track-thumbnail): Use with-current-buffer.
19450 Avoid changing point of wrong window.
19452 * image-dired.el (image-dired-track-original-file):
19453 Avoid changing point of wrong window. (Bug#14909)
19455 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
19457 * progmodes/gdb-mi.el (gdb-done-or-error):
19458 Guard against "%" in gdb output. (Bug#14127)
19460 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
19462 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
19465 * international/mule.el (coding-system-iso-2022-flags): Fix last
19468 2013-07-20 Kenichi Handa <handa@gnu.org>
19470 * international/mule.el (coding-system-iso-2022-flags):
19471 Add `8-bit-level-4'. (Bug#8522)
19473 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19475 * net/shr.el (shr-mouse-browse-url): New command and keystroke
19478 * net/eww.el (eww-process-text-input): Allow inputting when the
19479 point is at the start of the line, as the properties aren't
19482 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
19485 2013-07-19 Richard Stallman <rms@gnu.org>
19487 * epa.el (epa-popup-info-window): Doc fix.
19489 * subr.el (split-string): New arg TRIM.
19491 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
19493 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
19494 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
19496 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
19498 * filenotify.el (file-notify--library): Rename from
19499 `file-notify-support'. Do not autoload. Adapt all uses.
19500 (file-notify-supported-p): New defun.
19502 * autorevert.el (auto-revert-use-notify):
19503 Use `file-notify-supported-p' instead of `file-notify-support'.
19505 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
19507 * net/tramp.el (tramp-file-name-for-operation):
19508 Add `file-notify-supported-p'.
19510 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
19512 (tramp-sh-file-name-handler-alist): Add it as handler for
19513 `file-notify-supported-p '.
19515 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
19516 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19518 Add `ignore' as handler for `file-notify-*' functions.
19520 2013-07-17 Eli Zaretskii <eliz@gnu.org>
19522 * simple.el (line-move-partial, line-move): Don't start vscroll or
19523 scroll-up if the current line is not taller than the window.
19526 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
19528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
19529 highlight question marks in the method names as strings.
19530 (ruby-block-beg-keywords): Inline.
19531 (ruby-font-lock-keyword-beg-re): Extract from
19532 `ruby-font-lock-keywords'.
19534 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
19536 * frame.el (blink-cursor-blinks): New defcustom.
19537 (blink-cursor-blinks-done): New defvar.
19538 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
19539 (blink-cursor-timer-function): Check if number of blinks has been
19541 (blink-cursor-suspend, blink-cursor-check): New defuns.
19543 2013-07-15 Glenn Morris <rgm@gnu.org>
19545 * edmacro.el (edmacro-format-keys): Fix previous change.
19547 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
19549 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
19550 The hack didn't work outside English locales anyway.
19552 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
19554 * simple.el (define-alternatives): Rename from alternatives-define,
19555 per RMS' suggestion.
19557 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
19559 * desktop.el (desktop-restore-frames): Change default to t.
19560 (desktop-restore-in-current-display): Now offer more options.
19561 (desktop-restoring-reuses-frames): New customization option.
19562 (desktop--saved-states): Doc fix.
19563 (desktop-filter-parameters-alist): New variable, renamed and expanded
19564 from desktop--excluded-frame-parameters.
19565 (desktop--target-display): New variable.
19566 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
19567 (desktop--filter-tty*, desktop--filter-*-color)
19568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
19569 (desktop--filter-save-desktop-parm)
19570 (desktop-restore-in-original-display-p): New functions.
19571 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
19572 (desktop--save-minibuffer-frames): New function, inspired by a similar
19573 function from Martin Rudalics.
19574 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
19575 (desktop--restore-in-this-display-p): Remove.
19576 (desktop--find-frame): Rename from desktop--find-frame-in-display
19577 and add predicate argument.
19578 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
19579 (desktop--reuse-list): New variable.
19580 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
19582 (desktop--restore-frames): Add support for "minibuffer-special" frames.
19584 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
19586 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
19588 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
19590 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
19591 Highlight conversion methods on Kernel.
19593 2013-07-13 Alan Mackenzie <acm@muc.de>
19595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
19596 and comment it out. This out-commenting enables certain C++
19597 declarations to be parsed correctly.
19599 2013-07-13 Eli Zaretskii <eliz@gnu.org>
19601 * international/mule.el (define-coding-system): Doc fix.
19603 * simple.el (default-font-height): Don't call font-info if the
19604 frame's default font didn't change since the frame was created.
19607 2013-07-13 Leo Liu <sdl.web@gmail.com>
19609 * ido.el (ido-read-file-name): Guard against non-symbol value.
19611 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19613 * progmodes/python.el (python-imenu--build-tree): Fix corner case
19616 2013-07-13 Leo Liu <sdl.web@gmail.com>
19618 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
19619 ido-set-matches call. (Bug#6852)
19621 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
19623 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
19624 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
19626 (ruby-font-lock-keywords): Distinguish calls to functions with
19627 module-like names from module references. Highlight character
19630 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
19632 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
19633 (gdb-send): Handle continued commands. (Bug#14847)
19635 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19637 * desktop.el (desktop--v2s): Remove unused local variable.
19638 (desktop-save-buffer): Make defvar-local; adjust docstring.
19639 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
19640 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
19642 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
19644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
19646 2013-07-12 Eli Zaretskii <eliz@gnu.org>
19648 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
19651 2013-07-12 Glenn Morris <rgm@gnu.org>
19653 * doc-view.el: Require cl-lib at runtime too.
19654 (doc-view-remove-if): Remove.
19655 (doc-view-search-next-match, doc-view-search-previous-match):
19658 * edmacro.el: Require cl-lib at runtime too.
19659 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
19660 (edmacro-mismatch, edmacro-subseq): Remove.
19662 * shadowfile.el: Require cl-lib.
19663 (shadow-remove-if): Remove.
19664 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
19667 * wid-edit.el: Require cl-lib.
19668 (widget-choose): Use cl-remove-if.
19669 (widget-remove-if): Remove.
19671 * progmodes/ebrowse.el: Require cl-lib at runtime too.
19672 (ebrowse-delete-if-not): Remove.
19673 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
19674 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
19675 Use cl-delete-if-not.
19677 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
19679 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
19680 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
19682 2013-07-12 Leo Liu <sdl.web@gmail.com>
19684 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
19686 2013-07-11 Glenn Morris <rgm@gnu.org>
19688 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
19689 (edebug-gensym-index, edebug-gensym):
19690 Remove reimplementation of cl-gensym.
19691 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
19693 * thumbs.el: Require cl-lib at run-time too.
19694 (thumbs-gensym-counter, thumbs-gensym):
19695 Remove reimplementation of cl-gensym.
19696 (thumbs-temp-file): Use cl-gensym.
19698 * emacs-lisp/ert.el: Require cl-lib at runtime too.
19699 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
19700 (ert--intersection, ert--set-difference, ert--set-difference-eq)
19701 (ert--union, ert--gensym-counter, ert--gensym-counter)
19702 (ert--coerce-to-vector, ert--remove*, ert--string-position)
19703 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
19704 (ert-make-test-unbound, ert--expand-should-1)
19705 (ert--expand-should, ert--should-error-handle-error)
19706 (should-error, ert--explain-equal-rec)
19707 (ert--plist-difference-explanation, ert-select-tests)
19708 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
19709 Use cl-lib functions rather than reimplementations.
19711 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
19713 * net/tramp.el (tramp-methods): Extend docstring.
19714 (tramp-connection-timeout): New defcustom.
19715 (tramp-error-with-buffer): Reset timestamp only when appropriate.
19716 (with-tramp-progress-reporter): Simplify.
19717 (tramp-process-actions): Improve messages.
19719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19720 * net/tramp-sh.el (tramp-maybe-open-connection):
19721 Use `tramp-connection-timeout'.
19722 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
19725 2013-07-11 Leo Liu <sdl.web@gmail.com>
19727 * ido.el (ido-read-file-name): Conform to the requirements of
19728 read-file-name. (Bug#11861)
19729 (ido-read-directory-name): Conform to the requirements of
19730 read-directory-name.
19732 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
19734 * subr.el (delay-warning): New function.
19736 2013-07-10 Eli Zaretskii <eliz@gnu.org>
19738 * simple.el (default-line-height): New function.
19739 (line-move-partial, line-move): Use it instead of computing the
19740 line height inline.
19741 (line-move-partial): Always compute ROWH. If the last line is
19742 partially-visible, but its text is completely visible, allow
19743 cursor to enter such a partially-visible line.
19745 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
19747 Improve error messages. (Bug#14808)
19749 * net/tramp.el (tramp-current-connection): New defvar, moved from
19751 (tramp-message-show-progress-reporter-message): Remove, not
19753 (tramp-error-with-buffer): Show message in minibuffer.
19754 Discard input before waiting. Reset connection timestamp.
19755 (with-tramp-progress-reporter): Improve messages.
19756 (tramp-process-actions): Use progress reporter. Delete process in
19757 case of error. Improve messages.
19759 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
19760 Call `tramp-error-with-buffer' with vector and buffer.
19761 (tramp-current-connection): Remove.
19762 (tramp-maybe-open-connection): The car of
19763 `tramp-current-connection' are the first 3 slots of the vector.
19765 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
19767 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
19768 inside continued strings.
19770 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
19772 Timestamp fixes for undo (Bug#14824).
19773 * files.el (clear-visited-file-modtime): Move here from fileio.c.
19775 2013-07-10 Leo Liu <sdl.web@gmail.com>
19777 * files.el (require-final-newline): Allow safe local value.
19780 2013-07-09 Leo Liu <sdl.web@gmail.com>
19782 * ido.el (ido-read-directory-name): Handle fallback.
19783 (ido-read-file-name): Update DIR to ido-current-directory.
19785 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
19787 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
19789 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
19790 "autoload". Remove "warn lower camel case" section, previously
19791 commented out. Highlight negation char. Do not highlight the
19792 target in singleton method definitions.
19794 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19796 * faces.el (tty-setup-hook): Declare the hook.
19798 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
19799 and detect when a guard/pred depends on local vars (bug#14773).
19800 (pcase--u1): Adjust caller.
19802 2013-07-08 Eli Zaretskii <eliz@gnu.org>
19804 * simple.el (line-move-partial, line-move): Account for
19806 (line-move-partial): Avoid setting vscroll when the last
19807 partially-visible line in window is of default height.
19809 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19811 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
19814 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
19816 * subr.el (read-quoted-char): Remove unused local variable `char'.
19818 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
19820 * vc/ediff.el (ediff-version): Version update.
19821 (ediff-files-command, ediff3-files-command, ediff-merge-command)
19822 (ediff-merge-with-ancestor-command, ediff-directories-command)
19823 (ediff-directories3-command, ediff-merge-directories-command)
19824 (ediff-merge-directories-with-ancestor-command): New functions.
19825 All are command-line interfaces to ediff: to facilitate calling
19826 Emacs with the appropriate ediff functions invoked.
19828 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
19830 (viper-save-kill-buffer): Check if buffer is modified.
19832 * emulation/viper.el (viper-version): Version update.
19833 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
19835 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
19837 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
19838 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
19839 (viper-intercept-ESC-key): Simplify.
19840 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
19842 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
19843 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
19844 (viper-setup-ESC-to-escape): New functions.
19845 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
19846 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
19848 2013-07-07 Eli Zaretskii <eliz@gnu.org>
19850 * simple.el (default-font-height, window-screen-lines):
19852 (line-move, line-move-partial): Use them instead of
19853 frame-char-height and window-text-height. This makes scrolling
19854 text smoother when the buffer's default face uses a font that is
19855 different from the frame's default font.
19857 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
19859 * files.el (write-file): Do not display confirm dialog for NS,
19860 it does its own dialog, which can't be canceled (Bug#14578).
19862 2013-07-06 Eli Zaretskii <eliz@gnu.org>
19864 * simple.el (line-move-partial): Adjust the row returned by
19865 posn-at-point for the current window-vscroll. (Bug#14567)
19867 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
19869 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
19870 (tramp-sh-file-inotifywait-process-filter): Handle file names with
19873 2013-07-06 Martin Rudalics <rudalics@gmx.at>
19875 * window.el (window-state-put-stale-windows): New variable.
19876 (window--state-put-2): Save list of windows without matching buffer.
19877 (window-state-put): Remove "bufferless" windows if possible.
19879 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19881 * simple.el (alternatives-define): Remove leftover :group keyword.
19884 2013-07-06 Leo Liu <sdl.web@gmail.com>
19886 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
19887 (ido-enable-virtual-buffers): New variable.
19888 (ido-buffer-internal, ido-toggle-virtual-buffers)
19889 (ido-make-buffer-list): Use it.
19890 (ido-exhibit): Support turning on and off virtual buffers
19893 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
19895 * simple.el (alternatives-define): New macro.
19897 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
19899 * subr.el (read-quoted-char): Use read-key.
19900 (sit-for): Let read-event decode tty input (bug#14782).
19902 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
19904 * calendar/todo-mode.el: Add handling of file deletion, both by
19905 mode command and externally. Fix various related bugs.
19906 Clarify Commentary and improve some documentation strings and code.
19907 (todo-delete-file): New command.
19908 (todo-check-file): New function.
19909 (todo-show): Handle external deletion of the file we're trying to
19910 show (bug#14688). Replace called-interactively-p by an optional
19911 prefix argument to avoid problematic interaction with catch form
19912 when byte compiled (bug#14702).
19913 (todo-quit): Handle external deletion of the archive's todo file.
19914 Make sure the buffer that was visiting the archive file is still
19915 live before trying to bury it.
19916 (todo-category-completions): Handle external deletion of any
19917 category completion files.
19918 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
19919 of todo files, in case of external deletion.
19920 (todo-add-file): Replace unnecessary setq by let-binding.
19921 (todo-find-archive): Check whether there are any archives.
19922 Replace unnecessary setq by let-binding.
19923 (todo-archive-done-item): Use find-file-noselect to get the
19924 archive buffer whether or not the archive already exists.
19925 Remove superfluous code. Use file size instead of buffer-file-name to
19926 check if the archive is new; if it is, update list of archives.
19927 (todo-default-todo-file): Allow nil to be a valid value for when
19928 there are no todo files.
19929 (todo-reevaluate-default-file-defcustom): Use corrected definition
19930 of todo-default-todo-file.
19931 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
19932 (todo-delete-category, todo-show-categories-table)
19933 (todo-category-number): Clarify comment.
19934 (todo-filter-items): Clarify documentation string.
19935 (todo-show-current-file, todo-display-as-todo-file)
19936 (todo-reset-and-enable-done-separator): Tweak documentation string.
19937 (todo-done-separator): Make separator length window-width, since
19938 bug#2749 is now fixed.
19940 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
19942 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19943 Support both "gvfs-monitor-dir" and "inotifywait".
19944 (tramp-sh-file-inotifywait-process-filter): Rename from
19945 `tramp-sh-file-notify-process-filter'.
19946 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19947 (tramp-get-remote-gvfs-monitor-dir): New defuns.
19949 2013-07-05 Leo Liu <sdl.web@gmail.com>
19951 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
19953 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19955 * frame.el (display-pixel-height, display-pixel-width)
19956 (display-mm-height, display-mm-width): Mention behavior on
19957 multi-monitor setups in docstrings.
19958 (w32-display-monitor-attributes-list): Declare function.
19959 (display-monitor-attributes-list): Use it.
19961 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
19963 * filenotify.el: New package.
19965 * autorevert.el (top): Require filenotify.el.
19966 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
19968 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
19969 (auto-revert-notify-handler): Use `file-notify-*' functions.
19971 * subr.el (file-notify-handle-event): Move function to filenotify.el.
19973 * net/tramp.el (tramp-file-name-for-operation):
19974 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
19976 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
19977 for `file-notify-add-watch' and `file-notify-rm-watch'.
19978 (tramp-process-sentinel): Improve trace.
19979 (tramp-sh-handle-file-notify-add-watch)
19980 (tramp-sh-file-notify-process-filter)
19981 (tramp-sh-handle-file-notify-rm-watch)
19982 (tramp-get-remote-inotifywait): New defuns.
19984 2013-07-03 Juri Linkov <juri@jurta.org>
19986 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
19987 call of `occur-read-primary-args' to interactive spec.
19989 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
19990 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
19992 2013-07-03 Matthias Meulien <orontee@gmail.com>
19994 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
19995 `Buffer-menu-multi-occur'. Add it to the menu.
19996 (Buffer-menu-mode): Document it in docstring.
19997 (Buffer-menu-multi-occur): New command. (Bug#14673)
19999 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20001 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
20002 keywords and built-ins.
20004 2013-07-03 Glenn Morris <rgm@gnu.org>
20006 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
20008 Make info-xref checks case-sensitive by default
20009 * info.el (Info-find-node, Info-find-in-tag-table)
20010 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
20011 Add option for exact case matching of nodes.
20012 * info-xref.el (info-xref): New custom group.
20013 (info-xref-case-fold): New option.
20014 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
20016 2013-07-03 Leo Liu <sdl.web@gmail.com>
20018 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
20020 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
20022 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
20023 middle of block statement initially, lower the depth. Remove
20024 FIXME comment, not longer valid. Remove middle of block statement
20025 detection, no need to do that anymore since we've been using
20026 `ruby-parse-region' here.
20028 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
20030 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
20032 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
20034 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
20036 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
20038 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
20039 (desktop-restore-in-current-display): New customization option.
20040 (desktop--excluded-frame-parameters): Add `font'.
20041 (desktop--save-frames): Rename from desktop--save-windows.
20042 (desktop--restore-in-this-display-p): New function.
20043 (desktop--make-full-frame): Remove unwanted width/height from
20044 full(width|height) frames.
20045 (desktop--restore-frames): Rename from desktop--restore-windows.
20046 Obey desktop-restore-current-display. Do not delete old frames or
20047 select a new frame unless we were able to restore at least one frame.
20049 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
20051 * files.el (find-file-noselect): Simplify conditional expression.
20053 * textmodes/remember.el (remember-append-to-file):
20054 Don't mix `find-buffer-visiting' and `get-file-buffer'.
20056 Add `remember-notes' function to store random notes across Emacs
20058 * textmodes/remember.el (remember-data-file): Add :set callback to
20059 affect notes buffer (if any).
20060 (remember-notes): New command.
20061 (remember-notes-buffer-name, bury-remember-notes-on-kill):
20062 New defcustoms for the `remember-notes' function.
20063 (remember-notes-save-and-bury-buffer): New command.
20064 (remember-notes-mode-map): New variable.
20065 (remember-mode): New minor mode.
20066 (remember-notes--kill-buffer-query): New function.
20067 * startup.el (initial-buffer-choice): Add notes to custom type.
20069 2013-06-30 Eli Zaretskii <eliz@gnu.org>
20071 * bindings.el (right-char, left-char): Don't call sit-for, this is
20072 no longer needed. Use arithmetic comparison only for numerical
20075 * international/mule-cmds.el (select-safe-coding-system):
20076 Handle the case of FROM being a string correctly. (Bug#14755)
20078 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20080 * net/shr.el (shr-make-table-1): Add a sanity check that allows
20081 progression on degenerate tables.
20082 (shr-rescale-image): ImageMagick animated images currently don't work.
20084 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
20086 Some fixes and improvements for desktop frame restoration.
20087 It is still experimental and disabled by default.
20088 * desktop.el (desktop--save-windows): Put the selected frame at
20089 the head of the list.
20090 (desktop--make-full-frame): New function.
20091 (desktop--restore-windows): Try to re-select the frame that was
20092 selected upon saving. Do not abort if some frames fail to restore,
20093 just show an error message and continue. Set up maximized frames
20094 so they have default non-maximized dimensions.
20096 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
20098 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
20099 Don't start heredoc inside a string or comment.
20101 2013-06-29 Eli Zaretskii <eliz@gnu.org>
20103 * bindings.el (visual-order-cursor-movement): New defcustom.
20104 (right-char, left-char): Provide visual-order cursor motion by
20105 calling move-point-visually. Update the doc strings.
20107 2013-06-28 Kenichi Handa <handa@gnu.org>
20109 * international/mule.el (define-coding-system): New coding system
20110 properties :inhibit-null-byte-detection,
20111 :inhibit-iso-escape-detection, and :prefer-utf-8.
20112 (set-buffer-file-coding-system): If :charset-list property of
20113 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
20114 appropriate for setting.
20116 * international/mule-cmds.el (select-safe-coding-system):
20117 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
20118 multibyte characters, return utf-8 (or one of its siblings).
20120 * international/mule-conf.el (prefer-utf-8): New coding system.
20121 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
20124 2013-06-28 Ivan Kanis <ivan@kanis.fr>
20126 * net/shr.el (shr-render-region): New function.
20128 * net/eww.el: Autoload `eww-browse-url'.
20130 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
20132 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20133 Adapt to `package-desc-version' being a list.
20134 Use `package--ac-desc-version' to retrieve version from a package
20137 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
20139 New experimental feature to save&restore window and frame setup.
20140 * desktop.el (desktop-save-windows): New defcustom.
20141 (desktop--saved-states): New var.
20142 (desktop--excluded-frame-parameters): New defconst.
20143 (desktop--filter-frame-parms, desktop--find-frame-in-display)
20144 (desktop--restore-windows, desktop--save-windows): New functions.
20145 (desktop-save): Call `desktop--save-windows'.
20146 (desktop-read): Call `desktop--restore-windows'.
20148 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20150 * net/shr.el (add-face-text-property): Remove compat definition.
20152 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20154 * info.el (Info-try-follow-nearest-node): Move search for footnote
20155 above search for node name to prevent missing a footnote (bug#14717).
20157 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
20159 * obsolete/otodo-mode.el: Add obsolescence info to file header.
20161 2013-06-27 Leo Liu <sdl.web@gmail.com>
20163 * net/eww.el (eww-read-bookmarks): Check file size.
20165 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20167 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
20168 advice--pending if newdef is nil or an autoload (bug#13820).
20169 (advice-mapc): New function.
20171 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20173 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
20175 (eww-mode-map): Add a menu bar.
20176 (eww-add-bookmark): New command.
20177 (eww-bookmark-mode): New mode and commands.
20178 (eww-add-bookmark): Remove newlines from the title.
20179 (eww-bookmark-browse): Don't bug out if it's the only window.
20181 2013-06-26 Glenn Morris <rgm@gnu.org>
20183 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
20184 (hfy-size): Handle ttys. (Bug#14668)
20186 * info-xref.el: Update for Texinfo 5 change in *note format.
20187 (info-xref-node-re, info-xref-note-re): New constants.
20188 (info-xref-check-buffer): Use info-xref-note-re.
20190 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
20192 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
20194 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
20195 nil terminate the loop (bug#14718).
20197 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20199 * net/eww.el: Rework history traversal. When going forward/back,
20200 put these actions into the history, too, so that they can be
20202 (eww-render): Move the history reset to the correct buffer.
20204 2013-06-25 Juri Linkov <juri@jurta.org>
20206 * files-x.el (modify-dir-local-variable): Change the header comment
20207 in the file with directory local variables. (Bug#14692)
20209 * files-x.el (read-file-local-variable-value): Add `default'.
20212 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20214 * net/eww.el (eww-make-unique-file-name): Create a unique file
20215 name before saving to entering `y' accidentally asynchronously.
20217 2013-06-25 Ivan Kanis <ivan@kanis.fr>
20219 * net/eww.el (eww-download): New command and keystroke.
20221 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20223 * net/eww.el (eww-copy-page-url): Change name of command.
20225 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
20226 be more consistent with Info and dired.
20228 * net/eww.el (eww-mode-map): Ditto.
20230 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20232 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
20233 packages from archives.
20234 (package-archive-contents): Change format; include obsolete packages.
20235 (package-desc): Use `dir' to mark builtin packages.
20236 (package--from-builtin): Set the `dir' field to `builtin'.
20237 (generated-autoload-file, version-control): Declare.
20238 (package-compute-transaction): Change first arg and return value to be
20239 lists of package-descs. Adjust to new package-archive-contents format.
20240 (package--add-to-archive-contents): Adjust to new
20241 package-archive-contents format.
20242 (package-download-transaction): Arg is now a list of package-descs.
20243 (package-install): If `pkg' is a package name, pass it as
20244 a requirement, so it is subject to the usual (e.g. disabled) checks.
20245 (describe-package): Accept package-desc as well.
20246 (describe-package-1): Describe a specific package-desc. Add links to
20247 other package-descs for the same package name.
20248 (package-menu-describe-package): Pass the actual package-desc.
20249 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
20251 (package-desc-status): New function.
20252 (package-menu--refresh): New function, extracted
20253 from package-menu--generate.
20254 (package-menu--generate): Use it.
20255 (package-delete): Update package-alist.
20256 (package-menu-execute): Don't call package-initialize.
20258 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
20259 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
20260 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
20261 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
20262 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
20263 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
20265 2013-06-25 Martin Rudalics <rudalics@gmx.at>
20267 * window.el (window--state-get-1): Workaround for bug#14527.
20268 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
20270 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
20272 * net/eww.el (eww-back-url): Implement the history by stashing all
20273 the data into a list.
20274 (eww-forward-url): Allow going forward in the history, too.
20276 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20278 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
20279 for values and use read--expression for expressions (bug#14710).
20280 (read-file-local-variable): Avoid setq.
20281 (read-file-local-variable-mode): Use minor-mode-list.
20283 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20285 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
20288 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
20290 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
20291 Update imenu-support when dialect changes.
20293 2013-06-25 Leo Liu <sdl.web@gmail.com>
20295 * ido.el (ido-read-internal): Allow forward slash on windows.
20297 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
20299 * net/eww.el (eww): Start of strings is \\`, not ^.
20301 2013-06-24 Ivan Kanis <ivan@kanis.fr>
20303 * net/shr.el (shr-browse-url): Fix interactive spec.
20305 * net/eww.el (eww): Add a trailing slash to domain names.
20307 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
20309 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
20311 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
20313 * net/shr.el (shr-browse-url): Use an external browser if given a
20316 * net/eww.el (eww-external-browser): Move to shr.
20318 2013-06-24 Ivan Kanis <ivan@kanis.fr>
20320 * net/eww.el (eww): Work more correctly for file: URLs.
20321 (eww-detect-charset): Allow quoted charsets.
20322 (eww-yank-page-url): New command and keystroke.
20324 2013-06-24 Daiki Ueno <ueno@gnu.org>
20326 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
20327 file name of gpg executable.
20328 (epg-context-program): New function.
20329 (epg-context-home-directory): New function.
20330 (epg-context-set-program): New function.
20331 (epg-context-set-home-directory): New function.
20332 (epg--start): Use `epg-context-program' instead of
20334 (epg--list-keys-1): Likewise.
20336 2013-06-24 Leo Liu <sdl.web@gmail.com>
20338 * ido.el (ido-read-internal): Fix bug#14620.
20340 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
20342 * faces.el (face-documentation): Simplify.
20343 (read-face-attribute, tty-find-type, x-resolve-font-name):
20344 Use `string-match-p'.
20345 (list-faces-display): Use `string-match-p'. Simplify.
20346 (face-spec-recalc): Check face to avoid face alias loops.
20347 (read-color): Use `string-match-p' and non-capturing parenthesis.
20349 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20351 * net/shr.el (shr-rescale-image): Use the new
20352 :max-width/:max-height functionality.
20354 2013-06-23 Ivan Kanis <ivan@kanis.fr>
20356 * net/eww.el (eww-search-prefix): New variable.
20358 (eww-external-browser): New variable.
20359 (eww-mode-map): New keystroke.
20360 (eww-browse-with-external-browser): New command.
20362 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
20364 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
20366 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
20367 Don't skip aligning the next header field when padding is 0;
20368 otherwise, field width is not respected unless the title is as
20371 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
20373 * emacs-lisp/package.el (package-el-version): Remove.
20374 (package-process-define-package): Fix inf-loop.
20375 (package-install): Allow symbols as arguments again.
20377 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
20379 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
20380 add some more keyword-like methods.
20381 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
20383 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
20385 * bs.el (bs-buffer-show-mark): Make defvar-local.
20386 (bs-mode): Use setq-local.
20388 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
20389 (emacs-lock--try-unlocking): Make defvar-local.
20391 2013-06-22 Glenn Morris <rgm@gnu.org>
20393 * play/cookie1.el (cookie-apropos): Minor simplification.
20395 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
20397 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
20399 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
20400 `regexp-opt', it breaks the build during dumping.
20402 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
20404 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20405 Highlight keyword-like methods on Kernel and Module with
20406 font-lock-builtin-face.
20407 (auto-mode-alist): Consolidate different entries into one regexp
20408 and add more *file-s.
20410 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
20412 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
20414 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
20415 (diary-entry): Use it in the action of this button type instead of
20418 * calendar/todo-mode.el: New version.
20419 (todo-add-category): Append new category to end of file and give
20420 it the highest number, instead of putting it at the beginning and
20421 giving it 0. Incorporate noninteractive functionality.
20422 (todo-forward-category): Adapt to 1-based category numbering.
20423 Allow skipping over archived categories.
20424 (todo-backward-category): Derive from todo-forward-category.
20425 (todo-backward-item, todo-forward-item): Make noninteractive and
20426 delegate interactive part to new commands. Make sensitive to done items.
20427 (todo-categories): Make value an alist of category names and
20428 vectors of item counts.
20429 (todo-category-beg): Make a defconst.
20430 (todo-category-number): Use 1 instead of 0 as initial value.
20431 (todo-category-select): Make sensitive to overlays, optional item
20432 highlighting and done items.
20433 (todo-delete-item): Make sensitive to overlays and marked and done items.
20434 (todo-edit-item): Make sensitive to overlays and editing of
20435 date/time header optional. Add format checks.
20436 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
20437 no-op if point is not on an item. Advertise using todo-edit-quit.
20438 (todo-edit-mode): Make sensitive to new format, font-locking, and
20439 multiple todo files.
20440 (todo-insert-item, todo-insert-item-here): Derive from
20441 todo-basic-insert-item and extend functionality.
20442 (todo-item-end, todo-item-start): Make sensitive to done items.
20443 (todo-item-string): Don't return text properties. Restore point.
20444 (todo-jump-to-category): Make sensitive to multiple todo files and
20445 todo archives. Use extended category completion.
20446 (todo-lower-item, todo-raise-item): Rename to *-priority and
20447 derive from todo-set-item-priority.
20448 (todo-mode): Derive from special-mode. Make sensitive to new
20449 format, font-locking and multiple todo files. Make read-only.
20450 (todo-mode-map): Don't suppress digit keys, so they can supply
20451 prefix arguments. Add many new key bindings.
20452 (todo-prefix): Insert as an overlay instead of file text.
20453 Change semantics from diary date expression to purely visual mark.
20454 (todo-print): Rename to todo-print-buffer. Make buffer display
20455 features printable. Remove option to restrict number of items
20456 printed. Add option to print to file.
20457 (todo-print-function): Rename to todo-print-buffer-function.
20458 (todo-quit): Extend to handle exiting new todo modes.
20459 (todo-remove-item): Make sensitive to overlays.
20460 (todo-save): Extend to buffers of filtered items.
20461 (todo-show): Make sensitive to done items, multiple todo files and
20462 new todo modes. Offer to convert legacy todo file before creating
20463 first new todo file.
20464 (todo-show-priorities): Rename to todo-top-priorities.
20465 Change semantics of value 0.
20466 (todo-top-priorities): Rename to todo-filter-top-priorities,
20467 derive from todo-filter-items and extend functionality.
20468 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
20469 and extend functionality to other types of filtered items.
20470 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
20471 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
20472 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
20473 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
20474 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
20475 (todo-edit-mode-hook, todo-entry-prefix-function)
20476 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
20477 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
20478 (todo-initials, todo-insert-threshold, todo-item-string-start)
20479 (todo-line-string, todo-menu, todo-mode-hook)
20480 (todo-more-important-p, todo-previous-answer, todo-previous-line)
20481 (todo-print-priorities, todo-remove-separator)
20482 (todo-save-top-priorities-too, todo-string-count-lines)
20483 (todo-string-multiline-p, todo-time-string-format)
20484 (todo-tmp-buffer-name): Remove.
20485 (todo-add-file, todo-archive-done-item, todo-choose-archive)
20486 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
20487 (todo-edit-category-diary-inclusion)
20488 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
20489 (todo-edit-file, todo-edit-item-date-day)
20490 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
20491 (todo-edit-item-date-month, todo-edit-item-date-to-today)
20492 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
20493 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
20494 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
20495 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
20496 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
20497 (todo-filter-top-priorities-multifile, todo-find-archive)
20498 (todo-find-filtered-items-file, todo-go-to-source-item)
20499 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
20500 (todo-jump-to-archive-category, todo-lower-category)
20501 (todo-mark-category, todo-marked-item-p, todo-merge-category)
20502 (todo-move-category, todo-move-item, todo-next-button)
20503 (todo-next-item, todo-padded-string, todo-powerset)
20504 (todo-previous-button, todo-previous-item)
20505 (todo-print-buffer-to-file, todo-raise-category)
20506 (todo-rename-category, todo-repair-categories-sexp, todo-search)
20507 (todo-set-category-number, todo-set-item-priority)
20508 (todo-set-top-priorities-in-category)
20509 (todo-set-top-priorities-in-file, todo-show-categories-table)
20510 (todo-sort-categories-alphabetically-or-numerically)
20511 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
20512 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
20513 (todo-toggle-item-header, todo-toggle-item-highlighting)
20514 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
20515 (todo-toggle-view-done-items, todo-toggle-view-done-only)
20516 (todo-unarchive-items, todo-unmark-category): New commands.
20517 (todo-absolute-file-name, todo-add-to-buffer-list)
20518 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
20519 (todo-basic-insert-item, todo-category-completions)
20520 (todo-category-number, todo-category-string-matcher-1)
20521 (todo-category-string-matcher-2, todo-check-filtered-items-file)
20522 (todo-check-format, todo-clear-matches)
20523 (todo-comment-string-matcher, todo-convert-legacy-date-time)
20524 (todo-current-category, todo-date-string-matcher)
20525 (todo-define-insertion-command, todo-diary-expired-matcher)
20526 (todo-diary-goto-entry, todo-diary-item-p)
20527 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
20528 (todo-display-categories, todo-display-sorted, todo-done-item-p)
20529 (todo-done-item-section-p, todo-done-separator)
20530 (todo-done-string-matcher, todo-files, todo-filter-items)
20531 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
20532 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
20533 (todo-insert-category-line, todo-insert-item-from-calendar)
20534 (todo-insert-sort-button, todo-insert-with-overlays)
20535 (todo-insertion-command-name, todo-insertion-key-bindings)
20536 (todo-label-to-key, todo-longest-category-name-length)
20537 (todo-make-categories-list, todo-mode-external-set)
20538 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
20539 (todo-modes-set-3, todo-multiple-filter-files)
20540 (todo-nondiary-marker-matcher, todo-prefix-overlays)
20541 (todo-read-category, todo-read-date, todo-read-dayname)
20542 (todo-read-file-name, todo-read-time)
20543 (todo-reevaluate-category-completions-files-defcustom)
20544 (todo-reevaluate-default-file-defcustom)
20545 (todo-reevaluate-filelist-defcustoms)
20546 (todo-reevaluate-filter-files-defcustom)
20547 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
20548 (todo-reset-done-separator, todo-reset-done-separator-string)
20549 (todo-reset-done-string, todo-reset-global-current-todo-file)
20550 (todo-reset-highlight-item, todo-reset-nondiary-marker)
20551 (todo-reset-prefix, todo-set-categories)
20552 (todo-set-date-from-calendar, todo-set-show-current-file)
20553 (todo-set-top-priorities, todo-short-file-name)
20554 (todo-show-current-file, todo-sort, todo-time-string-matcher)
20555 (todo-total-item-counts, todo-update-buffer-list)
20556 (todo-update-categories-display, todo-update-categories-sexp)
20557 (todo-update-count, todo-validate-name, todo-y-or-n-p):
20559 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
20561 (todo-categories, todo-display, todo-edit, todo-faces)
20562 (todo-filtered): New defgroups.
20563 (todo-archived-only, todo-button, todo-category-string, todo-date)
20564 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
20565 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
20566 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
20567 (todo-add-item-if-new-category, todo-always-add-time-string)
20568 (todo-categories-align, todo-categories-archived-label)
20569 (todo-categories-category-label, todo-categories-diary-label)
20570 (todo-categories-done-label, todo-categories-number-separator)
20571 (todo-categories-todo-label, todo-categories-totals-label)
20572 (todo-category-completions-files, todo-completion-ignore-case)
20573 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
20574 (todo-done-separator-string, todo-done-string)
20575 (todo-files-function, todo-filter-done-items, todo-filter-files)
20576 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
20577 (todo-initial-category, todo-initial-file, todo-item-mark)
20578 (todo-legacy-date-time-regexp, todo-mode-line-function)
20579 (todo-nondiary-marker, todo-number-prefix)
20580 (todo-print-buffer-function, todo-show-current-file)
20581 (todo-show-done-only, todo-show-first, todo-show-with-done)
20582 (todo-skip-archived-categories, todo-top-priorities-overrides)
20583 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
20584 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
20586 (todo-category-done, todo-date-pattern, todo-date-string-start)
20587 (todo-diary-items-buffer, todo-done-string-start)
20588 (todo-filtered-items-buffer, todo-item-start)
20589 (todo-month-abbrev-array, todo-month-name-array)
20590 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
20591 (todo-top-priorities-buffer): New defconsts.
20592 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
20593 (todo-categories-with-marks, todo-category-string-face)
20594 (todo-comment-face, todo-comment-string, todo-current-todo-file)
20595 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
20596 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
20597 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
20598 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
20599 (todo-font-lock-keywords, todo-global-current-todo-file)
20600 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
20601 (todo-insertion-commands-args)
20602 (todo-insertion-commands-args-genlist)
20603 (todo-insertion-commands-names, todo-insertion-map)
20604 (todo-key-bindings-t, todo-key-bindings-t+a)
20605 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
20606 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
20607 (todo-nondiary-face, todo-print-buffer, todo-time-face)
20608 (todo-visited): New variables.
20610 2013-06-21 Glenn Morris <rgm@gnu.org>
20612 * play/cookie1.el (cookie-apropos): Add optional display argument.
20613 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
20614 (psychoanalyze-pinhead): Use cookie-doctor.
20616 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20618 * emacs-lisp/package.el (tar-get-file-descriptor)
20619 (tar--extract): Declare.
20621 2013-06-21 Eduard Wiebe <usenet@pusto.de>
20623 Extend flymake's warning predicate to be a function (bug#14217).
20624 * progmodes/flymake.el (flymake-warning-predicate): New.
20625 (flymake-parse-line): Use it.
20626 (flymake-warning-re): Make obsolete alias to
20627 `flymake-warning-predicate'.
20629 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20631 * emacs-lisp/package.el (package-alist): Include obsolete packages.
20632 (package-obsolete-list): Remove.
20633 (package-activate): Remove min-version argument. Add `force' argument.
20634 Adjust to new package-alist format.
20635 (package-mark-obsolete): Remove.
20636 (package-unpack): Force reload of the package's autoloads.
20637 (package-installed-p): Check builtins if the installed package is not
20639 (package-initialize): Don't reset package-obsolete-list.
20640 Don't specify which package version to activate.
20641 (package-process-define-package, describe-package-1)
20642 (package-menu--generate): Adjust to new package-alist format.
20644 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20646 * allout-widgets.el (allout-widgets-mode-off)
20647 (allout-widgets-mode-on, allout-widgets-pre-command-business)
20648 (allout-widgets-post-command-business)
20649 (allout-widgets-after-copy-or-kill-function)
20650 (allout-widgets-after-undo-function, allout-test-range-overlaps)
20651 (allout-decorate-item-and-context)
20652 (allout-graphics-modification-handler): Fix typos in docstrings.
20653 (allout-get-or-create-parent-widget): Use `looking-at-p'.
20655 * cmuscheme.el (scheme-start-file): Doc fix.
20656 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
20657 (scheme-input-filter): Use `string-match-p'.
20659 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
20661 * dired-x.el: Use Dired consistently in docstrings.
20663 * dired.el: Use Dired consistently in docstrings.
20664 (dired-readin, dired-mode): Use `setq-local'.
20665 (dired-switches-alist): Make defvar-local.
20666 (dired-buffers-for-dir): Use `zerop'.
20667 (dired-safe-switches-p, dired-switches-escape-p)
20668 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
20669 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
20670 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
20671 (dired-goto-next-nontrivial-file): Use `string-match-p'.
20672 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
20673 (dired-toggle-marks, dired-mark-files-containing-regexp)
20674 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
20675 (dired-flag-auto-save-files, dired-flag-backup-files):
20676 Use `looking-at-p'.
20677 (dired-mark-files-regexp, dired-build-subdir-alist):
20678 Use `string-match-p', `looking-at-p'.
20680 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
20681 (direct-print-region-helper): Use `string-match-p'.
20683 2013-06-21 Leo Liu <sdl.web@gmail.com>
20685 * comint.el (comint-redirect-results-list-from-process):
20688 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20690 * net/eww.el (eww-update-header-line-format): Quote % characters.
20692 2013-06-21 Glenn Morris <rgm@gnu.org>
20694 * play/cookie1.el (cookie): New custom group.
20695 (cookie-file): New option.
20696 (cookie-check-file): New function.
20697 (cookie): Make it interactive. Make start and end messages optional.
20698 Interactively, display the result. Default to cookie-file.
20699 (cookie-insert): Default to cookie-file.
20700 (cookie-snarf): Make start and end messages optional.
20701 Default to cookie-file. Use with-temp-buffer.
20702 (cookie-read): Rename from read-cookie.
20703 Make start and end messages optional. Default to cookie-file.
20704 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
20705 Do not autoload it.
20706 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
20707 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
20709 2013-06-21 Leo Liu <sdl.web@gmail.com>
20711 * progmodes/octave.el (octave-mode): Backward compatibility fix.
20713 2013-06-21 Glenn Morris <rgm@gnu.org>
20715 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
20717 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20718 Daniel Hackney <dan@haxney.org>
20720 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
20721 Consolidate the single-file vs tarball code.
20722 (package-desc-suffix): New function.
20723 (package-desc-full-name): Don't bother inlining it.
20724 (package-load-descriptor): Return the new package-desc.
20725 (package-mark-obsolete): Remove unused arg `package'.
20726 (package-unpack): Make it work for single files as well.
20727 Make it update package-alist.
20728 (package--make-autoloads-and-stuff): Rename from
20729 package--make-autoloads-and-compile. Don't compile any more.
20730 (package--compile): New function.
20731 (package-generate-description-file): New function, extracted from
20732 package-unpack-single.
20733 (package-unpack-single): Remove.
20734 (package--with-work-buffer): Add indentation and debugging info.
20735 (package-download-single): Remove.
20736 (package-install-from-archive): Rename from package-download-tar, make
20737 it take a pkg-desc, and make it work for single files as well.
20738 (package-download-transaction): Simplify.
20739 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
20740 external tar program.
20741 (package-install-from-buffer): Remove `pkg-desc' argument.
20742 Use package-tar-file-info for tar-mode buffers.
20743 (package-install-file): Simplify accordingly.
20744 (package-archive-base): Change to take a pkg-desc.
20745 * tar-mode.el (tar--check-descriptor): New function, extracted from
20746 tar-get-descriptor.
20747 (tar-get-descriptor): Use it.
20748 (tar-get-file-descriptor): New function.
20749 (tar--extract): New function, extracted from tar-extract.
20750 (tar--extract): Use it.
20751 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
20752 case the summary uses non-ascii. Adjust to new calling convention of
20753 package-tar-file-info.
20755 2013-06-21 Leo Liu <sdl.web@gmail.com>
20757 * comint.el (comint-redirect-results-list-from-process):
20758 Fix random delay. (Bug#14681)
20760 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
20762 * profiler.el (profiler-format-number): Use log, not log10.
20764 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20766 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
20768 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20770 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
20771 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
20773 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
20774 (AUTOGENEL): ... here.
20775 * emacs-lisp/cl-macs.el (cl--sublis): New function.
20776 (cl--defsubst-expand): Use it.
20778 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
20780 * subr.el (log10): Move here from C code, and declare as obsolete.
20781 All uses of (log10 X) replaced with (log X 10).
20783 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20785 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
20786 Declare with `defvar-local'.
20787 (tabulated-list-use-header-line, tabulated-list-entries)
20788 (tabulated-list-padding, tabulated-list-printer)
20789 (tabulated-list-sort-key): Declare with `defvar-local'.
20790 (tabulated-list-init-header, tabulated-list-print-fake-header):
20793 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
20795 * arc-mode.el (archive-mode): Add `archive-write-file' to
20796 `write-contents-functions' also for remote files. (Bug#14652)
20798 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
20800 * cus-edit.el (custom-commands): Fix typos.
20801 (custom-display): Fix tooltip text.
20802 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
20803 Fix typos in docstrings.
20804 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
20805 (custom-unlispify-menu-entry, custom-magic-value-create)
20806 (custom-add-see-also, custom-group-value-create): Use ?\s.
20807 (custom-guess-type, customize-apropos, editable-field)
20808 (custom-face-value-create): Use `string-match-p'.
20809 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
20811 * custom.el (custom-load-symbol): Use `string-match-p'.
20813 * ansi-color.el: Convert to lexical binding.
20814 (ansi-colors): Fix URL.
20815 (ansi-color-context, ansi-color-context-region): Use defvar-local.
20816 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
20817 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
20819 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20821 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
20823 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
20825 2013-06-19 Tom Tromey <tromey@redhat.com>
20827 * net/eww.el (eww-top-url): Remove.
20828 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
20829 (eww-render): Set new variables. Don't set eww-top-url.
20830 (eww-handle-link): Handle "prev", "home", and "contents".
20831 Downcase the rel text.
20832 (eww-top-url): Choose best top URL.
20834 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20836 * net/eww.el: Rewrite to implement form elements "by hand" instead of
20837 relying in widget.el. Using widget.el leads to too many
20838 user interface inconsistencies.
20839 (eww-self-insert): Implement entering commands in text fields.
20840 (eww-process-text-input): New function to make text input field editing
20842 (eww-submit): Rewrite to use the new-style form methods.
20843 (eww-select-display): Display the correct selected item.
20844 (eww-change-select): Implement changing the select value.
20845 (eww-toggle-checkbox): Implement radio/checkboxes.
20846 (eww-update-field): Fix compilation error.
20847 (eww-tag-textarea): Implement <textarea>.
20849 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
20850 we don't shadow mode-specific bindings.
20852 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
20855 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
20857 2013-06-19 Glenn Morris <rgm@gnu.org>
20859 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
20861 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20863 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
20866 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
20868 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20870 * net/browse-url.el (browse-url-browser-function):
20871 `eww-browse-url' has the right calling signature, `eww' does not.
20873 2013-06-19 Glenn Morris <rgm@gnu.org>
20875 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
20876 Only eval autoloaded macros.
20877 (byte-compile-autoload): Only give the macro warning for macros.
20879 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
20880 (ps-underlined-faces): Declare.
20882 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
20883 (speedbar-add-supported-extension): Declare.
20885 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
20886 Don't include a date stamp in the header of the generated file;
20887 it leads to needless differences between output files.
20889 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
20891 * net/secrets.el (secrets-struct-secret-content-type):
20892 Replace check of introspection data by a test call of "CreateItem".
20893 Some servers do not offer introspection.
20895 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
20897 * electric.el (electric-pair-mode): Improve interaction with
20898 electric-layout-mode.
20899 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
20900 (electric-pair-syntax): Use text-mode-syntax-table in comments
20902 (electric-pair--insert): New function.
20903 (electric-pair-post-self-insert-function): Use it and
20904 electric--after-char-pos.
20906 2013-06-19 Leo Liu <sdl.web@gmail.com>
20908 * progmodes/octave.el (octave-help): Fix regexp.
20910 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20912 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
20913 (shr-table-horizontal-line): Allow nil as a value, and change the
20915 (shr-insert-table-ruler): Respect the nil value.
20917 2013-06-18 Tom Tromey <tromey@barimba>
20919 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20921 (eww-open-file): New defun.
20922 (eww-render): Initialize new variables.
20923 (eww-display-html): Handle "link" and "a".
20924 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
20925 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
20926 (eww-back-url): Rename from eww-previous-url.
20927 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
20930 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
20932 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
20933 Distinguish ternary operator tokens from slash symbol and slash
20936 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20938 Convert symbol prettification into minor mode and global minor mode.
20940 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
20941 `prog-prettify-symbols', and make a local defvar instead of defcustom.
20942 (prettify-symbols--keywords): Rename from
20943 `prog-prettify-symbols-alist' and make a local defvar.
20944 (prettify-symbols--compose-symbol): Rename from
20945 `prog--prettify-font-lock-compose-symbol'.
20946 (prettify-symbols--make-keywords): Rename from
20947 `prog-prettify-font-lock-symbols-keywords' and simplify.
20948 (prog-prettify-install): Remove.
20949 (prettify-symbols-mode): New minor mode, based on
20950 `prog-prettify-install'.
20951 (turn-on-prettify-symbols-mode): New function.
20952 (global-prettify-symbols-mode): New globalized minor mode.
20954 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
20955 * progmodes/cfengine.el (cfengine3-mode):
20956 * progmodes/perl-mode.el (perl-mode): Don't call
20957 `prog-prettify-install'; set `prettify-symbols-alist' instead.
20959 2013-06-18 Juri Linkov <juri@jurta.org>
20961 * files-x.el (modify-file-local-variable-message): New function.
20962 (modify-file-local-variable)
20963 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
20964 and call `modify-file-local-variable-message' when it's non-nil.
20965 (add-file-local-variable, delete-file-local-variable)
20966 (add-file-local-variable-prop-line)
20967 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
20968 and use it. (Bug#9820)
20970 2013-06-18 Juri Linkov <juri@jurta.org>
20972 * emulation/vi.el (vi-shell-op):
20973 * emulation/vip.el (vip-execute-com, ex-command):
20974 * emulation/viper-cmd.el (viper-exec-bang):
20975 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
20976 the call of `shell-command-on-region'. (Bug#14637)
20978 * simple.el (shell-command-on-region): Doc fix.
20980 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
20982 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
20985 2013-06-18 Glenn Morris <rgm@gnu.org>
20987 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
20989 * newcomment.el (comment-search-forward, comment-search-backward):
20990 Doc fix. (Bug#14376)
20992 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
20994 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
20995 (buffer-face-mode-invoke): Doc fix.
20997 2013-06-18 Matthias Meulien <orontee@gmail.com>
20999 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
21000 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
21002 2013-06-18 Glenn Morris <rgm@gnu.org>
21004 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
21005 Replace obsolete function generic-make-keywords with its expansion.
21007 * progmodes/python.el (ffap-alist): Declare.
21009 * textmodes/reftex.el (bibtex-mode-map): Declare.
21011 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
21013 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
21014 (package-unpack, package-unpack-single): Return the pkg-dir.
21015 (package-download-transaction): Use it to update package-alist.
21017 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21019 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
21022 2013-06-17 Juri Linkov <juri@jurta.org>
21024 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
21026 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21028 * emacs-lisp/package.el (package-load-descriptor):
21029 Remove `with-syntax-table' call, `read' doesn't need it.
21030 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
21032 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21034 * startup.el (command-line): Expand package name returned by
21035 `package--description-file' (bug#14639).
21037 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
21039 * emacs-lisp/package.el (package-load-descriptor): Do not call
21040 `emacs-lisp-mode', just use its syntax table.
21042 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
21044 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
21045 `font-lock-extra-managed-props' if any prettifying keyword is added.
21046 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
21047 (prog-mode): Use `setq-local'.
21049 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21051 * international/characters.el (standard-case-table): Set syntax of ?»
21052 and ?« to punctuation.
21054 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
21056 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
21057 Save relevant match data before calling `syntax-ppss' (bug#14595).
21059 2013-06-15 Juri Linkov <juri@jurta.org>
21061 * files-x.el (modify-file-local-variable-prop-line): Add local
21062 variables to the end of the existing comment on the first line.
21063 Use `file-auto-mode-skip' to skip interpreter magic line,
21064 and also skip XML declaration.
21066 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21068 * startup.el (package--builtin-versions): New var.
21069 (package-subdirectory-regexp): Remove.
21070 (package--description-file): Hard code its value instead.
21072 * emacs-lisp/package.el: Don't activate packages older than builtin.
21073 (package-obsolete-list): Rename from package-obsolete-alist, and make
21074 it into a simple list of package-desc.
21075 (package-strip-version): Remove.
21076 (package-built-in-p): Use package--builtin-versions.
21077 (package-mark-obsolete): Simplify.
21078 (package-process-define-package): Mark it obsolete if older than the
21080 (package-handle-response): Use line-end-position.
21081 (package-read-archive-contents, package--download-one-archive):
21083 (package--add-to-archive-contents): Skip if older than the builtin or
21085 (package-menu-describe-package): Fix last change.
21086 (package-list-unversioned): New var.
21087 (package-menu--generate): Use it.
21089 * emacs-lisp/autoload.el: Manage package--builtin-versions.
21090 (autoload--insert-text, autoload--insert-cookie-text): New functions.
21091 (autoload-builtin-package-versions): New variable.
21092 (autoload-generate-file-autoloads): Use them.
21093 Remove the list of autoloaded functions/macros from the
21094 (autoload...) comments.
21096 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
21098 2013-06-15 Eli Zaretskii <eliz@gnu.org>
21100 * simple.el (line-move-partial): Don't jump to the next screen
21101 line as soon as it becomes visible. Instead, continue enlarging
21102 the vscroll until the portion of a tall screen line that's left on
21103 display is about the height of the frame's default font.
21106 2013-06-15 Glenn Morris <rgm@gnu.org>
21108 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
21109 compilation-error-regexp-alist void, or local while let-bound.
21111 * progmodes/make-mode.el (makefile-mode-syntax-table):
21112 Treat "=" as punctuation. (Bug#14614)
21114 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
21116 * help-fns.el (describe-variable):
21117 Add extra line for permanent-local variables.
21119 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
21121 * progmodes/scheme.el (scheme-font-lock-keywords-2):
21122 Add export, import, library. (Bug#9164)
21123 (library): Set indent function.
21125 2013-06-14 Glenn Morris <rgm@gnu.org>
21127 * term/xterm.el (xterm--query):
21128 Stop after first matching handler. (Bug#14615)
21130 2013-06-14 Ivan Kanis <ivan@kanis.fr>
21132 Add support for dired in saveplace.
21133 * dired.el (dired-initial-position-hook): New variable.
21134 (dired-initial-position): Call hook to place cursor position.
21135 * saveplace.el (save-place-to-alist): Add dired position.
21136 (save-place-dired-hook): New function.
21138 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
21140 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
21141 through a symbol rather than letrec.
21143 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
21144 (package-desc): Add `dir' field.
21145 (package-desc-full-name): New function.
21146 (package-load-descriptor): Combine the two arguments. Don't use `load'.
21147 (package-maybe-load-descriptor): Remove.
21148 (package-load-all-descriptors): Just call package-load-descriptor.
21149 (package--disabled-p): New function.
21150 (package-desc-vers, package-desc-doc): Remove aliases.
21151 (package--dir): Remove function.
21152 (package-activate): Check if a package is disabled.
21153 (package-process-define-package): New function, extracted from
21155 (define-package): Turn into a place holder.
21156 (package-unpack-single, package-tar-file-info):
21157 Use package--description-file.
21158 (package-compute-transaction): Use package--disabled-p.
21159 (package-download-transaction): Don't call
21160 package-maybe-load-descriptor since they're all loaded anyway.
21161 (package-install): Change argument to be a pkg-desc.
21162 (package-delete): Use a single pkg-desc argument.
21163 (describe-package-1): Use package-desc-dir instead of package--dir.
21164 Use package-desc property instead of package-symbol.
21165 (package-install-button-action): Adjust accordingly.
21166 (package--push): Rewrite.
21167 (package-menu--print-info): Adjust accordingly. Change the ID format
21169 (package-menu-describe-package, package-menu-get-status)
21170 (package-menu--find-upgrades, package-menu-mark-upgrades)
21171 (package-menu-execute, package-menu--name-predicate):
21172 Adjust accordingly.
21173 * startup.el (package--description-file): New function.
21174 (command-line): Use it.
21175 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21176 Use package-desc-version.
21178 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
21179 (byte-compile-preprocess): Use it.
21180 (byte-compile-file-form-defalias): Try a bit harder to use macros we
21181 can't quite recognize.
21182 (byte-compile-add-to-list): Remove.
21183 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
21184 (cconv-closure-convert): Add assertion.
21186 * emacs-lisp/map-ynp.el: Use lexical-binding.
21187 (map-y-or-n-p): Remove unused vars `tail' and `object'.
21188 Factor out some repeated code.
21190 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21192 * subr.el (with-eval-after-load): New macro.
21193 (eval-after-load): Allow form to be a function.
21194 take advantage of lexical-binding.
21195 (do-after-load-evaluation): Use dolist and adjust to new format.
21196 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
21198 2013-06-13 Juri Linkov <juri@jurta.org>
21200 * replace.el (perform-replace): Display "symbol " and other search
21201 modes from `isearch-message-prefix' in the *Help* buffer.
21203 * isearch.el (isearch-query-replace): Add " symbol" and other
21204 possible search modes from `isearch-message-prefix' to the prompt.
21205 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
21206 when reading a regexp to collect.
21208 2013-06-13 Juri Linkov <juri@jurta.org>
21210 * isearch.el (word-search-regexp): Match whitespace if the search
21211 string begins or ends in whitespace. The LAX arg is applied to
21212 both ends of the search string. Use `regexp-quote' and explicit
21213 \< and \> instead of \b. Use \` and \' instead of ^ and $.
21214 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
21215 boundaries are replaced with symbol boundaries, and characters
21216 between symbols match non-word non-symbol syntax. (Bug#14602)
21218 2013-06-13 Juri Linkov <juri@jurta.org>
21220 * isearch.el (isearch-del-char): Don't exceed the length of
21221 `isearch-string' by the prefix arg. (Bug#14563)
21223 2013-06-13 Juri Linkov <juri@jurta.org>
21225 * isearch.el (isearch-yank-word, isearch-yank-line)
21226 (isearch-char-by-name, isearch-quote-char)
21227 (isearch-printing-char, isearch-process-search-char):
21228 Add optional count prefix arg. (Bug#14563)
21230 * international/isearch-x.el
21231 (isearch-process-search-multibyte-characters):
21232 Add optional count prefix arg.
21234 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
21236 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
21237 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
21240 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
21242 * subr.el (set-temporary-overlay-map): Add on-exit argument.
21244 2013-06-13 Glenn Morris <rgm@gnu.org>
21246 * startup.el (tty-handle-args):
21247 Don't just discard "--" and anything after. (Bug#14608)
21249 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
21251 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
21253 Implement changes in Secret Service API. Make it backward compatible.
21254 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
21255 (secrets-create-item): Use it. Prefix properties with interface.
21257 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
21259 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
21260 (term-emulate-terminal): Respect term-suppress-hard-newline.
21262 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
21264 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
21265 Only remove a `thumb-file' overlay. (Bug#14548)
21267 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
21269 * mail/reporter.el (reporter-submit-bug-report):
21270 Handle missing package-name. (Bug#14600)
21272 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21274 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
21275 (reftex-citation-prompt, reftex-default-bibliography)
21276 (reftex-bib-or-thebib, reftex-get-bibfile-list)
21277 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
21278 (reftex-bib-sort-author, reftex-bib-sort-year)
21279 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
21280 (reftex-extract-bib-entries-from-thebibliography)
21281 (reftex-get-bibkey-default, reftex-get-bib-names)
21282 (reftex-parse-bibtex-entry, reftex-get-bib-field)
21283 (reftex-format-bib-entry, reftex-parse-bibitem)
21284 (reftex-format-bibitem, reftex-do-citation)
21285 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
21286 (reftex-restrict-bib-matches, reftex-extract-bib-file)
21287 (reftex-insert-bib-matches, reftex-format-citation)
21288 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
21289 (reftex-create-bibtex-file): Add docstrings, mostly by converting
21290 existing comments into docstrings.
21292 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
21294 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
21296 2013-06-12 Andreas Schwab <schwab@suse.de>
21298 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
21299 for auto-save files.
21301 2013-06-12 Glenn Morris <rgm@gnu.org>
21303 * ido.el (ido-delete-ignored-files): Remove.
21304 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
21305 Go back to calling ido-ignore-item-p directly.
21307 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
21309 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
21311 * ido.el (ido-delete-ignored-files): New function,
21312 split from ido-make-file-list-1.
21313 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
21314 (ido-make-file-list-1): Use ido-delete-ignored-files.
21316 2013-06-12 Leo Liu <sdl.web@gmail.com>
21318 * progmodes/octave.el (inferior-octave-startup)
21319 (inferior-octave-completion-table)
21320 (inferior-octave-track-window-width-change)
21321 (octave-eldoc-function-signatures, octave-help)
21322 (octave-find-definition): Use single quoted strings.
21323 (inferior-octave-startup-args): Change default value.
21324 (inferior-octave-startup): Do not hard code "-i" and
21325 "--no-line-editing".
21326 (inferior-octave-resync-dirs): Add optional arg NOERROR.
21327 (inferior-octave-directory-tracker): Use it.
21328 (octave-goto-function-definition): Robustify.
21329 (octave-help): Support highlighting operators in 'See also'.
21330 (octave-find-definition): Find subfunctions only in Octave mode.
21332 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
21334 * help-fns.el (help-fns--compiler-macro): If the handler function is
21335 named, then put a link to it.
21336 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
21337 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
21338 (cl-typep): Use it.
21339 (cl-eval-when): Simplify debug spec.
21340 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
21341 compiler-macro function instead of setting `compiler-macro-file'.
21343 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
21345 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
21346 * vc/vc-hooks.el (vc-stay-local): Doc fix.
21348 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
21349 Daniel Hackney <dan@haxney.org>
21351 First part of Daniel Hackney's patch to package.el.
21352 * emacs-lisp/package.el: Use defstruct.
21353 (package-desc): New, main struct.
21354 (package--bi-desc, package--ac-desc): New structs, used to describe the
21355 format in external files.
21356 (package-desc-vers): Replace with package-desc-version accessor.
21357 (package-desc-doc): Replace with package-desc-summary accessor.
21358 (package-activate-1): Remove `package' arg since the pkg-vec now
21360 (define-package): Use package-desc-from-define.
21361 (package-unpack-single): Change file-name arg to be a symbol.
21362 (package--add-to-archive-contents): Use package-desc-create and new
21363 accessor functions to package--ac-desc.
21364 (package-buffer-info, package-tar-file-info): Return a package-desc.
21365 (package-install-from-buffer): Remove `type' argument. Change pkg-info
21366 arg to be a package-desc.
21367 (package-install-file): Adjust accordingly. Use \' to match EOS.
21368 (package--from-builtin): New function.
21369 (describe-package-1, package-menu--generate): Use it.
21370 (package--make-autoloads-and-compile): Change name arg to be a symbol.
21371 (package-generate-autoloads): Idem and return the name of the file.
21372 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21373 Change pkg-info arg to be a package-desc.
21374 Use package-make-ac-desc.
21375 (package-upload-file): Use \' to match EOS.
21376 * finder.el (finder-compile-keywords): Use package-make-builtin.
21378 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21380 * vc/vc.el (vc-deduce-fileset): Change error message.
21381 (vc-read-backend): New function.
21382 (vc-next-action): Use it.
21384 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
21386 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
21387 (prolog-font-lock-keywords): Use regexp-opt instead.
21388 Don't manually highlight strings.
21389 (prolog-mode-variables): Simplify comment-start-skip.
21390 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
21392 * emacs-lisp/generic.el (generic--normalise-comments)
21393 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
21394 (generic-mode-set-comments): Use them.
21395 (generic-bracket-support): Use setq-local.
21396 (generic-make-keywords-list): Declare obsolete.
21398 2013-06-11 Glenn Morris <rgm@gnu.org>
21400 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
21401 Prettify after setting font-lock-defaults. (Bug#14574)
21403 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
21405 * replace.el (query-replace, occur-read-regexp-defaults-function)
21407 * subr.el (declare-function, number-sequence, local-set-key)
21408 (substitute-key-definition, locate-user-emacs-file)
21409 (with-silent-modifications, split-string, eval-after-load):
21410 Fix typos, remove unneeded backslashes and reflow some docstrings.
21412 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
21414 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
21415 default for Elisp files.
21417 2013-06-11 Glenn Morris <rgm@gnu.org>
21419 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
21420 although define-derived-mode was doing this anyway. (Bug#14583)
21422 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
21424 * allout.el (allout-encryption-plaintext-sanitization-regexps):
21425 Fix make-variable-buffer-local call to refer to the correct variable.
21427 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
21429 * eshell/em-term.el (eshell-visual-commands)
21430 (eshell-visual-subcommands, eshell-visual-options):
21431 Add summary line to docstrings. Add cross-references.
21433 2013-06-10 Glenn Morris <rgm@gnu.org>
21435 * epa.el (epa-read-file-name): New function. (Bug#14510)
21436 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
21438 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
21440 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
21441 output redirection to be ignored with visual commands.
21443 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
21445 * eshell/em-term.el (eshell-visual-command-p): New function.
21446 (eshell-term-initialize): Move long lambda to separate function
21447 eshell-visual-command-p.
21448 * eshell/em-dirs.el (eshell-dirs-initialize):
21449 * eshell/em-script.el (eshell-script-initialize):
21450 Add missing #' to lambda.
21452 2013-06-08 Leo Liu <sdl.web@gmail.com>
21454 * progmodes/octave.el (octave-add-log-current-defun): New function.
21455 (octave-mode): Set add-log-current-defun-function.
21456 (octave-goto-function-definition): Do not move point if not found.
21457 (octave-find-definition): Enhance to try subfunctions first.
21459 2013-06-08 Glenn Morris <rgm@gnu.org>
21461 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21462 (byte-compile-backward-char, byte-compile-backward-word):
21463 Improve previous change, to handle non-explicit nil.
21465 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
21467 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
21468 (smie--opener/closer-at-point): New function.
21469 (smie--matching-block-data): Use it. Don't match from right after an
21470 opener or right before a closer. Obey smie-blink-matching-inners.
21471 Don't signal a mismatch for repeated inners like "switch..case..case".
21473 2013-06-07 Leo Liu <sdl.web@gmail.com>
21475 * progmodes/octave.el (octave-mode): Set comment-use-global-state
21477 (octave-function-header-regexp): Fix. (Bug#14570)
21478 (octave-help-mode-finish-hook, octave-help-mode-finish):
21479 Remove. Just use temp-buffer-show-hook.
21481 * newcomment.el (comment-search-backward): Revert last change.
21484 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
21486 2013-06-07 Eli Zaretskii <eliz@gnu.org>
21488 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
21489 through xargs, to avoid failure due to MS-Windows limitations on
21490 command-line length.
21492 2013-06-06 Glenn Morris <rgm@gnu.org>
21494 * font-lock.el (lisp-font-lock-keywords-2):
21495 Treat user-error like error.
21497 * emacs-lisp/bytecomp.el (byte-compile-char-before)
21498 (byte-compile-backward-char, byte-compile-backward-word):
21499 Handle explicit nil arguments. (Bug#14565)
21501 2013-06-05 Alan Mackenzie <acm@muc.de>
21503 * isearch.el (isearch-allow-prefix): New user option.
21504 (isearch-other-meta-char): Don't exit isearch when a prefix
21505 argument is typed whilst `isearch-allow-prefix' is non-nil.
21508 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21510 * autorevert.el (auto-revert-notify-handler): Use memq.
21511 Hide assertion failure.
21513 * skeleton.el: Use cl-lib.
21514 (skeleton-further-elements): Use defvar-local.
21515 (skeleton-insert): Use cl-progv.
21517 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21519 * progmodes/prog-mode.el (prog-prettify-symbols)
21520 (prog-prettify-install): Update docstrings.
21522 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21524 * simple.el: Move all the prog-mode code to prog-mode.el.
21525 * progmodes/prog-mode.el: New file.
21526 * loadup.el: Add prog-mode.el.
21528 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21530 * simple.el (prog-prettify-symbols): Add version.
21531 (prog-prettify-install): Add convenience function to prettify symbols.
21533 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
21534 (perl--augmented-font-lock-keywords-1)
21535 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
21536 variables and use it.
21538 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21539 (cfengine3-mode): Remove unneeded variable and use it.
21541 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21542 (lisp--augmented-font-lock-keywords-1)
21543 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
21544 Remove unneeded variables and use it.
21546 2013-06-05 João Távora <joaotavora@gmail.com>
21548 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
21549 to point when opening the connection. (Bug#14380)
21551 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21553 * subr.el (load-history-regexp, load-history-filename-element)
21554 (eval-after-load, after-load-functions, do-after-load-evaluation)
21555 (eval-next-after-load, display-delayed-warnings)
21556 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
21557 definition of save-match-data.
21558 (overriding-local-map): Remove accidental obsolescence declaration.
21560 * emacs-lisp/edebug.el (edebug-result): Move before first use.
21562 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
21564 Generalize symbol prettify support to prog-mode and implement it
21565 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
21566 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
21567 (prog--prettify-font-lock-compose-symbol)
21568 (prog-prettify-font-lock-symbols-keywords): New variables and
21569 functions to support symbol prettification.
21570 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
21571 (lisp--augmented-font-lock-keywords-1)
21572 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
21573 (lisp--prettify-symbols-alist): Implement prettify of lambda.
21574 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
21575 (cfengine3--prettify-symbols-alist, cfengine3-mode):
21576 Implement prettify of -> => :: strings.
21577 * progmodes/perl-mode.el (perl-prettify-symbols)
21578 (perl--font-lock-compose-symbol)
21579 (perl--font-lock-symbols-keywords): Move to prog-mode.
21580 (perl--prettify-symbols-alist): Prettify -> => :: strings.
21581 (perl-font-lock-keywords-1)
21582 (perl-font-lock-keywords-2): Remove explicit prettify support.
21583 (perl--augmented-font-lock-keywords)
21584 (perl--augmented-font-lock-keywords-1)
21585 (perl--augmented-font-lock-keywords-2, perl-mode):
21586 Implement prettify support.
21588 2013-06-05 Leo Liu <sdl.web@gmail.com>
21590 Re-implement SMIE matching block highlight using
21591 show-paren-data-function. (Bug#14395)
21592 * emacs-lisp/smie.el (smie-matching-block-highlight)
21593 (smie--highlight-matching-block-overlay)
21594 (smie--highlight-matching-block-lastpos)
21595 (smie-highlight-matching-block)
21596 (smie-highlight-matching-block-mode): Remove.
21597 (smie--matching-block-data-cache): New variable.
21598 (smie--matching-block-data): New function.
21599 (smie-setup): Use smie--matching-block-data for
21600 show-paren-data-function.
21602 * progmodes/octave.el (octave-mode-menu): Fix.
21603 (octave-find-definition): Skip garbage lines.
21605 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21607 Fix compilation error with simultaneous dynamic+lexical scoping.
21608 Add warning when a defvar appears after the first let-binding.
21609 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
21610 (byte-compile-close-variables): Initialize it.
21611 (byte-compile--declare-var): New function.
21612 (byte-compile-file-form-defvar)
21613 (byte-compile-file-form-define-abbrev-table)
21614 (byte-compile-file-form-custom-declare-variable): Use it.
21615 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
21616 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
21617 (byte-compile-bind): Handle dynamic bindings that shadow
21619 (byte-compile-unbind): Make arg non-optional.
21620 (byte-compile-let): Simplify.
21621 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
21622 (cconv--analyse-function, cconv-analyse-form): Populate it.
21623 Protect byte-compile-bound-variables to limit the scope of defvars.
21624 (cconv-analyse-form): Add missing rule for (defvar <foo>).
21625 Remove unneeded rule for `declare'.
21627 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
21628 so as to avoid depending on cl-adjoin at run-time.
21629 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
21631 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
21632 (macroexp--warn-and-return): Use it.
21634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
21636 * subr.el: Convert to lexical binding.
21637 (overriding-local-map): Make obsolete.
21638 (add-to-list): Doc fix. Add compiler macro.
21639 (read-key): Swap values of local maps.
21641 2013-06-05 Leo Liu <sdl.web@gmail.com>
21643 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
21645 2013-06-04 Leo Liu <sdl.web@gmail.com>
21647 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
21648 (compilation-auto-jump): Suppress the "Mark set" message to give
21649 way to exit message.
21651 2013-06-04 Alan Mackenzie <acm@muc.de>
21653 Remove faulty optimization from indentation calculation.
21654 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
21655 search limit based on 2000 characters back from indent-point.
21657 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21659 * eshell/em-term.el (cl-lib): Require `cl-lib'.
21661 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
21663 * emacs-lisp/lisp.el: Use lexical-binding.
21664 (lisp--local-variables-1, lisp--local-variables): New functions.
21665 (lisp--local-variables-completion-table): New var.
21666 (lisp-completion-at-point): Use it complete let-bound vars.
21668 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
21669 eagerly (bug#14422).
21671 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
21673 * autorevert.el (auto-revert-notify-enabled)
21674 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21675 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
21676 (auto-revert-notify-handler): Handle also gfilenotify.
21678 * subr.el (file-notify-handle-event): New defun. Replacing ...
21679 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
21682 2013-06-03 Juri Linkov <juri@jurta.org>
21684 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
21685 `M-s h .'. (Bug#14427)
21687 * hi-lock.el (highlight-symbol-at-point): New alias for the new
21688 command `hi-lock-face-symbol-at-point'.
21689 (hi-lock-face-symbol-at-point): New command.
21690 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
21691 (hi-lock-menu): Add `highlight-symbol-at-point'.
21692 (hi-lock-mode): Doc fix.
21694 * isearch.el (isearch-forward-symbol-at-point): New command.
21695 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
21696 (isearch-highlight-regexp): Add a regexp which matches
21697 words/symbols for word/symbol mode.
21699 * subr.el (find-tag-default-bounds): New function with the body
21700 mostly moved from `find-tag-default'.
21701 (find-tag-default): Move most code to `find-tag-default-bounds',
21702 call it and apply `buffer-substring-no-properties' afterwards.
21704 2013-06-03 Tassilo Horn <tsdh@gnu.org>
21706 * eshell/em-term.el (eshell-term-initialize):
21707 Use `cl-intersection' rather than `intersection'.
21709 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
21711 * vc/log-view.el: Doc fix.
21712 (log-view-mode-map): Copy keymap from `special-mode-map'.
21714 2013-06-02 Eric Ludlam <zappo@gnu.org>
21716 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
21717 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
21718 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
21719 (eieio-unbound, eieio-default-superclass)
21720 (eieio--define-field-accessors, method-static, method-before)
21721 (method-primary, method-after, method-num-lists)
21722 (method-generic-before, method-generic-primary)
21723 (method-generic-after, method-num-slots)
21724 (eieio-specialized-key-to-generic-key)
21725 (eieio--check-type, class-v, class-p)
21726 (eieio-class-name, define-obsolete-function-alias)
21727 (eieio-class-parents-fast, eieio-class-children-fast)
21728 (same-class-fast-p, class-constructor, generic-p)
21729 (generic-primary-only-p, generic-primary-only-one-p)
21730 (class-option-assoc, class-option, eieio-object-p)
21731 (class-abstract-p, class-method-invocation-order)
21732 (eieio-defclass-autoload-map, eieio-defclass-autoload)
21733 (eieio-class-un-autoload, eieio-defclass)
21734 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
21735 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
21736 (eieio--defgeneric-init-form, eieio-defgeneric-form)
21737 (eieio-defgeneric-reset-generic-form)
21738 (eieio-defgeneric-form-primary-only)
21739 (eieio-defgeneric-reset-generic-form-primary-only)
21740 (eieio-defgeneric-form-primary-only-one)
21741 (eieio-defgeneric-reset-generic-form-primary-only-one)
21742 (eieio-unbind-method-implementations)
21743 (eieio--defmethod, eieio--typep)
21744 (eieio-perform-slot-validation, eieio-validate-slot-value)
21745 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
21746 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
21747 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
21748 (eieio-slot-name-index, eieio-class-slot-name-index)
21749 (eieio-set-defaults, eieio-initarg-to-attribute)
21750 (eieio-attribute-to-initarg, eieio-c3-candidate)
21751 (eieio-c3-merge-lists, eieio-class-precedence-c3)
21752 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
21753 (eieio-class-precedence-list, eieio-generic-call-methodname)
21754 (eieio-generic-call-arglst, eieio-generic-call-key)
21755 (eieio-generic-call-next-method-list)
21756 (eieio-pre-method-execution-functions, eieio-generic-call)
21757 (eieio-generic-call-primary-only, eieiomt-method-list)
21758 (eieiomt-optimizing-obarray, eieiomt-install)
21759 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
21760 (eieio-generic-form, eieio-defmethod, make-obsolete)
21761 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
21762 (defclass): Remove `eval-and-compile' from macro.
21763 (call-next-method, shared-initialize): Instead of using
21764 `scoped-class' variable, use new eieio--scoped-class, and
21765 eieio--with-scoped-class.
21766 (initialize-instance): Rename local variable 'scoped-class' to
21767 'this-class' to remove ambiguitity from old global.
21769 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
21771 (eieio--scoped-class-stack): New variable.
21772 (eieio--scoped-class): New fcn.
21773 (eieio--with-scoped-class): New scoping macro.
21774 (eieio-defclass): Use pushnew instead of add-to-list.
21775 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
21776 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
21777 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
21778 `scoped-class' variable, use new eieio--scoped-class, and
21779 eieio--with-scoped-class.
21781 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
21783 2013-06-02 Tassilo Horn <tsdh@gnu.org>
21785 * eshell/esh-ext.el (eshell-external-command): Pass args to
21786 `eshell-find-interpreter'.
21787 (eshell-find-interpreter): Add new second parameter ARGS.
21789 * eshell/em-script.el (eshell-script-initialize): Add second arg
21790 to the function added as MATCH to `eshell-interpreter-alist'.
21792 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
21793 the function added as MATCH to `eshell-interpreter-alist'.
21795 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
21796 (eshell-visual-options): New defcustom.
21797 (eshell-escape-control-x): Adapt docstring.
21798 (eshell-term-initialize): Test `eshell-visual-subcommands' and
21799 `eshell-visual-options' in addition to `eshell-visual-commands'.
21800 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
21802 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
21804 * progmodes/python.el (python-indent-block-enders): Add break,
21805 continue and raise keywords.
21807 2013-06-01 Glenn Morris <rgm@gnu.org>
21809 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
21811 Plain (f)boundp silences compilation warnings since Emacs 22.1.
21812 * progmodes/cc-cmds.el (delete-forward-p):
21813 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
21814 * progmodes/cc-engine.el (buffer-syntactic-context):
21815 * progmodes/cc-fonts.el (face-property-instance):
21816 * progmodes/cc-mode.el (set-keymap-parents):
21817 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
21818 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
21819 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
21820 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
21821 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
21823 * progmodes/cc-vars.el (other): Emacs has this widget since
21824 at least 21.1, so don't (re)define it.
21826 * eshell/em-cmpl.el (eshell-cmpl-initialize):
21827 Replace the obsolete alias pcomplete-arg-quote-list.
21829 2013-06-01 Leo Liu <sdl.web@gmail.com>
21831 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
21832 punctuation syntax.
21833 (inferior-octave-minimal-columns)
21834 (inferior-octave-last-column-width): New variables.
21835 (inferior-octave-track-window-width-change): New function.
21836 (inferior-octave-mode): Adjust column width so that Octave output,
21837 for example from 'ls', can fit into the window nicely.
21839 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21841 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21842 Highlight expansions inside regexp literals.
21844 2013-05-31 Glenn Morris <rgm@gnu.org>
21846 * obsolete/sym-comp.el (symbol-complete):
21847 Replace obsolete completion-annotate-function.
21849 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
21851 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
21853 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
21854 New function, checks if point is inside a literal that allows
21855 expression expansion.
21856 (ruby-syntax-propertize-expansion): Use it.
21857 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
21860 2013-05-30 Juri Linkov <juri@jurta.org>
21862 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
21864 (isearch-invisible): New variable.
21865 (isearch-forward): Doc fix.
21866 (isearch-mode): Set `isearch-invisible'
21867 to the value of `search-invisible'.
21868 (isearch-toggle-case-fold): Doc fix.
21869 (isearch-toggle-invisible): New command.
21870 (isearch-query-replace): Let-bind `search-invisible'
21871 to the value of `isearch-invisible'.
21872 (isearch-search): Use `isearch-invisible' instead of
21873 `search-invisible'. Let-bind `search-invisible'
21874 to the value of `isearch-invisible'. (Bug#11378)
21876 2013-05-30 Juri Linkov <juri@jurta.org>
21878 * replace.el (perform-replace): Avoid `isearch-range-invisible'
21879 call when `query-flag' is nil and `search-invisible' is non-nil.
21882 2013-05-30 Glenn Morris <rgm@gnu.org>
21884 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
21886 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
21887 (cc-require): Suppress spurious "noruntime" warnings.
21888 (cc-require-when-compile): Use fboundp, for sake of compiler.
21890 * progmodes/cc-mode.el: Move load of cc-vars before that of
21891 cc-langs (which in turn loads cc-vars), to quieten compiler.
21893 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21895 * paren.el: Simplify the code.
21896 (show-paren-mode): Always start the timer.
21897 (show-paren--idle-timer): Rename from show-paren-idle-timer.
21898 (show-paren--overlay, show-paren--overlay-1): Rename from
21899 show-paren-overlay and show-paren-overlay-1, and initialize to an
21900 overlay rather than to nil.
21901 (show-paren-function): Misc cleanup and simplifications.
21903 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21905 * paren.el (show-paren-data-function): New hook.
21906 (show-paren--default): New function, extracted from show-paren-function.
21907 (show-paren-function): Use show-paren-data-function.
21909 2013-05-30 Glenn Morris <rgm@gnu.org>
21911 * ielm.el (ielm-map, ielm-complete-symbol):
21912 Use completion-at-point rather than obsolete functions.
21913 (inferior-emacs-lisp-mode): Doc fix.
21914 Set completion-at-point-functions, rather than
21915 comint-dynamic-complete-functions.
21917 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
21918 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
21919 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
21921 * image.el (image-animated-p): Tweak definition.
21923 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
21924 (rlogin-process-connection-type): Tweak default. Add set-after.
21925 (rlogin-host): Doc fix.
21926 (rlogin): Tweak prompt.
21927 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
21929 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
21930 * progmodes/tcl.el (inferior-tcl-mode-map):
21931 Use completion-at-point rather than obsolete alias.
21933 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
21935 * minibuffer.el (read-file-name-completion-ignore-case):
21936 Move before completion--in-region, for eager macro expansion.
21938 2013-05-29 Juri Linkov <juri@jurta.org>
21940 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
21941 for total count of matching lines. Add `global-matches' for total
21942 count of matches. Rename `matches' to `lines' for count of
21943 matching lines. Add `matches' for count of matches.
21944 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
21945 to `prev-line' for line number of prev match endpt.
21946 Increment `matches' for every match. Print the number of
21947 matching lines in the header.
21948 (occur-context-lines): Rename `lines' to `curr-line'.
21949 Rename `prev-lines' to `prev-line'. (Bug#14017)
21951 2013-05-29 Juri Linkov <juri@jurta.org>
21953 * replace.el (perform-replace): Add `skip-read-only-count',
21954 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
21955 Increment them for corresponding conditions and report the number
21956 of skipped occurrences in the final message. (Bug#11746)
21957 (query-replace, query-replace-regexp, query-replace-regexp-eval)
21958 (replace-string, replace-regexp): Doc fix.
21960 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
21962 * emacs-lisp/trace.el (trace--read-args): Provide a default.
21964 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
21965 prog-mode-map (bug#14504).
21967 2013-05-29 Leo Liu <sdl.web@gmail.com>
21969 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
21970 (octave-help): Small simplification.
21972 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
21973 off the highlight first.
21975 2013-05-29 Glenn Morris <rgm@gnu.org>
21977 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
21978 Handle idlwave-last-system-routine-info-cons-cell being nil.
21980 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
21981 (idlwave-write-paths): Simplify via with-temp-buffer.
21983 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
21984 * emulation/cua-rect.el: Also load cua-base at run time.
21986 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
21987 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
21988 (cperl-imenu-on-info): Require imenu.
21990 2013-05-28 Alan Mackenzie <acm@muc.de>
21992 Handle "capitalised keywords" correctly.
21993 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
21995 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
21997 * eshell/em-unix.el: Add -r option to cp.
21999 2013-05-28 Glenn Morris <rgm@gnu.org>
22001 * vc/vc-arch.el (vc-exec-after): Declare.
22002 (vc-switches): Autoload.
22003 * vc/vc-bzr.el: No need to require vc when compiling.
22004 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
22005 (vc-resynch-buffer, vc-dir-refresh): Declare.
22006 (vc-setup-buffer, vc-switches): Autoload.
22007 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
22008 (vc-resynch-buffer): Declare.
22009 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
22010 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
22011 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
22012 (grep-read-regexp, grep-read-files, grep-expand-template)
22013 (vc-dir-refresh): Declare.
22014 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
22015 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
22016 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
22017 * vc/vc-mtn.el (vc-exec-after): Declare.
22018 (vc-switches): Autoload.
22019 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
22020 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
22021 (vc-file-tree-walk): Declare.
22022 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
22023 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
22024 (vc-tag-precondition, vc-rename-master): Autoload.
22025 * vc/vc-svn.el (vc-exec-after): Declare.
22026 (vc-switches, vc-setup-buffer): Autoload.
22027 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
22029 (vc-resynch-buffer): Declare.
22031 * obsolete/fast-lock.el (byte-compile-warnings):
22032 Don't warn about obsolete features in this obsolete file.
22034 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
22035 Move definition before use.
22037 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
22038 (dun-unix-verbs): Remove dun-zippy.
22039 (dun-zippy): Remove function.
22041 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
22043 2013-05-27 Juri Linkov <juri@jurta.org>
22045 * replace.el (replace-search): New function with code moved out
22046 from `perform-replace'.
22047 (replace-highlight, replace-dehighlight): Move function definitions
22048 up closer to `replace-search'. (Bug#11746)
22050 2013-05-27 Juri Linkov <juri@jurta.org>
22052 * replace.el (perform-replace): Ignore invisible matches.
22053 In addition to checking `query-replace-skip-read-only', also
22054 filter out matches by calling `run-hook-with-args-until-failure'
22055 on `isearch-filter-predicates', and also check `search-invisible'
22056 for t or call `isearch-range-invisible'.
22057 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
22059 2013-05-27 Juri Linkov <juri@jurta.org>
22061 * isearch.el (isearch-filter-predicates): Rename from
22062 `isearch-filter-predicate'. Doc fix. (Bug#11378)
22063 (isearch-message-prefix): Display text from the property
22064 `isearch-message-prefix' of the currently active filters.
22065 (isearch-search): Don't compare `isearch-filter-predicate' with
22066 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
22067 on `isearch-filter-predicates'. Also check `search-invisible' for t
22068 or call `isearch-range-invisible'.
22069 (isearch-filter-visible): Make obsolete.
22070 (isearch-lazy-highlight-search):
22071 Call `run-hook-with-args-until-failure' on
22072 `isearch-filter-predicates' and use `isearch-range-invisible'.
22074 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
22075 `isearch-filter-predicates' instead of `funcall'ing
22076 `isearch-filter-predicate'.
22077 (Info-mode): Set `Info-isearch-filter' to
22078 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22080 * dired-aux.el (dired-isearch-filter-predicate-orig):
22082 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
22083 (dired-isearch-filenames-end): Add and remove
22084 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
22085 instead of changing the value of `isearch-filter-predicate'.
22086 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
22087 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
22088 Put property `isearch-message-prefix' to "filename " on
22089 `dired-isearch-filter-filenames'.
22091 * wdired.el (wdired-change-to-wdired-mode):
22092 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
22093 locally instead of changing `isearch-filter-predicate'.
22094 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
22096 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
22098 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
22099 return the commit hash (Bug#14459). Also set the
22100 `vc-git-detached' property.
22101 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
22102 (vc-git-mode-line-string): Use the same help-echo format whether
22103 in detached mode or not, because we know the actual revision now.
22104 When in detached mode, shorten the revision to 7 chars.
22106 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22108 * emacs-lisp/easy-mmode.el (define-minor-mode):
22109 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
22110 mode hook and provide a docstring.
22112 2013-05-27 Alan Mackenzie <acm@muc.de>
22114 Remove spurious syntax-table text properties inserted by C-y.
22115 * progmodes/cc-mode.el (c-after-change): Also clear hard
22116 syntax-table property with value nil.
22118 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
22120 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
22121 when reading the events; the buffer layout shall not be changed.
22123 2013-05-27 Leo Liu <sdl.web@gmail.com>
22125 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
22127 (inferior-octave-directory-tracker): Automatically re-sync
22129 (octave-help): Improve handling of 'See also'.
22131 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
22133 * doc-view.el: Minor naming convention tweaks.
22134 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
22136 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
22137 even if there's no `display' property yet (bug#14435).
22139 2013-05-25 Eli Zaretskii <eliz@gnu.org>
22141 * subr.el (unmsys--file-name): Rename from reveal-filename.
22143 * Makefile.in (custom-deps, finder-data, autoloads)
22144 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22145 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22146 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
22148 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22150 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
22151 error-completion on the first 2 args of condition-case (bug#14446).
22154 2013-05-25 Leo Liu <sdl.web@gmail.com>
22156 * comint.el (comint-previous-matching-input): Do not flood the
22157 *Messages* buffer with trivial messages.
22159 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
22161 * progmodes/flymake.el (flymake-nop): Don't return a string.
22162 (flymake-set-at): Fix typo.
22164 * simple.el (read--expression): New function, extracted from
22165 eval-expression. Set completion-at-point-functions (bug#14465).
22166 (eval-expression, eval-minibuffer): Use it.
22168 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
22170 * progmodes/flymake.el (flymake-save-buffer-in-file)
22171 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
22172 (flymake-selected-frame, flymake-log, flymake-ins-after)
22173 (flymake-set-at, flymake-get-buildfile-from-cache)
22174 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
22175 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
22176 Refine the doc string.
22177 (flymake-get-file-name-mode-and-masks): Reformat.
22178 (flymake-get-real-file-name-function): Fix a minor bug.
22180 2013-05-24 Juri Linkov <juri@jurta.org>
22182 * progmodes/grep.el (grep-mode-font-lock-keywords):
22183 Support =linenumber= format used by git-grep for lines with
22184 function names. (Bug#13549)
22186 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22188 * progmodes/octave.el (octave-smie-rules): Return nil rather than
22189 0 after a semi-colon; it works better for smie-auto-fill.
22190 (octave--indent-new-comment-line): New function.
22191 (octave-indent-new-comment-line): Use it (indirectly).
22192 (octave-mode): Don't disable smie-auto-fill. Use add-function to
22193 modify comment-line-break-function.
22195 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
22196 (smie-setup): Use add-function to set it.
22198 2013-05-24 Sam Steingold <sds@gnu.org>
22200 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
22201 argument (before the `interactive' argument).
22203 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22205 * image-mode.el (image-mode-winprops): Add winprops to
22206 image-mode-winprops-alist before running
22207 image-mode-new-window-functions.
22208 * doc-view.el (doc-view-new-window-function): Don't delay
22209 doc-view-goto-page via timers (bug#14435).
22211 2013-05-24 Tassilo Horn <tsdh@gnu.org>
22213 * doc-view.el: Integrate with desktop.el. (Bug#14435)
22214 (doc-view-desktop-save-buffer): New function.
22215 (doc-view-restore-desktop-buffer): New function.
22216 (desktop-buffer-mode-handlers):
22217 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
22219 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
22220 `desktop-save-buffer' function.
22222 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
22224 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
22225 (tramp-gvfs-file-name-handler): Raise a user error when
22226 `tramp-gvfs-enabled' is nil.
22227 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
22228 Do not raise a user error when loading package. (Bug#14447)
22230 * net/xesam.el: Move to obsolete/.
22232 2013-05-24 Glenn Morris <rgm@gnu.org>
22234 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
22236 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
22238 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
22239 (Info-find-node, Man-getpage-in-background): Declare.
22241 * mail/unrmail.el (unrmail):
22242 Replace obsolete detect-coding-with-priority.
22244 * net/socks.el (socks-split-string): Use this rather than split-string.
22245 (socks-nslookup-host): Update for above change.
22246 (dynamic-choice, s5-dynamic-choice-match)
22247 (s5-dynamic-choice-match-inline, s5-widget-value-create):
22248 Comment out unused code.
22250 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
22251 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
22252 (gud-tooltip-echo-area): Make obsolete.
22253 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
22255 * progmodes/js.el (js--optimize-arglist): Declare.
22257 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
22259 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
22260 (ediff-window-C): Declare.
22262 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
22263 Tweak requires to silence compiler.
22265 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
22266 (he-search-string, he-tried-table, he-expand-list)
22267 (he-init-string, he-string-member, he-substitute-string)
22268 (he-reset-string): Declare.
22270 * obsolete/options.el (list-options): Use custom-variable-p,
22271 rather than obsolete alias.
22273 2013-05-23 Sam Steingold <sds@gnu.org>
22275 * simple.el (shell-command-on-region): Pass the `replace' argument
22276 down to `call-process-region' to comply with the doc as reported on
22277 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
22279 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22281 * emacs-lisp/smie.el (smie-indent-forward-token)
22282 (smie-indent-backward-token): Handle string tokens (bug#14381).
22284 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22286 * ielm.el (ielm-menu): New menu.
22287 (inferior-emacs-lisp-mode): Set comment-start.
22289 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22291 * textmodes/reftex.el (reftex-ref-style-toggle):
22292 Fix deactivate action.
22294 * textmodes/reftex-vars.el (reftex-ref-style-alist):
22295 Add cleveref macros.
22297 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
22298 Accept options for bibliography commands.
22299 * textmodes/reftex-vars.el (reftex-bibliography-commands):
22300 Add addbibresource. Basic Biblatex support.
22302 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
22304 * net/tramp-gvfs.el (top):
22305 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
22306 when loading package. (Bug#14447)
22308 2013-05-23 Glenn Morris <rgm@gnu.org>
22310 * progmodes/js.el: No need to load comint when compiling.
22311 (ring-insert, comint-send-string, comint-send-input)
22312 (comint-last-input-end, ido-chop): Declare.
22314 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
22315 * vc/ediff-mult.el: Adjust requires.
22316 (ediff-directories-internal, ediff-directory-revisions-internal)
22317 (ediff-patch-file-internal): Declare.
22318 * vc/ediff-ptch.el: Adjust requires.
22319 (ediff-use-last-dir, ediff-buffers-internal): Declare.
22320 (ediff-find-file): Autoload.
22321 * vc/ediff-util.el: No need to load ediff when compiling.
22322 (ediff-regions-internal): Declare.
22323 * vc/ediff-wind.el: Adjust requires.
22324 (ediff-compute-toolbar-width): Define when compiling.
22325 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
22326 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
22327 (dired-get-filename, dired-get-marked-files)
22328 (ediff-last-dir-patch, ediff-patch-default-directory)
22329 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
22330 (ediff-patch-buffer-internal): Declare.
22332 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
22333 (ispell-process, ispell-buffer-local-words, lm-summary)
22334 (lm-section-start, lm-section-end): Declare.
22335 (checkdoc-ispell-init): Simplify.
22337 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
22338 (he-string-member, he-reset-string, he-substitute-string): Declare.
22340 * eshell/em-ls.el: Adjust requires.
22341 (eshell-glob-regexp): Declare.
22342 * eshell/em-tramp.el: Adjust requires.
22343 (eshell-parse-command): Autoload.
22344 * eshell/em-xtra.el: Adjust requires.
22345 (eshell-parse-command): Autoload.
22346 * eshell/esh-ext.el: Adjust requires.
22347 (eshell-parse-command, eshell-close-handles): Autoload.
22348 * eshell/esh-io.el: Adjust requires.
22349 (eshell-output-filter): Autoload.
22350 * eshell/esh-util.el: No need to load tramp when compiling.
22351 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
22353 (eshell-parse-ange-ls): Require ange-ftp and tramp.
22354 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
22355 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
22356 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
22357 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
22358 * eshell/esh-opt.el, eshell/esh-proc.el:
22359 * eshell/esh-var.el: Adjust requires.
22360 * eshell/eshell.el: Do not require esh-util twice.
22361 (eshell-add-input-to-history): Declare.
22362 (eshell-command): Check history module is active before using it.
22364 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
22366 2013-05-22 Leo Liu <sdl.web@gmail.com>
22368 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
22370 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
22372 * autorevert.el (auto-revert-notify-add-watch)
22373 (auto-revert-notify-handler): Add `attrib' for the inotify case,
22374 it indicates changes in file modification time.
22376 2013-05-22 Glenn Morris <rgm@gnu.org>
22378 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22379 Always delete the autoloaded function from the noruntime and
22380 unresolved functions lists.
22382 * allout.el: No need to load epa, epg, overlay when compiling.
22383 (epg-context-set-passphrase-callback, epg-list-keys)
22384 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
22385 (epg-key-user-id-list): Declare.
22387 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
22388 (viper-set-parsing-style-toggling-macro)
22389 (viper-set-emacs-state-searchstyle-macros):
22390 Use called-interactively-p on Emacs.
22391 (viper-looking-back): Make it an obsolete alias. Update callers.
22392 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
22393 Use looking-back rather than viper-looking-back.
22394 (viper-tmp-insert-at-eob, viper-enlarge-region)
22395 (viper-read-string-with-history, viper-register-to-point)
22396 (viper-append-to-register, viper-change-state-to-vi)
22397 (viper-backward-char-carefully, viper-forward-char-carefully)
22398 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
22399 (viper-change-state-to-emacs): Declare.
22400 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
22401 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
22402 * emulation/viper-mous.el: Do not load viper-cmd.
22403 (viper-backward-char-carefully, viper-forward-char-carefully)
22404 (viper-forward-word, viper-adjust-window): Declare.
22406 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
22408 * progmodes/idlw-help.el (idlwave-help-fontify):
22409 Use called-interactively-p.
22411 * term/w32console.el (w32-get-console-codepage)
22412 (w32-get-console-output-codepage): Declare.
22414 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
22415 Remove unnecessary declarations.
22416 (dframe-message): Doc fix.
22418 * info.el (dframe-select-attached-frame, dframe-current-frame):
22421 * speedbar.el (speedbar-message): Make it an obsolete alias.
22422 Update all callers.
22423 (speedbar-with-attached-buffer)
22424 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
22425 (speedbar-with-writable): Use backquote.
22426 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
22427 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
22428 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
22429 rather than speedbar- aliases.
22430 * mail/rmail.el: Load dframe rather than speedbar when compiling.
22431 (speedbar-make-specialized-keymap, speedbar-insert-button)
22432 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
22433 (speedbar-do-function-pointer): Declare.
22434 (rmail-speedbar-button, rmail-speedbar-find-file)
22435 (rmail-speedbar-move-message):
22436 Use dframe-with-attached-buffer rather than speedbar- alias.
22437 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
22438 (dframe-message, speedbar-make-specialized-keymap)
22439 (speedbar-add-expansion-list, speedbar-mode-functions-list)
22440 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
22441 (speedbar-insert-button, dframe-select-attached-frame)
22442 (dframe-maybee-jump-to-attached-frame)
22443 (speedbar-change-initial-expansion-list)
22444 (speedbar-previously-used-expansion-list-name): Declare.
22445 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
22446 Use dframe-message, dframe-with-attached-buffer rather than
22448 (gud-sentinel): Silence compiler.
22449 * progmodes/vhdl-mode.el (speedbar-refresh)
22450 (speedbar-do-function-pointer, speedbar-add-supported-extension)
22451 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
22452 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
22453 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
22454 (speedbar-file-lists, speedbar-make-tag-line)
22455 (speedbar-line-directory, speedbar-goto-this-file)
22456 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
22457 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
22458 (speedbar-make-button, speedbar-reset-scanners)
22459 (speedbar-files-item-info, speedbar-line-text)
22460 (speedbar-find-file-in-frame, speedbar-set-timer)
22461 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
22462 (speedbar-with-writable): Do not (re)define it.
22463 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
22464 rather than speedbar- alias.
22466 2013-05-21 Leo Liu <sdl.web@gmail.com>
22468 * progmodes/octave.el (octave-mode-menu): Update and re-organize
22470 (octave-mode): Tweak fill-nobreak-predicate.
22471 (inferior-octave-startup): Check process to avoid infinite loop.
22472 (inferior-octave): Pop to buffer first to show abornmal process
22475 2013-05-21 Glenn Morris <rgm@gnu.org>
22477 * printing.el (pr-menu-bar): Define when compiling.
22479 2013-05-21 Leo Liu <sdl.web@gmail.com>
22481 * progmodes/octave.el (octave-auto-fill): Remove.
22482 (octave-indent-new-comment-line): Improve.
22483 (octave-mode): Use auto fill mode through
22484 comment-line-break-function and fill-nobreak-predicate.
22485 (octave-goto-function-definition): Support DEFUN_DLD.
22486 (octave-beginning-of-defun): Small tweak.
22487 (octave-help): Show parent directory.
22489 2013-05-21 Glenn Morris <rgm@gnu.org>
22491 * files.el (dired-unmark):
22492 * progmodes/gud.el (gdb-input): Update declarations.
22494 * calculator.el (electric, ehelp): No need to load when compiling.
22495 (Electric-command-loop, electric-describe-mode): Declare.
22497 * doc-view.el (doc-view-current-converter-processes): Move before use.
22499 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
22500 Move MODE-set-explicitly definition before use.
22502 * international/mule-diag.el (mule-diag):
22503 Don't use obsolete window-system-version.
22505 * mail/feedmail.el (smtpmail): No need to load when compiling.
22506 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
22508 * mail/mail-utils.el (rfc822): No need to load when compiling.
22509 (rfc822-addresses): Autoload it.
22510 (mail-strip-quoted-names): Trivial simplification.
22512 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
22513 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
22515 * net/snmp-mode.el (tempo): Don't duplicate requires.
22517 * progmodes/prolog.el (info): No need to load when compiling.
22518 (comint): Require before shell requires it.
22519 (Info-goto-node): Autoload it.
22520 (Info-follow-nearest-node): Declare.
22521 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
22523 * textmodes/artist.el (picture-mode-exit): Declare.
22525 * textmodes/reftex-parse.el (reftex-parse-from-file):
22526 Trivial rewrite so the compiler can parse it better.
22528 2013-05-20 Leo Liu <sdl.web@gmail.com>
22530 * progmodes/octave.el (octave-help-mode-map)
22531 (octave-help-mode-finish-hook): New variables.
22532 (octave-help-mode, octave-help-mode-finish): New functions.
22533 (octave-help): Use octave-help-mode.
22535 2013-05-20 Glenn Morris <rgm@gnu.org>
22537 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
22539 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
22541 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
22542 start at point, so that expansion starting right after opening
22543 slash in a regexp is recognized.
22544 (ruby-syntax-before-regexp-re): New defvar, extracted from
22545 ruby-syntax-propertize-function. Since the value of this regexp
22546 is looked up at runtime now, we should be able to turn
22547 `ruby-syntax-methods-before-regexp' into a defcustom later.
22548 (ruby-syntax-propertize-function): Split regexp matching into two
22549 parts, for opening and closing slashes. That allows us to skip
22550 over string interpolations and support multiline regexps.
22551 Don't call `ruby-syntax-propertize-expansions', instead use another rule
22552 for them, which calls `ruby-syntax-propertize-expansion'.
22553 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
22554 call to `ruby-syntax-propertize-function'.
22555 (ruby-syntax-propertize-expansion): Extracted from
22556 `ruby-syntax-propertize-expansions'. Handles one expansion.
22557 (ruby-syntax-propertize-percent-literal): Leave point right after
22558 the percent symbol, so that the expression expansion rule can
22559 propertize the contents.
22560 (ruby-syntax-propertize-heredoc): Leave point at bol following the
22562 (ruby-syntax-propertize-expansions): Remove.
22564 2013-05-18 Juri Linkov <juri@jurta.org>
22566 * man.el (Man-default-man-entry): Remove `-' from the end
22567 of the default value. (Bug#14400)
22569 2013-05-18 Glenn Morris <rgm@gnu.org>
22571 * comint.el (comint-password-prompt-regexp):
22572 Allow "password for XXX" where XXX contains colons (eg https://...).
22574 2013-05-18 Leo Liu <sdl.web@gmail.com>
22576 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
22577 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
22578 (octave-source-directories): Don't check process.
22579 (octave-source-directories, octave-find-definition): Doc fix.
22581 2013-05-18 Glenn Morris <rgm@gnu.org>
22583 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
22584 Remove backspace/delete bindings. (Bug#14392)
22586 * cus-dep.el (custom-make-dependencies): Sort the output.
22587 (custom-versions-load-alist): Convert comment to doc.
22589 2013-05-17 Leo Liu <sdl.web@gmail.com>
22591 * newcomment.el (comment-search-backward): Stricter in finding
22592 comment start. (Bug#14303)
22594 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
22595 (octave-comment-start-skip): Properly anchored.
22597 2013-05-17 Leo Liu <sdl.web@gmail.com>
22599 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
22600 Clean up when turned off. (Bug#14395)
22601 (smie--highlight-matching-block-overlay): No longer buffer-local.
22602 (smie-highlight-matching-block): Adjust.
22604 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
22606 Doc string fix for "nanoseconds" (Bug#14406).
22607 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
22608 Fix doc string typo that had "nanoseconds" instead of "microseconds".
22610 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
22612 * calc/calc-units.el (math-extract-units): Preserve powers
22615 2013-05-17 Leo Liu <sdl.web@gmail.com>
22617 * subr.el (delete-consecutive-dups): New function.
22618 * ido.el (ido-set-matches-1): Use it.
22619 * progmodes/octave.el (inferior-octave-completion-table): Use it.
22620 * ido.el (ido-remove-consecutive-dups): Remove.
22622 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22624 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22625 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
22626 regexp-opt's `words'.
22628 2013-05-16 Leo Liu <sdl.web@gmail.com>
22630 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
22631 (smie--highlight-matching-block-overlay)
22632 (smie--highlight-matching-block-lastpos)
22633 (smie--highlight-matching-block-timer): New variables.
22634 (smie-highlight-matching-block): New function.
22635 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
22636 (smie-setup): Conditionally enable smie-blink-matching-open.
22638 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
22640 Sync with upstream verilog-mode r840.
22641 * progmodes/verilog-mode.el (verilog-mode-version)
22642 (verilog-mode-release-date): Update.
22643 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
22644 (verilog-sig-tieoff): Fix string error on
22645 AUTORESET with colon define, bug594. Reported by Andrew Hou.
22646 (verilog-read-decls): Fix parameters confusing
22647 AUTOINST interfaces, bug565. Reported by Leith Johnson.
22649 2013-05-16 Eli Zaretskii <eliz@gnu.org>
22651 * subr.el (reveal-filename): New function.
22653 * loadup.el: Compute Emacs executable versions on MS-Windows,
22654 where executables have the .exe extension. Add a hard link
22655 emacs-XX.YY.ZZ.exe on MS-Windows.
22657 * Makefile.in (XARGS_LIMIT): New variable.
22658 (custom-deps, finder-data, autoloads)
22659 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
22660 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
22661 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
22662 (compile-main): Limit xargs according to $(XARGS_LIMIT).
22664 2013-05-16 Leo Liu <sdl.web@gmail.com>
22666 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
22667 (octave-mode-menu, octave-mode-map): Remove its uses.
22669 2013-05-16 Reto Zimmermann <reto@gnu.org>
22671 Sync with upstream vhdl mode v3.34.2.
22672 * progmodes/vhdl-mode.el: Use `push' throughout.
22673 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
22674 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
22675 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
22676 (vhdl-actual-generic-name): New option to derive actual generic name.
22677 (vhdl-port-paste-signals): Replace formal by actual generics.
22678 (vhdl-beautify): New name for old group vhdl-align. Update users.
22679 (vhdl-beautify-options): New option.
22680 (vhdl-last-input-event): New compat alias. Use throughout.
22681 (vhdl-goto-line): Replace user level function `goto-line'.
22682 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
22683 vhdl-fix-statement-buffer.
22684 (vhdl-create-mode-menu): Add some entries.
22685 (vhdl-align-region-groups): Respect vhdl-beautify-options.
22686 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
22687 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
22688 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
22689 to force statements on one line.
22690 (vhdl-remove-trailing-spaces-region):
22691 New, split from vhdl-remove-trailing-spaces.
22692 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
22693 Respect vhdl-beautify-options.
22694 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
22695 (vhdl-update-sensitivity-list): Not add with index if exists without.
22696 Not include array index with signal. Ignore keywords in comments.
22697 (vhdl-get-visible-signals): Regexp tweaks.
22698 (vhdl-template-component-inst): Handle empty library.
22699 (vhdl-template-type): Add template for 'enum' type.
22700 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
22701 Use vhdl-replace-string.
22702 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
22703 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
22704 (vhdl-speedbar-initialize): Update for above name change.
22705 (vhdl-compose-wire-components): Fix in handling of constants.
22706 (vhdl-error-regexp-emacs-alist): New variable.
22707 (vhdl-error-regexp-add-emacs): New function;
22708 adds support for new compile.el (Emacs 22+)
22709 (vhdl-generate-makefile-1): Change target order for single lib. units.
22710 Allow use of absolute file names.
22712 2013-05-16 Leo Liu <sdl.web@gmail.com>
22714 * simple.el (prog-indent-sexp): Indent enclosing defun.
22716 2013-05-15 Glenn Morris <rgm@gnu.org>
22718 * cus-start.el (show-trailing-whitespace): Move to editing basics.
22719 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
22720 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
22721 (whitespace-highlight): Move to whitespace group.
22723 * comint.el (comint-source):
22724 * pcmpl-linux.el (pcmpl-linux):
22725 * shell.el (shell-faces):
22726 * eshell/esh-opt.el (eshell-opt):
22727 * international/ccl.el (ccl): Remove empty custom groups.
22729 * completion.el (dynamic-completion-mode):
22730 * jit-lock.el (jit-lock-debug-mode):
22731 * minibuffer.el (completion-in-region-mode):
22732 * type-break.el (type-break-mode-line-message-mode)
22733 (type-break-query-mode):
22734 * emulation/tpu-edt.el (tpu-edt-mode):
22735 * progmodes/subword.el (global-subword-mode, global-superword-mode):
22736 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
22737 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
22739 * term/xterm.el (xterm): Change parent group to terminals.
22741 * master.el (master): Remove empty custom group.
22742 (master-mode): Remove unused :group argument.
22743 * textmodes/refill.el (refill): Remove empty custom group.
22744 (refill-mode): Remove unused :group argument.
22746 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
22748 * cus-dep.el: Provide a feature.
22749 (custom-make-dependencies): Ignore dotfiles (dir-locals).
22750 Don't mistakenly ignore files whose basenames match a basename
22751 from preloaded-file-list (eg cedet/ede/simple.el).
22752 Add a fallback method for getting :group.
22754 2013-05-15 Juri Linkov <juri@jurta.org>
22756 * isearch.el (isearch-char-by-name): Rename from
22757 `isearch-insert-char-by-name'. Doc fix.
22758 (isearch-forward): Mention `isearch-char-by-name' in
22759 the docstring. (Bug#13348)
22761 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
22762 `exit-minibuffer' instead of
22763 `isearch-nonincremental-exit-minibuffer'.
22764 (isearch-edit-string): Remove mention of
22765 `isearch-nonincremental-exit-minibuffer' from docstring.
22766 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
22767 (isearch-forward-exit-minibuffer)
22768 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
22770 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22772 * loadup.el: Just use unversioned DOC.
22774 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
22775 literals as extending to EOB.
22776 (nxml-last-fontify-end): Remove unused variable.
22777 (nxml-after-change1): Use with-silent-modifications.
22778 (nxml-extend-after-change-region): Simplify.
22779 (nxml-extend-after-change-region1): Remove function.
22780 (nxml-after-change1): Don't adjust for dependent regions.
22781 (nxml-fontify-matcher): Simplify.
22782 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
22783 (xmltok-add-dependent): Remove function.
22784 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
22785 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
22786 (xmltok-scan-prolog-after-processing-instruction-open): Treat
22787 unclosed <[[, <?, comment, and other literals as extending to EOB.
22788 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
22789 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
22791 (rng-do-some-validation-1): Don't mark dependent regions.
22792 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
22793 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
22794 (nxml-clear-dependent-regions): Remove functions.
22795 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
22796 (nxml-ensure-scan-up-to-date):
22797 Don't clear&mark dependent regions.
22799 2013-05-15 Leo Liu <sdl.web@gmail.com>
22801 * progmodes/octave.el (octave-goto-function-definition):
22802 Improve and fix callers.
22804 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
22806 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
22807 the setter (bug#14387).
22809 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
22810 surrounding group (bug#14402).
22812 2013-05-14 Juri Linkov <juri@jurta.org>
22814 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
22817 2013-05-14 Glenn Morris <rgm@gnu.org>
22819 * progmodes/f90.el (f90-imenu-generic-expression):
22820 Fix typo in 2013-05-08 change. (Bug#14402)
22822 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22824 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
22825 Remove signals for which replies are never received.
22827 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22829 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
22830 (gdb-handler-alist, gdb-handler-number): Remove variables.
22831 (gdb-handler-list): New variable.
22832 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
22833 (gdb-pending-handler-p, gdb-handle-reply)
22834 (gdb-remove-all-pending-triggers): New functions.
22835 (gdb-discard-unordered-replies): New defcustom.
22836 (gdb-handler): New defstruct.
22837 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
22838 instead of gdb-pending-triggers. Update docstring.
22839 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
22840 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
22841 (gdb-var-update-handler, def-gdb-auto-update-trigger)
22842 (def-gdb-auto-update-handler, gdb-get-changed-registers)
22843 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
22844 (gdb-frame-handler): Pending triggers are now automatically managed.
22845 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
22847 (gdb-input): Automatically handles pending triggers. Update docstring.
22848 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
22849 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
22851 (gdb-done-or-error): Now use gdb-handle-reply.
22853 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
22855 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
22858 2013-05-14 Glenn Morris <rgm@gnu.org>
22860 * subr.el (user-emacs-directory-warning): New option.
22861 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
22863 2013-05-14 Leo Liu <sdl.web@gmail.com>
22865 * progmodes/octave.el (octave-font-lock-keywords): Fix error
22867 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
22868 (octave-font-lock-texinfo-comment): Fix invalid search bound
22869 error: wrong side of point.
22871 2013-05-14 Glenn Morris <rgm@gnu.org>
22873 * progmodes/flymake.el (flymake-xml-program): New option.
22874 (flymake-xml-init): Use it.
22876 * term/xterm.el: Provide a feature.
22878 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
22880 2013-05-13 Glenn Morris <rgm@gnu.org>
22882 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
22883 Add compat aliases as a hack workaround. (Bug#14384)
22885 2013-05-13 Leo Liu <sdl.web@gmail.com>
22887 * progmodes/octave.el (octave-indent-comment): Fix indentation for
22889 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
22891 (octave-comment-start-skip): Include %!.
22892 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
22894 2013-05-12 Leo Liu <sdl.web@gmail.com>
22896 * progmodes/octave.el (inferior-octave-startup): Store the value
22897 of __octave_srcdir__ for octave-source-directories.
22898 (inferior-octave-check-process): New function refactored out of
22899 inferior-octave-send-list-and-digest.
22900 (octave-source-directories)
22901 (octave-find-definition-filename-function): New variables.
22902 (octave-source-directories)
22903 (octave-find-definition-default-filename): New functions.
22904 (octave-find-definition): Improve to find functions implemented in C++.
22906 2013-05-12 Glenn Morris <rgm@gnu.org>
22908 * calendar/diary-lib.el (diary-outlook-format-1):
22909 Don't include dayname in the output. (Bug#14349)
22911 2013-05-11 Glenn Morris <rgm@gnu.org>
22913 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
22915 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
22916 Treat cc-provide like provide.
22918 2013-05-11 Kevin Ryde <user42@zip.com.au>
22920 * cus-dep.el (custom-make-dependencies):
22921 Use generated-autoload-load-name for the sake of files such
22922 such cedet/semantic/bovine/c.el, where the base file name
22923 is not in load-path. (Bug#5277)
22925 2013-05-11 Glenn Morris <rgm@gnu.org>
22927 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
22930 2013-05-11 Leo Liu <sdl.web@gmail.com>
22932 * progmodes/octave.el (octave-indent-comment): Improve.
22933 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
22934 (octave-eldoc-function-signatures, octave-eldoc-function):
22936 (octave-mode, inferior-octave-mode): Add eldoc support.
22938 2013-05-11 Richard Stallman <rms@gnu.org>
22940 * epa.el (epa-decrypt-file): Take output file name as argument
22941 and read it using `interactive'.
22943 2013-05-11 Leo Liu <sdl.web@gmail.com>
22945 * progmodes/octave.el (octave-beginning-of-line)
22946 (octave-end-of-line): Check before using up-list because it jumps
22947 out of more syntactic contructs since moving to smie.
22948 (octave-indent-comment): New function.
22949 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
22950 (octave-begin-keywords, octave-end-keywords)
22951 (octave-reserved-words, octave-smie-bnf-table)
22952 (octave-smie-rules): Add new keywords from Octave 3.6.4.
22954 2013-05-11 Glenn Morris <rgm@gnu.org>
22956 * faces.el (internal-face-x-get-resource):
22957 * frame.el (ns-display-monitor-attributes-list):
22958 * calc/calc-aent.el (math-to-radians-2):
22959 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
22962 * calc/calc-menu.el: Make it loadable in isolation.
22964 * net/eudcb-bbdb.el: Make it loadable without bbdb.
22965 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
22966 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
22967 (eudc-bbdb-query-internal): Require 'bbdb.
22969 * lpr.el (lpr-headers-switches):
22970 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
22972 * progmodes/sql.el (sql-login-params): Fix and improve :type.
22974 * emulation/edt-mapper.el: In batch mode, error rather than hang.
22976 * term.el (term-set-escape-char): Make it idempotent.
22978 2013-05-10 Leo Liu <sdl.web@gmail.com>
22980 * progmodes/octave.el (inferior-octave-completion-table):
22981 No longer a function and all uses changed. Use cache to speed up
22982 completion due to bug#11906.
22983 (octave-beginning-of-defun): Re-write to be more general.
22985 2013-05-10 Glenn Morris <rgm@gnu.org>
22987 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
22989 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
22991 * comint.el (comint-redirect-send-command-to-process): Use :around
22992 rather than :override for comint-redirect-filter.
22993 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
22994 Call it instead of comint-redirect-original-filter-function (which
22995 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
22997 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
22999 * frame.el (display-monitor-attributes-list): Add NS case.
23000 (ns-display-monitor-attributes-list): Declare.
23002 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
23004 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
23006 2013-05-09 Glenn Morris <rgm@gnu.org>
23008 * international/fontset.el (vertical-centering-font-regexp):
23009 Set standard-value.
23011 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
23013 * bookmark.el (bookmark-search-delay):
23014 * cus-start.el (vertical-centering-font-regexp):
23015 * ps-mule.el (ps-mule-font-info-database-default):
23016 * ps-print.el (ps-default-fg, ps-default-bg):
23017 * type-break.el (type-break-good-break-interval):
23018 * whitespace.el (whitespace-indentation-regexp)
23019 (whitespace-space-after-tab-regexp):
23020 * emacs-lisp/testcover.el (testcover-1value-functions)
23021 (testcover-noreturn-functions, testcover-progn-functions)
23022 (testcover-prog1-functions):
23023 * emulation/viper-init.el (viper-emacs-state-cursor-color):
23024 * eshell/em-glob.el (eshell-glob-translate-alist):
23025 * play/tetris.el (tetris-tty-colors):
23026 * progmodes/cpp.el (cpp-face-default-list):
23027 * progmodes/flymake.el (flymake-allowed-file-name-masks):
23028 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
23029 (idlwave-help-browser-generic-args):
23030 * progmodes/make-mode.el (makefile-special-targets-list):
23031 * progmodes/python.el (python-shell-virtualenv-path):
23032 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23033 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
23034 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
23035 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
23036 * textmodes/reftex-vars.el (reftex-format-label-function):
23037 * textmodes/remember.el (remember-diary-file): Fix custom types.
23039 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
23042 2013-05-09 Leo Liu <sdl.web@gmail.com>
23044 * progmodes/octave.el (inferior-octave-completion-at-point):
23045 Restore file completion. (Bug#14300)
23046 (inferior-octave-startup): Fix incorrect highlighting for the
23049 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23051 * progmodes/ruby-mode.el: First cut at SMIE support.
23052 (ruby-use-smie): New var.
23053 (ruby-smie-grammar): New constant.
23054 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
23055 (ruby-smie--forward-token, ruby-smie--backward-token)
23056 (ruby-smie-rules): New functions.
23057 (ruby-mode-variables): Setup SMIE if applicable.
23059 2013-05-08 Eli Zaretskii <eliz@gnu.org>
23061 * simple.el (line-move-visual): Signal beginning/end of buffer
23062 only if vertical-motion moved less than it was requested. Avoids
23063 silly incorrect error messages when there are display strings with
23064 multiple newlines at EOL.
23066 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23068 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
23069 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
23070 (prolog-char-quote-workaround):
23071 * progmodes/cperl-mode.el (cperl-under-as-char):
23072 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
23074 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
23076 (vhdl-mode-syntax-table-init): Remove.
23078 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
23081 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
23083 (ld-script-font-lock-keywords):
23084 Change regexps to use things like \_< and \_>.
23086 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
23087 Change all regexps to use things like \_< and \_>.
23089 * progmodes/autoconf.el (autoconf-definition-regexp)
23090 (autoconf-font-lock-keywords, autoconf-current-defun-function):
23091 Handle a _ with symbol syntax.
23092 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
23094 * progmodes/ada-mode.el (ada-mode-abbrev-table):
23095 Consolidate declaration.
23096 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
23098 (ada-create-syntax-table): Remove.
23099 (ada-capitalize-word): Don't mess with the syntax of "_" since it
23100 already has the right syntax nowadays.
23101 (ada-goto-next-word): Don't change the syntax of "_".
23103 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
23106 2013-05-08 Sam Steingold <sds@gnu.org>
23108 * thingatpt.el (thing-at-point): Accept optional second argument
23109 NO-PROPERTIES to strip the text properties from the return value.
23110 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
23111 to `thing-at-point' instead of stripping the properties ourselves.
23112 Also, when `thing-at-point' fails to find a url, prepend "http://"
23113 to the filename at point on the assumption that the user is
23114 pointing at something like gnu.org/gnu.
23116 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
23118 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23119 * faces.el (crm-separator):
23120 Silence byte-compiler.
23122 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
23123 (tool-bar-map): Remove unneeded defvars.
23125 2013-05-08 Leo Liu <sdl.web@gmail.com>
23127 Re-work a fix for bug#10994 based on Le Wang's patch.
23128 * ido.el (ido-remove-consecutive-dups): New helper.
23129 (ido-completing-read): Use it.
23130 (ido-chop): Revert fix for bug#10994.
23132 2013-05-08 Adam Spiers <emacs@adamspiers.org>
23134 * cus-edit.el (custom-save-variables):
23135 Pretty-print long values. (Bug#14187)
23137 2013-05-08 Glenn Morris <rgm@gnu.org>
23139 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
23140 (m4-mode-syntax-table): Init in the defvar.
23141 (m4-mode-abbrev-table): Let define-derived-mode define it.
23143 2013-05-08 Tom Tromey <tromey@redhat.com>
23145 * progmodes/m4-mode.el (m4-mode-syntax-table):
23146 Do not treat "_" as word constituent. (Bug#14167)
23148 2013-05-07 Glenn Morris <rgm@gnu.org>
23150 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
23151 Remove explicit eshell-isearch-cancel-map.
23153 * progmodes/f90.el (f90-smart-end-names): New option.
23154 (f90-smart-end): Doc fix.
23155 (f90-end-block-optional-name): New constant.
23156 (f90-block-match): Respect f90-smart-end-names.
23158 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23160 * progmodes/octave.el (octave-smie-forward-token): Be more careful
23161 about implicit semi-colons (bug#14218).
23163 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
23165 * frame.el (display-monitor-attributes-list)
23166 (frame-monitor-attributes): New functions.
23168 2013-05-06 Leo Liu <sdl.web@gmail.com>
23170 * progmodes/octave.el (octave-syntax-propertize-function): Change
23171 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
23172 (octave-font-lock-keywords): Use octave-operator-regexp.
23173 (octave-completion-at-point): Rename from
23174 octave-completion-at-point-function.
23175 (inferior-octave-directory-tracker): Robustify.
23176 (octave-text-functions): Remove and fix its uses. No such things
23179 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23181 * emacs-lisp/trace.el (trace--display-buffer): New function.
23182 (trace-make-advice): Use it.
23184 2013-05-06 Juri Linkov <juri@jurta.org>
23186 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
23187 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
23189 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
23190 in the help string. (Bug#12985)
23192 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
23194 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
23196 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23198 * progmodes/perl-mode.el: Add support for here documents.
23199 (perl-syntax-propertize-function): Match here-doc markers.
23200 (perl-syntax-propertize-special-constructs): Find their end.
23201 (perl-imenu-generic-expression): Use [:alnum:].
23203 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
23204 (advice--add-function): Refresh the advice if already present
23207 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
23209 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
23211 2013-05-06 Glenn Morris <rgm@gnu.org>
23213 * w32-fns.el (w32-charset-info-alist): Declare.
23215 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
23216 of its defcustom properties.
23217 (eshell-cmpl-initialize): No need to load pcomplete.
23219 * generic-x.el: No need to require comint when compiling.
23221 * net/eudc-export.el: Make it loadable without bbdb.
23222 (top-level): Use require rather than load-library.
23223 (eudc-create-bbdb-record, eudc-bbdbify-phone)
23224 (eudc-batch-export-records-to-bbdb)
23225 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
23228 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23230 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
23231 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
23232 some tweaks, instead.
23234 2013-05-05 Leo Liu <sdl.web@gmail.com>
23236 * progmodes/octave.el (octave-font-lock-keywords)
23237 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
23238 (inferior-octave-send-list-and-digest): Improve error message.
23239 (octave-mode, inferior-octave-mode): Use setq-local.
23240 (octave-help): Set info-lookup-mode.
23242 2013-05-05 Richard Stallman <rms@gnu.org>
23244 * vc/compare-w.el (compare-windows-whitespace):
23245 Treat no-break space as whitespace.
23247 * mail/rmailsum.el (rmail-summary-rmail-update):
23248 Detect empty summary and don't change selected message.
23249 (rmail-summary-goto-msg): Likewise.
23251 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
23252 Doc fixes, rename args.
23254 2013-05-05 Alan Mackenzie <acm@muc.de>
23256 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
23258 2013-05-05 Juri Linkov <juri@jurta.org>
23260 * info.el (Info-read-subfile): Use (point-min) instead of (point)
23261 to not add the length of the summary segment to the return value.
23264 2013-05-05 Leo Liu <sdl.web@gmail.com>
23266 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
23267 (inferior-octave-output-filter): Remove.
23268 (octave-send-region, inferior-octave-startup): Fix callers.
23269 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
23270 (octave-binary-file-extensions): New user variable.
23271 (octave-find-definition): Confirm if opening binary files.
23272 (octave-help-file): Use octave-find-definition to get the binary
23274 (octave-help): Adjust for octave-help-file change.
23276 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23278 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
23279 Merge the two entries that handle function definitions.
23280 (pascal--syntax-propertize): New const.
23281 (pascal-mode): Use it. Use setq-local.
23283 2013-05-04 Glenn Morris <rgm@gnu.org>
23285 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
23286 (diary-from-outlook): Respect diary-from-outlook-function.
23288 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23290 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
23291 Move the declaration from C.
23292 (read-minibuffer, eval-minibuffer): Move from C.
23293 (completion-setup-function): Avoid minibuffer-completion-contents.
23295 2013-05-03 Leo Liu <sdl.web@gmail.com>
23297 * progmodes/octave.el (octave-font-lock-keywords): Do not
23298 dehighlight 'end' in comments or strings.
23299 (octave-completing-read, octave-goto-function-definition):
23301 (octave-help-buffer): New user variable.
23302 (octave-help-file, octave-help-function): New button types.
23303 (octave-help): New command and bind it to C-h ;.
23304 (octave-find-definition): New command and bind it to M-.
23305 (user-error): Alias to error if not defined.
23307 2013-05-02 Leo Liu <sdl.web@gmail.com>
23309 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
23311 (octave-font-lock-keywords): Include [ and {.
23313 2013-05-02 Leo Liu <sdl.web@gmail.com>
23315 * progmodes/octave.el (inferior-octave-startup-file): Change default.
23316 (inferior-octave): Remove calling comint-mode and return the buffer.
23317 (inferior-octave-startup): Cosmetic changes.
23319 2013-05-02 Leo Liu <sdl.web@gmail.com>
23321 * progmodes/octave.el (octave-syntax-propertize-function):
23322 Include the case when ' is at line beginning. (Bug#14336)
23324 2013-05-02 Glenn Morris <rgm@gnu.org>
23326 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
23327 * desktop.el (vc-dir-mode): Just autoload it here.
23329 2013-05-02 Alan Mackenzie <acm@muc.de>
23331 Eliminate variable c-standard-font-lock-fontify-region-function.
23332 * progmodes/cc-mode.el
23333 (c-standard-font-lock-fontify-region-function): Remove.
23334 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
23336 2013-05-01 Leo Liu <sdl.web@gmail.com>
23338 * progmodes/octave.el: Compatible with older emacs-24 releases.
23339 (inferior-octave-has-built-in-variables): Remove. Built-in
23340 variables were removed from Octave in 2007.
23341 (inferior-octave-startup): Fix uses.
23342 (comint-line-beginning-position): Remove compatibility code for
23345 2013-05-01 Juri Linkov <juri@jurta.org>
23347 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
23349 2013-05-01 Juri Linkov <juri@jurta.org>
23351 * comint.el (comint-previous-matching-input): Don't print message
23352 "History item: %d" when `isearch-mode' is active.
23353 (comint-history-isearch-message): Print message "History item: %d"
23354 when `comint-input-ring-index' is not empty and this function is
23355 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
23357 2013-05-01 Leo Liu <sdl.web@gmail.com>
23359 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
23360 definitions. Use completion-at-point to insert keywords.
23361 (octave-abbrev-start): Remove.
23362 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
23364 2013-04-30 Leo Liu <sdl.web@gmail.com>
23366 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
23369 2013-04-30 Alan Mackenzie <acm@muc.de>
23371 Handle arbitrarily long C++ member initialisation lists.
23372 * progmodes/cc-engine.el (c-back-over-member-initializers):
23374 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
23375 (most) member init lists.
23377 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23379 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
23382 2013-04-30 Leo Liu <sdl.web@gmail.com>
23384 * progmodes/octave.el (octave-variables): Remove. No builtin
23385 variables any more. All converted to functions.
23386 (octave-font-lock-keywords, octave-completion-at-point-function):
23388 (octave-font-lock-texinfo-comment): New user variable.
23389 (octave-texinfo-font-lock-keywords): New variable for texinfo
23391 (octave-function-comment-block): New face.
23392 (octave-font-lock-texinfo-comment): New function.
23393 (octave-mode): Font lock texinfo comment block.
23395 2013-04-29 Leo Liu <sdl.web@gmail.com>
23397 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
23398 indexing expression.
23399 (octave-continuation-string): Do not use \.
23400 (inferior-octave-complete-impossible): Remove.
23401 (inferior-octave-completion-table)
23402 (inferior-octave-completion-at-point): Remove its uses.
23403 (inferior-octave-startup): completion_matches was introduced to
23404 Octave in 1996 so safe to assume it.
23405 (octave-function-file-comment): Improve to follow how Octave does it.
23406 (octave-update-function-file-comment): Tweak.
23408 2013-04-29 Leo Liu <sdl.web@gmail.com>
23410 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
23411 (inferior-octave-startup): Remove inferior-octave-startup-hook.
23412 (octave-function-file-comment): Fix typo.
23413 (octave-sync-function-file-names): Use read-char-choice.
23415 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
23417 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
23418 to t for the less important warnings.
23420 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
23422 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
23424 2013-04-27 Glenn Morris <rgm@gnu.org>
23426 * vc/log-view.el (log-view-current-entry):
23427 Treat "---" separator lines as part of the following rev. (Bug#14169)
23429 2013-04-27 Juri Linkov <juri@jurta.org>
23431 * subr.el (read-number): Doc fix about using it by interactive
23432 code letter `n'. (Bug#14254)
23434 2013-04-27 Juri Linkov <juri@jurta.org>
23436 * desktop.el (desktop-auto-save-timeout): New option.
23437 (desktop-file-checksum): New variable.
23438 (desktop-save): Add optional arg `auto-save' and don't auto-save
23439 if nothing changed.
23440 (desktop-auto-save-timer): New variable.
23441 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
23442 (after-init-hook): Call `desktop-auto-save-set-timer'.
23443 Suggested by Reuben Thomas <rrt@sc3d.org> in
23444 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
23446 2013-04-27 Leo Liu <sdl.web@gmail.com>
23448 * progmodes/octave.el (octave-function-file-p)
23449 (octave-skip-comment-forward, octave-function-file-comment)
23450 (octave-update-function-file-comment): New functions.
23451 (octave-mode-map): Bind C-c ; to
23452 octave-update-function-file-comment.
23453 (octave-mode-menu): Add octave-update-function-file-comment.
23454 (octave-mode, inferior-octave-mode): Fix doc-string.
23455 (octave-insert-defun): Conform to Octave's coding convention.
23458 * files.el (basic-save-buffer): Don't let errors in
23459 before-save-hook prevent saving buffer.
23461 2013-04-20 Roland Winkler <winkler@gnu.org>
23463 * faces.el (read-face-name): Use completing-read if arg multiple
23466 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
23468 * ls-lisp.el (ls-lisp-insert-directory): If no files are
23469 displayed, move point to after the totals line.
23470 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
23473 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
23475 * emacs-lisp/package.el (package-autoload-ensure-default-file):
23476 Add current dir to the load-path.
23477 (package-generate-autoloads): Don't rely on
23478 autoload-ensure-default-file.
23480 2013-04-26 Reuben Thomas <rrt@sc3d.org>
23482 * textmodes/remember.el (remember-store-in-files): Document that
23483 the file name format is passed to `format-time-string'.
23485 2013-04-26 Leo Liu <sdl.web@gmail.com>
23487 * progmodes/octave.el (octave-sync-function-file-names): New function.
23488 (octave-mode): Use it in before-save-hook.
23490 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
23492 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
23495 * progmodes/octave.el (octave-smie-forward-token): Properly skip
23496 \n and comment, even if it's not an implicit ; (bug#14218).
23498 2013-04-26 Glenn Morris <rgm@gnu.org>
23500 * subr.el (read-number): Once more use `read' rather than
23501 `string-to-number', to trap non-numeric input. (Bug#14254)
23503 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
23505 * emacs-lisp/syntax.el (syntax-propertize-multiline):
23506 Use `syntax-multiline' text property consistently instead of
23507 `font-lock-multiline'. (Bug#14237)
23509 2013-04-26 Glenn Morris <rgm@gnu.org>
23511 * emacs-lisp/shadow.el (list-load-path-shadows):
23512 No longer necessary to check for duplicate simple.el, since
23513 2012-07-07 change to init_lread to not include installation lisp
23514 directories in load-path when running uninstalled. (Bug#14270)
23516 2013-04-26 Leo Liu <sdl.web@gmail.com>
23518 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
23519 (octave-mode, inferior-octave-mode): Use setq-local.
23520 (octave-not-in-string-or-comment-p): Rename to
23521 octave-in-string-or-comment-p.
23522 (octave-in-comment-p, octave-in-string-p)
23523 (octave-in-string-or-comment-p): Replace defsubst with defun.
23525 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
23527 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
23529 2013-04-25 Bastien Guerry <bzg@gnu.org>
23531 * textmodes/remember.el (remember-data-directory)
23532 (remember-directory-file-name-format): Fix custom types.
23534 2013-04-25 Leo Liu <sdl.web@gmail.com>
23536 * progmodes/octave.el (octave-completion-at-point-function):
23537 Make use of inferior octave process.
23538 (octave-initialize-completions): Remove.
23539 (inferior-octave-completion-table): New function.
23540 (inferior-octave-completion-at-point): Use it.
23541 (octave-completion-alist): Remove.
23543 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23545 * progmodes/opascal.el: Use font-lock and syntax-propertize.
23546 (opascal-mode-syntax-table): New var.
23547 (opascal-literal-kind, opascal-is-literal-end)
23548 (opascal-literal-token-at): Rewrite.
23549 (opascal--literal-start-re, opascal-font-lock-keywords)
23550 (opascal--syntax-propertize): New constants.
23551 (opascal-font-lock-defaults): Adjust.
23552 (opascal-mode): Use them. Set comment-<foo> variables as well.
23553 (delphi-comment-face, opascal-comment-face, delphi-string-face)
23554 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
23555 (delphi-other-face, opascal-other-face): Remove face variables.
23556 (opascal-save-state): Remove macro.
23557 (opascal-fontifying-progress-step): Remove constant.
23558 (opascal--ignore-changes): Remove var.
23559 (opascal-set-token-property, opascal-parse-next-literal)
23560 (opascal-is-stable-literal, opascal-complete-literal)
23561 (opascal-is-literal-start, opascal-face-of)
23562 (opascal-parse-region, opascal-parse-region-until-stable)
23563 (opascal-fontify-region, opascal-after-change)
23564 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
23565 (opascal-debug-parse-region, opascal-debug-parse-window)
23566 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
23567 (opascal-debug-fontify-buffer): Remove.
23568 (opascal-debug-mode-map): Adjust accordingly.
23570 2013-04-25 Leo Liu <sdl.web@gmail.com>
23572 Merge octave-mod.el and octave-inf.el into octave.el with some
23574 * progmodes/octave.el: New file renamed from octave-mod.el.
23575 * progmodes/octave-inf.el: Merged into octave.el.
23576 * progmodes/octave-mod.el: Renamed to octave.el.
23578 2013-04-25 Tassilo Horn <tsdh@gnu.org>
23580 * textmodes/reftex-vars.el
23581 (reftex-label-ignored-macros-and-environments): New defcustom.
23583 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
23585 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23587 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
23588 (smie-indent-keyword): Improve the check to ensure that the next
23589 comment is really on the same line.
23590 (smie-indent-comment): Don't align with a subsequent closer (or eob).
23592 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
23593 semi-colons if the line is not otherwise empty (bug#14218).
23595 2013-04-25 Glenn Morris <rgm@gnu.org>
23597 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
23599 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
23601 * progmodes/opascal.el (opascal-set-token-property): Rename from
23602 opascal-set-text-properties and only set `token' (bug#14134).
23603 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
23604 (opascal-literal-text-properties): Remove.
23605 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
23608 2013-04-24 Reuben Thomas <rrt@sc3d.org>
23610 * textmodes/remember.el (remember-handler-functions): Add an
23611 option for a new handler `remember-store-in-files'.
23612 (remember-data-directory, remember-directory-file-name-format):
23614 (remember-store-in-files): New function to store remember notes
23615 as separate files within a directory.
23617 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
23619 * progmodes/compile.el (compilation-next-error-function):
23620 Pass "formats" to compilation-find-file (bug#11777).
23622 2013-04-24 Glenn Morris <rgm@gnu.org>
23624 * vc/vc-bzr.el (vc-bzr-print-log):
23625 * vc/vc-hg.el (vc-hg-print-log):
23626 * vc/vc-svn.el (vc-svn-print-log):
23627 Fix START-REVISION with LIMIT != 1. (Bug#14168)
23629 * vc/vc-bzr.el (vc-bzr-print-log):
23630 * vc/vc-cvs.el (vc-cvs-print-log):
23631 * vc/vc-git.el (vc-git-print-log):
23632 * vc/vc-hg.el (vc-hg-print-log):
23633 * vc/vc-mtn.el (vc-mtn-print-log):
23634 * vc/vc-rcs.el (vc-rcs-print-log):
23635 * vc/vc-sccs.el (vc-sccs-print-log):
23636 * vc/vc-svn.el (vc-svn-print-log):
23637 * vc/vc.el (vc-print-log-internal): Doc fixes.
23639 2013-04-23 Glenn Morris <rgm@gnu.org>
23641 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
23642 Remove venerable code attempting to avoid substitute-command-keys.
23644 2013-04-23 Tassilo Horn <tsdh@gnu.org>
23646 * textmodes/reftex-vars.el (reftex-label-regexps):
23647 Call `reftex-compile-variables' after changes to this variable.
23649 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
23651 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
23652 Use lexical-binding.
23653 (jit-lock-force-redisplay): Use markers, check buffer's continued
23654 existence and beware narrowed buffers.
23655 (jit-lock-fontify-now): Adjust call accordingly.
23657 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
23659 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
23660 to avoid misleading the user.
23662 2013-04-22 Leo Liu <sdl.web@gmail.com>
23664 * info-look.el: Prefer latex2e.info. (Bug#14240)
23666 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
23668 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
23670 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
23671 * net/tramp.el (tramp-call-process): ... here.
23672 (tramp-set-completion-function, tramp-parse-putty):
23673 * net/tramp-adb.el (tramp-adb-execute-adb-command):
23674 * net/tramp-gvfs.el (tramp-gvfs-send-command):
23675 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
23676 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
23677 (tramp-call-local-coding-command): Use `tramp-call-process'
23678 instead of `tramp-compat-call-process'.
23680 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
23681 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
23682 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
23683 (tramp-find-inline-compress): Improve traces.
23684 (tramp-maybe-send-script): Check for Perl binary.
23685 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
23687 2013-04-22 Daiki Ueno <ueno@gnu.org>
23689 * epg.el (epg-context-pinentry-mode): New function.
23690 (epg-context-set-pinentry-mode): New function.
23691 (epg--start): Pass --pinentry-mode option to gpg command.
23693 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
23695 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
23696 `comint-dynamic-complete' is obsolete since 24.1, replaced by
23697 `completion-at-point'. (Bug#13774)
23699 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
23700 default key binding for `describe-distribution' has been moved to
23701 `C-h C-o'. (Bug#13970)
23703 2013-04-21 Glenn Morris <rgm@gnu.org>
23705 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
23707 (vc-print-log): Clarify interactive prompt.
23709 2013-04-20 Glenn Morris <rgm@gnu.org>
23711 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
23712 No longer include timestamp etc information.
23714 2013-04-20 Roland Winkler <winkler@gnu.org>
23716 * faces.el (read-face-name): Bug fix, return just one face if arg
23717 multiple is nil. (Bug#14209)
23719 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23721 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
23722 (remove-function): Autoload.
23724 * comint.el (comint-redirect-original-filter-function): Remove.
23725 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
23726 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
23727 (vc-cvs-annotate-command):
23728 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
23729 * progmodes/prolog.el (prolog-consult-compile):
23730 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
23731 Use add/remove-function instead.
23732 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
23733 (gud-tooltip-process-output, gud-tooltip-tips):
23734 Use add/remove-function instead.
23735 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
23736 (scheme-interaction-mode, exit-scheme-interaction-mode):
23737 Use add/remove-function instead.
23739 * vc/vc-dispatcher.el: Use lexical-binding.
23740 (vc--process-sentinel): Rename from vc-process-sentinel.
23741 Change last arg to be the code to run. Don't use vc-previous-sentinel
23742 and vc-sentinel-commands any more.
23743 (vc-exec-after): Allow code to be a function. Use add/remove-function.
23744 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
23746 2013-04-19 Masatake YAMATO <yamato@redhat.com>
23748 * progmodes/sh-script.el (sh-imenu-generic-expression):
23749 Handle function names with a single character. (Bug#14111)
23751 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
23753 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
23754 for subroutines defined in an eval (bug#14182).
23756 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
23758 * bookmark.el (bookmark-completing-read): Improve handling of empty
23759 string (bug#14176).
23761 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23763 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
23765 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
23767 New faster Imenu implementation (bug#14058).
23768 * progmodes/python.el (python-imenu-prev-index-position)
23769 (python-imenu-format-item-label-function)
23770 (python-imenu-format-parent-item-label-function)
23771 (python-imenu-format-parent-item-jump-label-function):
23773 (python-imenu-format-item-label)
23774 (python-imenu-format-parent-item-label)
23775 (python-imenu-format-parent-item-jump-label)
23776 (python-imenu--put-parent, python-imenu--build-tree)
23777 (python-imenu-create-index, python-imenu-create-flat-index)
23778 (python-util-popn): New functions.
23779 (python-mode): Set imenu-create-index-function to
23780 python-imenu-create-index.
23782 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23784 * winner.el (winner-active-region): Use region-active-p, activate-mark
23785 and deactivate-mark (bug#14225).
23787 * simple.el (deactivate-mark): Don't inline it.
23789 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
23791 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
23793 2013-04-18 Tassilo Horn <tsdh@gnu.org>
23795 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
23796 file extensions from the archive-mode entry in order to prefer
23797 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
23799 2013-04-18 Leo Liu <sdl.web@gmail.com>
23801 * bindings.el (help-event-list): Add ?\?.
23803 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
23805 * subr.el (with-wrapper-hook): Declare obsolete.
23806 * simple.el (filter-buffer-substring-function): New hook.
23807 (filter-buffer-substring): Use it.
23808 (filter-buffer-substring-functions): Mark obsolete.
23809 * minibuffer.el (completion-in-region-function): New hook.
23810 (completion-in-region): Use it.
23811 (completion-in-region-functions): Mark obsolete.
23812 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
23813 * abbrev.el (abbrev-expand-function): New hook.
23814 (expand-abbrev): Use it.
23815 (abbrev-expand-functions): Mark obsolete.
23816 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
23817 and :filter-return.
23819 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23821 * progmodes/python.el (python-nav--syntactically): Fix cornercases
23822 and do not care about match data.
23824 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23826 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
23827 completion tables when completing error conditions and
23828 `declare' arguments.
23829 (lisp-complete-symbol, field-complete): Mark as obsolete.
23830 (check-parens): Unmatched parens are user errors.
23831 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
23833 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
23835 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
23836 command changed buffer (ie. `flyspell-pre-buffer' is not current
23837 buffer), which prevents making decisions based on invalid value of
23838 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
23839 cause an error when `flyspell-pre-point' was nil after switching
23841 (flyspell-post-command-hook): No longer needs to change buffers when
23842 checking pre-word. While at it remove unnecessary progn.
23844 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
23846 * textmodes/ispell.el (ispell-add-per-file-word-list):
23847 Fix `flyspell-correct-word-before-point' error when accepting
23848 words and `coment-padding' is an integer by using
23849 `comment-normalize-vars' (Bug #14214).
23851 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23853 New defun movement commands.
23854 * progmodes/python.el (python-nav--syntactically)
23855 (python-nav--forward-defun, python-nav-backward-defun)
23856 (python-nav-forward-defun): New functions.
23858 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
23860 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
23861 (python-syntax-context): Use named compiler-macro for backwards
23862 compatibility with Emacs 24.x.
23864 2013-04-17 Leo Liu <sdl.web@gmail.com>
23866 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
23867 octave-hide-process-buffer.
23869 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
23871 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
23874 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
23876 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
23877 Fix adjustment of offset when receiving incomplete responses from GDB
23880 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23882 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
23883 python-mode-abbrev-table.
23884 (python-skeleton-define): Adjust accordingly.
23885 (python-mode-abbrev-table): New table that inherits from it so that
23886 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
23888 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
23889 (abbrev-symbol): Use it.
23890 (abbrev--before-point): Use it since we already handle inheritance.
23892 2013-04-16 Leo Liu <sdl.web@gmail.com>
23894 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
23895 binding to info-lookup-symbol.
23897 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
23899 * minibuffer.el (completion--twq-all):
23900 * term/ns-win.el (ns-initialize-window-system):
23901 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
23903 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
23905 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
23908 * doc-view.el (doc-view-start-process): Handle url-handler directories.
23910 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
23912 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
23913 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23915 (ruby-end-of-defun): Remove the unused arg, change the docstring
23916 to reflect that this function is only used as the value of
23917 `end-of-defun-function'.
23918 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
23919 to reflect an earlier change that beginning/end-of-defun functions
23920 jump between methods in a class definition, as well as top-level
23923 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23925 * minibuffer.el (minibuffer-complete): Don't just scroll
23926 a *Completions* that's been iconified.
23927 (minibuffer-force-complete): Make sure repetitions do cycle when going
23928 through completion-in-region -> minibuffer-complete.
23930 2013-04-15 Alan Mackenzie <acm@muc.de>
23932 Correct the placement of c-cpp-delimiters when there're #s not at
23935 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
23936 place a submatch around the #.
23937 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
23938 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
23941 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23943 * emacs-lisp/nadvice.el: Properly test names when adding advice.
23944 (advice--member-p): New arg `name'.
23945 (advice--add-function, advice-member-p): Use it (bug#14202).
23947 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
23949 Reformulate java imenu-generic-expression.
23950 The old expression contained ill formed regexps.
23952 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
23953 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
23954 (cc-imenu-java-method-arg-regexp): New defconsts.
23955 (cc-imenu-java-build-type-args-regex): New defun.
23956 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
23957 handling of spaces in the regexp.
23959 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23961 * textmodes/ispell.el (ispell-command-loop): Remove
23962 flyspell highlight of a word when ispell accepts it (bug #14178).
23964 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
23966 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
23967 uses code from the previous `ange-ftp-run-real-handler'.
23968 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
23969 only in case that function exist. This is needed for proper
23970 unloading of Tramp.
23972 2013-04-15 Tassilo Horn <tsdh@gnu.org>
23974 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
23976 * textmodes/reftex.el (reftex-compile-variables): Use it.
23978 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23980 * files.el (normal-mode): Only use default major-mode if no other mode
23983 * emacs-lisp/trace.el (trace-values): New function.
23985 * files.el: Allow : in local variables (bug#14089).
23986 (hack-local-variable-regexp): New var.
23987 (hack-local-variables-prop-line, hack-local-variables): Use it.
23989 2013-04-13 Roland Winkler <winkler@gnu.org>
23991 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
23992 data before it gets modified by bibtex-beginning-of-entry.
23994 2013-04-13 Roland Winkler <winkler@gnu.org>
23996 * textmodes/bibtex.el (bibtex-url): Doc fix.
23998 2013-04-13 Roland Winkler <winkler@gnu.org>
24000 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
24001 does not visit a BibTeX file, exclude it from the list of buffers
24002 returned by bibtex-initialize.
24004 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
24006 * window.el (split-window): Remove interactive form, since as a
24007 command this function is a special case of split-window-below.
24008 Correct doc string.
24010 2013-04-12 Roland Winkler <winkler@gnu.org>
24012 * faces.el (read-face-name): Do not override value of arg default.
24013 Allow single faces and strings as default values. Remove those
24014 elements from return value that are not faces.
24015 (describe-face): Simplify.
24016 (face-at-point): New optional args thing and multiple so that this
24017 function can provide the same functionality previously provided by
24019 (make-face-bold, make-face-unbold, make-face-italic)
24020 (make-face-unitalic, make-face-bold-italic, invert-face)
24021 (modify-face, read-face-and-attribute): Use face-at-point.
24023 * cus-edit.el (customize-face, customize-face-other-window)
24024 * cus-theme.el (custom-theme-add-face)
24025 * face-remap.el (buffer-face-set)
24026 * facemenu.el (facemenu-set-face): Use face-at-point.
24028 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
24030 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
24032 2013-04-10 Tassilo Horn <tsdh@gnu.org>
24034 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
24035 off leading { and trailing } from field values.
24037 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
24039 * emacs-lisp/timer.el (timer--check): New function.
24040 (timer--time, timer-set-function, timer-event-handler): Use it.
24041 (timer-set-idle-time): Simplify.
24042 (timer--activate): CSE.
24043 (timer-event-handler): Give more info in error message.
24044 (internal-timer-start-idle): New function, moved from C.
24046 * mpc.el (mpc-proc): Add `restart' argument.
24047 (mpc-proc-cmd): Use it.
24048 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
24049 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
24052 2013-04-10 Masatake YAMATO <yamato@redhat.com>
24054 * progmodes/sh-script.el: Implement `sh-mode' own
24055 `add-log-current-defun-function' (bug#14112).
24056 (sh-current-defun-name): New function.
24057 (sh-mode): Use the function.
24059 2013-04-09 Bastien Guerry <bzg@gnu.org>
24061 * simple.el (choose-completion-string): Fix docstring (bug#14163).
24063 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
24065 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
24067 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
24070 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
24072 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
24075 2013-04-07 Leo Liu <sdl.web@gmail.com>
24077 * pcmpl-x.el: New file.
24079 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
24081 Do not set x-display-name until X connection is established.
24082 This is needed to prevent from weird situation described at
24083 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
24084 * frame.el (make-frame): Set x-display-name after call to
24085 window system initialization function, not before.
24086 * term/x-win.el (x-initialize-window-system): Add optional
24087 display argument and use it.
24088 * term/w32-win.el (w32-initialize-window-system):
24089 * term/ns-win.el (ns-initialize-window-system):
24090 * term/pc-win.el (msdos-initialize-window-system):
24091 Add compatible optional display argument.
24093 2013-04-06 Eli Zaretskii <eliz@gnu.org>
24095 * files.el (normal-backup-enable-predicate): On MS-Windows and
24096 MS-DOS compare truenames of temporary-file-directory and of the
24097 file, so that 8+3 aliases (usually found in $TEMP on Windows)
24098 don't fail comparison by compare-strings. Also, compare file
24099 names case-insensitively on MS-Windows and MS-DOS.
24101 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24103 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
24104 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
24106 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
24108 * whitespace.el (whitespace-color-on, whitespace-color-off):
24109 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
24111 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
24113 * ispell.el (ispell-set-spellchecker-params):
24114 Really set `ispell-args' for all equivs.
24116 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
24118 * ido.el (ido-completions): Use extra elements of ido-decorations
24120 (ido-decorations): Update docstring.
24122 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
24124 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
24125 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
24126 nil during initialization, in order not to miss changes since the
24127 file was opened. (Bug#14140)
24129 2013-04-05 Leo Liu <sdl.web@gmail.com>
24131 * kmacro.el (kmacro-call-macro): Fix bug#14135.
24133 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
24135 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
24137 2013-04-04 Glenn Morris <rgm@gnu.org>
24139 * electric.el (electric-pair-inhibit-predicate): Add :version.
24141 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
24143 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
24144 when a package is required several times (bug#14082).
24146 2013-04-04 Roland Winkler <winkler@gnu.org>
24148 * faces.el (read-face-name): Behave as promised by the docstring.
24149 Assume that arg default is a list of faces.
24150 (describe-face): Call read-face-name with list of default faces.
24152 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24154 * bookmark.el: Fix deletion of bookmarks (bug#13972).
24155 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
24156 (bookmark-bmenu-execute-deletions): Only skip first line if it's
24158 (bookmark-exit-hook-internal): Save even if list is empty.
24160 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
24162 * emacs-lisp/package.el (package-pinned-packages): New var.
24163 (package--add-to-archive-contents): Obey it (bug#14118).
24165 2013-04-03 Alan Mackenzie <acm@muc.de>
24167 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
24168 Also adapt to the new values of element 7 of a parse state.
24170 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
24171 parameter `not-in-delimiter'. Handle being inside comment opener.
24172 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
24173 character in case we're typing a '*' after a '/'.
24174 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
24175 instead by passing the parameter to c-state-pp-to-literal.
24177 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
24178 for elt. 7 of a parse state.
24180 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
24182 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
24183 * international/latin1-disp.el, international/mule-util.el:
24184 * language/cyril-util.el, language/european.el, language/ind-util.el:
24185 * language/lao-util.el, language/thai.el, language/tibet-util.el:
24186 * language/tibetan.el, language/viet-util.el:
24187 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
24189 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24191 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
24192 (electric-pair-post-self-insert-function): Use it.
24193 (electric-pair-default-inhibit): New function, extracted from
24194 electric-pair-post-self-insert-function.
24196 2013-03-31 Roland Winkler <winkler@gnu.org>
24198 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
24200 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24202 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
24204 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
24206 Un-indent after "pass" and "return" statements (Bug#13888)
24207 * progmodes/python.el (python-indent-block-enders): New var.
24208 (python-indent-calculate-indentation): Use it.
24210 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
24212 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
24213 defun. Defining it as defalias could introduce too eager
24214 byte-compiler optimization. (Bug#14030)
24216 2013-03-30 Chong Yidong <cyd@gnu.org>
24218 * iswitchb.el (iswitchb-read-buffer): Fix typo.
24220 2013-03-30 Leo Liu <sdl.web@gmail.com>
24222 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
24223 (kmacro-execute-from-register): Pass the keyboard macro to
24224 kmacro-call-macro or repeating won't work correctly.
24226 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
24228 * progmodes/subword.el: Back to using `forward-symbol'.
24230 * subr.el (forward-whitespace, forward-symbol)
24231 (forward-same-syntax): Move from thingatpt.el.
24233 2013-03-29 Leo Liu <sdl.web@gmail.com>
24235 * kmacro.el (kmacro-to-register): New command.
24236 (kmacro-execute-from-register): New function.
24237 (kmacro-keymap): Bind to 'x'. (Bug#14071)
24239 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
24241 * mpc.el: Use defvar-local and setq-local.
24242 (mpc--proc-connect): Connection failures are not bugs.
24243 (mpc-mode-map): `follow-link' only applies to the buffer's content.
24244 (mpc-volume-map): Bind to the up-events.
24246 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
24248 * progmodes/subword.el (superword-mode): Use `forward-sexp'
24249 instead of `forward-symbol'.
24251 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
24253 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
24254 (edebug--recursive-edit): Use it.
24255 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
24256 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
24258 2013-03-28 Leo Liu <sdl.web@gmail.com>
24260 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
24262 2013-03-27 Eli Zaretskii <eliz@gnu.org>
24264 * facemenu.el (list-colors-callback): New defvar.
24265 (list-colors-redisplay): New function.
24266 (list-colors-display): Install list-colors-redisplay as the
24267 revert-buffer-function. (Bug#14063)
24269 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
24271 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
24272 and suffixes don't overlap (bug#14061).
24274 * case-table.el: Use lexical-binding.
24275 (case-table-get-table): New function.
24276 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
24278 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
24280 * progmodes/subword.el: Add `superword-mode' to do word motion
24281 over symbol_words (parallels and leverages `subword-mode' which
24282 does word motion inside MixedCaseWords).
24284 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
24286 * eshell/em-unix.el: Move su and sudo to...
24287 * eshell/em-tramp.el: ...Eshell tramp module.
24289 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
24291 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
24292 Change return value to be a sexp. Delay `get-buffer' to after
24293 restoring the desktop (bug#13951).
24295 2013-03-26 Leo Liu <sdl.web@gmail.com>
24297 * register.el: Move semantic tag handling back to
24298 cedet/semantic/senator.el. (Bug#14052)
24300 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
24302 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
24303 into the prompt either (bug#13963).
24305 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
24307 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
24308 part of "(error-foo)".
24310 2013-03-24 Juri Linkov <juri@jurta.org>
24312 * replace.el (list-matching-lines-prefix-face): New defcustom.
24313 (occur-1): Pass `list-matching-lines-prefix-face' to the function
24314 `occur-engine' if `face-differs-from-default-p' returns t.
24315 (occur-engine): Add `,' inside backquote construct to evaluate
24316 `prefix-face'. Propertize the prefix with the `prefix-face' face.
24317 Pass `prefix-face' to the functions `occur-context-lines' and
24318 `occur-engine-add-prefix'.
24319 (occur-engine-add-prefix, occur-context-lines): Add optional arg
24320 `prefix-face' and propertize the prefix with `prefix-face'.
24323 2013-03-24 Leo Liu <sdl.web@gmail.com>
24325 * nxml/rng-valid.el (rng-validate-while-idle)
24326 (rng-validate-quick-while-idle): Guard against deleted buffer.
24329 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
24330 is the last entry in kill-buffer-hook.
24332 * files.el (kill-buffer-hook): Doc fix.
24334 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
24336 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
24337 Make it safe-local.
24339 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
24341 2013-03-23 Leo Liu <sdl.web@gmail.com>
24343 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
24346 * nxml/rng-valid.el (rng-validate-mode)
24347 (rng-after-change-function, rng-do-some-validation):
24348 * nxml/rng-maint.el (rng-validate-buffer):
24349 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
24350 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
24351 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
24352 (nxml-extend-after-change-region): Use with-silent-modifications.
24354 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
24357 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
24358 (rng-next-error-1, rng-previous-error-1): Do not let-bind
24359 timer-idle-list. (Bug#13999)
24361 2013-03-23 Juri Linkov <juri@jurta.org>
24363 * info.el (info-index-match): New face.
24364 (Info-index, Info-apropos-matches): Add a nested subgroup to the
24365 main pattern and add text properties with the new face to matches
24366 in index entries relative to the beginning of the index entry.
24369 2013-03-21 Eric Ludlam <zappo@gnu.org>
24371 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
24372 Inhibit read only while inserting objects.
24374 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
24376 * progmodes/cfengine.el: Update docs to mention
24377 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
24378 symbol motion. Remove "_" from the word syntax.
24380 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
24382 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
24383 syntax for both `cfengine2-mode' and `cfengine3-mode'.
24385 2013-03-20 Juri Linkov <juri@jurta.org>
24387 * info.el (Info-next-reference-or-link)
24388 (Info-prev-reference-or-link): New functions.
24389 (Info-next-reference, Info-prev-reference): Use them.
24390 (Info-try-follow-nearest-node): Handle footnote navigation.
24391 (Info-fontify-node): Fontify footnotes. (Bug#13989)
24393 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
24395 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
24396 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
24398 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
24400 Suppress unnecessary non-ASCII chatter during build process.
24401 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
24402 (batch-skkdic-convert): Suppress most of the chatter.
24403 It's not needed so much now that machines are faster,
24404 and its non-ASCII component was confusing; see Dmitry Gutov in
24405 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
24407 2013-03-20 Leo Liu <sdl.web@gmail.com>
24409 * ido.el (ido-chop): Fix bug#10994.
24411 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
24413 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
24415 (whitespace-color-on, whitespace-color-off):
24416 Use `font-lock-fontify-buffer' (Bug#13817).
24418 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
24420 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
24421 remapping in mode-line.
24422 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
24424 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
24426 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
24427 value for `whitespace-line' face (Bug#13875).
24428 (whitespace-font-lock-keywords): Change description.
24429 (whitespace-color-on): Don't save `font-lock-keywords' value, save
24430 the constructed keywords instead.
24431 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
24433 2013-03-19 Leo Liu <sdl.web@gmail.com>
24435 * progmodes/compile.el (compilation-display-error): New command.
24436 (compilation-mode-map, compilation-minor-mode-map): Bind it to
24439 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
24441 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
24443 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
24445 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
24447 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
24449 * net/tramp-compat.el (tramp-compat-user-error): New defun.
24451 * net/tramp-adb.el (tramp-adb-handle-shell-command):
24452 * net/tramp-gvfs.el (top):
24453 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
24454 (tramp-handle-shell-command): Use it.
24455 (tramp-dissect-file-name): Raise an error when hostname is a
24456 method name, and neither method nor user is specified.
24458 * net/trampver.el: Update release number.
24460 2013-03-18 Leo Liu <sdl.web@gmail.com>
24462 Make sure eldoc can be turned off properly.
24463 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
24465 (eldoc-display-message-p): Revert last change.
24466 (eldoc-display-message-no-interference-p)
24467 (eldoc-print-current-symbol-info): Tweak.
24469 2013-03-18 Tassilo Horn <tsdh@gnu.org>
24471 * doc-view.el (doc-view-new-window-function): Check the new window
24472 overlay's display property instead the char property of the
24473 buffer's first char. Use `with-selected-window' instead of
24474 `save-window-excursion' with `select-window'.
24475 (doc-view-document->bitmap): Check the current doc-view overlay's
24476 display property instead the char property of the buffer's first char.
24478 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
24480 Automate the build of ja-dic.el (Bug#13984).
24481 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
24482 from the input, rather than assume that it's been done for us by the
24483 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
24484 the current date into a ja-dic.el comment, as that complicates
24485 regression testing.
24487 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24489 * whitespace.el: Fix double evaluation.
24490 (whitespace-space, whitespace-hspace, whitespace-tab)
24491 (whitespace-newline, whitespace-trailing, whitespace-line)
24492 (whitespace-space-before-tab, whitespace-indentation)
24493 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
24495 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
24496 (whitespace-color-on): Use a single font-lock-add-keywords call.
24497 Fix double-evaluation of face variables.
24499 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
24501 * net/tramp-adb.el (tramp-adb-parse-device-names):
24502 Use `start-process' instead of `call-process'. Otherwise, the
24503 function might be blocked under MS Windows. (Bug#13299)
24505 2013-03-17 Leo Liu <sdl.web@gmail.com>
24507 Extend eldoc to display info in the mode-line. (Bug#13978)
24508 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
24509 (eldoc-mode-line-string): New variable.
24510 (eldoc-minibuffer-message): New function.
24511 (eldoc-message-function): New variable.
24512 (eldoc-message): Use it.
24513 (eldoc-display-message-p)
24514 (eldoc-display-message-no-interference-p):
24515 Support eldoc-post-insert-mode.
24517 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
24518 (eval-expression): Run it.
24520 2013-03-17 Roland Winkler <winkler@gnu.org>
24522 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
24523 strings in the list of return values.
24525 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24527 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
24528 radix before checking for HMS forms.
24530 2013-03-16 Leo Liu <sdl.web@gmail.com>
24532 * progmodes/scheme.el: Add indentation and font-locking for λ.
24535 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
24537 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
24538 token before point (bug#13942).
24540 2013-03-16 Leo Liu <sdl.web@gmail.com>
24542 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
24544 2013-03-16 Eli Zaretskii <eliz@gnu.org>
24546 * startup.el (command-line-normalize-file-name): Fix handling of
24547 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
24548 <xfq.free@gmail.com> in
24549 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
24551 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
24553 Sync with Tramp 2.2.7.
24555 * net/trampver.el: Update release number.
24557 2013-03-14 Tassilo Horn <tsdh@gnu.org>
24559 * doc-view.el: Fix bug#13887.
24560 (doc-view-insert-image): Don't modify overlay associated to
24561 non-live windows, and implement horizontal centering of image in
24562 case it's smaller than the window.
24563 (doc-view-new-window-function): Force redisplay of new windows on
24566 2013-03-13 Karl Fogel <kfogel@red-bean.com>
24568 * saveplace.el (save-place-alist-to-file): Don't sort
24569 `save-place-alist', just pretty-print it (bug#13882).
24571 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
24573 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
24574 Check whether `default-file-name-coding-system' is bound.
24575 It isn't in XEmacs.
24577 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
24579 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
24580 backquotes for `obsolete' (bug#13929).
24582 * international/mule.el (find-auto-coding): Include file name in
24583 obsolescence warning (bug#13922).
24585 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
24587 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
24588 for CFEngine 3-specific indentation.
24589 (cfengine3-indent-line): Use it. Fix up category regex.
24590 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
24592 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24594 * type-break.el (type-break-file-name):
24595 * textmodes/remember.el (remember-data-file):
24596 * strokes.el (strokes-file):
24597 * shadowfile.el (shadow-initialize):
24598 * saveplace.el (save-place-file):
24599 * ps-bdf.el (bdf-cache-file):
24600 * progmodes/idlwave.el (idlwave-config-directory):
24601 * net/quickurl.el (quickurl-url-file):
24602 * international/kkc.el (kkc-init-file-name):
24603 * ido.el (ido-save-directory-list-file):
24604 * emulation/viper.el (viper-custom-file-name):
24605 * emulation/vip.el (vip-startup-file):
24606 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
24607 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
24609 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
24611 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
24612 * language/thai-word.el: Switch to UTF-8.
24614 See ChangeLog.16 for earlier changes.
24616 ;; Local Variables:
24620 Copyright (C) 2011-2015 Free Software Foundation, Inc.
24622 This file is part of GNU Emacs.
24624 GNU Emacs is free software: you can redistribute it and/or modify
24625 it under the terms of the GNU General Public License as published by
24626 the Free Software Foundation, either version 3 of the License, or
24627 (at your option) any later version.
24629 GNU Emacs is distributed in the hope that it will be useful,
24630 but WITHOUT ANY WARRANTY; without even the implied warranty of
24631 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24632 GNU General Public License for more details.
24634 You should have received a copy of the GNU General Public License
24635 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.