1 2014-11-19 Ivan Shmakov <ivan@siamics.net>
3 * net/eww.el (eww-history-limit): New variable.
4 (eww-save-history): Use it.
6 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
10 2014-11-19 Ivan Shmakov <ivan@siamics.net>
12 * net/eww.el (eww-desktop-remove-duplicates)
13 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
14 (eww-mode): Set up desktop mode.
15 (eww-desktop-data-save, eww-desktop-data-1)
16 (eww-desktop-history-duplicate, eww-desktop-misc-data)
17 (eww-restore-desktop): New functions.
19 2014-11-19 Eli Zaretskii <eliz@gnu.org>
21 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
22 correct buffer. (Bug#19101)
24 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
27 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
28 `diff-switches' if `vc-git-diff-switches' is nil.
30 2014-11-18 Juri Linkov <juri@linkov.net>
32 * simple.el (next-line-or-history-element): Wrap next-line
34 (previous-line-or-history-element): Wrap previous-line
37 2014-11-18 Juri Linkov <juri@linkov.net>
39 * progmodes/grep.el (grep-compute-defaults):
40 Compute grep-highlight-matches before its use.
42 2014-11-18 Juri Linkov <juri@linkov.net>
44 * replace.el (query-replace-from-to-separator): Turn defvar into
45 defcustom. Wrap char-displayable-p in ignore-errors because an
46 attempt to autoload char-displayable-p fails during pre-loading.
47 Move (propertize "\0" ... 'separator t) out of customizable part
48 to query-replace-read-from.
49 (query-replace-read-from): Call custom-reevaluate-setting on
50 query-replace-from-to-separator to reevaluate the separator
51 depending on the return value of char-displayable-p.
52 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
54 2014-11-18 Juri Linkov <juri@linkov.net>
56 * bindings.el (minibuffer-local-map): Rebind [down] from
57 next-history-element to next-line-or-history-element, and [up]
58 from previous-history-element to previous-line-or-history-element.
60 * simple.el (next-line-or-history-element)
61 (previous-line-or-history-element): New commands.
62 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
64 2014-11-18 Leo Liu <sdl.web@gmail.com>
66 * emacs-lisp/nadvice.el (define-advice): New macro.
67 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
69 (lisp-font-lock-keywords-1): Add define-advice.
71 2014-11-18 Daiki Ueno <ueno@gnu.org>
73 * epg.el (epg-context): New slot EDIT-CALLBACK.
74 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
75 (epg-reset): Reset EDIT-CALLBACK of the context.
76 (epg-start-edit-key): New function.
77 (epg-edit-key): New function.
79 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
81 Port new time stamp handling to Emacs 23.2.
82 This fix is for Gnus. Problem reported by Katsumi Yamaoka.
83 * calendar/time-date.el (time-add, time-subtract, time-less-p):
84 Use eval-and-compile, not eval-when-compile.
86 2014-11-18 Daiki Ueno <ueno@gnu.org>
88 * epg.el (epg-context-set-passphrase-callback)
89 (epg-context-set-progress-callback): Check if the CALLBACK
90 argument is a function, instead of a cons.
92 2014-11-18 Daiki Ueno <ueno@gnu.org>
94 * epa-file.el (epa-file-insert-file-contents)
95 (epa-file-write-region): Remove redundant check of
97 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
98 (epa-sign-region, epa-encrypt-region): Remove redundant check of
101 2014-11-18 Daiki Ueno <ueno@gnu.org>
103 * epa-file.el (epa-file-insert-file-contents): Don't show
104 "*Error*" buffer if input file does not exist.
105 Reported by Herbert J. Skuhra.
107 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
108 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
110 Fix bug#13871 (an alternative version of the patch).
111 * progmodes/cc-langs.el: Support some of the new keywords in
113 (c-operators): Add "alignof".
114 (c-primitive-type-kwds): Add "char16_t", "char32_t".
115 (c-type-modifier-kwds): Add "constexpr", "noexcept".
116 (c-modifier-kwds): Add "thread_local".
117 (c-constant-kwds): Add "nullptr".
119 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
121 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
122 New variables for specifying tildify pattern and representation of
123 a hard space -- a no-break space by default -- respectively.
124 Being buffer-local they are much easier to handle than
125 `tildify-string-alist' and `tildify-pattern-alist' respectively
126 that have been used so far. They also works better with derived
128 (tildify-foreach-region-function): New variable specifying
129 a function determining portions of buffer that should be
130 tildified. It allows major modes to create a filtering function
131 more elaborate than a set of regular expressions. Initialised to
132 `tildify--deprecated-ignore-evironments' by default to handle now
133 deprecated `tildify-ignored-environments-alist' variable.
134 (tildify--foreach-region): A new function that takes
135 `tildify-foreach-region-function' into account and calls callback
136 for regions of the buffer that should be tildified.
137 (tildify-foreach-ignore-environments): A new function which can be
138 partially applied and used as `tildify-foreach-region-function'.
139 (tildify-ignored-environments-alist, tildify-pattern)
140 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
141 (tildify--find-env): Rename from `tildify-find-env' and mark as
143 (tildify--deprecated-ignore-evironments): New function,
144 immediately marked as obsolete, used to handle deprecated
145 `tildify-ignored-environments-alist'.
147 * textmodes/tex-mode.el (tex-common-initialization): Set
148 `tildify-space-string' and `tildify-foreach-region-function'
149 variables in all variants of TeX mode since `tildify-string-alist'
150 and `tildify-ignored-environments-alist' are now empty by default.
152 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'. If
153 encoding supports it use no-break space instead of character
154 entity; this changes previous default which used a numeric
157 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'. If
158 encoding does not support no-break space, use numeric reference;
159 this changes previous default which used named entity (“ ”)
162 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
165 * calendar/icalendar.el (icalendar-export-alarms): New
166 customizable variable.
167 (icalendar-export-region): Export alarms as specified in
168 `icalendar-export-alarms'.
169 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
170 New functions for exporting alarms.
172 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
174 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
176 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
178 Port new time stamp handling to old Emacs and to XEmacs.
179 This is needed for Gnus, which copies time-date.el and which
180 runs on older Emacs implementations.
181 * calendar/time-date.el (with-decoded-time-value):
182 Handle 'nil' and floating-point arg more compatibly with new Emacs.
183 (encode-time-value, with-decoded-time-value):
184 Obsolete only if new Emacs.
185 (time-add, time-subtract, time-less-p): Define if not new Emacs.
187 Improve time stamp handling, and be more consistent about it.
188 This implements a suggestion made in:
189 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
190 Among other things, this means timer.el no longer needs to
191 autoload the time-date module.
192 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
193 * arc-mode.el (archive-ar-summarize):
194 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
195 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
196 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
197 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
198 * proced.el (proced-time-lessp):
199 * timezone.el (timezone-time-from-absolute):
200 * type-break.el (type-break-schedule, type-break-time-sum):
201 Simplify by using new functionality.
202 * calendar/cal-dst.el (calendar-next-time-zone-transition):
203 Do not return time values in obsolete and undocumented (HI . LO)
204 format; use (HI LO) instead.
205 * calendar/time-date.el (with-decoded-time-value):
206 Treat 'nil' as current time. This is mostly for XEmacs.
207 (encode-time-value, with-decoded-time-value): Obsolete.
208 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
209 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
210 * ldefs-boot.el: Update to match new time-date.el
211 * proced.el: Do not require time-date.
213 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
215 * net/eww.el (eww-mode): Make the buffer read-only.
216 (eww-form-text): Inhibit read-only-ness in text input fields
219 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
221 * simple.el (execute-extended-command--shorter): Cut search here.
222 (execute-extended-command): Instead of here.
224 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
226 * progmodes/python.el (python-mode): Avoid use of set-local to
227 keep Emacs 24.x compatibility.
229 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
231 * net/shr.el (shr): Move to the new defgroup `web'.
233 * net/eww.el (eww): Ditto.
235 * simple.el (execute-extended-command): Don't show the help
236 message if the binding isn't significantly shorter than the
237 M-x command the user typed (bug#19013).
239 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
241 * calendar/icalendar.el (icalendar--convert-tz-offset):
242 Return complete cons when offsets of standard time and daylight saving
244 (icalendar-export-region): Fix unbound variable warning.
246 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
248 * progmodes/python.el (run-python): Allow CMD to be optional and
249 default it to a safe command, even for Windows. (bug#18596)
251 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
253 * progmodes/python.el (python-shell-calculate-command):
254 Rename from python-shell-parse-command. Cleanup.
255 (run-python, run-python-internal): Use it.
256 (python-shell-calculate-pythonpath): Rename from
257 python-new-pythonpath.
258 (python-shell-calculate-process-environment): Use it.
259 (python-shell-calculate-exec-path): Add comment.
261 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
263 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
266 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
268 * version.el (emacs-repository-get-version): Use git rev-parse
271 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
273 * progmodes/python.el (python-indent-calculate-levels):
274 Fix indentation behavior multiline dedenter statement. (Bug#18432)
276 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
278 * progmodes/python.el (python-indent-region):
279 Use python-indent-line and skip special cases. (Bug#18843)
281 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
283 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
284 envelope-from when reporting through sendmail (bug#19054).
286 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
288 Add faces for the VC modeline state indicator.
289 * lisp/vc/vc-hooks.el:
290 (vc-state-faces, vc-state-base-face)
291 (vc-up-to-date-state, vc-needs-update-state)
292 (vc-locked-state, vc-locally-added-state)
293 (vc-conflict-state, vc-removed-state)
294 (vc-missing-state, vc-edited-state):
296 (vc-default-mode-line-string): Use them
298 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
300 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
302 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
304 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
306 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
308 * progmodes/python.el (python-eldoc-setup-code): Enhance string
309 type checks, simplify printing. (Bug#18962)
311 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
313 * progmodes/python.el (python-shell-font-lock-kill-buffer):
314 (python-shell-font-lock-with-font-lock-buffer)
315 (python-shell-get-buffer, python-ffap-module-path):
316 Use `derived-mode-p' instead of equality test on `major-mode'.
318 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
320 * progmodes/python.el (python-shell-virtualenv-root): Rename from
321 python-shell-virtualenv-path.
322 (python-shell-internal-get-process-name)
323 (python-shell-calculate-process-environment)
324 (python-shell-calculate-exec-path): Use it.
326 2014-11-14 Eli Zaretskii <eliz@gnu.org>
328 * bindings.el (search-map): Fix last change: don't use 'kbd' in
329 bindings.el, since it is not yet loaded when bindings.el is
332 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
334 * progmodes/python.el (python-shell-completion-get-completions):
337 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
339 * net/eww.el (eww-render): Don't set the title to the URL.
341 2014-11-13 Ulrich Müller <ulm@gentoo.org>
343 * version.el (emacs-repository-get-version): Call `git log'
344 command with proper format argument (bug#19049).
346 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
348 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
350 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
352 * net/eww.el (eww-search-words): New command (bug#16258).
354 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
356 * net/shr.el (shr-inhibit-images): Add a doc string.
358 * net/eww.el (eww-after-render-hook): New variable.
359 (eww-render): Use it.
361 * net/shr.el (shr-descend): Don't descend further than
362 `max-specpdl-size' allows (bug#16587).
363 (shr-depth): New variable.
364 (shr-warning): New variable.
366 2014-11-13 Ivan Shmakov <ivan@siamics.net>
368 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
369 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
371 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
373 * net/eww.el (eww): Add comment to clarify.
375 * net/shr.el (shr-parse-image-data): Remove blocked bits from
377 (shr-tag-object): Display images in <object> forms (bug#16244).
378 (shr-tag-table): Also insert <objects> after the tables.
380 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
382 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
384 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
386 * net/eww.el (eww-form-file): Fix version number.
388 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
390 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
392 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
394 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
395 (eww-submit-file): New key map of file upload.
396 (eww-form-file): New file upload button and file name context.
397 (eww-select-file): Select file and display selected file name.
398 (eww-tag-input): Handle input tag of file type.
399 (eww-update-field): Add point offset.
400 (eww-submit): Add submit with multipart/form-data.
402 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
404 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
405 Allow taking a buffer to render data in. This allows using several
406 eww buffers (bug#16211).
408 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
410 * net/eww.el (eww-download-callback): Save only the file contents,
413 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
415 * net/eww.el (eww-data): New plist to store all the data relevant
416 to a single page, used throughout the file instead of the
417 variables `eww-current-url', `eww-current-dom',
418 `eww-current-source', and `eww-current-title'.
419 (eww-readable): Copy over pertinent data from the parent page.
420 (eww-save-history): Don't let the history grow infinitely.
422 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
423 `eww-up-url', `eww-home-url', `eww-start-url' and
424 `eww-contents-url' and put the data into the `eww-data' plist.
425 This allow restoring these values after going back in the history.
427 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
429 Allow VTIMEZONE where daylight and standard time zones are equal.
430 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
431 * calendar/icalendar.el (icalendar--convert-tz-offset):
432 Support timezone without daylight saving time.
434 2014-11-10 Glenn Morris <rgm@gnu.org>
436 * startup.el (command-line): Handle nil elements in load-path.
438 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
440 * help.el (view-lossage): Include the actual commands run.
442 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
444 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
445 no state is specified. (Bug#18964)
447 2014-11-09 Eric Ludlam <zappo@gnu.org>
449 * emacs-lisp/eieio-custom.el (eieio-customize-object):
450 Set eieio-cog (current group) to g, which is an improved form of input
453 2014-11-09 Juri Linkov <juri@jurta.org>
455 * isearch.el (isearch-message-prefix): Show "Multi-file" and
456 "Multi-buffer" instead of "Multi". (Bug#13592)
458 * misearch.el (multi-isearch-file-list):
459 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
460 (multi-isearch-end): Reset multi-isearch-buffer-list and
461 multi-isearch-file-list to nil.
463 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
465 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
466 Don't call byte-compile-preprocess since the result will go through
468 (byte-compile-output-docform): Handle uninterned `name' correctly.
469 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
470 to circumvent byte-compiler bug.
472 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
473 (macroexp--compiler-macro): Remove left-over debug code.
475 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
477 2014-11-08 Juri Linkov <juri@jurta.org>
479 * simple.el (shell-command): Use buffer-name when output-buffer is
480 a buffer. (Bug#18096)
482 2014-11-08 Juri Linkov <juri@jurta.org>
484 * minibuffer.el (minibuffer-completion-help): Compare this-command
485 with completion-at-point. (Bug#17809)
487 2014-11-08 Glenn Morris <rgm@gnu.org>
489 * emacs-lisp/bytecomp.el (byte-compile-report-error):
490 Allow the argument to be a string. Due to the vague doc,
491 it was already being used this way.
493 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
495 * net/tramp.el (tramp-check-cached-permissions): Include hop in
496 the constructed Tramp file name. (Bug#18943)
498 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
500 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
502 (cua-set-mark, cua--post-command-handler-1):
503 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
505 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
507 * files.el (file-name-non-special): Wrap the call of
508 `insert-file-contents' by `unwind-protect', in order to set the
509 buffer's file name anyway. (Bug#18891)
511 2014-11-08 Alan Mackenzie <acm@muc.de>
513 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
514 * progmodes/cc-fonts.el (c-font-lock-declarations):
515 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
516 the buffer is sometimes narrowed to less than "limit" (e.g., in
517 the presence of macros).
519 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
521 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
522 only when message appeared in minibuffer. (Bug#18891)
524 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
525 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
526 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
529 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
531 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
532 Don't compile before eval in `eval-and-compile'.
533 (byte-compile-arglist-warn): Add check for defining macros after their
534 first use. Check call use even if the function is fboundp.
536 2014-11-08 Richard Stallman <rms@gnu.org>
538 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
539 Check more carefully for mime-part specified character set.
540 Check for mime-part Content Transfer Encoding.
541 Notify if no armor found.
543 2014-11-08 Martin Rudalics <rudalics@gmx.at>
545 * faces.el (face-set-after-frame-default): Enable running
546 `window-configuration-change-hook'.
548 2014-11-07 Juri Linkov <juri@jurta.org>
550 * replace.el: History for query replace pairs.
551 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
552 (query-replace-from-to-separator): New variable.
553 (query-replace-read-from): Let-bind query-replace-from-to-history
554 to a list of FROM-TO strings created from query-replace-defaults
555 and separated by query-replace-from-to-separator. Use it as
556 the history while reading from the minibuffer. Split the returned
557 string by the separator to get FROM and TO parts, and add them
558 to the history variables.
559 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
560 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
561 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
563 * isearch.el (isearch-text-char-description): Keep characters
564 intact and put formatted strings with the `display' property.
566 2014-11-07 Martin Rudalics <rudalics@gmx.at>
568 * cus-start.el (frame-resize-pixelwise): Fix group.
569 (frame-inhibit-implied-resize): Add entry.
571 2014-11-07 Daiki Ueno <ueno@gnu.org>
573 * epa.el (epa-pinentry-mode): New user option.
574 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
575 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
576 * epa-file.el (epa-file-insert-file-contents)
577 (epa-file-write-region): Respect epa-pinentry-mode.
579 2014-11-07 Daiki Ueno <ueno@gnu.org>
581 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
582 (bug#18979). Reported by Hideki Saito.
584 2014-11-06 Daiki Ueno <ueno@gnu.org>
586 * emacs-lisp/package.el (package--display-verify-error): New function.
587 (package--check-signature): Use it to display output sent to stderr.
589 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
591 * subr.el (pop): Don't call the getter twice (bug#18968).
593 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
596 2014-11-06 Daiki Ueno <ueno@gnu.org>
598 * epa.el (epa-error-buffer): New variable.
599 (epa-display-error): New function.
600 (epa-decrypt-file, epa-verify-file, epa-verify-region)
601 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
602 (epa-sign-file, epa-sign-region, epa-encrypt-region)
603 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
604 Use setf instead of epg-context-set-*.
605 * epa-file.el (epa-file-insert-file-contents):
606 Use epa-display-error instead of epa-display-info. Mimic the behavior
607 of jka-compr when decryption program is not found.
608 (epa-file-write-region): Use epa-display-error instead of
611 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
613 * vc/vc.el (vc-region-history): New command.
614 (vc-print-log-internal): Use cl-some.
616 * vc/vc-git.el (vc-git-region-history): New function.
617 (vc-git-region-history-mode-map)
618 (vc-git--log-view-long-font-lock-keywords)
619 (vc-git-region-history-font-lock-keywords): New vars.
620 (vc-git-region-history-font-lock): New function.
621 (vc-git-region-history-mode): New major mode.
623 2014-11-05 Tassilo Horn <tsdh@gnu.org>
625 * net/eww.el (subr-x): Require subr-x at compile-time because eww
628 2014-11-05 Daiki Ueno <ueno@gnu.org>
630 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
631 (epg-error-output): New buffer-local variable.
632 (epg--start): Initialize epg-error-output.
633 (epg--process-filter): Record output lines sent to stderr, in
635 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
637 * epa-file.el (epa-file-insert-file-contents): On error, display
638 output sent to stderr.
639 (epa-file-write-region): Likewise.
641 2014-11-05 Eli Zaretskii <eliz@gnu.org>
643 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
644 returned by load-average.
646 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
648 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
649 a local copy; setting `inhibit-file-name-handlers' proper might be
650 more performant. (Bug#18751)
652 2014-11-05 Glenn Morris <rgm@gnu.org>
654 * mail/emacsbug.el (report-emacs-bug): No longer include
655 recent-keys in the report. (Bug#18900)
657 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
659 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
661 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
663 * net/eww.el (eww): Trim URL with `string-trim'.
664 Suggested by Vibhav Pant <vibhavp@gmail.com>.
666 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
668 * net/eww.el (eww-score-readability): Don't count comments positively.
670 * net/shr.el (shr-retransform-dom): Typo fix.
672 * net/eww.el (eww-score-readability): Parse SVC images correctly.
673 (eww-display-html): Don't leave point inside forms.
677 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
679 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
680 edebug-prin1-to-string already handles circularity.
682 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
683 autoloading when specified as a lambda.
685 * simple.el (execute-extended-command--last-typed): New var.
686 (read-extended-command): Set it.
687 Don't complete obsolete commands.
688 (execute-extended-command--shorter-1)
689 (execute-extended-command--shorter): New functions.
690 (execute-extended-command): Use them to suggest shorter names.
691 (indicate-copied-region, deactivate-mark): Use region-active-p.
693 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
695 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
696 local copy of FILENAME, when it is remote. (Bug#18751)
698 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
699 an error when the command fails; the return code must indicate.
700 (tramp-adb-send-command-and-check): Fix docstring.
702 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
704 * net/shr.el (shr-retransform-dom): Don't ignore elements that
705 have no children like <br />.
707 * net/eww.el (eww-display-html): Clear `url-queue'.
708 (eww-display-pdf): New function.
709 (eww-render): Display PDFs with `doc-view'.
710 (url-queue): Require `url-queue' to avoid compilation warning.
711 (eww-colorize-region): Remove duplicate function.
712 (eww-tag-body): Use `shr-colorize-region'.
714 2014-11-03 Yoni Rabkin <yrk@gnu.org>
716 * net/eww.el (eww-list-bookmarks): Autoload.
718 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
720 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
722 * net/eww.el (eww-display-html): The charset is called `utf-8',
724 (eww-readable): Decode the saved text correctly.
725 (eww-readable): Save the history before displaying so that we can
726 go back to the non-readable version.
727 (eww-display-html): Don't try to decode the text if we've been
728 passed in a pre-parsed DOM.
729 (eww-tag-title): Remove newlines and extra whitespace from the
732 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
734 * net/eww.el (eww-readable): New command and keystroke.
736 * net/shr.el (shr-retransform-dom): New function.
738 * net/eww.el (eww-display-html): Set `eww-current-source' in the
740 (eww-view-source): Use it.
742 2014-11-02 Ivan Shmakov <ivan@siamics.net>
744 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
747 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
749 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
751 2014-11-02 Ivan Shmakov <ivan@siamics.net>
753 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
755 2014-11-02 Ivan Shmakov <ivan@siamics.net>
757 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
760 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
762 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
764 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
766 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
768 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
770 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
772 2014-11-01 Michael R. Mauger <michael@mauger.com>
774 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
775 syntax, add new keywords, and parse longer keywords first.
776 (sql-redirect-one): Protect against empty command.
777 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
780 2014-11-01 Michael R. Mauger <michael@mauger.com>
782 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
783 Bug#16814 with let-bind of comint-input-ring variables around read
786 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
788 * net/tramp-cache.el (tramp-get-file-property)
789 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
790 and `tramp-cache-set-count-*' are bound. Otherwise, there might
791 be compiler warnings.
793 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
794 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
796 2014-11-01 Eli Zaretskii <eliz@gnu.org>
798 * progmodes/compile.el (compilation-mode): Turn off deferred
799 fontifications locally. (Bug#18856)
801 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
803 * net/tramp-sh.el (tramp-send-command): Fix the case where the
804 remote-echo connection property is non-nil (bug#18858).
806 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
808 * simple.el (newline): Add assertions to try and help catch bug#18913.
810 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
812 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
814 2014-11-01 Kim F. Storm <storm@cua.dk>
816 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
817 * delsel.el (delete-selection-save-to-register)
818 (delsel--replace-text-or-position): New vars.
819 (delete-active-region): Use them.
820 (delete-selection-repeat-replace-region): New command, moved from
822 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
823 (cua-repeat-replace-region): Move command to delsel.el.
824 (cua--init-keymaps): Update binding accordingly.
825 (cua-mode): Set delete-selection-save-to-register.
827 2014-11-01 Alan Mackenzie <acm@muc.de>
829 Make blink-parens work with a closing template delimiter.
830 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
831 before calling blink-paren-function, so as to apply syntax-table
832 properties to the ">".
834 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
836 * select.el (gui-get-selection): Comment: data-type ignored on NS.
838 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
840 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
841 (macroexp--expand-all): Unrelated tweaks.
843 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
845 2014-10-30 Glenn Morris <rgm@gnu.org>
847 * startup.el (command-line): Remove pointless attempt to avoid
848 statting the file-system (which expand-file-name doesn't do).
850 2014-10-30 Daniel Colascione <dancol@dancol.org>
852 Add "enum class" support to C++ mode.
853 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
854 (c-after-brace-list-key): New language consts/variables.
855 * progmodes/cc-engine.el (c-looking-at-decl-block):
856 Exclude spurious match of "enum struct" from decl-block recognition.
857 (c-backward-colon-prefixed-type): New function.
858 (c-backward-over-enum-header): Call above function to extend
859 recognition of enum structure.
861 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
863 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
865 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
867 2014-10-30 Eli Zaretskii <eliz@gnu.org>
869 * progmodes/compile.el (compilation-start):
870 If compilation-scroll-output is non-nil, don't force window-start of
871 the compilation buffer to be at beginning of buffer. (Bug#18874)
873 * startup.el (fancy-about-text): Read the entire tutorial, not
874 just its first 256 bytes. (Bug#18760)
876 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
878 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
879 * emacs-lisp/cl-extra.el: Add missing provide.
881 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
882 all args are copyable (bug#18767).
883 (=, <, >, <=, >=): Re-enable the optimization.
885 2014-10-29 Glenn Morris <rgm@gnu.org>
887 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
889 * version.el (emacs-bzr-version, emacs-bzr-get-version):
890 Revert 2014-10-26 change.
892 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
894 Simplify use of current-time and friends.
895 * allout-widgets.el (allout-widgets-hook-error-handler):
896 * calendar/appt.el (appt-display-message):
897 * calendar/icalendar.el (icalendar--convert-float-to-ical):
898 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
899 (timeclock-last-period, timeclock-day-base):
900 * eshell/em-ls.el (eshell-ls-file):
901 * eshell/esh-util.el (eshell-parse-ange-ls):
902 * generic-x.el (named-database-print-serial):
903 * net/newst-backend.el (newsticker--get-news-by-url-callback)
904 (newsticker-get-news, newsticker--sentinel-work)
905 (newsticker--image-get, newsticker--image-sentinel):
906 * net/tramp-sh.el (tramp-get-remote-touch):
907 * progmodes/opascal.el (opascal-debug-log):
908 * textmodes/remember.el (remember-mail-date)
909 (remember-store-in-files):
910 * vc/vc-annotate.el (vc-annotate-display-autoscale)
911 (vc-default-annotate-current-time):
912 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
913 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
914 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
915 Omit unnecessary call to current-time.
916 * calendar/time-date.el (time-to-seconds) [!float-time]:
917 * vc/vc-annotate.el (vc-annotate-convert-time):
918 Use current time if arg is nil, to be compatible with float-time.
919 (time-date--day-in-year): New function, with most of the guts of
920 the old time-to-day-in-year.
921 (time-to-day-in-year): Use it.
922 (time-to-days): Use it, to avoid decoding the same time stamp twice.
923 * calendar/timeclock.el (timeclock-time-to-date):
924 Arg is now optional, like current-time-string.
925 (timeclock-update-mode-line):
926 Don't call current-time twice to get the current time stamp,
927 as this can lead to inconsistent results.
928 * completion.el (cmpl-hours-since-origin):
929 * ido.el (ido-time-stamp):
930 * vc/vc-annotate.el (vc-annotate-convert-time):
931 Simplify by using float-time.
932 * completion.el (save-completions-to-file):
933 Rename local var to avoid confusion.
934 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
935 time-to-seconds now behaves like float-time with respect to nil arg.
936 * subr.el (progress-reporter-do-update):
937 Don't call float-time unless needed.
939 2014-10-29 Leo Liu <sdl.web@gmail.com>
941 * net/rcirc.el (rcirc-fill-column): Use function.
942 (rcirc-markup-fill): Remove adjustment.
944 2014-10-28 Christopher Schmidt <ch@ristopher.com>
946 * calc/calc.el (quick-calc):
947 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
949 2014-10-28 Sam Steingold <sds@gnu.org>
951 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
952 the sake of `window-body-width' (in addition to `frame-width').
954 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
956 * version.el: Fix some fallback values to conform to the actual
959 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
961 * Makefile.in: Change some production names so they're neutral
962 about the repository type.
964 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
966 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
967 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
968 during initialization. (Bug#18774)
970 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
972 * ses.el (macroexp): Add require for this package, so that
973 function `ses--cell' gets macroexp-quote --- this change was
974 supposed to be in my previous commit, but left out by mistake.
975 (ses--cell): Do not make formula a macroexp-quote of value when
976 value, not formula, is *skip*.
978 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
980 * ses.el (macroexp): Add require for this package, so that function
981 `ses--cell gets macroexp-quote.
982 (ses--cell): Makes formula a macroexp-quote of value when formula
983 is nil. The rationale of this changr is to allow in the future
984 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
985 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
986 reference list REFLIST would be re-computed after load --- thus
987 trading off load time against file size.
989 * emacs-lisp/package.el (package--alist-to-plist-args):
990 Use macroexp-quote instead of a lambda expression which has the same
991 content as macroexp-quote.
992 (macroexp): Add require for this package, so that function
993 `package--alist-to-plist-args' gets macroexp-quote.
995 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
997 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
999 * term/ns-win.el (ns-store-cut-buffer-internal)
1000 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
1002 2014-10-24 Martin Rudalics <rudalics@gmx.at>
1004 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
1005 Calculate increment from last position instead of window edge.
1006 Add right- and bottom-divider bindings to transient map.
1008 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1010 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
1011 even if :predicate was nil, for the benefit of typep.
1012 Record the name of the predicate for typep's use.
1013 (cl--make-type-test): Use pcase. Obey new
1014 cl-deftype-satisfies property.
1016 * epg.el: Use cl-defstruct.
1017 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
1018 (epg-data-string): Define via cl-defstruct.
1019 (epg--gv-nreverse): New macro.
1020 (epg-context--make): New constructor (provided vi cl-defstruct).
1021 (epg-make-context): Rewrite using it.
1022 (epg-context-protocol, epg-context-program)
1023 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
1024 (epg-context-include-certs, epg-context-cipher-algorithm)
1025 (epg-context-digest-algorithm, epg-context-compress-algorithm)
1026 (epg-context-passphrase-callback, epg-context-progress-callback)
1027 (epg-context-signers, epg-context-sig-notations, epg-context-process)
1028 (epg-context-output-file, epg-context-result, epg-context-operation)
1029 (epg-context-pinentry-mode): Define using cl-defstruct.
1030 (epg-context-set-protocol, epg-context-set-program)
1031 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
1032 (epg-context-set-digest-algorithm)
1033 (epg-context-set-sig-notations, epg-context-set-process)
1034 (epg-context-set-output-file, epg-context-set-result)
1035 (epg-context-set-operation, epg-context-set-pinentry-mode)
1036 (epg-context-set-compress-algorithm): Remove. Use setf instead.
1037 (epg-context-set-armor, epg-context-set-textmode)
1038 (epg-context-set-signers): Redefine using setf
1039 and declare as obsolete.
1040 (epg-context-set-passphrase-callback)
1041 (epg-context-set-progress-callback): Use setf.
1042 (epg-signature-notations): Rename from epg-sig-notations.
1043 (epg-make-signature, epg-signature-status, epg-signature-key-id)
1044 (epg-signature-validity, epg-signature-fingerprint)
1045 (epg-signature-creation-time, epg-signature-expiration-time)
1046 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
1047 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
1048 (epg-signature-set-status, epg-signature-set-key-id)
1049 (epg-signature-set-validity, epg-signature-set-fingerprint)
1050 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
1051 (epg-signature-set-pubkey-algorithm)
1052 (epg-signature-set-digest-algorithm, epg-signature-set-class)
1053 (epg-signature-set-version, epg-signature-set-notations): Remove.
1055 (epg-make-new-signature, epg-new-signature-type)
1056 (epg-new-signature-pubkey-algorithm)
1057 (epg-new-signature-digest-algorithm, epg-new-signature-class)
1058 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
1059 Define using cl-defstruct.
1060 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
1061 (epg-key-user-id-list): Define using cl-defstruct.
1062 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
1064 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
1065 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
1066 (epg-sub-key-id, epg-sub-key-creation-time)
1067 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
1069 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
1070 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
1071 (epg-user-id-signature-list): Define using cl-defstruct.
1072 (epg-user-id-set-signature-list): Remove. Use setf instead.
1073 (epg-make-key-signature, epg-key-signature-validity)
1074 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
1075 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
1076 (epg-key-signature-user-id, epg-key-signature-class)
1077 (epg-key-signature-exportable-p): Define using cl-defstruct.
1078 (epg-make-sig-notation, epg-sig-notation-name)
1079 (epg-sig-notation-value, epg-sig-notation-human-readable)
1080 (epg-sig-notation-critical): Define using cl-defstruct.
1081 (epg-sig-notation-set-value): Remove. Use setf instead.
1082 (epg-make-import-status, epg-import-status-fingerprint)
1083 (epg-import-status-reason, epg-import-status-new)
1084 (epg-import-status-user-id, epg-import-status-signature)
1085 (epg-import-status-sub-key, epg-import-status-secret): Define using
1087 (epg-make-import-result, epg-import-result-considered)
1088 (epg-import-result-no-user-id, epg-import-result-imported)
1089 (epg-import-result-imported-rsa, epg-import-result-unchanged)
1090 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
1091 (epg-import-result-new-signatures, epg-import-result-new-revocations)
1092 (epg-import-result-secret-read, epg-import-result-secret-imported)
1093 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
1094 (epg-import-result-imports): Define using cl-defstruct.
1096 * emacs-lisp/package.el: Require EPG during macroexpansion.
1097 (package--check-signature, package-import-keyring): Use setf instead of
1098 epg-context-set-home-directory.
1100 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1102 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
1104 2014-10-23 Leo Liu <sdl.web@gmail.com>
1106 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
1107 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
1108 (cfengine3-current-defun): New function.
1109 (cfengine3-mode): Set add-log-current-defun-function.
1111 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1113 * select.el: Use lexical-binding.
1114 (gui-set-selection): Provide an implementation for non-GUI frames
1116 * term/x-win.el: Use lexical-binding.
1117 (x-clipboard-yank): Fix up missed renamings.
1118 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
1119 (w32--set-selection): Fix up var names.
1120 * term/pc-win.el: Use lexical-binding.
1121 (w16-selection-exists-p): Silence compiler warning.
1122 (w16-selection-owner-p): Fix up missed renamings.
1124 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
1126 * frame.el (frame-notice-user-settings): Fix excessive quoting.
1128 2014-10-22 Tassilo Horn <tsdh@gnu.org>
1130 * doc-view.el (doc-view-open-text): View the document's plain text
1131 in the current buffer instead of a new one.
1132 (doc-view-toggle-display): Handle the case where the current
1133 buffer contains the plain text contents of the document.
1134 (doc-view-initiate-display): Don't switch to fallback mode if the
1135 user wants to view the doc's plain text.
1136 (doc-view-set-doc-type): Use assoc-string instead of
1139 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1141 * subr.el (read-key): Fix clicks on the mode-line.
1142 (set-transient-map): Return exit function.
1144 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
1145 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
1146 (mouse-yank-secondary): Use gui-get-selection.
1147 (mouse--down-1-maybe-follows-link): Use read-key.
1149 * xt-mouse.el: Add `event-kind' property on the fly from
1150 xterm-mouse-translate-1 rather than statically at the outset.
1152 2014-10-21 Daniel Colascione <dancol@dancol.org>
1154 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
1155 change window configuration when we turn it off.
1157 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1159 Get rid of backend-dependent selection-handling functions for kill/yank
1160 and make it generic instead by relying on the lower-level selection
1161 management functions.
1163 * select.el (select-enable-clipboard): Rename from
1164 gui-select-enable-clipboard.
1165 (select-enable-primary): Move from x-win.el and rename from
1166 x-select-enable-primary.
1167 (gui-last-selected-text): Remove.
1168 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
1170 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
1171 (gui-select-text-alist, gui-selection-value-alist): Remove.
1172 (x-select-request-type): Move from x-win.el.
1173 (gui--selection-value-internal): New function, taken from x-win's
1174 x-selection-value-internal.
1175 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
1176 (gui-set-selection-alist): Rename from gui-own-selection-alist and
1177 extend it to handle a nil value as a "disown" request.
1178 (gui-disown-selection-alist): Remove.
1179 (xselect-convert-to-delete): Adjust accordingly.
1180 (gui-set-selection): Simplify accordingly as well. Use dotimes.
1182 * term/x-win.el (x-last-selected-text-primary)
1183 (x-select-enable-primary): Remove (moved to select.el).
1184 (x-select-request-type): Move to select.el.
1185 (x-selection-value-internal, x--selection-value): Remove functions.
1186 (gui-selection-value, gui-select-text): Remove moethods.
1187 (gui-set-selection): Merge own and disown methods.
1189 * term/w32-win.el (w32--select-text, w32--get-selection-value):
1190 Delete function (move functionality into w32--set-selection and
1191 w32--get-selection).
1192 (gui-select-text, gui-selection-value): Don't define methods.
1193 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
1195 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
1197 (gui-selection-exists-p): Adjust to new name of C primitive.
1199 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
1200 test of gui-select-enable-clipboard, to make it usable as
1201 a gui-get-selection method.
1202 (gui-selection-exists-p): Adjust to new name of C primitive.
1203 (gui-set-selection): Merge own and disown methods.
1204 (gui-select-text, gui-selection-value): Delete methods.
1205 (w16--select-text): Delete function.
1207 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
1208 (ns-selection-value): Remove functions.
1209 (gui-select-text, gui-selection-value): Don't define method any more.
1210 (gui-set-selection): Merge the old own and disown methods.
1211 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
1212 underlying C primitive.
1214 * startup.el (command-line): Adjust now that `gui-method' expects nil
1217 * frame.el (gui-method): Use window-system rather than framep.
1218 (gui-method-declare): The tty case is now nil rather than t.
1219 (make-frame): Adjust accordingly.
1221 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1223 * net/newst-reader.el (newsticker--image-read): Simplify.
1224 (newsticker--icon-read): Use dolist and fix free var error.
1226 * imenu.el (imenu--menubar-keymap): New var.
1227 (imenu-add-to-menubar): Set it to remember the keymap we used.
1228 (imenu-update-menubar): Use it instead of asking lookup-key.
1230 * obsolete/cc-compat.el: Make obsolete (bug#18561).
1232 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
1234 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1237 2014-10-21 Glenn Morris <rgm@gnu.org>
1239 * Merge in all changes up to version 24.4 release.
1241 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1243 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
1246 2014-10-20 Glenn Morris <rgm@gnu.org>
1248 * Merge in all changes up to 24.4 release.
1250 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
1252 * net/newst-backend.el
1253 (newsticker--image-download-by-url-callback): Make this function
1254 actually work: Check status properly, then save image.
1256 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
1260 (mouse-drag-line): Unless there's no actual mouse, use the event's
1263 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * textmodes/css-mode.el (scss-mode): New major-mode.
1266 (css-mode-syntax-table): Use d style comment, to ease the scss case.
1267 (css-ident-re): Allow things like @-moz-keyframes.
1268 (scss--hash-re): New const.
1269 (css--font-lock-keywords): New function, extracted from
1270 css-font-lock-keywords.
1272 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
1274 * net/newst-backend.el: Require url-parse.
1275 (newsticker--get-news-by-wget): Store feed name as process property.
1276 (newsticker--sentinel): Read feed name from process property.
1277 (newsticker--sentinel-work): Rename argument name to feed-name.
1278 Rename variable imageurl to image-url. Pick icon url from Atom
1279 1.0 data. Launch download of feed icon.
1280 (newsticker--get-icon-url-atom-1.0): New.
1282 (newsticker--unxml-node)
1283 (newsticker--unxml-attribute): Documentation.
1284 (newsticker--icons-dir): New.
1285 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
1286 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
1287 (newsticker--image-download-by-wget): New. Use process properties
1288 for storing informations.
1289 (newsticker--image-sentinel): Read informations from process properties.
1290 (newsticker--image-save)
1291 (newsticker--image-remove)
1292 (newsticker--image-download-by-url)
1293 (newsticker--image-download-by-url-callback): New.
1294 (newsticker-opml-export): Handle url list entries containing a
1295 function instead of an url string.
1297 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
1298 (newsticker--print-extra-elements)
1299 (newsticker--do-print-extra-element):
1300 Documentation (newsticker--image-read): Optionally limit image height.
1301 Use imagemagick if possible.
1302 (newsticker--icon-read): New.
1304 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
1305 (newsticker--treeview-tree-expand): Use feed icons in treeview.
1306 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
1307 (newsticker--tree-widget-leaf-icon): Use feed icon.
1309 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
1312 Use help-function-arglist instead.
1314 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
1315 (eieio--with-scoped-class): Use `declare'.
1316 (eieio-defclass): Remove compatibility code.
1317 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
1318 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
1320 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
1322 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
1324 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
1325 replacements to stock names before stock names in a list.
1326 Cdr may be a list, each name is tried in turn until one is found.
1328 2014-10-18 Alan Mackenzie <acm@muc.de>
1330 Check that a "macro" found near point-min isn't a ## operator.
1332 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
1333 (c-beginning-of-macro): Use the above new function.
1335 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
1337 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
1338 correct data to `gnutls-boot' (Bug#18664).
1339 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
1341 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
1343 * whitespace.el (whitespace-style, whitespace-big-indent)
1344 (whitespace-big-indent-regexp, whitespace-style-value-list)
1345 (whitespace-toggle-option-alist, whitespace-interactive-char)
1346 (whitespace-toggle-options)
1347 (global-whitespace-toggle-options, whitespace-help-text)
1348 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
1349 style to `whitespace-mode' to indicate that the line indentation
1350 is too deep. By default, 32 SPACEs or four TABs are considered
1351 too many but `whitespace-big-indent-regexp' can be configured.
1353 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
1355 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
1358 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1360 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
1361 (defclass, defgeneric, defmethod): Add doc-string position.
1362 (with-slots): Require cl-lib.
1364 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
1365 (list-of): New type.
1366 (eieio--typep): Remove.
1367 (eieio-perform-slot-validation): Use cl-typep instead.
1369 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
1371 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
1373 2014-10-16 Alan Mackenzie <acm@muc.de>
1375 Trigger showing when point is in the "periphery" of a line or just
1377 * paren.el (show-paren-style, show-paren-delay)
1378 (show-paren-priority, show-paren-ring-bell-on-mismatch):
1379 Remove superfluous :group specifications.
1380 (show-paren-when-point-inside-paren)
1381 (show-paren-when-point-in-periphery): New customizable variables.
1382 (show-paren-highlight-openparen): Make into a defcustom.
1383 (show-paren--unescaped-p, show-paren--categorize-paren)
1384 (show-paren--locate-near-paren): New defuns.
1385 (show-paren--default): Refaactor and trigger on more paren
1387 (show-paren-function): Small consequential changes.
1389 2014-10-16 Tom Tromey <tom@tromey.com>
1391 * files.el (auto-mode-alist): Use javascript-mode for .jsm
1394 2014-10-16 Eli Zaretskii <eliz@gnu.org>
1396 * international/characters.el (bracket-type): Force pre-loading of
1399 2014-10-16 Alan Mackenzie <acm@muc.de>
1401 * cus-edit.el (custom-command-apply): Specify the return value in
1403 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
1404 custom-command-apply has returned non-nil.
1406 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
1409 Remove incorrect handling of eldoc-print-after-edit.
1410 (eldoc-message-commands, eldoc-last-data): Use defvar.
1411 * loadup.el (emacs-lisp/eldoc): Load it.
1413 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
1415 (m4--quoted-p): New function.
1416 (m4-font-lock-keywords): Don't handle #..\n comments any more.
1417 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
1418 for most special characters.
1420 * progmodes/compile.el (compilation--previous-directory): Simplify.
1421 (compilation-next-error): Ensure the parse before we look at
1422 compilation-message property.
1424 2014-10-15 Eli Zaretskii <eliz@gnu.org>
1426 * simple.el (what-cursor-position):
1427 * descr-text.el (describe-char): Update to support the new bidi
1430 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
1431 Force bidi-paragraph-direction to 'left-to-right'. This fixes
1432 buffer-menu display when the first buffer happens to start with
1435 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * progmodes/elisp-mode.el (elisp--local-variables-1):
1438 Handle quoted expressions (bug#18688).
1440 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
1441 Michael Albinus <michael.albinus@gmx.de>
1443 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1444 Reduce the amount of set environment variable commands.
1446 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1448 Fix import completion. (Bug#18582)
1449 * progmodes/python.el (python-shell-completion-get-completions):
1450 Fix import case regexp.
1452 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
1455 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
1456 * progmodes/prolog.el (prolog-electric--underscore): Same.
1458 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
1460 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
1462 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1464 * cus-start.el (all): Add missing ns and boolean to
1465 ns-use-fullscreen-animation.
1467 2014-10-11 Leo Liu <sdl.web@gmail.com>
1469 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
1471 (cfengine3-create-imenu-index): New function.
1472 (cfengine3-mode): Use it for `imenu-create-index-function'.
1473 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
1476 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
1478 * cus-start.el (all): Add ns-use-fullscreen-animation.
1480 2014-10-11 Glenn Morris <rgm@gnu.org>
1482 * calendar/diary-lib.el (diary-display-function):
1483 Drop support for deprecated nil and list forms.
1484 (diary-list-entries): Update for the above.
1485 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
1487 2014-10-10 Leo Liu <sdl.web@gmail.com>
1489 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
1492 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * select.el (gui-selection-exists-p-alist): New method.
1495 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
1496 * simple.el (deactivate-mark): Use it.
1497 * term/x-win.el (gui-selection-exists-p):
1498 * term/w32-win.el (gui-selection-exists-p):
1499 * term/pc-win.el (gui-selection-exists-p):
1500 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
1502 2014-10-10 Glenn Morris <rgm@gnu.org>
1504 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
1505 Fix :type. Allow t to mean no limit.
1506 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
1508 2014-10-09 Glenn Morris <rgm@gnu.org>
1510 * frame.el (display-monitor-attributes-list): Doc tweaks.
1512 2014-10-09 Eli Zaretskii <eliz@gnu.org>
1514 * faces.el (display-grayscale-p): Mention in the doc string that
1515 the argument can be either a display name or a frame.
1517 * frame.el (display-pixel-height, display-pixel-width)
1518 (display-mm-height, display-mm-width, display-backing-store)
1519 (display-save-under, display-planes, display-color-cells)
1520 (display-visual-class, display-monitor-attributes-list)
1521 (display-screens): Mention in the doc string that the argument can
1522 be either a display name or a frame. Improve the docs of the
1523 monitor attributes. (Bug#18636)
1525 2014-10-09 Martin Rudalics <rudalics@gmx.at>
1527 * term.el (term-window-width): Subtract 1 from the width when
1528 any fringe has zero width, not just the right fringe. (Bug#18601)
1530 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1532 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
1534 2014-10-08 Leo Liu <sdl.web@gmail.com>
1536 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
1538 2014-10-08 Glenn Morris <rgm@gnu.org>
1540 * calendar/cal-x.el (calendar-dedicate-diary):
1541 Drop support for recently deleted aliases.
1543 2014-10-08 Leo Liu <sdl.web@gmail.com>
1545 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
1546 Always return a syntax. Replace call-process-shell-command with
1547 process-file. Ensure cfengine-mode-syntax-functions-regex is
1548 always set. Ensure cache when cfengine-cf-promises fails.
1551 2014-10-07 Glenn Morris <rgm@gnu.org>
1553 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
1555 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
1557 Sync with upstream verilog-mode revision c075a492.
1558 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1559 (verilog-menu): Add AUTOINSERTLAST.
1560 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
1561 is nil, fix indenting initial/final to match always statements, bug825.
1562 Reported by Tim Clapp.
1563 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
1564 bug557. Reported by ZeDong Mao and Jason Forkey.
1565 (verilog-read-decls): Fix parsing typed interfaces.
1566 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
1567 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
1568 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
1569 Reported by Pierre-David Pfister.
1570 (verilog-auto-insert-lisp): Doc fix.
1571 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
1572 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
1573 (verilog-sk-ovm-class, verilog-sk-uvm-object)
1574 (verilog-sk-uvm-component): Fix missing string keyword in class
1575 skeletons, bug824. Reported by eldad faruhi.
1577 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * term/w32-win.el: Move all code from 32-common-fns.el here.
1580 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
1581 console as well (bug#18629).
1582 * w32-common-fns.el: Remove.
1583 * loadup.el: Don't load w32-common-fns.el.
1584 * w32-fns.elc: Don't require w32-common-fns.
1586 * icomplete.el: Move Iswitchb autoload here. Much simpler.
1587 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
1588 Remove redundant obsolescence thingy.
1589 * loadup.el: Don't load obsolete/loaddefs.el.
1590 * Makefile.in (obsolete-autoloads): Remove.
1591 (AUTOGENEL): Remove obsolete/loaddefs.el.
1593 2014-10-06 Glenn Morris <rgm@gnu.org>
1595 * Makefile.in (obsolete-autoloads): Write to a separate file,
1596 to workaround autoloads bug. (Bug#17407)
1597 (AUTOGENEL): Add obsolete/loaddefs.el.
1598 * loadup.el: Load obsolete/loaddefs.el if present.
1599 * subr.el (do-after-load-evaluation):
1600 Don't warn about obsolete/loaddefs.el.
1602 * menu-bar.el (menu-bar-games-menu): Remove landmark.
1603 It has zero relationship to a game.
1605 2014-10-06 Leo Liu <sdl.web@gmail.com>
1607 * imenu.el (imenu): Re-write for clarity.
1609 2014-10-06 Glenn Morris <rgm@gnu.org>
1611 Remove calendar code obsolete since at least version 23.1.
1612 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
1613 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
1614 (calendar-goto-bahai-date, list-bahai-diary-entries)
1615 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
1616 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
1617 (insert-yearly-bahai-diary-entry):
1618 * calendar/cal-china.el (chinese-calendar-time-zone)
1619 (chinese-calendar-location-name)
1620 (chinese-calendar-daylight-time-offset)
1621 (chinese-calendar-standard-time-zone-name)
1622 (chinese-calendar-daylight-time-zone-name)
1623 (chinese-calendar-daylight-savings-starts)
1624 (chinese-calendar-daylight-savings-ends)
1625 (chinese-calendar-daylight-savings-starts-time)
1626 (chinese-calendar-daylight-savings-ends-time)
1627 (chinese-calendar-celestial-stem)
1628 (chinese-calendar-terrestrial-branch)
1629 (calendar-absolute-from-chinese, calendar-print-chinese-date)
1630 (calendar-goto-chinese-date):
1631 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
1632 (calendar-print-coptic-date, coptic-prompt-for-date)
1633 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
1634 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
1635 * calendar/cal-french.el (calendar-absolute-from-french)
1636 (calendar-print-french-date, calendar-goto-french-date):
1637 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
1638 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
1639 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
1640 (holiday-rosh-hashanah-etc, holiday-hanukkah)
1641 (holiday-passover-etc, holiday-tisha-b-av-etc)
1642 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
1643 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
1644 (insert-monthly-hebrew-diary-entry)
1645 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
1646 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
1647 (diary-sabbath-candles):
1648 * calendar/cal-islam.el (calendar-absolute-from-islamic)
1649 (calendar-print-islamic-date, calendar-goto-islamic-date)
1650 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
1651 (mark-islamic-diary-entries, insert-islamic-diary-entry)
1652 (insert-monthly-islamic-diary-entry)
1653 (insert-yearly-islamic-diary-entry):
1654 * calendar/cal-iso.el (calendar-absolute-from-iso)
1655 (calendar-print-iso-date, calendar-iso-read-args)
1656 (calendar-goto-iso-date, calendar-goto-iso-week):
1657 * calendar/cal-julian.el (calendar-absolute-from-julian)
1658 (calendar-print-julian-date, calendar-goto-julian-date)
1659 (calendar-absolute-from-astro, calendar-print-astro-day-number)
1660 (calendar-goto-astro-day-number):
1661 * calendar/cal-mayan.el (calendar-print-mayan-date)
1662 (calendar-next-haab-date, calendar-previous-haab-date)
1663 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
1664 (calendar-next-calendar-round-date)
1665 (calendar-previous-calendar-round-date)
1666 (calendar-absolute-from-mayan-long-count)
1667 (calendar-goto-mayan-long-count-date):
1668 * calendar/cal-move.el (scroll-calendar-left)
1669 (scroll-calendar-right, scroll-calendar-left-three-months)
1670 (scroll-calendar-right-three-months):
1671 * calendar/cal-persia.el (calendar-absolute-from-persian)
1672 (calendar-print-persian-date, persian-prompt-for-date)
1673 (calendar-goto-persian-date):
1674 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
1675 * calendar/calendar.el (view-diary-entries-initially)
1676 (mark-diary-entries-in-calendar, calendar-today-face)
1677 (diary-face, holiday-face, view-calendar-holidays-initially)
1678 (mark-holidays-in-calendar, initial-calendar-window-hook)
1679 (today-visible-calendar-hook, today-invisible-calendar-hook)
1680 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
1681 (bahai-diary-entry-symbol, american-date-diary-pattern)
1682 (european-date-diary-pattern, european-calendar-display-form)
1683 (american-calendar-display-form, holidays-in-diary-buffer)
1684 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
1685 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
1686 (fancy-diary-buffer, increment-calendar-month)
1687 (extract-calendar-month, extract-calendar-day)
1688 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
1689 (mark-visible-calendar-date, calendar-version):
1690 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
1691 (diary-display-hook, list-diary-entries-hook)
1692 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
1693 (nongregorian-diary-marking-hook, print-diary-entries-hook)
1694 (abbreviated-calendar-year, number-of-diary-entries)
1695 (view-other-diary-entries, add-to-diary-list)
1696 (include-other-diary-files, simple-diary-display)
1697 (fancy-diary-display, print-diary-entries, mark-diary-entries)
1698 (mark-sexp-diary-entries, mark-included-diary-files)
1699 (mark-calendar-days-named, mark-calendar-month)
1700 (mark-calendar-date-pattern, sort-diary-entries)
1701 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
1702 (insert-weekly-diary-entry, insert-monthly-diary-entry)
1703 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
1704 (insert-block-diary-entry, insert-cyclic-diary-entry)
1705 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
1706 * calendar/holidays.el (general-holidays, oriental-holidays)
1707 (local-holidays, other-holidays, hebrew-holidays)
1708 (christian-holidays, islamic-holidays, bahai-holidays)
1709 (solar-holidays, list-calendar-holidays)
1710 (check-calendar-holidays, mark-calendar-holidays)
1711 (filter-visible-calendar-holidays):
1712 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
1713 (diary-phases-of-moon): Remove obsolete aliases.
1714 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
1715 * calendar/cal-x.el (calendar-one-frame-setup)
1716 (calendar-only-one-frame-setup, calendar-two-frame-setup):
1717 Remove obsolete functions.
1718 (cal-x-load-hook): Remove obsolete hook.
1719 * calendar/calendar.el (european-calendar-style):
1720 Remove obsolete variable.
1721 (calendar-date-style): No longer consult european-calendar-style.
1722 * calendar/calendar.el (european-calendar, american-calendar):
1723 Remove obsolete commands.
1724 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
1725 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
1726 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
1727 Use the face `diary' instead of the variable `diary-face'.
1728 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
1729 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
1730 * calendar/icalendar.el (icalendar--date-style): Remove function.
1731 Replace all uses with calendar-date-style.
1732 * textmodes/remember.el (calendar-date-style): Declare.
1733 (remember-diary-convert-entry):
1734 No longer consult european-calendar-style.
1736 2014-10-05 Leo Liu <sdl.web@gmail.com>
1738 * imenu.el (imenu-default-goto-function): Fix typo.
1740 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1742 * net/ntlm.el (ntlm-build-auth-request):
1743 Add NTLM2 Session support. (Bug#15603)
1745 2014-10-04 Glenn Morris <rgm@gnu.org>
1747 * apropos.el (apropos-symbols-internal):
1748 Avoid error with non-symbol properties. (Bug#18337#16)
1750 * startup.el (command-line):
1751 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
1753 2014-10-04 Martin Rudalics <rudalics@gmx.at>
1755 * window.el (window-full-height-p): Make it behave correctly for
1757 (window-current-scroll-bars): Fix code.
1758 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
1760 * frame.el (frame-current-scroll-bars): Fix doc-string.
1761 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
1763 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
1765 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
1767 2014-10-04 Glenn Morris <rgm@gnu.org>
1769 * frame.el (frame-monitor-attributes)
1770 (display-monitor-attributes-list): Doc fixes.
1772 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1774 Merge trivially safe differences from standalone CC-mode.
1775 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
1776 just to then pass it to `symbol-value'.
1777 (prog-mode): Provide fallback definition, if needed.
1778 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
1779 Remove "cl-" prefix accordingly.
1780 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
1781 characterp depending on the type of characters.
1782 (c-font-lock-enum-tail): Remove unused var `start'.
1783 * progmodes/cc-engine.el: Load CL at compile-time.
1784 (c-declare-lang-variables): Use mapcan.
1785 (c-append-to-state-cache): Remove unused var `ce+1'.
1786 (c-parse-state-state): Make buffer-local.
1787 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
1788 (c-just-after-func-arglist-p): Remove unused var `end'.
1789 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
1790 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
1791 (c-make-keywords-re): Use delete-dups.
1792 (c-get-current-file): Avoid file-name-base.
1793 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
1794 `close-paren-inserted'.
1795 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
1797 * progmodes/python.el: Avoid building unneeded markers.
1798 (python-font-lock-keywords, python-indent-dedent-line)
1799 (python-fill-paren, python-shell-completion-complete-or-indent):
1800 Prefer point over point-marker.
1801 (inferior-python-mode): Remove redundant completion settings.
1803 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
1805 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
1806 (vc-svn-ignore): Use it. (Bug#18619)
1808 2014-10-03 Martin Rudalics <rudalics@gmx.at>
1810 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1811 In doc-string mention need to set `frame-resize-pixelwise'.
1813 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1815 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
1816 similarly to Rogers's 2010-06-16 change for the remote case
1819 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1821 New gui-selection-value consolidating x-selection-value.
1822 * select.el (gui-selection-value-alist): New method.
1823 (gui-selection-value): New function.
1824 (x-selection-value): Make it an obsolete alias.
1825 * simple.el (interprogram-paste-function): Default to
1826 gui-selection-value.
1827 * w32-common-fns.el (w32-get-selection-value): Simplify.
1828 (x-selection-value): Remove alias.
1829 (interprogram-paste-function): Don't set.
1830 (gui-selection-value): Define for w32.
1831 * term/x-win.el (gui-selection-value): Define for x.
1832 (x--selection-value): Rename from x--selection-value.
1833 (interprogram-paste-function): Don't set.
1834 * term/pc-win.el (w16-get-selection-value): Simplify.
1835 (msdos-initialize-window-system): Don't set
1836 interprogram-paste-function.
1837 (gui-selection-value): Define for pc.
1838 * term/ns-win.el (x-selection-value): Remove.
1839 (gui-selection-value): Define for ns, instead.
1840 * term/common-win.el (x-setup-function-keys): Don't set
1841 interprogram-paste-function.
1842 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
1843 Use gui-selection-value.
1845 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
1847 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
1849 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * obsolete/lucid.el (read-number): Remove, redundant.
1852 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
1855 2014-10-02 Glenn Morris <rgm@gnu.org>
1857 * emacs-lisp/package.el (package-import-keyring):
1858 Create gnupg directory private. (Bug#17625#155)
1860 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1862 * progmodes/python.el (python-shell-completion-get-completions):
1863 Use python-shell--prompt-calculated-input-regexp from the
1864 process buffer (bug#18582).
1865 Don't assume that `line' comes from the process buffer.
1867 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * frame.el: Use lexical-binding (bug#18598).
1870 (make-frame): Use t rather than nil for tty's window-system.
1871 * startup.el (command-line): Use gui-method.
1873 Consolidate management/ownership of selections.
1874 * select.el (gui-get-selection-alist): New method.
1875 (gui-get-selection): Use it. Rename from x-get-selection.
1876 (x-get-selection): Define as obsolete alias.
1877 (x-get-clipboard): Mark obsolete.
1878 (gui-get-primary-selection): New function.
1879 (x-get-selection-value): Mark obsolete.
1880 (gui-own-selection-alist, gui-disown-selection-alist)
1881 (gui-selection-owner-p-alist): New methods.
1882 (gui-set-selection): Use them. Rename from x-set-selection.
1883 (x-set-selection): Define as obsolete alias.
1884 (gui--valid-simple-selection-p): Rename from
1885 x-valid-simple-selection-p.
1886 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
1887 (gui-selection-owner-p, gui-get-selection): Define for w32.
1888 (w32-get-selection-value): Rename from x-get-selection-value.
1889 Use the new gui-last-selected-text.
1890 * term/x-win.el (x-get-selection-value): Remove.
1891 (x-clipboard-yank): Declare obsolete.
1892 (gui-own-selection, gui-disown-selection, gui-get-selection)
1893 (gui-selection-owner-p): Define for x.
1894 * term/w32-win.el (w32-win-suspend-error): Rename from
1895 x-win-suspend-error.
1896 * term/pc-win.el (w16-get-selection-value): Rename from
1897 x-get-selection-value.
1898 (w16-selection-owner-p): Rename from x-selection-owner-p.
1899 (gui-own-selection, gui-disown-selection, gui-get-selection)
1900 (gui-selection-owner-p): Define for pc.
1901 (w16--select-text): New function.
1902 * term/ns-win.el (gui-own-selection, gui-disown-selection)
1903 (gui-get-selection, gui-selection-owner-p): Define for ns.
1904 * term.el (term-mouse-paste):
1905 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
1907 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
1909 * calc/calc-help.el (calc-describe-thing): Quote strings
1910 which could look like regexps.
1912 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1914 Consolidate x-select-text.
1915 * frame.el (gui-method, gui-method-define, gui-method-declare)
1916 (gui-call): New macros.
1917 (gui-method--name): New function.
1918 (frame-creation-function-alist): Use gui-method-declare.
1919 (make-frame): Use gui-method.
1920 * select.el (gui-select-enable-clipboard): Rename from
1921 x-select-enable-clipboard and move here.
1922 (x-select-enable-clipboard): Define as obsolete alias.
1923 (gui-last-selected-text): New var, to replace x-last-selected-text.
1924 (gui-select-text): New GUI method.
1925 (gui-select-text): New function.
1926 (x-select-text): Define as obsolete alias.
1927 * term/common-win.el (x-select-enable-clipboard, x-select-text):
1929 * simple.el (interprogram-cut-function): Change default to
1931 (interprogram-paste-function): Change default to `ignore'.
1932 * w32-common-fns.el (interprogram-cut-function): Don't modify.
1933 * term/x-win.el (interprogram-cut-function): Don't modify.
1934 (gui-select-text): Add method for x.
1935 * term/w32-win.el (gui-select-text): Add method for w32.
1936 * term/pc-win.el (x-last-selected-text): Remove, use
1937 gui-last-selected-text instead.
1938 (msdos-initialize-window-system): Don't set interprogram-cut-function.
1939 (gui-select-text): Add method for pc.
1940 * term/ns-win.el (ns-last-selected-text): Remove, use
1941 gui-last-selected-text instead.
1942 (gui-select-text): Add method for ns.
1943 (x-setup-function-keys): Don't change interprogram-cut-function.
1944 * loadup.el ("startup"): Load after "frame".
1945 * subr.el (package--builtin-versions, package--description-file):
1946 Move from startup.el.
1947 * startup.el (package--builtin-versions, package--description-file):
1949 (handle-args-function-alist, window-system-initialization-alist):
1950 Use gui-method-declare.
1951 (command-line): Use gui-method.
1953 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * subr.el (alist-get): New accessor.
1956 * emacs-lisp/gv.el (alist-get): Provide expander.
1957 * winner.el (winner-remember):
1958 * tempo.el (tempo-use-tag-list):
1959 * progmodes/gud.el (minor-mode-map-alist):
1960 * international/mule-cmds.el (define-char-code-property):
1961 * frameset.el (frameset-filter-params):
1962 * files.el (dir-locals-set-class-variables):
1963 * register.el (get-register, set-register):
1964 * calc/calc-yank.el (calc-set-register): Use it.
1965 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
1966 * tooltip.el (tooltip-set-param): Mark as obsolete.
1967 (tooltip-show): Use alist-get instead.
1968 * ses.el (ses--alist-get): Remove. Use alist-get instead.
1970 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
1972 * net/newst-backend.el: Remove Time-stamp. Rename variable
1973 `newsticker--download-logos' to `newsticker-download-logos' and
1974 make it customizable.
1975 (newsticker--sentinel-work): Move xml-workarounds to function
1976 `newsticker--do-xml-workarounds', call unless libxml-parser is
1977 used. Allow single quote in regexp for encoding.
1978 Use libxml-parser if available, else fall back to `xml-parse-region'.
1979 Take care of possibly missing namespace prefixes (like "RDF"
1980 instead of "rdf:RDF") when checking xml nodes and attributes (as
1981 libxml correctly removes the prefixes). Always use Atom 1.0 as
1982 fallback feed type. Rename `newsticker--download-logos' to
1983 `newsticker-download-logos'
1984 (newsticker--unxml, newsticker--unxml-node)
1985 (newsticker--unxml-attribute): New.
1986 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
1987 HTML code has become part of the xml parse tree.
1988 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
1989 of possibly missing namespace prefixes.
1990 (newsticker--parse-generic-items): Code formatting. Typo.
1991 (newsticker--images-dir): Add trailing slash.
1992 (newsticker--image-get): Fix error message.
1994 * net/newst-plainview.el: Remove Time-stamp.
1996 * net/newst-reader.el: Remove Time-stamp.
1997 (newsticker-download-logos): Rename variable
1998 `newsticker--download-logos' to `newsticker-download-logos' and
1999 make it customizable.
2000 (newsticker--print-extra-elements): Add optional parameter
2001 'htmlish for using html markup. Amend list of ignored elements.
2002 (newsticker--do-print-extra-element): Add parameter 'htmlish for
2005 * net/newst-ticker.el: Remove Time-stamp.
2007 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
2008 for formatting extra elements.
2010 * net/newsticker.el: Remove Time-stamp, Version.
2011 (newsticker-version): Make obsolete.
2013 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2015 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
2018 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * emacs-lisp/package.el (package-check-signature): Default to nil if
2021 GPG is not available.
2022 (package-refresh-contents): Don't mess with the keyring if we won't
2023 check the signatures anyway.
2025 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
2028 (ses-center, ses-center-span): Use them.
2029 (ses-print-cell): Bind them while calling the printer.
2030 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
2031 (ses-dorange): Revert last change.
2032 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
2034 (ses-set-cell): Avoid `eval'.
2035 (ses--time-check): Rename it from ses-time-check and turn it into
2038 * ses.el (ses-setup): Don't assume modifying the iteration var of
2039 dotimes affects the iteration (bug#18191).
2041 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2043 * ses.el (ses-calculate-cell): Bind row and col dynamically to
2044 their values with 'cl-progv'.
2045 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
2046 their values with 'cl-progv', also use non-interned symbols for
2047 row, minrow, maxrow, mincol and maxcol.
2048 (maxrow maxcol): New defvar, to make the compiler happy.
2050 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
2053 completion functions.
2055 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * ses.el (ses--letref): Quote value before it gets re-evaluated.
2059 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
2061 Font-lock `cl-flet*', too.
2062 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
2063 Add "flet*" to intermediate var `cl-lib-kw'.
2065 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * epg-config.el (epg-gpg-program): Use the plain program names rather
2068 than their absolute file name.
2070 * subr.el (track-mouse): New macro.
2071 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2072 Remove track-mouse case.
2073 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
2075 2014-09-27 Leo Liu <sdl.web@gmail.com>
2077 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
2079 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
2081 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2083 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
2084 Handle the case where `match' is :pcase--succeed or :pcase--fail
2087 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
2088 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
2089 (eldoc-schedule-timer): Obey it.
2090 (eldoc-documentation-function): Default to nil.
2091 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
2092 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
2093 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
2094 (eldoc-last-data-store, eldoc-docstring-first-line)
2095 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
2096 (eldoc-beginning-of-sexp, eldoc-current-symbol)
2097 (eldoc-function-argstring): Move to elisp-mode.el.
2098 (eldoc-symbol-function): Remove, unused.
2099 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
2100 (elisp-completion-at-point): Rename from lisp-completion-at-point.
2101 (elisp--preceding-sexp): Rename from preceding-sexp.
2102 * loadup.el: Load new file progmodes/elisp-mode.
2103 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
2104 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
2105 (lisp--local-variables-completion-table, lisp--expect-function-p)
2106 (lisp--form-quoted-p, lisp--company-doc-buffer)
2107 (lisp--company-doc-string, lisp--company-location)
2108 (lisp-completion-at-point): Move to elisp-mode.el.
2109 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
2110 extracted from emacs-lisp-mode-syntax-table.
2111 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
2113 (lisp-imenu-generic-expression): Add comments to document what comes
2114 from which Lisp dialect.
2115 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
2116 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
2117 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
2118 (emacs-lisp-byte-code-comment)
2119 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
2120 (lisp-interaction-mode-map, lisp-interaction-mode)
2121 (eval-print-last-sexp, last-sexp-setup-props)
2122 (last-sexp-toggle-display, prin1-char, preceding-sexp)
2123 (eval-last-sexp-1, eval-last-sexp-print-value)
2124 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
2125 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
2127 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
2129 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
2130 Do not match file names that end in '/', as they cannot be 'grep'
2131 hits nowadays. This prevents confusion when 'grep -r' reports a
2132 match in a file whose basename is ':12345:'. Conversely, do not
2133 require exactly the same sequence of spaces and tabs after both
2134 colons, and allow spaces or tabs before the second colon, as per
2135 the POSIX spec for 'grep' output.
2137 2014-09-26 Leo Liu <sdl.web@gmail.com>
2139 Add cl-parse-integer based on parse-integer (Bug#18557)
2140 * calendar/parse-time.el (parse-time-digits): Remove.
2141 (digit-char-p, parse-integer) Moved to cl-lib.el.
2142 (parse-time-tokenize, parse-time-rules, parse-time-string):
2143 Use cl-parse-integer.
2145 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
2147 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
2148 (cl-digit-char-p): New function.
2150 2014-09-25 Juri Linkov <juri@jurta.org>
2152 * vc/add-log.el (change-log-next-buffer): Don't create an empty
2153 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
2154 Return the current buffer if no files match the default pattern
2155 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
2157 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
2160 the global vc-handled-backends (bug#18535).
2162 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
2164 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
2165 Suggested by <lompik@voila.fr>.
2167 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
2169 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
2170 Rename from `newsticker--treeview-do-get-node'.
2171 (newsticker--treeview-get-node-by-id):
2172 Rename from `newsticker--treeview-get-node'.
2173 (newsticker--treeview-buffer-init)
2174 (newsticker--treeview-buffer-init): Disable buffer undo.
2175 (newsticker--treeview-unfold-node): Adapt to modified
2176 `newsticker--group-find-parent-group'.
2177 (newsticker--group-do-find-group):
2178 Rename from `newsticker--group-do-find-group-for-feed'.
2179 Now works for both, groups and feeds.
2180 (newsticker--group-find-parent-group):
2181 Rename from `newsticker--group-find-group-for-feed'.
2182 Now works for both, groups and feeds.
2183 (newsticker--group-do-get-parent-group)
2184 (newsticker--group-get-parent-group): Remove.
2185 (newsticker-group-add-group): Change interactive prompts.
2186 (newsticker-group-add-group): Finally jump to added group.
2187 (newsticker-group-delete-group): Finally jump to current feed.
2188 (newsticker--group-do-rename-group, newsticker-group-rename-group)
2189 (newsticker--get-group-names, newsticker--group-names): New.
2190 (newsticker-group-move-feed): Finally jump to moved feed.
2191 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
2192 (newsticker-group-shift-group-down)
2193 (newsticker-group-shift-group-up, newsticker--group-shift): New.
2194 (newsticker-treeview-mode-map): New keybindings for new shift commands.
2196 * net/newst-backend.el (newsticker--item-list)
2197 (newsticker--item-position, newsticker--prev-message)
2198 (newsticker--scrollable-text): Move to newst-ticker.el.
2200 * net/newst-ticker.el (newsticker--item-list)
2201 (newsticker--item-position, newsticker--prev-message)
2202 (newsticker--scrollable-text): Move from newst-backend.el.
2204 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
2206 * window.el (fit-window-to-buffer): When counting buffer width,
2207 count the whole visible buffer. Correctly convert the body-height
2208 to pixel size for window-text-pixel-size (Bug#18498).
2210 2014-09-22 Sam Steingold <sds@gnu.org>
2212 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
2213 (sql-execute): Use `special-mode'.
2215 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2217 Add pcase-defmacro, as well as `quote' and `app' patterns.
2218 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
2219 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
2220 (pcase--funcall, pcase--eval): New functions.
2221 (pcase--u1): Use them for guard, pred, let, and app.
2222 (\`): Use the new feature to generate better code for vector patterns.
2223 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
2224 (pcase--upat): Remove.
2225 (pcase--macroexpand): Don't hardcode handling of `.
2226 (pcase--split-consp, pcase--split-vector): Remove.
2227 (pcase--split-equal): Disregard ` since it's expanded away.
2228 (pcase--split-member): Optimize for quote rather than for `.
2229 (pcase--split-pred): Optimize for quote rather than for `.
2230 (pcase--u1): Remove handling of ` (and of `or' and `and').
2231 Quote non-selfquoting values when passing them to `eq'.
2232 Drop `app's let-binding if the variable is not used.
2233 (pcase--q1): Remove.
2234 (`): Define as a pattern macro.
2235 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
2236 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
2237 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
2239 (pcase--split-match): Don't hoist or/and here any more.
2240 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
2241 (pcase--flip): New helper macro.
2242 (pcase--u1): Optimize the memq case directly.
2243 Don't handle neither self-quoting nor and/or patterns any more.
2244 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
2245 (pcase--macroexpand): New function.
2246 (pcase--expand): Use it.
2247 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
2248 New optimization functions.
2249 (pcase--u1): Add support for `quote' and `app'.
2250 (pcase): Document them in the docstring.
2252 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2254 Use lexical-bindin in Ibuffer.
2255 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
2256 (ibuffer-compile-format): Simplify.
2257 (ibuffer-clear-summary-columns): Simplify.
2258 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
2259 elem of dotimes when we don't refer to the iteration var from it.
2260 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
2261 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
2262 Silence byte-compiler.
2264 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
2267 expression for a list.
2269 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
2270 for functions with no arguments.
2272 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
2273 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
2275 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
2277 * simple.el (clone-indirect-buffer): Mention the return value
2280 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
2281 Text mode in docstring (bug#18464).
2283 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2286 Accept underscores in identifiers after "sub" (bug#18502).
2288 2014-09-21 Tassilo Horn <tsdh@gnu.org>
2290 * textmodes/reftex-sel.el (reftex-select-label-mode)
2291 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
2292 from special-mode (instead of fundamental-mode) and propertize
2293 with font-lock-face instead of just face. (Bug#18496)
2295 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
2297 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2299 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
2300 `table-etc' when `end' is non-nil.
2301 (lisp-completion-at-point): Move `end' back if it's after quote.
2302 If in comment or string, only complete when after backquote.
2304 (lisp-completion-at-point): Don't use
2305 `lisp--local-variables-completion-table' in the
2306 `lisp--form-quoted-p' case.
2308 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
2310 * emacs-lisp/lisp.el (lisp--expect-function-p)
2311 (lisp--form-quoted-p): New functions.
2312 (lisp-completion-at-point): Use them to see if we're completing a
2313 variable reference, a function name, or just any symbol.
2314 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
2316 2014-09-18 Ivan Kanis <ivan@kanis.fr>
2318 * net/shr.el, net/eww.el: Don't override `shr-width', but
2319 introduce a new variable `shr-internal-width'. This allows users
2320 to specify a width themselves.
2322 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2324 * image-mode.el (image-toggle-display-image): If we have a
2325 `fit-width' or a `fit-height', don't limit the size of the image
2326 to the window size, because that doesn't preserve the aspect ratio.
2327 * image-mode.el: Move defvars earlier to avoid a byte-compilation
2330 2014-09-17 Reuben Thomas <rrt@sc3d.org>
2332 * progmodes/js.el: Add interpreter-mode-alist support for various
2333 JavaScript interpreters.
2335 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
2337 Don't assume 'grep' supports GREP_OPTIONS.
2338 The GREP_OPTIONS environment variable is planned to be marked
2339 obsolescent in GNU grep, due to problems in its use, so stop
2341 * progmodes/grep.el (grep-highlight-matches): Document this.
2342 (grep-process-setup): Do not set GREP_OPTIONS.
2343 (grep-compute-defaults): Use an explicit --color option if supported.
2345 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
2348 Don't add outdated key-shortcut cache (bug#18482).
2350 2014-09-15 Glenn Morris <rgm@gnu.org>
2352 * image.el (image-multi-frame-p): Fix thinko - do not force
2353 a delay if none was specified. (Bug#18334)
2355 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
2357 * window.el (fit-window-to-buffer): Doc fix.
2359 2014-09-15 Ivan Shmakov <ivan@siamics.net>
2361 * desktop.el (desktop-create-buffer): Check that buffers are still live
2362 before burying them (bug#18373).
2364 2014-09-15 Glenn Morris <rgm@gnu.org>
2366 * calendar/diary-lib.el (diary-list-entries):
2367 Restore 24.3 display behavior. (Bug#18381)
2369 2014-09-15 Eli Zaretskii <eliz@gnu.org>
2371 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
2372 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
2373 discrepancy between window-pixel-edges and mouse events, and
2374 avoids moving mode line up when the mouse click is on the modeline
2375 and no drag is attempted.
2377 2014-09-14 Daniel Colascione <dancol@dancol.org>
2379 * register.el (insert-register): Change default interactive
2382 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
2384 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
2385 Suppress debug messages.
2387 * net/tramp.el (tramp-file-name-handler):
2388 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
2391 2014-09-13 Christopher Schmidt <ch@ristopher.com>
2393 * calendar/calendar.el (calendar-update-mode-line):
2394 Do not overwrite mode-line-format if calendar-mode-line-format is
2397 2014-09-13 Leo Liu <sdl.web@gmail.com>
2399 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
2400 (pcase--expand): Use it.
2401 (pcase-exhaustive): New macro. (Bug#16567)
2403 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2404 Add pcase-exhaustive.
2406 2014-09-13 Eli Zaretskii <eliz@gnu.org>
2408 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
2409 using the specified transfer-encoding, if any, or 'undecided'.
2410 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
2411 broken at the window margin.
2413 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
2415 Support rendering of HTML parts in Rmail (bug#4258).
2416 * mail/rmailmm.el (rmail-mime-process): Handle text/html
2417 separately from other text/ types. Suppress tagline for
2419 (rmail-mime-parse): Don't change visibility of tagline here.
2420 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
2421 Handle text/html specially.
2422 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
2423 (rmail-mime-insert-html, rmail-mime-render-html-shr)
2424 (rmail-mime-render-html-lynx): New functions.
2425 (rmail-mime-fix-inserted-faces): New function.
2426 (rmail-mime-process-multipart): Find the best part to show
2427 following rmail-mime-prefer-html if set.
2428 (rmail-mime-searching): New variable.
2429 (rmail-search-mime-message): Bind rmail-mime-searching to
2430 suppress rendering while searching.
2432 2014-09-12 Sam Steingold <sds@gnu.org>
2434 * progmodes/sql.el (sql-product-alist): Add vertica.
2435 (sql-vertica-program, sql-vertica-options)
2436 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
2437 New functions and variables to support Vertica.
2438 Inspired by code by Roman Scherer <roman@burningswell.com>.
2440 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
2442 * ses.el (ses-file-format-extend-parameter-list): Rename from
2443 ses-file-format-extend-paramter-list, to correct a misspelling.
2446 2014-09-10 Alan Mackenzie <acm@muc.de>
2448 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
2449 gets loaded at run-time).
2450 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
2451 c-lang-const to c-make-no-parens-syntax-table and correct the
2453 (c-no-parens-syntax-table): Correct the logic of the
2456 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2458 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
2460 * progmodes/cc-mode.el (c-basic-common-init):
2461 Set open-paren-in-column-0-is-defun-start.
2462 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
2463 Remove declarations, unused.
2464 (run-mode-hooks): Remove declaration.
2465 (font-lock-defaults): Use plain `defvar' to declare.
2466 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
2467 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
2468 (c-make-mode-syntax-table): Don't micro-optimize.
2469 (c-keywords, c-keyword-member-alist): Simplify.
2470 (c-kwds-lang-consts): Don't eval at compile-time.
2471 (c-primary-expr-regexp): Comment out unused vars.
2472 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
2473 (c-font-byte-compile): New var.
2474 (c--compile): New function. Use it instead of `byte-compile'.
2475 (c-cpp-matchers): Quote the value returned by
2476 `c-make-syntactic-matcher' in case it's not self-evaluating.
2477 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
2478 parentheses instead (in case MATCHER happens to be a list).
2479 (c-font-lock-enum-tail): Remove unused var `start'.
2480 (c-font-lock-objc-methods): Silence byte-compiler warnings.
2481 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
2482 test into an argument.
2483 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
2484 (c-get-char-property): Don't use `eval' just to unquote a constant.
2485 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
2487 (c-put-char-property-fun): Don't call `byte-compile' by hand.
2488 (c-clear-char-property, c-clear-char-properties): Check that `property'
2489 is a quoted constant.
2490 (c-emacs-features): Remove `infodock', `syntax-properties', and
2491 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
2492 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
2493 changing buffer, so we don't have to setq them again afterwards.
2494 (c-lang-const): Remove redundant symbolp assertions.
2495 (c-find-assignment-for-mode): Use `or'.
2496 * Makefile.in (compile-one-process): Remove cc-mode dependency.
2498 2014-09-09 Sam Steingold <sds@gnu.org>
2500 * progmodes/sql.el (sql-default-directory): Fix type annotation.
2502 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2504 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
2505 Change doc comments into docstrings.
2506 * Makefile.in: Remove cc-awk dependency.
2508 2014-09-08 Sam Steingold <sds@gnu.org>
2510 * progmodes/sql.el (sql-send-line-and-next): New command,
2512 (sql-show-sqli-buffer): Display the buffer instead of its name and
2513 bind the command to C-c C-z.
2514 (sql-default-directory): New user option.
2515 (sql-product-interactive): Bind `default-directory' to it to
2516 enable remote connections using Tramp.
2517 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
2518 suitable buffer is available.
2520 2014-09-08 Glenn Morris <rgm@gnu.org>
2522 * calendar/calendar.el (calendar-basic-setup):
2523 Fix calendar-view-holidays-initially-flag and fancy display.
2524 * calendar/diary-lib.el (diary-live-p): Doc fix.
2526 * calendar/calendar.el (calendar-basic-setup):
2527 Avoid clobbering calendar with diary. (Bug#18381)
2529 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2533 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
2535 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
2536 as well (bug#18400).
2538 2014-09-08 Eli Zaretskii <eliz@gnu.org>
2540 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
2542 2014-09-06 Leo Liu <sdl.web@gmail.com>
2544 * emacs-lisp/pcase.el (pcase): Doc fix.
2545 (pcase--split-vector): New function.
2546 (pcase--q1): Support vector qpattern. (Bug#18327)
2548 2014-09-05 Sam Steingold <sds@gnu.org>
2550 * textmodes/tex-mode.el (tex-print-file-extension): New user
2552 (tex-print): Use it instead of the hard-coded string.
2554 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
2556 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2557 Expand `default-directory'.
2559 2014-09-05 Martin Rudalics <rudalics@gmx.at>
2561 * scroll-bar.el (horizontal-scroll-bars-available-p):
2563 (horizontal-scroll-bar-mode): Rewrite using
2564 horizontal-scroll-bars-available-p.
2565 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
2566 horizontal-scroll-bars-available-p.
2568 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2570 * subr.el (call-process-shell-command, process-file-shell-command):
2571 Make the `args' obsolete (bug#18409).
2572 (start-process-shell-command, start-file-process-shell-command):
2575 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
2577 * calc/calc-forms.el (math-normalize-hms): Do a better check for
2578 "negative" hms forms.
2580 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
2582 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
2583 returns nil (bug#18391).
2585 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
2588 terminating paren (bug#18352).
2589 (eldoc-last-data-store): Return cached data.
2590 (eldoc-get-var-docstring): Avoid setq.
2591 (eldoc-get-fnsym-args-string): Clarify data flow.
2593 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2595 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
2596 case where we're currently providing part of the &rest arg after some
2597 &key args, as in define-ibuffer-op (bug#18048).
2599 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2601 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
2602 buffer-local setting of which-func-mode.
2603 (which-func-mode): Use defvar-local.
2604 (which-function-mode): Don't reset which-func-mode in each buffer since
2605 it might have been set by someone else.
2606 (which-func-update-ediff-windows): Check which-function-mode.
2608 2014-09-03 Martin Rudalics <rudalics@gmx.at>
2610 * frame.el (frame-initialize): Remove horizontal-scroll-bars
2611 from frame-initial-frame-alist.
2612 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
2613 (horizontal-scroll-bar-mode-explicit)
2614 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
2615 (toggle-horizontal-scroll-bar): Remove.
2616 (horizontal-scroll-bar-mode): Remove defcustom.
2617 (horizontal-scroll-bar-mode): Fix doc-string.
2618 (scroll-bar-toolkit-scroll)
2619 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
2621 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * emacs-lisp/package.el (package-generate-description-file):
2624 Properly quote the arguments (bug#18332). Change second arg.
2625 (package--alist-to-plist-args): Rename from package--alist-to-plist and
2627 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
2628 the *-pkg.el file. Adjust to new calling convention of
2629 package-generate-description-file.
2631 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
2632 (gud-gdb-completions): Remove obsolete workaround.
2634 2014-09-03 Eli Zaretskii <eliz@gnu.org>
2636 * subr.el (posn-col-row): Revert the change from commit
2637 2010-11-13T21:07:58Z!eliz@gnu.org, which
2638 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
2639 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
2640 introduced an off-by-one error in the reported row when there is a
2641 header line. (Bug#18384)
2643 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
2645 * progmodes/python.el (python-indent-post-self-insert-function):
2646 Avoid electric colon at beginning-of-defun. (Bug#18228)
2648 2014-09-03 Glenn Morris <rgm@gnu.org>
2650 * tutorial.el (tutorial--display-changes):
2651 Fix 2014-08-01 change. (Bug#18382)
2653 2014-09-03 Ken Brown <kbrown@cornell.edu>
2655 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
2656 the Cygwin-w32 build. (Bug#18347)
2658 2014-09-03 Glenn Morris <rgm@gnu.org>
2660 * tar-mode.el (tar--extract, tar-extract):
2661 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
2663 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
2666 handle multiline elements (bug#18380).
2668 2014-09-01 Eli Zaretskii <eliz@gnu.org>
2670 * ls-lisp.el (ls-lisp-use-string-collate)
2671 (ls-lisp-UCA-like-collation): New defcustoms.
2672 (ls-lisp-string-lessp): Use them to control sorting by file
2674 (ls-lisp-version-lessp): New function.
2675 (ls-lisp-handle-switches): Use it to implement the -v switch of
2677 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
2679 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
2681 * ibuffer.el: Replace mode-specific quit function with
2682 `quit-window' via `special-mode'.
2683 (ibuffer-mode-map): Use keybindings from special-mode-map instead
2685 (ibuffer): Don't store previous windows configuration.
2686 Let `quit-window' handle restoring.
2687 (ibuffer-quit): Remove function. Use `quit-window' instead.
2688 (ibuffer-restore-window-config-on-quit): Remove variable.
2689 (ibuffer-prev-window-config): Remove variable.
2691 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
2693 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
2694 name instead of variable name in hook docstring. (Bug#18349)
2696 2014-08-29 Martin Rudalics <rudalics@gmx.at>
2698 * window.el (display-buffer-at-bottom): Prefer bottom-left
2699 window to other bottom windows. Reuse a bottom window if it
2700 shows the buffer already. Suggested by Juri Linkov
2701 <juri@jurta.org> in discussion of (Bug#18181).
2703 2014-08-29 Leo Liu <sdl.web@gmail.com>
2705 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
2706 append to minibuffer-setup-hook. (Bug#18341)
2708 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2710 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
2712 (lookup-syntax-properties): Silence byte-compiler.
2713 (c-lang-defconst): Quote the code with `lambda' rather than with
2715 (c-lang-const): Avoid unneeded setq.
2716 (c-lang-constants-under-evaluation): Add docstring.
2717 (c-lang--novalue): New constant.
2718 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
2719 (c-get-lang-constant): Same here.
2720 Get the mode's value using `funcall' now that the code is quoted
2723 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
2725 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
2728 2014-08-28 Martin Rudalics <rudalics@gmx.at>
2730 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
2731 interpretation of `portion-whole'.
2733 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
2735 * net/tramp-adb.el: Spell author name correctly.
2737 2014-08-28 João Távora <joaotavora@gmail.com>
2739 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
2740 use url-expand-file-name. (Bug#18310)
2742 2014-08-28 Glenn Morris <rgm@gnu.org>
2744 * emulation/cua-rect.el (cua--highlight-rectangle):
2745 Avoid error at point-min. (Bug#18309)
2747 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2749 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
2750 executable-find (bug#18244).
2752 * simple.el (self-insert-uses-region-functions): Defvar.
2754 2014-08-28 Glenn Morris <rgm@gnu.org>
2756 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
2758 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
2760 * startup.el (normal-top-level): Now use internal--top-level-message.
2762 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
2764 * startup.el (normal-top-level): Use top-level-message.
2766 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2768 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
2769 URLs containing spaces and the like.
2771 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2773 * subr.el (remq): Fix docstring (Bug#18253).
2775 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
2777 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
2779 2014-08-24 Alan Mackenzie <acm@muc.de>
2781 Handle C++11's "auto" and "decltype" constructions.
2782 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
2783 and return 'decltype.
2784 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
2785 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
2787 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
2789 (c-font-lock-c++-new): Handle "decltype" constructions.
2790 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
2791 New c-lang-defconsts/defvars.
2792 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
2793 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
2794 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
2795 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
2797 Make ">>" act as double template ender in C++ Mode. Fix
2799 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
2800 off from c->-op-cont-re.
2801 (c->-op-cont-tokens): Change to use the above.
2802 (c->-op-without->-cont-regexp): New lang-const.
2803 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
2804 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
2807 2014-08-23 Alan Mackenzie <acm@muc.de>
2809 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
2810 loop, bug #18306. The bug was introduced on 2014-08-02.
2812 2014-08-21 Eli Zaretskii <eliz@gnu.org>
2814 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
2815 Don't recognize a Top node if there are other sectioning commands
2816 earlier in the Texinfo file. This fixes a bug in
2817 texinfo-make-menu and avoids inflooping in
2818 texinfo-all-menus-update when they are invoked on texinfo.texi.
2820 2014-08-21 Martin Rudalics <rudalics@gmx.at>
2822 * window.el (window--side-window-p): New function.
2823 (split-window, window-splittable-p): Use window--side-window-p to
2824 determine whether WINDOW can be split (Bug#18304).
2825 * calendar/calendar.el (calendar-basic-setup): Fix one call of
2826 `window-splittable-p' and add another (Bug#18304).
2828 2014-08-20 Sam Steingold <sds@gnu.org>
2830 * progmodes/python.el (python-new-pythonpath): Extract from
2831 `python-shell-calculate-process-environment'.
2833 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2835 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
2836 for &key args (bug#18048).
2838 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2840 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
2841 (eldoc-function-argstring-format): Remove.
2842 (eldoc-function-argstring): Always return upcase args.
2843 Use help-make-usage. Don't add parens.
2844 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
2845 it's too late to do it right (bug#18048).
2847 2014-08-18 Eli Zaretskii <eliz@gnu.org>
2849 * scroll-bar.el (scroll-bar-horizontal-drag-1)
2850 (scroll-bar-toolkit-horizontal-scroll): When determining the
2851 paragraph direction, use the buffer of the window designated in
2854 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
2856 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
2857 context of unified diff.
2859 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
2861 Add dependencies to fix loaddefs race during parallel builds.
2862 Without this, for example, 'make -j bootstrap' can fail and report
2863 "Opening input file: no such file or directory,
2864 .../lisp/calendar/diary-loaddefs.el ... recipe for target
2865 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
2866 got confused because diary-loaddefs.el was being built in parallel.
2867 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
2868 Depend on $(CAL_DIR)/cal-loaddefs.el.
2869 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
2871 2014-08-16 Martin Rudalics <rudalics@gmx.at>
2873 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
2874 portion-whole for scrolling right-to-left text.
2876 2014-08-15 Leo Liu <sdl.web@gmail.com>
2878 * speedbar.el (speedbar-generic-list-tag-p): Allow special
2879 elements from imenu.
2881 2014-08-15 Glenn Morris <rgm@gnu.org>
2883 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
2885 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
2887 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2888 Add Guile regexpses.
2890 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
2892 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
2893 add Guile debugger support for GUD.
2895 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2897 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
2898 (mouse-sel--ignore): New function.
2899 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
2900 (mouse-sel-original-interprogram-cut-function)
2901 (mouse-sel-original-interprogram-paste-function): Remove.
2903 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
2905 * vc/vc-git.el (vc-git-resolve-when-done): New function.
2906 Call "git add" when there are no longer conflict markers.
2908 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2910 * vc/vc-git.el (vc-git-find-file-hook): New function.
2911 Adds support for calling smerge (and resolve) on a conflicted file.
2912 (vc-git-conflicted-files): New function.
2913 Useful in itself and a step towards better smerge support.
2915 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2917 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
2918 to the first part if they're the same as the selection.
2920 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2922 * image-mode.el (image-transform-reset): New command and menu item.
2923 (image-mode-map): Rearrange the menu items to put presumably more
2924 obscure items at the end.
2926 2014-08-12 Juri Linkov <juri@jurta.org>
2928 * vc/vc-annotate.el (vc-annotate-background-mode):
2929 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
2931 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * files.el (out-of-memory-warning-percentage): Turn it off by default.
2935 2014-08-11 Sam Steingold <sds@gnu.org>
2937 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
2938 the presence of known validators (tidy, (o)nsgmls).
2940 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
2942 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
2944 * net/newst-treeview.el (newsticker-treeview-date-format): New.
2945 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
2947 2014-08-11 Glenn Morris <rgm@gnu.org>
2949 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
2950 chose coding system for writing before backing up, since it causes
2951 a more serious problem than the one it solves. (Closes Bug#18141,
2954 2014-08-11 Martin Rudalics <rudalics@gmx.at>
2956 * window.el (window-total-size): Make doc-string more self-contained.
2958 * window.el (display-buffer-below-selected): Restore original
2959 behavior if buffer is already displayed in the window below the
2960 selected one (Bug#18181).
2962 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
2964 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
2967 2014-08-11 Eli Zaretskii <eliz@gnu.org>
2969 * info.el (info): Doc fix.
2971 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
2973 * info.el (Info-mode-map): Override a global down-mouse-2 binding
2976 2014-08-11 Eli Zaretskii <eliz@gnu.org>
2978 * simple.el (default-line-height): A floating-point value of
2979 line-spacing means a fraction of the default frame font's height,
2980 not of the font currently used by the 'default' face.
2981 Truncate the pixel value, like the display engine does.
2982 (window-screen-lines): Use window-inside-pixel-edges for
2983 determining the window height in pixels. (Bug#18195)
2985 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
2987 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
2989 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
2991 Enumerate evaluated sexp diary entries (Bug#7911).
2992 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
2993 (icalendar-export-sexp-enumeration-days): New.
2994 (icalendar-export-region): Now `icalendar--convert-to-ical'
2995 returns a cons cell or a list of cons cells.
2996 (icalendar--convert-to-ical): Take care of
2997 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
2998 (icalendar--convert-ordinary-to-ical)
2999 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3000 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
3001 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
3002 (icalendar--convert-anniversary-to-ical): Return cons cell.
3003 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
3004 entries. Return (list of) cons cells.
3006 2014-08-09 Juri Linkov <juri@jurta.org>
3008 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
3009 to reevaluate `vc-annotate-color-map'. (Bug#18189)
3011 2014-08-09 Alan Mackenzie <acm@muc.de>
3013 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
3014 for top-level that can cause unacceptable slow-down in scrolling.
3015 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
3016 Antipov from 2013-10-14 in emacs-devel.
3018 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3020 * ibuffer.el (ibuffer-mode-map): Use toggle button for
3021 `ibuffer-auto-mode' menu entry.
3022 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
3024 2014-08-08 Matthias Meulien <orontee@gmail.com>
3026 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
3029 2014-08-07 Martin Rudalics <rudalics@gmx.at>
3031 * window.el (window--min-size-1): Explicitly set WINDOW arg in
3032 calls of window-min-pixel-height and window-min-pixel-width.
3034 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3036 * progmodes/ada-mode.el:
3037 * net/tramp.el (tramp-handle-file-symlink-p):
3038 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
3039 about VMS, which we no longer support.
3040 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
3041 and fix a FIXME, using convert-standard-filename in place of
3042 removed ada-convert-file-name.
3044 2014-08-07 Eli Zaretskii <eliz@gnu.org>
3046 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
3048 2014-08-07 Reuben Thomas <rrt@sc3d.org>
3050 Refer to MS-DOS using the same name everywhere.
3051 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
3052 ``msdog'' become ``MS-DOS''.
3054 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
3056 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3057 Use cached "remote-copy-args" value, if available. (Bug#18199)
3059 2014-08-07 Leo Liu <sdl.web@gmail.com>
3061 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
3062 Revert change on 2014-03-22.
3064 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
3066 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
3067 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
3071 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3073 * image-mode.el (image-toggle-display-image): Always rescale images
3074 to not be bigger than the current window.
3076 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
3078 * net/eww.el (eww-bookmarks-directory): New variable.
3079 (eww-write-bookmarks): Use it.
3080 (eww-read-bookmarks): Ditto.
3082 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3084 * net/shr.el (shr-copy-url): Also copy the image URL.
3086 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
3088 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
3089 also for Tramp working buffers.
3091 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3093 * progmodes/python.el: Fix completions inside (i)pdb.
3094 (python-shell-completion-pdb-string-code): Make obsolete.
3095 (python-shell-completion-get-completions):
3096 Use python-shell-completion-string-code resending setup code
3097 continuously for (i)pdb.
3099 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
3101 * rect.el (rectangle--default-line-number-format): Rename
3102 from misspelled rectange--default-line-number-format (Bug#18045).
3105 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
3107 Don't mishandle year-9999 dates (Bug#18176).
3108 * calendar/parse-time.el (parse-time-rules):
3109 Allow years up to most-positive-fixnum.
3110 * calendar/time-date.el (date-to-time):
3111 Pass "Specified time is not representable" errors through.
3113 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3115 * progmodes/python.el: Completion code cleanups.
3116 (python-shell-completion-get-completions): Detect and send import
3117 statements directly to completion function.
3118 (python-shell-completion-at-point): Simplify prompt calculation
3119 and import vs input completion logic.
3121 2014-08-02 Alan Mackenzie <acm@muc.de>
3123 Fix confusion in C++ file caused by comma in "= {1,2},".
3125 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
3126 for a statement boundary marked by "}", check there's no "="
3128 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
3129 non-nil `comma-delim' argument.
3130 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
3131 initializer expression more accurately.
3133 Correct loop termination condition in c-syntactic-skip-backward.
3134 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
3135 the situation where, after moving back out of a literal,
3136 skip-chars-backward doesn't move further, yet checks have still to
3139 2014-08-01 Eli Zaretskii <eliz@gnu.org>
3141 * tutorial.el (tutorial--display-changes): Accept punctuation
3142 characters before the key binding. (Bug#18146)
3144 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
3146 * progmodes/python.el: Shell output capture enhancements.
3147 (python-shell-accept-process-output): New function.
3148 (inferior-python-mode)
3149 (python-shell-send-setup-code): Use it.
3151 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
3153 * calendar/icalendar.el (icalendar--decode-isodatetime):
3154 Use actual current-time-zone when converting to local time. (Bug#15408)
3156 2014-07-29 Martin Rudalics <rudalics@gmx.at>
3158 * window.el (window--state-put-2): Handle horizontal scroll
3161 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3163 * menu-bar.el (menu-bar-update-buffers): Update item list format
3164 in `buffers-menu' to confirm with changes to `get_keyelt'
3165 (r117463). (Bug#18016)
3167 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3169 * progmodes/python.el (inferior-python-mode): Make input prompts
3172 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
3174 * net/tramp-sh.el (tramp-get-remote-python): Also search for
3175 executables named "python2" or "python3".
3176 (tramp-get-remote-uid-with-python): Use parentheses around
3177 arguments to `print' to make it compatible with Python 3.
3178 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
3180 2014-07-28 Eli Zaretskii <eliz@gnu.org>
3182 * window.el (window--pixel-to-total): Use FRAME's root window, not
3183 that of the selected frame. (Bug#18112, Bug#16674)
3185 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
3187 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
3190 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3192 * progmodes/python.el (inferior-python-mode): Doc fix.
3194 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3196 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
3197 not a character, ignore it instead of raising an error.
3199 * calendar/todo-mode.el: Fix handling of marked items and make
3200 minor code improvements.
3201 (todo-edit-item): If there are marked items, ensure user can only
3202 invoke editing commands that work with marked items.
3203 (todo-edit-item--text): When there are marked items, make it a
3204 noop if invoked with point not on an item; otherwise, ensure it
3205 applies only to item at point.
3206 (todo-item-undone): If there are marked not-done items, return
3207 point to its original position before signaling user error.
3208 (todo--user-error-if-marked-done-item): New function.
3209 (todo-edit-item--header, todo-edit-item--diary-inclusion)
3210 (todo-item-done): Use it.
3212 2014-07-28 Glenn Morris <rgm@gnu.org>
3214 * files.el (toggle-read-only): Re-add basic doc-string.
3215 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
3217 * progmodes/prolog.el (prolog-mode-keybindings-edit):
3218 Replace missing `switch-to-prolog' with `run-prolog'.
3219 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
3221 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3223 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
3224 of file-wide setting when changing category-wide setting.
3226 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
3228 * doc-view.el (doc-view-open-text): Don't require that the
3229 document is saved in a file (e.g., email attachment).
3231 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3233 Parse completion input in a iPython friendly way. (Bug#18084)
3234 * progmodes/python.el
3235 (python-shell-completion-at-point): Rename from
3236 python-shell-completion-complete-at-point.
3237 (inferior-python-mode): Use it.
3238 (python-completion-at-point): Rename from
3239 python-completion-complete-at-point. Parse input up to first
3240 backward occurrence of whitespace, open-paren, close-paren or
3242 (python-mode): Use it.
3244 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3246 Prevent Python process shell buffer to pop twice.
3247 * progmodes/python.el (python-shell-switch-to-shell): Do not call
3250 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3252 * progmodes/python.el
3253 (python-shell-with-shell-buffer): New macro.
3254 (python-shell-font-lock-get-or-create-buffer)
3255 (python-shell-font-lock-kill-buffer)
3256 (python-shell-font-lock-with-font-lock-buffer)
3257 (python-shell-font-lock-cleanup-buffer)
3258 (python-shell-font-lock-toggle): Use it.
3259 (python-shell-font-lock-turn-on)
3260 (python-shell-font-lock-turn-off): Use it. Make command.
3262 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3264 Grab all Python process output before inferior-python-mode hooks.
3265 * progmodes/python.el (inferior-python-mode):
3266 Call accept-process-output and sit-for to ensure all output for process
3267 has been received before running hooks.
3268 (python-shell-internal-get-or-create-process):
3269 Cleanup accept-process-output and sit-for calls.
3271 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
3273 More robust shell startup and code setup.
3274 * progmodes/python.el (python-shell-make-comint):
3275 Remove accept-process-output call.
3276 (python-shell-get-buffer): Return current buffer if major-mode is
3277 inferior-python-mode.
3278 (python-shell-get-or-create-process): Use it.
3279 (python-shell-send-setup-code): Send all setup code in one string,
3280 output success message and accept-process-output.
3282 2014-07-27 Eli Zaretskii <eliz@gnu.org>
3284 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
3285 Add rudimentary support for bidirectional text.
3287 2014-07-27 Martin Rudalics <rudalics@gmx.at>
3289 * frame.el (frame-notice-user-settings): Rewrite using
3290 frame-initial-frame-tool-bar-height.
3291 * menu-bar.el (menu-bar-horizontal-scroll-bar)
3292 (menu-bar-no-horizontal-scroll-bar): New functions.
3293 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
3295 * scroll-bar.el (scroll-bar-lines)
3296 (set-horizontal-scroll-bar-mode)
3297 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
3298 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
3299 (scroll-bar-toolkit-horizontal-scroll): New functions.
3300 (horizontal-scroll-bar-mode)
3301 (previous-horizontal-scroll-bar-mode)
3302 (horizontal-scroll-bar-mode-explicit): New variables.
3303 (horizontal-scroll-bar-mode): New option.
3304 (toggle-horizontal-scroll-bar): Do something.
3305 (top-level): Bind horizontal-scroll-bar mouse-1.
3306 * startup.el (tool-bar-originally-present): Remove variable.
3307 (command-line): Don't set tool-bar-originally-present.
3308 * window.el (window-min-height): Update doc-string.
3309 (window--dump-frame): Dump horizontal scroll bar values.
3310 (window--min-size-1): Handle minibuffer window separately.
3311 Count in margins and horizontal scroll bar. Return safe value
3312 iff IGNORE equals 'safe.
3313 (frame-windows-min-size): New function (used by frame resizing
3315 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
3317 (window--sanitize-window-sizes): New function.
3318 (window-split-min-size): Remove.
3319 (split-window): Count divider-width. Don't use
3320 `window-split-min-size' any more. Reword error messages.
3321 Sanitize windows sizes after splitting.
3323 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
3325 Use `defvar-local' more.
3326 * progmodes/hideshow.el
3327 (hs-c-start-regexp, hs-block-start-regexp)
3328 (hs-block-start-mdata-select, hs-block-end-regexp)
3329 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
3330 remove corresponding `make-variable-buffer-local' top-level calls.
3332 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3334 Cleanup error signals. (Bug#18067)
3335 * progmodes/python.el
3336 (python-indent-shift-left): Use user-error instead.
3337 (python-shell-prompt-detect): Use lwarn with python group.
3338 (python-completion-complete-at-point)
3339 (python-eldoc--get-doc-at-point): Don't signal error.
3341 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3343 Support for packages in Python shell. (Bug#13570)
3344 * progmodes/python.el (python-shell--package-depth): New var.
3345 (python-shell-package-enable): New command.
3346 (python-util-list-directories, python-util-list-files)
3347 (python-util-list-packages): New functions.
3349 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3351 Faster comint output. (Bug#16875)
3352 * progmodes/python.el:
3353 (python-comint-output-filter-function): Make obsolete.
3354 (python-comint-postoutput-scroll-to-bottom): New function.
3355 (inferior-python-mode): Set comint-output-filter-functions to a
3358 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3360 * progmodes/python.el (python-shell-font-lock-post-command-hook):
3361 Safeguard current point and undo history.
3363 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3365 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
3366 * progmodes/python.el:
3367 (python-shell-prompt-input-regexps): Add iPython block prompt.
3368 (python-shell-output-syntax-table): Delete var.
3369 (python-shell-font-lock-with-font-lock-buffer): New macro.
3370 (python-shell-font-lock-get-or-create-buffer)
3371 (python-shell-font-lock-kill-buffer)
3372 (python-shell-font-lock-cleanup-buffer)
3373 (python-shell-font-lock-post-command-hook)
3374 (python-shell-font-lock-turn-off): New functions.
3375 (python-shell-font-lock-turn-on): New function.
3376 (inferior-python-mode): Use it.
3377 (python-shell-font-lock-toggle): New command.
3378 (python-shell-font-lock-enable): Rename from
3379 python-shell-enable-font-lock.
3380 (run-python-internal): Use it.
3381 (python-shell-font-lock-comint-output-filter-function): New function.
3382 (python-shell-comint-end-of-output-p): New function.
3383 (python-shell-output-filter): Use it.
3384 (python-util-comint-last-prompt): New function.
3385 (python-util-text-properties-replace-name): New function.
3387 2014-07-25 Glenn Morris <rgm@gnu.org>
3389 * vc/ediff-init.el (ediff-toggle-read-only-function):
3390 * vc/ediff-util.el (ediff-toggle-read-only):
3391 Replace obsolete toggle-read-only with read-only-mode.
3393 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
3395 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
3396 with `save-match-data'. (Bug#18095)
3398 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
3400 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
3401 order to ensure that row and col are lexically bound inside the
3404 2014-07-21 Glenn Morris <rgm@gnu.org>
3406 * progmodes/hideif.el (hide-ifdef-mode-submap):
3407 Also substitute read-only-mode.
3408 * bindings.el (mode-line-toggle-read-only):
3409 * bs.el (bs-toggle-readonly):
3410 * buff-menu.el (Buffer-menu-toggle-read-only):
3411 * dired.el (dired-toggle-read-only):
3412 * files.el (view-read-only, find-file-read-only)
3413 (find-file-read-only-other-window)
3414 (find-file-read-only-other-frame):
3415 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
3416 Doc fixes re toggle-read-only.
3418 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
3420 * progmodes/python.el: Add comment about pipe buffering and
3421 solutions for missing/delayed output in inferior Python shells.
3424 * progmodes/python.el (python-mode): Don't set
3425 mode-require-final-newline. (Bug#17990)
3427 Make python.el work with IPython automatically. (Bug#15510)
3428 * progmodes/python.el:
3429 (python-shell-completion-setup-code): New value supporting iPython.
3430 (python-shell-completion-string-code): New value supporting iPython.
3431 (python-shell-completion-get-completions): Use them.
3432 (python-shell-completion-module-string-code): Make obsolete.
3433 (python-shell-prompt-input-regexps)
3434 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
3435 (python-shell-output-filter): Fix comment typo.
3437 Fix Python shell prompts detection for remote hosts.
3438 * progmodes/python.el (python-shell-prompt-detect):
3439 Replace call-process with process-file and make it more robust.
3441 Autodetect Python shell prompts. (Bug#17370)
3442 * progmodes/python.el:
3443 (python-shell-interpreter-interactive-arg)
3444 (python-shell-prompt-detect-enabled)
3445 (python-shell-prompt-detect-failure-warning)
3446 (python-shell-prompt-input-regexps)
3447 (python-shell-prompt-output-regexps): New vars.
3448 (python-shell-prompt-calculated-input-regexp)
3449 (python-shell-prompt-calculated-output-regexp): New vars.
3450 (python-shell-get-process-name)
3451 (python-shell-internal-get-process-name)
3452 (python-shell-output-filter)
3453 (python-shell-completion-get-completions): Use them.
3454 (python-shell-prompt-detect)
3455 (python-shell-prompt-validate-regexps): New functions.
3456 (python-shell-prompt-set-calculated-regexps): New function.
3457 (inferior-python-mode): Use it. Also honor overriden
3458 python-shell-interpreter and python-shell-interpreter-args.
3459 (python-shell-make-comint): Honor overriden
3460 python-shell-interpreter and python-shell-interpreter-args.
3461 (python-shell-get-or-create-process): Make it testable by allowing
3462 to call run-python non-interactively.
3463 (python-util-valid-regexp-p): New function.
3464 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
3465 (python-shell-prompt-output-regexp)
3466 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
3468 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * emacs-lisp/smie.el (smie-config--guess-1): Split from
3472 (smie-config--guess): Use it.
3474 * emacs-lisp/edebug.el: Use nadvice.
3475 (edebug-original-read): Remove.
3476 (edebug--read): Rename from edebug-read and add `orig' arg.
3477 (edebug-uninstall-read-eval-functions)
3478 (edebug-install-read-eval-functions): Use nadvice.
3479 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
3480 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
3481 (edebug-read-string, edebug-read-function): Use just `read'.
3482 (edebug-original-debug-on-entry): Remove.
3483 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
3485 (debug-on-entry): Override with nadvice.
3487 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
3488 it also makes sense to bind it to a non-mouse event.
3490 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
3492 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3494 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
3497 * rect.el (rectangle--string-preview): Don't assume there
3498 a non-nil default (bug#17984).
3500 2014-07-16 Glenn Morris <rgm@gnu.org>
3502 * desktop.el (after-init-hook): Disable startup frame restoration
3503 in non-graphical situations. (Bug#17693)
3505 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
3506 if it was "empty", or used for a different set of files. (Bug#17884)
3508 2014-07-16 Eli Zaretskii <eliz@gnu.org>
3510 * bindings.el (mode-line-remote): If default-directory is not a
3511 string, don't call file-remote-p on it; instead state in the
3512 help-echo that it is nil. (Bug#17986)
3514 2014-07-14 Daniel Colascione <dancol@dancol.org>
3516 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
3517 to `macroexpand-all'
3519 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
3520 Use `macroexpand-all' instead of `cl-macroexpand-all'.
3522 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
3524 Fix bug: C-x v v discarded existing log message (Bug#17884).
3525 * vc/vc-dispatcher.el (vc-log-edit):
3526 Don't clobber an already-existing log message.
3528 2014-07-12 Glenn Morris <rgm@gnu.org>
3530 * vc/log-edit.el (log-edit-changelog-entries):
3531 Check for a visited-but-never-saved ChangeLog.
3533 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
3536 a non-existing file (bug#17970).
3538 * faces.el (face-name): Undo last change.
3539 (x-resolve-font-name): Don't call face-name (bug#17956).
3541 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3543 Fix dedenters and electric colon handling. (Bug#15163)
3544 * progmodes/python.el
3545 (python-rx-constituents): Add dedenter and block-ender.
3546 (python-indent-dedenters, python-indent-block-enders): Delete.
3547 (python-indent-context): Return new case for dedenter-statement.
3548 (python-indent-calculate-indentation): Handle new case.
3549 (python-indent-calculate-levels): Fix levels calculation for
3550 dedenter statements.
3551 (python-indent-post-self-insert-function): Fix colon handling.
3552 (python-info-dedenter-opening-block-message): New function.
3553 (python-indent-line): Use it.
3554 (python-info-closing-block)
3555 (python-info-closing-block-message): Remove.
3556 (python-info-dedenter-opening-block-position)
3557 (python-info-dedenter-opening-block-positions)
3558 (python-info-dedenter-statement-p): New functions.
3560 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
3562 * files.el (out-of-memory-warning-percentage): New defcustom.
3563 (warn-maybe-out-of-memory): Use it.
3565 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
3567 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
3568 when calling `read-string'. (Bug#17839)
3570 2014-07-10 Eli Zaretskii <eliz@gnu.org>
3572 * files.el (warn-maybe-out-of-memory): Fix the wording of the
3575 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
3577 * files.el (warn-maybe-out-of-memory): New function.
3578 (find-file-noselect): Use it.
3580 2014-07-09 Sam Steingold <sds@gnu.org>
3582 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
3583 `constant' like `bless', `return' &c
3585 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3587 * rect.el (apply-on-rectangle): Check forward-line really moved to the
3590 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3592 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
3593 the middle of a line (bug#17896).
3595 2014-07-09 Juri Linkov <juri@jurta.org>
3597 * startup.el (command-line): Append displaying the warning about
3598 the errors in the init file to the end of `after-init-hook'.
3601 * faces.el (face-name): Return input arg `face' as-is
3602 when it's not a symbol.
3603 (x-resolve-font-name): Don't check if the face is a symbol.
3606 * facemenu.el (list-colors-print): In help-echo format use %.2f
3607 instead of %d because now HSV values are floating-point components
3608 between 0.0 and 1.0.
3610 2014-07-09 Glenn Morris <rgm@gnu.org>
3612 * emulation/cua-rect.el (cua--activate-rectangle):
3613 Avoid setting cua--rectangle to nil. (Bug#17877)
3615 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3617 * calendar/todo-mode.el: Fix wrong-type-argument error when
3618 marking multiple consecutive items.
3619 (todo-toggle-mark-item): Don't try to mark the empty lines at the
3620 end of the todo and done items sections. Note in doc string that
3621 items marked by passing a numeric prefix argument can include the
3622 last todo and first done items.
3623 (todo-mark-category): Don't try to mark the empty line between the
3624 todo and done items sections.
3626 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
3629 proper Lisp quoting (bug#17934).
3631 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
3632 require-final-newline since prog-mode already took care of it (bug#17947).
3634 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
3636 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
3637 refer to the Todo mode Info manual. Update the comment on
3639 (todo-find-filtered-items-file): Add todo-prefix overlays.
3640 (todo-filter-items): Reorder a let-bound variable to avoid a
3641 wrong-type-argument error on canceling the file choice dialog.
3643 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * progmodes/octave.el (inferior-octave-mode):
3646 Set comint-input-ring-size to a number (bug#17912).
3648 2014-07-09 Juri Linkov <juri@jurta.org>
3650 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
3651 and `isearch-mode' associated with nil. (Bug#17849)
3653 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3655 * linum.el (linum--face-height): New function (bug#17813).
3656 (linum-update-window): Use it to adjust margin to linum's width.
3658 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
3659 * eshell/em-smart.el (eshell-smart-scroll-window):
3660 Use with-selected-window.
3662 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
3663 Remove also pointless window&mark manipulation.
3665 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
3666 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
3667 (perl-continuation-line-p): Don't skip over anything else than labels.
3668 Return the previous char.
3669 (perl-calculate-indent): Use syntax-ppss instead of parse-start
3670 and update callers accordingly. For continuation lines, check the
3671 the case of array hashes.
3672 (perl-backward-to-noncomment): Make it non-interactive.
3673 (perl-backward-to-start-of-continued-exp): Rewrite.
3675 2014-07-08 Sam Steingold <sds@gnu.org>
3677 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
3680 2014-07-08 Juri Linkov <juri@jurta.org>
3682 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
3683 (vc-annotate-color-map): Use less saturated colors (20%) for
3685 (vc-annotate-very-old-color): Add default value for background-mode.
3686 (vc-annotate-background): Set default value to nil since now text on
3687 the default backgrounds should be legible in light and dark modes.
3688 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
3691 2014-07-08 Juri Linkov <juri@jurta.org>
3693 * simple.el (transpose-chars): Don't move point into read-only area.
3696 2014-07-08 Juri Linkov <juri@jurta.org>
3698 * window.el (with-displayed-buffer-window): New macro.
3699 (with-temp-buffer-window, with-current-buffer-window):
3700 Use `macroexp-let2' to evaluate and bind variables
3701 in the same order as macro arguments.
3702 (display-buffer--action-function-custom-type):
3703 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
3705 * minibuffer.el (minibuffer-completion-help): Replace
3706 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
3707 with actions that display *Completions* at-bottom when called
3708 from the minibuffer, or below-selected in a normal buffer.
3709 Associate `window-height' with `fit-window-to-buffer'.
3710 Let-bind `pop-up-windows' to nil.
3712 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
3713 instead of `with-current-buffer-window'. (Bug#17809)
3715 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
3717 * progmodes/hideif.el (hide-ifdef-env): Change to global.
3718 (hide-ifdef-env-backup): New variable.
3719 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
3720 New customizable variables.
3721 (hif-clear-all-ifdef-defined): New defun.
3722 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
3723 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
3724 (hif-tokenize): Fix for MS-DOS/Win EOL style.
3725 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
3726 Fix bug to hide the correct #elif region(s).
3727 (hif-range-elif): New defun.
3728 (hif-recurse-level): New var.
3729 (hif-evaluate-region, hif-evaluate-macro): New defun.
3730 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
3732 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
3735 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
3737 * net/dbus.el (dbus-peer-handler): New defun.
3738 (dbus-register-service): Register it. (Bug#17858)
3739 (dbus-managed-objects-handler): Fix docstring.
3741 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
3743 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
3744 (narrow-to-defun): New arg include-comments, defaulting to it
3747 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
3750 different calling convention to rectangle--unhighlight-for-redisplay.
3752 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
3754 * net/tramp.el (tramp-call-process): Handle error strings.
3756 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
3758 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
3759 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
3761 * net/trampver.el: Update release number.
3763 2014-07-03 Juri Linkov <juri@jurta.org>
3765 * desktop.el (desktop-save): Rename arg `auto-save' to
3766 `only-if-changed'. Doc fix. (Bug#17873)
3768 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3771 Use insert-for-yank (bug#17271).
3773 2014-07-03 Leo Liu <sdl.web@gmail.com>
3775 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
3776 Support lexical-binding.
3778 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3780 * vc/log-edit.el (log-edit-goto-eoh): New function.
3781 (log-edit--match-first-line): Use it (bug#17861).
3783 2014-07-03 Glenn Morris <rgm@gnu.org>
3785 * vc/log-edit.el (log-edit-hook): Add missing :version.
3787 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
3789 * progmodes/python.el (python-indent-post-self-insert-function):
3790 Enhancements to electric indentation behavior inside
3793 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
3795 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
3796 buffer-invisibility-spec (bug#17867).
3798 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
3800 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
3803 2014-07-03 Glenn Morris <rgm@gnu.org>
3805 * cus-edit.el (help):
3806 * finder.el (finder-known-keywords):
3807 * help.el (help-for-help-internal):
3808 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
3809 (ediff-redraw-registry-buffer):
3810 * vc/ediff-ptch.el (ediff-patch-file-internal):
3811 Doc fixes re "online" help. (Bug#17803)
3813 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
3814 (idlwave-mode): Doc URL update.
3816 2014-07-01 Juri Linkov <juri@jurta.org>
3818 * man.el: Display man pages immediately and use process-filter
3819 to format them asynchronously.
3820 (Man-width): Doc fix.
3822 (Man-start-calling): Use `with-selected-window' to get
3823 `frame-width' and `window-width'.
3824 (Man-getpage-in-background): Call `Man-notify-when-ready'
3825 immediately after creating a new buffer. Call `Man-mode' and set
3826 `mode-line-process' in the created buffer. Set process-filter to
3827 `Man-bgproc-filter' in start-process branch. In call-process branch
3828 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
3829 Use `Man-start-calling' inside `with-current-buffer'.
3830 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
3831 (Man-cleanup-manpage): Don't print messages.
3832 (Man-bgproc-filter): New function.
3833 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
3834 user moved it during asynchronous formatting. Move calls of
3835 `Man-fontify-manpage' and `Man-cleanup-manpage' to
3836 `Man-bgproc-filter'. Move the call of `Man-mode' to
3837 `Man-getpage-in-background'. Use `quit-restore-window'
3838 instead of `kill-buffer'. Use `message' instead of `error'
3839 because errors are caught by process sentinel.
3840 (Man-mode): Move calls of `Man-build-page-list',
3841 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
3842 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
3844 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
3845 for the message about the man page cleaned up.
3847 2014-07-01 Mario Lang <mlang@delysid.org>
3849 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
3850 cosutomization option `gnutls-verify-error'.
3852 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
3855 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
3857 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
3858 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
3859 is suspended (bug#17857).
3861 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
3863 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3864 Prefer utf-8 coding. (Bug#17859)
3866 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
3868 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
3871 2014-06-30 Glenn Morris <rgm@gnu.org>
3873 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
3874 (autoload-ensure-default-file): Maybe make existing output writable.
3875 * Makefile.in (AUTOGEN_VCS): Remove.
3876 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
3878 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
3880 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
3882 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
3884 New if-let, when-let, thread-first and thread-last macros.
3886 * emacs-lisp/subr-x.el
3887 (internal--listify, internal--check-binding)
3888 (internal--build-binding-value-form, internal--build-binding)
3889 (internal--build-bindings): New functions.
3890 (internal--thread-argument, thread-first, thread-last)
3891 (if-let, when-let): New macros.
3893 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
3895 * net/rcirc.el (rcirc-buffer-process): Restore previous
3896 behaviour. (Bug#17772)
3898 2014-06-29 Alan Mackenzie <acm@muc.de>
3900 Don't call c-parse-state when c++-template-syntax-table is active.
3901 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
3902 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
3903 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
3905 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
3907 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
3908 account for file-wide setting of todo-top-priorities-overrides.
3909 Make code a bit cleaner.
3911 2014-06-28 Glenn Morris <rgm@gnu.org>
3913 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
3915 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
3917 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
3918 category-wide setting of todo-top-priorities-overrides, check for
3919 a file-wide setting and fontify accordingly.
3921 2014-06-28 Glenn Morris <rgm@gnu.org>
3923 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
3925 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
3929 2014-06-28 K. Handa <handa@gnu.org>
3933 * composite.el: Setup composition-function-table for dotted circle.
3934 (compose-gstring-for-dotted-circle): New function.
3936 * international/characters.el: Add category "^" to all
3937 non-spacing characters.
3939 2014-06-28 Glenn Morris <rgm@gnu.org>
3941 * Makefile.in (doit): Remove force rule.
3942 (custom-deps, finder-data, autoloads, update-subdirs)
3943 (compile-one-process): PHONY targets do not need force rules.
3945 * Makefile.in (compile-main, compile, compile-always):
3946 No need to explicitly pass variables to ourself in recursive calls.
3948 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
3952 2014-06-26 Glenn Morris <rgm@gnu.org>
3954 * Makefile.in (update-authors): Update for moved authors.el.
3956 2014-06-26 Leo Liu <sdl.web@gmail.com>
3958 * skeleton.el (skeleton-end-hook): Default to nil and move the
3959 work to skeleton-insert. (Bug#17850)
3961 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
3963 * calc/calc-alg.el (math-beforep):
3964 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
3965 Simplify because string-lessp can accept symbols as args.
3967 2014-06-26 Daiki Ueno <ueno@gnu.org>
3969 * emacs-lisp/package.el (package--check-signature):
3970 If package-check-signature is allow-unsigned, don't signal error when
3971 we can't verify signature because of missing public key
3974 2014-06-26 Glenn Morris <rgm@gnu.org>
3976 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
3977 Remove outdated declaration.
3979 * emacs-lisp/authors.el (authors-valid-file-names)
3980 (authors-renamed-files-alist): Additions.
3982 2014-06-26 Leo Liu <sdl.web@gmail.com>
3984 * textmodes/picture.el (picture-set-tab-stops):
3985 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
3986 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
3988 * progmodes/asm-mode.el (asm-calculate-indentation):
3989 Use indent-next-tab-stop.
3991 * indent.el (indent-accumulate-tab-stops): New function.
3993 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
3996 (package-desc-status): Obey it.
3998 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
4000 * calendar/todo-mode.el: Fix two bugs.
4001 (todo-insert-item--basic): If user cancels item insertion to
4002 another category before setting priority, show original category
4003 whether it is in the same or a different file.
4004 (todo-set-item-priority): After selecting category, instead of
4005 moving point to top, which extends an active region, restore it.
4007 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * help-fns.el (describe-function-1): Check file-name is a string before
4010 calling help-fns--autoloaded-p (bug#17564).
4012 2014-06-26 Juri Linkov <juri@jurta.org>
4014 * desktop.el (desktop-auto-save-enable)
4015 (desktop-auto-save-disable): New functions.
4016 (desktop-save-mode, desktop-auto-save-timeout): Use them.
4017 (desktop-read): Disable the autosave before loading the desktop,
4018 and enable afterwards. (Bug#17351)
4020 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4022 Fix some indentation problem with \; and pipes (bug#17842).
4023 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
4024 (sh-smie--default-forward-token, sh-smie--default-backward-token):
4026 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
4027 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
4028 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
4030 2014-06-26 Glenn Morris <rgm@gnu.org>
4032 * emacs-lisp/find-func.el (find-function-C-source-directory):
4033 Use file-accessible-directory-p.
4035 * ps-samp.el: Make it slightly less awful.
4036 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
4037 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
4038 Only set local values.
4039 (ps-article-subject, ps-article-author): Use standard functions
4040 like mail-fetch-field.
4041 (ps-info-file, ps-info-node): Use match-string.
4042 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
4043 (ps-samp-ps-setup): ... new function.
4045 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
4046 Optimize away code unneeded on any modern Emacs.
4048 * emacs-lisp/authors.el: Move to ../admin.
4050 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
4052 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
4054 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
4055 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
4056 performance enhancements.
4057 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
4059 (hif-factor, hif-string-concatenation, intern-safe): Support string
4060 concatenation and argumented macro expansion.
4061 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
4062 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
4063 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
4064 (hif-canonicalize-tokens, hif-place-macro-invocation)
4065 (hif-parse-macro-arglist): Mostly new functions for supporting
4066 argumented macro expansion.
4067 (hif-string-concatenation, hif-stringify, hif-token-concat)
4068 (hif-token-stringification, hif-token-concatenation):
4069 Stringification and concatenation.
4070 (hif-find-next-relevant): Fix comments.
4071 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
4072 some cases involving #elif.
4073 (hif-find-define, hif-add-new-defines): New functions for automatically
4074 scanning of defined symbols.
4075 (hide-ifdef-guts): Fix for defined symbol auto scanning.
4076 (hide-ifdef-undef): Fix behavior to match CPP.
4078 2014-06-25 Glenn Morris <rgm@gnu.org>
4080 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
4081 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
4082 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
4083 files. They are not relevant to the original issue (bug#1004),
4084 and cause unnecessary recompilation (bug#2151).
4086 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * play/landmark.el: Use lexical-binding and avoid `intangible'.
4089 (landmark--last-pos): New var.
4090 (landmark--intangible-chars): New const.
4091 (landmark--intangible): New function.
4092 (landmark-mode, landmark-move): Use it.
4093 (landmark-mode): Remove properties.
4094 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
4095 (landmark-cross-qtuple):
4096 Don't worry about `intangible' any more.
4097 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
4098 (landmark-init-display): Don't set `intangible' and `point-entered'.
4099 (square): Remove. Inline it instead.
4100 (landmark--distance): Rename from `distance'.
4101 (landmark-calc-distance-of-robot-from): Rename from
4102 calc-distance-of-robot-from.
4103 (landmark-calc-smell-internal): Rename from calc-smell-internal.
4105 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
4107 * files.el (dir-locals-find-file, file-relative-name):
4108 * info.el (Info-complete-menu-item):
4109 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
4110 to compare-strings to avoid out-of-range errors.
4111 * subr.el (string-prefix-p): Adjust to match strict range
4112 checking in compare-strings.
4114 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
4116 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
4117 for comment lines non-greedy and stopping at newlines to fix stack
4118 overflows with large files.
4120 2014-06-24 Eli Barzilay <eli@barzilay.org>
4122 * calculator.el (calculator-last-input): Drop 'ascii-character property
4125 2014-06-24 Leo Liu <sdl.web@gmail.com>
4127 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
4128 tab-stop-list to nil. (Bug#16381)
4130 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
4131 (indent-rigidly-left-to-tab-stop)
4132 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
4133 (move-to-tab-stop): Change callers.
4135 2014-06-24 Eli Zaretskii <eliz@gnu.org>
4137 * skeleton.el (skeleton-insert): Yet another fix of the doc string
4138 wrt behavior of \n as the first/last element of a skeleton.
4140 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
4142 * net/tramp-adb.el (tramp-adb-handle-process-file):
4143 * net/tramp-sh.el (tramp-sh-handle-process-file):
4144 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
4145 the output buffer when DISPLAY is non-nil. (Bug#17815)
4147 2014-06-24 Glenn Morris <rgm@gnu.org>
4149 * play/landmark.el (landmark-move-down, landmark-move-up):
4150 Fix 2007-10-20 change - preserve horizontal position.
4152 2014-06-23 Sam Steingold <sds@gnu.org>
4154 * simple.el (kill-append): Remove undo boundary depending on ...
4155 (kill-append-merge-undo): New user option.
4157 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4159 * simple.el (handle-shift-selection, exchange-point-and-mark)
4160 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
4161 (transient-mark-mode): Use&set the global value.
4162 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
4163 * emulation/edt.el (edt-emulation-off): Save&restore the global
4164 transient-mark-mode setting.
4165 * obsolete/pc-select.el (pc-selection-mode): Use the
4166 transient-mark-mode function.
4168 2014-06-23 Eli Zaretskii <eliz@gnu.org>
4170 * international/fontset.el (script-representative-chars):
4171 Add representative characters for scripts added in Unicode 7.0.
4172 (otf-script-alist): Synchronize with the latest registry of OTF
4175 * international/characters.el (char-script-table): Update for
4176 scripts added and codepoint ranges changed in Unicode 7.0.
4178 2014-06-23 Eli Barzilay <eli@barzilay.org>
4180 * calculator.el (calculator-standard-displayer): Fix bug in use of
4181 `calculator-groupize-number'.
4182 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
4183 `eval' code, so it works in v24.3.1 too.
4184 (calculator-last-input): Comment to clarify purpose.
4186 2014-06-22 Mario Lang <mlang@delysid.org>
4188 * textmodes/rst.el (rst-comment-region): From from -> from.
4190 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
4192 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
4194 * electric.el (electric-layout-post-self-insert-function):
4195 * emacs-lisp/ert.el (ert--insert-infos):
4196 * obsolete/vi.el (vi-set-mark):
4197 * term.el (term-handle-scroll):
4198 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
4199 * wid-edit.el (widget-editable-list-value-create):
4200 Prefer point-marker to copy-marker of point.
4202 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4204 Fix completion retrieval parsing (bug#17209).
4205 * progmodes/python.el (python-mode):
4206 (python-util-strip-string): New function.
4207 (python-shell-completion-get-completions): Use it.
4209 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4211 * skeleton.el (skeleton-insert): Fix last change.
4213 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
4215 Enhancements for outline integration (bug#17796).
4216 * progmodes/python.el (python-mode): Properly set
4217 outline-heading-end-regexp so that comments after colons for
4218 defuns are supported.
4220 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4222 * skeleton.el (skeleton-insert): Doc fix.
4224 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4226 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
4227 (smie-config-guess): Use smie-config-local so the rules are obeyed
4230 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
4231 since it's already done inside the loop (bug#17819).
4233 2014-06-21 Martin Rudalics <rudalics@gmx.at>
4235 * mouse.el (mouse-drag-line): Re-remove code initially removed
4236 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
4239 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4241 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
4242 align with the surrounding parent (bug#17721).
4244 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4246 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
4248 (texinfo-insert-block, texinfo-insert-@end)
4249 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
4250 local setting of skeleton-end-newline by adding an explicit \n to
4251 the skeletons where appropriate. (Bug#17801)
4253 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
4256 (smie-indent--hanging-p): Use it.
4257 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
4259 2014-06-21 Leo Liu <sdl.web@gmail.com>
4261 * simple.el (read-quoted-char): Don't let help chars pop up help
4264 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
4269 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
4270 Drop unknown events instead of burping.
4272 2014-06-21 Eli Zaretskii <eliz@gnu.org>
4274 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
4275 and later. (Bug#17790)
4277 2014-06-21 Juri Linkov <juri@jurta.org>
4279 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
4280 to `soft'. (Bug#17554)
4282 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
4287 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
4289 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
4290 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
4292 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
4294 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
4295 `unread-command-events'.
4297 2014-06-19 William Xu <william.xwl@gmail.com>
4299 * progmodes/hideif.el (hif-string-to-number): Don't return float for
4300 hex integer constants (bug#17807).
4302 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * international/mule-util.el (truncate-string-ellipsis): New var.
4305 (truncate-string-to-width): Use it.
4307 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
4309 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
4310 (lisp-string-in-doc-position-p): New function, extracted from
4311 lisp-font-lock-syntactic-face-function.
4312 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
4314 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
4316 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
4318 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4320 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
4321 (bubbles--game-over): Don't add `intangible' properties since they
4324 2014-06-18 Juri Linkov <juri@jurta.org>
4326 * vc/ediff-init.el (ediff-current-diff-Ancestor)
4327 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
4328 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
4329 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
4330 Add `min-colors 88' version with removed black/white foregrounds.
4333 2014-06-18 Juri Linkov <juri@jurta.org>
4335 * vc/diff-mode.el (diff-changed): Empty face definition to use
4336 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
4337 (diff-context): Use darker color on light background and
4338 lighter color on dark background.
4340 2014-06-18 Juri Linkov <juri@jurta.org>
4342 * vc/diff-mode.el (diff-refine-changed): Rename from
4343 `diff-refine-change' for consistency with `diff-changed'.
4344 (diff-refine-change): Add obsolete face alias. (Bug#10181)
4346 * vc/smerge-mode.el (smerge-refined-changed): Rename from
4347 `smerge-refined-change'.
4348 (smerge-refined-change): Add obsolete face alias.
4350 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * rect.el (rectangle-preview): New custom.
4353 (rectangle): New group.
4354 (rectangle--pos-cols): Add `window' argument.
4355 (rectangle--string-preview-state, rectangle--string-preview-window):
4357 (rectangle--string-flush-preview, rectangle--string-erase-preview)
4358 (rectangle--space-to, rectangle--string-preview): New functions.
4359 (string-rectangle): Use them.
4360 (rectangle--inhibit-region-highlight): New var.
4361 (rectangle--highlight-for-redisplay): Obey it. Make sure
4362 `apply-on-region' uses the point-crutches of the right window.
4363 Use :align-to rather than multiple spaces.
4365 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
4367 * ruler-mode.el (ruler-mode-window-col)
4368 (ruler-mode-mouse-set-left-margin)
4369 (ruler-mode-mouse-set-right-margin): Fix calculation of column
4370 from mouse position (Bug#17768).
4372 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
4374 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
4375 without varname or rhs causes crash.
4376 (dun-ftp): Fix bug where blank ftp password is allowed, making it
4377 impossible to win endgame.
4378 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
4380 (dun-help): Bump version number; update contact info.
4382 2014-06-15 Eli Barzilay <eli@barzilay.org>
4384 * calculator.el (calculator-prompt, calculator-remove-zeros)
4385 (calculator-mode-hook, calculator-operators, calculator-stack)
4386 (calculator-mode): Tweak docstring.
4387 (calculator-user-operators): Tweak docstring, fix a bug in the last
4389 (calculator-displayer): `std' case has an optional boolean.
4390 (calculator-displayers): Use the new boolean to group in decimal mode.
4391 (calculator-mode-map, calculator, calculator-message)
4392 (calculator-op-arity, calculator-add-operators)
4393 (calculator-string-to-number, calculator-displayer-prev)
4394 (calculator-displayer-next, calculator-remove-zeros)
4395 (calculator-eng-display, calculator-number-to-string)
4396 (calculator-update-display, calculator-last-input)
4397 (calculator-clear-fragile, calculator-digit, calculator-decimal)
4398 (calculator-exp, calculator-saved-move, calculator-clear)
4399 (calculator-copy, calculator-put-value, calculator-help)
4400 (calculator-expt, calculator-truncate): Minor code improvements.
4401 (calculator-need-3-lines): New function pulling out code from
4403 (calculator-get-display): Rename from `calculator-get-prompt', and
4405 (calculator-push-curnum): Rename from `calculator-curnum-value', and
4406 extended for all uses of it. All callers changed.
4407 (calculator-groupize-number): New utility for splitting a number into
4409 (calculator-standard-displayer): Improve code, new optional argument to
4410 use comma-split groups, make second argument optional too to use with
4411 'left/'right inputs. All callers changed.
4412 (calculator-reduce-stack-once): New utility, doing the meat of what
4413 `calculator-reduce-stack' used to do, much improved (mostly using
4414 `pcase' for conciseness and clarity).
4415 (calculator-reduce-stack): Now doing just the reduction loop using
4416 `calculator-reduce-stack-once'.
4417 (calculator-funcall): Improve code, make it work in v24.3.1 too.
4418 (calculator-last-input): Improve code, remove some old cruft.
4419 (calculator-quit): Kill `calculator-buffer' in electric mode too.
4420 (calculator-integer-p): Remove.
4421 (calculator-fact): Improve code, make it work on non-integer values
4422 too (using truncated numbers).
4424 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
4426 Sync with Tramp 2.2.10.
4428 * net/tramp.el (tramp-methods): Tweak docstring.
4429 (tramp-handle-file-accessible-directory-p): Check for
4430 `file-readable-p' instead of `file-executable-p'.
4431 (tramp-check-cached-permissions):
4432 Use `tramp-compat-file-attributes'.
4433 (tramp-call-process): Add new argument VEC. Adapt callees in all
4436 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
4437 (tramp-adb-maybe-open-connection): Don't set
4438 `tramp-current-*' variables.
4440 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
4441 file properties of temporary buffers.
4443 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
4445 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
4446 (tramp-gvfs-handle-delete-file): Flush file
4447 properties, not directory properties.
4448 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
4449 reading "unix::mode".
4450 (tramp-gvfs-handle-file-name-all-completions):
4451 Use "-h" option for "gvfs-ls".
4452 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
4453 (tramp-gvfs-send-command): Simplify traces.
4455 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
4456 (vc-git-program, vc-hg-program): Declare.
4457 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
4458 (tramp-methods) <nc>: Add new method.
4459 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
4460 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
4462 (tramp-default-user-alist): Add "nc".
4463 (top): Remove completion function for "sftp". Add completion
4464 functions for "nc" and "psftp".
4465 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
4466 Implement support for "nc" method.
4467 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
4468 (tramp-remote-coding-commands, tramp-call-local-coding-command):
4470 (tramp-sh-handle-write-region): Tweak error message.
4471 (tramp-sh-handle-vc-registered): Remove backends when the remote
4472 binary does not exist.
4473 (tramp-find-inline-encoding): Do not raise an error.
4474 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
4475 the "nc" case. Quote result also locally.
4477 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4478 (tramp-smb-handle-set-file-acl): Use `start-process'.
4479 (tramp-smb-handle-insert-directory): Use progress reporter.
4480 (tramp-smb-handle-rename-file): Flush also file properties of
4483 * net/trampver.el: Update release number.
4485 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4487 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
4489 (ses-localvars): Remove ses--local-printer-list, unused.
4490 (ses--metaprogramming): New macro. Use it to defvar variables.
4491 (ses-set-localvars): Simplify.
4492 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
4493 property-list into an alist.
4494 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4495 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
4496 Remove; use defstruct accessors/setters instead.
4497 (ses-cell-formula-aset, ses-cell-printer-aset)
4498 (ses-cell-references-aset): Remove, use setf instead.
4499 (ses--alist-get): New function.
4500 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
4501 Use an alist instead of a plist and don't do move-to-front since the
4502 list is always short.
4503 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
4504 (ses-cell-property-set-fun, ses-cell-property-set)
4505 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
4506 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
4507 (ses--letref): New macro.
4508 (ses-cell-property-pop): Rewrite.
4509 (ses--cell): Rename from ses-cell and make it into a function.
4510 Make `formula' fallback on `value' if nil.
4511 (ses--local-printer): Rename from ses-local-printer and make it into
4513 (ses-set-cell): Turn it into a macro so finding the accessor from the
4514 field name is done at compile time.
4515 (ses-repair-cell-reference-all): Test presence of `sym' rather than
4516 `ref' before adding `sym' to :ses-repair-reference.
4517 (ses-calculate-cell): Use ses--letref rather than
4518 ses-cell-property-get-handle.
4519 (ses-write-cells): Use a single prin1-to-string.
4520 (ses-setter-with-undo): New function.
4521 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
4522 (ses-unset-with-undo): Remove.
4523 (ses-load): Prefer apply' over `eval'.
4524 (ses-read-printer, ses-set-column-width): Use standard "(default
4527 2014-06-15 Glenn Morris <rgm@gnu.org>
4529 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
4531 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
4532 Replace delete-duplicates and mapcan by cl- versions throughout.
4533 And cl-macroexpand-all by macroexpand-all.
4534 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
4536 2014-06-15 Eli Zaretskii <eliz@gnu.org>
4538 * subr.el (posn-col-row): Doc fix. (Bug#17768)
4540 2014-06-15 Juri Linkov <juri@jurta.org>
4542 * bindings.el: Put `ascii-character' property on keypad keys
4543 mapped to characters. (Bug#17759)
4545 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4547 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
4548 bumping forward into a closing paren (bug#17761).
4550 * term/xterm.el (xterm--version-handler): Work around for OSX
4551 Terminal.app (bug#17607).
4553 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
4555 * play/dunnet.el (dun-describe-room, dun-mode):
4556 If a lamp is in the room, you won't be eaten by a grue.
4558 2014-06-13 Glenn Morris <rgm@gnu.org>
4560 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
4561 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
4562 (compile-always): GNU make automatically passes
4563 command-line arguments to sub-makes.
4565 * calendar/calendar.el (calendar-generate-window):
4566 Remove pointless call to font-lock-fontify-buffer.
4568 2014-06-13 Matthias Meulien <orontee@gmail.com>
4570 * simple.el (completion-list-mode-map): Navigate with tab and backtab
4573 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * simple.el (set-mark-command): Simplify a bit.
4577 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4579 * help.el (help--key-binding-keymap): New function.
4580 (help--binding-locus): New function.
4581 (describe-key): Mention the keymap in which the binding was
4584 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4586 * hippie-exp.el (he--all-buffers): New function.
4587 (try-expand-line-all-buffers, try-expand-list-all-buffers)
4588 (try-expand-dabbrev-all-buffers): Use it.
4590 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
4592 * hippie-exp.el (try-expand-line-all-buffers)
4593 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
4594 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
4595 original buffer, in case they're buffer-local.
4597 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
4599 * ses.el (ses-initial-global-parameters-re): New defconst, a
4600 specific regexp is needed now that ses.el can handle both
4601 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
4603 (ses-localvars): Add local variables needed for local printer handling.
4604 (ses-set-localvars): Handle hashmap initialisation.
4605 (ses-paramlines-plist): Add param-line for number of local printers.
4606 (ses-paramfmt-plist): New defconst, needed for code factorization
4607 between functions `ses-set-parameter' and
4608 `ses-file-format-extend-paramter-list'
4609 (ses-make-local-printer-info): New defsubst.
4610 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
4611 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
4612 (ses-cell-printer-aset): New defmacro.
4613 (ses-local-printer-compile): New defun.
4614 (ses-local-printer): New defmacro.
4615 (ses-printer-validate, ses-call-printer): Add support for local
4617 (ses-file-format-extend-paramter-list): New defun.
4618 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
4620 (ses-load): Add support for local printer functions.
4621 (ses-read-printer): Update docstring and add support for local printer
4623 (ses-refresh-local-printer, ses-define-local-printer): New defun.
4624 (ses-safe-printer): Add support for local printer functions.
4626 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
4628 * ffap.el (ffap-lax-url): New var (bug#17723).
4629 (ffap-url-at-point): Use it.
4630 (ffap-file-at-point): Avoid returning just "/".
4632 2014-06-12 Matthias Meulien <orontee@gmail.com>
4634 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
4635 (python-mode-map): Bind it.
4637 * progmodes/python.el (class skeleton): Don't erase last char of class
4640 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
4642 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
4644 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
4646 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
4649 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * international/mule-cmds.el: Use lexical-binding.
4652 (ucs-names): Simplify.
4654 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
4656 * progmodes/python.el (run-python): Use read-shell-command.
4658 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * rect.el: Make it possible to move bounds past EOL or into TABs.
4661 (operate-on-rectangle): Use apply-on-rectangle.
4662 (rectangle--mark-crutches): New var.
4663 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
4664 (rectangle--crutches, rectangle--reset-crutches): New functions.
4665 (apply-on-rectangle): Obey crutches. Avoid setq.
4666 Fix missing final iteration if end is at EOB&BOL.
4667 (rectangle-mark-mode-map): Add remap bindings for
4668 exchange-point-and-mark and char/line movements.
4669 (rectangle--*-char): New function.
4670 (rectangle-exchange-point-and-mark, rectangle-right-char)
4671 (rectangle-left-char, rectangle-forward-char)
4672 (rectangle-backward-char, rectangle-next-line)
4673 (rectangle-previous-line): New commands.
4674 (rectangle--place-cursor): New function.
4675 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
4677 2014-06-08 Glenn Morris <rgm@gnu.org>
4679 * startup.el (initial-buffer-choice): Doc fix.
4680 Reset :version (adding an option does not merit a :version bump).
4682 * bookmark.el (bookmark-load):
4683 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
4685 2014-06-08 Juri Linkov <juri@jurta.org>
4687 * desktop.el: Activate auto-saving on window configuration changes.
4688 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
4689 `desktop-auto-save-set-timer' to/from
4690 `window-configuration-change-hook'.
4691 (desktop-auto-save-set-timer): Change REPEAT arg of
4692 `run-with-idle-timer' from t to nil.
4693 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
4695 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
4697 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
4698 vc-hg-command (bug#17570).
4700 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4702 * international/mule-cmds.el (ucs-names): Add special entry for BEL
4705 2014-06-08 Glenn Morris <rgm@gnu.org>
4707 * startup.el (window-setup-hook): Doc fix.
4709 * emacs-lisp/package.el (package-check-signature)
4710 (package-unsigned-archives): Doc fixes.
4712 2014-06-08 Martin Rudalics <rudalics@gmx.at>
4714 * window.el (display-buffer-use-some-window): Don't make window
4715 used smaller than it was before (Bug#17671).
4717 2014-06-08 Eli Zaretskii <eliz@gnu.org>
4719 * menu-bar.el (menu-bar-open): Fix last change: use the PC
4720 'redisplay' instead of '(sit-for 0)'.
4722 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
4724 * net/tramp.el (tramp-ssh-controlmaster-options):
4725 Improve search regexp. (Bug#17653)
4727 2014-06-08 Glenn Morris <rgm@gnu.org>
4729 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
4731 2014-06-08 Eli Zaretskii <eliz@gnu.org>
4733 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
4735 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
4737 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
4740 * vc/vc-hg.el (vc-hg-log-graph): New var.
4741 (vc-hg-print-log): Use it.
4742 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
4743 graph output (bug#17515).
4745 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * mouse.el (mouse-posn-property): Ignore buffer position info when the
4748 even happened elsewhere.
4750 2014-06-06 Mario Lang <mlang@delysid.org>
4752 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
4753 `recenter' if `current-buffer' is equal to `window-buffer'.
4755 2014-06-05 Leo Liu <sdl.web@gmail.com>
4757 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
4759 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
4761 * textmodes/tildify.el (tildify-foreach-region-outside-env):
4762 New function which calls a callback on portions of the buffer that are
4763 outside of ignored environments.
4764 (tildify-build-regexp): Remove function since it is now
4765 incorporated in `tildify-foreach-region-outside-env' where it is
4766 optimized and simplified by the use of `mapconcat'.
4767 (tildify-tildify): Return number of substitutions made so that…
4768 (tildify-count): …can be removed.
4769 (tildify-find-env): Accept a new PAIRS argument which was
4770 previously looked up in `tildify-ignored-environments-alist' each
4771 time the function was called. With this change, the lookup is
4772 performed only once in `tildify-foreach-region-outside-env'.
4773 (tildify-region): Greatly simplify the function since now most of
4774 the work is done by `tildify-foreach-region-outside-env'.
4775 (tildify-mode-alist): Simplify slightly by avoiding if and setq
4776 and instead using or.
4778 * textmodes/tildify.el (tildify-ignored-environments-alist):
4779 Optimize environments regexes
4781 Each time beginning of an environment to ignore is found,
4782 `tildify-find-env' needs to identify regexp for the ending
4783 of the environment. This is done by trying all the opening
4784 regexes on matched text in a loop, so to speed that up, this
4785 loop should have fewer things to match, which can be done by
4786 using alternatives in the opening regexes.
4788 Coincidentally, this should make matching of the opening
4789 regexp faster as well thanks to the use of `regexp-opt' and
4790 having common prefix pulled from many regexes.
4792 * textmodes/tildify.el (tildify-string-alist)
4793 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
4794 of supported modes since `xml-mode' is no longer a thing but just
4795 an alias to the former. Also include comments and insides of tags
4796 in `tildify-ignored-environments-alist' for XML modes. Finally,
4797 since XML does not define “ ”[1], use a numeric reference for
4798 a no-break space (namely “ ”)
4800 [1] XML specification defines only a handful of predefined entities.
4801 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
4802 and includes only <, >, &, ' and " (meaning <,
4803 >, &, ' and " respectively). This is in contrast to HTML and even
4804 XHTML which defined a whole bunch of entities including “ ”.
4806 * textmodes/tildify.el (tildify-pattern-alist)
4807 (tildify-string-alist, tildify-ignored-environments-alist):
4808 Improve defcustom's types by adding more tags explaining what each
4809 value means and replace “sexp” used in
4810 `tildify-ignored-environments-alist' with a full type declaration.
4812 * textmodes/tildify.el (tildify-find-env): Fix matched group
4813 indexes in end-regex building
4815 When looking for a start of an ignore-environment, the regex is built
4816 by concatenating regexes of all the environments configured in
4817 `tildify-ignored-environments-alist'. So for example, the following
4818 list could be used to match TeX's \verb and \verb* commands:
4820 (("\\\\verb\\(.\\)" . (1))
4821 ("\\\\verb\\*\\(.\\)" . (1)))
4823 This would result in the following regex being used to find the start
4824 of any of the variants of the \verb command:
4826 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
4828 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
4829 won't match anything, and thus (match-string 1) will be nil, which
4830 will cause building of the end-matching regex to fail.
4832 Fix this by using capture groups from the time when the opening
4833 regexes are matched individually.
4835 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
4836 in `tildify-find-env'
4838 The `tildify-ignored-environments-alist' allows the end-regex to
4839 be provided not as a static string but mix of strings and indexes
4840 of groups matched the begin-regex. For example, the “\verb!…!”
4841 TeX-command (where “!” is an arbitrary character) is handled
4844 ("\\\\verb\\*?\\(.\\)" . (1))
4846 In the same way, the following should be supported as well:
4848 ("open-\\(.\\)" . ("end-" 1))
4850 However the tildify-find-env function fails at
4853 (if (stringp (setq aux (car expression)))
4854 expression ; BUG: expression is a list
4855 (regexp-quote (match-string aux))))
4857 where the string part is handled incorrectly.
4859 The most trivial fix would be to replace `expression' in the
4860 true-part of the if-statement with `aux', but instead, this commit
4861 optimizes `tildify-find-env' by changing it to use `mapconcat'
4862 rather than open-coded while-loop.
4864 2014-06-05 Mario Lang <mlang@delysid.org>
4866 * woman.el (woman-mapcan): Remove.
4867 (woman-parse-colon-path): Use cl-mapcan instead.
4869 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4871 * register.el: Add link to Emacs manual in Commentary.
4873 2014-06-02 Sam Steingold <sds@gnu.org>
4875 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
4876 (popup-menu): ...here.
4877 (menu-bar-open): Use it to avoid an error when `lookup-key'
4880 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
4882 * net/tramp.el (tramp-call-process): Add traces.
4883 (tramp-handle-unhandled-file-name-directory): Return "/".
4885 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
4887 Sync with upstream verilog-mode revision 3cd8144.
4888 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
4889 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
4890 (verilog-type-font-keywords): Add nor.
4891 (verilog-batch-execute-func): Force reading of Local Variables.
4892 Fix printing "no changes to be saved" with verilog-batch.
4893 (verilog-auto-arg-ports): Doc fix.
4894 Add verilog-auto-arg-format to support newlines in AUTOARG.
4895 (verilog-auto-arg): Doc fix.
4897 2014-06-02 Glenn Morris <rgm@gnu.org>
4899 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
4900 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
4901 * emulation/ws-mode.el: Move to obsolete/.
4902 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
4904 2014-06-02 Eli Zaretskii <eliz@gnu.org>
4906 * simple.el (keyboard-quit): Force update of mode lines, to remove
4907 the "Def" indicator, if we were defining a macro. (Bug#17615)
4909 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4911 * minibuffer.el (minibuffer-force-complete-and-exit):
4912 Obey minibuffer-default (bug#17545).
4914 * progmodes/js.el (js-indent-line): Don't mix columns and chars
4917 * subr.el (set-transient-map): Don't wait for some "nested"
4918 transient-map to finish if we're only supposed to be active for
4919 the next command (bug#17642).
4921 2014-06-02 Leo Liu <sdl.web@gmail.com>
4923 * emacs-lisp/gv.el (window-buffer, window-display-table)
4924 (window-dedicated-p, window-hscroll, window-point, window-start):
4925 Fix gv-expander. (Bug#17630)
4927 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4929 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
4932 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
4933 for the single comma, since ", " is *very* common in normal French text
4936 2014-06-02 Glenn Morris <rgm@gnu.org>
4938 * emacs-lisp/package.el (package-check-signature)
4939 (package-unsigned-archives): Fix :version.
4941 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * subr.el (sit-for): Don't run input-methods (bug#15614).
4945 2014-06-02 Glenn Morris <rgm@gnu.org>
4947 * cus-start.el: Fix some :version numbers.
4949 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * simple.el (deactivate-mark): Set mark-active to nil even if
4952 deactivation is done via setting transient-mark-mode to nil,
4953 since one is buffer-local and the other is global.
4955 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
4956 there can't be more than 2 arguments (bug#17584).
4958 2014-06-02 Glenn Morris <rgm@gnu.org>
4960 * simple.el (filter-buffer-substring-functions)
4961 (filter-buffer-substring-function, buffer-substring-filters)
4962 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
4964 * minibuffer.el (completion-in-region-functions, completion-in-region)
4965 (completion--in-region): Doc fixes.
4967 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
4968 (expand-abbrev, abbrev--default-expand): Doc fixes.
4970 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
4972 Include sources used to create macuvs.h.
4973 * international/README: Refer to the Unicode Terms of Use rather
4974 than copying it bodily here, as that simplifies maintenance.
4976 2014-06-01 Glenn Morris <rgm@gnu.org>
4978 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
4980 2014-05-31 Glenn Morris <rgm@gnu.org>
4982 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
4984 2014-05-30 Glenn Morris <rgm@gnu.org>
4986 * loadup.el: Treat `command-line-args' more flexibly.
4988 2014-05-30 Alan Mackenzie <acm@muc.de>
4990 Guard (looking-at "\\s!") from XEmacs.
4991 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
4993 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
4995 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
4996 The argument COUNT is now optional, to be more backward-compatible.
4997 Doc fix. (Bug#17560)
4999 2014-05-29 Reuben Thomas <rrt@sc3d.org>
5001 * whitespace.el (whitespace-report-region):
5002 Simplify documentation.
5003 (whitespace-report-region): Allow report-if-bogus to take the
5004 value `never', for non-interactive use.
5005 (whitespace-report): Refer to whitespace-report-region's
5008 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * whitespace.el: Use font-lock-flush. Minimize refontifications.
5011 Side benefit: it works without jit-lock.
5012 (whitespace-point--used): New buffer-local var.
5013 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
5014 (whitespace-color-off): Use font-lock-flush.
5015 (whitespace-point--used, whitespace-point--flush-used): New functions.
5016 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5017 (whitespace-empty-at-eob-regexp): Use them.
5018 (whitespace-post-command-hook): Rewrite.
5020 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
5021 (font-lock-fontify-buffer): Mark interactive-only.
5022 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
5024 (font-lock-specified-p): Remove redundant boundp check.
5025 (font-lock-flush-function, font-lock-ensure-function): New vars.
5026 (font-lock-turn-on-thing-lock): Set them.
5027 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
5028 (font-lock-after-change-function): Make `old-len' optional.
5029 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
5030 Call font-lock-flush, just in case.
5031 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
5033 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
5034 (vera-mode-map, vera-mode-menu): Remove bindings to it.
5035 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
5036 and with-syntax-table.
5037 * textmodes/conf-mode.el (conf-quote-normal):
5038 * progmodes/sh-script.el (sh-set-shell):
5039 * progmodes/prog-mode.el (prettify-symbols-mode):
5040 * progmodes/f90.el (f90-font-lock-n):
5041 * progmodes/cwarn.el (cwarn-mode):
5042 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
5043 * progmodes/compile.el (compilation-setup, compilation--unsetup):
5044 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
5045 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
5046 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
5047 font-lock-fontify-buffer-function and
5048 font-lock-unfontify-buffer-function.
5049 (rmail-unfontify-buffer-function, rmail-fontify-message):
5050 Use with-silent-modifications.
5051 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
5052 and font-lock-ensure.
5053 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
5055 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
5057 * emacs-lisp/package.el (package-generate-autoloads):
5058 Inhibit backup files.
5060 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5062 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
5065 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
5067 * textmodes/tildify.el (tildify-buffer, tildify-region):
5068 Add dont-ask option.
5070 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5072 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
5073 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
5075 * subr.el (internal--funcall-interactively): New.
5076 (internal--call-interactively): Remove.
5077 (called-interactively-p): Detect funcall-interactively instead of
5079 * simple.el (repeat-complex-command): Use funcall-interactively.
5080 (repeat-complex-command--called-interactively-skip): Remove.
5082 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5084 * register.el (register-read-with-preview): Don't burp on
5085 frame switches (e.g. due to the frame we just popped).
5087 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
5088 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
5090 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
5092 * cus-face.el (custom-face-attributes): Add :distant-foreground.
5094 2014-05-26 Martin Rudalics <rudalics@gmx.at>
5096 * window.el (window--dump-frame): Remove interactive specification.
5098 2014-05-26 Glenn Morris <rgm@gnu.org>
5100 * hippie-exp.el (he-line-search-regexp):
5101 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
5103 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5105 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
5106 to avoid errors when trying to create or visit a file foo.todo
5107 located outside to todo-directory, and to allow having such files
5108 without them being tied to Todo mode (bug#17482).
5109 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
5110 (todo-archive-done-item, todo-find-filtered-items-file)
5111 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
5112 (todo-category-completions, todo-read-category): When visiting a
5113 Todo file, make sure we're in the right mode and the buffer local
5115 (todo-make-categories-list, todo-reset-nondiary-marker)
5116 (todo-reset-done-string, todo-reset-comment-string):
5117 After processing all Todo files, kill the buffers of those files that
5118 weren't being visited before the processing.
5119 (todo-display-as-todo-file, todo-add-to-buffer-list)
5120 (todo-visit-files-commands): Comment out.
5121 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
5122 (auto-mode-alist): Remove add-to-list calls making Todo file
5123 extensions unrestrictedly tied to Todo modes.
5125 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
5128 (advice-function-member-p): Tell it to check both names and functions
5130 (advice--add-function): Adjust call accordingly.
5132 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
5134 * calendar/todo-mode.el: Miscellaneous bug fixes.
5135 (todo-delete-file): When deleting an archive but not its todo
5136 file, make sure to update the todo file's category sexp.
5137 (todo-move-category): Keep the moved category's name unless the
5138 file moved to already has a category with that name. If the
5139 numerically last category of the source file was moved, make the
5140 first category current to avoid selecting a nonexisting category.
5141 (todo-merge-category): Fix implementation to make merging to a
5142 category in another file work as documented. Eliminate now
5143 insufficient and unnecessary renaming of archive category, correct
5144 document string accordingly, and clarify it. If the numerically
5145 last category of the source file was merged, make the first
5146 category current to avoid selecting a nonexisting category.
5147 (todo-archive-done-item): When there are marked items and point
5148 happens to be on an unmarked item, ignore the latter. Don't leave
5149 point below last item after archiving marked items.
5150 (todo-unarchive-items): Fix logic to ensure unarchiving an item
5151 from an archive with only one category deletes the archive only
5152 when the category is empty after unarchiving. Make sure the todo
5153 file's category sexp is updated.
5154 (todo-read-file-name): Allow an existing file name even when it is
5155 not required (todo-move-category needs this to work as documented).
5156 (todo-add-file): Call todo-validate-name to reject the name of an
5157 existing todo file (needed due to fix in todo-read-file-name).
5158 (todo-reset-nondiary-marker): Also reset in filtered items files.
5159 (todo-reset-done-string, todo-reset-comment-string): Also reset in
5160 regexp filtered items files.
5161 (todo-reset-highlight-item): Also reset in filtered items files.
5162 Fix incorrect variable reference in document string.
5164 2014-05-26 Glenn Morris <rgm@gnu.org>
5166 * window.el (window--dump-frame): Avoid error in --without-x builds.
5168 2014-05-26 Glenn Morris <rgm@gnu.org>
5170 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
5172 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5174 * frame.el (set-frame-font): Doc fix.
5176 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
5178 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
5180 * emacs-lisp/package.el (package--download-one-archive):
5181 Use `write-region' instead of `save-buffer' to avoid running various
5183 (describe-package-1): Same. Insert newline at the end of the
5184 buffer if appropriate.
5186 2014-05-26 Juri Linkov <juri@jurta.org>
5188 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
5189 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
5190 Add more modifiers: meta, control, shift, hyper, super, alt.
5193 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
5194 to allow changing its value with `set-variable'.
5196 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5198 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
5200 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
5202 (scheme-mode-variables): Set syntax-propertize-function instead of
5203 font-lock-syntactic-face-function.
5204 (scheme-font-lock-syntactic-face-function): Delete.
5206 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
5208 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
5211 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5213 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
5214 for a temporary file name.
5216 2014-05-26 Eli Zaretskii <eliz@gnu.org>
5218 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
5220 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
5222 * net/dbus.el (dbus-init-bus, dbus-call-method)
5223 (dbus-call-method-asynchronously, dbus-send-signal)
5224 (dbus-method-return-internal, dbus-method-error-internal):
5225 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
5227 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5229 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
5230 methods which do not have a doc string. (Bug#17490)
5232 2014-05-25 Tassilo Horn <tsdh@gnu.org>
5234 * textmodes/reftex-ref.el (reftex-format-special): Make it work
5235 also for AMS Math's \eqref macro.
5237 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5239 Arrange to never byte-compile the generated -pkg.el file.
5241 * emacs-lisp/package.el (package-generate-description-file):
5242 Output first-line comment to set buffer-local var `no-byte-compile'.
5243 Suggested by Dmitry Gutov:
5244 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
5246 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
5248 Fix bug: Properly quote args to generated -pkg.el `define-package'.
5250 * emacs-lisp/package.el (package-generate-description-file):
5251 Inline `package--alist-to-plist'; rewrite to selectively
5252 quote alist values that are not self-quoting.
5253 (package--alist-to-plist): Delete func.
5255 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
5257 * term/xterm.el (xterm-function-map): Add mapping for shifted
5260 2014-05-24 Daniel Colascione <dancol@dancol.org>
5262 * progmodes/subword.el (subword-find-word-boundary): Move point to
5263 correct spot before search. (Bug#17580)
5265 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
5268 2014-05-24 Leo Liu <sdl.web@gmail.com>
5270 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
5272 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5274 * minibuffer.el (completion--sreverse): Remove.
5275 (completion--common-suffix): Use `reverse' instead.
5276 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
5278 2014-05-22 Glenn Morris <rgm@gnu.org>
5280 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
5282 2014-05-21 Daniel Colascione <dancol@dancol.org>
5284 * files.el (interpreter-mode-alist): Add mksh.
5286 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
5288 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
5289 mksh. Improve custom spec; allow regular expressions.
5290 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
5291 (sh-after-hack-local-variables): New function.
5292 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
5293 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
5295 (sh-canonicalize-shell): Rewrite to support regexes.
5297 2014-05-21 Leo Liu <sdl.web@gmail.com>
5299 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
5301 2014-05-19 Leo Liu <sdl.web@gmail.com>
5303 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
5305 2014-05-18 Glenn Morris <rgm@gnu.org>
5308 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
5310 2014-05-14 Sam Steingold <sds@gnu.org>
5312 * progmodes/python.el (python-shell-get-or-create-process):
5313 Do not bind `current-prefix-arg' so that C-c C-z does not talk
5314 back unless requested.
5316 2014-05-14 Glenn Morris <rgm@gnu.org>
5318 * subr.el (with-file-modes): New macro.
5319 * printing.el (pr-save-file-modes): Make obsolete.
5320 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
5321 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
5322 Add with-file-modes.
5323 * doc-view.el (doc-view-make-safe-dir):
5324 * epg.el (epg--start):
5325 * files.el (locate-user-emacs-file, make-temp-file)
5326 (backup-buffer-copy, move-file-to-trash):
5327 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
5328 * eshell/esh-util.el (eshell-with-private-file-modes)
5329 (eshell-make-private-directory):
5330 * net/browse-url.el (browse-url-mosaic):
5331 * obsolete/mailpost.el (post-mail-send-it):
5332 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
5333 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
5334 Use with-file-modes.
5336 * vc/emerge.el (emerge-make-temp-file): Simplify.
5338 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
5339 Stefan Monnier <monnier@iro.umontreal.ca>
5341 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
5344 2014-05-14 Glenn Morris <rgm@gnu.org>
5346 * vc/emerge.el (emerge-temp-file-prefix):
5347 Make pointless option obsolete.
5348 (emerge-temp-file-mode): Make non-functional option obsolete.
5350 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
5352 * net/browse-url.el (browse-url):
5353 Use `unhandled-file-name-directory' when setting `default-directory',
5354 in order to circumvent stalled remote connections. (Bug#17425)
5356 2014-05-14 Glenn Morris <rgm@gnu.org>
5358 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
5359 Optimize on Emacs, which has the relevant functions for ages.
5361 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5363 * simple.el (undo-make-selective-list): Obey undo-no-redo.
5365 2014-05-12 Sam Steingold <sds@gnu.org>
5367 * calendar/time-date.el (seconds-to-string): New function to
5368 pretty print time delay in seconds.
5370 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * mpc.el (mpc-format): Trim Date to the year.
5373 (mpc-songs-hashcons): Shorten the Date field.
5375 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
5376 into autoloading just because of a silly indirection.
5378 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
5380 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
5382 2014-05-12 Glenn Morris <rgm@gnu.org>
5384 * emacs-lisp/find-gc.el: Move to ../admin.
5386 * printing.el (pr-version):
5387 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
5389 * net/browse-url.el (browse-url-mosaic):
5390 Create /tmp/Mosaic.PID as a private file.
5392 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
5395 (advice--member-p): If name is given, only compare the name.
5396 (advice--remove-function): Don't stop at the first match.
5397 (advice--normalize-place): New function.
5398 (add-function, remove-function): Use it.
5399 (advice--add-function): Pass the name, if any, to
5400 advice--remove-function.
5402 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
5404 * electric.el (electric-indent-post-self-insert-function): Don't use
5405 `pos' after modifying the buffer (bug#17449).
5407 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
5409 * calendar/todo-mode.el (todo-insert-item-from-calendar):
5410 Correct argument list to conform to todo-insert-item--basic.
5412 2014-05-12 Glenn Morris <rgm@gnu.org>
5414 * files.el (cd-absolute): Test if directory is accessible
5415 rather than executable. (Bug#17330)
5417 * progmodes/compile.el (recompile):
5418 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
5420 * net/browse-url.el (browse-url-mosaic):
5421 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
5422 This is CVE-2014-3423.
5424 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * mouse.el: Use the normal toplevel loop while dragging.
5427 (mouse-set-point): Handle multi-clicks.
5428 (mouse-set-region): Handle multi-clicks for drags.
5429 (mouse-drag-region): Update call accordingly.
5430 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
5431 Use the normal event loop instead of a local while/read-event loop.
5432 (global-map): Remove redundant bindings for double/triple-mouse-1.
5433 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
5434 Generate synthetic down events when the protocol only sends up events.
5435 (xterm-mouse-last): Remove.
5436 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
5437 terminal parameter instead.
5438 (xterm-mouse--set-click-count): New function.
5439 (xterm-mouse-event): Detect/generate double/triple clicks.
5440 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
5442 * info.el (Info-quoted): New face.
5443 (Info-mode-font-lock-keywords): New var.
5444 (Info-mode): Use it.
5446 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
5447 are a hindrance for C-x C-e.
5449 2014-05-11 Leo Liu <sdl.web@gmail.com>
5451 * net/rcirc.el (rcirc-sentinel): Fix last change.
5453 2014-05-08 Sam Steingold <sds@gnu.org>
5455 * net/rcirc.el (rcirc-reconnect-delay): New user option.
5456 (rcirc-sentinel): Auto-reconnect to the server if
5457 `rcirc-reconnect-delay' is non-0 (but not more often than its
5458 value in case the host is off-line).
5460 2014-05-09 Eli Zaretskii <eliz@gnu.org>
5462 * progmodes/grep.el (lgrep): Fix a typo in last commit.
5464 2014-05-09 Glenn Morris <rgm@gnu.org>
5466 * files.el (file-expand-wildcards):
5467 * man.el (Man-support-local-filenames):
5468 * printing.el (pr-i-directory, pr-interface-directory):
5469 * progmodes/grep.el (lgrep, rgrep):
5470 * textmodes/ispell.el (ispell-call-process)
5471 (ispell-call-process-region, ispell-start-process)
5472 (ispell-init-process): Use file-accessible-directory-p.
5474 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5476 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
5477 (xterm-mouse--read-event-sequence-1000): Return nil if something
5479 (xterm-mouse-event): Propagate it.
5480 (xterm-mouse-translate-1): Handle it.
5482 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
5484 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
5485 four slots of the parameter list are filled, make sure to pass it
5486 to the argument list of todo-insert-item--basic.
5488 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
5491 Add optional `seen' argument to detect and break infinite loops.
5493 2014-05-08 Eli Zaretskii <eliz@gnu.org>
5495 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
5496 (trace-unsafe, trace-use-tree): Make parentheses style be
5497 according to Emacs style.
5499 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
5501 * net/tramp-sh.el (tramp-remote-process-environment):
5502 Remove HISTFILE and HISTSIZE; it's too late to set them here.
5504 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
5505 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
5506 extra "PSx=..." commands.
5507 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
5510 (tramp-uudecode): Replace the hard-coded temporary file name by a
5512 (tramp-remote-coding-commands): Enhance docstring.
5513 (tramp-find-inline-encoding): Replace "%t" by a temporary file
5515 This is CVE-2014-3424.
5517 2014-05-08 Glenn Morris <rgm@gnu.org>
5519 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
5520 (find-gc-source-files): Update some names.
5521 (trace-call-tree): Simplify and update.
5522 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
5523 This is CVE-2014-3422.
5525 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5527 * minibuffer.el (completion--try-word-completion): Revert fix for
5528 Bug#15980 (bug#17375).
5530 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
5531 Always store button numbers in the same way in xterm-mouse-last;
5532 Don't burp is xterm-mouse-last is not set as expected.
5533 Never return negative indices.
5535 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
5537 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5538 Backtrack one char if the global/char-literal var matcher hits
5539 inside a string. The next char could be the beginning of an
5540 expression expansion.
5542 2014-05-08 Glenn Morris <rgm@gnu.org>
5544 * help-fns.el (describe-function-1): Test for an autoload before a
5545 macro, since `macrop' works on autoloads. (Bug#17410)
5547 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * electric.el (electric-indent-functions-without-reindent): Add yaml.
5551 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
5552 Make sure the new point we return is within the new string (bug#17239).
5554 2014-05-05 Daniel Colascione <dancol@dancol.org>
5556 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5557 Port `gnu' pattern to rx.
5559 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
5561 Remove unneeded prompt when closing a buffer with active
5562 emacsclient ("Buffer ... still has clients"), #16548.
5563 * server.el (server-start): Remove the only call to:
5564 (server-kill-buffer-query-function): Remove.
5566 2014-05-04 Leo Liu <sdl.web@gmail.com>
5568 * calendar/diary-lib.el (calendar-chinese-month-name-array):
5569 Defvar to pacify compiler.
5571 2014-05-04 Eli Zaretskii <eliz@gnu.org>
5573 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
5575 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5577 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
5578 Use nil rather than `default' for the "default" appearance (bug#17388).
5579 * vc/ediff-util.el (ediff-inferior-compare-regions)
5580 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
5581 a misleading `default' value when it's really a boolean.
5582 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
5583 overlay is not visible.
5585 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5587 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
5588 (todo-menu): Uncomment and update.
5590 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
5592 * calendar/todo-mode.el: Reimplement item editing to have the same
5593 basic user interface as item insertion, and make small UI and
5594 larger internal improvements to the latter.
5595 (todo-insert-item): Add reference to the Todo mode user manual to
5596 the documentation string.
5597 (todo-insert-item--basic): Rename from todo-basic-insert-item and
5598 adjust all callers. Change signature to combine diary and
5599 nonmarking arguments. Incorporate functionality of deleted item
5600 copying command and add error checking. Remove detailed
5601 descriptions of the arguments from the documentation string, since
5602 this is treated in the Todo mode user manual.
5603 (todo-copy-item, todo-edit-multiline-item)
5604 (todo-edit-done-item-comment, todo-edit-item-header)
5605 (todo-edit-item-time, todo-edit-item-date-from-calendar)
5606 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
5607 (todo-edit-item-date-year, todo-edit-item-date-month)
5608 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
5610 (todo-edit-item): Reimplement as wrapper command for
5611 todo-edit-item--next-key and make it distinguish done and not done
5613 (todo-edit-item--text): New function, replacing old command
5614 todo-edit-item and incorporating deleted commands
5615 todo-edit-multiline-item and todo-edit-done-item-comment.
5616 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
5617 Use only numeric value of prefix argument. Remove detailed
5618 descriptions of the arguments from the documentation string, since
5619 this is treated in the Todo mode user manual.
5620 (todo-edit-item--diary-inclusion): New function, replacing old
5621 command todo-edit-item-diary-inclusion and incorporating and fixing
5622 functionality of deleted command todo-edit-item-diary-nonmarking,
5623 making sure to remove todo-nondiary-marker when adding
5624 diary-nonmarking-symbol.
5625 (todo-edit-category-diary-inclusion): Make sure to delete
5626 diary-nonmarking-symbol when adding todo-nondiary-marker.
5627 (todo-edit-category-diary-nonmarking): Fix indentation.
5628 (todo-insert-item--parameters): Group diary and nonmarking
5629 parameters together.
5630 (todo-insert-item--apply-args): Adjust to signature of
5631 todo-insert-item--basic and incorporate copy parameter.
5632 Make small code improvements.
5633 (todo-insert-item--next-param): Improve prompt and adjust it to
5634 new parameter grouping. Remove obsolete code.
5635 (todo-edit-item--param-key-alist)
5636 (todo-edit-item--date-param-key-alist)
5637 (todo-edit-done-item--param-key-alist): New defconsts.
5638 (todo-edit-item--prompt): New variable.
5639 (todo-edit-item--next-key): New function.
5640 (todo-key-bindings-t): Bind "e" to todo-edit-item.
5641 Remove bindings of deleted commands.
5643 2014-05-04 Leo Liu <sdl.web@gmail.com>
5645 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
5647 2014-05-04 Glenn Morris <rgm@gnu.org>
5649 * allout-widgets.el (allout-widgets-tally)
5650 (allout-decorate-item-guides):
5651 * menu-bar.el (menu-bar-positive-p):
5652 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5653 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
5654 * progmodes/js.el (js--inside-param-list-p)
5655 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
5656 * progmodes/prolog.el (region-exists-p):
5657 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
5658 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
5659 Doc fixes (replace `iff').
5661 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5663 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
5665 2014-05-04 Leo Liu <sdl.web@gmail.com>
5667 Support Chinese diary entries in calendar and diary. (Bug#17393)
5668 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
5669 (calendar-chinese-from-absolute-for-diary)
5670 (calendar-chinese-to-absolute-for-diary)
5671 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
5672 (diary-chinese-list-entries): New functions to list and mark
5673 Chinese diary entries in the calendar window.
5674 (diary-chinese-anniversary)
5675 (diary-chinese-insert-anniversary-entry)
5676 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
5677 (diary-chinese-insert-yearly-entry): New commands to insert
5678 Chinese diary entries.
5680 * calendar/diary-lib.el (diary-font-lock-keywords):
5681 Support font-locking Chinese dates.
5683 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
5684 inserting Chinese diary entries.
5686 * calendar/calendar.el (diary-chinese-entry-symbol):
5687 New customizable variable.
5688 (calendar-mode-map): Add bindings for inserting Chinese diary
5691 2014-05-03 Juri Linkov <juri@jurta.org>
5693 * dired.el (dired-check-switches, dired-switches-recursive-p):
5694 New functions. (Bug#17218)
5695 (dired-switches-escape-p, dired-move-to-end-of-filename):
5696 Use `dired-check-switches'.
5697 (dired-insert-old-subdirs, dired-build-subdir-alist)
5698 (dired-sort-R-check): Use `dired-switches-recursive-p'.
5700 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
5702 * simple.el (undo-make-selective-list): New algorithm fixes
5703 incorrectness of position adjustments when undoing in region.
5705 (undo-elt-crosses-region): Make obsolete.
5706 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
5707 New functions to adjust positions using undo-deltas.
5709 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5711 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
5712 the last consecutive closing paren (bug#17345).
5714 2014-04-30 Reuben Thomas <rrt@sc3d.org>
5716 * dired.el (dired-mode): make terminology for eXpunge command
5717 consistent. (Bug#17276)
5719 2014-04-30 Eli Zaretskii <eliz@gnu.org>
5721 * dired.el (dired-initial-position-hook, dired-initial-position):
5724 2014-04-30 Glenn Morris <rgm@gnu.org>
5726 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
5728 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
5730 * faces.el (face-spec-recalc): Apply X resources only after the
5731 defface spec has been applied. Thus, X resources are no longer
5732 overriden by the defface spec which also fixes issues on win32 where
5733 the toolbar coloring was wrong because it is set through X resources
5734 and was (wrongfully) overriden. (Bug#16694)
5736 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
5738 * textmodes/rst.el (electric-pair-pairs): Declare.
5739 (rst-mode): Set it (bug#17131).
5741 2014-04-30 Juri Linkov <juri@jurta.org>
5743 * desktop.el (desktop-value-to-string): Let-bind `print-length'
5744 and `print-level' to nil. (Bug#17351)
5746 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5748 * battery.el (battery-update): Handle the case where battery
5749 status is "N/A" (bug#17319).
5751 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5753 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
5754 to syntax-propertize.
5755 (ps-mode-auto-indent): Mark as obsolete.
5756 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
5757 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
5758 word regexp operators.
5759 (ps-mode-map): Move initialization into declaration. Remove binding
5760 for TAB, RET, >, ], and }.
5761 (ps-mode-syntax-table): Move initialization into declaration.
5762 Don't give word syntax to non-word chars.
5763 (ps-run-mode-map): Move initialization into declaration.
5764 (ps-mode-menu-main): Remove auto-indent entry.
5765 (ps-mode-smie-rules): New function.
5766 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
5767 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
5768 (ps-mode--string-syntax-table): New const.
5769 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
5771 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
5772 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
5774 2014-04-27 Daniel Colascione <dancol@dancol.org>
5776 * term/xterm.el (xterm-paste): Use large finite timeout when
5777 reading event to avoid putting keys in this-command-keys.
5779 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5781 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
5782 (perl-syntax-propertize-function): Use it. Extend handling of
5783 here-docs to the unquoted case.
5785 2014-04-25 Eli Zaretskii <eliz@gnu.org>
5787 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
5788 Use equal-including-properties to compare help-echo strings (bug#17331).
5790 2014-04-25 Leo Liu <sdl.web@gmail.com>
5792 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5793 Fix syntax for @. (Bug#17325)
5795 2014-04-25 Daniel Colascione <dancol@dancol.org>
5797 * emacs-lisp/cl.el (gv): Require gv early to break eager
5798 macro-expansion cycles.
5800 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * simple.el (region-active-p): Check there's a mark (bug#17324).
5804 * simple.el (completion-list-mode-map): Use choose-completion for the
5805 mouse binding as well (bug#17302).
5806 (completion-list-mode, completion-setup-function): Adjust docstring and
5807 echo area message accordingly.
5808 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
5809 calling convention of choose-completion.
5810 * comint.el (comint-dynamic-list-completions):
5811 * term.el (term-dynamic-list-completions): Accept choose-completion.
5813 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
5814 &, |, +, - and * can't be a division (bug#17317).
5816 * term/xterm.el (xterm--version-handler): Don't use modern xterm
5817 features on gnome-terminal (bug#16988).
5819 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
5821 Improve Scheme font-locking for (define ((foo ...) ...) ...).
5823 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
5824 the declared object, ignore zero or more parens, not zero or one.
5826 2014-04-24 Leo Liu <sdl.web@gmail.com>
5828 * progmodes/xscheme.el (xscheme-expressions-ring)
5829 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
5830 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
5831 (xscheme-allow-output-p, xscheme-prompt)
5832 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
5834 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
5835 Comment out unused functions.
5837 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * info.el: Use lexical-binding and cl-lib.
5840 Use defvar-local and setq-local instead of make-local-variable.
5841 (Info-apropos-matches): Avoid add-to-list.
5842 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
5844 2014-04-24 Daniel Colascione <dancol@dancol.org>
5846 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
5848 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5850 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
5852 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
5854 * dired.el (dired-insert-set-properties): Do not consider
5855 subdirectory headings and empty lines to be information that
5856 `dired-hide-details-mode' should hide. (Bug#17228)
5858 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
5860 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5861 Remove test messages.
5862 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
5865 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5867 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
5868 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
5870 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
5872 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
5874 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5875 Set "IFS=" when using read builtin, in order to preserve spaces in
5876 the file name. Add test messages for hunting a bug on hydra.
5877 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
5879 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
5882 Don't prettify a word within a symbol.
5884 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
5886 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
5889 2014-04-22 Daniel Colascione <dancol@dancol.org>
5891 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
5892 use defun to define `function-put'.
5894 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
5897 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
5898 (lisp-mode-variables): Set font-lock-extra-managed-props.
5900 * emacs-lisp/byte-run.el (function-put): New function.
5901 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
5902 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
5903 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
5906 2014-04-22 Daniel Colascione <dancol@dancol.org>
5908 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
5909 Add `full-p' parameter; when nil, call `macroexpand' instead of
5912 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
5915 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5916 Use lambda function values, not quoted lambdas.
5917 (byte-compile-recurse-toplevel): Remove extraneous &optional.
5919 * emacs-lisp/cl-macs.el
5920 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
5921 (cl-struct-slot-value): Conditionally use aref or nth so that the
5922 compiler produces optimal code.
5924 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5926 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
5927 (inline): Don't inline cl--set-elt.
5928 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
5929 Define as inlinable instead.
5930 (cl-struct-set-slot-value): Remove.
5932 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
5933 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
5936 2014-04-21 Daniel Colascione <dancol@dancol.org>
5938 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
5939 last two parameters after all.
5940 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
5941 (cl--compiler-macro-assoc,cl-struct-slot-value)
5942 (cl-struct-set-slot-value): Stop using them.
5944 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5946 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
5947 entry in image-mode-winprops-alist.
5949 2014-04-21 Daniel Colascione <dancol@dancol.org>
5951 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
5952 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
5953 (byte-compile-toplevel-file-form): Use it.
5955 * emacs-lisp/cl-macs.el:
5956 (cl--loop-let): Properly destructure `while' clauses.
5958 2014-04-20 Daniel Colascione <dancol@dancol.org>
5960 * vc/vc.el (vc-root-dir): New public autoloaded function for
5961 generically finding the current VC root.
5962 * vc/vc-hooks.el (vc-not-supported): New error.
5963 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
5965 2014-04-20 Daniel Colascione <dancol@dancol.org>
5967 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
5969 (cl--const-expr-val): cl--const-expr-val should macroexpand its
5970 argument in case we're inside a symbol-macrolet.
5971 (cl--do-arglist, cl--compiler-macro-typep)
5972 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
5973 environment to `cl--const-expr-val'.
5974 (cl-struct-sequence-type,cl-struct-slot-info)
5975 (cl-struct-slot-offset, cl-struct-slot-value)
5976 (cl-struct-set-slot-value): New functions.
5978 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5980 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
5981 assignments such as "case=hello" (bug#17297).
5983 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
5985 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
5987 (tramp-file-name-handler, tramp-completion-file-name-handler):
5988 Revert patch from 2014-04-10, it isn't necessary anymore.
5989 (tramp-autoload-file-name-handler)
5990 (tramp-register-autoload-file-name-handlers): New defuns.
5991 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
5992 (tramp-register-file-name-handlers): Remove also
5993 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
5994 Do not autoload its invocation, but eval it after loading of 'tramp.
5996 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
5998 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
6000 2014-04-17 Daniel Colascione <dancol@dancol.org>
6002 Add support for bracketed paste mode; add infrastructure for
6003 managing terminal mode enabling and disabling automatically.
6006 (xterm-mouse-mode): Simplify.
6007 (xterm-mouse-tracking-enable-sequence)
6008 (xterm-mouse-tracking-disable-sequence): New constants.
6009 (turn-on-xterm-mouse-tracking-on-terminal)
6010 (turn-off-xterm-mouse-tracking-on-terminal):
6011 Use tty-mode-set-strings and tty-mode-reset-strings terminal
6012 parameters instead of random hooks.
6013 (turn-on-xterm-mouse-tracking)
6014 (turn-off-xterm-mouse-tracking): Delete.
6016 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
6017 (xterm-paste-ending-sequence): New constant.
6018 (xterm-paste): New command used for bracketed paste support.
6020 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
6021 (terminal-init-xterm-bracketed-paste-mode): New function.
6022 (terminal-init-xterm): Call it.
6023 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
6024 and tty-mode-reset-strings instead of random hooks.
6025 (xterm-turn-on-modify-other-keys)
6026 (xterm-turn-off-modify-other-keys)
6027 (xterm-remove-modify-other-keys): Delete obsolete functions.
6029 * term/screen.el: Rewrite to just use the xterm code.
6030 Add copyright notice. Mention tmux.
6032 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
6034 * image-mode.el (image-mode-window-put): Also update the property of
6035 the "default window".
6036 * doc-view.el (doc-view-new-window-function): If no window
6037 exists, move to the last known page.
6039 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
6042 here-documents (bug#17262).
6044 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6046 * term/pc-win.el (x-list-fonts, x-get-selection-value):
6047 Provide doc strings, as required by snarf-documentation.
6049 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
6052 arg of overlays-at. Use `invisible-p'.
6054 * obsolete/lucid.el (extent-at):
6055 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
6057 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
6059 2014-04-16 João Távora <joaotavora@gmail.com>
6061 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
6064 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6066 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
6067 Use mapc to loop over a vector. (Bug#17257).
6069 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
6071 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
6072 patch, there are new problems with file names containing spaces.
6073 Get rid of backticks. (Bug#17238)
6075 2014-04-16 João Távora <joaotavora@gmail.com>
6077 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
6080 2014-04-16 Eli Zaretskii <eliz@gnu.org>
6082 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
6083 (blink-cursor-mode): Mention customization variables and the
6084 effect of 'blink-cursor-blinks'.
6086 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
6088 * simple.el (undo): Prevent insertion of identity mapping into
6089 undo-equiv-table so as undo-only does not inf loop in the presence
6090 of consecutive nils in undo list.
6092 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
6094 * faces.el (make-face): Deprecate optional argument as it is no
6095 longer needed/used since the conditional X resources handling
6096 has been pushed down to make-face-x-resource-internal itself.
6097 (make-empty-face): Don't pass optional argument to make-face.
6099 2014-04-16 Karl Fogel <kfogel@red-bean.com>
6101 * savehist.el (savehist-save): Remove workaround for a read-passwd
6102 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
6103 noticing that the shim was still present.
6105 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6107 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
6109 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
6111 * faces.el (face-set-after-frame-default): Remove unused local variable.
6113 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6115 * progmodes/grep.el: Use lexical-binding.
6116 (grep-expand-template): Pass explicit lexical env to `eval'.
6117 (zrgrep): Let-bind grep-find-template explicitly.
6119 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
6120 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
6122 2014-04-12 Eli Zaretskii <eliz@gnu.org>
6124 * international/characters.el <standard-case-table>: Add entries
6125 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
6126 Set category of Coptic characters be 'g' (Greek).
6128 2014-04-12 Leo Liu <sdl.web@gmail.com>
6130 * progmodes/octave.el (completion-table-with-cache):
6131 Define if not available.
6132 (octave-goto-function-definition, octave-sync-function-file-names)
6133 (octave-find-definition-default-filename):
6134 Backquote upattern for compatibility.
6136 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
6138 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
6139 name twice due to backticks. (Bug#17238)
6141 2014-04-12 Glenn Morris <rgm@gnu.org>
6143 * term/w32-win.el (x-win-suspend-error):
6144 * term/x-win.el (x-win-suspend-error): Sync docs.
6146 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
6148 * faces.el (make-face): Remove deprecated optional argument.
6149 The conditional application of X resources is handled directly by
6150 make-face-x-resource-internal since Emacs 24.4.
6151 (make-empty-face): Don't pass optional argument to make-face.
6153 2014-04-11 Glenn Morris <rgm@gnu.org>
6155 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
6157 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6159 Ediff's overlay priorities cause more trouble than they solve.
6160 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
6161 (ediff-highest-priority): Remove function (bug#17234).
6162 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
6163 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
6164 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
6167 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
6169 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
6170 entry; use symbol boundaries to avoid mis-matches.
6172 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
6174 * net/tramp.el (tramp-file-name-handler)
6175 (tramp-completion-file-name-handler): Avoid recursive loading.
6177 * net/tramp-sh.el (tramp-make-copy-program-file-name):
6178 Quote result also locally.
6180 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6182 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
6183 Remove left-over code.
6185 * newcomment.el (comment-indent-new-line): Sink code where it's used.
6186 Reuse the previous comment's indentation unconditionally if it's on its
6189 2014-04-09 Daniel Colascione <dancol@dancol.org>
6191 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
6192 `no-syntax-crossing' arguments. Forward to `up-list'.
6193 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
6194 Implement logic for escaping from strings. Use narrowing to deal
6197 2014-04-09 Leo Liu <sdl.web@gmail.com>
6199 * net/rcirc.el (rcirc-connection-info): New variable.
6200 (rcirc-connect): Use it to store connection info.
6201 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
6203 (rcirc-cmd-reconnect): New command. (Bug#17045)
6204 (rcirc-mode, set-rcirc-encode-coding-system)
6205 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
6207 2014-04-09 Daniel Colascione <dancol@dancol.org>
6209 * emacs-lisp/cl-indent.el: Add comment claiming
6210 facility is also good for elisp.
6211 (lisp-indent-find-method): New function.
6212 (common-lisp-indent-function): Recognize cl-loop.
6213 (common-lisp-indent-function-1): Recognize cl constructs; use
6214 `lisp-indent-find-method' instead of `get' directly.
6215 (if): Use else-body style for elisp.
6217 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
6219 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6220 Module methods. (Bug#17216)
6222 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * help.el (describe-bindings): Fix buffer handling (bug#17210).
6225 (describe-bindings-internal): Mark obsolete.
6227 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
6229 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
6230 buffer-file-name, and buffer-file-truename any more.
6232 2014-04-08 Leo Liu <sdl.web@gmail.com>
6234 Use lexical-binding and require cl-lib.
6235 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
6236 (rcirc-handler-generic, rcirc-fill-paragraph)
6237 (rcirc-format-response-string, rcirc-target-buffer)
6238 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
6239 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
6240 (rcirc-ctcp-sender-PING, rcirc-browse-url)
6241 (rcirc-markup-timestamp, rcirc-markup-attributes)
6242 (rcirc-markup-my-nick, rcirc-markup-urls)
6243 (rcirc-markup-bright-nicks, rcirc-markup-fill)
6244 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
6245 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
6246 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
6247 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
6248 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
6249 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
6250 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
6251 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
6252 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
6253 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
6256 2014-04-07 João Távora <joaotavora@gmail.com>
6258 * elec-pair.el (electric-pair--syntax-ppss):
6259 When inside comments parse from comment beginning.
6260 (electric-pair--balance-info): Fix typo in comment.
6261 (electric-pair--in-unterminated-string-p): Delete.
6262 (electric-pair--unbalanced-strings-p): New function.
6263 (electric-pair-string-bound-function): New var.
6264 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6265 according to `electric-pair--in-unterminated-string-p'
6267 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6268 Inhibit quote pairing if point-max is inside an unterminated string.
6269 (electric-pair--looking-at-unterminated-string-p): Delete.
6270 (electric-pair--in-unterminated-string-p): New function.
6272 2014-04-07 Glenn Morris <rgm@gnu.org>
6274 * shell.el (shell-directory-tracker):
6275 Go back to just ignoring failures. (Bug#17159)
6277 2014-04-07 João Távora <joaotavora@gmail.com>
6279 Fix `electric-pair-delete-adjacent-pairs' in modes binding
6280 backspace. (bug#16981)
6281 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6282 (electric-pair-backward-delete-char-untabify): Delete.
6283 (electric-pair-mode-map): Bind backspace to a menu item filtering
6284 a new `electric-pair-delete-pair' command.
6285 (electric-pair-delete-pair): New command.
6287 * progmodes/python.el (python-electric-pair-string-delimiter):
6288 Fix triple-quoting electricity. (Bug#17192)
6290 * elec-pair.el (electric-pair-post-self-insert-function):
6291 Don't skip whitespace when `electric-pair-text-pairs' and
6292 `electric-pair-pairs' were used. syntax to
6293 electric-pair--skip-whitespace. (Bug#17183)
6295 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6297 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
6300 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
6303 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
6305 2014-04-07 Glenn Morris <rgm@gnu.org>
6307 * help.el (view-lossage): Doc tweak.
6309 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
6311 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
6312 only when inhibit-x-resources is nil, and do that earlier in the
6313 function. Doc fix. (Bug#16694)
6314 (face-spec-choose): Accept additional optional argument, whose
6315 value is returned if no matching attributes are found.
6316 (face-spec-recalc): Use the new optional argument when calling
6317 face-spec-choose. (Bug#16378)
6318 (make-face-x-resource-internal): Do nothing when
6319 inhibit-x-resources is non-nil. Don't touch the default face if
6320 reversed video is given--as was done in previous versions of Emacs.
6321 (face-set-after-frame-default): Don't call
6322 make-face-x-resource-internal here. (Bug#16434)
6324 2014-04-07 Tassilo Horn <tsdh@gnu.org>
6326 * doc-view.el (doc-view-bookmark-jump):
6327 Use `bookmark-after-jump-hook' to jump to the right page after the
6328 buffer is shown in a window. (bug#16090)
6330 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6332 * international/characters.el (mirroring): Fix last change:
6333 instead of loading uni-mirrored.el explicitly, do that implicitly
6334 by creating the 'mirroring' uniprop table. This avoids announcing
6335 the loading of uni-mirrored.el.
6337 2014-04-07 Glenn Morris <rgm@gnu.org>
6339 * files.el (buffer-stale--default-function)
6340 (buffer-stale-function, revert-buffer--default):
6341 * autorevert.el (auto-revert-buffers): Doc tweaks.
6343 2014-04-07 Eli Zaretskii <eliz@gnu.org>
6345 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
6347 2014-04-07 Glenn Morris <rgm@gnu.org>
6349 * files.el (make-backup-file-name-function)
6350 (make-backup-file-name, make-backup-file-name--default-function)
6351 (make-backup-file-name-1, find-backup-file-name)
6352 (revert-buffer-function, revert-buffer-insert-file-contents-function)
6353 (buffer-stale--default-function, buffer-stale-function)
6354 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
6355 (revert-buffer, revert-buffer--default)
6356 (revert-buffer-insert-file-contents--default-function):
6357 Doc fixes related to defaults no longer being nil.
6358 (make-backup-file-name-function): Bump :version.
6359 Restore nil as a valid but deprecated custom type.
6361 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
6363 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6364 Handle $' used as a variable (bug#17174).
6366 * progmodes/perl-mode.el (perl-indent-new-calculate):
6367 Handle forward-sexp failure (bug#16985).
6368 (perl-syntax-propertize-function): Add "foreach" and "for" statement
6369 modifiers introducing expressions (bug#17116).
6371 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
6373 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
6375 2014-04-05 Leo Liu <sdl.web@gmail.com>
6377 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6378 Add define-compilation-mode.
6380 2014-04-04 João Távora <joaotavora@gmail.com>
6382 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
6383 parse from comment beginning.
6384 (electric-pair--balance-info): Fix typo in comment.
6385 (electric-pair--in-unterminated-string-p): Delete.
6386 (electric-pair--unbalanced-strings-p): New function.
6387 (electric-pair-string-bound-function): New var.
6388 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
6389 according to `electric-pair--in-unterminated-string-p'.
6391 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6393 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
6394 Move declaration before first use.
6395 (reftex-move-to-next-arg): Silence compiler warning.
6397 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
6399 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
6400 Use `window-total-width' instead of `window-width'.
6402 2014-04-03 Daniel Colascione <dancol@dancol.org>
6404 * subr.el (set-transient-map): Remove rms's workaround entirely;
6405 use new `suspicious-object' subr to mark our lambda for closer
6408 2014-04-02 Richard Stallman <rms@gnu.org>
6410 * subr.el (set-transient-map): Comment out previous change.
6412 2014-04-02 Glenn Morris <rgm@gnu.org>
6414 * menu-bar.el (menu-bar-file-menu):
6415 * vc/ediff.el (ediff-current-file):
6416 Update for revert-buffer-function no longer being nil by default.
6418 * simple.el (command-execute): Respect nil disabled-command-function.
6420 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6422 * simple.el (command-execute): Do not execute the command when it
6423 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
6425 2014-04-02 Juri Linkov <juri@jurta.org>
6427 * dired-aux.el (dired-compress-file): Don't use string-match-p
6428 because its match data is used afterwards.
6430 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
6432 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
6435 2014-04-02 João Távora <joaotavora@gmail.com>
6437 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
6438 Inhibit quote pairing if point-max is inside an unterminated string.
6439 (electric-pair--looking-at-unterminated-string-p):
6441 (electric-pair--in-unterminated-string-p): New function.
6443 2014-04-01 Daniel Colascione <dancol@dancol.org>
6445 * minibuffer.el (minibuffer-complete): Prevent assertion failure
6446 when trying to complete the prompt.
6448 2014-03-31 Leo Liu <sdl.web@gmail.com>
6450 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6451 Refactor out eldoc-documentation-function-default.
6452 (eldoc-documentation-function-default): New function.
6453 (eldoc-documentation-function): Change value.
6455 2014-03-31 Glenn Morris <rgm@gnu.org>
6457 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
6459 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
6460 (vhdl-compose-components-package, vhdl-compose-configuration):
6461 Abbreviate default-directory (missing from some previous upstream sync).
6463 2014-03-31 Reto Zimmermann <reto@gnu.org>
6465 Sync with upstream vhdl mode v3.35.2.
6466 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6467 (top-level): No longer require assoc.
6468 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
6469 New functions. Use throughout to replace aget etc.
6470 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
6471 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
6472 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
6473 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
6474 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
6475 except `vhdl-compiler'.
6476 (vhdl-error-regexp-add-emacs): Remove all other compilers,
6479 2014-03-31 Glenn Morris <rgm@gnu.org>
6481 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
6482 Revert 2014-03-26 merge goof; go back to using defalias.
6484 2014-03-30 Daniel Colascione <dancol@dancol.org>
6486 * comint.el (comint-send-input):
6487 Deactivate completion-in-region-mode before we send comint input.
6490 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
6493 2014-03-29 Glenn Morris <rgm@gnu.org>
6495 * textmodes/reftex.el: Manage most autoloads automatically.
6496 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
6497 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
6498 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
6499 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
6500 * textmodes/reftex-toc.el: Set generated-autoload-file,
6501 and add autoload cookies for reftex.el.
6502 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
6504 2014-03-28 Glenn Morris <rgm@gnu.org>
6506 * cus-start.el (report-emacs-bug-address): Set custom properties.
6507 * mail/emacsbug.el (report-emacs-bug-address):
6508 Variable is now defined in emacs.c.
6510 * mail/emacsbug.el (report-emacs-bug):
6511 Include system-configuration-features.
6513 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
6515 * simple.el (cycle-spacing): Never delete spaces on first run by
6516 default, but do so in a new 'fast mode and if there are already
6517 N spaces (the previous behavior).
6518 Compare N with its value in previous invocation so that changing
6519 prefix argument restarts `cycle-spacing' sequence.
6520 The idea is that with this change, binding M-SPC to
6521 `cycle-spacing' should not introduce any changes in behavior of
6522 the binding so long as users do not type M-SPC twice in a raw with
6523 the same prefix argument or lack thereof.
6525 2014-03-28 Glenn Morris <rgm@gnu.org>
6527 * faces.el (term-file-aliases): New variable.
6528 (tty-run-terminal-initialization): Respect term-file-aliases.
6529 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
6530 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
6531 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
6533 2014-03-27 Glenn Morris <rgm@gnu.org>
6535 * startup.el (inhibit-startup-hooks): Doc tweak.
6536 (normal-top-level): Simplify running of hooks.
6537 For window-setup-hook, respect inhibit-startup-hooks.
6538 (command-line-1): Don't set window-setup-hook to nil.
6540 Allow selective autoloading from obsolete/ directory.
6541 * Makefile.in (obsolete-autoloads): New rule.
6542 (autoloads): Run obsolete-autoloads.
6543 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
6544 * simple.el (iswitchb-mode): Remove hand-written autoloads.
6546 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
6548 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6549 Highlight special globals with font-lock-builtin-face. (Bug#17057)
6551 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6552 Don't propertize `?' or `!' as symbol constituent when after
6555 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
6557 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
6558 which is no longer needed and causes trouble in GTK builds (bug#17046).
6560 * emacs-lisp/package-x.el (package--archive-contents-from-url):
6561 Use url-insert-file-contents; package-handle-response no longer exists.
6563 2014-03-26 Daniel Colascione <dancol@dancol.org>
6565 * simple.el (process-menu-mode-map): New variable.
6566 (process-menu-delete-process): New command.
6568 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6570 * emacs-lisp/package.el: Fix bug#16733 (again).
6571 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
6572 (url-http-target-url): Remove unused declarations.
6573 (package-handle-response): Remove.
6574 (package--with-work-buffer): Use url-insert-file-contents and simplify.
6575 (package--download-one-archive): Use current-buffer instead of
6576 dynamic binding of `buffer'.
6577 (describe-package-1): Do not decode readme-string.
6579 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
6581 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
6583 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
6584 from 2014-03-07, it decreases performance unnecessarily. Let-bind
6585 `remote-file-name-inhibit-cache' to nil in the second pass.
6586 (tramp-find-executable): Do not call "which" on SunOS.
6587 (tramp-send-command-and-check): Fix docstring.
6588 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
6589 check whether source directory has set the sticky bit.
6591 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
6593 * simple.el (primitive-undo): Only process marker adjustments
6594 validated against their corresponding (TEXT . POS). Issue warning
6595 for lone marker adjustments in undo history. (Bug#16818)
6596 (undo-make-selective-list): Add marker adjustments to selective
6597 undo list based on whether their corresponding (TEXT . POS) is in
6598 the region. Remove variable adjusted-markers, which was unused
6599 and only non nil during undo-make-selective-list.
6600 (undo-elt-in-region): Return nil when passed a marker adjustment
6601 and explain in function doc.
6603 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6605 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
6607 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6609 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
6610 Match special global variables without curlies, too.
6611 (ruby-font-lock-keywords): Simplify the matcher for special global
6612 variables. Don't require a non-word character after the variable.
6615 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * simple.el (redisplay-highlight-region-function): Increase priority of
6618 overlay to make sure boundaries are visible (bug#15899).
6620 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
6622 * frameset.el (frameset--initial-params): Fix typo in parameter name.
6623 (frameset-restore): Compare display strings with equal.
6625 * frame.el (make-frame): Don't quote display name in error message,
6626 it is already a string.
6628 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6630 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
6633 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
6635 * emacs-lisp/package.el (package--add-to-archive-contents):
6636 Include already installed and built-in packages in
6637 `package-archive-contents'.
6638 (package-install): Don't include already installed packages in the
6639 options during interactive invocation. (Bug#16762)
6640 (package-show-package-list): If the buffer is already displayed in
6641 another window, switch to that window.
6643 2014-03-26 Reto Zimmermann <reto@gnu.org>
6645 Sync with upstream vhdl mode v3.35.1.
6646 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
6647 (vhdl-compiler-alist): Doc fix.
6648 (vhdl-goto-line): Remove.
6649 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
6650 (vhdl-mode) <paragraph-start>: Fix value.
6651 (vhdl-fix-statement-region): Not `for' in wait-statement.
6652 (vhdl-beautify-region): Also (un)tabify.
6653 (vhdl-get-visible-signals):
6654 Scan declarative part of generate statements.
6655 (vhdl-template-record): Fix indentation for record type declaration.
6656 (vhdl-expand-abbrev, vhdl-expand-paren):
6657 Revert to using fset again rather than defalias.
6658 (vhdl-scan-directory-contents): Tweak.
6659 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
6660 (vhdl-compose-components-package):
6661 Replace vhdl-goto-line with forward-line.
6662 (top-level): Tweak speedbar frame selection.
6663 (vhdl-generate-makefile-1): Support for compilers with no
6664 unit-to-file name mapping (create directory with dummy files).
6666 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
6668 Sync with upstream verilog-mode revision 702457d.
6669 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6670 (create-lockfiles): Declare.
6671 (verilog-read-decls): Fix module header imports, bug709.
6672 Reported by Victor Lau.
6673 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
6674 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
6675 interface-only modules, bug721. Reported by Dean Hoyt.
6677 2014-03-26 Glenn Morris <rgm@gnu.org>
6679 * obsolete/gulp.el: Move here from emacs-lisp/.
6681 * files.el (lock-buffer, unlock-buffer, file-locked-p):
6682 Remove fallback aliases, since they are always defined now.
6684 2014-03-24 Daniel Colascione <dancol@dancol.org>
6686 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
6687 instead of cl-loop search function.
6689 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6691 * calendar/parse-time.el (parse-time-iso8601-regexp)
6692 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
6695 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
6697 * net/dns.el (network-interface-list): Define for XEmacs.
6699 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
6701 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
6702 the network interfaces changed.
6703 (dns-query): Use it to flush the data.
6705 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
6707 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
6709 2014-03-23 Daniel Colascione <dancol@dancol.org>
6711 Change subword-mode to use `find-word-boundary-function-table' and
6712 replace `capitalized-words-mode'. Also, convert to lexical binding.
6713 * progmodes/cap-words.el: Delete now-obsolete file.
6714 * progmodes/subword.el: Reimplement using
6715 `find-word-boundary-function-table'.
6716 (subword-mode-map): Hollow out.
6717 (capitalized-words-mode): Define as obsolete alias for
6719 (subword-mode, superword-mode): Tweak documentation to reflect new
6720 implementation; call `subword-setup-buffer'.
6721 (subword-forward, subword-capitalize): Add underscore to indicate
6723 (subword-find-word-boundary-function-table): New constant.
6724 (subword-empty-char-table): New constant.
6725 (subword-setup-buffer): New function.
6726 (subword-find-word-boundary): New function.
6728 2014-03-23 Daniel Colascione <dancol@dancol.org>
6730 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
6731 list to look for keyword arguments instead of `memq', fixing
6732 (Bug#3647) --- unfortunately, only for freshly-compiled code.
6733 Please make bootstrap.
6735 2014-03-22 Glenn Morris <rgm@gnu.org>
6737 * dired.el (dired-read-regexp): Make obsolete.
6738 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
6739 (dired-flag-files-regexp):
6740 * dired-aux.el (dired-mark-read-regexp):
6741 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
6743 * startup.el (fancy-startup-text):
6744 * help.el (describe-gnu-project): Visit online info about GNU project.
6746 * help-fns.el (help-fns--interactive-only): New function.
6747 (help-fns-describe-function-functions): Add the above function.
6748 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
6749 (next-line, previous-line): Remove hand-written interactive-only
6750 information from doc strings, it is auto-generated now.
6751 * bookmark.el (bookmark-write):
6752 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
6753 (epa-mail-import-keys): Mark interactive-only,
6754 and remove hand-written interactive-only information from doc strings.
6755 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
6756 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
6757 * files.el (not-modified):
6758 * simple.el (mark-whole-buffer): Mark interactive-only.
6760 * emacs-lisp/byte-run.el (defun-declarations-alist):
6761 Add interactive-only. Doc tweak.
6762 (macro-declarations-alist): Doc tweak.
6763 * subr.el (declare): Doc tweak (add xref to manual).
6764 * comint.el (comint-run):
6765 * files.el (insert-file-literally, insert-file):
6766 * replace.el (replace-string, replace-regexp):
6767 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6768 (delete-forward-char, goto-line, insert-buffer, next-line)
6769 (previous-line): Set interactive-only via declare.
6771 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
6773 * emacs-lisp/package.el (package-desc): Use the contents of the
6774 quoted form, not its cdr. (Bug#16873)
6776 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
6778 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
6779 benefit of doc.c; change parameter profile to match the X function.
6781 2014-03-22 Leo Liu <sdl.web@gmail.com>
6783 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
6784 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
6786 2014-03-21 Richard Stallman <rms@gnu.org>
6788 * battery.el (battery-linux-sysfs): Search for each field
6789 from the beginning of the buffer.
6791 * subr.el (set-transient-map): Clear out function and value
6792 of the temporary symbol when we're done with it.
6794 * mail/rmailsum.el (rmail-summary-delete-forward):
6795 Optimize case of reaching end and handling count.
6796 (rmail-summary-mark-deleted): Optimize when N is current msg.
6797 Don't create new summary line.
6798 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
6799 (rmail-summary-undelete-many): Rewrite for speed.
6800 (rmail-summary-msg-number): New function.
6802 * mail/rmail.el (rmail-delete-message): Update summary.
6803 (rmail-undelete-previous-message): Handle repeat count arg.
6804 (rmail-delete-backward, rmail-delete-forward): Likewise.
6806 2014-03-21 Daniel Colascione <dancol@dancol.org>
6808 * mail/emacsbug.el (report-emacs-bug): Include memory usage
6809 information in bug reports.
6811 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
6813 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
6814 and `tramp-copy-env'.
6816 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
6817 (tramp-maybe-open-connection): Handle `tramp-login-env'.
6819 2014-03-21 Glenn Morris <rgm@gnu.org>
6821 * electric.el (electric-indent-post-self-insert-function): Add doc.
6823 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
6825 * emacs-lisp/package.el (package-compute-transaction):
6826 Use `version-list-<=' to compare the requirement version against
6827 the version of package already to be installed. Update the error
6828 message. (Bug#16826)
6830 * progmodes/ruby-mode.el (ruby-smie-rules):
6831 Add indentation rule for ` @ '. (Bug#17050)
6833 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
6835 * align.el (align-regexp): Remove superfluous backslash.
6837 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
6838 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
6839 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
6840 Fix docstring typos.
6841 (ffap-next): Use C-u in docstring.
6842 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
6843 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
6844 Remove superfluous backslashes.
6845 (ffap-string-at-point): Reflow docstring.
6847 * server.el (server-host): Reflow docstring.
6848 (server-unload-function): Fix docstring typo.
6849 (server-eval-at): Remove superfluous backslash.
6851 * skeleton.el (skeleton-insert): Remove superfluous backslash.
6852 (skeleton-insert): Doc fix.
6853 (skeleton-insert): Reflow docstring.
6855 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
6856 (tty-color-approximate, tty-color-by-index, tty-color-values)
6857 (tty-color-desc): Remove superfluous backslashes.
6859 2014-03-21 Glenn Morris <rgm@gnu.org>
6861 * cus-start.el (history-length): Bump :version.
6863 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6864 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6865 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6866 Don't set `make-backup-files'.
6868 * info.el (info--prettify-description): New function,
6869 to give info-finder descriptions consistent case, punctuation.
6870 (Info-finder-find-node): Use it. Sort packages.
6871 Refer to "description" rather than "commentary".
6873 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
6875 * frameset.el (frameset--print-register): New function.
6876 (frameset-to-register): Use it.
6878 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
6880 * progmodes/hideif.el (hif-string-to-number): New function.
6881 (hif-tokenize): Use it to understand non-decimal floats.
6883 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
6885 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
6887 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * electric.el (electric-newline-and-maybe-indent): New command.
6890 Bind it globally to C-j.
6891 (electric-indent-mode): Don't mess with the global map any more.
6892 Don't drop the post-self-insert-hook is some buffer is still using it
6895 * bindings.el (global-map): Remove C-j binding.
6897 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
6898 the docstring of functions advised before dumping (bug#16993).
6900 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6902 * ps-print.el (ps-generate-postscript-with-faces):
6903 Explicitly deactivate the mark (bug#16866).
6904 * simple.el (deactivate-mark): Update region highlight.
6906 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
6908 * emacs-lisp/package.el (describe-package-1):
6909 Decode commentary (bug#16733).
6911 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
6913 * custom.el (defcustom): Doc fix: recommend avoiding destructive
6914 modification of the value argument of :set (bug#16755).
6916 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6918 * simple.el (newline-and-indent): Do autofill (bug#17031).
6920 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
6922 * newcomment.el (comment-normalize-vars): Only add escaping check
6923 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
6924 (comment-beginning): Use `narrow-to-region' instead of moving back
6926 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
6927 (comment-start-skip): Update the docstring.
6929 2014-03-18 Richard Stallman <rms@gnu.org>
6931 * dired.el (dired-display-file): Force use of other window.
6933 2014-03-18 Daniel Colascione <dancol@dancol.org>
6935 * startup.el (tty-handle-args): Remove debug message from 2007.
6937 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
6940 (advice--make-interactive-form): Use it to avoid (auto)loading function.
6941 (advice--make-1, advice-add, advice-remove):
6942 Remove braindead :advice-pending hack.
6944 2014-03-17 Glenn Morris <rgm@gnu.org>
6946 * calendar/calendar.el (calendar-generate-month): Apply weekend
6947 face to the right days; fixes 2013-08-06 change. (Bug#17028)
6949 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
6951 * net/tramp.el (tramp-action-out-of-band): Read pending output.
6952 (tramp-call-process): Trace also DESTINATION.
6954 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6955 Quote file names when they are local. Remove superfluous trace.
6957 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
6959 * newcomment.el (comment-beginning): If `comment-start-skip'
6960 doesn't match, move back one char and try again. (Bug#16971)
6962 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6963 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
6964 Set `comment-start-skip' to a simpler value that doesn't try to
6965 check if the semicolon is escaped (this is handled by
6966 `syntax-ppss' now). (Bug#16971)
6968 * progmodes/scheme.el (scheme-mode-variables): Same.
6970 2014-03-16 Martin Rudalics <rudalics@gmx.at>
6972 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
6973 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
6974 current (Bug#16816, Bug#17007).
6975 (with-current-buffer-window): New macro doing the same as
6976 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
6977 * help.el (help-print-return-message): Warn in doc-string to not
6978 use this in `with-help-window'.
6979 (describe-bindings-internal): Call `describe-buffer-bindings'
6980 from within help buffer. See Juanma's scenario in (Bug#16816).
6981 (with-help-window): Update doc-string.
6982 * dired.el (dired-mark-pop-up):
6983 * files.el (save-buffers-kill-emacs):
6984 * register.el (register-preview): Use `with-current-buffer-window'
6985 instead of `with-temp-buffer-window'.
6987 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
6989 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
6990 Implement inserting into current buffer, documented in their docstrings.
6991 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
6992 (rst-section-tree-point, rst-forward-section, rst-indent)
6993 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
6994 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
6995 (rst-font-lock-handle-adornment-pre-match-form)
6996 (rst-repeat-last-character): Reflow docstrings.
6997 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
6998 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
6999 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
7000 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
7001 Fix docstring typos.
7002 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
7003 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
7004 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
7006 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
7008 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
7009 for compatibility with other ports.
7010 (ns-initialize-window-system): Use it. It is set in term/common-win.el
7011 from the -xrm command line argument, but in the Nextstep port its value
7012 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
7014 * progmodes/python.el (defconst, python-syntax-count-quotes)
7015 (python-indent-region, python-indent-shift-right)
7016 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
7017 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
7018 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
7019 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
7020 (inferior-python-mode, python-shell-make-comint, run-python-internal)
7021 (python-shell-buffer-substring, python-shell-send-buffer)
7022 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
7023 (python-completion-complete-at-point, python-fill-docstring-style)
7024 (python-eldoc-function, python-imenu-format-item-label)
7025 (python-imenu-format-parent-item-label)
7026 (python-imenu-format-parent-item-jump-label)
7027 (python-imenu--build-tree, python-imenu-create-index)
7028 (python-imenu-create-flat-index): Fix docstring typos.
7029 (python-indent-context, python-shell-prompt-regexp, run-python):
7030 Remove superfluous backslashes.
7031 (python-indent-line, python-nav-beginning-of-defun)
7032 (python-shell-get-buffer, python-shell-get-process)
7033 (python-info-current-defun, python-info-current-line-comment-p)
7034 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
7035 (python-indent-post-self-insert-function, python-shell-send-file)
7036 (python-shell-completion-get-completions)
7037 (python-shell-completion-complete-or-indent)
7038 (python-eldoc--get-doc-at-point): Reflow docstrings.
7040 2014-03-14 Glenn Morris <rgm@gnu.org>
7042 * emacs-lisp/package.el (package-menu-mode-map):
7043 Replace use of obsolete function alias. Tweak menu item text.
7045 * info.el (Info-finder-find-node):
7046 Ignore the `emacs' metapackage. (Bug#10813)
7048 * finder.el (finder-list-matches): Include unversioned packages
7049 in the result of a keyword search.
7051 * finder.el (finder--builtins-descriptions): New constant.
7052 (finder-compile-keywords): Use finder--builtins-descriptions.
7054 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
7056 * simple.el (blink-matching-paren): Describe the new value,
7057 `jump', enabling the old behavior.
7058 (blink-matching-open): Use that value. (Bug#17008)
7060 2014-03-14 Glenn Morris <rgm@gnu.org>
7062 * finder.el (finder-no-scan-regexp): Add leim-list.
7063 (finder-compile-keywords):
7064 Don't skip files with same basename. (Bug#14010)
7065 * Makefile.in (setwins_finder): New, excluding leim.
7066 (finder-data): Use setwins_finder.
7068 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
7069 (help-function-arglist, help-make-usage): Move from here...
7070 * help.el (help-split-fundoc, help-add-fundoc-usage)
7071 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
7072 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
7074 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
7076 * net/socks.el (socks, socks-override-functions)
7077 (socks-find-services-entry):
7078 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
7079 (hif-find-ifdef-block):
7080 * progmodes/modula2.el (m2-indent): Fix docstring typos.
7082 * net/tls.el (tls-program): Reflow docstring.
7084 * progmodes/pascal.el (pascal-mode-abbrev-table)
7085 (pascal-imenu-generic-expression, pascal-auto-endcomments)
7086 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
7087 (pascal-outline-mode): Fix docstring typos.
7088 (pascal-mode): Let define-derived-mode document mode hook.
7089 (pascal-uncomment-area): Reflow.
7090 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
7092 * progmodes/opascal.el (opascal-compound-block-indent)
7093 (opascal-case-label-indent): Fix docstring typos.
7094 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
7096 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
7098 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7099 Fontify multiple adjacent negation chars. (Bug#17004)
7101 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
7103 * emacs-lisp/package.el (package--prepare-dependencies):
7104 Accept requirements without explicit version (bug#14941).
7106 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7108 * register.el (register-separator, copy-to-register): Doc fixes.
7109 (register-preview-default): Remove unnecessary call to concat.
7111 * frameset.el (frameset-restore): When checking for a visible frame,
7112 use the action map instead of calling visible-frame-list.
7114 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
7116 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
7118 2014-03-12 Martin Rudalics <rudalics@gmx.at>
7120 * window.el (fit-frame-to-buffer): Get maximum width from
7121 display's width instead of height.
7123 2014-03-12 Glenn Morris <rgm@gnu.org>
7125 * desktop.el (desktop-restore-frames)
7126 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
7127 (desktop-restore-reuses-frames): Doc tweaks.
7129 * electric.el (electric-indent-mode): Doc fix.
7131 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7133 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
7134 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
7135 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
7136 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
7137 (cvs-dired-use-hook): Fix docstring typos.
7138 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
7141 * vc/pcvs-defs.el (cvs-auto-remove-handled)
7142 (cvs-auto-remove-directories, cvs-default-ignore-marks)
7143 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
7144 (cvs-execute-single-dir): Fix docstring typos.
7146 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
7147 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
7149 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
7151 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
7152 Fix docstring typos.
7154 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
7156 * frameset.el (frameset--jump-to-register): Add autoload; it could be
7157 called from jump-to-register after unloading the frameset package.
7159 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
7162 (bug#16975). Deactivate the mark before setting it to nil.
7163 (activate-mark): Do nothing if region is already active.
7165 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7167 * frameset.el (frameset--target-display): Remove definition; declare.
7168 (frameset-save, frameset-restore): Let-bind frameset--target-display.
7170 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
7173 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
7174 when the advice is pending.
7175 (advice-remove): Remove this marker when not needed any more.
7177 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
7179 * frameset.el: Separate options for reusing frames and cleaning up.
7180 (frameset--reuse-list): Remove definition; declare.
7181 (frameset--action-map): Declare.
7182 (frameset--find-frame-if): Doc fix.
7183 (frameset--restore-frame): Cache frame action.
7184 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
7185 how to clean up the frame list after restoring. Remove cleaning
7186 options from REUSE-FRAMES. Change all keyword values to symbols.
7187 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
7189 * desktop.el (desktop-restore-forces-onscreen)
7190 (desktop-restore-reuses-frames): Use non-keyword values.
7191 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
7193 2014-03-10 Glenn Morris <rgm@gnu.org>
7195 * files.el (find-file): Doc fix: update info node name.
7197 * emacs-lisp/advice.el (ad-add-advice, defadvice):
7198 Doc fix: remove references to deleted info nodes.
7200 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
7202 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7203 Do not add nil to the environment, when there's no remote `locale'.
7204 (tramp-find-inline-encoding): Check, that the remote host has
7205 installed perl, before sending scripts.
7207 2014-03-10 Leo Liu <sdl.web@gmail.com>
7209 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7210 Clear eldoc-last-message. (Bug#16920)
7212 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
7217 2014-03-09 Juri Linkov <juri@jurta.org>
7219 * ansi-color.el (ansi-color-names-vector): Copy default colors
7220 from `xterm-standard-colors' that look well on the default white
7221 background (and also on the black background) to avoid illegible
7222 color combinations like yellow-on-white and white-on-white.
7223 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
7225 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
7227 * frameset.el (frameset-restore): When no frame is visible, do not
7228 generate a list of frames, just make visible the selected one.
7230 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
7232 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
7233 it only contains the repository root. (Bug#16897)
7235 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
7237 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
7238 only when `remote-file-name-inhibit-cache' is nil.
7239 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
7241 2014-03-06 Martin Rudalics <rudalics@gmx.at>
7243 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
7245 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
7246 fit-frame-to-buffer variable. Fix doc-string.
7247 (fit-window-to-buffer): Set ONLY argument in call of
7248 fit-frame-to-buffer. Fix doc-string.
7250 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
7252 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
7253 (tramp-action-password): Clear password cache if needed.
7254 (tramp-read-passwd): Do not clear password cache.
7256 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
7257 cache unless it is the first password request.
7259 2014-03-06 Glenn Morris <rgm@gnu.org>
7261 * simple.el (newline): Doc tweak.
7263 * emacs-lisp/shadow.el (load-path-shadows-find):
7264 Ignore dir-locals. (Bug#12357)
7266 2014-03-05 Glenn Morris <rgm@gnu.org>
7268 * files.el (interpreter-mode-alist):
7269 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
7271 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7273 * frameset.el (frameset--initial-params): Filter out null entries.
7275 2014-03-05 Martin Rudalics <rudalics@gmx.at>
7277 * window.el (window-min-height, window-min-width):
7278 Rewrite doc-strings.
7279 (window-body-size): Add PIXELWISE argument to make it consistent
7282 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
7284 * finder.el (finder-mode-map, finder-mode-syntax-table):
7285 Revert part of 2014-02-28 change.
7287 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
7289 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
7290 (eww-setup-buffer): Clear next/prev/etc more reliably.
7291 (eww-textarea-map): [tab] doesn't work on tty.
7292 Reported by Mario Lang.
7294 * net/shr.el (shr-map): Ditto.
7296 2014-03-04 Glenn Morris <rgm@gnu.org>
7298 * minibuffer.el (completion-hilit-commonality):
7299 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
7301 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7303 * hilit-chg.el (hilit-chg-unload-function): New function.
7304 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
7305 (hilit-chg-map-changes): Prefer cardinal number to digit.
7306 (hilit-chg-display-changes): Reflow docstring.
7307 (highlight-changes-rotate-faces): Remove superfluous backslash.
7309 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
7311 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
7312 `tramp-send-command-and-check'.
7314 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
7316 * hexl.el (hexl-address-region, hexl-ascii-region)
7317 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
7318 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
7319 (hexl-forward-word, hexl-previous-line, hexl-next-line):
7320 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
7321 (hexl-mode): Doc fix.
7322 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
7323 (hexl-mode-ruler): Fix typos in docstrings.
7325 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
7326 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
7327 Remove superfluous backslashes.
7328 (strokes-last-stroke, strokes-global-map, strokes-mode):
7330 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
7331 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
7332 (strokes-distance-squared, strokes-global-set-stroke)
7333 (strokes-global-set-stroke-string): Doc fixes.
7334 (strokes-help): Fix typos; reflow docstring.
7336 2014-03-04 Martin Rudalics <rudalics@gmx.at>
7338 * window.el (window-in-direction): Fix doc-string.
7340 2014-03-04 Glenn Morris <rgm@gnu.org>
7342 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
7343 Explicit error if no grammar.
7344 (smie-config-save): Doc fix. Fix quote typo.
7346 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
7349 electric-indent-mode-hook if we obey electric-indent-mode.
7350 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
7351 decide whether we obey electric-indent-mode.
7352 (c-change-set-fl-decl-start, c-extend-after-change-region):
7354 (c-electric-indent-mode-hook): Assume we do want to obey
7355 electric-indent-mode.
7357 * electric.el (electric-indent-mode-has-been-called): Remove.
7358 (electric-indent-mode): Fix accordingly.
7360 * files.el (hack-local-variables): Mention file name in warning.
7362 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
7364 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
7366 * bindings.el: Add comment describing why C-d binds to `delete-char'.
7367 * simple.el (delete-forward-char): Mark as interactive-only.
7369 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
7371 * icomplete.el (icomplete-completions):
7372 Follow-up to 2014-03-01 change.
7374 * icomplete.el: Miscellaneous doc fixes.
7375 Use Icomplete everywhere instead of icomplete for consistency.
7376 (icomplete-max-delay-chars): Fix typo.
7377 (icomplete-mode): Use \[].
7378 (icomplete-tidy, icomplete-exhibit): Reflow.
7379 (icomplete-minibuffer-setup-hook, icomplete-completions):
7380 Remove superfluous backlashes.
7382 * ido.el: Miscellaneous doc fixes.
7383 Use Ido everywhere instead of ido or `ido' for consistency.
7384 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
7385 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
7386 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
7387 (ido-separator): Extract obsolescence info from docstring and declare
7388 with make-obsolete-variable.
7389 (ido-minibuffer-setup-hook): Simplify example.
7390 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
7391 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
7392 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
7393 (ido-everywhere): Reflow docstring.
7394 (ido-toggle-vc): Doc fix.
7395 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
7396 of long list of keybindings.
7398 2014-03-03 Glenn Morris <rgm@gnu.org>
7400 * frame.el (display-pixel-height, display-pixel-width)
7401 (display-mm-dimensions-alist, display-mm-height)
7402 (display-mm-width): Doc tweaks.
7404 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
7406 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
7407 case of undo in region.
7409 2014-03-02 Martin Rudalics <rudalics@gmx.at>
7411 * window.el (fit-window-to-buffer): Fix argument in window-size
7412 call when window is horizontally combined.
7414 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
7416 * icomplete.el (icomplete-completions): Use string-width.
7417 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7419 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
7421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7422 Highlight regexp options. (Bug#16914)
7424 2014-03-01 Martin Rudalics <rudalics@gmx.at>
7426 * window.el (window--max-delta-1): Round down when calculating
7427 how many lines/columns we can get from a window.
7429 2014-03-01 Glenn Morris <rgm@gnu.org>
7431 * isearch.el (search-invisible): Doc fix.
7433 * minibuffer.el (completion-hilit-commonality):
7434 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
7435 * comint.el (comint-dynamic-list-completions): Doc fix.
7436 * comint.el (comint-dynamic-list-completions):
7437 * filecache.el (file-cache-minibuffer-complete):
7438 * tempo.el (tempo-display-completions):
7439 * eshell/em-hist.el (eshell-list-history):
7440 Replace use of obsolete argument of display-completion-list.
7442 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
7444 * icomplete.el (icomplete-completions):
7445 Revert back to using "..." when ?… cannot be displayed.
7447 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7449 * finder.el (finder-unload-function): New function.
7451 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
7453 * dframe.el (dframe-detach):
7454 * find-dired.el (find-dired, find-name-dired):
7455 * finder.el (finder-mode-map, finder-mode-syntax-table)
7456 (finder-headmark, finder-select, finder-mouse-select):
7457 Fix docstring typos.
7459 2014-02-28 Martin Rudalics <rudalics@gmx.at>
7461 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
7462 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
7463 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7464 Fix doc-string based on a suggestion by Nicolas Richard
7465 <theonewiththeevillook@yahoo.fr>.
7466 * help.el (with-help-window): Fix doc-string.
7468 2014-02-28 Ivan Kanis <ivan@kanis.fr>
7470 * net/shr.el (shr-image-animate): New option.
7471 (shr-put-image): Respect shr-image-animate.
7473 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
7475 * net/tramp-adb.el (tramp-adb-parse-device-names):
7476 Use `accept-process-output'.
7477 (tramp-adb-handle-file-truename): Cache the localname only.
7478 (tramp-adb-handle-make-directory)
7479 (tramp-adb-handle-delete-directory): Flush file properties correctly.
7480 (tramp-adb-handle-set-file-modes): Do not raise an error when file
7481 modes cannot be changed.
7483 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
7484 file properties of symlinks.
7486 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
7488 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
7489 required/optional fields to match development biblatex. (Bug#16781)
7491 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
7493 * saveplace.el (toggle-save-place):
7494 Fix argument handling. (Bug#16673)
7496 2014-02-28 Glenn Morris <rgm@gnu.org>
7498 * minibuffer.el (completions-first-difference)
7499 (completions-common-part, completion-hilit-commonality): Doc fixes.
7501 2014-02-28 Karl Berry <karl@gnu.org>
7503 * info.el (Info-mode-map): Add H for describe-mode,
7504 to synchronize with standalone Info.
7506 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
7508 * progmodes/sql.el (sql-interactive-mode):
7509 Avoid setting global comint-input-ring-separator. (Bug#16814)
7511 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7513 * net/dbus.el (dbus--init-bus): Declare function.
7514 (dbus-path-local, dbus-interface-local): New defconst.
7515 (dbus-init-bus): Use them.
7516 (dbus-return-values-table): Extend doc.
7517 (dbus-handle-bus-disconnect): Extend error message.
7519 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
7521 * subr.el (y-or-n-p): Fix double space issue in message.
7523 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
7525 * net/tramp.el (tramp-call-process): Improve trace message.
7526 (tramp-handle-insert-file-contents): Trace error case.
7528 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7529 <insert-directory>: Use `tramp-handle-insert-directory'.
7530 (tramp-adb-handle-insert-directory): Remove function.
7531 (tramp-adb-send-command-and-check): New defun, replacing
7532 `tramp-adb-command-exit-status'. Change all callees.
7533 (tramp-adb-handle-file-attributes)
7534 (tramp-adb-handle-directory-files-and-attributes): Use it.
7535 (tramp-adb-ls-output-name-less-p):
7536 Use `directory-listing-before-filename-regexp'.
7537 (tramp-adb-handle-delete-directory): Flush also file properties of
7538 the truename of directory.
7539 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
7540 (tramp-adb-handle-file-local-copy): Make the local copy readable.
7541 (tramp-adb-handle-write-region): Implement APPEND.
7542 (tramp-adb-handle-rename-file): Make it more robust. Flush file
7543 properties correctly.
7544 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
7545 variables. Check for connected devices only when needed.
7547 2014-02-27 Glenn Morris <rgm@gnu.org>
7549 * minibuffer.el (completion-table-dynamic)
7550 (completion-table-with-cache): Doc fixes.
7552 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7553 (completing-read-multiple): Doc fixes.
7555 2014-02-27 Daniel Colascione <dancol@dancol.org>
7557 * minibuffer.el (completion--nth-completion): Fix indentation.
7559 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
7560 explicit tramp path is empty.
7562 2014-02-27 Glenn Morris <rgm@gnu.org>
7564 * emacs-lisp/crm.el (completing-read-multiple):
7565 Empower help-enable-auto-load.
7567 2014-02-26 Glenn Morris <rgm@gnu.org>
7569 * startup.el (command-line): Don't init the tty in daemon mode.
7571 Avoid calling tty-setup-hook twice, eg if a term file
7572 explicitly calls tty-run-terminal-initialization. (Bug#16859)
7573 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
7574 (tty-create-frame-with-faces): Use it.
7575 * startup.el (command-line): Pass run-hook argument
7576 to tty-run-terminal-initialization.
7578 * dired.el (dired-restore-desktop-buffer): Demote errors;
7579 eg in case a glob match fails. (Bug#16884)
7581 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
7583 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
7584 error from `read-from-string'. (Bug#16850)
7586 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
7587 result of `completing-read' in the interactive form. (Bug#16854)
7589 2014-02-25 Glenn Morris <rgm@gnu.org>
7591 * image.el (image-animate, image-animate-timeout):
7592 Stop animating images in dead buffers. (Bug#16878)
7594 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
7596 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
7598 * startup.el (term-setup-hook): Doc fix. Make obsolete.
7599 * term/sun.el (sun-raw-prefix-hooks):
7600 Use tty-setup-hook instead of term-setup-hook.
7601 (terminal-init-sun): Construct message from bytecomp plist.
7602 * term/wyse50.el (enable-arrow-keys): Doc fix.
7604 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7606 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
7607 Fix docstring typos.
7609 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
7611 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
7613 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
7615 * minibuffer.el (completion--try-word-completion):
7616 Fix error when completing M-x commands (bug#16808).
7618 2014-02-24 Leo Liu <sdl.web@gmail.com>
7620 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
7622 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7624 * apropos.el (apropos-print): Avoid formatting error when
7625 apropos-do-all and apropos-compact-layout are both t.
7627 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7629 * apropos.el (apropos-property, apropos-all-words-regexp)
7630 (apropos-true-hit, apropos-variable, apropos-print):
7631 Fix docstring typos, and remove obsolete comment.
7633 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
7635 * net/tramp-sh.el (tramp-sh-handle-file-truename):
7636 Preserve trailing "/". (Bug#16851)
7638 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
7640 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
7641 after `=>' (bug#16811).
7642 (ruby-smie-rules): Handle the inconsistent second element of the
7643 list returned by `smie-indent--parent'.
7644 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
7647 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
7649 * elec-pair.el (electric-pair-text-syntax-table)
7650 (electric-pair-syntax-info, electric-pair--syntax-ppss)
7651 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
7652 (electric-pair--looking-at-unterminated-string-p): Doc fix.
7653 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
7655 2014-02-22 Glenn Morris <rgm@gnu.org>
7657 * imenu.el (imenu--generic-function): Doc fix.
7659 * register.el (frame-configuration-to-register): Make obsolete.
7661 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
7663 * desktop.el (desktop-save-buffer-p): Do not fail when
7664 desktop-files-not-to-save is nil. Return t for true result
7667 2014-02-22 Daniel Colascione <dancol@dancol.org>
7669 * net/secrets.el (secrets-create-item, secrets-search-items):
7670 Check that attribute values are strings, avoiding the construction
7671 of invalid dbus messages.
7673 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7675 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
7676 defun-declarations-alist.
7678 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
7683 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7685 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
7686 (whitespace-newline, whitespace-trailing, whitespace-line)
7687 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
7688 (whitespace-space-after-tab): Fix typo in docstrings.
7690 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
7692 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
7694 * electric.el (electric-indent-functions-without-reindent):
7695 Add `yaml-indent-line'.
7697 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7699 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
7700 It has done nothing for years; should be removed after the release.
7702 * simple.el (choose-completion): Fix docstring typo.
7703 (read-quoted-char-radix): Remove unneeded * in docstring.
7704 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
7705 Don't escape parentheses unnecessarily in docstrings.
7707 2014-02-21 Martin Rudalics <rudalics@gmx.at>
7709 Fix handling of window-min-height/-width (Bug#16738).
7710 * window.el (window--dump-window, window--dump-frame):
7712 (window--min-size-1): Account for window dividers.
7713 When window-resize-pixelwise is nil, delay rounding till after the
7714 sum of the window components has been calculated.
7715 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
7716 nil make sure at least one text line and two text columns remain
7718 (window-resize): Signal an error when window-resize-apply fails.
7719 (window--resize-child-windows): Fix calculation of by how many
7720 pixels a window can still be shrunk via window-new-normal.
7721 (adjust-window-trailing-edge): Call window--resizable with
7722 correct TRAIL argument.
7724 (with-temp-buffer-window): Don't evaluate BODY within
7725 with-current-buffer (Bug#16816).
7727 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
7729 * net/tramp.el (tramp-check-cached-permissions):
7730 Call `file-attributes' with `suffix' being a symbol but a string.
7732 2014-02-21 Daniel Colascione <dancol@dancol.org>
7734 * net/dbus.el (dbus-init-bus-1): Declare new subr.
7735 (dbus-init-bus): New function: call into dbus-init-bus-1
7736 and installs a handler for the disconnect signal.
7737 (dbus-call-method): Rewrite to look for result in cons.
7738 (dbus-call-method-handler): Store result in cons.
7739 (dbus-check-event): Recognize events with nil sender as valid.
7740 (dbus-handle-bus-disconnect): New function. React to bus
7741 disconnection signal by synthesizing dbus error for each
7742 pending synchronous or asynchronous call.
7743 (dbus-notice-synchronous-call-errors): New function.
7744 (dbus-handle-event): Raise errors directly only when `dbus-debug'
7745 is true, not all the time.
7747 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
7749 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7750 Remove obsolescence declarations, these variables do not exist anymore.
7752 * savehist.el (savehist-save-minibuffer-history)
7753 (savehist-additional-variables, savehist-file, savehist-mode-hook)
7754 (savehist-save-hook, savehist-coding-system, savehist-loaded)
7755 (savehist-load, savehist-install, savehist-autosave): Fix typos;
7756 mostly, refer to "Savehist mode" when talking about the mode,
7757 and not the function.
7759 * saveplace.el (save-place): Remove redundant info in docstring.
7760 (save-place-forget-unreadable-files, toggle-save-place)
7761 (save-place-forget-unreadable-files, save-place-dired-hook):
7762 Fix typos and remove unneeded backslashes.
7764 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
7766 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
7767 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
7769 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7770 <insert-directory>: Use `tramp-handle-insert-directory'.
7771 (tramp-gvfs-handle-insert-directory): Remove function.
7773 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7774 Call `tramp-handle-insert-directory'.
7776 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
7778 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
7779 before the start of buffer/region (bug#16799).
7781 2014-02-20 Glenn Morris <rgm@gnu.org>
7783 * isearch.el (search-invisible): Doc fix.
7785 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
7787 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
7790 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
7792 * frameset.el (frameset-restore): Delay removing an old frame's
7793 duplicate id until the new frame has been correctly created.
7795 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
7797 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
7798 (tramp-check-cached-permissions): Call `file-attributes' if the
7801 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
7802 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7805 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
7806 (tramp-gvfs-maybe-open-connection): Set always connection
7807 properties, even if target is mounted already.
7809 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
7810 Set tramp-autoload cookie.
7811 (tramp-get-remote-touch): New defun.
7812 (tramp-sh-handle-set-file-times): Use it.
7813 (tramp-sh-handle-directory-files-and-attributes):
7814 Use `tramp-handle-directory-files-and-attributes' if neither stat
7815 nor perl are available on the remote host.
7817 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
7818 "/". Write long listing only when "l" belongs to the switches.
7820 * net/trampver.el: Update release number.
7822 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
7824 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
7826 2014-02-19 Martin Rudalics <rudalics@gmx.at>
7828 * window.el (window-state-put): Allow WINDOW to refer to an
7829 internal window (Bug#16793).
7831 2014-02-19 Glenn Morris <rgm@gnu.org>
7833 * textmodes/remember.el: Move provide statement to end.
7834 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
7835 (remember-notes): Doc fixes.
7837 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * delsel.el (delete-char): Restore incorrectly erased property
7842 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
7844 * frameset.el (frameset--restore-frame): When a frame is being reused
7845 and its root window is not alive, delete all the frame's windows before
7846 restoring the window state. This works around the issue in bug#16793.
7848 2014-02-18 Glenn Morris <rgm@gnu.org>
7850 * textmodes/remember.el (remember-data-directory)
7851 (remember-directory-file-name-format, remember-store-in-files)
7852 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
7853 (remember-notes-save-and-bury-buffer)
7854 (remember-notes--kill-buffer-query): Doc fixes.
7856 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
7858 2014-02-17 Alan Mackenzie <acm@muc.de>
7860 Connect electric-indent-mode up with CC Mode. Bug #15478.
7861 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
7862 to electric-indent-{,local-}-mode.
7863 (c-basic-common-init): Set electric-indent-inhibit.
7864 Initialise c-electric-flag from electric-indent-mode.
7865 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
7866 New hook functions which propagate electric-indent-mode to CC mode.
7868 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
7869 hit, toggle electric-indent-local-mode.
7871 * electric.el (electric-indent-mode-has-been-called):
7874 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
7876 * frameset.el (frameset-cfg-id): New function.
7877 (frameset--reuse-frame, frameset-restore): Use it.
7878 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
7880 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
7882 * ido.el (ido-file-internal): Remove unused var `d'.
7883 Use \` for to match BoS. Fit within 80n columns.
7885 2014-02-17 Daniel Colascione <dancol@dancol.org>
7887 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
7888 dbus-call-method check for completion using a busy-wait loop with
7891 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
7893 Sync with Tramp 2.2.9.
7895 * net/trampver.el: Update release number.
7897 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
7899 * ido.el (ido-file-internal): Don't add the name of an existing
7900 directory twice. (Bug#16747)
7902 2014-02-16 Glenn Morris <rgm@gnu.org>
7904 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
7905 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
7907 2014-02-15 Michael R. Mauger <michael@mauger.com>
7909 * progmodes/sql.el: Version 3.4
7910 (sql-oracle-options): New default value ("-L").
7911 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
7912 (sql-placeholders-filter): Correct placeholder pattern.
7913 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
7914 (sql-login-delay): New variable.
7915 (sql-product-interactive): Use it.
7917 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
7919 * frameset.el (frameset--jump-to-register): Check that buffer is live
7922 2014-02-15 Glenn Morris <rgm@gnu.org>
7924 * info.el (info-initialize): Revert 2014-01-10 change.
7926 2014-02-14 Glenn Morris <rgm@gnu.org>
7928 * replace.el (map-query-replace-regexp)
7929 (read-regexp-defaults-function, read-regexp): Doc fixes.
7931 * dired.el (dired-read-regexp):
7932 * faces.el (list-faces-display):
7933 * misearch.el (multi-isearch-read-matching-buffers)
7934 (multi-isearch-read-matching-files):
7935 * play/cookie1.el (cookie-apropos):
7936 * progmodes/grep.el (grep-read-regexp): Doc fixes.
7938 * textmodes/remember.el (remember): Use frameset-to-register
7939 rather than frame-configuration-to-register.
7941 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
7943 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
7944 incorrect keybinding.
7946 2014-02-13 Daniel Colascione <dancol@dancol.org>
7948 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
7949 when adding overlays so that line numbers from compiler match line
7952 2014-02-13 Glenn Morris <rgm@gnu.org>
7954 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
7956 * jit-lock.el (jit-lock-mode): Doc fix.
7958 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
7960 * apropos.el (apropos-read-pattern): When the user passes an empty
7961 string, give a more helpful error message than "Wrong type
7962 argument: stringp, nil".
7964 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
7966 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
7968 2014-02-13 Glenn Morris <rgm@gnu.org>
7970 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
7972 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
7974 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
7975 shift-select commands.
7977 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
7979 * progmodes/js.el (js-indent-line): Don't widen.
7980 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
7982 2014-02-12 Glenn Morris <rgm@gnu.org>
7984 * icomplete.el (icomplete): Add info-link to defgroup.
7985 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
7986 (icomplete-minibuffer-map, icomplete-mode)
7987 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
7989 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
7990 (package-menu-filter): Rename from package-menu-filter-interactive.
7993 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
7995 * frameset.el (frameset--jump-to-register): Select the required
7996 window and buffer before restoring position (bug#16696).
7998 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
8000 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
8002 2014-02-10 Glenn Morris <rgm@gnu.org>
8004 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
8006 2014-02-10 Eli Zaretskii <eliz@gnu.org>
8008 * w32-common-fns.el (x-get-selection): Doc fix.
8009 * select.el (x-get-selection): Doc fix. (Bug#15109)
8011 * face-remap.el (face-remap-add-relative)
8012 (face-remap-remove-relative, face-remap-reset-base)
8013 (face-remap-set-base): Call force-mode-line-update to redisplay
8014 the current buffer due to potential change in faces. (Bug#16709)
8016 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
8018 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
8019 script more robustly.
8021 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8023 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
8025 * simple.el (choose-completion): Doc fix (bug#14160).
8027 * subr.el (event-start): Say what a nil EVENT value means.
8029 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
8032 * progmodes/grep.el (find-program): Doc fix (bug#14289).
8034 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
8036 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
8038 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8039 predicate function (bug#15455).
8041 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
8043 * ielm.el (inferior-emacs-lisp-mode): Instead of
8044 `comment-use-global-state', set `comment-use-syntax'.
8046 2014-02-10 Glenn Morris <rgm@gnu.org>
8048 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
8050 2014-02-09 Alan Mackenzie <acm@muc.de>
8052 Fix c-invalidate-state-cache on narrowed buffers.
8053 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
8054 Widen when setting and clearing the CPP delimiter properties.
8056 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
8058 * help.el (describe-bindings): Doc fix (bug#9888).
8060 * files.el (save-buffer): Use ARG as the parameter name for
8061 consistency (bug#10346).
8062 (save-buffer): Clarify the 0 argument (bug#10346).
8064 * cus-edit.el (customize-apropos): Fix error string.
8065 (custom-buffer-create): Doc fix (bug#11122).
8066 (custom-sort-items): Doc fix (bug#11121).
8068 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
8070 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
8071 (icomplete-simple-completing-p): Mention the previous variable.
8073 * font-lock.el (font-lock-value-in-major-mode): Clarify the
8074 meaning of the parameter (bug#12282).
8076 * files.el (find-file-noselect): Clarify prompt when changing
8077 readedness (bug#13261).
8078 (locate-file): Suffixes aren't returned, so don't say that they
8080 (backup-inhibited): Doc clarification (bug#12525).
8082 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
8083 before we actually start to delete things (bug#16331).
8085 * subr.el (event-start): Doc fix (bug#14228).
8088 2014-02-09 Glenn Morris <rgm@gnu.org>
8090 * emacs-lisp/warnings.el (lwarn):
8091 Empower help-enable-auto-load. (Bug#15940)
8093 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8095 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
8098 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
8100 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8101 Insert output at end of buffer. (Bug#16120)
8103 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8105 * simple.el (choose-completion-string-functions): Document new
8106 calling convention (bug#14153).
8107 (execute-extended-command): Clarify doc string (bug#13373).
8109 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
8111 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8112 (find-grep-dired): Doc fix (bug#14288).
8114 2014-02-08 Juri Linkov <juri@jurta.org>
8116 * isearch.el (isearch-quote-char): Check character validity
8117 like in `quoted-insert' (bug#16677).
8119 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
8121 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
8123 * isearch.el (isearch-hide-immediately): Doc clarification
8126 * simple.el (line-move): Document utility function used many
8127 places in the Emacs sources (bug#14843).
8129 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8130 (dired-prev-marked-file): Doc fix (bug#14855).
8131 (dired-up-directory): Doc fix (bug#14848).
8133 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
8135 * files.el (file-relative-name): Doc fix (bug#15159).
8137 * fringe.el (fringe-styles): Doc fix (bug#15239).
8139 * isearch.el (isearch-filter-predicate): Documentation typo fix
8142 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
8144 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
8146 * replace.el (replace-match-maybe-edit): Doc clarification
8149 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
8151 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
8153 2014-02-08 Glenn Morris <rgm@gnu.org>
8155 * help-fns.el (describe-variable):
8156 Check {file,dir}-local-variables-alist, and buffer-file-name,
8157 in the correct buffer.
8159 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
8161 * help-fns.el (describe-variable): Fix the case where
8162 a value is directory-local with no dir-locals file. (Bug#16635)
8164 2014-02-08 Glenn Morris <rgm@gnu.org>
8166 * abbrev.el (edit-abbrevs-mode):
8167 Derive from fundamental-mode. (Bug#16682)
8169 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
8171 * simple.el (quoted-insert): Check character validity (bug#16677).
8173 2014-02-07 Juri Linkov <juri@jurta.org>
8175 * desktop.el (desktop-read): Claim the lock when the owner is not
8176 the current process. (Bug#16157)
8178 2014-02-07 Juri Linkov <juri@jurta.org>
8180 * desktop.el (desktop-buffers-not-to-save): Change default from nil
8181 to "\\` ". (Bug#16651)
8183 2014-02-07 Juri Linkov <juri@jurta.org>
8185 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
8186 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
8187 (desktop-auto-save-cancel-timer): New function with some code from
8188 `desktop-auto-save-set-timer'.
8189 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
8190 Instead of setting `desktop-save-mode' to nil, call
8191 `desktop-save-mode' with arg 0. (Bug#16630)
8193 2014-02-07 Glenn Morris <rgm@gnu.org>
8195 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
8196 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
8197 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
8199 * obsolete/iswitchb.el: Move to obsolete/.
8200 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
8201 since obsolete/ is not scanned for autoloads.
8202 * emacs-lisp/authors.el (authors-valid-file-names):
8205 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
8206 Disable now non-functional find-file-hook.
8208 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
8210 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
8211 instead of ";" in order to avoid additional prompts. Let heredoc
8212 scripts read from tty. (Bug#16582)
8213 (tramp-send-command): No special handling of heredocs, it isn't
8216 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
8218 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
8219 with a space (bug#16664). Limit the symbols considered to the ones
8220 that are bound or fbound (bug#16646).
8222 2014-02-06 Glenn Morris <rgm@gnu.org>
8224 * epa.el (epa-mail-aliases): Doc fix.
8226 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
8228 * emacs-lisp/lisp.el (lisp-completion-at-point):
8229 Use `completion-table-merge' instead of `completion-table-in-turn'
8232 * minibuffer.el (completion-table-merge): New function.
8234 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
8236 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
8237 (tramp-sh-handle-set-file-acl)
8238 (tramp-sh-handle-start-file-process)
8239 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
8240 (tramp-find-executable, tramp-send-command): Use it.
8242 2014-02-05 Glenn Morris <rgm@gnu.org>
8244 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
8246 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8248 * progmodes/python.el (python-shell-send-string)
8249 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
8251 2014-02-04 Anders Lindgren <andlind@gmail.com>
8253 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
8254 the names (bug#16620).
8256 2014-02-03 Martin Rudalics <rudalics@gmx.at>
8258 * faces.el (window-divider): New default value. Rewrite doc-string.
8259 (window-divider-first-pixel, window-divider-last-pixel): New faces.
8261 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
8263 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
8264 `protected' and `public' can also be called without arguments.
8266 2014-02-03 Glenn Morris <rgm@gnu.org>
8268 * register.el (window-configuration-to-register)
8269 (frame-configuration-to-register): Unadvertise unused argument.
8270 * frameset.el (frameset-to-register): Remove unused argument.
8272 * frameset.el (frameset-to-register):
8273 * kmacro.el (kmacro-to-register):
8274 * register.el (increment-register):
8275 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
8276 (calc-append-to-register, calc-prepend-to-register):
8277 * play/gametree.el (gametree-layout-to-register)
8278 (gametree-apply-register-layout):
8279 * textmodes/picture.el (picture-clear-rectangle-to-register)
8280 (picture-yank-rectangle-from-register):
8281 * vc/emerge.el (emerge-combine-versions-register):
8282 Use register-read-with-preview to read registers.
8284 2014-02-03 João Távora <joaotavora@gmail.com>
8286 * elec-pair.el (electric-pair-backward-delete-char): Don't error
8287 when at beginning of (possibly narrowed) buffer.
8289 2014-02-02 Daniel Colascione <dancol@dancol.org>
8291 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
8292 Also try to display local help from just before point.
8294 2014-02-02 Alan Mackenzie <acm@muc.de>
8296 c-parse-state. Don't "append-lower-brace-pair" in certain
8297 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
8298 recognised as a comment.
8300 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
8301 as well as normal comment starter.
8302 (c-parse-state-get-strategy): Extra return possibility
8304 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
8305 return value list to indicate replacement of a brace-pair cons
8307 (c-parse-state-1): With 'back-and-forward, only call
8308 c-append-lower-brace-pair-to state-cache when cons-separated.
8310 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
8312 * term/ns-win.el (ns-suspend-error): New function.
8313 (ns-initialize-window-system): Add ns-suspend-error to
8314 suspend-hook (Bug#16612).
8316 2014-02-02 Daniel Colascione <dancol@dancol.org>
8318 * progmodes/cc-defs.el (c-find-assignment-for-mode):
8319 Make loading cc-mode silent.
8321 2014-02-02 Daniel Colascione <dancol@dancol.org>
8323 * comint.el (comint-prompt-read-only): Change doc to suggest
8326 2014-02-02 Glenn Morris <rgm@gnu.org>
8328 * register.el (register-read-with-preview, point-to-register)
8329 (window-configuration-to-register, frame-configuration-to-register)
8330 (jump-to-register, number-to-register, view-register, insert-register)
8331 (copy-to-register, append-to-register, prepend-to-register)
8332 (copy-rectangle-to-register): Doc fixes.
8334 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
8337 * emacs-lisp/find-func.el (find-function-C-source): Idem.
8338 * emacs-lisp/nadvice.el (advice--cd*r): New function.
8339 * help-fns.el (describe-function-1): Use it.
8341 2014-02-02 Glenn Morris <rgm@gnu.org>
8343 * register.el (register-preview-default): New function,
8344 split from register-preview.
8345 (register-preview-function): Rename from register-preview-functions,
8347 (register-preview): Use register-preview-function.
8348 (register-read-with-preview): Error on non-character event. (Bug#16595)
8350 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
8352 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
8353 `:' before binary operators (bug#16609). Don't check for `:'
8354 before `[' and `(', or their syntax status. A percent literal
8355 can't end with either.
8356 (ruby-font-lock-keywords): For built-ins that require arguments,
8357 check that they're followed by something that looks like argument
8360 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
8362 * subr.el (butlast): Document what an omitted N means (bug#13437).
8365 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
8367 * net/shr.el (shr-generic): Make into a defsubst to make the stack
8368 depth shallower (bug#16587).
8369 (shr-tag-svg): Respect `shr-inhibit-images'.
8370 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
8372 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
8374 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
8375 (ruby-smie-grammar): Make "." right-associative. Make its priority
8376 lower than the ternary and all binary operators.
8377 (ruby-smie-rules): Indent "(" relative to the first non-"."
8378 parent, or the first "." parent at indentation.
8379 Use `ruby-align-chained-calls' for indentation of "." tokens.
8382 2014-01-31 Juri Linkov <juri@jurta.org>
8384 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
8385 from `make-hash-table'.
8387 * textmodes/ispell.el (ispell-init-process): Change message format
8388 to be consistent with other messages.
8390 2014-01-31 Glenn Morris <rgm@gnu.org>
8392 * delsel.el (delete-selection-mode): Doc fix.
8394 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
8395 (trace-function-background): Doc fixes.
8397 * ido.el (ido-use-virtual-buffers): Doc fix.
8398 Reset :version, since the default value has not changed.
8400 * register.el (register-preview-delay, register-read-with-preview):
8403 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
8404 do not mess with mail-buffer position (fixes 2009-11-03 change).
8405 * progmodes/cc-mode.el (c-submit-bug-report):
8406 Check auto-fill-mode is bound. (Bug#16592)
8408 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
8410 * startup.el (fancy-splash-image-file): New function,
8411 split from fancy-splash-head.
8412 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
8413 so that we are both using the same image. (Bug#16574)
8415 2014-01-30 Glenn Morris <rgm@gnu.org>
8417 * simple.el (eval-expression): Doc fix.
8419 * hexl.el (hexl-mode-hook):
8420 * ielm.el (ielm-mode-hook):
8421 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
8422 (lisp-interaction-mode-hook):
8423 * progmodes/cfengine.el (cfengine3-documentation-function):
8424 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
8426 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8428 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
8429 is a symbol (bug#16584).
8431 2014-01-30 Glenn Morris <rgm@gnu.org>
8433 * help.el (help-for-help-internal): Add "P" to text.
8435 2014-01-29 Glenn Morris <rgm@gnu.org>
8437 * simple.el (just-one-space, cycle-spacing): Doc fixes.
8439 2014-01-28 Martin Rudalics <rudalics@gmx.at>
8441 * window.el (fit-frame-to-buffer): Fix calculations for margins and
8444 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
8446 * progmodes/hideif.el: Extend to full CPP expression syntax.
8447 (hif-token-alist): Add missing tokens.
8448 (hif-token-regexp): Add support for float/octal/hex immediates.
8449 (hif-string-literal-regexp): New const.
8450 (hif-tokenize): Recognize strings and float/octal/hex immediates.
8451 (hif-exprlist): New function.
8452 (hif-parse-if-exp): Use it.
8453 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
8454 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
8455 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
8456 (hif-logxor, hif-comma): New functions.
8458 2014-01-28 Glenn Morris <rgm@gnu.org>
8460 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
8462 * indent.el (tab-stop-list): Doc fix. Add :version.
8464 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
8465 (cvs-append-to-ignore): Add compatibility alias.
8467 2014-01-27 Glenn Morris <rgm@gnu.org>
8469 * dired.el (dired-hide-details-mode): Don't autoload it,
8470 since it cannot be used outside Dired buffers anyway.
8472 * emulation/cua-base.el (cua-mode): Doc fix.
8474 * dired.el (dired-hide-details-hide-symlink-targets)
8475 (dired-hide-details-hide-information-lines)
8476 (dired-hide-details-mode): Doc fixes.
8478 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
8479 * strokes.el (strokes-file): Doc fix. Bump :version.
8480 (strokes-help): Doc fix.
8481 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
8482 * emulation/viper.el (viper): Doc fix for custom group.
8483 (top-level): Remove oh-so-no-longer-relevant text about vip.
8484 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
8486 * ido.el (ido-save-directory-list-file):
8487 * saveplace.el (save-place-file):
8488 * calendar/timeclock.el (timeclock-file):
8489 * net/quickurl.el (quickurl-url-file):
8490 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8491 * progmodes/idlwave.el (idlwave-config-directory):
8492 * textmodes/remember.el (remember-data-file):
8495 2014-01-26 Glenn Morris <rgm@gnu.org>
8497 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
8498 Doc fix. Make obsolete.
8499 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
8501 * sort.el (delete-duplicate-lines): Doc fix.
8503 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8505 * progmodes/ada-mode.el (ada):
8506 * woman.el (woman): Link to info manual and Commentary section.
8508 * progmodes/flymake.el (flymake):
8509 * nxml/nxml-mode.el (nxml):
8511 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
8512 * htmlfontify.el (htmlfontify):
8515 * ido.el (ido): Link to info manual.
8517 2014-01-25 Leo Liu <sdl.web@gmail.com>
8519 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
8521 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
8523 * net/shr.el (shr-tag-img): Prefer the title over the alt text
8526 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
8528 * net/eww.el (eww-download-callback):
8529 Fix reference to eww-download-directory.
8531 * emacs-lisp/bytecomp.el (byte-compile-file):
8532 Remove unused local variable `file-name'.
8534 2014-01-24 Glenn Morris <rgm@gnu.org>
8536 * woman.el (woman-default-faces, woman-monochrome-faces):
8537 Fix obsolescence specification.
8539 * subr.el (with-demoted-errors): Doc fix.
8541 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
8543 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
8544 (cl--macroexp-fboundp): New function.
8545 (cl--make-type-test): Use it.
8547 2014-01-23 Glenn Morris <rgm@gnu.org>
8549 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
8550 * simple.el (eval-expression): Doc fixes.
8552 2014-01-22 Glenn Morris <rgm@gnu.org>
8554 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
8556 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8558 * emacs-lisp/package.el: Write files silently.
8559 (package-autoload-ensure-default-file, package--write-file-no-coding)
8560 (package-generate-description-file, package--download-one-archive)
8561 (package-install-from-archive): Tell `write-region' to stay quiet.
8562 (package-menu-mode, package-menu--print-info): Omit the Archive column
8563 if there's only one archive.
8564 (package-all-keywords, package--has-keyword-p): Remove dead code.
8566 2014-01-22 Glenn Morris <rgm@gnu.org>
8568 * version.el (emacs-bzr-version-bzr): Fix typo.
8570 * version.el (emacs-repository-get-version):
8571 Check either .bzr or .git, but not both.
8572 Make the git case actually use the DIR argument, and return nil
8573 rather than the empty string.
8574 Avoid error if .git exists but the git executable is not found.
8576 2014-01-22 Martin Rudalics <rudalics@gmx.at>
8578 Fixes in window size functions around Bug#16430 and Bug#16470.
8579 * window.el (window-total-size, window-size): New argument ROUND.
8580 (window--min-delta-1, window-min-delta, window--max-delta-1):
8581 Be more conservative when calculating the numbers of lines or
8582 columns a window can shrink (Bug#16430).
8583 (fit-window-to-buffer): Simplify code.
8584 * term.el (term-window-width): Call window-body-width again.
8586 2014-01-22 Glenn Morris <rgm@gnu.org>
8588 * image.el (image-format-suffixes): Doc fix.
8590 * international/quail.el (quail-define-package): Doc fix.
8592 * emacs-lisp/authors.el (authors-valid-file-names)
8593 (authors-renamed-files-alist): Additions.
8595 * vc/vc-git.el (vc-git-print-log): Remove --follow;
8596 reverts 2014-01-09 change. (Bug#16422)
8598 * calc/calc-embed.el (thing-at-point-looking-at):
8599 * emacs-lisp/map-ynp.el (x-popup-dialog):
8600 * obsolete/lmenu.el (x-popup-dialog):
8601 * emacs-lisp/package.el (url-recreate-url):
8602 * mail/mailclient.el (clipboard-kill-ring-save):
8603 * subr.el (x-popup-dialog): Update declaration.
8604 * mail/rmail.el (rmail-mime-message-p):
8605 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
8607 2014-01-21 Daniel Colascione <dancol@dancol.org>
8609 * progmodes/sh-script.el (sh--inside-noncommand-expression):
8610 Correctly detect when we're inside an arithmetic expansion form
8611 containing nested parenthesis.
8612 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
8613 to detect cases where we shouldn't expand "<<" to a heredoc
8616 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
8619 (eldoc--message-command-p): New function.
8620 (eldoc-display-message-p): Use it.
8621 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
8622 message is not automatically erased for us.
8623 (eldoc-print-current-symbol-info): Erase previous message, if any.
8625 2014-01-21 Tassilo Horn <tsdh@gnu.org>
8627 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
8628 specify it's an interactive function.
8630 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
8631 Fix regex used for scanning for citation keys which failed for
8632 citations with optional arguments.
8634 2014-01-21 Leo Liu <sdl.web@gmail.com>
8636 * simple.el (read--expression): Don't enable eldoc-mode.
8638 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
8640 * simple.el (move-beginning-of-line): Make sure we don't move forward
8643 2014-01-20 Juri Linkov <juri@jurta.org>
8645 * saveplace.el (toggle-save-place, save-place-to-alist)
8646 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
8647 'dired-mode) before checking for dired-directory. (Bug#16477)
8649 2014-01-20 Juri Linkov <juri@jurta.org>
8651 * indent.el (indent-line-to): Use backward-to-indentation
8652 instead of back-to-indentation. (Bug#16461)
8654 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
8656 Revert some of the CANNOT_DUMP fix (Bug#16494).
8657 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
8658 but fixing this can wait until after the next release.
8659 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
8661 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
8663 * eshell/esh-mode.el (eshell-password-prompt-regexp):
8664 Use `password-word-equivalents'.
8665 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
8666 to t. (Bug#5664, Bug#13124)
8668 2014-01-19 Alan Mackenzie <acm@muc.de>
8670 Bind open-paren-in-column-0-is-defun-start to nil at some entry
8672 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
8673 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
8674 * progmodes/cc-mode.el (c-before-change, c-after-change)
8675 (c-font-lock-fontify-region): Bind it here.
8677 2014-01-19 Martin Rudalics <rudalics@gmx.at>
8679 * term.el (term-window-width): Call window-text-width instead of
8680 window-width (Bug#16470).
8682 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
8684 * simple.el (password-word-equivalents): Remove duplicates.
8685 Sort, to make this easier next time.
8686 Downcase. Omit ": " after "jelszó".
8688 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
8690 * term/common-win.el (saved-region-selection): Defvar it.
8691 (x-select-text): Set saved-region-selection (Bug#16382).
8693 2014-01-18 Glenn Morris <rgm@gnu.org>
8695 * emacs-lisp/authors.el (authors-aliases)
8696 (authors-renamed-files-alist): Add some entries.
8698 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
8700 * net/tramp.el (tramp-password-prompt-regexp):
8701 Use `password-word-equivalents' if available.
8702 (tramp-action-password, tramp-process-one-action)
8703 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
8705 2014-01-17 Chong Yidong <cyd@gnu.org>
8707 * simple.el (password-word-equivalents): New defcustom.
8708 * comint.el (comint-password-prompt-regexp): Use it. Bump version
8710 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
8713 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
8715 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
8716 (ruby-align-to-stmt-keywords): Change the default value.
8717 Use `ruby-alignable-keywords' to generate the possible customization
8719 (ruby-smie-rules): Instead of using a hardcoded list of alignable
8720 keywords, check against the value of `ruby-alignable-keywords'
8721 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
8723 2014-01-17 Glenn Morris <rgm@gnu.org>
8725 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
8727 Make M-x authors return zero *Authors Errors* from current logs.
8728 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
8729 (authors-ignored-files): Add some entries, remove others.
8730 (authors-ambiguous-files, authors-valid-file-names):
8732 (authors-renamed-files-alist): Add, remove, and adjust entries.
8733 (authors-renamed-files-regexps): Add some entries.
8734 Remove some very broad ones. Make some entries `lax'.
8735 (authors-lax-changelogs): New constant.
8736 (authors-disambiguate-file-name): Treat top-level specially.
8737 (authors-lax-changelog-p): New function.
8738 (authors-canonical-file-name): Check file as written against
8739 authors-valid-file-names. Do not special-case etc/.
8740 Handle `lax' logs and authors-renamed-files-regexps elements.
8742 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
8744 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
8745 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
8748 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8750 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
8751 Assume we're already in the proper buffer.
8752 Inspired by Anders Lindgren <andlind@gmail.com>.
8753 (follow-post-command-hook): Call it from the right buffer.
8754 (follow-comint-scroll-to-bottom): Adjust call.
8755 (follow-all-followers): Use get-buffer-window-list.
8757 2014-01-15 Daniel Colascione <dancol@dancol.org>
8759 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
8760 `buffer-file-name' in interactive-form so that we don't leave
8761 pathless file names in `file-name-history'.
8763 2014-01-15 Juri Linkov <juri@jurta.org>
8765 * indent.el (indent-rigidly): Set deactivate-mark to nil
8766 in transient indentation mode. (Bug#16438)
8768 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
8770 * emacs-lisp/package.el (package-desc-keywords): New function
8772 (describe-package-1, package-all-keywords)
8773 (package--has-keyword-p): Use it.
8775 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
8777 * simple.el (define-alternatives): When creating the
8778 COMMAND-alternatives variable, assign COMMAND as its definition
8779 name so that `describe-variable' can relocate it.
8781 2014-01-14 Matthew Leach <matthew@mattleach.net>
8783 * font-lock.el (font-lock-keywords): Fix typo in docstring
8786 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8788 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
8789 line instead of wrongly reset `add-coment' (bug#13577).
8791 2014-01-14 Daiki Ueno <ueno@gnu.org>
8793 * epa-file.el (epa-file-write-region): Encode the region according
8794 to `buffer-file-format'. Problem reported at:
8795 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
8797 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
8800 so it applies in the right buffer (bug#16410).
8802 2014-01-13 Daniel Colascione <dancol@dancol.org>
8804 * textmodes/rst.el (rst-define-key): Provide deprecated
8805 keybindings through named functions instead of anonymous ones so
8806 that "??" doesn't appear in describe-mode output.
8808 2014-01-13 Bastien Guerry <bzg@gnu.org>
8810 * simple.el (define-alternatives): Call the selected command
8811 interactively. When setting `COMMAND--implementation' for the
8812 first time, tell the user how to chose another implementation.
8813 Enhance the docstring.
8815 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
8817 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
8818 (log-edit--match-first-line): New function.
8819 (log-edit-font-lock-keywords): Use it.
8820 (log-edit-mode): Make jit-lock-defer-multiline work.
8822 2014-01-13 Bastien Guerry <bzg@gnu.org>
8824 * rect.el (rectangle-mark-mode): When the region is not active,
8825 display a message saying that the mark as been set and that
8826 rectangle mode is in use.
8827 (rectangle--highlight-for-redisplay): Only put an overlay with a
8828 visible vertical bar when (display-graphic-p) is non-nil.
8829 This partially fixes Bug#16403.
8831 2014-01-13 Juri Linkov <juri@jurta.org>
8833 * info.el (Info-find-file): Go to DIR before displaying the error
8834 about a nonexistent file if no previous Info file is visited.
8835 Use `user-error' instead of `error' for "Info file %s does not exist".
8836 (Info-find-node-2): In case of a nonexistent node in unwind forms
8837 go to the Top node if there is no previous node to revert to.
8840 2014-01-13 Martin Rudalics <rudalics@gmx.at>
8842 fit-frame/window-to-buffer code fixes including one for Bug#14096.
8843 * window.el (fit-frame-to-buffer): Fix doc-string.
8844 Respect window-min-height/-width. Fit pixelwise when
8845 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
8846 when avoiding that frame goes partially off-screen.
8847 (fit-window-to-buffer): Respect window-min-height/-width
8850 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
8853 after an empty line.
8855 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * net/shr.el (shr-render-region): Autoload.
8859 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
8861 * net/eww.el (eww-download-directory): Rename from
8862 `eww-download-path' (Bug#16419).
8864 2014-01-12 Leo Liu <sdl.web@gmail.com>
8866 * dired-x.el (dired-mode-map): Fix last change.
8868 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
8870 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
8873 * emacs-lisp/generic.el (generic--normalize-comments):
8874 Rename from generic--normalise-comments. All uses changed.
8875 * play/bubbles.el (bubbles--neighborhood-score)
8876 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
8877 (bubbles--neighborhood-available)
8878 (bubbles--update-neighborhood-score):
8879 Rename from names with 'neighbourhood'. All uses changed.
8881 2014-01-12 Leo Liu <sdl.web@gmail.com>
8883 Re-implement the feature of showing eldoc info after editing.
8884 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
8885 (eldoc-edit-message-commands): New function.
8886 (eldoc-print-after-edit): New variable.
8887 (eldoc-pre-command-refresh-echo-area): Emit message only by
8888 eldoc-message-commands.
8889 (eldoc-mode): Restrict eldoc-message-commands to editing commands
8890 if eldoc-print-after-edit is set. (Bug#16346)
8891 * simple.el (read--expression): Enable eldoc-mode.
8892 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
8894 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
8895 Eric S. Raymond <esr@thyrsus.com>
8897 * version.el (emacs-repository-get-version): Enhance so the
8898 function works correctly in either a Bazaar or Git repo.
8900 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
8902 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
8903 Goes with removal of the joke manpages from /etc.
8905 2014-01-10 Kenichi Handa <handa@gnu.org>
8907 * mail/rmail.el (rmail-get-coding-system):
8908 Check rmail-get-coding-function before "funcall"ing it.
8910 2014-01-10 Glenn Morris <rgm@gnu.org>
8912 * emacs-lisp/authors.el (authors-fixed-entries):
8913 Update for files that no longer exist.
8915 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
8917 * version.el (emacs-bzr-get-version): Restore compatibilty with
8920 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
8922 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
8925 2014-01-10 Eli Zaretskii <eliz@gnu.org>
8927 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
8929 2014-01-10 Chong Yidong <cyd@gnu.org>
8931 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
8933 2014-01-10 Anders Lindgren <andlind@gmail.com>
8935 * follow.el (follow-cache-command-list): Include right-char and
8938 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
8941 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
8942 * woman.el (woman-mark-horizontal-position):
8943 Rename from woman-mark-horizonal-position. Use changed.
8945 2014-01-10 Glenn Morris <rgm@gnu.org>
8947 * info.el (info-initialize): If running uninstalled, ensure our
8948 own info files are always found first, even if INFOPATH is set.
8950 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
8952 2014-01-09 David Engster <deng@randomsample.de>
8954 * emacs-lisp/eieio-custom.el:
8955 * emacs-lisp/eieio-opt.el: Set generated autoload file to
8956 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
8957 * emacs-lisp/eieio.el: Regenerate autoloads.
8959 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
8961 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
8962 following renames. (Bug#8756)
8964 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
8968 (activate-mark): Add `no-tmm' argument.
8969 (set-mark, push-mark-command): Use it instead of running
8970 activate-mark-hook by hand.
8972 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
8974 In preparation for the move to git, sanitize out some
8975 Bazaar-specific names.
8977 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
8979 * version.el (emacs-bzr-version): Name changed to
8980 emacs-repository-version. Obsolete-variable alias made.
8981 * loadup.el: Follow through on this name change.
8982 * mail/emacsbug.el (report-emacs-bug): Factor out any
8983 assumption about the version control system in use.
8985 2014-01-08 David Engster <deng@randomsample.de>
8987 * help-fns.el (help-fns-describe-function-functions):
8988 New variable to call functions for augmenting help buffers.
8989 (describe-function-1): Remove explicit calls to
8990 `help-fns--compiler-macro', `help-fns--parent-mode' and
8991 `help-fns--obsolete'. Put them in above new variable instead, and
8992 call them through `run-hook-with-args'.
8993 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
8994 `eieio-describe-class'. Not meant for interactive use anymore,
8995 but to augment existing help buffers. Remove optional second
8996 argument. Create proper button for file location.
8997 Rewrite function to use `insert' instead of `princ' and `prin1' where
8999 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
9000 (eieio-method-def, eieio-class-def): Move further up.
9001 (describe-method, describe-generic, eieio-describe-method):
9003 (eieio-help-constructor, eieio-help-generic): Rename from
9004 `eieio-describe-constructor' and `eieio-describe-generic', resp.
9005 Rewrite to use `insert' in the current buffer and use proper help
9007 (eieio-help-find-method-definition)
9008 (eieio-help-find-class-definition): Also accept symbols as
9010 (eieio-help-mode-augmentation-maybee): Remove.
9011 (eieio-describe-class-sb): Use `describe-function'.
9012 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
9013 Add `eieio-help-generic' and `eieio-help-constructor'.
9015 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
9018 * language/china-util.el (hz-ascii-designation):
9019 Rename from hz-ascii-designnation.
9020 (hz-ascii-designation): Rename from hz-ascii-designnation.
9023 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
9025 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
9028 2014-01-08 Bastien Guerry <bzg@gnu.org>
9030 * emacs-lisp/package.el (package-delete):
9031 Correctly delete the package from package-alist.
9033 2014-01-08 Daiki Ueno <ueno@gnu.org>
9035 * emacs-lisp/package.el (url-recreate-url): Declare.
9036 (url-http-target-url): Declare.
9037 (package-handle-response): Include requested URL in the error message.
9038 (package--check-signature): Don't re-signal errors from
9039 package--with-work-buffer. Suggested by Stefan Monnier.
9041 2014-01-07 Bastien Guerry <bzg@gnu.org>
9043 * minibuffer.el (completion--try-word-completion): When both a
9044 hyphen and a space are possible candidates for the character
9045 following a word, display both candidates. (Bug#15980)
9047 2014-01-07 Martin Rudalics <rudalics@gmx.at>
9049 * window.el (balance-windows-2): While rounding don't give a
9050 window more than the remainder. Bug#16351, bug#16383.
9052 2014-01-07 Glenn Morris <rgm@gnu.org>
9054 * menu-bar.el (menu-bar-help-extra-packages): Remove.
9055 (menu-bar-help-menu): Use view-external-packages instead.
9057 2014-01-07 Bastien Guerry <bzg@gnu.org>
9059 * emacs-lisp/package.el (package-delete): Also delete the package
9060 name from `package-alist', not its description only.
9062 2014-01-07 Glenn Morris <rgm@gnu.org>
9064 * help.el (view-external-packages):
9065 * menu-bar.el (menu-bar-help-extra-packages):
9066 Visit efaq.info rather than etc/MORE.STUFF.
9068 2014-01-07 Juri Linkov <juri@jurta.org>
9070 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
9071 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
9073 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
9074 that shadows RET. (Bug#16342)
9076 2014-01-07 Chong Yidong <cyd@gnu.org>
9078 * isearch.el (isearch-yank-char, isearch-yank-word)
9079 (isearch-yank-line): Doc fix.
9081 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
9084 * emacs-lisp/elint.el (elint-find-builtins):
9085 * emacs-lisp/eldoc.el (eldoc-symbol-function):
9086 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
9087 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
9088 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9089 * apropos.el (apropos-safe-documentation):
9090 * subr.el (symbol-file): Remove redundant fboundp.
9091 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
9093 2014-01-06 Bastien Guerry <bzg@gnu.org>
9095 * hl-line.el (global-hl-line-overlay): Make a local variable.
9096 (global-hl-line-overlays): New variable to store all overlays.
9097 (global-hl-line-mode): Don't delete overlays from the current
9098 buffer when `global-hl-line-sticky-flag' is non-nil.
9099 (global-hl-line-highlight): Add new overlays to
9100 `global-hl-line-overlays'.
9101 (global-hl-line-unhighlight-all): New function to delete all
9102 overlays when turning off `global-hl-line-mode'.
9103 This fixes Bug#16183.
9105 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
9107 * subr.el (set-transient-map): Fix nested case and docstring.
9109 2014-01-06 Tassilo Horn <tsdh@gnu.org>
9111 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
9114 2014-01-06 Daniel Colascione <dancol@dancol.org>
9116 Fix defun navigation in vc log view.
9118 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
9119 like `beginning-of-defun'.
9120 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
9121 log-view-end-of-defun to log-view-end-of-defun-1. Replace
9122 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
9123 (log-view-extract-comment): Call `log-view-current-entry' directly
9124 instead of relying on broken `log-view-beginning-of-defun' behavior.
9126 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
9129 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
9130 * emacs-lisp/debug.el (cancel-debug-on-entry):
9131 * epg.el (epg-error-to-string):
9132 * files.el (recover-file):
9133 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
9134 * mail/emacsbug.el (report-emacs-bug-hook):
9135 * mail/sendmail.el (mail-recover):
9136 * ses.el (ses-yank-resize):
9137 * term/ns-win.el (ns-print-buffer):
9138 Spelling fixes in diagnostics, mostly for "canceled" with one L.
9139 * epg.el (epg-key-capability-alist): Rename from misspelled version.
9141 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
9143 2014-01-06 Leo Liu <sdl.web@gmail.com>
9145 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
9146 to avoid shadowing global key. (Bug#16354)
9148 2014-01-06 Daniel Colascione <dancol@dancol.org>
9150 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
9153 2014-01-05 Martin Rudalics <rudalics@gmx.at>
9155 * window.el (balance-windows): Add mising t to fix Bug#16351.
9157 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9159 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
9161 (shr-insert): If we have a word that's longer than `shr-width',
9162 break after it anyway. Otherwise we'll do no breaking once we get
9165 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9167 * net/eww.el (eww): Support single/double quote for search.
9168 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
9169 (eww-history-quit): Delete and use quit-window.
9170 (eww-history-kill): Delete, because it doesn't work well and
9172 (eww-history-mode-map): Delete some keys and add easy-menu.
9174 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
9176 Fix misspelling of 'chinese' in rx (Bug#16237).
9177 * emacs-lisp/rx.el (rx-categories): Correct spelling of
9180 Change subword regexps back to vars (Bug#16296).
9181 * progmodes/subword.el (subword-forward-regexp)
9182 (subword-backward-regexp): Change these back to variables.
9184 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
9187 syntax-begin-function (bug#16247).
9189 2014-01-03 Chong Yidong <cyd@gnu.org>
9191 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
9192 (advice--docstring): Delete variable.
9193 (advice--make-1): Leave the docstring empty.
9194 (advice-add): Use function-documentation for advised docstring.
9196 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
9197 Ignore function-documentation property when getting documentation.
9198 (ad-activate-advised-definition): Use function-documentation
9199 generate the docstring.
9200 (ad-make-advised-definition): Don't call
9201 ad-make-advised-definition-docstring.
9202 (ad-make-advised-definition-docstring, ad-advised-definition-p):
9205 * progmodes/sql.el (sql-help): Use function-documentation instead
9206 of dynamic-docstring-function property. No need to autoload now.
9207 (sql--help-docstring): New variable.
9208 (sql--make-help-docstring): Use it.
9210 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * ielm.el (ielm-tab): Retarget.
9213 (ielm-map): Use ielm-tab for tab.
9214 (ielm-complete-filename): Use comint-filename-completion.
9215 (ielm-complete-symbol): Remove.
9216 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
9217 remove ielm-tab from completion-at-point-functions (bug#16224).
9219 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
9220 Beware signals raised by predicates (bug#16201).
9222 2014-01-02 Richard Stallman <rms@gnu.org>
9224 * dired-aux.el (dired-do-print): Handle printer-name.
9226 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
9227 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
9228 (rmail-epa-decrypt): Turn off mime processing.
9230 * mail/rmail.el (rmail-make-in-reply-to-field):
9231 Add parens in message-id.
9233 * mail/rmail.el (rmail-get-coding-function): Variable.
9234 (rmail-get-coding-system): Use it.
9236 2013-12-31 Eli Zaretskii <eliz@gnu.org>
9238 * international/mule-conf.el: Unify the charset indian-is13194.
9239 (indian-is13194): Specify unify-map.
9241 2013-12-31 Leo Liu <sdl.web@gmail.com>
9243 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
9245 2013-12-30 Daniel Colascione <dancol@dancol.org>
9247 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
9248 of printing a useless when we resume from sleep.
9250 * progmodes/sh-script.el
9251 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
9252 in indentation code. (Bug#16233)
9254 2013-12-28 João Távora <joaotavora@gmail.com>
9256 * elec-pair.el (electric-pair-post-self-insert-function):
9257 Don't open extra newlines at beginning of buffer. (Bug#16272)
9259 2013-12-28 Eli Zaretskii <eliz@gnu.org>
9261 * frame.el (window-system-for-display): Don't allow to create a
9262 GUI frame from a -nw session on MS-Windows. (Bug#14739)
9264 2013-12-28 Glenn Morris <rgm@gnu.org>
9266 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
9269 * apropos.el (apropos-match-face):
9270 * calculator.el (calculator-displayer):
9271 * dabbrev.el (dabbrev-search-these-buffers-only):
9272 * face-remap.el (buffer-face-mode-face):
9273 * simple.el (yank-handled-properties):
9274 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
9275 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
9276 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
9277 (hashcash-double-spend-database):
9278 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
9279 (ruby-deep-indent-paren-style):
9280 * textmodes/flyspell.el (flyspell-auto-correct-binding):
9281 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
9282 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
9283 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
9284 Specify custom types.
9286 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
9287 * bookmark.el (bookmark-bmenu-use-header-line):
9288 * doc-view.el (doc-view-scale-internally):
9289 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
9290 * register.el (register-preview-delay):
9291 * net/shr.el (shr-bullet):
9292 * progmodes/cfengine.el (cfengine-cf-promises)
9293 (cfengine-parameters-indent):
9294 * progmodes/octave.el (inferior-octave-error-regexp-alist):
9295 * textmodes/reftex-vars.el (reftex-label-regexps):
9296 * vc/log-edit.el (log-edit-setup-add-author): Add version.
9298 * net/tls.el (tls-certtool-program): Fix default value.
9300 * desktop.el (desktop-restore-in-current-display):
9301 * newcomment.el (comment-empty-lines):
9302 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
9303 (idlwave-pad-keyword):
9304 * progmodes/tcl.el (tcl-tab-always-indent):
9305 * textmodes/reftex-vars.el (reftex-index-default-tag):
9306 * elec-pair.el (electric-pair-skip-whitespace):
9307 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
9309 * emacs-lisp/authors.el (authors-ignored-files)
9310 (authors-valid-file-names, authors-renamed-files-alist): Additions.
9312 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
9314 * shell.el (shell-dynamic-complete-command): Doc fix.
9315 (shell--command-completion-data): Shell completion now matches
9316 executable filenames from the current buffer's directory, on
9317 systems in which this behavior is the default (windows-nt, ms-dos).
9319 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9321 * net/shr.el (shr-insert): Don't infloop if the width is zero.
9323 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
9325 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
9328 * electric.el: Move all electric-pair-* to elec-pair.el.
9329 * elec-pair.el: New file, split from electric.el.
9331 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
9333 * net/shr.el (shr-find-fill-point): Don't try to fill if the
9334 indentation level is larger than the width, because that will
9336 (shr-insert): Fill repeatedly long texts, so that Japanese is
9337 formatted correctly (bug#16263).
9338 (shr-find-fill-point): Off by one error in comparison with the
9341 2013-12-26 João Távora <joaotavora@gmail.com>
9343 * electric.el (electric-pair-mode): More flexible engine for skip-
9344 and inhibit predicates, new options for pairing-related functionality.
9345 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
9346 if that keeps or improves their balance in buffers.
9347 (electric-pair-delete-adjacent-pairs): Delete the pair when
9348 backspacing over adjacent matched delimiters.
9349 (electric-pair-open-extra-newline): Open extra newline when
9350 inserting newlines between adjacent matched delimiters.
9351 (electric--sort-post-self-insertion-hook):
9352 Sort post-self-insert-hook according to priority values when
9353 minor-modes are activated.
9354 * simple.el (newline-and-indent): Call newline with interactive
9356 (blink-paren-post-self-insert-function): Set priority to 100.
9357 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9358 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
9359 comments. Locally set electric-pair-skip-whitespace to 'chomp and
9360 electric-pair-open-newline-between-pairs to nil.
9362 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
9364 * progmodes/python.el: Use lexical-binding.
9365 (python-nav-beginning-of-defun): Stop searching ASAP.
9367 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
9369 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9370 Fix interactive spec. Doc fix. (Bug#15754)
9372 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
9374 * emacs-lisp/byte-run.el (eval-when-compile):
9375 * progmodes/cc-defs.el (cc-eval-when-compile):
9376 Fix edebug spec (bug#16184).
9378 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9380 * net/shr.el (shr-visit-file): Remove debugging function.
9381 (shr-insert): Don't infloop if we can't find a good place to break
9382 the line (bug#16256).
9384 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
9386 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
9387 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
9388 python-nav-lisp-forward-sexp-safe.
9389 (python-nav--forward-sexp): New argument SAFE allows switching
9390 forward sexp movement behavior for parens.
9391 (python-nav-forward-sexp): Throw errors on unterminated parens
9393 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
9394 (python-nav-backward-sexp-safe): New functions.
9395 (python-shell-buffer-substring):
9396 Use `python-nav-forward-sexp-safe'.
9398 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
9400 * net/shr.el (shr-find-fill-point): Don't break lines before a
9402 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
9403 (shr-find-fill-point): Remove the special checks for the quotation
9404 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
9406 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9408 * net/eww.el (eww-form-textarea): Use a different face for
9409 textareas than text input since they have different keymaps
9412 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
9414 * progmodes/python.el (python-nav-beginning-of-statement):
9415 Speed up (Bug#15295).
9417 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9419 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
9420 the window configuration.
9422 2013-12-24 Eli Zaretskii <eliz@gnu.org>
9424 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
9425 we run on MS-Windows or MS-DOS.
9427 2013-12-24 Martin Rudalics <rudalics@gmx.at>
9429 * window.el (balance-windows-area): Call window-size instead of
9430 window-height and window-width. Bug#16241.
9432 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
9434 * net/eww.el (eww-bookmark-quit): Remove.
9435 (eww-bookmark-browse): Restore the window configuration when you
9436 choose a bookmark (bug#16144).
9438 2013-12-24 Daniel Colascione <dancol@dancol.org>
9440 * icomplete.el: Remove redundant :group arguments to `defcustom'
9442 (icomplete-show-matches-on-no-input): New customizable variable.
9443 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
9444 we have something to show.
9445 (icomplete-exhibit): Compute completions even if we have no user input.
9447 2013-12-23 Daniel Colascione <dancol@dancol.org>
9449 * icomplete.el: Move `provide' to end of file.
9451 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
9453 * net/gnutls.el (gnutls-verify-error): Add version tag.
9455 2013-12-23 Chong Yidong <cyd@gnu.org>
9457 * subr.el (set-transient-map): Rename from
9458 set-temporary-overlay-map. Doc fix.
9460 * face-remap.el (text-scale-adjust):
9461 * indent.el (indent-rigidly):
9462 * kmacro.el (kmacro-call-macro):
9463 * minibuffer.el (minibuffer-force-complete):
9464 * repeat.el (repeat):
9465 * simple.el (universal-argument--mode):
9466 * calendar/todo-mode.el (todo-insert-item--next-param):
9467 * progmodes/f90.el (f90-abbrev-start): Callers changed.
9469 * indent.el (indent-rigidly): Use substitute-command-keys.
9471 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9473 * net/eww.el (eww-tag-select): Add text-property to jump to next
9475 (eww): Add non-supported ftp error.
9477 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9479 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
9480 comments. Handle electric indent after typing `?' and `!'.
9482 2013-12-22 Chong Yidong <cyd@gnu.org>
9484 * faces.el (face-spec-recalc): If the theme specs are not
9485 applicable to a frame, fall back on the defface spec.
9486 This prevents themes from obliterating faces on low-color terminals.
9488 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9490 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
9491 after `{'. We need it after block openers, and it doesn't seem
9492 to hurt after hash openers.
9494 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9496 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
9497 extracted from `ruby-smie-rules'.
9498 (ruby--electric-indent-chars): New variable.
9499 (ruby--electric-indent-p): New function.
9500 (ruby-mode): Use `electric-indent-functions' instead of
9501 `electric-indent-chars'.
9503 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
9505 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
9507 (ruby-smie-rules): Indent plus one level after `=>'.
9509 2013-12-21 Richard Stallman <rms@gnu.org>
9511 * simple.el (newline): Doc fix.
9513 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
9515 * net/eww.el (eww-list-histories, eww-list-histories)
9516 (eww-history-browse, eww-history-quit, eww-history-kill)
9517 (eww-history-mode-map, eww-history-mode): New command and
9518 functions to list browser histories.
9519 (eww-form-text): Support text form with disabled
9520 and readonly attributes.
9521 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
9523 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9525 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
9526 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
9527 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
9528 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
9530 (eww-bookmark-mode-map): Add menu.
9531 (eww-render, eww-mode): Use `setq-local'.
9532 (eww-tool-bar-map): New variable.
9533 (eww-mode): Set `tool-bar-map'.
9534 (eww-view-source): Check for `html-mode' with `fboundp'.
9536 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538 * net/shr.el (shr--extract-best-source): Don't bug out on audio
9539 elements with text inside. Also remove debugging.
9541 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
9543 * cus-start.el (all): Add ns-use-srgb-colorspace.
9545 2013-12-21 Chong Yidong <cyd@gnu.org>
9547 * custom.el (custom-theme-recalc-face): Do nothing if the face is
9548 undefined. Thus, theme settings for undefined faces do not take
9549 effect until the faces are defined with defface, the same as with
9552 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
9553 (face-spec-reset-face): Don't assign extra properties in temacs.
9554 (face-spec-recalc): Apply X resources too.
9556 2013-12-21 Chong Yidong <cyd@gnu.org>
9558 * faces.el (face-spec-set):
9559 * cus-face.el (custom-theme-set-faces, custom-set-faces):
9560 * custom.el (defface): Doc fixes (Bug#16203).
9562 * indent.el (indent-rigidly-map): Add docstring, and move commands
9563 into named functions.
9564 (indent-rigidly-left, indent-rigidly-right)
9565 (indent-rigidly-left-to-tab-stop)
9566 (indent-rigidly-right-to-tab-stop): New functions. Decide on
9567 indentation direction based on bidi direction, and accumulate
9568 sequential commands in a single undo boundary.
9569 (indent-rigidly--pop-undo): New utility function.
9571 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
9573 * faces.el (read-face-name): Require crm.el when using crm-separator.
9575 2013-12-20 Daniel Colascione <dancol@dancol.org>
9577 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
9578 so that we don't reflow comments into the shebang line.
9580 2013-12-20 Juri Linkov <juri@jurta.org>
9582 * saveplace.el (save-place-to-alist): Add `dired-filename' as
9583 a position when `dired-directory' is non-nil. Check integer
9584 positions with `integerp'.
9585 (toggle-save-place, save-places-to-alist): Add check for
9587 (save-place-find-file-hook): Check integer positions with
9589 (save-place-dired-hook): Use `dired-goto-file' when
9590 `dired-filename' is found in the assoc list. Check integer
9591 positions with `integerp'.
9592 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
9594 * dired.el (dired-initial-position-hook): Rename back from
9595 `dired-initial-point-hook'.
9596 (dired-initial-position): Rename `dired-initial-point-hook' to
9597 `dired-initial-position-hook'.
9598 (dired-file-name-at-point): Doc fix. (Bug#15329)
9600 2013-12-20 Juri Linkov <juri@jurta.org>
9602 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
9603 (read-regexp-suggestions): New function.
9604 (read-regexp): Use `read-regexp-defaults-function' to get default values.
9605 Use `read-regexp-suggestions'. Add non-empty default to history
9607 (occur-read-regexp-defaults-function): Remove function.
9608 (occur-read-primary-args): Use `regexp-history-last' instead of
9609 `occur-read-regexp-defaults-function'.
9611 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
9612 (hi-lock-line-face-buffer, hi-lock-face-buffer)
9613 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
9614 `hi-lock-read-regexp-defaults-function'. Doc fix.
9615 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
9616 with `find-tag-default-as-symbol-regexp'. Doc fix.
9617 (hi-lock-read-regexp-defaults): Remove function.
9618 (hi-lock-regexp-okay): Add check for null.
9620 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
9621 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
9623 * subr.el (find-tag-default-as-symbol-regexp): New function.
9624 (find-tag-default-as-regexp): Move symbol regexp formatting to
9625 `find-tag-default-as-symbol-regexp'.
9627 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
9629 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
9632 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9634 * calendar/todo-mode.el: New implementation of item insertion
9635 commands and key bindings.
9636 (todo-key-prompt): New face.
9637 (todo-insert-item): New command.
9638 (todo-insert-item--parameters): New defconst, replacing defvar
9639 todo-insertion-commands-args-genlist.
9640 (todo-insert-item--param-key-alist): New defconst, replacing
9641 defvar todo-insertion-commands-arg-key-list.
9642 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
9643 (todo-insert-item--argsleft, todo-insert-item--apply-args)
9644 (todo-insert-item--next-param): New functions.
9645 (todo-insert-item--args, todo-insert-item--argleft)
9646 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
9648 (todo-key-bindings-t): Change binding of "i" from
9649 todo-insertion-map to todo-insert-item.
9650 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
9651 (todo-insertion-command-name, todo-insertion-commands-names)
9652 (todo-define-insertion-command, todo-insertion-commands)
9653 (todo-insertion-key-bindings, todo-insertion-map): Remove.
9655 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
9657 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
9658 (todo-toggle-item-highlighting): Use eval-and-compile instead of
9660 (todo-move-category): Allow choosing a non-existing todo file to
9661 move the category to, and create that file.
9662 (todo-default-priority): New user option.
9663 (todo-set-item-priority): Use it.
9664 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
9665 (desktop-restore-file-buffer): Declare.
9666 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
9667 (todo-modes-set-2): Locally set desktop-save-buffer to
9668 todo-desktop-save-buffer.
9669 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
9670 (auto-mode-alist): Add autoload cookie.
9672 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
9674 * emacs-lisp/subr-x.el: Renamed from helpers.el.
9675 helpers.el was a poor choice of name.
9676 (string-remove-prefix): New function.
9677 (string-remove-suffix): New function.
9679 2013-12-20 Martin Rudalics <rudalics@gmx.at>
9681 Fix assignment for new window total sizes.
9682 * window.el (window--pixel-to-size): Remove function.
9683 (window--pixel-to-total-1, window--pixel-to-total):
9684 Fix calculation of new total sizes.
9686 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
9688 * comint.el (comint-output-filter): Fix rear-nonsticky property
9689 placement (Bug#16010).
9691 2013-12-20 Chong Yidong <cyd@gnu.org>
9693 * faces.el (read-color): Minor fix for completion function.
9695 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
9697 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
9698 New option. (Bug#16182)
9699 (ruby-smie--indent-to-stmt-p): Use it.
9700 (ruby-smie-rules): Revert the logic in the handling of `when'.
9701 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
9702 (ruby-deep-arglist, ruby-deep-indent-paren)
9703 (ruby-deep-indent-paren-style): Update docstrings to note that the
9704 vars don't have any effect with SMIE.
9706 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
9708 * calc/calc.el (calc-enter, calc-pop): Use the variable
9709 `calc-context-sensitive-enter'.
9711 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9713 * net/shr.el (shr-insert): Protect against infloops in degenerate
9716 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9718 * progmodes/octave.el (octave): Add link to manual and octave
9720 (octave-mode-menu): Link to octave-mode manual.
9722 2013-12-20 Leo Liu <sdl.web@gmail.com>
9724 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
9725 insertion using skeleton-end-newline. (Bug#16138)
9727 2013-12-20 Juri Linkov <juri@jurta.org>
9729 * replace.el (occur-engine): Use `add-face-text-property'
9730 to add the face property to matches and titles. (Bug#14645)
9732 * hi-lock.el (hi-green): Use lighter color "light green" closer to
9733 the palette of other hi-lock colors.
9734 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
9736 2013-12-19 Juri Linkov <juri@jurta.org>
9738 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
9739 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
9740 (minibuffer-history-symbol): Move variable declaration closer to
9743 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
9746 2013-12-19 Juri Linkov <juri@jurta.org>
9748 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
9750 (log-edit-hook): Add it to :options. (Bug#16170)
9752 2013-12-19 Juri Linkov <juri@jurta.org>
9754 * simple.el (eval-expression-print-format): Don't check for
9755 command names and the last command. Always display additional
9756 formats of the integer result in the echo area, and insert them
9757 to the current buffer only with a zero prefix arg.
9758 Display character when char-displayable-p is non-nil.
9759 (eval-expression): With a zero prefix arg, set `print-length' and
9760 `print-level' to nil, and insert the integer values from
9761 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
9763 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
9764 `eval-last-sexp-arg-internal'. Doc fix.
9765 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
9766 `eval-last-sexp-print-value'. Doc fix.
9767 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
9768 Set `print-length' and `print-level' to nil when arg is zero.
9769 (eval-last-sexp): Doc fix.
9770 (eval-defun-2): Print the integer values from
9771 `eval-expression-print-format' at the end.
9773 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
9774 values from `eval-expression-print-format' at the end.
9776 * ielm.el (ielm-eval-input): Print the integer
9777 values from `eval-expression-print-format' at the end.
9779 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
9781 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
9782 2013-12-11T19:01:44Z!tzz@lifelogs.com.
9784 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
9786 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
9787 (hl-line-highlight, global-hl-line-highlight): Use it.
9788 (hl-line-overlay): Use defvar-local.
9790 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
9792 * term/ns-win.el: Require dnd.
9793 (global-map): Remove drag items.
9794 (ns-insert-text, ns-set-foreground-at-mouse)
9795 (ns-set-background-at-mouse):
9796 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
9797 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
9800 2013-12-19 Glenn Morris <rgm@gnu.org>
9802 * emacs-lisp/ert.el (ert-select-tests):
9803 Fix string/symbol mixup. (Bug#16121)
9805 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
9807 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
9808 keywords to their parent.
9810 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
9812 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
9813 first arg to be a string (fixed dead code), or an operator symbol.
9814 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
9816 (ruby-smie-rules): Remove parent token check in the `.' clause, it
9817 did nothing. Don't respond to `(:after ".")', it will be called
9818 with :before anyway. Remove the ` @ ' rule, it didn't seem to
9819 change anything. Only return indentation for binary operators
9820 when they are hanging. De-dent opening paren when its parent is
9821 `.', otherwise it looks bad when the dot is not at bol or eol
9824 2013-12-19 Juri Linkov <juri@jurta.org>
9826 * replace.el (query-replace-read-args): Split a non-negative arg
9827 and a negative arg into separate elements.
9828 (query-replace, query-replace-regexp, replace-string)
9829 (replace-regexp): Add arg `backward'. Doc fix.
9830 (replace-match-maybe-edit): When new arg `backward' is non-nil,
9831 move point to the beginning of the match.
9832 (replace-search, replace-highlight): Use new arg `backward'
9833 to set the value of `isearch-forward'.
9834 (perform-replace): Add arg `backward' and use it to perform
9835 replacement backward. (Bug#14979)
9837 * isearch.el (isearch-query-replace): Use a negative prefix arg
9838 to call `perform-replace' with a non-nil arg `backward'.
9840 2013-12-18 Juri Linkov <juri@jurta.org>
9842 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
9843 to the default list. Move `log-edit-show-files' to the end.
9844 Add more available functions to options.
9845 (log-edit): Move default specific settings to
9846 `log-edit-insert-message-template'. Don't move point.
9847 (log-edit-insert-message-template): New function.
9848 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
9851 2013-12-18 Juri Linkov <juri@jurta.org>
9853 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
9854 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
9856 2013-12-18 Leo Liu <sdl.web@gmail.com>
9858 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
9861 2013-12-18 Eli Zaretskii <eliz@gnu.org>
9863 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
9864 formats for displaying file sizes when the -s switch is given.
9865 Instead, compute a separate format for displaying the size in
9866 blocks, which is displayed in addition to the "regular" size.
9867 When -h is given in addition to -s, produce size in blocks in
9868 human-readable form as well. (Bug#16179)
9870 2013-12-18 Tassilo Horn <tsdh@gnu.org>
9872 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9873 Reference tables with ~\ref{...} instead of only \ref{...}.
9875 2013-12-18 Chong Yidong <cyd@gnu.org>
9877 * cus-edit.el (custom-magic-alist): Fix "themed" description
9880 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
9881 is non-nil, do not create a new entry in the symbol's theme-value
9882 or theme-face property; update theme-settings only (Bug#14664).
9883 (custom-available-themes): Doc fix.
9885 * cus-theme.el (custom-new-theme-mode-map): Add bindings
9888 * replace.el (occur-engine): Avoid infloop (Bug#7593).
9890 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
9892 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
9895 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
9897 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
9899 2013-12-18 Glenn Morris <rgm@gnu.org>
9901 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
9902 * cus-start.el (load-prefer-newer): New option.
9904 2013-12-18 Le Wang <l26wang@gmail.com>
9906 * comint.el (comint-previous-matching-input-from-input):
9907 Retain point (Bug#13404).
9909 2013-12-18 Chong Yidong <cyd@gnu.org>
9911 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
9913 2013-12-18 Glenn Morris <rgm@gnu.org>
9915 * mail/emacsbug.el (report-emacs-bug):
9916 Only mention enable-multibyte-characters if non-standard.
9918 2013-12-17 Juri Linkov <juri@jurta.org>
9920 * arc-mode.el (archive-extract-by-file): Check if directory exists
9921 before deletion to not show irrelevant errors if it doesn't exist.
9923 2013-12-17 Juri Linkov <juri@jurta.org>
9925 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
9928 * net/eww.el (browse-web): Add alias to `eww'.
9929 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
9930 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
9932 * net/browse-url.el (browse-url-browser-function): Move `eww'
9933 closer to similar functions.
9935 * startup.el (fancy-startup-screen, fancy-about-screen):
9936 Set browse-url-browser-function to eww-browse-url locally.
9939 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
9941 * window.el (window--pixel-to-total): Remove unused `mini' var.
9942 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
9943 (split-window): Remove unused `new' var.
9944 (window--display-buffer): Remove unused `frame' and `delta' vars.
9945 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
9948 2013-12-17 Martin Rudalics <rudalics@gmx.at>
9950 * dired.el (dired-mark-pop-up):
9951 * register.el (register-preview): Don't bind
9952 split-height-threshold here since it's now done in
9953 display-buffer-below-selected.
9955 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
9957 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
9958 xterm-rgb-convert-to-16bit.
9959 (rxvt-register-default-colors): Standardize with
9960 xterm-register-default-colors (Bug#14078).
9962 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
9964 * simple.el (kill-region): Pass mark first, then point, so that
9965 kill-append works right (Bug#12819).
9966 (copy-region-as-kill, kill-ring-save): Likewise.
9968 2013-12-17 Leo Liu <sdl.web@gmail.com>
9970 * net/rcirc.el (rcirc-add-face):
9971 * eshell/em-prompt.el (eshell-emit-prompt):
9972 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
9975 2013-12-17 Chong Yidong <cyd@gnu.org>
9977 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
9978 Suggested by Xue Fuqiao.
9980 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
9982 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
9984 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * net/shr.el (shr-insert-document): Remove unused var
9987 `shr-preliminary-table-render'.
9988 (shr-rescale-image): Remove unused arg `force'.
9989 (shr-put-image): Update calls accordingly.
9990 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
9992 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
9994 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
9995 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
9996 :close-all, to see which indentation method to use (Bug#16116).
9997 (smie-rules-function): Document the method :close-all.
9999 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10001 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
10003 * net/eww.el (eww-display-html): If we can't find the anchor we're
10004 looking for, then go to point-min.
10006 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
10008 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
10009 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
10010 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
10011 Expand dir too, in case it's relative.
10013 2013-12-16 Juri Linkov <juri@jurta.org>
10015 * desktop.el (desktop-auto-save-timeout): Change default to
10016 `auto-save-timeout'. Doc fix.
10017 (desktop-save): Skip the timestamp in desktop-saved-frameset
10018 when checking for auto-save changes.
10019 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
10020 `desktop-auto-save' is called repeatedly by the idle timer.
10021 (desktop-auto-save-set-timer): Replace `run-with-timer' with
10022 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
10025 2013-12-16 Juri Linkov <juri@jurta.org>
10027 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
10029 (isearch-pre-command-hook): Check `this-command' for symbolp.
10031 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10033 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
10035 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
10037 * progmodes/cfengine.el (cfengine3--current-word): Remove.
10038 (cfengine3--current-function): Bring in the current-function
10039 functionality from `cfengine3--current-word'.
10040 (cfengine3-completion-function): Bring in the
10041 bounds-of-current-word functionality from
10042 `cfengine3--current-word'.
10044 2013-12-16 Martin Rudalics <rudalics@gmx.at>
10046 * window.el (display-buffer-below-selected):
10047 Bind split-height-threshold to 0 as suggested by Juri Linkov.
10049 2013-12-16 Leo Liu <sdl.web@gmail.com>
10051 * progmodes/compile.el (compile-goto-error): Do not push-mark.
10052 Remove NOMSG arg and all uses changed.
10054 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
10056 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
10057 (cua--deactivate-rectangle): Don't deactivate the mark.
10058 (cua-set-rectangle-mark): Don't set mark-active since
10059 cua--activate-rectangle already does it for us.
10060 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
10061 non-rectangular region.
10063 * emulation/cua-base.el (cua-repeat-replace-region):
10064 Use with-current-buffer.
10066 * net/gnutls.el: Use cl-lib.
10067 (gnutls-negotiate): `mapcan' -> cl-mapcan.
10069 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10071 * emacs-lisp/package.el (package-built-in-p): Support both
10072 built-in and the package.el converted package descriptions.
10073 (package-show-package-list): Allow keywords.
10074 (package-keyword-button-action): Use it instead of
10075 `finder-list-matches'.
10076 (package-menu-filter-interactive): Interactive filtering (by
10078 (package-menu--generate): Support keywords and change keymappings
10079 and headers when they are given.
10080 (package--has-keyword-p): Helper function.
10081 (package-menu--refresh): Use it.
10082 (package--mapc): Helper function.
10083 (package-all-keywords): Use it.
10084 (package-menu-mode-map): Set up menu items and keybindings to
10085 provide a filtering UI.
10087 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
10089 * net/gnutls.el (gnutls-verify-error): New defcustom to control
10090 the behavior when a certificate fails validation. Defaults to
10091 old behavior: never abort, just warn.
10092 (gnutls-negotiate): Use it.
10094 2013-12-14 Martin Rudalics <rudalics@gmx.at>
10096 * window.el (display-buffer-below-selected): Never split window
10097 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
10099 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
10101 * emacs-lisp/package.el (package--prepare-dependencies): New function.
10102 (package-buffer-info): Use it (bug#15108).
10104 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
10106 * icomplete.el (icomplete-completions): Make sure the prefix is already
10107 displayed elsewhere before hiding it (bug#16219).
10109 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
10111 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
10112 open-paren tokens when preceded by a open-paren, too.
10113 (ruby-smie-rules): Handle virtual indentation after open-paren
10114 tokens specially. If there is code between it and eol, return the
10115 column where is starts (Bug#16118).
10117 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10119 * progmodes/cfengine.el: Fix `add-hook' doc.
10120 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
10121 (cfengine3--current-word): Fix parameters.
10122 (cfengine3-make-syntax-cache): Simplify further.
10123 (cfengine3-completion-function, cfengine3--current-function):
10124 Use `assq' for symbols.
10125 (cfengine3--current-function): Fix `cfengine3--current-word' call.
10127 2013-12-13 Glenn Morris <rgm@gnu.org>
10129 * loadup.el (load-path): Warn if site-load or site-init changes it.
10130 No more need to reset it when bootstrapping.
10132 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
10134 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
10135 locations for cf-promises.
10136 (cfengine-mode-syntax-functions-regex): New caching variable.
10137 (cfengine3-fallback-syntax): Fallback syntax for cases where
10138 cf-promises doesn't run.
10139 (cfengine3--current-word): Reimplement using
10140 `cfengine-mode-syntax-functions-regex'.
10141 (cfengine3-completion-function, cfengine3--current-function):
10142 Use `cfengine3-make-syntax-cache' directly.
10143 (cfengine3-clear-syntax-cache): New function.
10144 (cfengine3-make-syntax-cache): Simplify and create
10145 `cfengine-mode-syntax-functions-regex' on demand.
10146 (cfengine3-format-function-docstring): Don't call
10147 `cfengine3-make-syntax-cache' explicitly.
10149 2013-12-13 Martin Rudalics <rudalics@gmx.at>
10151 Fix windmove-find-other-window broken after pixelwise resizing
10153 * windmove.el (windmove-other-window-loc): Revert change from
10155 (windmove-find-other-window): Call window-in-direction.
10156 * window.el (window-in-direction): New arguments SIGN, WRAP and
10157 MINI to emulate original windmove-find-other-window behavior.
10159 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
10161 * simple.el (blink-matching--overlay): New variable.
10162 (blink-matching-open): Instead of moving point, highlight the
10163 matching paren with an overlay
10164 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
10166 * faces.el (paren-showing-faces, show-paren-match)
10167 (show-paren-mismatch): Move from paren.el.
10169 2013-12-13 Leo Liu <sdl.web@gmail.com>
10171 * indent.el (indent-region): Disable progress reporter in
10172 minibuffer. (Bug#16108)
10174 * bindings.el (visual-order-cursor-movement): Fix version.
10176 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10178 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
10179 Also match after beginning of line.
10180 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
10181 files. Thanks to Russell Sim. (Bug#15378)
10183 2013-12-13 Juri Linkov <juri@jurta.org>
10185 * simple.el <Keypad support>: Remove key bindings duplicated
10186 with bindings.el. (Bug#14397)
10188 2013-12-13 Juri Linkov <juri@jurta.org>
10190 * comint.el (comint-mode-map): Replace `delete-char' with
10191 `delete-forward-char'. (Bug#16109)
10193 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10195 * progmodes/python.el (python-indent-calculate-indentation):
10196 Fix de-denters cornercase. (Bug#15731)
10198 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10200 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
10201 (advice--make): Pay attention to `depth'.
10202 (advice--make-1): Don't autoload commands eagerly.
10203 * emacs-lisp/elp.el (elp-instrument-function):
10204 * emacs-lisp/trace.el (trace-function-internal):
10205 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
10207 * iswitchb.el (iswitchb-mode): Don't belittle ido.
10209 2013-12-12 Eli Zaretskii <eliz@gnu.org>
10211 * term/w32-win.el (w32-handle-dropped-file):
10212 * startup.el (normal-top-level):
10213 * net/browse-url.el (browse-url-file-url):
10214 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
10215 decode file names using 'utf-8' rather than
10216 file-name-coding-system.
10218 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
10220 * progmodes/python.el (python-indent-context)
10221 (python-indent-calculate-indentation): Fix auto-identation
10222 behavior for comment blocks. (Bug#15916)
10224 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
10226 * progmodes/python.el (python-indent-calculate-indentation):
10227 When determining indentation, don't treat "return", "pass", etc., as
10228 operators when they are just string constituents. (Bug#15812)
10230 2013-12-12 Juri Linkov <juri@jurta.org>
10232 * uniquify.el (uniquify-buffer-name-style): Change default to
10233 `post-forward-angle-brackets'.
10235 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
10236 `uniquify'. Change default to `post-forward-angle-brackets'.
10238 2013-12-11 Glenn Morris <rgm@gnu.org>
10240 * emacs-lisp/package.el (finder-list-matches):
10241 Autoload rather than falsely declaring.
10243 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
10245 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
10246 (eww-mode-map): Use them.
10248 2013-12-11 Martin Rudalics <rudalics@gmx.at>
10250 * window.el (display-buffer-in-side-window): Fix doc-string
10253 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
10255 * vc/vc-git.el: Silence byte-compiler warnings.
10256 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
10257 (log-edit-set-header): Declare.
10259 2013-12-11 Eli Zaretskii <eliz@gnu.org>
10261 * Makefile.in (custom-deps, finder-data): Run output file names
10262 through unmsys--file-name. (Bug#16099)
10264 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
10266 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
10267 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
10269 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
10270 instead of deleting the selection "by hand" (bug#16098).
10271 Rely on insert-for-yank to yank rectangles.
10272 (cua-highlight-region-shift-only): Mark obsolete.
10273 (cua-mode): Don't enable/disable transient-mark-mode,
10274 shift-select-mode (cua-mode works both with and without them), and
10275 pc-selection-mode (obsolete).
10276 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
10277 (cua--deactivate-rectangle): Deactivate it.
10279 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
10280 (delete-selection-helper): Make sure yank starts at the top of the
10282 (minibuffer-keyboard-quit): Use region-active-p.
10284 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
10286 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
10287 to `delete' (bug#16109).
10289 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10291 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
10292 info manual and show keybindings and set `:group' keyword.
10294 2013-12-11 Juri Linkov <juri@jurta.org>
10296 * delsel.el (delete-active-region): Let-bind `this-command'
10297 to prevent `kill-region' from changing its original value.
10298 (delete-selection-helper): Handle `overwrite-mode' for the type
10299 `kill' exactly the same way as for the type `t'.
10300 (insert-char, quoted-insert, reindent-then-newline-and-indent):
10301 Support more commands. (Bug#13312)
10303 2013-12-11 Juri Linkov <juri@jurta.org>
10305 * bindings.el: Map kp keys to non-kp keys systematically
10306 with basic modifiers control, meta and shift. (Bug#14397)
10308 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10310 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
10311 "Close browser" menu items. Fix wrong function of "List
10314 2013-12-11 Juri Linkov <juri@jurta.org>
10316 * misearch.el (multi-isearch-buffers): Set the value of
10317 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10318 arg of isearch-forward to t.
10319 (multi-isearch-buffers-regexp): Set the value of
10320 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
10321 arg of isearch-forward-regexp to t.
10322 (multi-isearch-files): Set the value of
10323 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10324 arg of isearch-forward to t.
10325 (multi-isearch-files-regexp): Set the value of
10326 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
10327 arg of isearch-forward-regexp to t. (Bug#16035)
10329 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
10330 arg of isearch-forward to t.
10331 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
10332 arg of isearch-forward-regexp to t.
10333 (dired-isearch-filter-filenames): Remove unnecessary check for
10334 `dired-isearch-filenames'.
10336 * comint.el (comint-history-isearch-backward):
10337 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
10338 (comint-history-isearch-backward-regexp):
10339 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
10341 2013-12-10 Eli Zaretskii <eliz@gnu.org>
10343 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
10344 unmsys--file-name. (Bug#16099)
10346 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
10348 * emacs-lisp/package.el (package-keyword-button-action):
10349 Remove finder.el require dependency.
10351 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
10353 * emacs-lisp/package.el: Require finder.el.
10354 (describe-package-1): Add keyword buttons.
10355 (package-make-button): New convenience function.
10356 (package-keyword-button-action): Keyword button action using
10357 `finder-list-matches'.
10359 2013-12-09 Eli Zaretskii <eliz@gnu.org>
10361 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
10364 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
10366 * autorevert.el (auto-revert-notify-add-watch): Do not handle
10369 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10371 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
10372 after the end of a percent literal.
10374 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
10376 * progmodes/ruby-mode.el (ruby-forward-string): Document.
10377 Handle caret-delimited strings (Bug#16079).
10379 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
10381 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
10382 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
10383 `ruby-parse-partial' (Bug#16078).
10385 2013-12-09 Leo Liu <sdl.web@gmail.com>
10387 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
10389 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
10391 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
10392 (js-switch-indent-offset): New option.
10393 (js--proper-indentation): Use it. And handle the case when
10394 "default" is actually a key in an object literal.
10395 (js--same-line): New function.
10396 (js--multi-line-declaration-indentation): Use it.
10397 (js--indent-in-array-comp, js--array-comp-indentation):
10399 (js--proper-indentation): Use them, to handle array comprehension
10402 2013-12-08 Leo Liu <sdl.web@gmail.com>
10404 * progmodes/flymake.el (flymake-highlight-line): Re-write.
10405 (flymake-make-overlay): Remove arg MOUSE-FACE.
10406 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
10408 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10410 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
10412 (redisplay-highlight-region-function): Use it.
10414 * emulation/cua-base.el (cua--explicit-region-start)
10415 (cua--last-region-shifted): Remove.
10416 (cua--deactivate): Use deactivate-mark.
10417 (cua--pre-command-handler-1): Don't handle shift-selection.
10418 (cua--post-command-handler-1): Don't change transient-mark-mode.
10419 (cua--select-keymaps): Use region-active-p rather than
10420 cua--explicit-region-start or cua--last-region-shifted.
10421 (cua-mode): Enable shift-select-mode.
10423 2013-12-08 Leo Liu <sdl.web@gmail.com>
10425 * progmodes/flymake.el (flymake-popup-current-error-menu):
10426 Rename from flymake-display-err-menu-for-current-line. Reimplement.
10427 (flymake-posn-at-point-as-event, flymake-popup-menu)
10428 (flymake-make-emacs-menu): Remove. (Bug#16077)
10430 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * rect.el (rectangle-mark-mode): Activate mark even if
10433 transient-mark-mode is off (bug#16066).
10434 (rectangle--highlight-for-redisplay): Fix boundary condition when point
10435 is > mark and at bolp.
10437 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
10438 (region-extract-function): Use it.
10439 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
10440 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
10442 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
10443 kill-ring-save, kill-region, delete-char, delete-forward-char.
10444 Ignore self-insert-iso.
10446 * emulation/cua-gmrk.el (cua--init-global-mark):
10447 Ignore `self-insert-iso'.
10449 * emulation/cua-base.el (cua--prefix-copy-handler)
10450 (cua--prefix-cut-handler): Rely on region-extract-function rather than
10451 checking cua--rectangle.
10452 (cua-delete-region): Use region-extract-function.
10453 (cua-replace-region): Delete function.
10454 (cua-copy-region, cua-cut-region): Obey region-extract-function.
10455 (cua--pre-command-handler-1): Don't do the delete-selection thing.
10456 (cua--self-insert-char-p): Ignore `self-insert-iso'.
10457 (cua--init-keymaps): Don't remap delete-selection commands.
10458 (cua-mode): Use delete-selection-mode instead of rolling our own
10461 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
10462 Obey region-extract-function.
10464 Make registers and delete-selection-mode work on rectangles.
10465 * register.el (describe-register-1): Don't modify the register's value.
10466 (copy-to-register): Obey region-extract-function.
10467 * delsel.el (delete-active-region): Obey region-extract-function.
10469 2013-12-08 Leo Liu <sdl.web@gmail.com>
10471 * progmodes/flymake.el (flymake, flymake-error-bitmap)
10472 (flymake-warning-bitmap, flymake-fringe-indicator-position)
10473 (flymake-compilation-prevents-syntax-check)
10474 (flymake-start-syntax-check-on-newline)
10475 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
10476 (flymake-start-syntax-check-on-find-file, flymake-log-level)
10477 (flymake-xml-program, flymake-master-file-dirs)
10478 (flymake-master-file-count-limit)
10479 (flymake-allowed-file-name-masks): Relocate.
10480 (flymake-makehash, flymake-float-time)
10481 (flymake-replace-regexp-in-string, flymake-split-string)
10482 (flymake-get-temp-dir): Remove.
10483 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
10484 (flymake-current-row, flymake-selected-frame)
10485 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
10486 related functions. (Bug#16077)
10488 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
10490 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
10492 2013-12-07 Tassilo Horn <tsdh@gnu.org>
10494 * help-fns.el (describe-function-1): Use new advice-* functions
10495 rather than old ad-* functions. Fix function type description and
10496 source links for advised functions and subrs.
10498 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10500 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
10502 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
10504 * progmodes/compile.el (compilation-start):
10505 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
10507 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10508 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
10510 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10512 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10513 Touch up the last change.
10515 2013-12-06 Leo Liu <sdl.web@gmail.com>
10517 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
10518 (inferior-octave-startup): Always use "octave> " for prompt.
10519 (octave-goto-function-definition)
10520 (octave-sync-function-file-names)
10521 (octave-find-definition-default-filename): Remove redundant backquotes.
10523 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10525 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
10527 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
10528 where appropriate already.
10529 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
10530 end of method names (Bug#15874).
10532 2013-12-06 Juri Linkov <juri@jurta.org>
10534 * isearch.el (isearch--saved-overriding-local-map):
10535 New internal variable.
10536 (isearch-mode): Set it to the initial value of
10537 `overriding-terminal-local-map'.
10538 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
10539 with `isearch--saved-overriding-local-map'. (Bug#16035)
10541 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
10543 * progmodes/octave.el (inferior-octave-completion-table):
10544 Turn back into function, use `completion-table-with-cache'
10545 (Bug#11906). Update all references.
10547 * minibuffer.el (completion-table-with-cache): New function.
10549 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
10551 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
10553 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
10555 * net/eww.el (eww-current-source): New variable to store page
10557 (eww-display-html, eww-mode, eww-save-history)
10558 (eww-restore-history): Use it.
10559 (eww-view-source): New command to view page source.
10560 Opportunistically uses `html-mode' to highlight the buffer.
10561 (eww-mode-map): Install it.
10563 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
10565 * net/dbus.el (dbus-unregister-service)
10566 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
10568 (dbus-unregister-service): Skip :serial entries in
10569 `dbus-registered-objects-table'.
10570 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
10572 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
10574 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
10575 around keywords with extra `split-string' argument.
10577 2013-12-04 Martin Rudalics <rudalics@gmx.at>
10579 * windmove.el (windmove-other-window-loc): Handle navigation
10580 between windows (excluding the minibuffer window - Bug#16017).
10582 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
10584 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
10585 in D-Bus type syntax.
10586 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
10587 preserve unibyte strings. (Bug#16048)
10589 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
10592 Call force-mode-line-update is the proper buffer (bug#16042).
10594 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
10596 * vc/log-edit.el (log-edit-add-new-comment): Rename to
10597 `log-edit-remember-comment', make argument optional. Adjust all
10599 (log-edit-mode): Add `log-edit-remember-comment' to
10600 `kill-buffer-hook' locally.
10601 (log-edit-kill-buffer): Don't remember comment explicitly since
10602 the buffer is killed anyway.
10604 2013-12-04 Juri Linkov <juri@jurta.org>
10606 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
10607 add-hook and remove-hook for multi-buffer search. (Bug#16035)
10609 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
10611 * notifications.el (notifications-close-notification): Call the
10612 D-Bus method with ID being a `:uint32'. (Bug#16030)
10614 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
10616 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
10618 2013-12-03 Juri Linkov <juri@jurta.org>
10620 * progmodes/compile.el (compilation-start): Rename window alist
10621 entry `no-display-ok' to `allow-no-window'.
10623 * simple.el (shell-command): Add window alist entry
10624 `allow-no-window' to `display-buffer'.
10625 (async-shell-command): Doc fix.
10627 * window.el (display-buffer-no-window): New action function.
10628 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
10630 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10632 * vc/log-edit.el (log-edit-set-header): Extract from
10633 `log-edit-toggle-header'.
10634 (log-edit-extract-headers): Separate the summary, when extracted
10635 from header, from the rest of the message with an empty line.
10637 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
10638 line, if present, to the Summary header.
10640 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
10643 in current-buffer (bug#16029).
10645 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
10647 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
10648 (debugger-mode-map): Bind it.
10649 (debugger--backtrace-base): New function.
10650 (debugger-eval-expression): Use it.
10651 (debugger-frame-number): Skip local vars when present.
10652 (debugger--locals-visible-p, debugger--insert-locals)
10653 (debugger--show-locals, debugger--hide-locals): New functions.
10655 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
10657 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
10659 (tramp-get-remote-locale): New defun.
10660 (tramp-open-connection-setup-interactive-shell): Use it.
10662 2013-12-02 Leo Liu <sdl.web@gmail.com>
10664 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
10666 * progmodes/sh-script.el (sh-shell-process):
10667 * progmodes/octave.el (inferior-octave-process-live-p):
10668 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
10669 (gdb-inferior-io-sentinel):
10670 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
10672 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10674 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
10675 `save-selected-window' to `log-edit-hide-buf'. This makes
10676 `log-edit-show-files' idempotent.
10677 (log-edit-show-files): Mark the new window as dedicated.
10679 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
10681 * vc/log-edit.el (log-edit-mode-map): Add binding for
10682 `log-edit-kill-biffer'.
10683 (log-edit-hide-buf): Add a FIXME comment.
10684 (log-edit-add-new-comment): New function, extracted from
10686 (log-edit-done, log-edit-add-to-changelog): Use it.
10687 (log-edit-kill-buffer): New command.
10689 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10691 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
10692 instead of killing the buffer.
10694 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
10698 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10700 * net/eww.el (eww-form-checkbox-selected-symbol)
10701 (eww-form-checkbox-symbol): New customizable variable.
10702 (eww-form-checkbox, eww-toggle-checkbox):
10703 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
10705 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
10706 (shr--get-media-pref, shr--extract-best-source): New function.
10707 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
10708 no :src tag was specified.
10710 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
10711 (eww-render): Handle `eww-use-external-browser-for-content-type'.
10712 Use \\` to match beginning of string instead of ^.
10713 (eww-browse-with-external-browser): Provide optional URL parameter.
10714 (eww-render): Set `eww-current-title' back to "".
10716 * net/shr.el (shr-tag-video): Display content for video if no
10717 poster is available.
10718 (shr-tag-audio): Add support for <audio> tag.
10720 * net/eww.el (eww-text-input-types): New const.
10721 (eww-process-text-input): Treat input types in
10722 `eww-text-input-types' as text.
10724 * net/shr.el (shr-tag-table): Fix comment typo.
10726 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10728 * net/eww.el (eww-follow-link): New command to avoid reloading
10729 pages when we follow #target links (bug#15243).
10730 (eww-quit): Special mode buffers shouldn't query before exiting.
10732 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
10734 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
10737 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10739 * net/eww.el (eww-restore-history): Update the window title after
10740 moving in the history.
10741 (eww-current-dom): New variable used to save the current DOM.
10743 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
10745 * vc/log-edit.el (log-edit-mode-map): Add binding for
10746 `log-edit-beginning-of-line'.
10747 (log-edit-setup-add-author): New user option.
10748 (log-edit-beginning-of-line): New command.
10749 (log-edit): Move major mode call above the contents setup so that
10750 the local variable values are already applied.
10751 (log-edit): Only insert "Author: " when
10752 `log-edit-setup-add-author' is non-nil.
10753 (log-edit): When SETUP is non-nil, position point after ": "
10754 instead of point-min.
10756 2013-12-01 Glenn Morris <rgm@gnu.org>
10758 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
10760 2013-11-30 Eli Zaretskii <eliz@gnu.org>
10762 * startup.el (fancy-splash-frame): On MS-Windows, trigger
10763 redisplay to make sure the initial frame gets a chance to become
10764 visible. (Bug#16014)
10766 2013-11-30 Martin Rudalics <rudalics@gmx.at>
10768 Support resizing frames and windows pixelwise.
10769 * cus-start.el (frame-resize-pixelwise)
10770 (window-resize-pixelwise): New entries.
10771 * emacs-lisp/debug.el (debug): Use window-total-height instead
10772 of window-total-size.
10773 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
10774 * help.el (describe-bindings-internal): Use help-buffer as
10775 argument for with-help-window.
10776 (temp-buffer-max-width): New option.
10777 (resize-temp-buffer-window, help-window-setup)
10778 (with-help-window): Rewrite.
10779 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
10781 * window.el (frame-char-size, window-min-pixel-height)
10782 (window-safe-min-pixel-height, window-safe-min-pixel-width)
10783 (window-min-pixel-width, window-safe-min-pixel-size)
10784 (window-combination-p, window-safe-min-size)
10785 (window-resizable-p, window--size-to-pixel)
10786 (window--pixel-to-size, window--resize-apply-p): New functions.
10787 (window-safe-min-height): Fix doc-string.
10788 (window-size, window-min-size, window--min-size-1)
10789 (window-sizable, window-sizable-p, window--min-delta-1)
10790 (window-min-delta, window--max-delta-1, window-max-delta)
10791 (window--resizable, window--resizable-p, window-resizable)
10792 (window-full-height-p, window-full-width-p, window-at-side-p)
10793 (window--in-direction-2, window-in-direction)
10794 (window--resize-reset-1, window--resize-mini-window)
10795 (window-resize, window-resize-no-error)
10796 (window--resize-child-windows-normal)
10797 (window--resize-child-windows, window--resize-siblings)
10798 (window--resize-this-window, window--resize-root-window)
10799 (window--resize-root-window-vertically)
10800 (adjust-window-trailing-edge, enlarge-window, shrink-window)
10801 (maximize-window, minimize-window, delete-window)
10802 (quit-restore-window, window-split-min-size, split-window)
10803 (balance-windows-2, balance-windows)
10804 (balance-windows-area-adjust, balance-windows-area)
10805 (window--state-get-1, window-state-get, window--state-put-1)
10806 (window--state-put-2, window-state-put)
10807 (display-buffer-record-window, window--display-buffer):
10808 Make functions handle pixelwise sizing of windows.
10809 (display-buffer--action-function-custom-type)
10810 (display-buffer-fallback-action):
10811 Add display-buffer-in-previous-window.
10812 (display-buffer-use-some-window): Resize window to height it had
10814 (fit-window-to-buffer-horizontally): New option.
10815 (fit-frame-to-buffer): Describe new values.
10816 (fit-frame-to-buffer-bottom-margin): Replace with
10817 fit-frame-to-buffer-margins.
10818 (window--sanitize-margin): New function.
10819 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
10820 using window-text-pixel-size.
10822 2013-11-30 Glenn Morris <rgm@gnu.org>
10824 * emacs-lisp/bytecomp.el (byte-compile-form):
10825 Make the `interactive-only' warning like the `obsolete' one.
10826 * comint.el (comint-run):
10827 * files.el (insert-file-literally, insert-file):
10828 * replace.el (replace-string, replace-regexp):
10829 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
10830 (goto-line, insert-buffer, next-line, previous-line):
10831 Tweak `interactive-only' spec.
10833 Stop keeping (most) generated cedet grammar files in the repository.
10834 * Makefile.in (semantic): New.
10835 (compile-main): Depend on semantic.
10837 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10839 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
10840 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
10842 * uniquify.el (uniquify-buffer-name-style): Change default.
10844 * loadup.el: Preload "uniquify".
10846 * time.el (display-time-update): Update all mode lines (bug#15999).
10848 * electric.el (electric-indent-mode): Enable by default.
10849 * loadup.el: Preload "electric".
10851 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
10853 * emacs-lisp/helpers.el (string-empty-p): New function.
10854 (string-blank-p): New function.
10856 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
10858 * imenu.el (imenu--index-alist): Add missing dot to the docstring
10861 2013-11-29 Andreas Politz <politza@fh-trier.de>
10862 * imenu.el (imenu--subalist-p): Don't error on non-conses and
10863 allow non-lambda lists as functions.
10864 (imenu--in-alist): Don't recurse into non-subalists.
10865 (imenu): Don't pass function itself as an argument (Bug#14029).
10867 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * progmodes/python.el (python-mode-map): Remove binding for ":".
10870 (python-indent-electric-colon): Remove command.
10871 (python-indent-post-self-insert-function): Integrate the previous code
10872 of python-indent-electric-colon. Make it conditional on
10873 electric-indent-mode.
10874 (python-mode): Add ?: to electric-indent-chars.
10875 Move python-indent-post-self-insert-function to the end of
10876 post-self-insert-hook.
10878 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10880 * doc-view.el (doc-view-goto-page): Update mode-line.
10882 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
10884 2013-11-27 Glenn Morris <rgm@gnu.org>
10886 * international/charprop.el, international/uni-bidi.el:
10887 * international/uni-category.el, international/uni-combining.el:
10888 * international/uni-comment.el, international/uni-decimal.el:
10889 * international/uni-decomposition.el, international/uni-digit.el:
10890 * international/uni-lowercase.el, international/uni-mirrored.el:
10891 * international/uni-name.el, international/uni-numeric.el:
10892 * international/uni-old-name.el, international/uni-titlecase.el:
10893 * international/uni-uppercase.el:
10894 Remove generated files from VCS repository.
10896 2013-11-27 Eli Zaretskii <eliz@gnu.org>
10898 * filenotify.el (file-notify-add-watch): Don't special-case
10899 w32notify when computing the directory to watch.
10901 2013-11-27 Glenn Morris <rgm@gnu.org>
10903 Make bootstrap without generated uni-*.el files possible again.
10904 * loadup.el: Update command-line-args checking for unidata-gen.
10905 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
10906 * composite.el, international/characters.el:
10907 Handle unicode tables being undefined.
10909 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
10910 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
10911 (compile-main): Depend on leim rule.
10913 * loadup.el: Move leim-list.el to leim/ subdirectory.
10914 * startup.el (normal-top-level): No more leim directory.
10915 * international/ja-dic-cnv.el (skkdic-convert):
10916 Disable version-control and autoloads in output files.
10917 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
10918 Disable version-control and autoloads in output files.
10919 * leim/quail: Move here from ../leim.
10920 * leim/quail/hangul.el (hangul-input-method-activate):
10921 Add autoload cookie.
10922 (generated-autoload-load-name): Set file-local value.
10923 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
10924 (generated-autoload-load-name): Set file-local value.
10926 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
10928 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
10929 (eww-add-bookmark): Ask confirmation when add to bookmarks.
10930 (eww-quit): Ask confirmation before quitting eww.
10932 2013-11-26 Eli Zaretskii <eliz@gnu.org>
10934 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
10935 reading output from Diff on MS-Windows and MS-DOS.
10937 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
10939 * emacs-lisp/helpers.el (string-reverse): New function.
10941 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
10943 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
10944 names on MS Windows, like "/[::1]:".
10946 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
10949 2013-11-26 Glenn Morris <rgm@gnu.org>
10951 * progmodes/python.el (python-indent-guess-indent-offset):
10952 Avoid corner-case error. (Bug#15975)
10954 Preload leim-list.el. (Bug#4789)
10955 * loadup.el: Load leim-list.el when found.
10956 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
10958 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
10960 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
10962 * emacs-lisp/helpers.el (string-join): New function.
10964 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
10966 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10967 Mark as obsolete and replace it with a symbol property.
10968 (byte-compile-form): Use new 'interactive-only property.
10969 * comint.el, files.el, replace.el, simple.el:
10970 Apply new 'interactive-only properly.
10972 2013-11-25 Martin Rudalics <rudalics@gmx.at>
10974 * window.el (display-buffer-at-bottom): Make sure that
10975 split-window-sensibly creates the new window on bottom
10978 2013-11-23 David Kastrup <dak@gnu.org>
10980 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
10981 on the conflict markers when available.
10982 (smerge--get-marker): New function.
10983 (smerge-end-re, smerge-base-re): Add subgroup.
10985 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * frame.el (handle-focus-in, handle-focus-out): Add missing
10990 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
10992 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
10993 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
10995 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10997 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
10998 (gomoku--last-pos): New var.
10999 (gomoku--intangible-chars): New const.
11000 (gomoku--intangible): New function.
11001 (gomoku-mode): Use it. Derive from special-mode.
11002 (gomoku-move-up): Adjust line count.
11003 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
11004 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11005 Simplify accordingly.
11007 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
11008 Remove blink-cursor code.
11009 (blink-cursor-timer-function, blink-cursor-suspend):
11010 Don't special-case GUIs.
11011 (blink-cursor-mode): Use focus-in/out-hook.
11013 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
11015 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
11016 work when annotation is invisible (Bug#13886).
11018 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
11020 * json.el (json-alist-p): Only return non-nil if the alist has
11021 simple keys (Bug#13518).
11023 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
11025 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
11026 when control-statement is the first statement in a buffer (Bug#15956).
11028 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
11030 * imenu.el (imenu-generic-skip-comments-and-strings):
11031 New option (Bug#15560).
11032 (imenu--generic-function): Use it.
11034 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
11036 * minibuffer.el (completion--in-region-1): Scroll the correct window.
11039 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
11041 * emacs-lisp/helpers.el: Add some string helpers.
11042 (string-trim-left): Removes leading whitespace.
11043 (string-trim-right): Removes trailing whitespace.
11044 (string-trim): Removes leading and trailing whitespace.
11046 * subr.el (string-suffix-p): New function.
11048 2013-11-23 Glenn Morris <rgm@gnu.org>
11050 * progmodes/python.el (python-shell-send-file):
11051 Add option to delete file when done. (Bug#15647)
11052 (python-shell-send-string, python-shell-send-region): Use it.
11054 2013-11-23 Ivan Shmakov <ivan@siamics.net>
11056 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
11057 to set buffer-read-only to t, never to nil. (Bug#15938)
11059 * textmodes/tex-mode.el (latex-noindent-environments):
11060 Add safe-local-variable property. (Bug#15936)
11062 2013-11-23 Glenn Morris <rgm@gnu.org>
11064 * textmodes/enriched.el (enriched-mode): Doc fix.
11065 * emacs-lisp/authors.el (authors-renamed-files-alist):
11066 Add enriched.doc -> enriched.txt.
11068 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
11070 2013-11-22 Leo Liu <sdl.web@gmail.com>
11072 * progmodes/octave.el (inferior-octave-startup): Spit out error
11075 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
11077 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11080 (ruby-encoding-magic-comment-style): Add :version.
11082 2013-11-22 Leo Liu <sdl.web@gmail.com>
11084 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
11086 (octave-help-mode): Adapt to change to help-mode-finish to use
11087 derived-mode-p on 2013-09-17.
11088 (inferior-octave-prompt): Also match octave-gui.
11089 (octave-kill-process): Don't ask twice. (Bug#10564)
11091 2013-11-22 Leo Liu <sdl.web@gmail.com>
11093 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
11094 (inferior-octave-startup, inferior-octave-check-process)
11095 (inferior-octave-track-window-width-change)
11096 (octave-completion-at-point, octave-eldoc-function): Use it.
11097 (octave-kill-process): Provide confirmation. (Bug#10564)
11099 2013-11-21 Leo Liu <sdl.web@gmail.com>
11101 * progmodes/octave.el (octave-mode, inferior-octave-mode):
11102 Fix obsolete variable comment-use-global-state.
11104 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11106 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
11107 Add `octave-source-file'.
11108 (octave-source-file): New function. (Bug#15935)
11110 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
11112 * net/eww.el (eww-local-regex): New variable.
11113 (eww): Use it to detect localhost and similar.
11115 2013-11-21 Leo Liu <sdl.web@gmail.com>
11117 Add completion for command `ag'.
11118 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
11119 (pcomplete/ag): New function.
11120 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
11122 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11124 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
11126 (make-obsolete): Remove interactive spec.
11128 2013-11-21 Glenn Morris <rgm@gnu.org>
11130 * startup.el (command-line-1): Use path-separator with -L.
11132 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
11134 * emacs-lisp/package.el (describe-package-1): Add package archive
11137 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
11139 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
11140 Change default to "# encoding: %s" to differentiate it from the
11141 default Ruby encoding comment template.
11143 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
11145 * ses.el (ses-mode): Doc fix. (Bug#14748)
11147 2013-11-20 Leo Liu <sdl.web@gmail.com>
11149 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
11151 2013-11-19 Dan Nicolaescu <dann@gnu.org>
11153 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
11154 when rebase or bisect are in progress.
11156 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
11158 * filenotify.el (file-notify-add-watch): Doc fix.
11160 2013-11-19 Leo Liu <sdl.web@gmail.com>
11162 * obsolete/rcompile.el: Mark obsolete.
11164 * progmodes/compile.el (compilation-start)
11165 (compilation-goto-locus, compilation-find-file):
11166 Pass no-display-ok and handle nil value from display-buffer.
11169 * window.el (display-buffer-alist, display-buffer): Document the
11170 new parameter no-display-ok. Return either a window or nil
11171 but never a non-window value.
11173 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * electric.el (electric-indent-mode-map): Remove.
11176 (electric-indent-mode): Change the global-map instead (bug#15915).
11178 * textmodes/text-mode.el (paragraph-indent-minor-mode):
11181 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
11183 * emacs-lisp/nadvice.el (remove-function): Align with
11184 add-function's behavior.
11186 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
11187 (gdb--string-regexp): New constant.
11188 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
11189 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
11190 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
11192 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
11193 Adjust use accordingly.
11194 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
11196 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
11198 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
11199 interpolation curlies (Bug#15914).
11201 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
11203 * calc/calc.el (calc-context-sensitive-enter): New variable.
11204 (calc-enter): Use `calc-context-sensitive-enter'.
11206 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
11208 * progmodes/cfengine.el: Version bump.
11209 (cfengine-cf-promises): New defcustom to locate cf-promises.
11210 (cfengine3-vartypes): Add new "data" type.
11211 (cfengine3--current-word): New function to get current name-like
11212 word or its bounds.
11213 (cfengine3--current-function): New function to look up a CFEngine
11214 function's definition.
11215 (cfengine3-format-function-docstring): New function.
11216 (cfengine3-make-syntax-cache): New function.
11217 (cfengine3-documentation-function): New function: ElDoc glue.
11218 (cfengine3-completion-function): New function: completion glue.
11219 (cfengine3-mode): Set `compile-command',
11220 `eldoc-documentation-function', and add to
11221 `completion-at-point-functions'.
11223 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
11225 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
11226 `tramp-current-connection'.
11228 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
11230 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
11231 nil/self/true/false with "end of symbol".
11233 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
11235 * subr.el (version-regexp-alist): Fix a typo.
11237 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
11239 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
11240 "en_US.utf8" and "LC_CTYPE" to "".
11241 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
11242 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
11244 2013-11-15 Leo Liu <sdl.web@gmail.com>
11246 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
11248 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11250 * progmodes/gud.el (ctl-x-map):
11251 Remove C-x SPC binding. (Bug#12342)
11252 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
11254 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
11256 * subr.el (version-regexp-alist):
11257 Recognize hg, svn and darcs versions as snapshot versions.
11259 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
11260 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
11261 (ruby--encoding-comment-required-p): Extract from
11262 `ruby-mode-set-encoding'.
11263 (ruby-mode-set-encoding): Add the ability to always insert an
11264 utf-8 encoding comment. Fix and simplify coding comment update
11267 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
11269 * net/tramp-gvfs.el (top): Run init code only when
11270 `tramp-gvfs-enabled' is not nil.
11271 (tramp-gvfs-enabled): Check also :system bus.
11273 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11275 Sync with upstream verilog-mode revision 78e66ba.
11276 * progmodes/verilog-mode.el (verilog-end-of-defun)
11277 (verilog-type-completion, verilog-get-list): Remove unused funcs.
11278 (verilog-get-end-of-defun): Remove unused argument.
11279 (verilog-comment-depth): Remove unused local `e'.
11280 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
11281 Don't pass arg to verilog-get-end-of-defun.
11283 2013-11-14 Glenn Morris <rgm@gnu.org>
11285 * obsolete/assoc.el (aget): Prefix dynamic variable.
11287 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
11289 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
11291 * widget.el, hfy-cmap.el: Remove bogus package version number.
11293 2013-11-13 Glenn Morris <rgm@gnu.org>
11295 * replace.el (replace-eval-replacement):
11296 Try to give more helpful error message. (Bug#15836)
11298 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11299 (archive-7z-update): Avoid custom type mismatches.
11301 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
11303 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
11305 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11306 address can be empty.
11308 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
11309 Accept nil SWITCHES.
11310 (tramp-gvfs-handle-write-region): Implement APPEND.
11312 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
11314 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
11315 binary "|" operator and closing block args delimiter.
11316 Remove FIXME comment referring to Ruby 1.8-only syntax.
11317 (ruby-smie--implicit-semi-p): Not after "|" operator.
11318 (ruby-smie--closing-pipe-p): New function.
11319 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
11320 (ruby-smie-rules): Indent after "|".
11322 2013-11-12 Glenn Morris <rgm@gnu.org>
11324 * ps-print.el (ps-face-attribute-list):
11325 Handle anonymous faces. (Bug#15827)
11327 2013-11-12 Martin Rudalics <rudalics@gmx.at>
11329 * window.el (display-buffer-other-frame): Fix doc-string.
11332 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11334 * subr.el (force-mode-line-update): Delete, move to buffer.c.
11336 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
11338 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
11339 (tramp-sh-handle-file-local-copy): Don't write a message when
11340 saving temporary files.
11342 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
11343 both directories are remote.
11344 (tramp-smb-handle-directory-files): Do not return double entries.
11345 Do not expand full file names.
11346 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
11347 (tramp-smb-handle-write-region): Implement APPEND.
11348 (tramp-smb-get-stat-capability): Fix a stupid bug.
11350 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11352 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
11354 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11356 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
11357 throwing error over malformed let/let* (bug#15814).
11359 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * iswitchb.el (iswitchb-mode): Mark obsolete.
11363 2013-11-11 Glenn Morris <rgm@gnu.org>
11365 * international/uni-bidi.el, international/uni-category.el:
11366 * international/uni-name.el, international/uni-numeric.el:
11367 Regenerate for Unicode 6.3.0.
11369 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
11371 * net/tramp.el (tramp-methods):
11372 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
11373 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
11375 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
11377 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11378 Force highlighting text after Summary keyword in doc face for rpm.
11380 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
11382 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
11383 available and the word has no wildcards, append one to the grep pattern.
11384 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
11385 (ispell-complete-word): Call `ispell-lookup-words' with the value
11386 independent of `ispell-look-p'.
11388 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11390 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
11392 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
11395 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11397 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
11398 (ruby-font-lock-keywords): Use backquote.
11400 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11402 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11403 (ruby-smie--backward-token): Only consider full-string matches.
11405 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
11407 * faces.el (describe-face): Add distant-foreground.
11409 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
11411 * progmodes/ruby-mode.el: Improve encoding comment handling.
11412 (ruby-encoding-magic-comment-style): New option.
11413 (ruby-custom-encoding-magic-comment-template): New option.
11414 (ruby--insert-coding-comment, ruby--detect-encoding):
11415 New functions extracted from `ruby-mode-set-encoding'.
11416 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
11417 to control the style of the auto-inserted encoding comment.
11419 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11421 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
11422 Use `smie-backward-sexp' with token argument.
11424 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
11426 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11427 Remove instrumentation code.
11429 2013-11-08 Glenn Morris <rgm@gnu.org>
11431 * progmodes/autoconf.el (autoconf-mode):
11432 Tweak comment-start-skip. (Bug#15822)
11434 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11436 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
11437 at bobp (bug#15826).
11438 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
11440 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
11442 * man.el (Man-start-calling): New macro, extracted from
11443 Man-getpage-in-background.
11444 (Man-getpage-in-background): Use it.
11445 (Man-update-manpage): New command.
11446 (Man-mode-map): Bind it.
11448 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
11450 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
11451 of "and", "or", "&&" and "||".
11452 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
11453 argument. Prohibit opening curly brace because it could only be a
11454 block opener in that position.
11455 (ruby-smie--forward-token, ruby-smie--backward-token):
11456 Separate "|" from "&" or "*" going after it. That can happen in block
11458 (ruby-smie--indent-to-stmt): New function, seeks the end of
11459 previous statement or beginning of buffer.
11460 (ruby-smie-rules): Use it.
11461 (ruby-smie-rules): Check if there's a ":" before a curly block
11462 opener candidate; if there is, it's a hash.
11464 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11466 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
11467 (cl--block-wrapper): Fix last accidental change.
11469 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
11471 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
11472 Instrument, in order to hunt failure on hydra.
11474 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11476 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
11477 malformed bindings form (bug#15814).
11479 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
11481 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
11482 "." compared to " @ ". This incidentally fixes some indentation
11483 examples with "do".
11484 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
11485 (ruby-smie-grammar): New tokens: "and" and "or".
11486 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
11487 Exclude "and" and "or". Remove "do" in order to work around token
11489 (ruby-smie-rules): Add all infix tokens. Handle the case of
11490 beginning-of-buffer.
11492 2013-11-06 Glenn Morris <rgm@gnu.org>
11494 * Makefile.in (setwins_almost, setwins_for_subdirs):
11495 Avoid accidental matches.
11497 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11499 * menu-bar.el (popup-menu): Use key-binding.
11501 2013-11-06 Eli Zaretskii <eliz@gnu.org>
11503 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
11504 menus, support also the menus produced by minor modes.
11507 2013-11-06 Leo Liu <sdl.web@gmail.com>
11509 * thingatpt.el (thing-at-point-looking-at): Add optional arg
11510 DISTANCE to bound the search. All uses changed. (Bug#15808)
11512 2013-11-06 Glenn Morris <rgm@gnu.org>
11514 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
11515 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
11516 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
11518 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
11520 * electric.el (electric-indent-just-newline): New command.
11521 (electric-indent-mode-map): New keymap.
11522 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
11523 Re-add :group which weren't redundant.
11525 * electric.el (electric-indent-local-mode): New minor mode.
11526 (electric-indent-functions-without-reindent): New var.
11527 (electric-indent-post-self-insert-function): Use it.
11528 * emacs-lisp/gv.el (buffer-local-value): Add setter.
11530 2013-11-05 Eli Zaretskii <eliz@gnu.org>
11532 * international/quail.el (quail-help): Be more explicit about the
11533 meaning of the labels shown on the keys. (Bug#15800)
11535 * startup.el (normal-top-level): Load the subdirs.el files before
11536 setting the locale environment. (Bug#15805)
11538 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11540 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
11541 via arguments so as to get the right ones (bug#15418).
11543 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
11545 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
11547 Fix problems found while writing a test suite.
11549 * net/tramp-compat.el (tramp-compat-load): New defun.
11550 * net/tramp.el (tramp-handle-load): Use it.
11552 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
11553 "(numberp ok-if-already-exists)" correctly.
11555 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
11557 * international/characters.el (glyphless-char-display-control):
11560 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
11562 * progmodes/python.el (python-mode):
11563 * progmodes/scheme.el (scheme-mode):
11564 * progmodes/prolog.el (prolog-mode):
11565 * progmodes/ruby-mode.el (ruby-mode):
11566 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
11567 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
11569 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11571 * rect.el (rectangle--highlight-for-redisplay):
11572 * emacs-lisp/smie.el (smie--next-indent-change):
11573 Use buffer-chars-modified-tick.
11575 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
11577 * electric.el (electric-indent-post-self-insert-function):
11578 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
11580 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
11582 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
11584 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11586 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
11589 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11591 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
11593 * progmodes/python.el: Fix up last change.
11594 (python-shell--save-temp-file): New function.
11595 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
11596 `string' comes from the current buffer.
11597 (python-shell-send-string-no-output): Remove `msg' arg.
11598 (python--use-fake-loc): New var.
11599 (python-shell-buffer-substring): Obey it. Try to compensate for the
11600 extra coding line added by python-shell--save-temp-file.
11601 (python-shell-send-region): Use python-shell--save-temp-file and
11602 python-shell-send-file directly. Add `nomain' argument.
11603 (python-shell-send-buffer): Use python-shell-send-region.
11604 (python-electric-pair-string-delimiter): New function.
11605 (python-mode): Use it.
11607 2013-11-04 Eli Zaretskii <eliz@gnu.org>
11609 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
11610 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
11611 environment and decoding all of the default-directory's to here
11613 (command-line): Decode also argv[0].
11615 * loadup.el: Error out if default-directory is a multibyte string
11616 when we are dumping.
11618 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
11620 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
11622 * emacs-lisp/package.el (package-menu-mode)
11623 (package-menu--print-info, package-menu--archive-predicate):
11624 Add Archive column to package list.
11626 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
11628 Fix problems found while writing a test suite.
11630 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
11631 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
11632 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
11633 to nil when running original file name handler. Otherwise,
11634 there are problems with constructs like "$$FOO".
11636 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
11639 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
11641 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
11643 * subr.el (version<, version<=, version=):
11644 Update docstrings with information for snapshot versions.
11646 * helpers.el: New library for misc helper functions.
11647 (hash-table-keys): New function returning a list of hash keys.
11648 (hash-table-values): New function returning a list of hash values.
11650 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
11652 * progmodes/ruby-mode.el (ruby-smie--forward-token)
11653 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
11655 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
11657 * textmodes/fill.el (fill-single-char-nobreak-p): New function
11658 checking whether point is after a 1-letter word.
11660 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11662 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
11663 Don't infloop when expanding region over `multiline' syntax-type that
11664 begins a line (bug#15778).
11666 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
11669 Make it into a proper minor mode.
11670 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
11671 (rectangle-mark-mode-map): New keymap.
11672 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
11674 2013-11-04 Glenn Morris <rgm@gnu.org>
11676 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
11678 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11680 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
11681 (ruby-smie-rules): Use smie-rule-parent instead.
11683 * emacs-lisp/smie.el (smie-rule-parent): Always call
11684 smie-indent-virtual rather than only for hanging tokens.
11685 (smie--next-indent-change): New helper command.
11687 2013-11-03 Glenn Morris <rgm@gnu.org>
11689 * Makefile.in (abs_srcdir): Remove.
11690 (emacs): Unset EMACSLOADPATH.
11692 2013-11-02 Glenn Morris <rgm@gnu.org>
11694 * Makefile.in (EMACS): Use a relative filename.
11695 (abs_top_builddir): Remove.
11696 (custom-deps, finder-data, autoloads): Use --chdir.
11698 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
11700 Use relative filenames in TAGS files.
11701 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11702 (lisptagsfiles4, TAGS): Use relative file names.
11703 (TAGS-LISP): Remove.
11704 (maintainer-clean): No more TAGS-LISP file.
11706 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
11707 (lisptagsfiles4): Use absolute filenames again.
11708 (TAGS, TAGS-LISP): Not everything needs to run in one line.
11709 Remove all *loaddefs files, not just the first. Remove esh-groups.
11710 (maintainer-clean): Delete TAGS, TAGS-LISP.
11712 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11714 * emacs-lisp/package.el (package-version-join):
11715 Recognize snapshot versions.
11717 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11719 * subr.el (version-regexp-alist): Add support for snapshot versions.
11721 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
11723 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
11724 New function, replacement for `smie-rule-parent' for when we want to
11725 skip over our direct parent if it's an assignment token..
11726 (ruby-smie-rules): Use it.
11728 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
11730 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
11731 unconditionally. Remove now unnecessary forward declarations.
11732 Remove XEmacs-specific setup.
11733 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
11734 (ruby-font-lock-syntactic-keywords)
11735 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
11736 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
11737 (ruby-here-doc-end-syntax): Remove.
11738 (ruby-mode): Don't check whether `syntax-propertize-rules' is
11739 defined as function.
11741 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
11743 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
11745 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
11747 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
11748 table and abbrev table, `define-derived-mode' does that for us
11751 2013-11-01 Glenn Morris <rgm@gnu.org>
11753 * Makefile.in: Remove manual mh-e dependencies (writing .elc
11754 files is atomic for some time, so no parallel compilation issues).
11756 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
11758 * faces.el (face-x-resources): Add :distant-foreground.
11759 (region): Use :distant-foreground for gtk and ns.
11761 2013-11-01 Tassilo Horn <tsdh@gnu.org>
11763 Allow multiple bibliographies when BibLaTeX is used rather than
11765 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
11766 (reftex-locate-bibliography-files): Us it.
11768 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
11770 * image.el (image-type-header-regexps): Fix the 'pbm' part to
11771 allow comments in pbm files.
11773 * term/w32-win.el (dynamic-library-alist): Support newer versions
11774 of libjpeg starting with v7: look only for the DLL from the
11775 version against which Emacs was built.
11776 Support versions of libpng beyond 1.4.x.
11777 Support libtiff v4.x.
11779 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
11781 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
11782 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
11783 Add property :safe.
11784 (ruby-deep-arglist): Add property :type.
11786 2013-10-31 Glenn Morris <rgm@gnu.org>
11788 * Makefile.in (custom-deps, finder-data): No need to setq the target
11789 variables, we are in the right directory and the defaults work fine.
11791 2013-10-30 Glenn Morris <rgm@gnu.org>
11793 * Makefile.in (autoloads): Do not use abs_lisp.
11795 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11796 `newline' does not respect `standard-output', so use `princ'.
11798 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
11800 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
11801 * buff-menu.el (Buffer-menu--unmark): New function.
11802 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
11804 2013-10-30 Glenn Morris <rgm@gnu.org>
11806 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
11808 * emacs-lisp/package.el (lm-homepage): Declare.
11810 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
11813 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
11815 * Makefile.in (finder-data, autoloads, update-subdirs)
11816 (compile-main, compile-clean, compile-always, bootstrap-clean):
11817 Check return value of cd.
11818 (compile-calc): Remove.
11820 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11822 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
11824 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
11825 (byte-compile-and-folded): New function.
11826 (=, <, >, <=, >=): Use it.
11828 * dos-w32.el (minibuffer-history-case-insensitive-variables)
11829 (path-separator, null-device, buffer-file-coding-system)
11830 (lpr-headers-switches): Check system-type before modifying them.
11831 (find-buffer-file-type-coding-system): Mark obsolete.
11832 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
11833 find-file-not-found-set-buffer-file-coding-system.
11834 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
11835 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
11836 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
11837 (w32-direct-print-region-helper, w32-direct-print-region-function)
11838 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
11839 * startup.el (normal-top-level-add-subdirs-to-load-path):
11840 * ps-print.el (ps-print-region-function):
11841 * lpr.el (print-region-function): Use new name.
11843 * subr.el (custom-declare-variable-early): Remove function.
11844 (custom-declare-variable-list): Remove var.
11845 (error, user-error): Remove `while' loop.
11846 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
11847 (user-emacs-directory-warning, locate-user-emacs-file):
11849 * simple.el (read-quoted-char-radix, read-quoted-char):
11850 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
11852 * custom.el (custom-declare-variable-list): Don't process
11853 custom-declare-variable-list.
11855 * progmodes/python.el (python-shell-get-buffer): New function.
11856 (python-shell-get-process): Use it.
11857 (python-shell-send-string): Always use utf-8 and add a cookie to tell
11858 Python which encoding was used. Don't split-string since we only care
11859 about the first line. Return the temp-file, if applicable.
11860 (python-shell-send-region): Tell compile.el how to turn locations in
11861 the temp-file into locations in the source buffer.
11863 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
11865 * subr.el (undefined): Add missing behavior from the C code for
11868 * rect.el: Use lexical-binding. Add new rectangular region support.
11869 (rectangle-mark): New command.
11870 (rectangle--region): New var.
11871 (deactivate-mark-hook): Reset rectangle--region.
11872 (rectangle--extract-region, rectangle--insert-for-yank)
11873 (rectangle--highlight-for-redisplay)
11874 (rectangle--unhighlight-for-redisplay): New functions.
11875 (region-extract-function, redisplay-unhighlight-region-function)
11876 (redisplay-highlight-region-function): Use them to handle
11877 rectangular region.
11878 * simple.el (region-extract-function): New var.
11879 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
11880 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
11881 (kill-region): Replace obsolete `yank-handler' arg with `region'.
11882 (copy-region-as-kill, kill-ring-save): Add `region' argument.
11883 (redisplay-unhighlight-region-function)
11884 (redisplay-highlight-region-function): New vars.
11885 (redisplay--update-region-highlight): New function.
11886 (pre-redisplay-function): Use it.
11887 (exchange-point-and-mark): Don't deactivate the mark before
11888 reactivate-it anyway.
11889 * comint.el (comint-kill-region): Remove yank-handler argument.
11890 * delsel.el (delete-backward-char, backward-delete-char-untabify)
11891 (delete-char): Remove property, since it's now part of their
11893 (self-insert-iso): Remove property since this command doesn't exist.
11895 * emacs-lisp/package.el (package--download-one-archive)
11896 (describe-package-1): Don't query the user about final newline.
11898 2013-10-29 Daniel Colascione <dancol@dancol.org>
11900 * net/tramp.el (tramp-methods): Document new functionality.
11901 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
11902 tramp-hostname-checker if method provides one instead of scanning
11903 argument list for "%h" to decide hostname acceptability.
11905 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
11907 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11908 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11909 Handle COPY-CONTENTS. (Bug#15737)
11911 2013-10-28 Daiki Ueno <ueno@gnu.org>
11913 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
11914 Document that this option has no effect with GnuPG 2.0 (bug#15552).
11916 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
11918 * image.el (defimage, image-load-path): Doc fixes.
11920 2013-10-27 Alan Mackenzie <acm@muc.de>
11922 Indent statements in macros following "##" correctly.
11923 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11924 Modify the "#" arm of a cond form to handle "#" and "##" operators.
11926 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
11928 * linum.el (linum-update-window): Fix boundary test (bug#13446).
11930 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
11932 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
11933 after `=' is probably a new expression.
11935 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11937 * man.el (man-imenu-title): New option.
11938 (Man-mode-map): Add menu. (Bug#15722)
11939 (Man-mode): Add imenu to menu.
11941 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
11943 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
11944 specific in what the first arg can be: a non-keyword word,
11945 string/regexp/percent literal opener, opening paren, or unary
11946 operator followed directly by word.
11948 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11950 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
11951 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
11952 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
11953 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
11954 Remove vars, they do not apply any more.
11955 (prolog-mode-abbrev-table): Remove redundant declaration.
11956 (prolog-upper-case-string, prolog-lower-case-string): Remove.
11957 (prolog-use-smie): Remove.
11958 (prolog-smie-rules): Add indentation rule for the if-then-else layout
11959 supported by prolog-electric-if-then-else-flag.
11960 (prolog-mode-variables, prolog-menu): Use setq-local.
11961 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
11962 Remove binding to `Backspace' since this key doesn't exist anyway.
11963 Remove bindings for electric self-inserting keys.
11964 (prog-mode): Assume it's defined.
11965 (prolog-post-self-insert): New function.
11966 (prolog-mode): Use it.
11967 (prolog-indent-line, prolog-indent-level)
11968 (prolog-find-indent-of-matching-paren)
11969 (prolog-indentation-level-of-line, prolog-goto-comment-column)
11970 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
11971 (prolog-goto-next-paren, prolog-in-string-or-comment)
11972 (prolog-tokenize, prolog-inside-mline-comment)
11973 (prolog-find-start-of-mline-comment): Remove functions.
11974 (prolog-find-unmatched-paren, prolog-clause-end)
11975 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
11976 (prolog-electric--if-then-else): Rename from
11977 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
11978 (prolog-tokenize-searchkey): Remove const.
11979 (prolog-clause-info): Use forward-sexp.
11980 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
11981 (prolog-electric-if-then-else): Remove commands.
11982 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
11983 for use in post-self-insert-hook.
11984 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
11985 for use in post-self-insert-hook.
11986 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
11987 for use in post-self-insert-hook.
11988 (prolog-electric--underscore): Rename from prolog-electric--underscore;
11989 adapt it for use in post-self-insert-hook.
11991 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
11993 * emacs-lisp/ert.el (ert-run-tests-interactively):
11994 Use `completing-read'. (Bug#9756)
11996 2013-10-25 Eli Zaretskii <eliz@gnu.org>
11998 * simple.el (line-move): Call line-move-1 instead of
11999 line-move-visual when the current window hscroll is zero, but
12000 temporary-goal-column indicates we will need to hscroll as result
12001 of the movement. (Bug#15712)
12003 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
12005 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
12006 capitalization. Use :visible instead of :active.
12007 Fix `ruby-indent-exp' reference. Add menu items for the generic
12008 commands that are used with SMIE.
12009 (ruby-do-end-to-brace): Insert space after `{'.
12011 2013-10-25 John Anthony <john@jo.hnanthony.com>
12013 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
12015 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
12017 2013-10-25 Glenn Morris <rgm@gnu.org>
12019 * vc/vc.el (vc-print-log): Don't use a working revision unless
12020 one was explicitly specified. (Bug#15322)
12022 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12024 * subr.el (add-to-list): Preserve return value in compiler-macro
12027 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12029 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
12030 result. Ask user to retry using '-all' flag. (Bug#15701)
12032 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12034 * emacs-lisp/smie.el: New smie-config system.
12035 (smie-config): New defcustom.
12036 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
12037 (smie-config-guess, smie-config-save): New commands.
12038 (smie-config--mode-local, smie-config--buffer-local)
12039 (smie-config--trace, smie-config--modefuns): New vars.
12040 (smie-config--advice, smie-config--mode-hook)
12041 (smie-config--setter, smie-config-local, smie-config--get-trace)
12042 (smie-config--guess-value, smie-config--guess): New functions.
12043 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
12044 text properties. Treat "string fence" syntax like string syntax.
12046 * progmodes/sh-script.el (sh-use-smie): Change default.
12047 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
12048 (sh-var-value): Simplify by CSE.
12049 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
12050 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
12052 (sh-guess-basic-offset): Use cl-incf.
12053 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
12055 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
12057 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
12060 2013-10-24 Glenn Morris <rgm@gnu.org>
12062 * Makefile.in (abs_top_srcdir): Remove.
12063 (update-subdirs): Use relative path to update-subdirs.
12065 2013-10-24 Eli Zaretskii <eliz@gnu.org>
12067 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12068 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12069 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12070 Call unmsys--file-name before expand-file-name, not after it.
12072 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
12074 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
12075 (ert-test-skipped): New error.
12076 (ert-skip, ert-stats-skipped): New defuns.
12077 (ert--skip-unless): New macro.
12078 (ert-test-skipped): New struct.
12079 (ert--run-test-debugger, ert-test-result-type-p)
12080 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
12081 (ert--stats-set-test-and-result, ert-char-for-test-result)
12082 (ert-string-for-test-result, ert-run-tests-batch)
12083 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
12084 Handle skipped tests. (Bug#9803)
12086 2013-10-24 Glenn Morris <rgm@gnu.org>
12088 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
12090 * Makefile.in (abs_top_srcdir): New, set by configure.
12091 (update-subdirs): Correct build-aux location.
12093 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
12095 * vc/vc.el (vc-print-root-log): Always set `default-directory'
12096 value, whether we could auto-deduce `backend', or not.
12098 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
12099 with parameters" example. Simplify the "is it block or is it
12100 hash" check, but also make it more thorough.
12102 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
12104 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
12106 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12108 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
12109 { if it is hanging.
12111 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
12114 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
12116 * progmodes/compile.el (compilation-directory-matcher)
12117 (compilation-page-delimiter):
12118 Support GNU Make-4.0 directory quoting. (Bug#15678)
12120 2013-10-23 Leo Liu <sdl.web@gmail.com>
12122 * ido.el (ido-tidy): Handle read-only text.
12124 2013-10-23 Glenn Morris <rgm@gnu.org>
12126 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
12127 (emacs, compile, compile-always):
12128 Quote entities that might contain whitespace.
12129 (custom-deps, finder-data, autoloads): Use abs_lisp.
12130 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12131 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12132 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
12134 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
12136 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
12137 Use `following-char'.
12139 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
12142 * progmodes/ruby-mode.el (ruby-smie-rules):
12143 Remove corresponding workaround. Fix indentation rule of ";" so it
12144 also applies when ";" is the parent.
12146 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
12148 * frame.el (display-screens, display-pixel-height)
12149 (display-pixel-width, display-mm-width, display-backing-store)
12150 (display-save-under, display-planes, display-color-cells)
12151 (display-visual-class, display-monitor-attributes-list):
12152 Mention the optional ‘display’ argument in doc strings.
12154 2013-10-22 Michael Gauland <mikelygee@amuri.net>
12156 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
12157 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
12159 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12161 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
12162 TODO. Add "." after " @ ".
12163 (ruby-smie--at-dot-call): New function. Checks if point at method
12164 call with explicit target.
12165 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
12166 to the method name tokens when it precedes them.
12167 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
12168 (ruby-smie-rules): Add rule for indentation before and after "."
12171 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12173 * textmodes/remember.el (remember-diary-extract-entries):
12176 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
12179 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
12181 * progmodes/ruby-mode.el (ruby-smie-grammar):
12182 Add (almost) all infix operators.
12183 (ruby-smie--implicit-semi-p): Add new operator chars.
12185 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
12187 (ruby-smie--args-separator-p): Check that there's no newline
12188 between method call and its arguments.
12190 2013-10-20 Alan Mackenzie <acm@muc.de>
12192 Allow comma separated lists after Java "implements".
12194 * progmodes/cc-engine.el (c-backward-over-enum-header):
12196 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
12197 from a "disallowed" list in enum fontification.
12199 2013-10-20 Johan Bockgård <bojohan@gnu.org>
12201 * startup.el (default-frame-background-mode): Remove unused defvar.
12203 * progmodes/verilog-mode.el (verilog-mode): Don't set
12204 comment-indent-function globally.
12206 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
12208 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12209 Move Info menu item creation to ns-win.el.
12211 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
12214 * menu-bar.el: Move GNUstep specific menus...
12216 * term/ns-win.el (ns-initialize-window-system): ... to here.
12218 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12220 * simple.el (newline): Only run post-self-insert-hook when
12221 called interactively.
12223 2013-10-19 Johan Bockgård <bojohan@gnu.org>
12225 * icomplete.el (icomplete-with-completion-tables): Add :version.
12227 2013-10-19 Alan Mackenzie <acm@muc.de>
12229 Fix fontification bugs with constructors and const.
12231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
12232 CASE 2) Remove the check for the absence of a suffix construct
12233 after a function declaration with only types (no identifiers) in
12234 the parentheses. Also, accept a function declaration with just a
12235 type inside the parentheses, if this type can be positively
12236 recognised as such, or if a prefix keyword like "explicit" nails
12237 down the construct as a declaration.
12239 2013-10-19 Eli Zaretskii <eliz@gnu.org>
12241 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
12242 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
12243 the problem whereby selecting a menu item that leads to a
12244 minibuffer prompt moves the cursor out of the minibuffer window,
12245 making it hard to type at the prompt. Suggested by Stefan Monnier
12246 <monnier@iro.umontreal.ca>.
12248 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
12250 * menu-bar.el: Don't make Services menu.
12252 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12254 * ffap.el: Handle "/usr/include/c++/<version>" directories.
12255 (ffap-alist): Use ffap-c++-mode for c++-mode.
12256 (ffap-c++-path): New variable.
12257 (ffap-c++-mode): New function.
12259 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
12261 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
12263 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
12265 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
12266 introduced on 2013-09-08, which results in an infinite loop
12267 requesting a password.
12269 2013-10-18 Glenn Morris <rgm@gnu.org>
12271 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
12273 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
12275 Sync with upstream verilog-mode revision 1a6ecec7.
12276 * progmodes/verilog-mode.el (verilog-mode-version): Update.
12277 (verilog-mode-release-date): Remove.
12278 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
12279 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
12280 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
12281 (verilog-auto-tieoff-ignore-regexp)
12282 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
12283 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
12284 (verilog-signals-with, verilog-dir-cache-preserving)
12285 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
12287 (verilog-case-fold): New option, to control case folding in
12288 regexp searches, bug597.
12289 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
12290 (verilog-string-match-fold, verilog-in-paren-count)
12291 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
12292 (verilog-at-close-struct-p): New functions.
12293 (verilog-beg-block-re-ordered, verilog-extended-case-re)
12294 (verilog-forward-sexp, verilog-set-auto-endcomments)
12295 (verilog-leap-to-case-head): Handle "unique0" case.
12296 (verilog-in-constraint-re): New constant.
12297 (verilog-keywords, verilog-type-font-keywords):
12298 Add some SystemVerilog 1800-2012 keywords.
12299 (verilog-label-be): Remove unimplemented argument, bug669.
12300 (verilog-batch-execute-func): When batch expanding clear
12301 create-lockfiles to prevent spurious user locks when a file ends
12303 (verilog-calculate-indent, verilog-calc-1)
12304 (verilog-at-close-constraint-p, verilog-at-constraint-p)
12305 (verilog-do-indent): Fix indentation of nested constraints
12307 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
12308 (verilog-auto-inst-param): Use verilog-string-match-fold.
12309 (verilog-read-inst-module-matcher):
12310 Fix AUTOINST on gate primitives with #1.
12311 (verilog-read-decls): Fix double-declaring user-defined typed signals.
12312 Reads all user-defined typed variables.
12313 (verilog-read-defines): Fix reading definitions inside comments, bug647.
12314 (verilog-signals-matching-regexp)
12315 (verilog-signals-not-matching-regexp, verilog-auto):
12316 Respect verilog-case-fold.
12317 (verilog-diff-report): Fix line count.
12318 (verilog-auto-assign-modport): Remove unused local `modi'.
12319 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
12320 better handle multidimensional arrays.
12321 Fix packed array ports misadding bit index in AUTOINST, bug637.
12322 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
12323 to not double-declare existing outputs and inputs, respectively.
12324 (verilog-template-map): Bind U to verilog-sk-uvm-component.
12325 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
12326 (verilog-sk-uvm-component): New skeleton.
12327 (verilog-submit-bug-report): Add verilog-case-fold,
12328 remove verilog-mode-release-date.
12330 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
12332 * subr.el (sit-for): Call (input-pending-p t) so as to behave
12335 2013-10-18 Reuben Thomas <rrt@sc3d.org>
12337 * textmodes/remember.el (remember): Set buffer-offer-save in
12338 remember buffers (bug#13566).
12340 2013-10-18 Daniel Colascione <dancol@dancol.org>
12342 When evaluating forms in ielm, direct standard output to ielm
12343 buffer. Add new ielm-return-for-effect command. Remove trailing
12344 whitespace throughout.
12346 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
12347 (ielm-return-for-effect): New command.
12348 (ielm-send-input): Accept optional `for-effect' parameter.
12349 (ielm-eval-input): Accept optional `for-effect' parameter.
12350 Bind `standard-output' to stream we create using
12351 `ielm-standard-output-impl'. Suppress printing result when
12353 (ielm-standard-output-impl): New function.
12354 (inferior-emacs-lisp-mode): Explain new features in documentation.
12356 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
12360 * net/tramp.el (tramp-debug-message): Do not check for connection
12362 (tramp-message): Use "vector" connection property.
12364 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
12365 (tramp-equal-remote, tramp-eshell-directory-change)
12366 * net/tramp-adb.el (tramp-adb-handle-copy-file)
12367 (tramp-adb-handle-rename-file)
12368 * net/tramp-cmds.el (tramp-list-remote-buffers)
12369 (tramp-cleanup-connection, tramp-cleanup-this-connection)
12370 * net/tramp-compat.el (tramp-compat-process-running-p)
12371 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
12372 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
12373 (tramp-gvfs-handle-rename-file)
12374 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12375 (tramp-set-file-uid-gid)
12376 * net/tramp-smb.el (tramp-smb-handle-copy-file)
12377 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
12378 of `file-remote-p'.
12380 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
12381 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12382 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
12383 (tramp-gw-open-network-stream): Suppress unrelated traces.
12385 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
12386 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12387 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12388 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
12389 connection property.
12391 * net/tramp-cache.el (top): Suppress traces when reading
12394 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12395 Refactor common code. Improve debug message.
12396 (tramp-maybe-open-connection)
12397 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
12398 connection buffer too early.
12400 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
12401 from `tramp-smb-actions-with-acl'.
12402 (tramp-smb-actions-set-acl): New defconst.
12403 (tramp-smb-handle-copy-directory)
12404 (tramp-smb-action-get-acl): New defun, renamed from
12405 `tramp-smb-action-with-acl'.
12406 (tramp-smb-action-set-acl): New defun.
12407 (tramp-smb-handle-set-file-acl): Rewrite.
12409 2013-10-17 Glenn Morris <rgm@gnu.org>
12411 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
12413 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12415 * skeleton.el (skeleton-newline): Remove.
12416 (skeleton-internal-1): Use (insert "\n") instead.
12418 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
12421 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
12422 forward-sexp-function while we redo its job (bug#15613).
12424 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
12426 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
12427 represented by lists.
12429 2013-10-16 Glenn Morris <rgm@gnu.org>
12431 * tmm.el (tmm--history): New dynamic variable.
12432 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
12434 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
12436 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
12437 (tramp-smb-errors): Add error messages.
12438 (tramp-smb-actions-with-acl): New defconst.
12439 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
12440 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
12441 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
12442 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
12443 (tramp-smb-get-stat-capability): Fix tests.
12445 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
12447 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
12450 2013-10-16 Glenn Morris <rgm@gnu.org>
12452 * ansi-color.el (ansi-color-drop-regexp):
12453 Add 1J, 1K, 2K. (Bug#15617)
12455 * files.el (hack-local-variables--warned-lexical): New.
12456 (hack-local-variables):
12457 Warn about misplaced lexical-binding. (Bug#15616)
12459 * net/eww.el (eww-render): Always set eww-current-url,
12460 and update header line. (Bug#15622)
12461 (eww-display-html): ... Rather than just doing it here.
12463 2013-10-15 Eli Zaretskii <eliz@gnu.org>
12465 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
12466 menu navigations commands.
12468 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
12470 * progmodes/subword.el (subword-capitalize): Be careful when
12471 the search for [[:alpha:]] fails (bug#15580).
12473 2013-10-14 Eli Zaretskii <eliz@gnu.org>
12475 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
12476 to commands that scroll the menu.
12478 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
12480 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
12481 Handle methods ending with `?' and `!'.
12483 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
12485 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
12486 `japanese-cp932' to `cp932' to fix the problem where saving a
12487 source file written in Shift_JIS twice would end up having
12488 `coding: japanese-cp932' which Ruby could not recognize.
12489 (ruby-mode-set-encoding): Add support for encodings mapped to nil
12490 in `ruby-encoding-map'.
12491 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
12492 doesn't need to be explicitly declared in magic comment.
12493 (ruby-encoding-map): Add type declaration for better customize UI.
12495 2013-10-13 Glenn Morris <rgm@gnu.org>
12497 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
12498 Occur buffers are read-only. http://bugs.debian.org/720775
12500 * emacs-lisp/authors.el (authors-fixed-entries):
12501 Comment out old alpha stuff.
12503 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
12505 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
12506 to `after-save-hook' instead of `before-save-hook'.
12507 (ruby-mode-set-encoding): Use the value of coding system used to
12508 write the file. Call `basic-save-buffer-1' after modifying the
12511 2013-10-13 Alan Mackenzie <acm@muc.de>
12513 Fix indentation/fontification of Java enum with
12514 "implements"/generic.
12516 * progmodes/cc-engine.el (c-backward-over-enum-header):
12517 Extracted from the three other places and enhanced to handle generics.
12518 (c-inside-bracelist-p): Uses new function above.
12519 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
12521 (c-font-lock-enum-tail): Uses new function above.
12523 2013-10-13 Kenichi Handa <handa@gnu.org>
12525 * international/mule-cmds.el (select-safe-coding-system): Remove a
12526 superfluous condition in chekcing whether a coding system is safe
12529 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
12531 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
12533 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
12535 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
12537 2013-10-13 Glenn Morris <rgm@gnu.org>
12539 * menu-bar.el (menu-bar-update-buffers):
12540 Unify Buffers menu prompt string. (Bug#15576)
12542 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
12544 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
12546 (authors-fixed-entries): Use accented form of name.
12548 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12550 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
12551 method calls (bug#15594).
12552 (ruby-smie--args-separator-p): New function.
12553 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
12554 recognize paren-free method calls.
12556 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
12557 internals of universal-argument.
12559 2013-10-11 Eli Zaretskii <eliz@gnu.org>
12561 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
12562 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
12563 dropped menu on second mouse click on the menu bar.
12565 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12567 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
12568 (explicit-shell-file-name): Declare.
12569 (sh--vars-before-point, sh--cmd-completion-table): New functions.
12570 (sh-completion-at-point-function): New function.
12572 (sh-smie--keyword-p): Remove unused argument.
12573 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
12575 (sh-set-shell): Always setup SMIE, even if we use the
12576 old indentation code.
12578 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
12580 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
12582 (ruby-smie-rules): Simplify the "do" rule. The cases when the
12583 predicate would return nil are almost non-existent.
12584 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
12586 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
12587 cache also after commands that modify the buffer but don't move
12590 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12592 * env.el (substitute-env-in-file-name): New function.
12593 (substitute-env-vars): Extend the meaning of the optional arg.
12595 2013-10-10 Eli Zaretskii <eliz@gnu.org>
12597 * term/w32-win.el (dynamic-library-alist): Define separate lists
12598 of GIF DLLs for versions before and after 5.0.0 of giflib.
12601 2013-10-10 João Távora <joaotavora@gmail.com>
12603 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
12604 not locked, use last revision and current source as
12605 defaults. (Bug#15569)
12607 2013-10-10 Masatake YAMATO <yamato@redhat.com>
12609 * menu-bar.el (menu-bar-open): Don't use popup-menu if
12610 menu-bar is hidden.
12612 2013-10-10 Martin Rudalics <rudalics@gmx.at>
12614 * window.el (pop-to-buffer-same-window): Fix doc-string.
12617 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
12619 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
12621 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
12623 * calendar/icalendar.el (icalendar-import-file):
12624 Fix interactive spec. (Bug#15482)
12626 2013-10-10 Glenn Morris <rgm@gnu.org>
12628 * desktop.el (desktop-save): Default to saving in .emacs.d,
12629 since PWD is no longer in desktop-path by default. (Bug#15319)
12631 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
12632 now that text mode has a menu with the same entry.
12633 (menu-bar-text-mode-auto-fill): Remove now unused func.
12634 * textmodes/text-mode.el (text-mode-map):
12635 Use auto-fill help text from menu-bar.el.
12637 2013-10-10 John Anthony <john@jo.hnanthony.com>
12639 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
12641 2013-10-09 Juri Linkov <juri@jurta.org>
12643 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
12644 instead of this-command-keys. Add universal-argument-more and
12645 universal-argument-minus to the list of prefix commands. (Bug#15568)
12647 2013-10-09 Glenn Morris <rgm@gnu.org>
12649 * vc/vc-svn.el (vc-svn-create-repo):
12650 Expand paths in file://... url. (Bug#15446)
12652 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
12654 (authors): Remove unused local variables.
12656 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * profiler.el: Create a more coherent calltree from partial backtraces.
12659 (profiler-format): Hide the tail with `invisible' so that C-s can still
12660 find the hidden elements.
12661 (profiler-calltree-depth): Don't recurse so enthusiastically.
12662 (profiler-function-equal): New hash-table-test.
12663 (profiler-calltree-build-unified): New function.
12664 (profiler-calltree-build): Use it.
12665 (profiler-report-make-name-part): Indent the calltree less.
12666 (profiler-report-mode): Add visibility specs for profiler-format.
12667 (profiler-report-expand-entry, profiler-report-toggle-entry):
12668 Expand the whole subtree when provided with a prefix arg.
12670 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
12672 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
12674 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
12675 hanging iuwu-mod token.
12676 (ruby-smie--forward-token): Do not include a dot after a token in
12678 (ruby-smie--backward-token): Likewise.
12680 2013-10-08 Juri Linkov <juri@jurta.org>
12682 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
12683 to isearch-other-control-char.
12684 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
12685 and isearch-post-command-hook to post-command-hook.
12686 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
12687 and isearch-post-command-hook from post-command-hook.
12688 (isearch-unread-key-sequence)
12689 (isearch-reread-key-sequence-naturally)
12690 (isearch-lookup-scroll-key, isearch-other-control-char)
12691 (isearch-other-meta-char): Remove functions.
12692 (isearch-pre-command-hook, isearch-post-command-hook):
12693 New functions based on isearch-other-meta-char rewritten
12694 relying on the new behavior of overriding-terminal-local-map
12695 that does not replace the local keymaps any more. (Bug#15200)
12697 2013-10-08 Eli Zaretskii <eliz@gnu.org>
12699 Support menus on text-mode terminals.
12700 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
12703 * tooltip.el (tooltip-mode): Don't error out on TTYs.
12705 * menu-bar.el (popup-menu, popup-menu-normalize-position):
12706 Move here from mouse.el.
12707 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
12709 (tty-menu-navigation-map): New map for TTY menu navigation.
12711 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
12713 * frame.el (display-mouse-p): Report text-mode mouse as available
12715 (display-popup-menus-p): Report availability if mouse is
12716 available; don't condition on window-system.
12718 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
12719 (tty-menu-selected-face): New faces.
12721 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12723 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
12724 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
12725 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
12726 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
12728 (lisp-mode-variables): New `elisp' argument.
12729 (emacs-lisp-mode): Use it.
12730 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
12731 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
12733 * indent.el: Use lexical-binding.
12734 (indent-region): Add progress reporter.
12735 (tab-stop-list): Make it implicitly extend to infinity by repeating the
12737 (indent--next-tab-stop): New function to implement this behavior.
12738 (tab-to-tab-stop, move-to-tab-stop): Use it.
12740 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
12742 * indent.el (indent-rigidly--current-indentation): New function.
12743 (indent-rigidly-map): New var.
12744 (indent-rigidly): Use it to provide interactive mode (bug#8196).
12746 2013-10-08 Bastien Guerry <bzg@gnu.org>
12748 * register.el (insert-register): Fix 2013-10-07 change.
12750 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
12752 * progmodes/perl-mode.el: Use lexical-binding.
12753 Remove redundant :group args.
12754 (perl-nochange): Change default to be closer to other major modes's
12756 (perl-indent-line): Don't consider text on current line as a
12757 valid beginning of function from which to indent.
12759 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
12760 with more than one argument (bug#15538).
12762 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
12764 * vc/pcvs.el: Use lexical-binding.
12765 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
12766 environment of `eval'.
12767 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
12768 than a list of expressions. Adjust callers.
12769 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
12771 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
12773 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
12774 case of the dot in a chained method call being on the following line.
12776 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12778 * electric.el (electric-indent-inhibit): New var.
12779 (electric-indent-post-self-insert-function): Use it.
12780 * progmodes/python.el (python-mode): Set it.
12782 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
12785 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
12787 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
12788 (css-mode): Use electric-indent-chars.
12790 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
12791 (font-lock-beg, font-lock-end): Move before first use.
12792 (nxml-mode): Use syntax-propertize-function.
12793 (nxml-after-change, nxml-after-change1): Adjust accordingly.
12794 (nxml-extend-after-change-region): Remove.
12795 * nxml/xmltok.el: Use lexical-binding.
12796 (xmltok-save): Use `declare'.
12797 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
12798 * nxml/nxml-util.el: Use lexical-binding.
12799 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
12801 * nxml/nxml-ns.el: Use lexical-binding.
12802 (nxml-ns-save): Use `declare'.
12803 (nxml-ns-prefixes-for): Avoid add-to-list.
12804 * nxml/rng-match.el: Use lexical-binding.
12805 (rng--ipattern): Use cl-defstruct.
12806 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
12807 (rng-cons-group-after, rng-subst-group-after)
12808 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
12809 Use closures instead of `(lambda...).
12811 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
12813 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
12816 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12817 Use `tramp-handle-insert-file-contents'.
12818 (tramp-gvfs-handle-insert-file-contents): Remove function.
12820 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12821 Use `save-restriction' in order to keep markers.
12823 * net/trampver.el: Update release number.
12825 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12827 * progmodes/compile.el (compilation-parse-errors):
12828 Use compilation--put-prop.
12829 (compilation--ensure-parse): Check compilation-multiline.
12831 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
12833 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
12836 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
12838 * progmodes/ruby-mode.el: Fix recently added tests.
12839 (ruby-smie-grammar): Add - and +.
12840 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
12841 (ruby-smie--backward-id): New functions.
12842 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
12843 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
12846 2013-10-07 Leo Liu <sdl.web@gmail.com>
12848 * register.el (register-preview-delay)
12849 (register-preview-functions): New variables.
12850 (register-read-with-preview, register-preview)
12851 (register-describe-oneline): New functions.
12852 (point-to-register, window-configuration-to-register)
12853 (frame-configuration-to-register, jump-to-register)
12854 (number-to-register, view-register, insert-register)
12855 (copy-to-register, append-to-register, prepend-to-register)
12856 (copy-rectangle-to-register): Use register-read-with-preview to
12857 read register. (Bug#15525)
12859 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
12861 * net/network-stream.el (network-stream-open-starttls): Don't add
12862 --insecure if it's already present, because that gnutls-cli
12863 rejects getting that parameter twice.
12865 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
12867 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
12870 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
12872 * newcomment.el (comment-use-global-state): Change default value
12873 to t, mark obsolete (Bug#15251).
12874 (comment-beginning): In addition to `comment-to-syntax', check the
12875 value of `comment-use-global-state'.
12877 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12879 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
12880 (ruby-comment-column): Follow the global default, by default.
12881 (ruby-smie-grammar): Add assignment syntax.
12882 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
12883 open-paren, a comma, or a \.
12884 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
12885 and line continuations.
12886 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
12887 followed by implicit semi-colons. Add rule for string concatenation
12888 and for indentation at BOB.
12889 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
12891 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
12892 calling next-sexp, since next-token may have skipped chars which
12893 next-sexp doesn't know should be skipped!
12895 2013-10-05 Leo Liu <sdl.web@gmail.com>
12897 * progmodes/octave.el (octave-send-region):
12898 Call compilation-forget-errors.
12900 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
12902 * vc/vc-svn.el (vc-svn-find-admin-dir):
12903 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
12904 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
12905 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
12906 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
12908 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
12910 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
12912 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
12914 * subr.el (read-passwd): Hide chars even when called within a context
12915 where after-change-functions is disabled (bug#15501).
12916 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
12917 until we removed ourself from overriding-terminal-local-map.
12919 2013-10-04 Leo Liu <sdl.web@gmail.com>
12921 * progmodes/octave.el (inferior-octave-mode):
12922 Call compilation-forget-errors.
12924 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
12926 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
12928 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
12930 * net/secrets.el (secrets-create-collection): Add optional
12931 argument ALIAS. Use proper Label keyword. Append ALIAS as
12932 dbus-call-method argument. (Bug#15516)
12934 2013-10-04 Leo Liu <sdl.web@gmail.com>
12936 * progmodes/octave.el (inferior-octave-error-regexp-alist)
12937 (inferior-octave-compilation-font-lock-keywords): New variables.
12938 (compilation-error-regexp-alist)
12939 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
12940 (inferior-octave-mode): Use compilation-shell-minor-mode.
12942 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
12944 * minibuffer.el (completion--replace): Be careful that `end' might be
12947 2013-10-03 Daiki Ueno <ueno@gnu.org>
12949 Add support for package signature checking.
12950 * emacs-lisp/package.el (url-http-file-exists-p)
12951 (epg-make-context, epg-context-set-home-directory)
12952 (epg-verify-string, epg-context-result-for)
12953 (epg-signature-status, epg-signature-to-string)
12954 (epg-check-configuration, epg-configuration)
12955 (epg-import-keys-from-file): Declare.
12956 (package-check-signature): New user option.
12957 (package-unsigned-archives): New user option.
12958 (package-desc): Add `signed' field.
12959 (package-load-descriptor): Set `signed' field if .signed file exists.
12960 (package--archive-file-exists-p): New function.
12961 (package--check-signature): New function.
12962 (package-install-from-archive): Check package signature.
12963 (package--download-one-archive): Check archive signature.
12964 (package-delete): Remove .signed file.
12965 (package-import-keyring): New command.
12966 (package-refresh-contents): Import default keyring.
12967 (package-desc-status): Add "unsigned" status.
12968 (describe-package-1, package-menu--print-info)
12969 (package-menu-mark-delete, package-menu--find-upgrades)
12970 (package-menu--status-predicate): Support "unsigned" status.
12972 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12974 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
12975 the new compilation scheme using the new byte-codes.
12977 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
12978 (byte-pophandler): New byte codes.
12979 (byte-goto-ops): Adjust accordingly.
12980 (byte-compile--use-old-handlers): New var.
12981 (byte-compile-catch): Use new byte codes depending on
12982 byte-compile--use-old-handlers.
12983 (byte-compile-condition-case--old): Rename from
12984 byte-compile-condition-case.
12985 (byte-compile-condition-case--new): New function.
12986 (byte-compile-condition-case): New function that dispatches depending
12987 on byte-compile--use-old-handlers.
12988 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
12991 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
12992 Optimize under `condition-case' and `catch' if
12993 byte-compile--use-old-handlers is nil.
12994 (disassemble-offset): Handle new bytecodes.
12996 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * subr.el (error): Use `declare'.
12999 (decode-char, encode-char): Use advertised-calling-convention instead
13000 of the docstring to discourage use of the `restriction' arg.
13002 2013-10-03 Daiki Ueno <ueno@gnu.org>
13004 * epg.el (epg-verify-file): Add a comment saying that it does not
13005 notify verification error as a return value nor a signal.
13006 (epg-verify-string): Ditto.
13008 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
13010 * progmodes/compile.el (compilation-start): Try globbing the arg to
13013 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
13015 Sync with Tramp 2.2.8.
13017 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
13018 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
13019 * net/trampver.el: Update release number.
13021 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
13023 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13024 and default-process-coding-system for darwin only.
13026 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13028 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
13030 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
13032 * vc/vc-git.el (vc-git-grep): Disable pager.
13034 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
13036 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
13037 Use :url instead of :homepage, as per
13038 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
13040 * newcomment.el (comment-beginning): When `comment-use-syntax' is
13041 non-nil, use `syntax-ppss' (Bug#15251).
13043 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13045 * progmodes/octave.el (inferior-octave-startup-file):
13046 Prefer ~/.emacs.d/init_octave.m.
13048 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
13050 * emacs-lisp/package.el (package-desc-from-define):
13051 Accept additional arguments as plist, convert them to an alist and store
13052 them in the `extras' slot.
13053 (package-generate-description-file): Convert extras alist back to
13054 plist and append to the `define-package' form arguments.
13055 (package--alist-to-plist): New function.
13056 (package--ac-desc): Add `extras' slot.
13057 (package--add-to-archive-contents): Check if the archive-contents
13058 vector is long enough, and if it is, pass its `extras' slot value
13059 to `package-desc-create'.
13060 (package-buffer-info): Call `lm-homepage', pass the returned value
13061 to `package-desc-from-define'.
13062 (describe-package-1): Render the homepage button (Bug#13291).
13064 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13065 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
13067 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
13069 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
13070 and default-process-coding-system to utf-8-unix (Bug#15402).
13072 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
13074 * subr.el (looking-back): Do not recommend using looking-back.
13076 2013-09-28 Alan Mackenzie <acm@muc.de>
13078 Fix indentation/fontification of Java enum with "implements".
13080 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
13081 regexp which matches "implements", etc., in Java.
13082 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
13083 specifier clauses coming after "enum".
13084 * progmodes/cc-fonts.el (c-font-lock-declarations)
13085 (c-font-lock-enum-tail): Check for extra specifier clauses coming
13088 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
13090 * faces.el (region): Change ns_selection_color to
13091 ns_selection_fg_color, add ns_selection_bg_color.
13093 2013-09-28 Leo Liu <sdl.web@gmail.com>
13095 * progmodes/octave.el (inferior-octave-completion-table)
13096 (inferior-octave-completion-at-point): Minor tweaks.
13098 * textmodes/ispell.el (ispell-lookup-words): Rename from
13099 lookup-words. (Bug#15460)
13100 (lookup-words): Obsolete.
13101 (ispell-complete-word, ispell-command-loop): All uses changed.
13103 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13105 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
13106 (octave-mode-menu): Add octave-send-buffer.
13107 (octave-send-buffer): New function.
13109 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13111 * progmodes/octave.el (octave-mode-map): Add key binding for
13113 (octave-mode-menu): Add octave-lookfor.
13114 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
13116 (octave-lookfor): New function.
13118 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13120 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
13121 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
13123 (cl--loop-set-iterator-function): New function.
13124 (cl-loop): Adjust accordingly, so as not to use cl-subst.
13125 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
13126 Bind `it' with `let' instead of substituting it with `cl-subst'.
13127 (cl--unused-var-p): New function.
13128 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
13129 Eliminate some unused variable warnings (bug#15326).
13131 2013-09-27 Tassilo Horn <tsdh@gnu.org>
13133 * doc-view.el (doc-view-scale-reset): Rename from
13134 `doc-view-reset-zoom-level'.
13135 (doc-view-scale-adjust): New command.
13136 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
13137 `doc-view-scale-adjust'.
13139 2013-09-26 Tassilo Horn <tsdh@gnu.org>
13141 * doc-view.el (doc-view-reset-zoom-level): New command.
13142 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
13143 zoom commands (bug#15466).
13145 2013-09-26 Kenichi Handa <handa@gnu.org>
13147 * international/quail.el (quail-help): Make it not a command.
13149 2013-09-26 Leo Liu <sdl.web@gmail.com>
13151 * minibuffer.el (completion-all-sorted-completions): Make args
13152 optional as they are.
13154 2013-09-25 Daniel Colascione <dancol@dancol.org>
13156 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
13157 specs are and that they're not evaluated.
13159 2013-09-24 Sam Steingold <sds@gnu.org>
13161 * midnight.el (clean-buffer-list-kill-regexps)
13162 (clean-buffer-list-kill-buffer-names): Update for the new Man
13163 buffer naming which includes the object name.
13165 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13167 * eshell/esh-cmd.el (eshell--sep-terms): New var.
13168 (eshell-parse-command, eshell-parse-pipeline): Use it since
13169 eshell-separate-commands requires a dynamic scoped var.
13170 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
13172 2013-09-23 Leo Liu <sdl.web@gmail.com>
13174 * autoinsert.el (auto-insert-alist): Make the value of
13175 lexical-binding match its file setting.
13177 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
13179 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
13181 * autoarg.el (autoarg-kp-digit-argument):
13182 * electric.el (Electric-command-loop):
13183 * kmacro.el (kmacro-step-edit-insert):
13184 Do not set universal-argument-num-events.
13186 2013-09-22 Leo Liu <sdl.web@gmail.com>
13188 * files.el (interpreter-mode-alist): Add octave.
13190 2013-09-21 Alan Mackenzie <acm@muc.de>
13192 C++: fontify identifier in declaration following "public:" correctly.
13193 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
13194 to match "public", etc.
13195 (c-decl-prefix-re): Add ":" into the C++ value.
13196 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
13197 bit. Add a check for a ":" preceded by "public", etc.
13199 2013-09-21 Eli Zaretskii <eliz@gnu.org>
13201 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
13202 recognized by GDB 7.5 and later.
13204 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
13206 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
13208 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13210 * subr.el (internal--call-interactively): New const.
13211 (called-interactively-p): Use it (bug#3984).
13213 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
13215 * vc/pcvs.el (cvs-mode-ignore):
13216 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
13217 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
13219 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
13222 (eshell-ls-orig-insert-directory): Remove.
13223 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
13224 (eshell-ls-use-in-dired): Use advice-add/remove.
13225 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
13226 Add `orig-fun' arg for use in :around advice.
13227 Make it check (redundantly) eshell-ls-use-in-dired.
13229 2013-09-19 Glenn Morris <rgm@gnu.org>
13231 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
13233 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
13235 * emacs-lisp/eieio.el (class-parent): Undo previous change.
13237 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
13239 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
13240 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
13241 (tramp-get-remote-python): New defuns.
13242 (tramp-get-remote-uid-with-perl)
13243 (tramp-get-remote-gid-with-perl): New defuns. Perl code
13244 contributed by yary <not.com@gmail.com> (tiny change).
13245 (tramp-get-remote-uid-with-python)
13246 (tramp-get-remote-gid-with-python): New defuns. Python code
13247 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
13248 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
13250 2013-09-19 Glenn Morris <rgm@gnu.org>
13252 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
13254 * eshell/em-unix.el (eshell-remove-entries):
13255 Rename argument to avoid name-clash with global `top-level'.
13257 * eshell/esh-proc.el (eshell-kill-process-function):
13258 Remove eshell-reset-after-proc from eshell-kill-hook if present.
13259 (eshell-reset-after-proc): Remove unused arg `proc'.
13261 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
13262 (directory-files-and-attributes): Mark unused arg.
13264 * eshell/em-unix.el (eshell-remove-entries):
13265 Remove unused arg `path'. Update callers.
13267 * eshell/em-hist.el (eshell-hist-parse-arguments):
13268 Remove unused arg `silent'. Update callers.
13270 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
13271 Fix (f)boundp mix-up.
13273 * eshell/em-smart.el (eshell-smart-scroll-window)
13274 (eshell-disable-after-change):
13275 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13277 2013-09-18 Alan Mackenzie <acm@muc.de>
13279 Fix fontification of type when followed by "const".
13280 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
13281 "known" types from fontification.
13283 2013-09-18 Glenn Morris <rgm@gnu.org>
13285 * emacs-lisp/chart.el (x-display-color-cells): Declare.
13286 (chart-face-list): Drop Emacsen without display-color-p.
13288 * net/eww.el (libxml-parse-html-region): Declare.
13289 (eww-display-html): Explicit error if no libxml2 support.
13291 * doc-view.el (doc-view-mode): Silence --without-x compilation.
13293 * image.el (image-type-from-buffer, image-multi-frame-p):
13294 Remove --without-x warning/error.
13296 * mouse.el (mouse-yank-primary):
13297 * term.el (term-mouse-paste):
13298 Reorder to silence --without-x compilation.
13300 * mpc.el (doc-view-mode): Silence --without-x compilation.
13302 * mail/rmailmm.el (rmail-mime-set-bulk-data):
13303 Silence --without-x compilation.
13305 * progmodes/gud.el (gud-find-file, gud-mode):
13306 Silence --without-x compilation.
13307 (tooltip-mode): Declare.
13309 * wdired.el (dired-backup-overwrite): Remove declaration.
13310 (wdired-mode-map): Add doc string.
13312 * custom.el (x-get-resource): Declare.
13314 * eshell/em-glob.el (ange-cache):
13315 * eshell/em-unix.el (ange-cache): Declare.
13317 * faces.el (x-display-list, x-open-connection, x-get-resource):
13320 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
13321 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
13324 * frame.el (x-display-grayscale-p, x-display-name): Declare.
13326 * net/gnutls.el (gnutls-log-level): Declare.
13328 * net/shr.el (image-size, image-animate): Declare.
13330 * simple.el (font-info): Declare.
13332 * subr.el (x-popup-dialog): Declare.
13334 * term/common-win.el (x-select-enable-primary)
13335 (x-last-selected-text-primary, x-last-selected-text-clipboard):
13338 * term/ns-win.el (x-handle-args): Declare.
13340 * term/x-win.el (x-select-enable-clipboard): Declare.
13342 * term/w32-win.el (create-default-fontset): Declare.
13344 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
13347 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
13348 (fit-frame-to-buffer): Explicit error if --without-x.
13349 (mouse-autoselect-window-select): Silence compiler.
13351 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13353 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
13354 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
13355 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
13356 * eshell/esh-util.el (eshell-sublist):
13357 Remove unused local variables.
13359 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
13361 * textmodes/two-column.el: Make 2C-split work for --without-x.
13362 (scroll-bar-columns): Autoload.
13363 (top-level): Require fringe when compiling.
13365 2013-09-18 Leo Liu <sdl.web@gmail.com>
13367 * subr.el (add-hook): Robustify to handle closure as well.
13369 2013-09-17 Glenn Morris <rgm@gnu.org>
13371 * simple.el (messages-buffer-mode-map): Unbind "g".
13373 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13375 * help-mode.el (help-mode-finish): Use derived-mode-p.
13376 Remove obsolete highlighting.
13378 * play/life.el (life-mode): Use define-derived-mode. Derive from
13380 (life): Let-bind inhibit-read-only.
13381 (life-setup): Avoid `setq'. Use `life-mode'.
13383 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
13384 which should not be needed any more.
13385 (package-menu-refresh, package-menu-describe-package): Use user-error.
13387 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13388 (eshell-post-rewrite-command-hook): Make obsolete.
13389 (eshell-parse-command): Simplify.
13390 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
13391 (eshell--cmd): Declare.
13392 (eshell-parse-pipeline): Remove unused var `final-p'.
13393 Pass a dynvar to eshell-post-rewrite-command-hook.
13394 Implement the new eshell-post-rewrite-command-function.
13395 (eshell-invoke-directly): Remove unused arg `input'.
13396 * eshell/esh-io.el (eshell-io-initialize):
13397 Use eshell-post-rewrite-command-function (bug#15399).
13398 (eshell--apply-redirections): Rename from eshell-apply-redirections;
13399 adjust to new calling convention.
13400 (eshell-create-handles): Rename args to avoid clashing with dynvar
13403 2013-09-17 Glenn Morris <rgm@gnu.org>
13405 * simple.el (messages-buffer-mode): New major mode.
13406 (messages-buffer): New function.
13407 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
13408 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
13409 (ert-run-test): Use `messages-buffer' function.
13410 (ert--force-message-log-buffer-truncation): Ignore read-only.
13411 * help.el (view-echo-area-messages): Use `messages-buffer' function.
13412 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
13414 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13416 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
13418 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
13420 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13422 * icomplete.el (icomplete-in-buffer): New var.
13423 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
13424 vars and replace them with functions.
13425 (icomplete-minibuffer-setup): Adjust accordingly.
13426 (icomplete--completion-table, icomplete--completion-predicate)
13427 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
13429 (icomplete-forward-completions, icomplete-backward-completions)
13430 (icomplete-simple-completing-p, icomplete-exhibit)
13431 (icomplete-completions): Use them.
13432 (icomplete--in-region-buffer): New var.
13433 (icomplete--in-region-setup): New function.
13434 (icomplete-mode): Use it.
13436 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
13438 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
13439 return args and options.
13440 (eshell-eval-using-options): Use the new return value of
13441 eshell--do-opts to set the options's vars in their scope.
13442 (eshell--set-option): Rename from eshell-set-option.
13443 Add arg `opt-vals'.
13444 (eshell--process-option): Rename from eshell-process-option.
13445 Add arg `opt-vals'.
13446 (eshell--process-args): Use an `opt-vals' alist to store the options's
13447 values during their processing and return them additionally to the
13450 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
13452 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
13453 continuation character an operator, as far as indentation is
13454 concerned (Bug#15369).
13456 2013-09-15 Martin Rudalics <rudalics@gmx.at>
13458 * window.el (window--state-put-2): Don't process buffer state
13459 when buffer doesn't exist any more (Bug#15382).
13461 2013-09-15 Glenn Morris <rgm@gnu.org>
13463 * eshell/em-unix.el (eshell/rm):
13464 Make -f ignore missing files. (Bug#15373)
13466 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
13467 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
13468 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
13470 2013-09-14 Glenn Morris <rgm@gnu.org>
13472 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
13474 2013-09-13 Glenn Morris <rgm@gnu.org>
13476 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
13477 (dired-guess-default): Make `file' available in the env. (Bug#15363)
13479 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
13481 * frame.el (x-focus-frame): Mark as declared in frame.c.
13483 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13485 * ls-lisp.el: Use advice-add.
13486 (original-insert-directory): Remove.
13487 (ls-lisp--insert-directory): Rename from insert-directory; add
13488 `orig-fun' argument.
13489 (insert-directory): Advise.
13491 2013-09-13 Eli Zaretskii <eliz@gnu.org>
13493 * term.el (term-emulate-terminal): Decode the command string
13494 before passing it to term-command-hook. (Bug#15337)
13496 2013-09-13 Glenn Morris <rgm@gnu.org>
13498 * eshell/esh-util.el (ange-cache): Move declaration earlier.
13500 * eshell/esh-ext.el (eshell-search-path): Declare.
13502 * eshell/em-prompt.el (eshell/pwd): Autoload it.
13503 Otherwise an error occurs if eshell-dirs module not loaded.
13505 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
13507 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
13509 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
13510 `tramp-check-proper-host'. Check for a valid method name.
13512 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13513 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13514 * net/tramp-sh.el (tramp-maybe-open-connection):
13515 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
13517 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
13518 also for hash values.
13520 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13522 * term/ns-win.el (parameters): Don't declare as dynamic.
13523 (before-make-frame-hook): Don't add ineffective function.
13525 * eshell/*.el: Use lexical-binding (bug#15231).
13527 2013-09-12 Kenichi Handa <handa@gnu.org>
13529 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
13531 2013-09-12 Glenn Morris <rgm@gnu.org>
13533 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
13534 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
13536 * subr.el (do-after-load-evaluation): Also give compiler warnings
13537 when obsolete files are used (except by obsolete files).
13539 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
13540 in the status output, assume `filename' is the first. (Bug#15322)
13542 * vc/vc.el (vc-deduce-fileset): Doc fix.
13544 * calc/calc-help.el (Info-goto-node):
13545 * progmodes/cperl-mode.el (Info-find-node):
13546 * vc/ediff.el (Info-goto-node): Update declarations.
13548 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
13550 * vc/vc-bzr.el (vc-compilation-mode): Declare.
13551 (vc-bzr-pull): Require vc-dispatcher.
13552 * vc/vc-git.el (vc-compilation-mode): Declare.
13553 (vc-git-pull): Require vc-dispatcher.
13555 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
13557 * progmodes/octave.el (help-button-action): Declare.
13559 * shell.el (shell-directory-tracker): Output error as a message
13560 rather than just returning it as a string.
13561 (shell-process-pushd): Remove useless use of message.
13563 * dframe.el (dframe-timer-fn):
13564 * files.el (dir-locals-read-from-file):
13565 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
13567 * reveal.el (reveal-post-command):
13568 * saveplace.el (load-save-place-alist-from-file):
13569 * shell.el (shell-resync-dirs):
13570 * w32-common-fns.el (x-get-selection-value):
13571 * emacs-lisp/copyright.el (copyright-find-copyright):
13572 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
13573 * emulation/tpu-edt.el (tpu-copy-keyfile):
13574 * play/bubbles.el (bubbles--mark-neighbourhood):
13575 * progmodes/executable.el
13576 (executable-make-buffer-file-executable-if-script-p):
13577 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
13579 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13581 Cleanup Eshell to rely less on dynamic scoping.
13582 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
13583 last-value, and ext-command here. Bind `args' closer to `body'.
13584 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
13585 (eshell--args): Declare new dynamic var.
13586 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
13587 last-value, and ext-command. Pass `args' to `body'.
13588 (eshell-process-args): Bind eshell--args.
13589 (eshell-set-option): Use eshell--args.
13590 * eshell/eshell.el (eshell): Use derived-mode-p.
13591 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
13592 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
13593 (eshell-glob-function): Declare.
13594 * eshell/esh-util.el: Require cl-lib.
13595 (eshell-read-hosts-file): Avoid add-to-list.
13596 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
13598 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
13600 (eshell/diff): Remove unused var `err'.
13601 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
13603 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
13604 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
13606 * eshell/em-glob.el (eshell-glob-matches, message-shown):
13607 Move declaration before first use.
13608 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
13609 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
13612 2013-09-12 Glenn Morris <rgm@gnu.org>
13614 * term/ns-win.el (global-map): Remove binding for ispell-next,
13615 deleted 1999-05-29. (Bug#15357)
13617 2013-09-11 Glenn Morris <rgm@gnu.org>
13619 * echistory.el (electric-command-history): Remove call to deleted func.
13621 * play/landmark.el (landmark-mode): Fix typos.
13623 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
13624 Check cvs-sort-ignore-file is bound.
13626 * savehist.el: No need for cl when compiling on Emacs.
13628 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13630 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
13632 (eshell-self-insert-command, eshell-send-invisible):
13633 Remove unused argument.
13634 (eshell-handle-control-codes): Remove unused var `orig'.
13635 Avoid delete-backward-char.
13637 * files.el (set-auto-mode): Simplify a bit further.
13639 2013-09-11 Glenn Morris <rgm@gnu.org>
13641 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
13642 (set-auto-mode): Don't regexp-quote elements.
13643 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
13644 * progmodes/cc-mode.el (interpreter-mode-alist):
13645 * progmodes/ruby-mode.el (interpreter-mode-alist):
13646 Revert previous change.
13648 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13650 * play/snake.el (snake-mode):
13651 * play/mpuz.el (mpuz-mode):
13652 * play/landmark.el (lm-mode):
13653 * play/blackbox.el (blackbox-mode):
13654 * play/5x5.el (5x5-mode):
13655 * obsolete/options.el (Edit-options-mode):
13656 * net/quickurl.el (quickurl-list-mode):
13657 * net/newst-treeview.el (newsticker-treeview-mode):
13658 * mail/rmailsum.el (rmail-summary-mode):
13659 * mail/mspools.el (mspools-mode):
13660 * locate.el (locate-mode):
13661 * ibuffer.el (ibuffer-mode):
13662 * emulation/ws-mode.el (wordstar-mode):
13663 * emacs-lisp/debug.el (debugger-mode):
13664 * array.el (array-mode):
13665 * net/eudc.el (eudc-mode): Use define-derived-mode.
13666 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
13667 Move initialization into declaration.
13668 (mairix-searches-mode): Use define-derived-mode.
13669 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
13670 (eudc-edit-hotlist): Use dolist.
13671 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
13672 (Man-mode): Use define-derived-mode.
13673 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
13674 (Info-edit-mode): Use define-derived-mode.
13675 (Info-cease-edit): Use Info-mode.
13676 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
13678 (eshell-mode): Use define-derived-mode.
13679 * chistory.el (command-history-mode-map): Rename from
13680 command-history-map.
13681 (command-history-mode): Use define-derived-mode.
13682 (Command-history-setup): Remove function.
13683 * calc/calc.el (calc-trail-mode-map): New var.
13684 (calc-trail-mode): Use define-derived-mode.
13685 (calc-trail-buffer): Set calc-main-buffer manually.
13686 * bookmark.el (bookmark-insert-annotation): New function.
13687 (bookmark-edit-annotation): Use it.
13688 (bookmark-edit-annotation-mode): Make it a proper major mode.
13689 (bookmark-send-edited-annotation): Use derived-mode-p.
13690 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
13691 closer to its ideal place. Use \' to match EOS.
13693 * profiler.el (profiler-calltree-find): Use function-equal.
13695 2013-09-10 Glenn Morris <rgm@gnu.org>
13697 * files.el (interpreter-mode-alist): Convert to regexps.
13698 (set-auto-mode): Adapt for this. (Bug#15306)
13699 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
13700 Comment out unused variable.
13701 * progmodes/cc-mode.el (interpreter-mode-alist):
13702 * progmodes/python.el (interpreter-mode-alist):
13703 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
13704 * progmodes/sh-script.el (sh-set-shell):
13705 No longer use interpreter-mode-alist to get list of shells.
13707 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
13709 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13711 * simple.el: Use set-temporary-overlay-map for universal-argument.
13712 (universal-argument-map): Don't use default-bindings (bug#15317).
13713 Bind switch-frame explicitly. Replace universal-argument-minus with
13714 a conditional binding.
13715 (universal-argument-num-events, saved-overriding-map): Remove.
13716 (restore-overriding-map): Remove.
13717 (universal-argument--mode): Rename from save&set-overriding-map,
13719 (universal-argument, universal-argument-more, negative-argument)
13720 (digit-argument): Adjust accordingly.
13721 (universal-argument-minus): Remove.
13722 (universal-argument-other-key): Remove.
13724 * subr.el (with-demoted-errors): Add `format' argument.
13726 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
13728 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
13729 `tramp-cleanup-connection'.
13731 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
13732 parameters KEEP-DEBUG and KEEP-PASSWORD.
13734 * net/tramp.el (tramp-file-name-handler):
13735 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
13736 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13737 (tramp-maybe-open-connection):
13738 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
13739 Use `tramp-cleanup-connection'.
13741 * net/tramp-sh.el (tramp-maybe-open-connection):
13742 Catch 'uname-changed inside the progress reporter.
13744 2013-09-10 Glenn Morris <rgm@gnu.org>
13746 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
13748 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
13749 returns "alternate access method" in mode (eg "-rw-r--r--.").
13751 2013-09-08 Glenn Morris <rgm@gnu.org>
13753 * saveplace.el (load-save-place-alist-from-file):
13754 Demote errors. (Bug#15305)
13756 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
13758 Improve compatibility with older Emacsen, and XEmacs.
13760 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
13761 only if it is bound. It isn't for XEmacs.
13762 (with-tramp-progress-reporter): Do not let-bind `result'.
13763 This yields to scoping errors in XEmacs.
13764 (tramp-handle-make-auto-save-file-name): New function, moved from
13767 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
13768 for `make-auto-save-file-name'.
13769 (tramp-adb--gnu-switches-to-ash):
13770 Use `tramp-compat-replace-regexp-in-string'.
13772 * net/tramp-cache.el (tramp-cache-print): Call
13773 `substring-no-properties' only if it is bound. It isn't for XEmacs.
13775 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
13776 bound. It isn't for XEmacs.
13778 * net/tramp-compat.el (tramp-compat-copy-file):
13779 Catch `wrong-number-of-arguments' error.
13780 (tramp-compat-replace-regexp-in-string): New defun.
13782 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
13783 for `make-auto-save-file-name'.
13784 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
13786 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
13787 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
13788 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
13790 * net/tramp-gw.el (tramp-gw-open-network-stream):
13791 Use `tramp-compat-replace-regexp-in-string'.
13793 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13794 Call `tramp-handle-make-auto-save-file-name'.
13795 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
13796 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13797 (tramp-sh-file-inotifywait-process-filter):
13798 Use `tramp-compat-replace-regexp-in-string'.
13799 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
13801 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
13802 for `make-auto-save-file-name'.
13803 (tramp-smb-handle-copy-directory):
13804 Call `tramp-compat-replace-regexp-in-string'.
13805 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
13806 (tramp-smb-handle-copy-file): Improve error message.
13807 (tramp-smb-handle-rename-file): Rename directly only in case
13808 `newname' does not exist yet. This is a restriction of smbclient.
13809 (tramp-smb-maybe-open-connection): Rerun the function only when
13810 `auth-sources' is non-nil.
13812 2013-09-08 Kenichi Handa <handa@gnu.org>
13814 * international/characters.el: Set category "^" (Combining) for
13817 2013-09-07 Alan Mackenzie <acm@muc.de>
13819 Correctly fontify Java class constructors.
13820 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
13822 (c-recognize-typeless-decls): Set the Java value to t.
13823 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13824 While handling a "(", add a check for, effectively, Java, and handle a
13825 "typeless" declaration there.
13827 2013-09-07 Roland Winkler <winkler@gnu.org>
13829 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
13830 field subtitle for entry type book.
13832 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
13834 * minibuffer.el: Make minibuffer-complete call completion-in-region
13835 rather than other way around.
13836 (completion--some, completion-pcm--find-all-completions):
13837 Don't delay signals when debugging.
13838 (minibuffer-completion-contents): Beware fields within the
13839 minibuffer contents.
13840 (completion-all-sorted-completions): Use defvar-local.
13841 (completion--do-completion, completion--cache-all-sorted-completions)
13842 (completion-all-sorted-completions, minibuffer-force-complete):
13843 Add args `beg' and `end'.
13844 (completion--in-region-1): New fun, extracted from minibuffer-complete.
13845 (minibuffer-complete): Use completion-in-region.
13846 (completion-complete-and-exit): New fun, extracted from
13847 minibuffer-complete-and-exit.
13848 (minibuffer-complete-and-exit): Use it.
13849 (completion--complete-and-exit): Rename from
13850 minibuffer--complete-and-exit.
13851 (completion-in-region--single-word): New function, extracted from
13852 minibuffer-complete-word.
13853 (minibuffer-complete-word): Use it.
13854 (display-completion-list): Make `common-substring' argument obsolete.
13855 (completion--in-region): Call completion--in-region-1 instead of
13856 minibuffer-complete.
13857 (completion-help-at-point): Pass boundaries to
13858 minibuffer-completion-help as args rather than via an overlay.
13859 (completion-pcm--string->pattern): Use `any-delim'.
13860 (completion-pcm--optimize-pattern): New function.
13861 (completion-pcm--pattern->regex): Handle `any-delim'.
13862 * icomplete.el (icomplete-forward-completions)
13863 (icomplete-backward-completions, icomplete-completions):
13864 Adjust calls to completion-all-sorted-completions and
13865 completion--cache-all-sorted-completions.
13866 (icomplete-with-completion-tables): Default to t.
13867 * emacs-lisp/crm.el (crm--current-element): Rename from
13868 crm--select-current-element. Don't put an overlay but return the
13869 boundaries instead.
13870 (crm--completion-command): Take two new args to bind to the boundaries.
13871 (crm-completion-help): Adjust accordingly.
13872 (crm-complete): Use completion-in-region.
13873 (crm-complete-word): Use completion-in-region--single-word.
13874 (crm-complete-and-exit): Use completion-complete-and-exit.
13876 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
13878 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
13881 2013-09-06 Juri Linkov <juri@jurta.org>
13883 * info.el (Info-display-images-node): When image file doesn't exist
13884 display text version of the image if it's provided in the Info file.
13885 Otherwise, display the location of missing image from SRC attribute.
13886 Add help-echo text property from ALT attribute. (Bug#15279)
13888 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
13890 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
13891 (edit-abbrevs-mode): Use define-derived-mode.
13893 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
13894 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
13896 (epa-key-list-mode, epa-key-mode, epa-info-mode):
13897 Use define-derived-mode.
13899 * epg.el (epg-start-encrypt): Minor CSE simplification.
13901 2013-09-06 William Xu <william.xwl@gmail.com>
13903 * arc-mode.el: Add support for 7za (bug#15264).
13904 (archive-7z-program): New var.
13905 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
13906 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
13907 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
13909 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
13913 * net/tramp.el (tramp-syntax, tramp-prefix-format)
13914 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
13915 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
13916 (tramp-postfix-host-format, tramp-file-name-regexp)
13917 (tramp-completion-file-name-regexp)
13918 (tramp-completion-dissect-file-name)
13919 (tramp-handle-substitute-in-file-name): Remove 'url case.
13920 (tramp-file-name-regexp-url)
13921 (tramp-completion-file-name-regexp-url): Remove constants.
13923 2013-09-06 Glenn Morris <rgm@gnu.org>
13925 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
13927 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
13929 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
13930 keywords" below "here-doc beginnings" (Bug#15270).
13932 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * subr.el (pop): Use `car-safe'.
13935 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
13936 to detect unused `pop' return value.
13938 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
13939 var `block-regexp'.
13940 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
13941 (python-fill-string): Remove unused var `marker'.
13942 (python-skeleton-add-menu-items): Remove unused var `items'.
13944 * international/mule-cmds.el: Require CL.
13945 (find-coding-systems-for-charsets): Avoid add-to-list.
13946 (sanitize-coding-system-list): New function, extracted from
13947 select-safe-coding-system-interactively.
13948 (select-safe-coding-system-interactively): Use it.
13949 (read-input-method-name): Accept symbols for `default'.
13951 * emacs-lisp/advice.el (defadvice): Add indent rule.
13953 2013-09-05 Daniel Hackney <dan@haxney.org>
13957 * net/browse-url.el:
13960 * net/eudcb-ldap.el:
13964 * vc/ediff-diff.el:
13965 * vc/ediff-init.el:
13966 * vc/ediff-merg.el:
13967 * vc/ediff-mult.el:
13968 * vc/ediff-util.el:
13969 * vc/ediff-wind.el:
13973 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
13974 byte compiler. Remove some unused let-bound variables.
13976 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
13978 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
13979 a "ref-cell", since it gets better optimized (bug#14883).
13981 2013-09-05 Glenn Morris <rgm@gnu.org>
13983 * progmodes/cc-awk.el (c-forward-sws): Declare.
13985 2013-09-04 Glenn Morris <rgm@gnu.org>
13987 * generic-x.el [rul-generic-mode]: Require cc-mode.
13988 (c++-mode-syntax-table): Declare.
13989 (rul-generic-mode-syntax-table): Init in the defvar.
13991 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
13993 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
13994 (vc-do-command, vc-set-async-update):
13995 * vc/vc-mtn.el (vc-mtn-dir-status):
13996 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
13997 (vc-hg-pull, vc-hg-merge-branch):
13998 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
13999 (vc-git-merge-branch):
14000 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
14001 (vc-cvs-dir-status-files):
14002 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
14003 (vc-bzr-dir-status-files):
14004 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
14005 * vc/vc-annotate.el: Use lexical-binding.
14006 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
14007 (vc-sentinel-movepoint): Declare.
14008 (vc-annotate): Don't use `goto-line'.
14009 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
14010 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
14011 (vc-sentinel-movepoint): Declare.
14012 * vc/vc-svn.el: Use lexical-binding.
14013 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
14015 * vc/vc-rcs.el: Use lexical-binding.
14017 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
14018 `deleted'. Don't drop errors silently.
14020 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
14022 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
14024 * vc/vc.el (vc-ignore): Rewrite.
14025 (vc-default-ignore): New function.
14026 (vc-default-ignore-completion-table): Use find-ignore-file.
14028 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
14029 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
14030 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
14031 Remove. Most code moved to vc.el.
14033 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
14036 * net/tramp-smb.el (tramp-smb-get-file-entries):
14037 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
14038 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
14040 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
14042 (eww-change-select): Remove unused var `properties'.
14043 (eww-make-unique-file-name): Remove unused var `base'.
14045 * finder.el (finder-compile-keywords): Don't mess with windows.
14047 * calculator.el (calculator-funcall): Fix typo in last change.
14049 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
14051 * emacs-lisp/package.el (package-activate-1): Don't let a missing
14052 <pkg>-autoloads.el file stop us.
14054 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14055 warnings, and factor out common code.
14057 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
14059 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
14060 two-character operators and whether the character preceding them
14061 changes their meaning (Bug#15208).
14063 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14065 Format code sent to Python shell for robustness.
14066 * progmodes/python.el (python-shell-buffer-substring):
14068 (python-shell-send-region, python-shell-send-buffer): Use it.
14070 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
14072 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
14073 * net/tramp.el (tramp-user-error): ... here.
14074 (tramp-find-method, tramp-check-proper-host)
14075 (tramp-dissect-file-name, tramp-debug-message)
14076 (tramp-handle-shell-command):
14077 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14078 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
14080 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
14082 2013-09-02 Martin Rudalics <rudalics@gmx.at>
14084 * avoid.el (mouse-avoidance-point-position)
14085 (mouse-avoidance-too-close-p): Handle case where posn-at-point
14088 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
14090 * progmodes/python.el (python-shell-completion-get-completions):
14091 Drop use of deleted `comint-last-prompt-overlay'.
14092 (python-nav-if-name-main): New command.
14094 2013-09-01 Glenn Morris <rgm@gnu.org>
14096 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14097 Avoid leading space in $wins. Otherwise the sed command used by
14098 eg compile-main ends up containing "/*.el". (Bug#15170)
14100 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
14102 2013-08-30 Glenn Morris <rgm@gnu.org>
14104 * emacs-lisp/bytecomp.el (byte-recompile-directory):
14105 Fix is-this-a-directory logic. (Bug#15220)
14107 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14109 * textmodes/css-mode.el: Use SMIE.
14110 (css-smie-grammar): New var.
14111 (css-smie--forward-token, css-smie--backward-token)
14112 (css-smie-rules): New functions.
14113 (css-mode): Use them.
14114 (css-navigation-syntax-table): Remove var.
14115 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
14116 (css-indent-calculate, css-indent-line): Remove functions.
14118 Misc changes to reduce use of `(lambda...); and other cleanups.
14119 * cus-edit.el: Use lexical-binding.
14120 (customize-push-and-save, customize-apropos)
14121 (custom-buffer-create-internal): Use closures.
14122 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
14123 * progmodes/ada-xref.el: Use setq.
14124 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
14125 * dframe.el: Use lexical-binding.
14126 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
14127 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
14128 * descr-text.el: Use lexical-binding.
14129 (describe-text-widget, describe-text-sexp, describe-property-list):
14131 * comint.el (comint-history-isearch-push-state): Use a closure.
14132 * calculator.el: Use lexical-binding.
14133 (calculator-number-to-string): Make it work with lexical-binding.
14134 (calculator-funcall): Same and use cl-letf.
14136 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
14137 (lisp--company-doc-string, lisp--company-location): New functions.
14138 (lisp-completion-at-point): Use them to improve Company support.
14140 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
14141 params of lambda expressions.
14142 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
14143 (ruby-smie--opening-pipe-p): New function.
14144 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
14145 symbols and matched |...| for formal params.
14146 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
14147 from being treated as hanging. Handle "rescue".
14149 2013-08-29 Glenn Morris <rgm@gnu.org>
14151 * progmodes/cc-engine.el (c-pull-open-brace):
14152 Move definition before use.
14154 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14156 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
14157 are immutable. Don't use `unsafe' any more.
14158 (cl--defsubst-expand): Don't substitute at the same time as keeping
14159 a residual unused let-binding. Don't use `unsafe' any more.
14161 2013-08-29 Glenn Morris <rgm@gnu.org>
14163 * calendar/cal-china.el (calendar-chinese-year-cache):
14166 * nxml/nxml-util.el (nxml-debug-clear-inside):
14167 Use cl-loop rather than loop.
14169 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
14171 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
14173 2013-08-28 Glenn Morris <rgm@gnu.org>
14175 * progmodes/antlr-mode.el: No need to require cc-mode twice.
14177 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
14179 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
14181 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14183 * simple.el (repeat-complex-command--called-interactively-skip):
14185 (repeat-complex-command): Use it (bug#14136).
14187 * progmodes/cc-mode.el: Minor cleanup of var declarations.
14188 (c-define-abbrev-table): Add `doc' argument.
14189 (c-mode-abbrev-table, c++-mode-abbrev-table)
14190 (objc-mode-abbrev-table, java-mode-abbrev-table)
14191 (idl-mode-abbrev-table, pike-mode-abbrev-table)
14192 (awk-mode-abbrev-table): Use it.
14193 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
14194 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
14195 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
14196 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
14197 Move initialization into the declaration; and remove any
14200 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
14201 and dynamic let binding.
14203 * vc/smerge-mode.el: Remove redundant :group args.
14205 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
14208 2013-08-28 Juri Linkov <juri@jurta.org>
14210 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
14211 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
14212 (isearch-other-meta-char): Handle an undefined shifted printing
14213 character by downshifting it. (Bug#15200)
14215 2013-08-28 Juri Linkov <juri@jurta.org>
14217 * isearch.el (isearch-search): Change regexp error message for
14218 non-regexp searches. (Bug#15166)
14220 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
14222 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
14223 for portability to hosts where /bin/sh has problems.
14225 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14227 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
14229 2013-08-27 Juri Linkov <juri@jurta.org>
14231 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
14232 in the keyboard macro. (Bug#15126)
14234 2013-08-27 Juri Linkov <juri@jurta.org>
14236 * isearch.el (isearch-quote-char): Comment out converting unibyte
14237 to multibyte, thus syncing with its `quoted-insert' counterpart.
14240 2013-08-27 Martin Rudalics <rudalics@gmx.at>
14242 * window.el (display-buffer-use-some-window): Add missing
14243 argument in call of get-largest-window (Bug#15185).
14244 Reported by Stephen Leake.
14246 2013-08-27 Glenn Morris <rgm@gnu.org>
14248 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
14250 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14252 * progmodes/python.el (python-font-lock-keywords): Don't return nil
14253 from a matcher-function unless there's no more matches (bug#15161).
14255 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14257 * minibuffer.el: Revert change from 2013-08-20.
14259 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
14260 with text property `tramp-default', if appropriate.
14261 (tramp-check-proper-host): New defun.
14262 (tramp-dissect-file-name): Do not check hostname. Revert change
14264 (tramp-backtrace): Make VEC-OR-PROC optional.
14266 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
14267 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14268 * net/tramp-sh.el (tramp-maybe-open-connection):
14269 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
14270 Apply `tramp-check-proper-host'.
14272 2013-08-26 Tassilo Horn <tsdh@gnu.org>
14274 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
14275 lambda expression in order to have `describe-variable' display it.
14277 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
14279 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
14280 BUF can be optional. (Bug#15186)
14282 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
14284 * progmodes/flymake.el (flymake-get-real-file-name-function):
14285 Fix broken customization. (Bug#15184)
14287 2013-08-25 Alan Mackenzie <acm@muc.de>
14289 Improve indentation of bracelists defined by macros (without "=").
14291 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
14292 expansion begins with "{", regard it as bracelist when it doesn't
14295 Parse C++ inher-intro when there's a template split over 2 lines.
14297 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
14298 rigorously the search for "class" etc. followed by ":".
14300 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
14301 random languages a regexp which never matches rather than nil.
14303 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
14305 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
14306 (c-awk-regexp-one-line-possibly-open-char-list-re)
14307 (c-awk-one-line-possibly-open-regexp-re)
14308 (c-awk-one-line-non-syn-ws*-re): Remove.
14309 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
14310 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
14311 (c-awk-space*-unclosed-regexp-/-re): New constants.
14312 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
14313 aren't regexp delimiters.
14315 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
14316 handling for a rare situation in AWK Mode involving unterminated
14319 2013-08-23 Glenn Morris <rgm@gnu.org>
14321 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
14323 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
14325 * files.el (create-file-buffer): If the result would begin with
14326 spaces, prepend a "|" instead of removing them. (Bug#15162)
14328 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14330 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
14331 text-properties (bug#15155).
14333 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
14335 (calc-keypad-redraw): Remove unused var `pad'.
14336 (calc-keypad-press): Remove unused var `menu'.
14338 2013-08-23 Martin Rudalics <rudalics@gmx.at>
14340 * window.el (display-buffer-pop-up-frame):
14341 Call pop-up-frame-function with BUFFER current so `make-frame' will
14342 use it as the new frame's buffer (Bug#15133).
14344 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14346 * calendar/timeclock.el: Minor cleanups.
14347 (timeclock-ask-before-exiting, timeclock-use-display-time):
14349 (timeclock-modeline-display): Define as alias before the
14351 (timeclock-mode-line-display): Use define-minor-mode.
14352 (timeclock-day-list-template): Make it a function, add an argument.
14353 (timeclock-day-list-required, timeclock-day-list-length)
14354 (timeclock-day-list-debt, timeclock-day-list-span)
14355 (timeclock-day-list-break): Adjust calls accordingly.
14357 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14359 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
14360 Use read--expression so that completion works again.
14362 2013-08-21 Sam Steingold <sds@gnu.org>
14364 Add rudimentary inferior shell interaction
14365 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
14366 (sh-set-shell): Reset it.
14367 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
14368 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
14370 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
14372 * align.el: Use lexical-binding.
14373 (align-region): Simplify accordingly.
14375 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
14377 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
14379 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
14380 `non-essential' up.
14382 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
14385 * net/tramp-adb.el:
14386 * net/tramp-cmds.el:
14387 * net/tramp-ftp.el:
14388 * net/tramp-gvfs.el:
14390 * net/tramp-sh.el: Don't wrap external variable declarations by
14391 `eval-when-compile'.
14393 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14395 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
14396 now that Emacs supports ImageMagick animations.
14398 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
14400 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
14401 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
14403 2013-08-16 Martin Rudalics <rudalics@gmx.at>
14405 * window.el (mouse-autoselect-window-select): Do autoselect when
14406 mouse pointer is on margin.
14408 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
14410 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
14412 2013-08-16 Glenn Morris <rgm@gnu.org>
14414 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
14415 Handle "Remote Directory" response of some clients. (Bug#15058)
14417 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
14418 Tweak warning. (Bug#14926)
14420 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
14421 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
14423 * image-mode.el (image-mode-map): Add menu items to reverse,
14424 increase, decrease, reset animation speed.
14425 (image--set-speed, image-increase-speed, image-decrease-speed)
14426 (image-reverse-speed, image-reset-speed): New functions.
14427 (image-mode-map): Add bindings for speed commands.
14429 * image.el (image-animate-get-speed, image-animate-set-speed):
14431 (image-animate-timeout): Respect image :speed property.
14433 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14435 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
14436 previous line (bug#15101).
14437 (debugger-eval-expression, debugger-record-expression):
14438 Use read--expression (bug#15102).
14440 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
14442 Remove byte compiler warnings, visible when compiling with
14443 `byte-compile-force-lexical-warnings' set to t.
14445 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
14446 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
14447 (tramp-handle-unhandled-file-name-directory)
14448 (tramp-handle-file-notify-add-watch, tramp-action-login)
14449 (tramp-action-succeed, tramp-action-permission-denied)
14450 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
14451 arguments with "_".
14453 * net/tramp-adb.el (tramp-adb-parse-device-names)
14454 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
14455 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
14456 (tramp-adb-handle-file-truename): Remove unused arguments.
14458 * net/tramp-cache.el (tramp-flush-directory-property)
14459 (tramp-flush-connection-property, tramp-list-connections)
14460 (tramp-parse-connection-properties): Prefix unused arguments with "_".
14462 * net/tramp-compat.el (tramp-compat-make-temp-file):
14463 Rename FILENAME to F.
14465 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
14466 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
14467 (tramp-zeroconf-parse-workstation-device-names)
14468 (tramp-zeroconf-parse-webdav-device-names)
14469 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
14471 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
14472 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
14474 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
14476 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
14477 (tramp-sh-handle-insert-file-contents-literally)
14478 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
14480 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
14481 Remove unused variables.
14483 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14484 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
14485 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
14487 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
14488 Make them a defconst.
14489 (tramp-uuencode-region): Remove unused variable.
14491 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
14493 * frameset.el (frameset--prop-setter): New function.
14494 (frameset-prop): Add gv-setter declaration.
14495 (frameset-filter-minibuffer): Deal with the case that the minibuffer
14496 parameter was already set in FILTERED. Doc fix.
14497 (frameset--record-minibuffer-relationships): Allow saving a
14498 minibufferless frame without its corresponding minibuffer frame.
14499 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
14500 frame, if the frame id matches.
14501 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
14502 frames before orphaned ones.
14503 (frameset-restore): Warn about orphaned windows, instead of error out.
14505 2013-08-14 Martin Rudalics <rudalics@gmx.at>
14507 * window.el (window-make-atom): Don't overwrite parameter
14509 (display-buffer-in-atom-window): Handle special case where we
14510 split an already atomic window.
14511 (window--major-non-side-window, display-buffer-in-side-window)
14512 (window--side-check): Ignore minibuffer window when walking
14514 (window-deletable-p): Return 'frame only if no other frame uses
14515 our minibuffer window.
14516 (record-window-buffer): Run buffer-list-update-hook.
14517 (split-window): Make sure window--check-frame won't destroy an
14518 existing atomic window in case the new window gets nested
14520 (display-buffer-at-bottom): Ignore minibuffer window when
14521 walking window tree. Don't split a side window.
14522 (pop-to-buffer): Don't set-buffer here, the select-window call
14524 (mouse-autoselect-window-select): Autoselect only if we are in the
14525 text portion of the window.
14527 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14529 * net/shr.el (shr-parse-image-data): New function to grab both the
14530 data itself and the Content-Type.
14531 (shr-put-image): Use it.
14533 * net/eww.el (eww-display-image): Ditto.
14535 * image.el (image-content-type-suffixes): New variable.
14537 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14539 * progmodes/python.el (python-imenu--build-tree)
14540 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
14542 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
14544 * simple.el (backward-word): Mention the optional argument.
14546 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14548 * frameset.el (frameset--make): Rename constructor from make-frameset.
14549 (frameset-p, frameset-valid-p): Don't autoload.
14550 (frameset-valid-p): Use normal accessors.
14552 2013-08-13 Glenn Morris <rgm@gnu.org>
14554 * progmodes/compile.el (compile-command): Tweak example in doc.
14555 * obsolete/scribe.el (scribe-mode):
14556 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
14558 * mail/feedmail.el (feedmail-confirm-outgoing)
14559 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
14561 * cus-start.el (truncate-partial-width-windows): Fix type.
14563 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
14565 * net/shr.el (shr-table-horizontal-line): Fix custom type.
14567 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
14569 * emacs-lisp/timer.el (timer--time-setter): New function.
14570 (timer--time): Use it as gv-setter.
14572 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
14573 setter is not a symbol.
14575 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
14577 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
14578 if sending fails. This makes debugging easier.
14580 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
14582 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
14583 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
14584 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
14586 2013-08-12 Eli Zaretskii <eliz@gnu.org>
14588 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
14590 2013-08-12 Glenn Morris <rgm@gnu.org>
14592 * format.el (format-annotate-function):
14593 Handle read-only text properties in the source. (Bug#14887)
14595 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14597 * net/eww.el (eww-display-html): Ignore coding system errors.
14598 One web site uses "utf-8lias" as the coding system.
14600 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
14602 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
14604 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
14606 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
14607 (tutorial--detailed-help): Remove unused local variables.
14608 (tutorial--save-tutorial-to): Use ignore-errors.
14609 (help-with-tutorial): Use looking-at-p.
14611 * view.el (view-buffer-other-window, view-buffer-other-frame):
14612 Mark unused arguments.
14614 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
14615 (woman-select-symbol-fonts, woman, woman-find-file)
14616 (woman-insert-file-contents, woman-non-underline-faces):
14617 Use string-match-p.
14618 (woman1-unquote): Move declaration.
14620 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
14621 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
14622 argument. Remove unused local variable.
14623 (xml-parse-elem-type): Use string-match-p.
14624 (xml-substitute-numeric-entities): Use ignore-errors.
14626 * calculator.el (calculator): Mark unused argument.
14627 (calculator-paste, calculator-quit, calculator-integer-p):
14629 (calculator-string-to-number, calculator-decimal, calculator-exp)
14630 (calculator-op-or-exp): Use string-match-p.
14632 * dired.el (dired-buffer-more-recently-used-p): Declare.
14633 (dired-insert-set-properties, dired-insert-old-subdirs):
14636 * dired-aux.el (dired-compress): Use ignore-errors.
14637 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
14638 (dired-do-async-shell-command, dired-do-shell-command)
14639 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
14640 (dired-insert-subdir-validate): Use string-match-p.
14641 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
14642 (dired-add-entry): Use string-match-p, looking-at-p.
14643 (dired-insert-subdir-newpos): Remove unused local variable.
14645 * filenotify.el (file-notify-callback): Remove unused local variable.
14647 * filesets.el (filesets-error): Mark unused argument.
14648 (filesets-which-command-p, filesets-filter-dir-names)
14649 (filesets-directory-files, filesets-get-external-viewer)
14650 (filesets-ingroup-get-data): Use string-match-p.
14652 * find-file.el (ff-other-file-name, ff-other-file-name)
14653 (ff-find-the-other-file, ff-cc-hh-converter):
14654 Remove unused local variables.
14655 (ff-get-file-name): Use string-match-p.
14656 (ff-all-dirs-under): Use ignore-errors.
14658 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
14659 (follow-select-if-visible): Remove unused local variable.
14661 * forms.el (read-file-filter): Move declaration.
14662 (forms--make-format, forms--make-parser, forms-insert-record):
14663 Quote function with #'.
14664 (forms--update): Use string-match-p. Quote function with #'.
14666 * help-mode.el (help-dir-local-var-def): Mark unused argument.
14667 (help-make-xrefs): Use looking-at-p.
14668 (help-xref-on-pp): Use looking-at-p, ignore-errors.
14670 * ibuffer.el (ibuffer-ext-visible-p): Declare.
14671 (ibuffer-confirm-operation-on): Use string-match-p.
14673 * msb.el (msb-item-handler, msb-dired-item-handler):
14674 Mark unused arguments.
14676 * ses.el (ses-decode-cell-symbol)
14677 (ses-kill-override): Remove unused local variable.
14678 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
14679 (ses-load): Use ignore-errors, looking-at-p.
14680 (ses-jump-safe): Use ignore-errors.
14681 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
14683 * tabify.el (untabify, tabify): Mark unused arguments.
14685 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
14686 Mark unused argument.
14687 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
14688 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
14690 * emacs-lisp/timer.el (timer--time): Define setter with
14691 gv-define-setter to avoid deprecation warning.
14693 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
14694 (*record-cmpl-statistics-p*): Remove (was commented out).
14695 (cmpl-statistics-block): Remove (body was commented out).
14696 All callers changed.
14697 (add-completions-from-buffer, load-completions-from-file):
14698 Remove unused variables.
14700 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14702 * filecache.el (file-cache-delete-file-list):
14703 Print message only when told so.
14704 (file-cache-files-matching): Use #' in mapconcat argument.
14706 * ffap.el (ffap-url-at-point): Fix reference to variable
14707 thing-at-point-default-mail-uri-scheme.
14709 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
14711 * subr.el (define-error): New function.
14712 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
14713 error-file-not-found and define with define-error.
14714 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
14715 and define with define-error.
14716 * userlock.el (file-locked, file-supersession):
14717 * simple.el (mark-inactive):
14718 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
14719 * progmodes/ada-mode.el (ada-mode-errors):
14720 * play/life.el (life-extinct):
14721 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
14722 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
14723 * nxml/rng-util.el (rng-error):
14724 * nxml/rng-uri.el (rng-uri-error):
14725 * nxml/rng-match.el (rng-compile-error):
14726 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
14727 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
14728 * nxml/nxml-rap.el (nxml-scan-error):
14729 * nxml/nxml-outln.el (nxml-outline-error):
14730 * net/soap-client.el (soap-error):
14731 * net/gnutls.el (gnutls-error):
14732 * net/ange-ftp.el (ftp-error):
14733 * mpc.el (mpc-proc-error):
14734 * json.el (json-error, json-readtable-error, json-unknown-keyword)
14735 (json-number-format, json-string-escape, json-string-format)
14736 (json-key-format, json-object-format):
14737 * jka-compr.el (compression-error):
14738 * international/quail.el (quail-error):
14739 * international/kkc.el (kkc-error):
14740 * emacs-lisp/ert.el (ert-test-failed):
14741 * calc/calc.el (calc-error, inexact-result, math-overflow)
14743 * bookmark.el (bookmark-error-no-filename):
14744 * epg.el (epg-error): Define with define-error.
14746 * time.el (display-time-event-handler)
14747 (display-time-next-load-average): Don't call sit-for since it seems
14748 unnecessary (bug#15045).
14750 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
14751 Use #' instead of ' to quote functions.
14752 (checkdoc-output-mode): Use setq-local.
14753 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
14754 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
14755 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
14756 (checkdoc-ispell, checkdoc-ispell-current-buffer)
14757 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
14758 (checkdoc-ispell-message-text, checkdoc-ispell-start)
14759 (checkdoc-ispell-continue, checkdoc-ispell-comments)
14760 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
14762 * ido.el (ido-completion-help): Fix up compiler warning.
14764 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
14766 * frameset.el (frameset-p): Add autoload cookie.
14767 (frameset--jump-to-register): New function, based on code moved from
14769 (frameset-to-register): Move from register.el. Adapt to `registerv'.
14771 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
14772 (frameset-restore, frameset-save, frameset-session-filter-alist):
14773 Remove declarations.
14774 (register-alist): Doc fix.
14775 (frameset-to-register): Move to frameset.el.
14776 (jump-to-register, describe-register-1): Remove frameset-specific code.
14778 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14780 * allout-widgets.el (allout-widgets-pre-command-business)
14781 (allout-widgets-post-command-business)
14782 (allout-widgets-after-change-handler)
14783 (allout-decorate-item-and-context, allout-set-boundary-marker)
14784 (allout-body-modification-handler)
14785 (allout-graphics-modification-handler): Mark ignored arguments.
14786 (allout-widgets-post-command-business)
14787 (allout-widgets-exposure-change-processor)
14788 (allout-widgets-exposure-undo-processor)
14789 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
14790 (allout-parse-item-at-point, allout-decorate-item-guides)
14791 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
14792 * allout.el (epa-passphrase-callback-function): Declare.
14793 (allout-overlay-insert-in-front-handler)
14794 (allout-overlay-interior-modification-handler)
14795 (allout-isearch-end-handler, allout-chart-siblings)
14796 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
14797 (allout-yank-processing, allout-process-exposed)
14798 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
14799 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
14800 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
14801 (lisp-indent-defform): Mark ignored arguments.
14802 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
14803 (calculate-lisp-indent): Remove unused variables.
14804 * international/characters.el (indian-2-column, arabic-2-column)
14805 (tibetan): Mark ignored arguments.
14806 (use-cjk-char-width-table): Mark ignored arguments.
14807 Remove unused variables.
14808 * international/fontset.el (build-default-fontset-data)
14809 (x-compose-font-name, create-fontset-from-fontset-spec):
14810 Mark ignored arguments.
14811 (fontset-plain-name): Remove unused variables.
14812 * international/mule.el (charset-id, charset-bytes, generic-char-p)
14813 (keyboard-coding-system): Mark ignored arguments.
14814 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
14815 * help.el (resize-temp-buffer-window):
14816 * window.el (display-buffer-in-major-side-window)
14817 (display-buffer-in-side-window, display-buffer-in-previous-window):
14818 Remove unused variables.
14819 * isearch.el (isearch-forward-symbol):
14820 * version.el (emacs-bzr-version-bzr):
14821 * international/mule-cmds.el (current-language-environment):
14822 * term/common-win.el (x-handle-iconic, x-handle-geometry)
14823 (x-handle-display):
14824 * term/pc-win.el (x-list-fonts, x-display-planes)
14825 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
14826 (x-server-version, x-display-screens, x-display-mm-height)
14827 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
14828 (x-selection-owner-p, x-own-selection-internal)
14829 (x-disown-selection-internal, x-get-selection-internal)
14830 (msdos-initialize-window-system):
14831 * term/tty-colors.el (tty-color-alist, tty-color-clear):
14832 * term/x-win.el (x-handle-no-bitmap-icon):
14833 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
14834 (vc-default-find-file-hook, vc-default-extra-menu):
14835 Mark ignored arguments.
14837 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
14839 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
14840 break-condition in the context of the debugged code (bug#12685).
14842 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
14845 Do not use an overlay to highlight the last prompt. (Bug#14744)
14846 (comint-mode): Make comint-last-prompt buffer local.
14847 (comint-last-prompt): New variable.
14848 (comint-last-prompt-overlay): Remove. Superseded by
14849 comint-last-prompt.
14850 (comint-snapshot-last-prompt, comint-output-filter):
14851 Use comint-last-prompt.
14853 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14855 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
14856 (frameset-save): Check validity of the resulting frameset.
14858 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
14860 * ido.el (ido-record-command): Add doc string.
14862 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14864 * frameset.el (frameset): Do not disable creation of the default
14865 frameset-p predicate. Doc fix.
14866 (frameset-valid-p): New function, copied from the old predicate-p.
14867 Add additional checks.
14868 (frameset-restore): Check with frameset-valid-p.
14869 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
14870 (frameset-name, frameset-description, frameset-properties)
14871 (frameset-states): Add docstring.
14872 (frameset-session-filter-alist, frameset-persistent-filter-alist)
14873 (frameset-filter-alist): Doc fixes.
14875 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14877 * frameset.el (frameset-p, frameset-prop): Doc fixes.
14879 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
14881 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
14882 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
14883 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
14884 (byte-compile-normal-call): Remove obsolescence check.
14886 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
14888 * frameset.el (frameset-restore): Doc fix.
14890 * register.el (frameset-frame-id, frameset-frame-with-id)
14891 (frameset-p, frameset-restore, frameset-save): Declare.
14892 (register-alist): Document framesets.
14893 (frameset-session-filter-alist): Declare.
14894 (frameset-to-register): New function.
14895 (jump-to-register): Implement jumping to framesets. Doc fix.
14896 (describe-register-1): Describe framesets.
14898 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
14900 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
14902 * desktop.el (desktop-save-frameset): Use new frameset-save args.
14903 Use lexical-binding.
14905 * frameset.el (frameset): Use type vector, not list (incompatible
14906 change). Do not declare a new constructor, use the default one.
14907 Upgrade suggested properties `app', `name' and `desc' to slots `app',
14908 `name' and `description', respectively, and add read-only slot
14909 `timestamp'. Doc fixes.
14910 (frameset-copy, frameset-persistent-filter-alist)
14911 (frameset-filter-alist, frameset-switch-to-gui-p)
14912 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
14913 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
14914 (frameset-filter-iconified, frameset-keep-original-display-p):
14916 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
14917 Rename from frameset-filter-(save|restore)-param. All callers changed.
14919 (frameset-p): Adapt to change to vector and be more thorough.
14920 Change arg name to OBJECT. Doc fix.
14921 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
14922 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
14923 All callers changed.
14924 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
14925 All callers changed.
14926 (frameset--record-minibuffer-relationships): Rename from
14927 frameset--process-minibuffer-frames. All callers changed.
14928 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
14929 Use new default constructor (again). Doc fix.
14930 (frameset--find-frame-if): Rename from `frameset--find-frame'.
14931 All callers changed.
14932 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
14933 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
14935 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
14936 PARAMETERS and WINDOW-STATE, respectively.
14937 (frameset-restore): Add new keyword argument PREDICATE.
14938 Reset frameset--target-display to nil. Doc fix.
14940 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
14942 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
14943 (bat-mode): Use it.
14944 (bat-mode-syntax-table): Mark \n as end-of-comment.
14945 (bat-font-lock-keywords): Remove comment rule.
14947 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
14948 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
14950 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
14951 (byte-compile-callargs-warn): Use `push'.
14952 (byte-compile-arglist-warn): Ignore higher-order "calls".
14953 (byte-compile-file-form-autoload): Use `pcase'.
14954 (byte-compile-function-form): If quoting a symbol, check that it exists.
14956 2013-08-07 Eli Zaretskii <eliz@gnu.org>
14958 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
14959 and add a few popular commands found in batch files.
14960 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
14961 (dos-mode): Doc fixes.
14963 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
14965 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
14966 (dos-mode): Use setq-local. Add space after "rem".
14967 (dos-mode-syntax-table): Don't use "w" for symbol chars.
14968 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
14970 2013-08-07 Arni Magnusson <arnima@hafro.is>
14972 * progmodes/dos.el: New file.
14973 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
14976 2013-08-06 Glenn Morris <rgm@gnu.org>
14978 * calendar/calendar.el: Add new faces, and day-header-array.
14979 (calendar-weekday-header, calendar-weekend-header)
14980 (calendar-month-header): New faces.
14981 (calendar-day-header-construct): New function.
14982 (calendar-day-header-width): Also :set calendar-day-header-array.
14983 (calendar-american-month-header, calendar-european-month-header)
14984 (calendar-iso-month-header): Use calendar- faces.
14985 (calendar-generate-month):
14986 Use calendar-day-header-array for day headers; apply faces to them.
14987 (calendar-mode): Check calendar-font-lock-keywords non-nil.
14988 (calendar-abbrev-construct): Add optional maxlen argument.
14989 (calendar-day-name-array): Doc fix.
14990 (calendar-day-name-array, calendar-abbrev-length)
14991 (calendar-day-abbrev-array):
14992 Also :set calendar-day-header-array, and maybe redraw.
14993 (calendar-day-header-array): New option. (Bug#15007)
14994 (calendar-font-lock-keywords): Set to nil and make obsolete.
14995 (calendar-day-name): Add option to use header array.
14997 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14999 * net/shr.el (shr-render-td): Remove debugging.
15000 (shr-render-td): Make width computation consistent by defaulting
15001 all zero-width columns to 10 characters. This may not be optimal,
15002 but it's at least consistent.
15003 (shr-make-table-1): Redo last change to fix the real problem in
15006 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15008 * files.el (cache-long-line-scans):
15009 Make obsolete alias to `cache-long-scans'.
15011 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15013 * frameset.el (frameset, frameset-filter-alist)
15014 (frameset-filter-params, frameset-save, frameset--reuse-frame)
15015 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
15016 (frameset-compute-pos): Rename from frameset--compute-pos,
15018 (frameset-move-onscreen): Use frameset-compute-pos.
15019 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15021 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
15022 Fix typos in docstrings.
15024 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
15026 * frame.el (get-other-frame): Tiny cleanup.
15028 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
15030 * vc/vc.el (vc-default-ignore-completion-table):
15031 Silence byte-compiler warning.
15033 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
15034 slot, which can indeed be nil.
15035 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15036 Move entry for `left' from persistent to live filter alist.
15037 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
15039 (frameset-filter-params): When restoring a frame, copy items added to
15040 `filtered', to avoid unwittingly modifying the original parameters.
15041 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
15042 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
15044 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
15045 to use looking-at-p instead of looking-at. (Bug#15028)
15047 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15049 Revert introduction of isearch-filter-predicates (bug#14714).
15050 Rely on add-function instead.
15051 * isearch.el (isearch-filter-predicates): Rename it back to
15052 isearch-filter-predicate.
15053 (isearch-message-prefix): Use advice-function-mapc and advice
15054 properties to get the isearch-message-prefix.
15055 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
15056 instead of run-hook-with-args-until-failure.
15057 (isearch-filter-visible): Not obsolete any more.
15058 * loadup.el: Preload nadvice.
15059 * replace.el (perform-replace): Revert to funcall
15060 instead of run-hook-with-args-until-failure.
15061 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
15062 * dired-aux.el (dired-isearch-filenames-mode): Rename from
15063 dired-isearch-filenames-toggle; make it into a proper minor mode.
15064 Use add/remove-function.
15065 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
15066 Call the minor-mode rather than add/remove-hook.
15067 (dired-isearch-filter-filenames):
15068 Remove isearch-message-prefix property.
15069 * info.el (Info--search-loop): New function, extracted from Info-search.
15070 Funcall isearch-filter-predicate instead of
15071 run-hook-with-args-until-failure isearch-filter-predicates.
15072 (Info-search): Use it.
15073 (Info-mode): Use isearch-filter-predicate instead of
15074 isearch-filter-predicates.
15076 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15078 Do not call to `selected-window' where it is assumed by default.
15079 Affected functions are `window-minibuffer-p', `window-dedicated-p',
15080 `window-hscroll', `window-width', `window-height', `window-buffer',
15081 `window-frame', `window-start', `window-point', `next-window'
15082 and `window-display-table'.
15083 * abbrev.el (abbrev--default-expand):
15084 * bs.el (bs--show-with-configuration):
15085 * buff-menu.el (Buffer-menu-mouse-select):
15086 * calc/calc.el (calc):
15087 * calendar/calendar.el (calendar-generate-window):
15088 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
15089 (diary-make-entry):
15090 * comint.el (send-invisible, comint-dynamic-complete-filename)
15091 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
15092 * completion.el (complete):
15093 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
15094 * disp-table.el (describe-current-display-table):
15095 * doc-view.el (doc-view-insert-image):
15096 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
15097 * ehelp.el (with-electric-help):
15098 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15099 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
15100 * emacs-lisp/helper.el (Helper-help-scroller):
15101 * emulation/cua-base.el (cua--post-command-handler-1):
15102 * eshell/esh-mode.el (eshell-output-filter):
15103 * ffap.el (ffap-gnus-wrapper):
15104 * help-macro.el (make-help-screen):
15105 * hilit-chg.el (highlight-compare-buffers):
15106 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
15107 * hl-line.el (global-hl-line-highlight):
15108 * icomplete.el (icomplete-simple-completing-p):
15109 * isearch.el (isearch-done):
15110 * jit-lock.el (jit-lock-stealth-fontify):
15111 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
15112 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
15113 * mpc.el (mpc-tagbrowser, mpc):
15114 * net/rcirc.el (rcirc-any-buffer):
15115 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
15116 * play/landmark.el (landmark-max-width, landmark-max-height):
15117 * play/zone.el (zone):
15118 * progmodes/compile.el (compilation-goto-locus):
15119 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
15120 * progmodes/etags.el (find-tag-other-window):
15121 * progmodes/fortran.el (fortran-column-ruler):
15122 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15123 * progmodes/verilog-mode.el (verilog-point-text):
15124 * reposition.el (reposition-window):
15125 * rot13.el (toggle-rot13-mode):
15126 * server.el (server-switch-buffer):
15127 * shell.el (shell-dynamic-complete-command)
15128 (shell-dynamic-complete-environment-variable):
15129 * simple.el (insert-buffer, set-selective-display)
15130 (delete-completion-window):
15131 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
15132 (speedbar-recenter):
15133 * startup.el (fancy-splash-head):
15134 * textmodes/ispell.el (ispell-command-loop):
15135 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
15136 * tutorial.el (help-with-tutorial):
15137 * vc/add-log.el (add-change-log-entry):
15138 * vc/compare-w.el (compare-windows):
15139 * vc/ediff-help.el (ediff-indent-help-message):
15140 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
15141 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
15142 (ediff-setup-control-frame):
15143 * vc/emerge.el (emerge-position-region):
15144 * vc/pcvs-util.el (cvs-bury-buffer):
15145 * window.el (walk-windows, mouse-autoselect-window-select):
15146 * winner.el (winner-set-conf, winner-undo): Related users changed.
15148 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15150 * frameset.el (frameset--set-id): Doc fix.
15151 (frameset-frame-id, frameset-frame-id-equal-p)
15152 (frameset-locate-frame-id): New functions.
15153 (frameset--process-minibuffer-frames, frameset--reuse-frame)
15154 (frameset-restore): Use them.
15156 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
15158 Do not call to `selected-frame' where it is assumed by default.
15159 Affected functions are `raise-frame', `redraw-frame',
15160 `frame-first-window', `frame-terminal' and `delete-frame'.
15161 * calendar/appt.el (appt-disp-window):
15162 * epg.el (epg-wait-for-completion):
15163 * follow.el (follow-delete-other-windows-and-split)
15164 (follow-avoid-tail-recenter):
15165 * international/mule.el (set-terminal-coding-system):
15166 * mail/rmail.el (rmail-mail-return):
15167 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15168 * progmodes/f90.el (f90-add-imenu-menu):
15169 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
15170 * server.el (server-switch-buffer):
15171 * simple.el (delete-completion-window):
15173 * term/xterm.el (terminal-init-xterm-modify-other-keys)
15174 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
15175 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
15176 * vc/ediff.el (ediff-documentation): Related users changed.
15177 * frame.el (selected-terminal): Remove the leftover.
15179 2013-08-05 Glenn Morris <rgm@gnu.org>
15181 * calendar/calendar.el (calendar-generate-month):
15182 Fix for calendar-column-width != 1 + calendar-day-digit-width.
15183 (calendar-generate-month, calendar-font-lock-keywords):
15184 Fix for calendar-day-header-width > length of any day name.
15186 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
15188 * desktop.el (desktop-clear): Use new name of sort predicate.
15190 * frameset.el (frameset): Add docstring. Move :version property to its
15191 own `version' slot.
15192 (frameset-copy): Rename from copy-frameset.
15193 (frameset-p): Check more thoroughly.
15194 (frameset-prop): Do not check for :version, which is no longer a prop.
15195 (frameset-live-filter-alist, frameset-persistent-filter-alist):
15196 Use new :never value instead of t.
15197 (frameset-filter-alist): Expand and clarify docstring.
15198 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
15199 (frameset-filter-minibuffer, frameset-filter-save-param)
15200 (frameset-filter-restore-param, frameset-filter-iconified):
15201 Add pointer to docstring of frameset-filter-alist.
15202 (frameset-filter-params): Rename filter values to be more meaningful:
15203 :never instead of t, and reverse the meanings of :save and :restore.
15204 (frameset--process-minibuffer-frames): Clarify error message.
15205 (frameset-save): Avoid unnecessary and confusing call to framep.
15206 Use new BOA constructor for framesets.
15207 (frameset--reuse-list): Doc fix.
15208 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
15209 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
15210 (frameset-minibufferless-first-p): Doc fix.
15211 Rename from frameset-sort-frames-for-deletion.
15212 (frameset-restore): Doc fixes. Use new function names.
15213 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
15215 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15217 * desktop.el (desktop-restore-forces-onscreen)
15218 (desktop-restore-reuses-frames): Document :keyword constant values.
15219 (desktop-filter-parameters-alist): Remove, now identical to
15220 frameset-filter-alist.
15221 (desktop--filter-tty*): Remove, moved to frameset.el.
15222 (desktop-save-frameset, desktop-restore-frameset):
15223 Do not pass :filters argument.
15225 * frameset.el (frameset-live-filter-alist)
15226 (frameset-persistent-filter-alist): New variables.
15227 (frameset-filter-alist): Use them. Add autoload cookie.
15228 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
15229 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
15230 `frameset--id' (it's supposed to be internal to frameset.el).
15231 (frameset--process-minibuffer-frames): Ditto. Doc fix.
15232 (frameset--initial-params): New function.
15233 (frameset--get-frame): Use it. Doc fix.
15234 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
15235 Accept :all, not 'all.
15236 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
15237 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
15238 with fbound symbols. Fix frame id matching, and remove matching ids if
15239 the frame being restored is deleted. Obey :delete.
15241 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15243 * subr.el (macrop): New function.
15244 (text-clone--maintaining): New var.
15245 (text-clone--maintain): Rename from text-clone-maintain. Use it
15246 instead of inhibit-modification-hooks.
15248 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
15249 a proxy, so as handle autoloads and redefinitions of the target.
15250 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
15252 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
15253 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
15254 (pcase--mutually-exclusive-p): New function.
15255 (pcase--split-consp): Use it.
15256 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
15257 mutually exclusive with the current predicate.
15259 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
15260 (edebug-macrop): Remove. Use `macrop' instead.
15261 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
15263 * eshell/esh-cmd.el (eshell-macrop):
15264 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
15266 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
15268 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
15269 (advice-mapc): New function, using it.
15270 (advice-function-member-p): New function.
15271 (advice--normalize): Store the cdr in advice--saved-rewrite since
15272 that's the part that will be changed.
15273 (advice--symbol-function): New function.
15274 (advice-remove): Handle removal before the function is defined.
15275 Adjust to new advice--saved-rewrite.
15276 (advice-member-p): Use advice-function-member-p and
15277 advice--symbol-function.
15279 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
15281 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
15282 (frameset-filter-minibuffer): Doc fix.
15283 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
15284 (frameset--set-id, frameset--process-minibuffer-frames)
15285 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
15286 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
15288 * desktop.el (desktop-clear): Only delete frames when called
15289 interactively and desktop-restore-frames is non-nil. Doc fix.
15290 (desktop-read): Set desktop-saved-frameset to nil.
15292 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
15294 * vc/vc.el (vc-ignore): Rewrite.
15295 (vc-default-ignore-completion-table, vc--read-lines)
15296 (vc--add-line, vc--remove-regexp): New functions.
15298 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
15299 (vc-svn-ignore-completion-table): New function.
15301 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
15302 (vc-hg-ignore-completion-table)
15303 (vc-hg-find-ignore-file): New functions.
15305 * vc/vc-git.el (vc-git-ignore): Rewrite.
15306 (vc-git-ignore-completion-table)
15307 (vc-git-find-ignore-file): New functions.
15309 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
15311 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
15312 (vc-bzr-ignore-completion-table)
15313 (vc-bzr-find-ignore-file): New functions.
15315 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
15317 * frameset.el (frameset-prop): New function and setter.
15318 (frameset-save): Do not modify frame list passed by the caller.
15320 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15322 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
15324 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
15326 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
15327 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
15329 * custom.el (custom-initialize-default, custom-initialize-set)
15330 (custom-initialize-reset, custom-initialize-changed): Affect the
15331 toplevel-default-value (bug#6275, bug#14586).
15332 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
15335 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15337 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
15338 Add cl-def* expressions.
15340 * frameset.el (frameset-filter-params): Fix order of arguments.
15342 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
15344 Move code related to saving frames to frameset.el.
15345 * desktop.el: Require frameset.
15346 (desktop-restore-frames): Doc fix.
15347 (desktop-restore-reuses-frames): Rename from
15348 desktop-restoring-reuses-frames.
15349 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
15350 (desktop-clear): Clear frames too.
15351 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
15352 (desktop--filter-tty*, desktop-save, desktop-read):
15353 Use frameset functions.
15354 (desktop-before-saving-frames-functions, desktop--filter-*-color)
15355 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15356 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
15357 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
15358 (desktop--process-minibuffer-frames, desktop-save-frames)
15359 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
15360 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
15361 (desktop--sort-states, desktop-restoring-frames-p)
15362 (desktop-restore-frames): Remove. Most code moved to frameset.el.
15363 (desktop-restoring-frameset-p, desktop-restore-frameset)
15364 (desktop--check-dont-save, desktop-save-frameset): New functions.
15365 (desktop--app-id): New constant.
15366 (desktop-first-buffer, desktop-buffer-ok-count)
15367 (desktop-buffer-fail-count): Move before first use.
15368 * frameset.el: New file.
15370 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15372 * files.el: Use lexical-binding.
15373 (dir-locals-read-from-file): Remove unused `err' variable.
15374 (hack-dir-local-variables--warned-coding): New var.
15375 (hack-dir-local-variables): Use it to avoid repeated warnings.
15376 (make-backup-file-name--default-function): New function.
15377 (make-backup-file-name-function): Use it as default.
15378 (buffer-stale--default-function): New function.
15379 (buffer-stale-function): Use it as default.
15380 (revert-buffer-insert-file-contents--default-function): New function.
15381 (revert-buffer-insert-file-contents-function): Use it as default.
15382 (insert-directory): Avoid add-to-list.
15384 * autorevert.el (auto-revert-handler): Simplify.
15385 Use buffer-stale--default-function.
15387 2013-08-01 Tassilo Horn <tsdh@gnu.org>
15389 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
15391 * whitespace.el (whitespace-ensure-local-variables): New function.
15392 (whitespace-cleanup-region): Call it.
15393 (whitespace-turn-on): Call it.
15395 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
15397 Complete file name handlers.
15399 * net/tramp.el (tramp-handle-set-visited-file-modtime)
15400 (tramp-handle-verify-visited-file-modtime)
15401 (tramp-handle-file-notify-rm-watch): New functions.
15402 (tramp-call-process): Do not bind `default-directory'.
15404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15405 Order alphabetically.
15406 <access-file, add-name-to-file, dired-call-process>:
15407 <dired-compress-file, file-acl, file-notify-rm-watch>:
15408 <file-ownership-preserved-p, file-selinux-context>:
15409 <make-directory-internal, make-symbolic-link, set-file-acl>:
15410 <set-file-selinux-context, set-visited-file-modtime>:
15411 <verify-visited-file-modtime>: Add handler.
15412 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
15414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
15415 <file-notify-add-watch, file-notify-rm-watch>:
15416 <set-file-times, set-visited-file-modtime>:
15417 <verify-visited-file-modtime>: Add handler.
15418 (with-tramp-gvfs-error-message)
15419 (tramp-gvfs-handle-set-visited-file-modtime)
15420 (tramp-gvfs-fuse-file-name): Remove.
15421 (tramp-gvfs-handle-file-notify-add-watch)
15422 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
15423 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
15425 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15426 Order alphabetically.
15427 <file-notify-rm-watch>: Use default Tramp handler.
15428 <executable-find>: Remove private handler.
15429 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
15430 `default-directory'.
15431 (tramp-sh-handle-executable-find)
15432 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
15433 (tramp-sh-file-gvfs-monitor-dir-process-filter)
15434 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
15435 Do not use `format' in `tramp-message'.
15437 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
15438 <file-notify-rm-watch, set-visited-file-modtime>:
15439 <verify-visited-file-modtime>: Add handler.
15440 (tramp-smb-call-winexe): Do not bind `default-directory'.
15442 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
15444 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
15446 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
15448 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
15450 (log-view-diff-changeset): Same.
15451 (log-view-diff-common): Call backend command `previous-revision'
15452 to find out the previous revision, in both cases. Swap the
15453 variables `to' and `fr', so that `fr' usually refers to the
15454 earlier revision (Bug#14989).
15456 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
15458 * ibuf-ext.el (ibuffer-filter-by-filename):
15459 Make it work with dired buffers too.
15461 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
15463 * emacs-lisp/re-builder.el (reb-color-display-p):
15464 * files.el (save-buffers-kill-terminal):
15465 * net/browse-url.el (browse-url):
15466 * server.el (server-save-buffers-kill-terminal):
15467 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
15468 Prefer nil to selected-frame for the first arg of frame-parameter.
15470 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
15472 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
15474 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
15476 * minibuffer.el (completion--twq-all): Try and preserve each
15477 completion's case choice (bug#14907).
15479 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15481 * net/network-stream.el (open-network-stream): Mention the new
15482 :nogreeting parameter.
15483 (network-stream-open-starttls): Use the :nogreeting parameter
15486 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
15488 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
15489 more natural than popping.
15491 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
15492 (shr-urlify): Highlight under mouse.
15494 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15496 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
15498 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
15500 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
15503 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
15504 point-min==1. Fix search string. Fix parentheses missing.
15506 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
15507 assume point-min==1. Fix search string. Fix parentheses missing.
15509 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
15511 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
15514 2013-07-29 Eli Zaretskii <eliz@gnu.org>
15516 * frame.el (frame-notice-user-settings): Avoid inflooping when the
15517 initial frame is minibuffer-less. (Bug#14841)
15519 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
15521 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
15524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15525 (tramp-maybe-open-connection): Use it.
15527 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15529 * desktop.el (desktop--make-frame): Include `minibuffer' in the
15530 minimal set of parameters passed when creating a frame, because
15531 the minibuffer status of a frame cannot be changed later.
15533 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
15535 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
15536 replace-regexp-in-string and inadvertent omissions in previous change.
15537 (todo-filter-items): Ensure only file names are comma-separated in
15538 name of filtered items buffer.
15540 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
15542 * desktop.el: Optionally force offscreen frames back onscreen.
15543 (desktop-restoring-reuses-frames): New option.
15544 (desktop--compute-pos, desktop--move-onscreen): New functions.
15545 (desktop--make-frame): Use desktop--move-onscreen.
15547 2013-07-27 Alan Mackenzie <acm@muc.de>
15549 Fontify a Java generic method as a function.
15550 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
15553 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
15555 * calendar/todo-mode.el: Add command to rename todo files.
15556 (todo-rename-file): New command.
15557 (todo-key-bindings-t): Add key binding for it. Change the
15558 bindings of todo-filter-regexp-items(-multifile) to use `x'
15559 instead of `r', since the latter is better suited to the new
15562 2013-07-27 Alan Mackenzie <acm@muc.de>
15564 Make Java try-with-resources statement parse properly.
15565 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
15566 (c-block-stmt-1-2-key): New language constants/variables.
15567 * progmodes/cc-engine.el (c-beginning-of-statement-1)
15568 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
15569 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
15570 with c-block-stmt-1-2-key.
15572 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
15574 * desktop.el (desktop--make-frame): Apply most frame parameters after
15575 creating the frame to force (partially or totally) offscreen frames to
15576 be restored as such.
15578 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
15580 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
15583 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15585 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
15586 `base' arg of backtrace-frame.
15588 2013-07-26 Eli Zaretskii <eliz@gnu.org>
15590 * simple.el (list-processes): Doc fix.
15592 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15594 * desktop.el (desktop--select-frame):
15595 Try harder to reuse existing frames.
15597 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
15600 (edebug-eval): Use backtrace-eval.
15601 (edebug--display, edebug--recursive-edit): Don't let-bind the
15602 edebug-outer-* vars that keep track of variables we locally let-bind.
15603 (edebug-outside-excursion): Don't restore outside values of locally
15605 (edebug--display): Use user-error.
15606 (cl-lexical-debug, cl-debug-env): Remove.
15608 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
15610 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
15611 are restored to be sure that they are visible before deleting any
15614 2013-07-26 Matthias Meulien <orontee@gmail.com>
15616 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
15617 vc-print-root-log. (Bug#14948)
15619 2013-07-26 Richard Stallman <rms@gnu.org>
15621 Add aliases for encrypting mail.
15622 * epa.el (epa-mail-aliases): New option.
15623 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
15624 Bind inhibit-read-only so read-only text doesn't ruin everything.
15625 (epa-mail-default-recipients): New subroutine broken out.
15626 Handle epa-mail-aliases.
15628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
15630 Add support for lexical variables to the debugger's `e' command.
15631 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
15632 vars, except for debugger-outer-match-data.
15633 (debugger-frame-number): Move check for "on a function call" from
15634 callers into it. Add `skip-base' argument.
15635 (debugger-frame, debugger-frame-clear): Simplify accordingly.
15636 (debugger-env-macro): Only reset the state stored in non-variables,
15637 i.e. current-buffer and match-data.
15638 (debugger-eval-expression): Rewrite using backtrace-eval.
15639 * subr.el (internal--called-interactively-p--get-frame): Remove.
15640 (called-interactively-p):
15641 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
15642 `base' arg of backtrace-frame instead.
15644 2013-07-26 Glenn Morris <rgm@gnu.org>
15646 * align.el (align-regexp): Doc fix. (Bug#14857)
15647 (align-region): Explicit error if subexpression missing/does not match.
15649 * simple.el (global-visual-line-mode):
15650 Do not duplicate the mode lighter. (Bug#14858)
15652 2013-07-25 Martin Rudalics <rudalics@gmx.at>
15654 * window.el (display-buffer): In display-buffer bind
15655 split-window-keep-point to t, bug#14829.
15657 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15659 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
15660 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
15661 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
15662 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15663 Change accordingly.
15664 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
15665 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
15667 2013-07-25 Glenn Morris <rgm@gnu.org>
15669 * dired-x.el (dired-mark-extension): Convert comment to doc string.
15671 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
15673 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
15674 parameter to modify-frame-parameters if the value has not changed;
15675 this is a workaround for bug#14949.
15676 (desktop--make-frame): On cl-delete-if call, check parameter name,
15677 not full parameter.
15679 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
15681 * vc/vc.el (vc-ignore): New function.
15683 * vc/vc-svn.el (vc-svn-ignore): New function.
15685 * vc/vc-hg.el (vc-hg-ignore): New function.
15687 * vc/vc-git.el (vc-git-ignore): New function.
15689 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
15690 (vc-dir-ignore): New function.
15692 * vc/vc-cvs.el (vc-cvs-ignore): New function.
15693 (cvs-append-to-ignore): Move here from pcvs.el.
15695 * vc/vc-bzr.el (vc-bzr-ignore): New function.
15697 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
15699 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
15701 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
15702 (desktop-restore-frames): Warn when deleting an existing frame failed.
15704 2013-07-24 Glenn Morris <rgm@gnu.org>
15706 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
15708 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
15710 * filenotify.el (file-notify-supported-p):
15711 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
15714 * autorevert.el (auto-revert-use-notify)
15715 (auto-revert-notify-add-watch):
15716 * net/tramp.el (tramp-file-name-for-operation):
15717 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
15720 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
15721 Remove `file-notify-supported-p' entry.
15723 2013-07-24 Glenn Morris <rgm@gnu.org>
15725 * printing.el: Replace all uses of deleted ps-windows-system,
15726 ps-lp-system, ps-flatten-list with lpr- versions.
15728 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
15730 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
15731 checked with memq (bug#14935).
15733 * files.el (revert-buffer-function): Use a non-nil default.
15734 (revert-buffer-preserve-modes): Declare var to
15735 provide access to the `preserve-modes' argument.
15736 (revert-buffer): Let-bind it.
15737 (revert-buffer--default): New function, extracted from revert-buffer.
15739 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * lpr.el: Signal print errors more prominently.
15742 (print-region-function): Don't default to nil.
15743 (lpr-print-region): New function, extracted from print-region-1.
15744 Check lpr's return value and signal an error in case of problem.
15745 (print-region-1): Use it.
15746 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
15748 (ps-printer-name): Default to nil.
15749 (ps-printer-name-option): Default to lpr-printer-switch.
15750 (ps-print-region-function): Don't default to nil.
15751 (ps-postscript-code-directory): Simplify default.
15752 (ps-do-despool): Use lpr-print-region to properly check the outcome.
15753 (ps-string-list, ps-eval-switch, ps-flatten-list)
15754 (ps-flatten-list-1): Remove.
15755 (ps-multibyte-buffer): Avoid setq.
15756 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
15757 (print-region-function, ps-print-region-function): Don't set them here.
15759 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
15761 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
15762 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
15763 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
15764 (ido-decorations): Doc fix.
15766 * ansi-color.el: Fix old URL.
15768 2013-07-23 Michael R. Mauger <michael@mauger.com>
15770 * progmodes/sql.el: Version 3.3
15771 (sql-product-alist): Improve oracle :prompt-cont-regexp.
15772 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
15773 (sql-interactive-remove-continuation-prompt): Rewrite, use
15774 functions above. Fix continuation prompt and complete output line
15776 (sql-redirect-one, sql-execute): Use `read-only-mode' on
15777 redirected output buffer.
15778 (sql-mode): Restore deleted code (Bug#13591).
15780 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
15782 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
15784 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
15786 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
15788 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15789 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15790 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
15792 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
15794 * desktop.el (desktop-clear): Simplify; remove useless checks
15795 against invalid buffer names.
15796 (desktop-list*): Use cl-list*.
15797 (desktop-buffer-info, desktop-create-buffer): Simplify.
15799 2013-07-23 Leo Liu <sdl.web@gmail.com>
15801 * bookmark.el (bookmark-make-record): Restore NAME as a default
15804 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
15806 * emacs-lisp/autoload.el (autoload--setup-output): New function,
15807 extracted from autoload--insert-text.
15808 (autoload--insert-text): Remove.
15809 (autoload--print-cookie-text): New function, extracted from
15810 autoload--insert-cookie-text.
15811 (autoload--insert-cookie-text): Remove.
15812 (autoload-generate-file-autoloads): Adjust calls accordingly.
15814 * winner.el (winner-hook-installed-p): Remove.
15815 (winner-mode): Simplify accordingly.
15817 * subr.el (add-to-list): Fix compiler-macro when `append' is
15818 not constant. Don't use `cl-member' for the base case.
15820 * progmodes/subword.el: Fix boundary case (bug#13758).
15821 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
15823 (subword-backward-regexp): Make it a constant.
15824 (subword-forward-internal): Don't treat a trailing capital as the
15825 beginning of a word.
15827 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
15829 * emacs-lisp/package.el (package-menu-mode): Don't modify the
15830 global value of tabulated-list-revert-hook (bug#14930).
15832 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
15834 * desktop.el: Require 'cl-lib.
15835 (desktop-before-saving-frames-functions): New hook.
15836 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
15837 for frames being saved. Rename from desktop--save-minibuffer-frames.
15838 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
15839 Do not save frames with non-nil `desktop-dont-save' parameter.
15840 Filter out deleted frames.
15841 (desktop--find-frame): Use cl-find-if.
15842 (desktop--select-frame): Use cl-(first|second|third) to access values
15844 (desktop--make-frame): Use cl-delete-if.
15845 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
15846 (desktop-restore-frames): Use cl-(first|second|third) to access values
15847 of desktop-mini. Look for visible frame at the end, not while
15850 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
15851 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
15852 Use string-match-p, looking-at-p (bug#14927).
15854 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
15856 * desktop.el (desktop-saved-frame-states):
15857 Rename from desktop--saved-states; all users changed.
15858 (desktop-save-frames): Rename from desktop--save-frames.
15859 Do not save state to desktop file.
15860 (desktop-save): Save desktop-saved-frame-states to desktop file
15862 (desktop-restoring-frames-p): New function.
15863 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
15864 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
15865 buffer-lists when restoring frames. Suggested by Martin Rudalics.
15867 * desktop.el: Correctly restore iconified frames.
15868 (desktop--filter-iconified-position): New function.
15869 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
15871 2013-07-20 Glenn Morris <rgm@gnu.org>
15873 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
15874 Let `message' do the formatting.
15875 (def-gdb-preempt-display-buffer): Add explicit format.
15877 * image-dired.el (image-dired-track-original-file):
15878 Use with-current-buffer.
15879 (image-dired-track-thumbnail): Use with-current-buffer.
15880 Avoid changing point of wrong window.
15882 * image-dired.el (image-dired-track-original-file):
15883 Avoid changing point of wrong window. (Bug#14909)
15885 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
15887 * progmodes/gdb-mi.el (gdb-done-or-error):
15888 Guard against "%" in gdb output. (Bug#14127)
15890 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
15892 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
15895 * international/mule.el (coding-system-iso-2022-flags): Fix last
15898 2013-07-20 Kenichi Handa <handa@gnu.org>
15900 * international/mule.el (coding-system-iso-2022-flags):
15901 Add `8-bit-level-4'. (Bug#8522)
15903 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15905 * net/shr.el (shr-mouse-browse-url): New command and keystroke
15908 * net/eww.el (eww-process-text-input): Allow inputting when the
15909 point is at the start of the line, as the properties aren't
15912 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
15915 2013-07-19 Richard Stallman <rms@gnu.org>
15917 * epa.el (epa-popup-info-window): Doc fix.
15919 * subr.el (split-string): New arg TRIM.
15921 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
15923 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
15924 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
15926 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
15928 * filenotify.el (file-notify--library): Rename from
15929 `file-notify-support'. Do not autoload. Adapt all uses.
15930 (file-notify-supported-p): New defun.
15932 * autorevert.el (auto-revert-use-notify):
15933 Use `file-notify-supported-p' instead of `file-notify-support'.
15935 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
15937 * net/tramp.el (tramp-file-name-for-operation):
15938 Add `file-notify-supported-p'.
15940 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
15942 (tramp-sh-file-name-handler-alist): Add it as handler for
15943 `file-notify-supported-p '.
15945 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
15946 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
15947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
15948 Add `ignore' as handler for `file-notify-*' functions.
15950 2013-07-17 Eli Zaretskii <eliz@gnu.org>
15952 * simple.el (line-move-partial, line-move): Don't start vscroll or
15953 scroll-up if the current line is not taller than the window.
15956 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
15958 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
15959 highlight question marks in the method names as strings.
15960 (ruby-block-beg-keywords): Inline.
15961 (ruby-font-lock-keyword-beg-re): Extract from
15962 `ruby-font-lock-keywords'.
15964 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
15966 * frame.el (blink-cursor-blinks): New defcustom.
15967 (blink-cursor-blinks-done): New defvar.
15968 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
15969 (blink-cursor-timer-function): Check if number of blinks has been
15971 (blink-cursor-suspend, blink-cursor-check): New defuns.
15973 2013-07-15 Glenn Morris <rgm@gnu.org>
15975 * edmacro.el (edmacro-format-keys): Fix previous change.
15977 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
15979 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
15980 The hack didn't work outside English locales anyway.
15982 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
15984 * simple.el (define-alternatives): Rename from alternatives-define,
15985 per RMS' suggestion.
15987 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
15989 * desktop.el (desktop-restore-frames): Change default to t.
15990 (desktop-restore-in-current-display): Now offer more options.
15991 (desktop-restoring-reuses-frames): New customization option.
15992 (desktop--saved-states): Doc fix.
15993 (desktop-filter-parameters-alist): New variable, renamed and expanded
15994 from desktop--excluded-frame-parameters.
15995 (desktop--target-display): New variable.
15996 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
15997 (desktop--filter-tty*, desktop--filter-*-color)
15998 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
15999 (desktop--filter-save-desktop-parm)
16000 (desktop-restore-in-original-display-p): New functions.
16001 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
16002 (desktop--save-minibuffer-frames): New function, inspired by a similar
16003 function from Martin Rudalics.
16004 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
16005 (desktop--restore-in-this-display-p): Remove.
16006 (desktop--find-frame): Rename from desktop--find-frame-in-display
16007 and add predicate argument.
16008 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
16009 (desktop--reuse-list): New variable.
16010 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
16012 (desktop--restore-frames): Add support for "minibuffer-special" frames.
16014 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
16016 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
16018 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
16020 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16021 Highlight conversion methods on Kernel.
16023 2013-07-13 Alan Mackenzie <acm@muc.de>
16025 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
16026 and comment it out. This out-commenting enables certain C++
16027 declarations to be parsed correctly.
16029 2013-07-13 Eli Zaretskii <eliz@gnu.org>
16031 * international/mule.el (define-coding-system): Doc fix.
16033 * simple.el (default-font-height): Don't call font-info if the
16034 frame's default font didn't change since the frame was created.
16037 2013-07-13 Leo Liu <sdl.web@gmail.com>
16039 * ido.el (ido-read-file-name): Guard against non-symbol value.
16041 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
16043 * progmodes/python.el (python-imenu--build-tree): Fix corner case
16046 2013-07-13 Leo Liu <sdl.web@gmail.com>
16048 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
16049 ido-set-matches call. (Bug#6852)
16051 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
16053 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
16054 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
16056 (ruby-font-lock-keywords): Distinguish calls to functions with
16057 module-like names from module references. Highlight character
16060 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
16062 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
16063 (gdb-send): Handle continued commands. (Bug#14847)
16065 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16067 * desktop.el (desktop--v2s): Remove unused local variable.
16068 (desktop-save-buffer): Make defvar-local; adjust docstring.
16069 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
16070 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
16072 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
16074 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
16076 2013-07-12 Eli Zaretskii <eliz@gnu.org>
16078 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
16081 2013-07-12 Glenn Morris <rgm@gnu.org>
16083 * doc-view.el: Require cl-lib at runtime too.
16084 (doc-view-remove-if): Remove.
16085 (doc-view-search-next-match, doc-view-search-previous-match):
16088 * edmacro.el: Require cl-lib at runtime too.
16089 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
16090 (edmacro-mismatch, edmacro-subseq): Remove.
16092 * shadowfile.el: Require cl-lib.
16093 (shadow-remove-if): Remove.
16094 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
16097 * wid-edit.el: Require cl-lib.
16098 (widget-choose): Use cl-remove-if.
16099 (widget-remove-if): Remove.
16101 * progmodes/ebrowse.el: Require cl-lib at runtime too.
16102 (ebrowse-delete-if-not): Remove.
16103 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
16104 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
16105 Use cl-delete-if-not.
16107 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
16109 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
16110 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
16112 2013-07-12 Leo Liu <sdl.web@gmail.com>
16114 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
16116 2013-07-11 Glenn Morris <rgm@gnu.org>
16118 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
16119 (edebug-gensym-index, edebug-gensym):
16120 Remove reimplementation of cl-gensym.
16121 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
16123 * thumbs.el: Require cl-lib at run-time too.
16124 (thumbs-gensym-counter, thumbs-gensym):
16125 Remove reimplementation of cl-gensym.
16126 (thumbs-temp-file): Use cl-gensym.
16128 * emacs-lisp/ert.el: Require cl-lib at runtime too.
16129 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
16130 (ert--intersection, ert--set-difference, ert--set-difference-eq)
16131 (ert--union, ert--gensym-counter, ert--gensym-counter)
16132 (ert--coerce-to-vector, ert--remove*, ert--string-position)
16133 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
16134 (ert-make-test-unbound, ert--expand-should-1)
16135 (ert--expand-should, ert--should-error-handle-error)
16136 (should-error, ert--explain-equal-rec)
16137 (ert--plist-difference-explanation, ert-select-tests)
16138 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
16139 Use cl-lib functions rather than reimplementations.
16141 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
16143 * net/tramp.el (tramp-methods): Extend docstring.
16144 (tramp-connection-timeout): New defcustom.
16145 (tramp-error-with-buffer): Reset timestamp only when appropriate.
16146 (with-tramp-progress-reporter): Simplify.
16147 (tramp-process-actions): Improve messages.
16149 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
16150 * net/tramp-sh.el (tramp-maybe-open-connection):
16151 Use `tramp-connection-timeout'.
16152 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
16155 2013-07-11 Leo Liu <sdl.web@gmail.com>
16157 * ido.el (ido-read-file-name): Conform to the requirements of
16158 read-file-name. (Bug#11861)
16159 (ido-read-directory-name): Conform to the requirements of
16160 read-directory-name.
16162 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
16164 * subr.el (delay-warning): New function.
16166 2013-07-10 Eli Zaretskii <eliz@gnu.org>
16168 * simple.el (default-line-height): New function.
16169 (line-move-partial, line-move): Use it instead of computing the
16170 line height inline.
16171 (line-move-partial): Always compute ROWH. If the last line is
16172 partially-visible, but its text is completely visible, allow
16173 cursor to enter such a partially-visible line.
16175 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
16177 Improve error messages. (Bug#14808)
16179 * net/tramp.el (tramp-current-connection): New defvar, moved from
16181 (tramp-message-show-progress-reporter-message): Remove, not
16183 (tramp-error-with-buffer): Show message in minibuffer.
16184 Discard input before waiting. Reset connection timestamp.
16185 (with-tramp-progress-reporter): Improve messages.
16186 (tramp-process-actions): Use progress reporter. Delete process in
16187 case of error. Improve messages.
16189 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
16190 Call `tramp-error-with-buffer' with vector and buffer.
16191 (tramp-current-connection): Remove.
16192 (tramp-maybe-open-connection): The car of
16193 `tramp-current-connection' are the first 3 slots of the vector.
16195 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
16197 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
16198 inside continued strings.
16200 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
16202 Timestamp fixes for undo (Bug#14824).
16203 * files.el (clear-visited-file-modtime): Move here from fileio.c.
16205 2013-07-10 Leo Liu <sdl.web@gmail.com>
16207 * files.el (require-final-newline): Allow safe local value.
16210 2013-07-09 Leo Liu <sdl.web@gmail.com>
16212 * ido.el (ido-read-directory-name): Handle fallback.
16213 (ido-read-file-name): Update DIR to ido-current-directory.
16215 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
16217 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
16219 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
16220 "autoload". Remove "warn lower camel case" section, previously
16221 commented out. Highlight negation char. Do not highlight the
16222 target in singleton method definitions.
16224 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16226 * faces.el (tty-setup-hook): Declare the hook.
16228 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
16229 and detect when a guard/pred depends on local vars (bug#14773).
16230 (pcase--u1): Adjust caller.
16232 2013-07-08 Eli Zaretskii <eliz@gnu.org>
16234 * simple.el (line-move-partial, line-move): Account for
16236 (line-move-partial): Avoid setting vscroll when the last
16237 partially-visible line in window is of default height.
16239 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16241 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
16244 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
16246 * subr.el (read-quoted-char): Remove unused local variable `char'.
16248 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
16250 * vc/ediff.el (ediff-version): Version update.
16251 (ediff-files-command, ediff3-files-command, ediff-merge-command)
16252 (ediff-merge-with-ancestor-command, ediff-directories-command)
16253 (ediff-directories3-command, ediff-merge-directories-command)
16254 (ediff-merge-directories-with-ancestor-command): New functions.
16255 All are command-line interfaces to ediff: to facilitate calling
16256 Emacs with the appropriate ediff functions invoked.
16258 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
16260 (viper-save-kill-buffer): Check if buffer is modified.
16262 * emulation/viper.el (viper-version): Version update.
16263 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
16265 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
16267 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
16268 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
16269 (viper-intercept-ESC-key): Simplify.
16270 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
16272 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
16273 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
16274 (viper-setup-ESC-to-escape): New functions.
16275 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
16276 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
16278 2013-07-07 Eli Zaretskii <eliz@gnu.org>
16280 * simple.el (default-font-height, window-screen-lines):
16282 (line-move, line-move-partial): Use them instead of
16283 frame-char-height and window-text-height. This makes scrolling
16284 text smoother when the buffer's default face uses a font that is
16285 different from the frame's default font.
16287 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
16289 * files.el (write-file): Do not display confirm dialog for NS,
16290 it does its own dialog, which can't be canceled (Bug#14578).
16292 2013-07-06 Eli Zaretskii <eliz@gnu.org>
16294 * simple.el (line-move-partial): Adjust the row returned by
16295 posn-at-point for the current window-vscroll. (Bug#14567)
16297 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
16299 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
16300 (tramp-sh-file-inotifywait-process-filter): Handle file names with
16303 2013-07-06 Martin Rudalics <rudalics@gmx.at>
16305 * window.el (window-state-put-stale-windows): New variable.
16306 (window--state-put-2): Save list of windows without matching buffer.
16307 (window-state-put): Remove "bufferless" windows if possible.
16309 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16311 * simple.el (alternatives-define): Remove leftover :group keyword.
16314 2013-07-06 Leo Liu <sdl.web@gmail.com>
16316 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
16317 (ido-enable-virtual-buffers): New variable.
16318 (ido-buffer-internal, ido-toggle-virtual-buffers)
16319 (ido-make-buffer-list): Use it.
16320 (ido-exhibit): Support turning on and off virtual buffers
16323 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
16325 * simple.el (alternatives-define): New macro.
16327 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
16329 * subr.el (read-quoted-char): Use read-key.
16330 (sit-for): Let read-event decode tty input (bug#14782).
16332 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
16334 * calendar/todo-mode.el: Add handling of file deletion, both by
16335 mode command and externally. Fix various related bugs.
16336 Clarify Commentary and improve some documentation strings and code.
16337 (todo-delete-file): New command.
16338 (todo-check-file): New function.
16339 (todo-show): Handle external deletion of the file we're trying to
16340 show (bug#14688). Replace called-interactively-p by an optional
16341 prefix argument to avoid problematic interaction with catch form
16342 when byte compiled (bug#14702).
16343 (todo-quit): Handle external deletion of the archive's todo file.
16344 Make sure the buffer that was visiting the archive file is still
16345 live before trying to bury it.
16346 (todo-category-completions): Handle external deletion of any
16347 category completion files.
16348 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
16349 of todo files, in case of external deletion.
16350 (todo-add-file): Replace unnecessary setq by let-binding.
16351 (todo-find-archive): Check whether there are any archives.
16352 Replace unnecessary setq by let-binding.
16353 (todo-archive-done-item): Use find-file-noselect to get the
16354 archive buffer whether or not the archive already exists.
16355 Remove superfluous code. Use file size instead of buffer-file-name to
16356 check if the archive is new; if it is, update list of archives.
16357 (todo-default-todo-file): Allow nil to be a valid value for when
16358 there are no todo files.
16359 (todo-reevaluate-default-file-defcustom): Use corrected definition
16360 of todo-default-todo-file.
16361 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
16362 (todo-delete-category, todo-show-categories-table)
16363 (todo-category-number): Clarify comment.
16364 (todo-filter-items): Clarify documentation string.
16365 (todo-show-current-file, todo-display-as-todo-file)
16366 (todo-reset-and-enable-done-separator): Tweak documentation string.
16367 (todo-done-separator): Make separator length window-width, since
16368 bug#2749 is now fixed.
16370 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
16372 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
16373 Support both "gvfs-monitor-dir" and "inotifywait".
16374 (tramp-sh-file-inotifywait-process-filter): Rename from
16375 `tramp-sh-file-notify-process-filter'.
16376 (tramp-sh-file-gvfs-monitor-dir-process-filter)
16377 (tramp-get-remote-gvfs-monitor-dir): New defuns.
16379 2013-07-05 Leo Liu <sdl.web@gmail.com>
16381 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
16383 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16385 * frame.el (display-pixel-height, display-pixel-width)
16386 (display-mm-height, display-mm-width): Mention behavior on
16387 multi-monitor setups in docstrings.
16388 (w32-display-monitor-attributes-list): Declare function.
16389 (display-monitor-attributes-list): Use it.
16391 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
16393 * filenotify.el: New package.
16395 * autorevert.el (top): Require filenotify.el.
16396 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
16398 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16399 (auto-revert-notify-handler): Use `file-notify-*' functions.
16401 * subr.el (file-notify-handle-event): Move function to filenotify.el.
16403 * net/tramp.el (tramp-file-name-for-operation):
16404 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
16406 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
16407 for `file-notify-add-watch' and `file-notify-rm-watch'.
16408 (tramp-process-sentinel): Improve trace.
16409 (tramp-sh-handle-file-notify-add-watch)
16410 (tramp-sh-file-notify-process-filter)
16411 (tramp-sh-handle-file-notify-rm-watch)
16412 (tramp-get-remote-inotifywait): New defuns.
16414 2013-07-03 Juri Linkov <juri@jurta.org>
16416 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
16417 call of `occur-read-primary-args' to interactive spec.
16419 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
16420 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
16422 2013-07-03 Matthias Meulien <orontee@gmail.com>
16424 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
16425 `Buffer-menu-multi-occur'. Add it to the menu.
16426 (Buffer-menu-mode): Document it in docstring.
16427 (Buffer-menu-multi-occur): New command. (Bug#14673)
16429 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16431 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
16432 keywords and built-ins.
16434 2013-07-03 Glenn Morris <rgm@gnu.org>
16436 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
16438 Make info-xref checks case-sensitive by default
16439 * info.el (Info-find-node, Info-find-in-tag-table)
16440 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
16441 Add option for exact case matching of nodes.
16442 * info-xref.el (info-xref): New custom group.
16443 (info-xref-case-fold): New option.
16444 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
16446 2013-07-03 Leo Liu <sdl.web@gmail.com>
16448 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
16450 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
16452 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
16453 middle of block statement initially, lower the depth. Remove
16454 FIXME comment, not longer valid. Remove middle of block statement
16455 detection, no need to do that anymore since we've been using
16456 `ruby-parse-region' here.
16458 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
16460 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
16462 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
16464 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
16466 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
16468 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
16469 (desktop-restore-in-current-display): New customization option.
16470 (desktop--excluded-frame-parameters): Add `font'.
16471 (desktop--save-frames): Rename from desktop--save-windows.
16472 (desktop--restore-in-this-display-p): New function.
16473 (desktop--make-full-frame): Remove unwanted width/height from
16474 full(width|height) frames.
16475 (desktop--restore-frames): Rename from desktop--restore-windows.
16476 Obey desktop-restore-current-display. Do not delete old frames or
16477 select a new frame unless we were able to restore at least one frame.
16479 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
16481 * files.el (find-file-noselect): Simplify conditional expression.
16483 * textmodes/remember.el (remember-append-to-file):
16484 Don't mix `find-buffer-visiting' and `get-file-buffer'.
16486 Add `remember-notes' function to store random notes across Emacs
16488 * textmodes/remember.el (remember-data-file): Add :set callback to
16489 affect notes buffer (if any).
16490 (remember-notes): New command.
16491 (remember-notes-buffer-name, bury-remember-notes-on-kill):
16492 New defcustoms for the `remember-notes' function.
16493 (remember-notes-save-and-bury-buffer): New command.
16494 (remember-notes-mode-map): New variable.
16495 (remember-mode): New minor mode.
16496 (remember-notes--kill-buffer-query): New function.
16497 * startup.el (initial-buffer-choice): Add notes to custom type.
16499 2013-06-30 Eli Zaretskii <eliz@gnu.org>
16501 * bindings.el (right-char, left-char): Don't call sit-for, this is
16502 no longer needed. Use arithmetic comparison only for numerical
16505 * international/mule-cmds.el (select-safe-coding-system):
16506 Handle the case of FROM being a string correctly. (Bug#14755)
16508 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16510 * net/shr.el (shr-make-table-1): Add a sanity check that allows
16511 progression on degenerate tables.
16512 (shr-rescale-image): ImageMagick animated images currently don't work.
16514 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
16516 Some fixes and improvements for desktop frame restoration.
16517 It is still experimental and disabled by default.
16518 * desktop.el (desktop--save-windows): Put the selected frame at
16519 the head of the list.
16520 (desktop--make-full-frame): New function.
16521 (desktop--restore-windows): Try to re-select the frame that was
16522 selected upon saving. Do not abort if some frames fail to restore,
16523 just show an error message and continue. Set up maximized frames
16524 so they have default non-maximized dimensions.
16526 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
16528 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
16529 Don't start heredoc inside a string or comment.
16531 2013-06-29 Eli Zaretskii <eliz@gnu.org>
16533 * bindings.el (visual-order-cursor-movement): New defcustom.
16534 (right-char, left-char): Provide visual-order cursor motion by
16535 calling move-point-visually. Update the doc strings.
16537 2013-06-28 Kenichi Handa <handa@gnu.org>
16539 * international/mule.el (define-coding-system): New coding system
16540 properties :inhibit-null-byte-detection,
16541 :inhibit-iso-escape-detection, and :prefer-utf-8.
16542 (set-buffer-file-coding-system): If :charset-list property of
16543 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
16544 appropriate for setting.
16546 * international/mule-cmds.el (select-safe-coding-system):
16547 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
16548 multibyte characters, return utf-8 (or one of its siblings).
16550 * international/mule-conf.el (prefer-utf-8): New coding system.
16551 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
16554 2013-06-28 Ivan Kanis <ivan@kanis.fr>
16556 * net/shr.el (shr-render-region): New function.
16558 * net/eww.el: Autoload `eww-browse-url'.
16560 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
16562 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16563 Adapt to `package-desc-version' being a list.
16564 Use `package--ac-desc-version' to retrieve version from a package
16567 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
16569 New experimental feature to save&restore window and frame setup.
16570 * desktop.el (desktop-save-windows): New defcustom.
16571 (desktop--saved-states): New var.
16572 (desktop--excluded-frame-parameters): New defconst.
16573 (desktop--filter-frame-parms, desktop--find-frame-in-display)
16574 (desktop--restore-windows, desktop--save-windows): New functions.
16575 (desktop-save): Call `desktop--save-windows'.
16576 (desktop-read): Call `desktop--restore-windows'.
16578 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16580 * net/shr.el (add-face-text-property): Remove compat definition.
16582 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16584 * info.el (Info-try-follow-nearest-node): Move search for footnote
16585 above search for node name to prevent missing a footnote (bug#14717).
16587 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
16589 * obsolete/otodo-mode.el: Add obsolescence info to file header.
16591 2013-06-27 Leo Liu <sdl.web@gmail.com>
16593 * net/eww.el (eww-read-bookmarks): Check file size.
16595 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16597 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
16598 advice--pending if newdef is nil or an autoload (bug#13820).
16599 (advice-mapc): New function.
16601 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16603 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
16605 (eww-mode-map): Add a menu bar.
16606 (eww-add-bookmark): New command.
16607 (eww-bookmark-mode): New mode and commands.
16608 (eww-add-bookmark): Remove newlines from the title.
16609 (eww-bookmark-browse): Don't bug out if it's the only window.
16611 2013-06-26 Glenn Morris <rgm@gnu.org>
16613 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
16614 (hfy-size): Handle ttys. (Bug#14668)
16616 * info-xref.el: Update for Texinfo 5 change in *note format.
16617 (info-xref-node-re, info-xref-note-re): New constants.
16618 (info-xref-check-buffer): Use info-xref-note-re.
16620 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
16622 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
16624 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
16625 nil terminate the loop (bug#14718).
16627 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16629 * net/eww.el: Rework history traversal. When going forward/back,
16630 put these actions into the history, too, so that they can be
16632 (eww-render): Move the history reset to the correct buffer.
16634 2013-06-25 Juri Linkov <juri@jurta.org>
16636 * files-x.el (modify-dir-local-variable): Change the header comment
16637 in the file with directory local variables. (Bug#14692)
16639 * files-x.el (read-file-local-variable-value): Add `default'.
16642 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16644 * net/eww.el (eww-make-unique-file-name): Create a unique file
16645 name before saving to entering `y' accidentally asynchronously.
16647 2013-06-25 Ivan Kanis <ivan@kanis.fr>
16649 * net/eww.el (eww-download): New command and keystroke.
16651 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16653 * net/eww.el (eww-copy-page-url): Change name of command.
16655 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
16656 be more consistent with Info and dired.
16658 * net/eww.el (eww-mode-map): Ditto.
16660 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16662 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
16663 packages from archives.
16664 (package-archive-contents): Change format; include obsolete packages.
16665 (package-desc): Use `dir' to mark builtin packages.
16666 (package--from-builtin): Set the `dir' field to `builtin'.
16667 (generated-autoload-file, version-control): Declare.
16668 (package-compute-transaction): Change first arg and return value to be
16669 lists of package-descs. Adjust to new package-archive-contents format.
16670 (package--add-to-archive-contents): Adjust to new
16671 package-archive-contents format.
16672 (package-download-transaction): Arg is now a list of package-descs.
16673 (package-install): If `pkg' is a package name, pass it as
16674 a requirement, so it is subject to the usual (e.g. disabled) checks.
16675 (describe-package): Accept package-desc as well.
16676 (describe-package-1): Describe a specific package-desc. Add links to
16677 other package-descs for the same package name.
16678 (package-menu-describe-package): Pass the actual package-desc.
16679 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
16681 (package-desc-status): New function.
16682 (package-menu--refresh): New function, extracted
16683 from package-menu--generate.
16684 (package-menu--generate): Use it.
16685 (package-delete): Update package-alist.
16686 (package-menu-execute): Don't call package-initialize.
16688 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
16689 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
16690 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
16691 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
16692 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
16693 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
16695 2013-06-25 Martin Rudalics <rudalics@gmx.at>
16697 * window.el (window--state-get-1): Workaround for bug#14527.
16698 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
16700 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
16702 * net/eww.el (eww-back-url): Implement the history by stashing all
16703 the data into a list.
16704 (eww-forward-url): Allow going forward in the history, too.
16706 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16708 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
16709 for values and use read--expression for expressions (bug#14710).
16710 (read-file-local-variable): Avoid setq.
16711 (read-file-local-variable-mode): Use minor-mode-list.
16713 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16715 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
16718 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16720 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
16721 Update imenu-support when dialect changes.
16723 2013-06-25 Leo Liu <sdl.web@gmail.com>
16725 * ido.el (ido-read-internal): Allow forward slash on windows.
16727 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
16729 * net/eww.el (eww): Start of strings is \\`, not ^.
16731 2013-06-24 Ivan Kanis <ivan@kanis.fr>
16733 * net/shr.el (shr-browse-url): Fix interactive spec.
16735 * net/eww.el (eww): Add a trailing slash to domain names.
16737 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
16739 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
16741 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
16743 * net/shr.el (shr-browse-url): Use an external browser if given a
16746 * net/eww.el (eww-external-browser): Move to shr.
16748 2013-06-24 Ivan Kanis <ivan@kanis.fr>
16750 * net/eww.el (eww): Work more correctly for file: URLs.
16751 (eww-detect-charset): Allow quoted charsets.
16752 (eww-yank-page-url): New command and keystroke.
16754 2013-06-24 Daiki Ueno <ueno@gnu.org>
16756 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
16757 file name of gpg executable.
16758 (epg-context-program): New function.
16759 (epg-context-home-directory): New function.
16760 (epg-context-set-program): New function.
16761 (epg-context-set-home-directory): New function.
16762 (epg--start): Use `epg-context-program' instead of
16764 (epg--list-keys-1): Likewise.
16766 2013-06-24 Leo Liu <sdl.web@gmail.com>
16768 * ido.el (ido-read-internal): Fix bug#14620.
16770 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
16772 * faces.el (face-documentation): Simplify.
16773 (read-face-attribute, tty-find-type, x-resolve-font-name):
16774 Use `string-match-p'.
16775 (list-faces-display): Use `string-match-p'. Simplify.
16776 (face-spec-recalc): Check face to avoid face alias loops.
16777 (read-color): Use `string-match-p' and non-capturing parenthesis.
16779 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
16781 * net/shr.el (shr-rescale-image): Use the new
16782 :max-width/:max-height functionality.
16784 2013-06-23 Ivan Kanis <ivan@kanis.fr>
16786 * net/eww.el (eww-search-prefix): New variable.
16788 (eww-external-browser): New variable.
16789 (eww-mode-map): New keystroke.
16790 (eww-browse-with-external-browser): New command.
16792 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
16794 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
16796 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
16797 Don't skip aligning the next header field when padding is 0;
16798 otherwise, field width is not respected unless the title is as
16801 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
16803 * emacs-lisp/package.el (package-el-version): Remove.
16804 (package-process-define-package): Fix inf-loop.
16805 (package-install): Allow symbols as arguments again.
16807 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
16809 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
16810 add some more keyword-like methods.
16811 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
16813 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
16815 * bs.el (bs-buffer-show-mark): Make defvar-local.
16816 (bs-mode): Use setq-local.
16818 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
16819 (emacs-lock--try-unlocking): Make defvar-local.
16821 2013-06-22 Glenn Morris <rgm@gnu.org>
16823 * play/cookie1.el (cookie-apropos): Minor simplification.
16825 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
16827 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
16829 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
16830 `regexp-opt', it breaks the build during dumping.
16832 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
16834 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
16835 Highlight keyword-like methods on Kernel and Module with
16836 font-lock-builtin-face.
16837 (auto-mode-alist): Consolidate different entries into one regexp
16838 and add more *file-s.
16840 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
16842 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
16844 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
16845 (diary-entry): Use it in the action of this button type instead of
16848 * calendar/todo-mode.el: New version.
16849 (todo-add-category): Append new category to end of file and give
16850 it the highest number, instead of putting it at the beginning and
16851 giving it 0. Incorporate noninteractive functionality.
16852 (todo-forward-category): Adapt to 1-based category numbering.
16853 Allow skipping over archived categories.
16854 (todo-backward-category): Derive from todo-forward-category.
16855 (todo-backward-item, todo-forward-item): Make noninteractive and
16856 delegate interactive part to new commands. Make sensitive to done items.
16857 (todo-categories): Make value an alist of category names and
16858 vectors of item counts.
16859 (todo-category-beg): Make a defconst.
16860 (todo-category-number): Use 1 instead of 0 as initial value.
16861 (todo-category-select): Make sensitive to overlays, optional item
16862 highlighting and done items.
16863 (todo-delete-item): Make sensitive to overlays and marked and done items.
16864 (todo-edit-item): Make sensitive to overlays and editing of
16865 date/time header optional. Add format checks.
16866 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
16867 no-op if point is not on an item. Advertise using todo-edit-quit.
16868 (todo-edit-mode): Make sensitive to new format, font-locking, and
16869 multiple todo files.
16870 (todo-insert-item, todo-insert-item-here): Derive from
16871 todo-basic-insert-item and extend functionality.
16872 (todo-item-end, todo-item-start): Make sensitive to done items.
16873 (todo-item-string): Don't return text properties. Restore point.
16874 (todo-jump-to-category): Make sensitive to multiple todo files and
16875 todo archives. Use extended category completion.
16876 (todo-lower-item, todo-raise-item): Rename to *-priority and
16877 derive from todo-set-item-priority.
16878 (todo-mode): Derive from special-mode. Make sensitive to new
16879 format, font-locking and multiple todo files. Make read-only.
16880 (todo-mode-map): Don't suppress digit keys, so they can supply
16881 prefix arguments. Add many new key bindings.
16882 (todo-prefix): Insert as an overlay instead of file text.
16883 Change semantics from diary date expression to purely visual mark.
16884 (todo-print): Rename to todo-print-buffer. Make buffer display
16885 features printable. Remove option to restrict number of items
16886 printed. Add option to print to file.
16887 (todo-print-function): Rename to todo-print-buffer-function.
16888 (todo-quit): Extend to handle exiting new todo modes.
16889 (todo-remove-item): Make sensitive to overlays.
16890 (todo-save): Extend to buffers of filtered items.
16891 (todo-show): Make sensitive to done items, multiple todo files and
16892 new todo modes. Offer to convert legacy todo file before creating
16893 first new todo file.
16894 (todo-show-priorities): Rename to todo-top-priorities.
16895 Change semantics of value 0.
16896 (todo-top-priorities): Rename to todo-filter-top-priorities,
16897 derive from todo-filter-items and extend functionality.
16898 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
16899 and extend functionality to other types of filtered items.
16900 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
16901 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
16902 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
16903 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
16904 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
16905 (todo-edit-mode-hook, todo-entry-prefix-function)
16906 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
16907 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
16908 (todo-initials, todo-insert-threshold, todo-item-string-start)
16909 (todo-line-string, todo-menu, todo-mode-hook)
16910 (todo-more-important-p, todo-previous-answer, todo-previous-line)
16911 (todo-print-priorities, todo-remove-separator)
16912 (todo-save-top-priorities-too, todo-string-count-lines)
16913 (todo-string-multiline-p, todo-time-string-format)
16914 (todo-tmp-buffer-name): Remove.
16915 (todo-add-file, todo-archive-done-item, todo-choose-archive)
16916 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
16917 (todo-edit-category-diary-inclusion)
16918 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
16919 (todo-edit-file, todo-edit-item-date-day)
16920 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
16921 (todo-edit-item-date-month, todo-edit-item-date-to-today)
16922 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
16923 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
16924 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
16925 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
16926 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
16927 (todo-filter-top-priorities-multifile, todo-find-archive)
16928 (todo-find-filtered-items-file, todo-go-to-source-item)
16929 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
16930 (todo-jump-to-archive-category, todo-lower-category)
16931 (todo-mark-category, todo-marked-item-p, todo-merge-category)
16932 (todo-move-category, todo-move-item, todo-next-button)
16933 (todo-next-item, todo-padded-string, todo-powerset)
16934 (todo-previous-button, todo-previous-item)
16935 (todo-print-buffer-to-file, todo-raise-category)
16936 (todo-rename-category, todo-repair-categories-sexp, todo-search)
16937 (todo-set-category-number, todo-set-item-priority)
16938 (todo-set-top-priorities-in-category)
16939 (todo-set-top-priorities-in-file, todo-show-categories-table)
16940 (todo-sort-categories-alphabetically-or-numerically)
16941 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
16942 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
16943 (todo-toggle-item-header, todo-toggle-item-highlighting)
16944 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
16945 (todo-toggle-view-done-items, todo-toggle-view-done-only)
16946 (todo-unarchive-items, todo-unmark-category): New commands.
16947 (todo-absolute-file-name, todo-add-to-buffer-list)
16948 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
16949 (todo-basic-insert-item, todo-category-completions)
16950 (todo-category-number, todo-category-string-matcher-1)
16951 (todo-category-string-matcher-2, todo-check-filtered-items-file)
16952 (todo-check-format, todo-clear-matches)
16953 (todo-comment-string-matcher, todo-convert-legacy-date-time)
16954 (todo-current-category, todo-date-string-matcher)
16955 (todo-define-insertion-command, todo-diary-expired-matcher)
16956 (todo-diary-goto-entry, todo-diary-item-p)
16957 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
16958 (todo-display-categories, todo-display-sorted, todo-done-item-p)
16959 (todo-done-item-section-p, todo-done-separator)
16960 (todo-done-string-matcher, todo-files, todo-filter-items)
16961 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
16962 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
16963 (todo-insert-category-line, todo-insert-item-from-calendar)
16964 (todo-insert-sort-button, todo-insert-with-overlays)
16965 (todo-insertion-command-name, todo-insertion-key-bindings)
16966 (todo-label-to-key, todo-longest-category-name-length)
16967 (todo-make-categories-list, todo-mode-external-set)
16968 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
16969 (todo-modes-set-3, todo-multiple-filter-files)
16970 (todo-nondiary-marker-matcher, todo-prefix-overlays)
16971 (todo-read-category, todo-read-date, todo-read-dayname)
16972 (todo-read-file-name, todo-read-time)
16973 (todo-reevaluate-category-completions-files-defcustom)
16974 (todo-reevaluate-default-file-defcustom)
16975 (todo-reevaluate-filelist-defcustoms)
16976 (todo-reevaluate-filter-files-defcustom)
16977 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
16978 (todo-reset-done-separator, todo-reset-done-separator-string)
16979 (todo-reset-done-string, todo-reset-global-current-todo-file)
16980 (todo-reset-highlight-item, todo-reset-nondiary-marker)
16981 (todo-reset-prefix, todo-set-categories)
16982 (todo-set-date-from-calendar, todo-set-show-current-file)
16983 (todo-set-top-priorities, todo-short-file-name)
16984 (todo-show-current-file, todo-sort, todo-time-string-matcher)
16985 (todo-total-item-counts, todo-update-buffer-list)
16986 (todo-update-categories-display, todo-update-categories-sexp)
16987 (todo-update-count, todo-validate-name, todo-y-or-n-p):
16989 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
16991 (todo-categories, todo-display, todo-edit, todo-faces)
16992 (todo-filtered): New defgroups.
16993 (todo-archived-only, todo-button, todo-category-string, todo-date)
16994 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
16995 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
16996 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
16997 (todo-add-item-if-new-category, todo-always-add-time-string)
16998 (todo-categories-align, todo-categories-archived-label)
16999 (todo-categories-category-label, todo-categories-diary-label)
17000 (todo-categories-done-label, todo-categories-number-separator)
17001 (todo-categories-todo-label, todo-categories-totals-label)
17002 (todo-category-completions-files, todo-completion-ignore-case)
17003 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
17004 (todo-done-separator-string, todo-done-string)
17005 (todo-files-function, todo-filter-done-items, todo-filter-files)
17006 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
17007 (todo-initial-category, todo-initial-file, todo-item-mark)
17008 (todo-legacy-date-time-regexp, todo-mode-line-function)
17009 (todo-nondiary-marker, todo-number-prefix)
17010 (todo-print-buffer-function, todo-show-current-file)
17011 (todo-show-done-only, todo-show-first, todo-show-with-done)
17012 (todo-skip-archived-categories, todo-top-priorities-overrides)
17013 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
17014 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
17016 (todo-category-done, todo-date-pattern, todo-date-string-start)
17017 (todo-diary-items-buffer, todo-done-string-start)
17018 (todo-filtered-items-buffer, todo-item-start)
17019 (todo-month-abbrev-array, todo-month-name-array)
17020 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
17021 (todo-top-priorities-buffer): New defconsts.
17022 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
17023 (todo-categories-with-marks, todo-category-string-face)
17024 (todo-comment-face, todo-comment-string, todo-current-todo-file)
17025 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
17026 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
17027 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
17028 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
17029 (todo-font-lock-keywords, todo-global-current-todo-file)
17030 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
17031 (todo-insertion-commands-args)
17032 (todo-insertion-commands-args-genlist)
17033 (todo-insertion-commands-names, todo-insertion-map)
17034 (todo-key-bindings-t, todo-key-bindings-t+a)
17035 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
17036 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
17037 (todo-nondiary-face, todo-print-buffer, todo-time-face)
17038 (todo-visited): New variables.
17040 2013-06-21 Glenn Morris <rgm@gnu.org>
17042 * play/cookie1.el (cookie-apropos): Add optional display argument.
17043 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
17044 (psychoanalyze-pinhead): Use cookie-doctor.
17046 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17048 * emacs-lisp/package.el (tar-get-file-descriptor)
17049 (tar--extract): Declare.
17051 2013-06-21 Eduard Wiebe <usenet@pusto.de>
17053 Extend flymake's warning predicate to be a function (bug#14217).
17054 * progmodes/flymake.el (flymake-warning-predicate): New.
17055 (flymake-parse-line): Use it.
17056 (flymake-warning-re): Make obsolete alias to
17057 `flymake-warning-predicate'.
17059 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17061 * emacs-lisp/package.el (package-alist): Include obsolete packages.
17062 (package-obsolete-list): Remove.
17063 (package-activate): Remove min-version argument. Add `force' argument.
17064 Adjust to new package-alist format.
17065 (package-mark-obsolete): Remove.
17066 (package-unpack): Force reload of the package's autoloads.
17067 (package-installed-p): Check builtins if the installed package is not
17069 (package-initialize): Don't reset package-obsolete-list.
17070 Don't specify which package version to activate.
17071 (package-process-define-package, describe-package-1)
17072 (package-menu--generate): Adjust to new package-alist format.
17074 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17076 * allout-widgets.el (allout-widgets-mode-off)
17077 (allout-widgets-mode-on, allout-widgets-pre-command-business)
17078 (allout-widgets-post-command-business)
17079 (allout-widgets-after-copy-or-kill-function)
17080 (allout-widgets-after-undo-function, allout-test-range-overlaps)
17081 (allout-decorate-item-and-context)
17082 (allout-graphics-modification-handler): Fix typos in docstrings.
17083 (allout-get-or-create-parent-widget): Use `looking-at-p'.
17085 * cmuscheme.el (scheme-start-file): Doc fix.
17086 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
17087 (scheme-input-filter): Use `string-match-p'.
17089 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
17091 * dired-x.el: Use Dired consistently in docstrings.
17093 * dired.el: Use Dired consistently in docstrings.
17094 (dired-readin, dired-mode): Use `setq-local'.
17095 (dired-switches-alist): Make defvar-local.
17096 (dired-buffers-for-dir): Use `zerop'.
17097 (dired-safe-switches-p, dired-switches-escape-p)
17098 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
17099 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
17100 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
17101 (dired-goto-next-nontrivial-file): Use `string-match-p'.
17102 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
17103 (dired-toggle-marks, dired-mark-files-containing-regexp)
17104 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
17105 (dired-flag-auto-save-files, dired-flag-backup-files):
17106 Use `looking-at-p'.
17107 (dired-mark-files-regexp, dired-build-subdir-alist):
17108 Use `string-match-p', `looking-at-p'.
17110 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
17111 (direct-print-region-helper): Use `string-match-p'.
17113 2013-06-21 Leo Liu <sdl.web@gmail.com>
17115 * comint.el (comint-redirect-results-list-from-process):
17118 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17120 * net/eww.el (eww-update-header-line-format): Quote % characters.
17122 2013-06-21 Glenn Morris <rgm@gnu.org>
17124 * play/cookie1.el (cookie): New custom group.
17125 (cookie-file): New option.
17126 (cookie-check-file): New function.
17127 (cookie): Make it interactive. Make start and end messages optional.
17128 Interactively, display the result. Default to cookie-file.
17129 (cookie-insert): Default to cookie-file.
17130 (cookie-snarf): Make start and end messages optional.
17131 Default to cookie-file. Use with-temp-buffer.
17132 (cookie-read): Rename from read-cookie.
17133 Make start and end messages optional. Default to cookie-file.
17134 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
17135 Do not autoload it.
17136 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
17137 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
17139 2013-06-21 Leo Liu <sdl.web@gmail.com>
17141 * progmodes/octave.el (octave-mode): Backward compatibility fix.
17143 2013-06-21 Glenn Morris <rgm@gnu.org>
17145 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
17147 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17148 Daniel Hackney <dan@haxney.org>
17150 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
17151 Consolidate the single-file vs tarball code.
17152 (package-desc-suffix): New function.
17153 (package-desc-full-name): Don't bother inlining it.
17154 (package-load-descriptor): Return the new package-desc.
17155 (package-mark-obsolete): Remove unused arg `package'.
17156 (package-unpack): Make it work for single files as well.
17157 Make it update package-alist.
17158 (package--make-autoloads-and-stuff): Rename from
17159 package--make-autoloads-and-compile. Don't compile any more.
17160 (package--compile): New function.
17161 (package-generate-description-file): New function, extracted from
17162 package-unpack-single.
17163 (package-unpack-single): Remove.
17164 (package--with-work-buffer): Add indentation and debugging info.
17165 (package-download-single): Remove.
17166 (package-install-from-archive): Rename from package-download-tar, make
17167 it take a pkg-desc, and make it work for single files as well.
17168 (package-download-transaction): Simplify.
17169 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
17170 external tar program.
17171 (package-install-from-buffer): Remove `pkg-desc' argument.
17172 Use package-tar-file-info for tar-mode buffers.
17173 (package-install-file): Simplify accordingly.
17174 (package-archive-base): Change to take a pkg-desc.
17175 * tar-mode.el (tar--check-descriptor): New function, extracted from
17176 tar-get-descriptor.
17177 (tar-get-descriptor): Use it.
17178 (tar-get-file-descriptor): New function.
17179 (tar--extract): New function, extracted from tar-extract.
17180 (tar--extract): Use it.
17181 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
17182 case the summary uses non-ascii. Adjust to new calling convention of
17183 package-tar-file-info.
17185 2013-06-21 Leo Liu <sdl.web@gmail.com>
17187 * comint.el (comint-redirect-results-list-from-process):
17188 Fix random delay. (Bug#14681)
17190 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
17192 * profiler.el (profiler-format-number): Use log, not log10.
17194 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17196 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
17198 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17200 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
17201 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
17203 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
17204 (AUTOGENEL): ... here.
17205 * emacs-lisp/cl-macs.el (cl--sublis): New function.
17206 (cl--defsubst-expand): Use it.
17208 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
17210 * subr.el (log10): Move here from C code, and declare as obsolete.
17211 All uses of (log10 X) replaced with (log X 10).
17213 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17215 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
17216 Declare with `defvar-local'.
17217 (tabulated-list-use-header-line, tabulated-list-entries)
17218 (tabulated-list-padding, tabulated-list-printer)
17219 (tabulated-list-sort-key): Declare with `defvar-local'.
17220 (tabulated-list-init-header, tabulated-list-print-fake-header):
17223 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
17225 * arc-mode.el (archive-mode): Add `archive-write-file' to
17226 `write-contents-functions' also for remote files. (Bug#14652)
17228 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
17230 * cus-edit.el (custom-commands): Fix typos.
17231 (custom-display): Fix tooltip text.
17232 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
17233 Fix typos in docstrings.
17234 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
17235 (custom-unlispify-menu-entry, custom-magic-value-create)
17236 (custom-add-see-also, custom-group-value-create): Use ?\s.
17237 (custom-guess-type, customize-apropos, editable-field)
17238 (custom-face-value-create): Use `string-match-p'.
17239 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
17241 * custom.el (custom-load-symbol): Use `string-match-p'.
17243 * ansi-color.el: Convert to lexical binding.
17244 (ansi-colors): Fix URL.
17245 (ansi-color-context, ansi-color-context-region): Use defvar-local.
17246 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
17247 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
17249 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17251 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
17253 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
17255 2013-06-19 Tom Tromey <tromey@redhat.com>
17257 * net/eww.el (eww-top-url): Remove.
17258 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
17259 (eww-render): Set new variables. Don't set eww-top-url.
17260 (eww-handle-link): Handle "prev", "home", and "contents".
17261 Downcase the rel text.
17262 (eww-top-url): Choose best top URL.
17264 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17266 * net/eww.el: Rewrite to implement form elements "by hand" instead of
17267 relying in widget.el. Using widget.el leads to too many
17268 user interface inconsistencies.
17269 (eww-self-insert): Implement entering commands in text fields.
17270 (eww-process-text-input): New function to make text input field editing
17272 (eww-submit): Rewrite to use the new-style form methods.
17273 (eww-select-display): Display the correct selected item.
17274 (eww-change-select): Implement changing the select value.
17275 (eww-toggle-checkbox): Implement radio/checkboxes.
17276 (eww-update-field): Fix compilation error.
17277 (eww-tag-textarea): Implement <textarea>.
17279 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
17280 we don't shadow mode-specific bindings.
17282 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
17285 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
17287 2013-06-19 Glenn Morris <rgm@gnu.org>
17289 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
17291 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17293 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
17296 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
17298 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17300 * net/browse-url.el (browse-url-browser-function):
17301 `eww-browse-url' has the right calling signature, `eww' does not.
17303 2013-06-19 Glenn Morris <rgm@gnu.org>
17305 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
17306 Only eval autoloaded macros.
17307 (byte-compile-autoload): Only give the macro warning for macros.
17309 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
17310 (ps-underlined-faces): Declare.
17312 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
17313 (speedbar-add-supported-extension): Declare.
17315 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
17316 Don't include a date stamp in the header of the generated file;
17317 it leads to needless differences between output files.
17319 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
17321 * net/secrets.el (secrets-struct-secret-content-type):
17322 Replace check of introspection data by a test call of "CreateItem".
17323 Some servers do not offer introspection.
17325 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
17327 * electric.el (electric-pair-mode): Improve interaction with
17328 electric-layout-mode.
17329 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
17330 (electric-pair-syntax): Use text-mode-syntax-table in comments
17332 (electric-pair--insert): New function.
17333 (electric-pair-post-self-insert-function): Use it and
17334 electric--after-char-pos.
17336 2013-06-19 Leo Liu <sdl.web@gmail.com>
17338 * progmodes/octave.el (octave-help): Fix regexp.
17340 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17342 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
17343 (shr-table-horizontal-line): Allow nil as a value, and change the
17345 (shr-insert-table-ruler): Respect the nil value.
17347 2013-06-18 Tom Tromey <tromey@barimba>
17349 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17351 (eww-open-file): New defun.
17352 (eww-render): Initialize new variables.
17353 (eww-display-html): Handle "link" and "a".
17354 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
17355 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
17356 (eww-back-url): Rename from eww-previous-url.
17357 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
17360 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
17362 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
17363 Distinguish ternary operator tokens from slash symbol and slash
17366 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17368 Convert symbol prettification into minor mode and global minor mode.
17370 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
17371 `prog-prettify-symbols', and make a local defvar instead of defcustom.
17372 (prettify-symbols--keywords): Rename from
17373 `prog-prettify-symbols-alist' and make a local defvar.
17374 (prettify-symbols--compose-symbol): Rename from
17375 `prog--prettify-font-lock-compose-symbol'.
17376 (prettify-symbols--make-keywords): Rename from
17377 `prog-prettify-font-lock-symbols-keywords' and simplify.
17378 (prog-prettify-install): Remove.
17379 (prettify-symbols-mode): New minor mode, based on
17380 `prog-prettify-install'.
17381 (turn-on-prettify-symbols-mode): New function.
17382 (global-prettify-symbols-mode): New globalized minor mode.
17384 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17385 * progmodes/cfengine.el (cfengine3-mode):
17386 * progmodes/perl-mode.el (perl-mode): Don't call
17387 `prog-prettify-install'; set `prettify-symbols-alist' instead.
17389 2013-06-18 Juri Linkov <juri@jurta.org>
17391 * files-x.el (modify-file-local-variable-message): New function.
17392 (modify-file-local-variable)
17393 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
17394 and call `modify-file-local-variable-message' when it's non-nil.
17395 (add-file-local-variable, delete-file-local-variable)
17396 (add-file-local-variable-prop-line)
17397 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
17398 and use it. (Bug#9820)
17400 2013-06-18 Juri Linkov <juri@jurta.org>
17402 * emulation/vi.el (vi-shell-op):
17403 * emulation/vip.el (vip-execute-com, ex-command):
17404 * emulation/viper-cmd.el (viper-exec-bang):
17405 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
17406 the call of `shell-command-on-region'. (Bug#14637)
17408 * simple.el (shell-command-on-region): Doc fix.
17410 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17412 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
17415 2013-06-18 Glenn Morris <rgm@gnu.org>
17417 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
17419 * newcomment.el (comment-search-forward, comment-search-backward):
17420 Doc fix. (Bug#14376)
17422 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
17424 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
17425 (buffer-face-mode-invoke): Doc fix.
17427 2013-06-18 Matthias Meulien <orontee@gmail.com>
17429 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
17430 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
17432 2013-06-18 Glenn Morris <rgm@gnu.org>
17434 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
17435 Replace obsolete function generic-make-keywords with its expansion.
17437 * progmodes/python.el (ffap-alist): Declare.
17439 * textmodes/reftex.el (bibtex-mode-map): Declare.
17441 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
17443 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
17444 (package-unpack, package-unpack-single): Return the pkg-dir.
17445 (package-download-transaction): Use it to update package-alist.
17447 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17449 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
17452 2013-06-17 Juri Linkov <juri@jurta.org>
17454 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
17456 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17458 * emacs-lisp/package.el (package-load-descriptor):
17459 Remove `with-syntax-table' call, `read' doesn't need it.
17460 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
17462 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17464 * startup.el (command-line): Expand package name returned by
17465 `package--description-file' (bug#14639).
17467 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
17469 * emacs-lisp/package.el (package-load-descriptor): Do not call
17470 `emacs-lisp-mode', just use its syntax table.
17472 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
17474 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
17475 `font-lock-extra-managed-props' if any prettifying keyword is added.
17476 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
17477 (prog-mode): Use `setq-local'.
17479 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17481 * international/characters.el (standard-case-table): Set syntax of ?»
17482 and ?« to punctuation.
17484 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
17486 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
17487 Save relevant match data before calling `syntax-ppss' (bug#14595).
17489 2013-06-15 Juri Linkov <juri@jurta.org>
17491 * files-x.el (modify-file-local-variable-prop-line): Add local
17492 variables to the end of the existing comment on the first line.
17493 Use `file-auto-mode-skip' to skip interpreter magic line,
17494 and also skip XML declaration.
17496 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17498 * startup.el (package--builtin-versions): New var.
17499 (package-subdirectory-regexp): Remove.
17500 (package--description-file): Hard code its value instead.
17502 * emacs-lisp/package.el: Don't activate packages older than builtin.
17503 (package-obsolete-list): Rename from package-obsolete-alist, and make
17504 it into a simple list of package-desc.
17505 (package-strip-version): Remove.
17506 (package-built-in-p): Use package--builtin-versions.
17507 (package-mark-obsolete): Simplify.
17508 (package-process-define-package): Mark it obsolete if older than the
17510 (package-handle-response): Use line-end-position.
17511 (package-read-archive-contents, package--download-one-archive):
17513 (package--add-to-archive-contents): Skip if older than the builtin or
17515 (package-menu-describe-package): Fix last change.
17516 (package-list-unversioned): New var.
17517 (package-menu--generate): Use it.
17519 * emacs-lisp/autoload.el: Manage package--builtin-versions.
17520 (autoload--insert-text, autoload--insert-cookie-text): New functions.
17521 (autoload-builtin-package-versions): New variable.
17522 (autoload-generate-file-autoloads): Use them.
17523 Remove the list of autoloaded functions/macros from the
17524 (autoload...) comments.
17526 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
17528 2013-06-15 Eli Zaretskii <eliz@gnu.org>
17530 * simple.el (line-move-partial): Don't jump to the next screen
17531 line as soon as it becomes visible. Instead, continue enlarging
17532 the vscroll until the portion of a tall screen line that's left on
17533 display is about the height of the frame's default font.
17536 2013-06-15 Glenn Morris <rgm@gnu.org>
17538 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
17539 compilation-error-regexp-alist void, or local while let-bound.
17541 * progmodes/make-mode.el (makefile-mode-syntax-table):
17542 Treat "=" as punctuation. (Bug#14614)
17544 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
17546 * help-fns.el (describe-variable):
17547 Add extra line for permanent-local variables.
17549 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
17551 * progmodes/scheme.el (scheme-font-lock-keywords-2):
17552 Add export, import, library. (Bug#9164)
17553 (library): Set indent function.
17555 2013-06-14 Glenn Morris <rgm@gnu.org>
17557 * term/xterm.el (xterm--query):
17558 Stop after first matching handler. (Bug#14615)
17560 2013-06-14 Ivan Kanis <ivan@kanis.fr>
17562 Add support for dired in saveplace.
17563 * dired.el (dired-initial-position-hook): New variable.
17564 (dired-initial-position): Call hook to place cursor position.
17565 * saveplace.el (save-place-to-alist): Add dired position.
17566 (save-place-dired-hook): New function.
17568 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
17570 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
17571 through a symbol rather than letrec.
17573 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
17574 (package-desc): Add `dir' field.
17575 (package-desc-full-name): New function.
17576 (package-load-descriptor): Combine the two arguments. Don't use `load'.
17577 (package-maybe-load-descriptor): Remove.
17578 (package-load-all-descriptors): Just call package-load-descriptor.
17579 (package--disabled-p): New function.
17580 (package-desc-vers, package-desc-doc): Remove aliases.
17581 (package--dir): Remove function.
17582 (package-activate): Check if a package is disabled.
17583 (package-process-define-package): New function, extracted from
17585 (define-package): Turn into a place holder.
17586 (package-unpack-single, package-tar-file-info):
17587 Use package--description-file.
17588 (package-compute-transaction): Use package--disabled-p.
17589 (package-download-transaction): Don't call
17590 package-maybe-load-descriptor since they're all loaded anyway.
17591 (package-install): Change argument to be a pkg-desc.
17592 (package-delete): Use a single pkg-desc argument.
17593 (describe-package-1): Use package-desc-dir instead of package--dir.
17594 Use package-desc property instead of package-symbol.
17595 (package-install-button-action): Adjust accordingly.
17596 (package--push): Rewrite.
17597 (package-menu--print-info): Adjust accordingly. Change the ID format
17599 (package-menu-describe-package, package-menu-get-status)
17600 (package-menu--find-upgrades, package-menu-mark-upgrades)
17601 (package-menu-execute, package-menu--name-predicate):
17602 Adjust accordingly.
17603 * startup.el (package--description-file): New function.
17604 (command-line): Use it.
17605 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17606 Use package-desc-version.
17608 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
17609 (byte-compile-preprocess): Use it.
17610 (byte-compile-file-form-defalias): Try a bit harder to use macros we
17611 can't quite recognize.
17612 (byte-compile-add-to-list): Remove.
17613 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
17614 (cconv-closure-convert): Add assertion.
17616 * emacs-lisp/map-ynp.el: Use lexical-binding.
17617 (map-y-or-n-p): Remove unused vars `tail' and `object'.
17618 Factor out some repeated code.
17620 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17622 * subr.el (with-eval-after-load): New macro.
17623 (eval-after-load): Allow form to be a function.
17624 take advantage of lexical-binding.
17625 (do-after-load-evaluation): Use dolist and adjust to new format.
17626 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
17628 2013-06-13 Juri Linkov <juri@jurta.org>
17630 * replace.el (perform-replace): Display "symbol " and other search
17631 modes from `isearch-message-prefix' in the *Help* buffer.
17633 * isearch.el (isearch-query-replace): Add " symbol" and other
17634 possible search modes from `isearch-message-prefix' to the prompt.
17635 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
17636 when reading a regexp to collect.
17638 2013-06-13 Juri Linkov <juri@jurta.org>
17640 * isearch.el (word-search-regexp): Match whitespace if the search
17641 string begins or ends in whitespace. The LAX arg is applied to
17642 both ends of the search string. Use `regexp-quote' and explicit
17643 \< and \> instead of \b. Use \` and \' instead of ^ and $.
17644 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
17645 boundaries are replaced with symbol boundaries, and characters
17646 between symbols match non-word non-symbol syntax. (Bug#14602)
17648 2013-06-13 Juri Linkov <juri@jurta.org>
17650 * isearch.el (isearch-del-char): Don't exceed the length of
17651 `isearch-string' by the prefix arg. (Bug#14563)
17653 2013-06-13 Juri Linkov <juri@jurta.org>
17655 * isearch.el (isearch-yank-word, isearch-yank-line)
17656 (isearch-char-by-name, isearch-quote-char)
17657 (isearch-printing-char, isearch-process-search-char):
17658 Add optional count prefix arg. (Bug#14563)
17660 * international/isearch-x.el
17661 (isearch-process-search-multibyte-characters):
17662 Add optional count prefix arg.
17664 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17666 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
17667 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
17670 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
17672 * subr.el (set-temporary-overlay-map): Add on-exit argument.
17674 2013-06-13 Glenn Morris <rgm@gnu.org>
17676 * startup.el (tty-handle-args):
17677 Don't just discard "--" and anything after. (Bug#14608)
17679 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
17681 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
17683 Implement changes in Secret Service API. Make it backward compatible.
17684 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
17685 (secrets-create-item): Use it. Prefix properties with interface.
17687 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
17689 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
17690 (term-emulate-terminal): Respect term-suppress-hard-newline.
17692 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
17694 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
17695 Only remove a `thumb-file' overlay. (Bug#14548)
17697 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
17699 * mail/reporter.el (reporter-submit-bug-report):
17700 Handle missing package-name. (Bug#14600)
17702 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17704 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
17705 (reftex-citation-prompt, reftex-default-bibliography)
17706 (reftex-bib-or-thebib, reftex-get-bibfile-list)
17707 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
17708 (reftex-bib-sort-author, reftex-bib-sort-year)
17709 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
17710 (reftex-extract-bib-entries-from-thebibliography)
17711 (reftex-get-bibkey-default, reftex-get-bib-names)
17712 (reftex-parse-bibtex-entry, reftex-get-bib-field)
17713 (reftex-format-bib-entry, reftex-parse-bibitem)
17714 (reftex-format-bibitem, reftex-do-citation)
17715 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
17716 (reftex-restrict-bib-matches, reftex-extract-bib-file)
17717 (reftex-insert-bib-matches, reftex-format-citation)
17718 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
17719 (reftex-create-bibtex-file): Add docstrings, mostly by converting
17720 existing comments into docstrings.
17722 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
17724 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
17726 2013-06-12 Andreas Schwab <schwab@suse.de>
17728 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
17729 for auto-save files.
17731 2013-06-12 Glenn Morris <rgm@gnu.org>
17733 * ido.el (ido-delete-ignored-files): Remove.
17734 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
17735 Go back to calling ido-ignore-item-p directly.
17737 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
17739 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
17741 * ido.el (ido-delete-ignored-files): New function,
17742 split from ido-make-file-list-1.
17743 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
17744 (ido-make-file-list-1): Use ido-delete-ignored-files.
17746 2013-06-12 Leo Liu <sdl.web@gmail.com>
17748 * progmodes/octave.el (inferior-octave-startup)
17749 (inferior-octave-completion-table)
17750 (inferior-octave-track-window-width-change)
17751 (octave-eldoc-function-signatures, octave-help)
17752 (octave-find-definition): Use single quoted strings.
17753 (inferior-octave-startup-args): Change default value.
17754 (inferior-octave-startup): Do not hard code "-i" and
17755 "--no-line-editing".
17756 (inferior-octave-resync-dirs): Add optional arg NOERROR.
17757 (inferior-octave-directory-tracker): Use it.
17758 (octave-goto-function-definition): Robustify.
17759 (octave-help): Support highlighting operators in 'See also'.
17760 (octave-find-definition): Find subfunctions only in Octave mode.
17762 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
17764 * help-fns.el (help-fns--compiler-macro): If the handler function is
17765 named, then put a link to it.
17766 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
17767 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
17768 (cl-typep): Use it.
17769 (cl-eval-when): Simplify debug spec.
17770 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
17771 compiler-macro function instead of setting `compiler-macro-file'.
17773 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
17775 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
17776 * vc/vc-hooks.el (vc-stay-local): Doc fix.
17778 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
17779 Daniel Hackney <dan@haxney.org>
17781 First part of Daniel Hackney's patch to package.el.
17782 * emacs-lisp/package.el: Use defstruct.
17783 (package-desc): New, main struct.
17784 (package--bi-desc, package--ac-desc): New structs, used to describe the
17785 format in external files.
17786 (package-desc-vers): Replace with package-desc-version accessor.
17787 (package-desc-doc): Replace with package-desc-summary accessor.
17788 (package-activate-1): Remove `package' arg since the pkg-vec now
17790 (define-package): Use package-desc-from-define.
17791 (package-unpack-single): Change file-name arg to be a symbol.
17792 (package--add-to-archive-contents): Use package-desc-create and new
17793 accessor functions to package--ac-desc.
17794 (package-buffer-info, package-tar-file-info): Return a package-desc.
17795 (package-install-from-buffer): Remove `type' argument. Change pkg-info
17796 arg to be a package-desc.
17797 (package-install-file): Adjust accordingly. Use \' to match EOS.
17798 (package--from-builtin): New function.
17799 (describe-package-1, package-menu--generate): Use it.
17800 (package--make-autoloads-and-compile): Change name arg to be a symbol.
17801 (package-generate-autoloads): Idem and return the name of the file.
17802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17803 Change pkg-info arg to be a package-desc.
17804 Use package-make-ac-desc.
17805 (package-upload-file): Use \' to match EOS.
17806 * finder.el (finder-compile-keywords): Use package-make-builtin.
17808 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
17810 * vc/vc.el (vc-deduce-fileset): Change error message.
17811 (vc-read-backend): New function.
17812 (vc-next-action): Use it.
17814 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
17816 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
17817 (prolog-font-lock-keywords): Use regexp-opt instead.
17818 Don't manually highlight strings.
17819 (prolog-mode-variables): Simplify comment-start-skip.
17820 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
17822 * emacs-lisp/generic.el (generic--normalise-comments)
17823 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
17824 (generic-mode-set-comments): Use them.
17825 (generic-bracket-support): Use setq-local.
17826 (generic-make-keywords-list): Declare obsolete.
17828 2013-06-11 Glenn Morris <rgm@gnu.org>
17830 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
17831 Prettify after setting font-lock-defaults. (Bug#14574)
17833 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
17835 * replace.el (query-replace, occur-read-regexp-defaults-function)
17837 * subr.el (declare-function, number-sequence, local-set-key)
17838 (substitute-key-definition, locate-user-emacs-file)
17839 (with-silent-modifications, split-string, eval-after-load):
17840 Fix typos, remove unneeded backslashes and reflow some docstrings.
17842 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
17844 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
17845 default for Elisp files.
17847 2013-06-11 Glenn Morris <rgm@gnu.org>
17849 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
17850 although define-derived-mode was doing this anyway. (Bug#14583)
17852 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
17854 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17855 Fix make-variable-buffer-local call to refer to the correct variable.
17857 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
17859 * eshell/em-term.el (eshell-visual-commands)
17860 (eshell-visual-subcommands, eshell-visual-options):
17861 Add summary line to docstrings. Add cross-references.
17863 2013-06-10 Glenn Morris <rgm@gnu.org>
17865 * epa.el (epa-read-file-name): New function. (Bug#14510)
17866 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
17868 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
17870 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
17871 output redirection to be ignored with visual commands.
17873 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
17875 * eshell/em-term.el (eshell-visual-command-p): New function.
17876 (eshell-term-initialize): Move long lambda to separate function
17877 eshell-visual-command-p.
17878 * eshell/em-dirs.el (eshell-dirs-initialize):
17879 * eshell/em-script.el (eshell-script-initialize):
17880 Add missing #' to lambda.
17882 2013-06-08 Leo Liu <sdl.web@gmail.com>
17884 * progmodes/octave.el (octave-add-log-current-defun): New function.
17885 (octave-mode): Set add-log-current-defun-function.
17886 (octave-goto-function-definition): Do not move point if not found.
17887 (octave-find-definition): Enhance to try subfunctions first.
17889 2013-06-08 Glenn Morris <rgm@gnu.org>
17891 * emacs-lisp/bytecomp.el (byte-compile-char-before)
17892 (byte-compile-backward-char, byte-compile-backward-word):
17893 Improve previous change, to handle non-explicit nil.
17895 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
17897 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
17898 (smie--opener/closer-at-point): New function.
17899 (smie--matching-block-data): Use it. Don't match from right after an
17900 opener or right before a closer. Obey smie-blink-matching-inners.
17901 Don't signal a mismatch for repeated inners like "switch..case..case".
17903 2013-06-07 Leo Liu <sdl.web@gmail.com>
17905 * progmodes/octave.el (octave-mode): Set comment-use-global-state
17907 (octave-function-header-regexp): Fix. (Bug#14570)
17908 (octave-help-mode-finish-hook, octave-help-mode-finish):
17909 Remove. Just use temp-buffer-show-hook.
17911 * newcomment.el (comment-search-backward): Revert last change.
17914 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
17916 2013-06-07 Eli Zaretskii <eliz@gnu.org>
17918 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
17919 through xargs, to avoid failure due to MS-Windows limitations on
17920 command-line length.
17922 2013-06-06 Glenn Morris <rgm@gnu.org>
17924 * font-lock.el (lisp-font-lock-keywords-2):
17925 Treat user-error like error.
17927 * emacs-lisp/bytecomp.el (byte-compile-char-before)
17928 (byte-compile-backward-char, byte-compile-backward-word):
17929 Handle explicit nil arguments. (Bug#14565)
17931 2013-06-05 Alan Mackenzie <acm@muc.de>
17933 * isearch.el (isearch-allow-prefix): New user option.
17934 (isearch-other-meta-char): Don't exit isearch when a prefix
17935 argument is typed whilst `isearch-allow-prefix' is non-nil.
17938 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
17940 * autorevert.el (auto-revert-notify-handler): Use memq.
17941 Hide assertion failure.
17943 * skeleton.el: Use cl-lib.
17944 (skeleton-further-elements): Use defvar-local.
17945 (skeleton-insert): Use cl-progv.
17947 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
17949 * progmodes/prog-mode.el (prog-prettify-symbols)
17950 (prog-prettify-install): Update docstrings.
17952 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
17954 * simple.el: Move all the prog-mode code to prog-mode.el.
17955 * progmodes/prog-mode.el: New file.
17956 * loadup.el: Add prog-mode.el.
17958 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
17960 * simple.el (prog-prettify-symbols): Add version.
17961 (prog-prettify-install): Add convenience function to prettify symbols.
17963 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
17964 (perl--augmented-font-lock-keywords-1)
17965 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
17966 variables and use it.
17968 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
17969 (cfengine3-mode): Remove unneeded variable and use it.
17971 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
17972 (lisp--augmented-font-lock-keywords-1)
17973 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
17974 Remove unneeded variables and use it.
17976 2013-06-05 João Távora <joaotavora@gmail.com>
17978 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
17979 to point when opening the connection. (Bug#14380)
17981 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
17983 * subr.el (load-history-regexp, load-history-filename-element)
17984 (eval-after-load, after-load-functions, do-after-load-evaluation)
17985 (eval-next-after-load, display-delayed-warnings)
17986 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
17987 definition of save-match-data.
17988 (overriding-local-map): Remove accidental obsolescence declaration.
17990 * emacs-lisp/edebug.el (edebug-result): Move before first use.
17992 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
17994 Generalize symbol prettify support to prog-mode and implement it
17995 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
17996 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
17997 (prog--prettify-font-lock-compose-symbol)
17998 (prog-prettify-font-lock-symbols-keywords): New variables and
17999 functions to support symbol prettification.
18000 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
18001 (lisp--augmented-font-lock-keywords-1)
18002 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
18003 (lisp--prettify-symbols-alist): Implement prettify of lambda.
18004 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
18005 (cfengine3--prettify-symbols-alist, cfengine3-mode):
18006 Implement prettify of -> => :: strings.
18007 * progmodes/perl-mode.el (perl-prettify-symbols)
18008 (perl--font-lock-compose-symbol)
18009 (perl--font-lock-symbols-keywords): Move to prog-mode.
18010 (perl--prettify-symbols-alist): Prettify -> => :: strings.
18011 (perl-font-lock-keywords-1)
18012 (perl-font-lock-keywords-2): Remove explicit prettify support.
18013 (perl--augmented-font-lock-keywords)
18014 (perl--augmented-font-lock-keywords-1)
18015 (perl--augmented-font-lock-keywords-2, perl-mode):
18016 Implement prettify support.
18018 2013-06-05 Leo Liu <sdl.web@gmail.com>
18020 Re-implement SMIE matching block highlight using
18021 show-paren-data-function. (Bug#14395)
18022 * emacs-lisp/smie.el (smie-matching-block-highlight)
18023 (smie--highlight-matching-block-overlay)
18024 (smie--highlight-matching-block-lastpos)
18025 (smie-highlight-matching-block)
18026 (smie-highlight-matching-block-mode): Remove.
18027 (smie--matching-block-data-cache): New variable.
18028 (smie--matching-block-data): New function.
18029 (smie-setup): Use smie--matching-block-data for
18030 show-paren-data-function.
18032 * progmodes/octave.el (octave-mode-menu): Fix.
18033 (octave-find-definition): Skip garbage lines.
18035 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18037 Fix compilation error with simultaneous dynamic+lexical scoping.
18038 Add warning when a defvar appears after the first let-binding.
18039 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
18040 (byte-compile-close-variables): Initialize it.
18041 (byte-compile--declare-var): New function.
18042 (byte-compile-file-form-defvar)
18043 (byte-compile-file-form-define-abbrev-table)
18044 (byte-compile-file-form-custom-declare-variable): Use it.
18045 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
18046 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
18047 (byte-compile-bind): Handle dynamic bindings that shadow
18049 (byte-compile-unbind): Make arg non-optional.
18050 (byte-compile-let): Simplify.
18051 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
18052 (cconv--analyse-function, cconv-analyse-form): Populate it.
18053 Protect byte-compile-bound-variables to limit the scope of defvars.
18054 (cconv-analyse-form): Add missing rule for (defvar <foo>).
18055 Remove unneeded rule for `declare'.
18057 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
18058 so as to avoid depending on cl-adjoin at run-time.
18059 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
18061 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
18062 (macroexp--warn-and-return): Use it.
18064 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
18066 * subr.el: Convert to lexical binding.
18067 (overriding-local-map): Make obsolete.
18068 (add-to-list): Doc fix. Add compiler macro.
18069 (read-key): Swap values of local maps.
18071 2013-06-05 Leo Liu <sdl.web@gmail.com>
18073 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
18075 2013-06-04 Leo Liu <sdl.web@gmail.com>
18077 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
18078 (compilation-auto-jump): Suppress the "Mark set" message to give
18079 way to exit message.
18081 2013-06-04 Alan Mackenzie <acm@muc.de>
18083 Remove faulty optimization from indentation calculation.
18084 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
18085 search limit based on 2000 characters back from indent-point.
18087 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18089 * eshell/em-term.el (cl-lib): Require `cl-lib'.
18091 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
18093 * emacs-lisp/lisp.el: Use lexical-binding.
18094 (lisp--local-variables-1, lisp--local-variables): New functions.
18095 (lisp--local-variables-completion-table): New var.
18096 (lisp-completion-at-point): Use it complete let-bound vars.
18098 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
18099 eagerly (bug#14422).
18101 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
18103 * autorevert.el (auto-revert-notify-enabled)
18104 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
18105 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
18106 (auto-revert-notify-handler): Handle also gfilenotify.
18108 * subr.el (file-notify-handle-event): New defun. Replacing ...
18109 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
18112 2013-06-03 Juri Linkov <juri@jurta.org>
18114 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
18115 `M-s h .'. (Bug#14427)
18117 * hi-lock.el (highlight-symbol-at-point): New alias for the new
18118 command `hi-lock-face-symbol-at-point'.
18119 (hi-lock-face-symbol-at-point): New command.
18120 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
18121 (hi-lock-menu): Add `highlight-symbol-at-point'.
18122 (hi-lock-mode): Doc fix.
18124 * isearch.el (isearch-forward-symbol-at-point): New command.
18125 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
18126 (isearch-highlight-regexp): Add a regexp which matches
18127 words/symbols for word/symbol mode.
18129 * subr.el (find-tag-default-bounds): New function with the body
18130 mostly moved from `find-tag-default'.
18131 (find-tag-default): Move most code to `find-tag-default-bounds',
18132 call it and apply `buffer-substring-no-properties' afterwards.
18134 2013-06-03 Tassilo Horn <tsdh@gnu.org>
18136 * eshell/em-term.el (eshell-term-initialize):
18137 Use `cl-intersection' rather than `intersection'.
18139 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
18141 * vc/log-view.el: Doc fix.
18142 (log-view-mode-map): Copy keymap from `special-mode-map'.
18144 2013-06-02 Eric Ludlam <zappo@gnu.org>
18146 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
18147 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
18148 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
18149 (eieio-unbound, eieio-default-superclass)
18150 (eieio--define-field-accessors, method-static, method-before)
18151 (method-primary, method-after, method-num-lists)
18152 (method-generic-before, method-generic-primary)
18153 (method-generic-after, method-num-slots)
18154 (eieio-specialized-key-to-generic-key)
18155 (eieio--check-type, class-v, class-p)
18156 (eieio-class-name, define-obsolete-function-alias)
18157 (eieio-class-parents-fast, eieio-class-children-fast)
18158 (same-class-fast-p, class-constructor, generic-p)
18159 (generic-primary-only-p, generic-primary-only-one-p)
18160 (class-option-assoc, class-option, eieio-object-p)
18161 (class-abstract-p, class-method-invocation-order)
18162 (eieio-defclass-autoload-map, eieio-defclass-autoload)
18163 (eieio-class-un-autoload, eieio-defclass)
18164 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
18165 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
18166 (eieio--defgeneric-init-form, eieio-defgeneric-form)
18167 (eieio-defgeneric-reset-generic-form)
18168 (eieio-defgeneric-form-primary-only)
18169 (eieio-defgeneric-reset-generic-form-primary-only)
18170 (eieio-defgeneric-form-primary-only-one)
18171 (eieio-defgeneric-reset-generic-form-primary-only-one)
18172 (eieio-unbind-method-implementations)
18173 (eieio--defmethod, eieio--typep)
18174 (eieio-perform-slot-validation, eieio-validate-slot-value)
18175 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
18176 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
18177 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
18178 (eieio-slot-name-index, eieio-class-slot-name-index)
18179 (eieio-set-defaults, eieio-initarg-to-attribute)
18180 (eieio-attribute-to-initarg, eieio-c3-candidate)
18181 (eieio-c3-merge-lists, eieio-class-precedence-c3)
18182 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
18183 (eieio-class-precedence-list, eieio-generic-call-methodname)
18184 (eieio-generic-call-arglst, eieio-generic-call-key)
18185 (eieio-generic-call-next-method-list)
18186 (eieio-pre-method-execution-functions, eieio-generic-call)
18187 (eieio-generic-call-primary-only, eieiomt-method-list)
18188 (eieiomt-optimizing-obarray, eieiomt-install)
18189 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
18190 (eieio-generic-form, eieio-defmethod, make-obsolete)
18191 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
18192 (defclass): Remove `eval-and-compile' from macro.
18193 (call-next-method, shared-initialize): Instead of using
18194 `scoped-class' variable, use new eieio--scoped-class, and
18195 eieio--with-scoped-class.
18196 (initialize-instance): Rename local variable 'scoped-class' to
18197 'this-class' to remove ambiguitity from old global.
18199 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
18201 (eieio--scoped-class-stack): New variable.
18202 (eieio--scoped-class): New fcn.
18203 (eieio--with-scoped-class): New scoping macro.
18204 (eieio-defclass): Use pushnew instead of add-to-list.
18205 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
18206 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
18207 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
18208 `scoped-class' variable, use new eieio--scoped-class, and
18209 eieio--with-scoped-class.
18211 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
18213 2013-06-02 Tassilo Horn <tsdh@gnu.org>
18215 * eshell/esh-ext.el (eshell-external-command): Pass args to
18216 `eshell-find-interpreter'.
18217 (eshell-find-interpreter): Add new second parameter ARGS.
18219 * eshell/em-script.el (eshell-script-initialize): Add second arg
18220 to the function added as MATCH to `eshell-interpreter-alist'.
18222 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
18223 the function added as MATCH to `eshell-interpreter-alist'.
18225 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
18226 (eshell-visual-options): New defcustom.
18227 (eshell-escape-control-x): Adapt docstring.
18228 (eshell-term-initialize): Test `eshell-visual-subcommands' and
18229 `eshell-visual-options' in addition to `eshell-visual-commands'.
18230 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
18232 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
18234 * progmodes/python.el (python-indent-block-enders): Add break,
18235 continue and raise keywords.
18237 2013-06-01 Glenn Morris <rgm@gnu.org>
18239 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
18241 Plain (f)boundp silences compilation warnings since Emacs 22.1.
18242 * progmodes/cc-cmds.el (delete-forward-p):
18243 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
18244 * progmodes/cc-engine.el (buffer-syntactic-context):
18245 * progmodes/cc-fonts.el (face-property-instance):
18246 * progmodes/cc-mode.el (set-keymap-parents):
18247 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
18248 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
18249 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
18250 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
18251 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
18253 * progmodes/cc-vars.el (other): Emacs has this widget since
18254 at least 21.1, so don't (re)define it.
18256 * eshell/em-cmpl.el (eshell-cmpl-initialize):
18257 Replace the obsolete alias pcomplete-arg-quote-list.
18259 2013-06-01 Leo Liu <sdl.web@gmail.com>
18261 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
18262 punctuation syntax.
18263 (inferior-octave-minimal-columns)
18264 (inferior-octave-last-column-width): New variables.
18265 (inferior-octave-track-window-width-change): New function.
18266 (inferior-octave-mode): Adjust column width so that Octave output,
18267 for example from 'ls', can fit into the window nicely.
18269 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18271 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18272 Highlight expansions inside regexp literals.
18274 2013-05-31 Glenn Morris <rgm@gnu.org>
18276 * obsolete/sym-comp.el (symbol-complete):
18277 Replace obsolete completion-annotate-function.
18279 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
18281 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
18283 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
18284 New function, checks if point is inside a literal that allows
18285 expression expansion.
18286 (ruby-syntax-propertize-expansion): Use it.
18287 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
18290 2013-05-30 Juri Linkov <juri@jurta.org>
18292 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
18294 (isearch-invisible): New variable.
18295 (isearch-forward): Doc fix.
18296 (isearch-mode): Set `isearch-invisible'
18297 to the value of `search-invisible'.
18298 (isearch-toggle-case-fold): Doc fix.
18299 (isearch-toggle-invisible): New command.
18300 (isearch-query-replace): Let-bind `search-invisible'
18301 to the value of `isearch-invisible'.
18302 (isearch-search): Use `isearch-invisible' instead of
18303 `search-invisible'. Let-bind `search-invisible'
18304 to the value of `isearch-invisible'. (Bug#11378)
18306 2013-05-30 Juri Linkov <juri@jurta.org>
18308 * replace.el (perform-replace): Avoid `isearch-range-invisible'
18309 call when `query-flag' is nil and `search-invisible' is non-nil.
18312 2013-05-30 Glenn Morris <rgm@gnu.org>
18314 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
18316 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
18317 (cc-require): Suppress spurious "noruntime" warnings.
18318 (cc-require-when-compile): Use fboundp, for sake of compiler.
18320 * progmodes/cc-mode.el: Move load of cc-vars before that of
18321 cc-langs (which in turn loads cc-vars), to quieten compiler.
18323 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18325 * paren.el: Simplify the code.
18326 (show-paren-mode): Always start the timer.
18327 (show-paren--idle-timer): Rename from show-paren-idle-timer.
18328 (show-paren--overlay, show-paren--overlay-1): Rename from
18329 show-paren-overlay and show-paren-overlay-1, and initialize to an
18330 overlay rather than to nil.
18331 (show-paren-function): Misc cleanup and simplifications.
18333 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18335 * paren.el (show-paren-data-function): New hook.
18336 (show-paren--default): New function, extracted from show-paren-function.
18337 (show-paren-function): Use show-paren-data-function.
18339 2013-05-30 Glenn Morris <rgm@gnu.org>
18341 * ielm.el (ielm-map, ielm-complete-symbol):
18342 Use completion-at-point rather than obsolete functions.
18343 (inferior-emacs-lisp-mode): Doc fix.
18344 Set completion-at-point-functions, rather than
18345 comint-dynamic-complete-functions.
18347 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
18348 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
18349 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
18351 * image.el (image-animated-p): Tweak definition.
18353 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
18354 (rlogin-process-connection-type): Tweak default. Add set-after.
18355 (rlogin-host): Doc fix.
18356 (rlogin): Tweak prompt.
18357 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
18359 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
18360 * progmodes/tcl.el (inferior-tcl-mode-map):
18361 Use completion-at-point rather than obsolete alias.
18363 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
18365 * minibuffer.el (read-file-name-completion-ignore-case):
18366 Move before completion--in-region, for eager macro expansion.
18368 2013-05-29 Juri Linkov <juri@jurta.org>
18370 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
18371 for total count of matching lines. Add `global-matches' for total
18372 count of matches. Rename `matches' to `lines' for count of
18373 matching lines. Add `matches' for count of matches.
18374 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
18375 to `prev-line' for line number of prev match endpt.
18376 Increment `matches' for every match. Print the number of
18377 matching lines in the header.
18378 (occur-context-lines): Rename `lines' to `curr-line'.
18379 Rename `prev-lines' to `prev-line'. (Bug#14017)
18381 2013-05-29 Juri Linkov <juri@jurta.org>
18383 * replace.el (perform-replace): Add `skip-read-only-count',
18384 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
18385 Increment them for corresponding conditions and report the number
18386 of skipped occurrences in the final message. (Bug#11746)
18387 (query-replace, query-replace-regexp, query-replace-regexp-eval)
18388 (replace-string, replace-regexp): Doc fix.
18390 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
18392 * emacs-lisp/trace.el (trace--read-args): Provide a default.
18394 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
18395 prog-mode-map (bug#14504).
18397 2013-05-29 Leo Liu <sdl.web@gmail.com>
18399 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
18400 (octave-help): Small simplification.
18402 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
18403 off the highlight first.
18405 2013-05-29 Glenn Morris <rgm@gnu.org>
18407 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
18408 Handle idlwave-last-system-routine-info-cons-cell being nil.
18410 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
18411 (idlwave-write-paths): Simplify via with-temp-buffer.
18413 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
18414 * emulation/cua-rect.el: Also load cua-base at run time.
18416 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
18417 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
18418 (cperl-imenu-on-info): Require imenu.
18420 2013-05-28 Alan Mackenzie <acm@muc.de>
18422 Handle "capitalised keywords" correctly.
18423 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
18425 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
18427 * eshell/em-unix.el: Add -r option to cp.
18429 2013-05-28 Glenn Morris <rgm@gnu.org>
18431 * vc/vc-arch.el (vc-exec-after): Declare.
18432 (vc-switches): Autoload.
18433 * vc/vc-bzr.el: No need to require vc when compiling.
18434 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
18435 (vc-resynch-buffer, vc-dir-refresh): Declare.
18436 (vc-setup-buffer, vc-switches): Autoload.
18437 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
18438 (vc-resynch-buffer): Declare.
18439 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
18440 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
18441 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
18442 (grep-read-regexp, grep-read-files, grep-expand-template)
18443 (vc-dir-refresh): Declare.
18444 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
18445 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
18446 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
18447 * vc/vc-mtn.el (vc-exec-after): Declare.
18448 (vc-switches): Autoload.
18449 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
18450 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
18451 (vc-file-tree-walk): Declare.
18452 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
18453 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
18454 (vc-tag-precondition, vc-rename-master): Autoload.
18455 * vc/vc-svn.el (vc-exec-after): Declare.
18456 (vc-switches, vc-setup-buffer): Autoload.
18457 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
18459 (vc-resynch-buffer): Declare.
18461 * obsolete/fast-lock.el (byte-compile-warnings):
18462 Don't warn about obsolete features in this obsolete file.
18464 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
18465 Move definition before use.
18467 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
18468 (dun-unix-verbs): Remove dun-zippy.
18469 (dun-zippy): Remove function.
18471 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
18473 2013-05-27 Juri Linkov <juri@jurta.org>
18475 * replace.el (replace-search): New function with code moved out
18476 from `perform-replace'.
18477 (replace-highlight, replace-dehighlight): Move function definitions
18478 up closer to `replace-search'. (Bug#11746)
18480 2013-05-27 Juri Linkov <juri@jurta.org>
18482 * replace.el (perform-replace): Ignore invisible matches.
18483 In addition to checking `query-replace-skip-read-only', also
18484 filter out matches by calling `run-hook-with-args-until-failure'
18485 on `isearch-filter-predicates', and also check `search-invisible'
18486 for t or call `isearch-range-invisible'.
18487 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
18489 2013-05-27 Juri Linkov <juri@jurta.org>
18491 * isearch.el (isearch-filter-predicates): Rename from
18492 `isearch-filter-predicate'. Doc fix. (Bug#11378)
18493 (isearch-message-prefix): Display text from the property
18494 `isearch-message-prefix' of the currently active filters.
18495 (isearch-search): Don't compare `isearch-filter-predicate' with
18496 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
18497 on `isearch-filter-predicates'. Also check `search-invisible' for t
18498 or call `isearch-range-invisible'.
18499 (isearch-filter-visible): Make obsolete.
18500 (isearch-lazy-highlight-search):
18501 Call `run-hook-with-args-until-failure' on
18502 `isearch-filter-predicates' and use `isearch-range-invisible'.
18504 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
18505 `isearch-filter-predicates' instead of `funcall'ing
18506 `isearch-filter-predicate'.
18507 (Info-mode): Set `Info-isearch-filter' to
18508 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
18510 * dired-aux.el (dired-isearch-filter-predicate-orig):
18512 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
18513 (dired-isearch-filenames-end): Add and remove
18514 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
18515 instead of changing the value of `isearch-filter-predicate'.
18516 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
18517 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
18518 Put property `isearch-message-prefix' to "filename " on
18519 `dired-isearch-filter-filenames'.
18521 * wdired.el (wdired-change-to-wdired-mode):
18522 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
18523 locally instead of changing `isearch-filter-predicate'.
18524 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
18526 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
18528 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
18529 return the commit hash (Bug#14459). Also set the
18530 `vc-git-detached' property.
18531 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
18532 (vc-git-mode-line-string): Use the same help-echo format whether
18533 in detached mode or not, because we know the actual revision now.
18534 When in detached mode, shorten the revision to 7 chars.
18536 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18538 * emacs-lisp/easy-mmode.el (define-minor-mode):
18539 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
18540 mode hook and provide a docstring.
18542 2013-05-27 Alan Mackenzie <acm@muc.de>
18544 Remove spurious syntax-table text properties inserted by C-y.
18545 * progmodes/cc-mode.el (c-after-change): Also clear hard
18546 syntax-table property with value nil.
18548 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
18550 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
18551 when reading the events; the buffer layout shall not be changed.
18553 2013-05-27 Leo Liu <sdl.web@gmail.com>
18555 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
18557 (inferior-octave-directory-tracker): Automatically re-sync
18559 (octave-help): Improve handling of 'See also'.
18561 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
18563 * doc-view.el: Minor naming convention tweaks.
18564 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
18566 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
18567 even if there's no `display' property yet (bug#14435).
18569 2013-05-25 Eli Zaretskii <eliz@gnu.org>
18571 * subr.el (unmsys--file-name): Rename from reveal-filename.
18573 * Makefile.in (custom-deps, finder-data, autoloads)
18574 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
18575 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
18576 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
18578 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18580 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
18581 error-completion on the first 2 args of condition-case (bug#14446).
18584 2013-05-25 Leo Liu <sdl.web@gmail.com>
18586 * comint.el (comint-previous-matching-input): Do not flood the
18587 *Messages* buffer with trivial messages.
18589 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
18591 * progmodes/flymake.el (flymake-nop): Don't return a string.
18592 (flymake-set-at): Fix typo.
18594 * simple.el (read--expression): New function, extracted from
18595 eval-expression. Set completion-at-point-functions (bug#14465).
18596 (eval-expression, eval-minibuffer): Use it.
18598 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
18600 * progmodes/flymake.el (flymake-save-buffer-in-file)
18601 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
18602 (flymake-selected-frame, flymake-log, flymake-ins-after)
18603 (flymake-set-at, flymake-get-buildfile-from-cache)
18604 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
18605 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
18606 Refine the doc string.
18607 (flymake-get-file-name-mode-and-masks): Reformat.
18608 (flymake-get-real-file-name-function): Fix a minor bug.
18610 2013-05-24 Juri Linkov <juri@jurta.org>
18612 * progmodes/grep.el (grep-mode-font-lock-keywords):
18613 Support =linenumber= format used by git-grep for lines with
18614 function names. (Bug#13549)
18616 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18618 * progmodes/octave.el (octave-smie-rules): Return nil rather than
18619 0 after a semi-colon; it works better for smie-auto-fill.
18620 (octave--indent-new-comment-line): New function.
18621 (octave-indent-new-comment-line): Use it (indirectly).
18622 (octave-mode): Don't disable smie-auto-fill. Use add-function to
18623 modify comment-line-break-function.
18625 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
18626 (smie-setup): Use add-function to set it.
18628 2013-05-24 Sam Steingold <sds@gnu.org>
18630 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
18631 argument (before the `interactive' argument).
18633 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18635 * image-mode.el (image-mode-winprops): Add winprops to
18636 image-mode-winprops-alist before running
18637 image-mode-new-window-functions.
18638 * doc-view.el (doc-view-new-window-function): Don't delay
18639 doc-view-goto-page via timers (bug#14435).
18641 2013-05-24 Tassilo Horn <tsdh@gnu.org>
18643 * doc-view.el: Integrate with desktop.el. (Bug#14435)
18644 (doc-view-desktop-save-buffer): New function.
18645 (doc-view-restore-desktop-buffer): New function.
18646 (desktop-buffer-mode-handlers):
18647 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
18649 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
18650 `desktop-save-buffer' function.
18652 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
18654 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
18655 (tramp-gvfs-file-name-handler): Raise a user error when
18656 `tramp-gvfs-enabled' is nil.
18657 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
18658 Do not raise a user error when loading package. (Bug#14447)
18660 * net/xesam.el: Move to obsolete/.
18662 2013-05-24 Glenn Morris <rgm@gnu.org>
18664 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
18666 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
18668 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
18669 (Info-find-node, Man-getpage-in-background): Declare.
18671 * mail/unrmail.el (unrmail):
18672 Replace obsolete detect-coding-with-priority.
18674 * net/socks.el (socks-split-string): Use this rather than split-string.
18675 (socks-nslookup-host): Update for above change.
18676 (dynamic-choice, s5-dynamic-choice-match)
18677 (s5-dynamic-choice-match-inline, s5-widget-value-create):
18678 Comment out unused code.
18680 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
18681 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
18682 (gud-tooltip-echo-area): Make obsolete.
18683 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
18685 * progmodes/js.el (js--optimize-arglist): Declare.
18687 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
18689 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
18690 (ediff-window-C): Declare.
18692 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
18693 Tweak requires to silence compiler.
18695 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
18696 (he-search-string, he-tried-table, he-expand-list)
18697 (he-init-string, he-string-member, he-substitute-string)
18698 (he-reset-string): Declare.
18700 * obsolete/options.el (list-options): Use custom-variable-p,
18701 rather than obsolete alias.
18703 2013-05-23 Sam Steingold <sds@gnu.org>
18705 * simple.el (shell-command-on-region): Pass the `replace' argument
18706 down to `call-process-region' to comply with the doc as reported on
18707 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
18709 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18711 * emacs-lisp/smie.el (smie-indent-forward-token)
18712 (smie-indent-backward-token): Handle string tokens (bug#14381).
18714 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18716 * ielm.el (ielm-menu): New menu.
18717 (inferior-emacs-lisp-mode): Set comment-start.
18719 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18721 * textmodes/reftex.el (reftex-ref-style-toggle):
18722 Fix deactivate action.
18724 * textmodes/reftex-vars.el (reftex-ref-style-alist):
18725 Add cleveref macros.
18727 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
18728 Accept options for bibliography commands.
18729 * textmodes/reftex-vars.el (reftex-bibliography-commands):
18730 Add addbibresource. Basic Biblatex support.
18732 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
18734 * net/tramp-gvfs.el (top):
18735 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
18736 when loading package. (Bug#14447)
18738 2013-05-23 Glenn Morris <rgm@gnu.org>
18740 * progmodes/js.el: No need to load comint when compiling.
18741 (ring-insert, comint-send-string, comint-send-input)
18742 (comint-last-input-end, ido-chop): Declare.
18744 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
18745 * vc/ediff-mult.el: Adjust requires.
18746 (ediff-directories-internal, ediff-directory-revisions-internal)
18747 (ediff-patch-file-internal): Declare.
18748 * vc/ediff-ptch.el: Adjust requires.
18749 (ediff-use-last-dir, ediff-buffers-internal): Declare.
18750 (ediff-find-file): Autoload.
18751 * vc/ediff-util.el: No need to load ediff when compiling.
18752 (ediff-regions-internal): Declare.
18753 * vc/ediff-wind.el: Adjust requires.
18754 (ediff-compute-toolbar-width): Define when compiling.
18755 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
18756 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
18757 (dired-get-filename, dired-get-marked-files)
18758 (ediff-last-dir-patch, ediff-patch-default-directory)
18759 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
18760 (ediff-patch-buffer-internal): Declare.
18762 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
18763 (ispell-process, ispell-buffer-local-words, lm-summary)
18764 (lm-section-start, lm-section-end): Declare.
18765 (checkdoc-ispell-init): Simplify.
18767 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
18768 (he-string-member, he-reset-string, he-substitute-string): Declare.
18770 * eshell/em-ls.el: Adjust requires.
18771 (eshell-glob-regexp): Declare.
18772 * eshell/em-tramp.el: Adjust requires.
18773 (eshell-parse-command): Autoload.
18774 * eshell/em-xtra.el: Adjust requires.
18775 (eshell-parse-command): Autoload.
18776 * eshell/esh-ext.el: Adjust requires.
18777 (eshell-parse-command, eshell-close-handles): Autoload.
18778 * eshell/esh-io.el: Adjust requires.
18779 (eshell-output-filter): Autoload.
18780 * eshell/esh-util.el: No need to load tramp when compiling.
18781 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
18783 (eshell-parse-ange-ls): Require ange-ftp and tramp.
18784 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
18785 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
18786 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
18787 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
18788 * eshell/esh-opt.el, eshell/esh-proc.el:
18789 * eshell/esh-var.el: Adjust requires.
18790 * eshell/eshell.el: Do not require esh-util twice.
18791 (eshell-add-input-to-history): Declare.
18792 (eshell-command): Check history module is active before using it.
18794 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
18796 2013-05-22 Leo Liu <sdl.web@gmail.com>
18798 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
18800 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
18802 * autorevert.el (auto-revert-notify-add-watch)
18803 (auto-revert-notify-handler): Add `attrib' for the inotify case,
18804 it indicates changes in file modification time.
18806 2013-05-22 Glenn Morris <rgm@gnu.org>
18808 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18809 Always delete the autoloaded function from the noruntime and
18810 unresolved functions lists.
18812 * allout.el: No need to load epa, epg, overlay when compiling.
18813 (epg-context-set-passphrase-callback, epg-list-keys)
18814 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
18815 (epg-key-user-id-list): Declare.
18817 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18818 (viper-set-parsing-style-toggling-macro)
18819 (viper-set-emacs-state-searchstyle-macros):
18820 Use called-interactively-p on Emacs.
18821 (viper-looking-back): Make it an obsolete alias. Update callers.
18822 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
18823 Use looking-back rather than viper-looking-back.
18824 (viper-tmp-insert-at-eob, viper-enlarge-region)
18825 (viper-read-string-with-history, viper-register-to-point)
18826 (viper-append-to-register, viper-change-state-to-vi)
18827 (viper-backward-char-carefully, viper-forward-char-carefully)
18828 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
18829 (viper-change-state-to-emacs): Declare.
18830 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
18831 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
18832 * emulation/viper-mous.el: Do not load viper-cmd.
18833 (viper-backward-char-carefully, viper-forward-char-carefully)
18834 (viper-forward-word, viper-adjust-window): Declare.
18836 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
18838 * progmodes/idlw-help.el (idlwave-help-fontify):
18839 Use called-interactively-p.
18841 * term/w32console.el (w32-get-console-codepage)
18842 (w32-get-console-output-codepage): Declare.
18844 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
18845 Remove unnecessary declarations.
18846 (dframe-message): Doc fix.
18848 * info.el (dframe-select-attached-frame, dframe-current-frame):
18851 * speedbar.el (speedbar-message): Make it an obsolete alias.
18852 Update all callers.
18853 (speedbar-with-attached-buffer)
18854 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
18855 (speedbar-with-writable): Use backquote.
18856 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
18857 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
18858 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
18859 rather than speedbar- aliases.
18860 * mail/rmail.el: Load dframe rather than speedbar when compiling.
18861 (speedbar-make-specialized-keymap, speedbar-insert-button)
18862 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
18863 (speedbar-do-function-pointer): Declare.
18864 (rmail-speedbar-button, rmail-speedbar-find-file)
18865 (rmail-speedbar-move-message):
18866 Use dframe-with-attached-buffer rather than speedbar- alias.
18867 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
18868 (dframe-message, speedbar-make-specialized-keymap)
18869 (speedbar-add-expansion-list, speedbar-mode-functions-list)
18870 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
18871 (speedbar-insert-button, dframe-select-attached-frame)
18872 (dframe-maybee-jump-to-attached-frame)
18873 (speedbar-change-initial-expansion-list)
18874 (speedbar-previously-used-expansion-list-name): Declare.
18875 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
18876 Use dframe-message, dframe-with-attached-buffer rather than
18878 (gud-sentinel): Silence compiler.
18879 * progmodes/vhdl-mode.el (speedbar-refresh)
18880 (speedbar-do-function-pointer, speedbar-add-supported-extension)
18881 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
18882 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
18883 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
18884 (speedbar-file-lists, speedbar-make-tag-line)
18885 (speedbar-line-directory, speedbar-goto-this-file)
18886 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
18887 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
18888 (speedbar-make-button, speedbar-reset-scanners)
18889 (speedbar-files-item-info, speedbar-line-text)
18890 (speedbar-find-file-in-frame, speedbar-set-timer)
18891 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
18892 (speedbar-with-writable): Do not (re)define it.
18893 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
18894 rather than speedbar- alias.
18896 2013-05-21 Leo Liu <sdl.web@gmail.com>
18898 * progmodes/octave.el (octave-mode-menu): Update and re-organize
18900 (octave-mode): Tweak fill-nobreak-predicate.
18901 (inferior-octave-startup): Check process to avoid infinite loop.
18902 (inferior-octave): Pop to buffer first to show abornmal process
18905 2013-05-21 Glenn Morris <rgm@gnu.org>
18907 * printing.el (pr-menu-bar): Define when compiling.
18909 2013-05-21 Leo Liu <sdl.web@gmail.com>
18911 * progmodes/octave.el (octave-auto-fill): Remove.
18912 (octave-indent-new-comment-line): Improve.
18913 (octave-mode): Use auto fill mode through
18914 comment-line-break-function and fill-nobreak-predicate.
18915 (octave-goto-function-definition): Support DEFUN_DLD.
18916 (octave-beginning-of-defun): Small tweak.
18917 (octave-help): Show parent directory.
18919 2013-05-21 Glenn Morris <rgm@gnu.org>
18921 * files.el (dired-unmark):
18922 * progmodes/gud.el (gdb-input): Update declarations.
18924 * calculator.el (electric, ehelp): No need to load when compiling.
18925 (Electric-command-loop, electric-describe-mode): Declare.
18927 * doc-view.el (doc-view-current-converter-processes): Move before use.
18929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18930 Move MODE-set-explicitly definition before use.
18932 * international/mule-diag.el (mule-diag):
18933 Don't use obsolete window-system-version.
18935 * mail/feedmail.el (smtpmail): No need to load when compiling.
18936 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
18938 * mail/mail-utils.el (rfc822): No need to load when compiling.
18939 (rfc822-addresses): Autoload it.
18940 (mail-strip-quoted-names): Trivial simplification.
18942 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
18943 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
18945 * net/snmp-mode.el (tempo): Don't duplicate requires.
18947 * progmodes/prolog.el (info): No need to load when compiling.
18948 (comint): Require before shell requires it.
18949 (Info-goto-node): Autoload it.
18950 (Info-follow-nearest-node): Declare.
18951 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
18953 * textmodes/artist.el (picture-mode-exit): Declare.
18955 * textmodes/reftex-parse.el (reftex-parse-from-file):
18956 Trivial rewrite so the compiler can parse it better.
18958 2013-05-20 Leo Liu <sdl.web@gmail.com>
18960 * progmodes/octave.el (octave-help-mode-map)
18961 (octave-help-mode-finish-hook): New variables.
18962 (octave-help-mode, octave-help-mode-finish): New functions.
18963 (octave-help): Use octave-help-mode.
18965 2013-05-20 Glenn Morris <rgm@gnu.org>
18967 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
18969 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
18971 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
18972 start at point, so that expansion starting right after opening
18973 slash in a regexp is recognized.
18974 (ruby-syntax-before-regexp-re): New defvar, extracted from
18975 ruby-syntax-propertize-function. Since the value of this regexp
18976 is looked up at runtime now, we should be able to turn
18977 `ruby-syntax-methods-before-regexp' into a defcustom later.
18978 (ruby-syntax-propertize-function): Split regexp matching into two
18979 parts, for opening and closing slashes. That allows us to skip
18980 over string interpolations and support multiline regexps.
18981 Don't call `ruby-syntax-propertize-expansions', instead use another rule
18982 for them, which calls `ruby-syntax-propertize-expansion'.
18983 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
18984 call to `ruby-syntax-propertize-function'.
18985 (ruby-syntax-propertize-expansion): Extracted from
18986 `ruby-syntax-propertize-expansions'. Handles one expansion.
18987 (ruby-syntax-propertize-percent-literal): Leave point right after
18988 the percent symbol, so that the expression expansion rule can
18989 propertize the contents.
18990 (ruby-syntax-propertize-heredoc): Leave point at bol following the
18992 (ruby-syntax-propertize-expansions): Remove.
18994 2013-05-18 Juri Linkov <juri@jurta.org>
18996 * man.el (Man-default-man-entry): Remove `-' from the end
18997 of the default value. (Bug#14400)
18999 2013-05-18 Glenn Morris <rgm@gnu.org>
19001 * comint.el (comint-password-prompt-regexp):
19002 Allow "password for XXX" where XXX contains colons (eg https://...).
19004 2013-05-18 Leo Liu <sdl.web@gmail.com>
19006 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
19007 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
19008 (octave-source-directories): Don't check process.
19009 (octave-source-directories, octave-find-definition): Doc fix.
19011 2013-05-18 Glenn Morris <rgm@gnu.org>
19013 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
19014 Remove backspace/delete bindings. (Bug#14392)
19016 * cus-dep.el (custom-make-dependencies): Sort the output.
19017 (custom-versions-load-alist): Convert comment to doc.
19019 2013-05-17 Leo Liu <sdl.web@gmail.com>
19021 * newcomment.el (comment-search-backward): Stricter in finding
19022 comment start. (Bug#14303)
19024 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
19025 (octave-comment-start-skip): Properly anchored.
19027 2013-05-17 Leo Liu <sdl.web@gmail.com>
19029 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
19030 Clean up when turned off. (Bug#14395)
19031 (smie--highlight-matching-block-overlay): No longer buffer-local.
19032 (smie-highlight-matching-block): Adjust.
19034 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
19036 Doc string fix for "nanoseconds" (Bug#14406).
19037 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
19038 Fix doc string typo that had "nanoseconds" instead of "microseconds".
19040 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
19042 * calc/calc-units.el (math-extract-units): Preserve powers
19045 2013-05-17 Leo Liu <sdl.web@gmail.com>
19047 * subr.el (delete-consecutive-dups): New function.
19048 * ido.el (ido-set-matches-1): Use it.
19049 * progmodes/octave.el (inferior-octave-completion-table): Use it.
19050 * ido.el (ido-remove-consecutive-dups): Remove.
19052 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19054 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19055 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
19056 regexp-opt's `words'.
19058 2013-05-16 Leo Liu <sdl.web@gmail.com>
19060 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
19061 (smie--highlight-matching-block-overlay)
19062 (smie--highlight-matching-block-lastpos)
19063 (smie--highlight-matching-block-timer): New variables.
19064 (smie-highlight-matching-block): New function.
19065 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
19066 (smie-setup): Conditionally enable smie-blink-matching-open.
19068 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
19070 Sync with upstream verilog-mode r840.
19071 * progmodes/verilog-mode.el (verilog-mode-version)
19072 (verilog-mode-release-date): Update.
19073 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
19074 (verilog-sig-tieoff): Fix string error on
19075 AUTORESET with colon define, bug594. Reported by Andrew Hou.
19076 (verilog-read-decls): Fix parameters confusing
19077 AUTOINST interfaces, bug565. Reported by Leith Johnson.
19079 2013-05-16 Eli Zaretskii <eliz@gnu.org>
19081 * subr.el (reveal-filename): New function.
19083 * loadup.el: Compute Emacs executable versions on MS-Windows,
19084 where executables have the .exe extension. Add a hard link
19085 emacs-XX.YY.ZZ.exe on MS-Windows.
19087 * Makefile.in (XARGS_LIMIT): New variable.
19088 (custom-deps, finder-data, autoloads)
19089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
19090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
19091 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
19092 (compile-main): Limit xargs according to $(XARGS_LIMIT).
19094 2013-05-16 Leo Liu <sdl.web@gmail.com>
19096 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
19097 (octave-mode-menu, octave-mode-map): Remove its uses.
19099 2013-05-16 Reto Zimmermann <reto@gnu.org>
19101 Sync with upstream vhdl mode v3.34.2.
19102 * progmodes/vhdl-mode.el: Use `push' throughout.
19103 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
19104 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
19105 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
19106 (vhdl-actual-generic-name): New option to derive actual generic name.
19107 (vhdl-port-paste-signals): Replace formal by actual generics.
19108 (vhdl-beautify): New name for old group vhdl-align. Update users.
19109 (vhdl-beautify-options): New option.
19110 (vhdl-last-input-event): New compat alias. Use throughout.
19111 (vhdl-goto-line): Replace user level function `goto-line'.
19112 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
19113 vhdl-fix-statement-buffer.
19114 (vhdl-create-mode-menu): Add some entries.
19115 (vhdl-align-region-groups): Respect vhdl-beautify-options.
19116 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
19117 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
19118 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
19119 to force statements on one line.
19120 (vhdl-remove-trailing-spaces-region):
19121 New, split from vhdl-remove-trailing-spaces.
19122 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
19123 Respect vhdl-beautify-options.
19124 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
19125 (vhdl-update-sensitivity-list): Not add with index if exists without.
19126 Not include array index with signal. Ignore keywords in comments.
19127 (vhdl-get-visible-signals): Regexp tweaks.
19128 (vhdl-template-component-inst): Handle empty library.
19129 (vhdl-template-type): Add template for 'enum' type.
19130 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
19131 Use vhdl-replace-string.
19132 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
19133 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
19134 (vhdl-speedbar-initialize): Update for above name change.
19135 (vhdl-compose-wire-components): Fix in handling of constants.
19136 (vhdl-error-regexp-emacs-alist): New variable.
19137 (vhdl-error-regexp-add-emacs): New function;
19138 adds support for new compile.el (Emacs 22+)
19139 (vhdl-generate-makefile-1): Change target order for single lib. units.
19140 Allow use of absolute file names.
19142 2013-05-16 Leo Liu <sdl.web@gmail.com>
19144 * simple.el (prog-indent-sexp): Indent enclosing defun.
19146 2013-05-15 Glenn Morris <rgm@gnu.org>
19148 * cus-start.el (show-trailing-whitespace): Move to editing basics.
19149 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
19150 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
19151 (whitespace-highlight): Move to whitespace group.
19153 * comint.el (comint-source):
19154 * pcmpl-linux.el (pcmpl-linux):
19155 * shell.el (shell-faces):
19156 * eshell/esh-opt.el (eshell-opt):
19157 * international/ccl.el (ccl): Remove empty custom groups.
19159 * completion.el (dynamic-completion-mode):
19160 * jit-lock.el (jit-lock-debug-mode):
19161 * minibuffer.el (completion-in-region-mode):
19162 * type-break.el (type-break-mode-line-message-mode)
19163 (type-break-query-mode):
19164 * emulation/tpu-edt.el (tpu-edt-mode):
19165 * progmodes/subword.el (global-subword-mode, global-superword-mode):
19166 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19167 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
19169 * term/xterm.el (xterm): Change parent group to terminals.
19171 * master.el (master): Remove empty custom group.
19172 (master-mode): Remove unused :group argument.
19173 * textmodes/refill.el (refill): Remove empty custom group.
19174 (refill-mode): Remove unused :group argument.
19176 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
19178 * cus-dep.el: Provide a feature.
19179 (custom-make-dependencies): Ignore dotfiles (dir-locals).
19180 Don't mistakenly ignore files whose basenames match a basename
19181 from preloaded-file-list (eg cedet/ede/simple.el).
19182 Add a fallback method for getting :group.
19184 2013-05-15 Juri Linkov <juri@jurta.org>
19186 * isearch.el (isearch-char-by-name): Rename from
19187 `isearch-insert-char-by-name'. Doc fix.
19188 (isearch-forward): Mention `isearch-char-by-name' in
19189 the docstring. (Bug#13348)
19191 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
19192 `exit-minibuffer' instead of
19193 `isearch-nonincremental-exit-minibuffer'.
19194 (isearch-edit-string): Remove mention of
19195 `isearch-nonincremental-exit-minibuffer' from docstring.
19196 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
19197 (isearch-forward-exit-minibuffer)
19198 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
19200 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19202 * loadup.el: Just use unversioned DOC.
19204 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
19205 literals as extending to EOB.
19206 (nxml-last-fontify-end): Remove unused variable.
19207 (nxml-after-change1): Use with-silent-modifications.
19208 (nxml-extend-after-change-region): Simplify.
19209 (nxml-extend-after-change-region1): Remove function.
19210 (nxml-after-change1): Don't adjust for dependent regions.
19211 (nxml-fontify-matcher): Simplify.
19212 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
19213 (xmltok-add-dependent): Remove function.
19214 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
19215 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
19216 (xmltok-scan-prolog-after-processing-instruction-open): Treat
19217 unclosed <[[, <?, comment, and other literals as extending to EOB.
19218 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
19219 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
19221 (rng-do-some-validation-1): Don't mark dependent regions.
19222 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
19223 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
19224 (nxml-clear-dependent-regions): Remove functions.
19225 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
19226 (nxml-ensure-scan-up-to-date):
19227 Don't clear&mark dependent regions.
19229 2013-05-15 Leo Liu <sdl.web@gmail.com>
19231 * progmodes/octave.el (octave-goto-function-definition):
19232 Improve and fix callers.
19234 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
19236 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
19237 the setter (bug#14387).
19239 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
19240 surrounding group (bug#14402).
19242 2013-05-14 Juri Linkov <juri@jurta.org>
19244 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
19247 2013-05-14 Glenn Morris <rgm@gnu.org>
19249 * progmodes/f90.el (f90-imenu-generic-expression):
19250 Fix typo in 2013-05-08 change. (Bug#14402)
19252 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19254 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
19255 Remove signals for which replies are never received.
19257 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19259 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
19260 (gdb-handler-alist, gdb-handler-number): Remove variables.
19261 (gdb-handler-list): New variable.
19262 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
19263 (gdb-pending-handler-p, gdb-handle-reply)
19264 (gdb-remove-all-pending-triggers): New functions.
19265 (gdb-discard-unordered-replies): New defcustom.
19266 (gdb-handler): New defstruct.
19267 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
19268 instead of gdb-pending-triggers. Update docstring.
19269 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
19270 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
19271 (gdb-var-update-handler, def-gdb-auto-update-trigger)
19272 (def-gdb-auto-update-handler, gdb-get-changed-registers)
19273 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
19274 (gdb-frame-handler): Pending triggers are now automatically managed.
19275 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
19277 (gdb-input): Automatically handles pending triggers. Update docstring.
19278 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
19279 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
19281 (gdb-done-or-error): Now use gdb-handle-reply.
19283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
19285 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
19288 2013-05-14 Glenn Morris <rgm@gnu.org>
19290 * subr.el (user-emacs-directory-warning): New option.
19291 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
19293 2013-05-14 Leo Liu <sdl.web@gmail.com>
19295 * progmodes/octave.el (octave-font-lock-keywords): Fix error
19297 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
19298 (octave-font-lock-texinfo-comment): Fix invalid search bound
19299 error: wrong side of point.
19301 2013-05-14 Glenn Morris <rgm@gnu.org>
19303 * progmodes/flymake.el (flymake-xml-program): New option.
19304 (flymake-xml-init): Use it.
19306 * term/xterm.el: Provide a feature.
19308 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
19310 2013-05-13 Glenn Morris <rgm@gnu.org>
19312 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
19313 Add compat aliases as a hack workaround. (Bug#14384)
19315 2013-05-13 Leo Liu <sdl.web@gmail.com>
19317 * progmodes/octave.el (octave-indent-comment): Fix indentation for
19319 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
19321 (octave-comment-start-skip): Include %!.
19322 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
19324 2013-05-12 Leo Liu <sdl.web@gmail.com>
19326 * progmodes/octave.el (inferior-octave-startup): Store the value
19327 of __octave_srcdir__ for octave-source-directories.
19328 (inferior-octave-check-process): New function refactored out of
19329 inferior-octave-send-list-and-digest.
19330 (octave-source-directories)
19331 (octave-find-definition-filename-function): New variables.
19332 (octave-source-directories)
19333 (octave-find-definition-default-filename): New functions.
19334 (octave-find-definition): Improve to find functions implemented in C++.
19336 2013-05-12 Glenn Morris <rgm@gnu.org>
19338 * calendar/diary-lib.el (diary-outlook-format-1):
19339 Don't include dayname in the output. (Bug#14349)
19341 2013-05-11 Glenn Morris <rgm@gnu.org>
19343 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
19345 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
19346 Treat cc-provide like provide.
19348 2013-05-11 Kevin Ryde <user42@zip.com.au>
19350 * cus-dep.el (custom-make-dependencies):
19351 Use generated-autoload-load-name for the sake of files such
19352 such cedet/semantic/bovine/c.el, where the base file name
19353 is not in load-path. (Bug#5277)
19355 2013-05-11 Glenn Morris <rgm@gnu.org>
19357 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
19360 2013-05-11 Leo Liu <sdl.web@gmail.com>
19362 * progmodes/octave.el (octave-indent-comment): Improve.
19363 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
19364 (octave-eldoc-function-signatures, octave-eldoc-function):
19366 (octave-mode, inferior-octave-mode): Add eldoc support.
19368 2013-05-11 Richard Stallman <rms@gnu.org>
19370 * epa.el (epa-decrypt-file): Take output file name as argument
19371 and read it using `interactive'.
19373 2013-05-11 Leo Liu <sdl.web@gmail.com>
19375 * progmodes/octave.el (octave-beginning-of-line)
19376 (octave-end-of-line): Check before using up-list because it jumps
19377 out of more syntactic contructs since moving to smie.
19378 (octave-indent-comment): New function.
19379 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
19380 (octave-begin-keywords, octave-end-keywords)
19381 (octave-reserved-words, octave-smie-bnf-table)
19382 (octave-smie-rules): Add new keywords from Octave 3.6.4.
19384 2013-05-11 Glenn Morris <rgm@gnu.org>
19386 * faces.el (internal-face-x-get-resource):
19387 * frame.el (ns-display-monitor-attributes-list):
19388 * calc/calc-aent.el (math-to-radians-2):
19389 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19392 * calc/calc-menu.el: Make it loadable in isolation.
19394 * net/eudcb-bbdb.el: Make it loadable without bbdb.
19395 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
19396 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
19397 (eudc-bbdb-query-internal): Require 'bbdb.
19399 * lpr.el (lpr-headers-switches):
19400 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
19402 * progmodes/sql.el (sql-login-params): Fix and improve :type.
19404 * emulation/edt-mapper.el: In batch mode, error rather than hang.
19406 * term.el (term-set-escape-char): Make it idempotent.
19408 2013-05-10 Leo Liu <sdl.web@gmail.com>
19410 * progmodes/octave.el (inferior-octave-completion-table):
19411 No longer a function and all uses changed. Use cache to speed up
19412 completion due to bug#11906.
19413 (octave-beginning-of-defun): Re-write to be more general.
19415 2013-05-10 Glenn Morris <rgm@gnu.org>
19417 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
19419 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
19421 * comint.el (comint-redirect-send-command-to-process): Use :around
19422 rather than :override for comint-redirect-filter.
19423 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
19424 Call it instead of comint-redirect-original-filter-function (which
19425 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
19427 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
19429 * frame.el (display-monitor-attributes-list): Add NS case.
19430 (ns-display-monitor-attributes-list): Declare.
19432 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
19434 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
19436 2013-05-09 Glenn Morris <rgm@gnu.org>
19438 * international/fontset.el (vertical-centering-font-regexp):
19439 Set standard-value.
19441 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
19443 * bookmark.el (bookmark-search-delay):
19444 * cus-start.el (vertical-centering-font-regexp):
19445 * ps-mule.el (ps-mule-font-info-database-default):
19446 * ps-print.el (ps-default-fg, ps-default-bg):
19447 * type-break.el (type-break-good-break-interval):
19448 * whitespace.el (whitespace-indentation-regexp)
19449 (whitespace-space-after-tab-regexp):
19450 * emacs-lisp/testcover.el (testcover-1value-functions)
19451 (testcover-noreturn-functions, testcover-progn-functions)
19452 (testcover-prog1-functions):
19453 * emulation/viper-init.el (viper-emacs-state-cursor-color):
19454 * eshell/em-glob.el (eshell-glob-translate-alist):
19455 * play/tetris.el (tetris-tty-colors):
19456 * progmodes/cpp.el (cpp-face-default-list):
19457 * progmodes/flymake.el (flymake-allowed-file-name-masks):
19458 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19459 (idlwave-help-browser-generic-args):
19460 * progmodes/make-mode.el (makefile-special-targets-list):
19461 * progmodes/python.el (python-shell-virtualenv-path):
19462 * progmodes/verilog-mode.el (verilog-active-low-regexp)
19463 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
19464 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
19465 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
19466 * textmodes/reftex-vars.el (reftex-format-label-function):
19467 * textmodes/remember.el (remember-diary-file): Fix custom types.
19469 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
19472 2013-05-09 Leo Liu <sdl.web@gmail.com>
19474 * progmodes/octave.el (inferior-octave-completion-at-point):
19475 Restore file completion. (Bug#14300)
19476 (inferior-octave-startup): Fix incorrect highlighting for the
19479 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19481 * progmodes/ruby-mode.el: First cut at SMIE support.
19482 (ruby-use-smie): New var.
19483 (ruby-smie-grammar): New constant.
19484 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
19485 (ruby-smie--forward-token, ruby-smie--backward-token)
19486 (ruby-smie-rules): New functions.
19487 (ruby-mode-variables): Setup SMIE if applicable.
19489 2013-05-08 Eli Zaretskii <eliz@gnu.org>
19491 * simple.el (line-move-visual): Signal beginning/end of buffer
19492 only if vertical-motion moved less than it was requested. Avoids
19493 silly incorrect error messages when there are display strings with
19494 multiple newlines at EOL.
19496 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19498 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
19499 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
19500 (prolog-char-quote-workaround):
19501 * progmodes/cperl-mode.el (cperl-under-as-char):
19502 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
19504 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
19506 (vhdl-mode-syntax-table-init): Remove.
19508 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
19511 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
19513 (ld-script-font-lock-keywords):
19514 Change regexps to use things like \_< and \_>.
19516 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
19517 Change all regexps to use things like \_< and \_>.
19519 * progmodes/autoconf.el (autoconf-definition-regexp)
19520 (autoconf-font-lock-keywords, autoconf-current-defun-function):
19521 Handle a _ with symbol syntax.
19522 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
19524 * progmodes/ada-mode.el (ada-mode-abbrev-table):
19525 Consolidate declaration.
19526 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
19528 (ada-create-syntax-table): Remove.
19529 (ada-capitalize-word): Don't mess with the syntax of "_" since it
19530 already has the right syntax nowadays.
19531 (ada-goto-next-word): Don't change the syntax of "_".
19533 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
19536 2013-05-08 Sam Steingold <sds@gnu.org>
19538 * thingatpt.el (thing-at-point): Accept optional second argument
19539 NO-PROPERTIES to strip the text properties from the return value.
19540 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
19541 to `thing-at-point' instead of stripping the properties ourselves.
19542 Also, when `thing-at-point' fails to find a url, prepend "http://"
19543 to the filename at point on the assumption that the user is
19544 pointing at something like gnu.org/gnu.
19546 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
19548 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
19549 * faces.el (crm-separator):
19550 Silence byte-compiler.
19552 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
19553 (tool-bar-map): Remove unneeded defvars.
19555 2013-05-08 Leo Liu <sdl.web@gmail.com>
19557 Re-work a fix for bug#10994 based on Le Wang's patch.
19558 * ido.el (ido-remove-consecutive-dups): New helper.
19559 (ido-completing-read): Use it.
19560 (ido-chop): Revert fix for bug#10994.
19562 2013-05-08 Adam Spiers <emacs@adamspiers.org>
19564 * cus-edit.el (custom-save-variables):
19565 Pretty-print long values. (Bug#14187)
19567 2013-05-08 Glenn Morris <rgm@gnu.org>
19569 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
19570 (m4-mode-syntax-table): Init in the defvar.
19571 (m4-mode-abbrev-table): Let define-derived-mode define it.
19573 2013-05-08 Tom Tromey <tromey@redhat.com>
19575 * progmodes/m4-mode.el (m4-mode-syntax-table):
19576 Do not treat "_" as word constituent. (Bug#14167)
19578 2013-05-07 Glenn Morris <rgm@gnu.org>
19580 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
19581 Remove explicit eshell-isearch-cancel-map.
19583 * progmodes/f90.el (f90-smart-end-names): New option.
19584 (f90-smart-end): Doc fix.
19585 (f90-end-block-optional-name): New constant.
19586 (f90-block-match): Respect f90-smart-end-names.
19588 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19590 * progmodes/octave.el (octave-smie-forward-token): Be more careful
19591 about implicit semi-colons (bug#14218).
19593 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
19595 * frame.el (display-monitor-attributes-list)
19596 (frame-monitor-attributes): New functions.
19598 2013-05-06 Leo Liu <sdl.web@gmail.com>
19600 * progmodes/octave.el (octave-syntax-propertize-function): Change
19601 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
19602 (octave-font-lock-keywords): Use octave-operator-regexp.
19603 (octave-completion-at-point): Rename from
19604 octave-completion-at-point-function.
19605 (inferior-octave-directory-tracker): Robustify.
19606 (octave-text-functions): Remove and fix its uses. No such things
19609 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19611 * emacs-lisp/trace.el (trace--display-buffer): New function.
19612 (trace-make-advice): Use it.
19614 2013-05-06 Juri Linkov <juri@jurta.org>
19616 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
19617 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
19619 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
19620 in the help string. (Bug#12985)
19622 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
19624 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
19626 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19628 * progmodes/perl-mode.el: Add support for here documents.
19629 (perl-syntax-propertize-function): Match here-doc markers.
19630 (perl-syntax-propertize-special-constructs): Find their end.
19631 (perl-imenu-generic-expression): Use [:alnum:].
19633 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
19634 (advice--add-function): Refresh the advice if already present
19637 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
19639 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
19641 2013-05-06 Glenn Morris <rgm@gnu.org>
19643 * w32-fns.el (w32-charset-info-alist): Declare.
19645 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
19646 of its defcustom properties.
19647 (eshell-cmpl-initialize): No need to load pcomplete.
19649 * generic-x.el: No need to require comint when compiling.
19651 * net/eudc-export.el: Make it loadable without bbdb.
19652 (top-level): Use require rather than load-library.
19653 (eudc-create-bbdb-record, eudc-bbdbify-phone)
19654 (eudc-batch-export-records-to-bbdb)
19655 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
19658 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19660 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
19661 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
19662 some tweaks, instead.
19664 2013-05-05 Leo Liu <sdl.web@gmail.com>
19666 * progmodes/octave.el (octave-font-lock-keywords)
19667 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
19668 (inferior-octave-send-list-and-digest): Improve error message.
19669 (octave-mode, inferior-octave-mode): Use setq-local.
19670 (octave-help): Set info-lookup-mode.
19672 2013-05-05 Richard Stallman <rms@gnu.org>
19674 * vc/compare-w.el (compare-windows-whitespace):
19675 Treat no-break space as whitespace.
19677 * mail/rmailsum.el (rmail-summary-rmail-update):
19678 Detect empty summary and don't change selected message.
19679 (rmail-summary-goto-msg): Likewise.
19681 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
19682 Doc fixes, rename args.
19684 2013-05-05 Alan Mackenzie <acm@muc.de>
19686 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
19688 2013-05-05 Juri Linkov <juri@jurta.org>
19690 * info.el (Info-read-subfile): Use (point-min) instead of (point)
19691 to not add the length of the summary segment to the return value.
19694 2013-05-05 Leo Liu <sdl.web@gmail.com>
19696 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
19697 (inferior-octave-output-filter): Remove.
19698 (octave-send-region, inferior-octave-startup): Fix callers.
19699 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
19700 (octave-binary-file-extensions): New user variable.
19701 (octave-find-definition): Confirm if opening binary files.
19702 (octave-help-file): Use octave-find-definition to get the binary
19704 (octave-help): Adjust for octave-help-file change.
19706 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19708 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
19709 Merge the two entries that handle function definitions.
19710 (pascal--syntax-propertize): New const.
19711 (pascal-mode): Use it. Use setq-local.
19713 2013-05-04 Glenn Morris <rgm@gnu.org>
19715 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
19716 (diary-from-outlook): Respect diary-from-outlook-function.
19718 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19720 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
19721 Move the declaration from C.
19722 (read-minibuffer, eval-minibuffer): Move from C.
19723 (completion-setup-function): Avoid minibuffer-completion-contents.
19725 2013-05-03 Leo Liu <sdl.web@gmail.com>
19727 * progmodes/octave.el (octave-font-lock-keywords): Do not
19728 dehighlight 'end' in comments or strings.
19729 (octave-completing-read, octave-goto-function-definition):
19731 (octave-help-buffer): New user variable.
19732 (octave-help-file, octave-help-function): New button types.
19733 (octave-help): New command and bind it to C-h ;.
19734 (octave-find-definition): New command and bind it to M-.
19735 (user-error): Alias to error if not defined.
19737 2013-05-02 Leo Liu <sdl.web@gmail.com>
19739 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
19741 (octave-font-lock-keywords): Include [ and {.
19743 2013-05-02 Leo Liu <sdl.web@gmail.com>
19745 * progmodes/octave.el (inferior-octave-startup-file): Change default.
19746 (inferior-octave): Remove calling comint-mode and return the buffer.
19747 (inferior-octave-startup): Cosmetic changes.
19749 2013-05-02 Leo Liu <sdl.web@gmail.com>
19751 * progmodes/octave.el (octave-syntax-propertize-function):
19752 Include the case when ' is at line beginning. (Bug#14336)
19754 2013-05-02 Glenn Morris <rgm@gnu.org>
19756 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
19757 * desktop.el (vc-dir-mode): Just autoload it here.
19759 2013-05-02 Alan Mackenzie <acm@muc.de>
19761 Eliminate variable c-standard-font-lock-fontify-region-function.
19762 * progmodes/cc-mode.el
19763 (c-standard-font-lock-fontify-region-function): Remove.
19764 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
19766 2013-05-01 Leo Liu <sdl.web@gmail.com>
19768 * progmodes/octave.el: Compatible with older emacs-24 releases.
19769 (inferior-octave-has-built-in-variables): Remove. Built-in
19770 variables were removed from Octave in 2007.
19771 (inferior-octave-startup): Fix uses.
19772 (comint-line-beginning-position): Remove compatibility code for
19775 2013-05-01 Juri Linkov <juri@jurta.org>
19777 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
19779 2013-05-01 Juri Linkov <juri@jurta.org>
19781 * comint.el (comint-previous-matching-input): Don't print message
19782 "History item: %d" when `isearch-mode' is active.
19783 (comint-history-isearch-message): Print message "History item: %d"
19784 when `comint-input-ring-index' is not empty and this function is
19785 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
19787 2013-05-01 Leo Liu <sdl.web@gmail.com>
19789 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
19790 definitions. Use completion-at-point to insert keywords.
19791 (octave-abbrev-start): Remove.
19792 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
19794 2013-04-30 Leo Liu <sdl.web@gmail.com>
19796 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
19799 2013-04-30 Alan Mackenzie <acm@muc.de>
19801 Handle arbitrarily long C++ member initialisation lists.
19802 * progmodes/cc-engine.el (c-back-over-member-initializers):
19804 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
19805 (most) member init lists.
19807 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
19809 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
19812 2013-04-30 Leo Liu <sdl.web@gmail.com>
19814 * progmodes/octave.el (octave-variables): Remove. No builtin
19815 variables any more. All converted to functions.
19816 (octave-font-lock-keywords, octave-completion-at-point-function):
19818 (octave-font-lock-texinfo-comment): New user variable.
19819 (octave-texinfo-font-lock-keywords): New variable for texinfo
19821 (octave-function-comment-block): New face.
19822 (octave-font-lock-texinfo-comment): New function.
19823 (octave-mode): Font lock texinfo comment block.
19825 2013-04-29 Leo Liu <sdl.web@gmail.com>
19827 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
19828 indexing expression.
19829 (octave-continuation-string): Do not use \.
19830 (inferior-octave-complete-impossible): Remove.
19831 (inferior-octave-completion-table)
19832 (inferior-octave-completion-at-point): Remove its uses.
19833 (inferior-octave-startup): completion_matches was introduced to
19834 Octave in 1996 so safe to assume it.
19835 (octave-function-file-comment): Improve to follow how Octave does it.
19836 (octave-update-function-file-comment): Tweak.
19838 2013-04-29 Leo Liu <sdl.web@gmail.com>
19840 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
19841 (inferior-octave-startup): Remove inferior-octave-startup-hook.
19842 (octave-function-file-comment): Fix typo.
19843 (octave-sync-function-file-names): Use read-char-choice.
19845 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
19847 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
19848 to t for the less important warnings.
19850 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
19852 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
19854 2013-04-27 Glenn Morris <rgm@gnu.org>
19856 * vc/log-view.el (log-view-current-entry):
19857 Treat "---" separator lines as part of the following rev. (Bug#14169)
19859 2013-04-27 Juri Linkov <juri@jurta.org>
19861 * subr.el (read-number): Doc fix about using it by interactive
19862 code letter `n'. (Bug#14254)
19864 2013-04-27 Juri Linkov <juri@jurta.org>
19866 * desktop.el (desktop-auto-save-timeout): New option.
19867 (desktop-file-checksum): New variable.
19868 (desktop-save): Add optional arg `auto-save' and don't auto-save
19869 if nothing changed.
19870 (desktop-auto-save-timer): New variable.
19871 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
19872 (after-init-hook): Call `desktop-auto-save-set-timer'.
19873 Suggested by Reuben Thomas <rrt@sc3d.org> in
19874 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
19876 2013-04-27 Leo Liu <sdl.web@gmail.com>
19878 * progmodes/octave.el (octave-function-file-p)
19879 (octave-skip-comment-forward, octave-function-file-comment)
19880 (octave-update-function-file-comment): New functions.
19881 (octave-mode-map): Bind C-c ; to
19882 octave-update-function-file-comment.
19883 (octave-mode-menu): Add octave-update-function-file-comment.
19884 (octave-mode, inferior-octave-mode): Fix doc-string.
19885 (octave-insert-defun): Conform to Octave's coding convention.
19888 * files.el (basic-save-buffer): Don't let errors in
19889 before-save-hook prevent saving buffer.
19891 2013-04-20 Roland Winkler <winkler@gnu.org>
19893 * faces.el (read-face-name): Use completing-read if arg multiple
19896 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
19898 * ls-lisp.el (ls-lisp-insert-directory): If no files are
19899 displayed, move point to after the totals line.
19900 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
19903 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
19905 * emacs-lisp/package.el (package-autoload-ensure-default-file):
19906 Add current dir to the load-path.
19907 (package-generate-autoloads): Don't rely on
19908 autoload-ensure-default-file.
19910 2013-04-26 Reuben Thomas <rrt@sc3d.org>
19912 * textmodes/remember.el (remember-store-in-files): Document that
19913 the file name format is passed to `format-time-string'.
19915 2013-04-26 Leo Liu <sdl.web@gmail.com>
19917 * progmodes/octave.el (octave-sync-function-file-names): New function.
19918 (octave-mode): Use it in before-save-hook.
19920 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
19922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
19925 * progmodes/octave.el (octave-smie-forward-token): Properly skip
19926 \n and comment, even if it's not an implicit ; (bug#14218).
19928 2013-04-26 Glenn Morris <rgm@gnu.org>
19930 * subr.el (read-number): Once more use `read' rather than
19931 `string-to-number', to trap non-numeric input. (Bug#14254)
19933 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
19935 * emacs-lisp/syntax.el (syntax-propertize-multiline):
19936 Use `syntax-multiline' text property consistently instead of
19937 `font-lock-multiline'. (Bug#14237)
19939 2013-04-26 Glenn Morris <rgm@gnu.org>
19941 * emacs-lisp/shadow.el (list-load-path-shadows):
19942 No longer necessary to check for duplicate simple.el, since
19943 2012-07-07 change to init_lread to not include installation lisp
19944 directories in load-path when running uninstalled. (Bug#14270)
19946 2013-04-26 Leo Liu <sdl.web@gmail.com>
19948 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
19949 (octave-mode, inferior-octave-mode): Use setq-local.
19950 (octave-not-in-string-or-comment-p): Rename to
19951 octave-in-string-or-comment-p.
19952 (octave-in-comment-p, octave-in-string-p)
19953 (octave-in-string-or-comment-p): Replace defsubst with defun.
19955 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
19957 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
19959 2013-04-25 Bastien Guerry <bzg@gnu.org>
19961 * textmodes/remember.el (remember-data-directory)
19962 (remember-directory-file-name-format): Fix custom types.
19964 2013-04-25 Leo Liu <sdl.web@gmail.com>
19966 * progmodes/octave.el (octave-completion-at-point-function):
19967 Make use of inferior octave process.
19968 (octave-initialize-completions): Remove.
19969 (inferior-octave-completion-table): New function.
19970 (inferior-octave-completion-at-point): Use it.
19971 (octave-completion-alist): Remove.
19973 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19975 * progmodes/opascal.el: Use font-lock and syntax-propertize.
19976 (opascal-mode-syntax-table): New var.
19977 (opascal-literal-kind, opascal-is-literal-end)
19978 (opascal-literal-token-at): Rewrite.
19979 (opascal--literal-start-re, opascal-font-lock-keywords)
19980 (opascal--syntax-propertize): New constants.
19981 (opascal-font-lock-defaults): Adjust.
19982 (opascal-mode): Use them. Set comment-<foo> variables as well.
19983 (delphi-comment-face, opascal-comment-face, delphi-string-face)
19984 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
19985 (delphi-other-face, opascal-other-face): Remove face variables.
19986 (opascal-save-state): Remove macro.
19987 (opascal-fontifying-progress-step): Remove constant.
19988 (opascal--ignore-changes): Remove var.
19989 (opascal-set-token-property, opascal-parse-next-literal)
19990 (opascal-is-stable-literal, opascal-complete-literal)
19991 (opascal-is-literal-start, opascal-face-of)
19992 (opascal-parse-region, opascal-parse-region-until-stable)
19993 (opascal-fontify-region, opascal-after-change)
19994 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
19995 (opascal-debug-parse-region, opascal-debug-parse-window)
19996 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
19997 (opascal-debug-fontify-buffer): Remove.
19998 (opascal-debug-mode-map): Adjust accordingly.
20000 2013-04-25 Leo Liu <sdl.web@gmail.com>
20002 Merge octave-mod.el and octave-inf.el into octave.el with some
20004 * progmodes/octave.el: New file renamed from octave-mod.el.
20005 * progmodes/octave-inf.el: Merged into octave.el.
20006 * progmodes/octave-mod.el: Renamed to octave.el.
20008 2013-04-25 Tassilo Horn <tsdh@gnu.org>
20010 * textmodes/reftex-vars.el
20011 (reftex-label-ignored-macros-and-environments): New defcustom.
20013 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
20015 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20017 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
20018 (smie-indent-keyword): Improve the check to ensure that the next
20019 comment is really on the same line.
20020 (smie-indent-comment): Don't align with a subsequent closer (or eob).
20022 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
20023 semi-colons if the line is not otherwise empty (bug#14218).
20025 2013-04-25 Glenn Morris <rgm@gnu.org>
20027 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
20029 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
20031 * progmodes/opascal.el (opascal-set-token-property): Rename from
20032 opascal-set-text-properties and only set `token' (bug#14134).
20033 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
20034 (opascal-literal-text-properties): Remove.
20035 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
20038 2013-04-24 Reuben Thomas <rrt@sc3d.org>
20040 * textmodes/remember.el (remember-handler-functions): Add an
20041 option for a new handler `remember-store-in-files'.
20042 (remember-data-directory, remember-directory-file-name-format):
20044 (remember-store-in-files): New function to store remember notes
20045 as separate files within a directory.
20047 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
20049 * progmodes/compile.el (compilation-next-error-function):
20050 Pass "formats" to compilation-find-file (bug#11777).
20052 2013-04-24 Glenn Morris <rgm@gnu.org>
20054 * vc/vc-bzr.el (vc-bzr-print-log):
20055 * vc/vc-hg.el (vc-hg-print-log):
20056 * vc/vc-svn.el (vc-svn-print-log):
20057 Fix START-REVISION with LIMIT != 1. (Bug#14168)
20059 * vc/vc-bzr.el (vc-bzr-print-log):
20060 * vc/vc-cvs.el (vc-cvs-print-log):
20061 * vc/vc-git.el (vc-git-print-log):
20062 * vc/vc-hg.el (vc-hg-print-log):
20063 * vc/vc-mtn.el (vc-mtn-print-log):
20064 * vc/vc-rcs.el (vc-rcs-print-log):
20065 * vc/vc-sccs.el (vc-sccs-print-log):
20066 * vc/vc-svn.el (vc-svn-print-log):
20067 * vc/vc.el (vc-print-log-internal): Doc fixes.
20069 2013-04-23 Glenn Morris <rgm@gnu.org>
20071 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
20072 Remove venerable code attempting to avoid substitute-command-keys.
20074 2013-04-23 Tassilo Horn <tsdh@gnu.org>
20076 * textmodes/reftex-vars.el (reftex-label-regexps):
20077 Call `reftex-compile-variables' after changes to this variable.
20079 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
20081 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
20082 Use lexical-binding.
20083 (jit-lock-force-redisplay): Use markers, check buffer's continued
20084 existence and beware narrowed buffers.
20085 (jit-lock-fontify-now): Adjust call accordingly.
20087 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
20089 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
20090 to avoid misleading the user.
20092 2013-04-22 Leo Liu <sdl.web@gmail.com>
20094 * info-look.el: Prefer latex2e.info. (Bug#14240)
20096 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
20098 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
20100 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
20101 * net/tramp.el (tramp-call-process): ... here.
20102 (tramp-set-completion-function, tramp-parse-putty):
20103 * net/tramp-adb.el (tramp-adb-execute-adb-command):
20104 * net/tramp-gvfs.el (tramp-gvfs-send-command):
20105 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
20106 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
20107 (tramp-call-local-coding-command): Use `tramp-call-process'
20108 instead of `tramp-compat-call-process'.
20110 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
20111 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
20112 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
20113 (tramp-find-inline-compress): Improve traces.
20114 (tramp-maybe-send-script): Check for Perl binary.
20115 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
20117 2013-04-22 Daiki Ueno <ueno@gnu.org>
20119 * epg.el (epg-context-pinentry-mode): New function.
20120 (epg-context-set-pinentry-mode): New function.
20121 (epg--start): Pass --pinentry-mode option to gpg command.
20123 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
20125 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
20126 `comint-dynamic-complete' is obsolete since 24.1, replaced by
20127 `completion-at-point'. (Bug#13774)
20129 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
20130 default key binding for `describe-distribution' has been moved to
20131 `C-h C-o'. (Bug#13970)
20133 2013-04-21 Glenn Morris <rgm@gnu.org>
20135 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
20137 (vc-print-log): Clarify interactive prompt.
20139 2013-04-20 Glenn Morris <rgm@gnu.org>
20141 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
20142 No longer include timestamp etc information.
20144 2013-04-20 Roland Winkler <winkler@gnu.org>
20146 * faces.el (read-face-name): Bug fix, return just one face if arg
20147 multiple is nil. (Bug#14209)
20149 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20151 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
20152 (remove-function): Autoload.
20154 * comint.el (comint-redirect-original-filter-function): Remove.
20155 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
20156 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
20157 (vc-cvs-annotate-command):
20158 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
20159 * progmodes/prolog.el (prolog-consult-compile):
20160 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
20161 Use add/remove-function instead.
20162 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
20163 (gud-tooltip-process-output, gud-tooltip-tips):
20164 Use add/remove-function instead.
20165 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
20166 (scheme-interaction-mode, exit-scheme-interaction-mode):
20167 Use add/remove-function instead.
20169 * vc/vc-dispatcher.el: Use lexical-binding.
20170 (vc--process-sentinel): Rename from vc-process-sentinel.
20171 Change last arg to be the code to run. Don't use vc-previous-sentinel
20172 and vc-sentinel-commands any more.
20173 (vc-exec-after): Allow code to be a function. Use add/remove-function.
20174 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
20176 2013-04-19 Masatake YAMATO <yamato@redhat.com>
20178 * progmodes/sh-script.el (sh-imenu-generic-expression):
20179 Handle function names with a single character. (Bug#14111)
20181 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
20183 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
20184 for subroutines defined in an eval (bug#14182).
20186 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20188 * bookmark.el (bookmark-completing-read): Improve handling of empty
20189 string (bug#14176).
20191 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20193 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
20195 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
20197 New faster Imenu implementation (bug#14058).
20198 * progmodes/python.el (python-imenu-prev-index-position)
20199 (python-imenu-format-item-label-function)
20200 (python-imenu-format-parent-item-label-function)
20201 (python-imenu-format-parent-item-jump-label-function):
20203 (python-imenu-format-item-label)
20204 (python-imenu-format-parent-item-label)
20205 (python-imenu-format-parent-item-jump-label)
20206 (python-imenu--put-parent, python-imenu--build-tree)
20207 (python-imenu-create-index, python-imenu-create-flat-index)
20208 (python-util-popn): New functions.
20209 (python-mode): Set imenu-create-index-function to
20210 python-imenu-create-index.
20212 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20214 * winner.el (winner-active-region): Use region-active-p, activate-mark
20215 and deactivate-mark (bug#14225).
20217 * simple.el (deactivate-mark): Don't inline it.
20219 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
20221 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
20223 2013-04-18 Tassilo Horn <tsdh@gnu.org>
20225 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
20226 file extensions from the archive-mode entry in order to prefer
20227 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
20229 2013-04-18 Leo Liu <sdl.web@gmail.com>
20231 * bindings.el (help-event-list): Add ?\?.
20233 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
20235 * subr.el (with-wrapper-hook): Declare obsolete.
20236 * simple.el (filter-buffer-substring-function): New hook.
20237 (filter-buffer-substring): Use it.
20238 (filter-buffer-substring-functions): Mark obsolete.
20239 * minibuffer.el (completion-in-region-function): New hook.
20240 (completion-in-region): Use it.
20241 (completion-in-region-functions): Mark obsolete.
20242 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
20243 * abbrev.el (abbrev-expand-function): New hook.
20244 (expand-abbrev): Use it.
20245 (abbrev-expand-functions): Mark obsolete.
20246 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
20247 and :filter-return.
20249 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20251 * progmodes/python.el (python-nav--syntactically): Fix cornercases
20252 and do not care about match data.
20254 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20256 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
20257 completion tables when completing error conditions and
20258 `declare' arguments.
20259 (lisp-complete-symbol, field-complete): Mark as obsolete.
20260 (check-parens): Unmatched parens are user errors.
20261 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
20263 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
20265 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
20266 command changed buffer (ie. `flyspell-pre-buffer' is not current
20267 buffer), which prevents making decisions based on invalid value of
20268 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
20269 cause an error when `flyspell-pre-point' was nil after switching
20271 (flyspell-post-command-hook): No longer needs to change buffers when
20272 checking pre-word. While at it remove unnecessary progn.
20274 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
20276 * textmodes/ispell.el (ispell-add-per-file-word-list):
20277 Fix `flyspell-correct-word-before-point' error when accepting
20278 words and `coment-padding' is an integer by using
20279 `comment-normalize-vars' (Bug #14214).
20281 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20283 New defun movement commands.
20284 * progmodes/python.el (python-nav--syntactically)
20285 (python-nav--forward-defun, python-nav-backward-defun)
20286 (python-nav-forward-defun): New functions.
20288 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20290 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
20291 (python-syntax-context): Use named compiler-macro for backwards
20292 compatibility with Emacs 24.x.
20294 2013-04-17 Leo Liu <sdl.web@gmail.com>
20296 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
20297 octave-hide-process-buffer.
20299 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20301 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
20304 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
20306 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
20307 Fix adjustment of offset when receiving incomplete responses from GDB
20310 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20312 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
20313 python-mode-abbrev-table.
20314 (python-skeleton-define): Adjust accordingly.
20315 (python-mode-abbrev-table): New table that inherits from it so that
20316 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
20318 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
20319 (abbrev-symbol): Use it.
20320 (abbrev--before-point): Use it since we already handle inheritance.
20322 2013-04-16 Leo Liu <sdl.web@gmail.com>
20324 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
20325 binding to info-lookup-symbol.
20327 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
20329 * minibuffer.el (completion--twq-all):
20330 * term/ns-win.el (ns-initialize-window-system):
20331 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
20333 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20335 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
20338 * doc-view.el (doc-view-start-process): Handle url-handler directories.
20340 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
20342 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
20343 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
20345 (ruby-end-of-defun): Remove the unused arg, change the docstring
20346 to reflect that this function is only used as the value of
20347 `end-of-defun-function'.
20348 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
20349 to reflect an earlier change that beginning/end-of-defun functions
20350 jump between methods in a class definition, as well as top-level
20353 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20355 * minibuffer.el (minibuffer-complete): Don't just scroll
20356 a *Completions* that's been iconified.
20357 (minibuffer-force-complete): Make sure repetitions do cycle when going
20358 through completion-in-region -> minibuffer-complete.
20360 2013-04-15 Alan Mackenzie <acm@muc.de>
20362 Correct the placement of c-cpp-delimiters when there're #s not at
20365 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
20366 place a submatch around the #.
20367 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
20368 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20371 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20373 * emacs-lisp/nadvice.el: Properly test names when adding advice.
20374 (advice--member-p): New arg `name'.
20375 (advice--add-function, advice-member-p): Use it (bug#14202).
20377 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
20379 Reformulate java imenu-generic-expression.
20380 The old expression contained ill formed regexps.
20382 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
20383 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
20384 (cc-imenu-java-method-arg-regexp): New defconsts.
20385 (cc-imenu-java-build-type-args-regex): New defun.
20386 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
20387 handling of spaces in the regexp.
20389 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20391 * textmodes/ispell.el (ispell-command-loop): Remove
20392 flyspell highlight of a word when ispell accepts it (bug #14178).
20394 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
20396 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
20397 uses code from the previous `ange-ftp-run-real-handler'.
20398 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
20399 only in case that function exist. This is needed for proper
20400 unloading of Tramp.
20402 2013-04-15 Tassilo Horn <tsdh@gnu.org>
20404 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
20406 * textmodes/reftex.el (reftex-compile-variables): Use it.
20408 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20410 * files.el (normal-mode): Only use default major-mode if no other mode
20413 * emacs-lisp/trace.el (trace-values): New function.
20415 * files.el: Allow : in local variables (bug#14089).
20416 (hack-local-variable-regexp): New var.
20417 (hack-local-variables-prop-line, hack-local-variables): Use it.
20419 2013-04-13 Roland Winkler <winkler@gnu.org>
20421 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
20422 data before it gets modified by bibtex-beginning-of-entry.
20424 2013-04-13 Roland Winkler <winkler@gnu.org>
20426 * textmodes/bibtex.el (bibtex-url): Doc fix.
20428 2013-04-13 Roland Winkler <winkler@gnu.org>
20430 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
20431 does not visit a BibTeX file, exclude it from the list of buffers
20432 returned by bibtex-initialize.
20434 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
20436 * window.el (split-window): Remove interactive form, since as a
20437 command this function is a special case of split-window-below.
20438 Correct doc string.
20440 2013-04-12 Roland Winkler <winkler@gnu.org>
20442 * faces.el (read-face-name): Do not override value of arg default.
20443 Allow single faces and strings as default values. Remove those
20444 elements from return value that are not faces.
20445 (describe-face): Simplify.
20446 (face-at-point): New optional args thing and multiple so that this
20447 function can provide the same functionality previously provided by
20449 (make-face-bold, make-face-unbold, make-face-italic)
20450 (make-face-unitalic, make-face-bold-italic, invert-face)
20451 (modify-face, read-face-and-attribute): Use face-at-point.
20453 * cus-edit.el (customize-face, customize-face-other-window)
20454 * cus-theme.el (custom-theme-add-face)
20455 * face-remap.el (buffer-face-set)
20456 * facemenu.el (facemenu-set-face): Use face-at-point.
20458 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
20460 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
20462 2013-04-10 Tassilo Horn <tsdh@gnu.org>
20464 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
20465 off leading { and trailing } from field values.
20467 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
20469 * emacs-lisp/timer.el (timer--check): New function.
20470 (timer--time, timer-set-function, timer-event-handler): Use it.
20471 (timer-set-idle-time): Simplify.
20472 (timer--activate): CSE.
20473 (timer-event-handler): Give more info in error message.
20474 (internal-timer-start-idle): New function, moved from C.
20476 * mpc.el (mpc-proc): Add `restart' argument.
20477 (mpc-proc-cmd): Use it.
20478 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
20479 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
20482 2013-04-10 Masatake YAMATO <yamato@redhat.com>
20484 * progmodes/sh-script.el: Implement `sh-mode' own
20485 `add-log-current-defun-function' (bug#14112).
20486 (sh-current-defun-name): New function.
20487 (sh-mode): Use the function.
20489 2013-04-09 Bastien Guerry <bzg@gnu.org>
20491 * simple.el (choose-completion-string): Fix docstring (bug#14163).
20493 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
20495 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
20497 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
20500 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
20502 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
20505 2013-04-07 Leo Liu <sdl.web@gmail.com>
20507 * pcmpl-x.el: New file.
20509 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
20511 Do not set x-display-name until X connection is established.
20512 This is needed to prevent from weird situation described at
20513 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
20514 * frame.el (make-frame): Set x-display-name after call to
20515 window system initialization function, not before.
20516 * term/x-win.el (x-initialize-window-system): Add optional
20517 display argument and use it.
20518 * term/w32-win.el (w32-initialize-window-system):
20519 * term/ns-win.el (ns-initialize-window-system):
20520 * term/pc-win.el (msdos-initialize-window-system):
20521 Add compatible optional display argument.
20523 2013-04-06 Eli Zaretskii <eliz@gnu.org>
20525 * files.el (normal-backup-enable-predicate): On MS-Windows and
20526 MS-DOS compare truenames of temporary-file-directory and of the
20527 file, so that 8+3 aliases (usually found in $TEMP on Windows)
20528 don't fail comparison by compare-strings. Also, compare file
20529 names case-insensitively on MS-Windows and MS-DOS.
20531 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20533 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
20534 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
20536 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
20538 * whitespace.el (whitespace-color-on, whitespace-color-off):
20539 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
20541 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
20543 * ispell.el (ispell-set-spellchecker-params):
20544 Really set `ispell-args' for all equivs.
20546 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
20548 * ido.el (ido-completions): Use extra elements of ido-decorations
20550 (ido-decorations): Update docstring.
20552 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
20554 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20555 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
20556 nil during initialization, in order not to miss changes since the
20557 file was opened. (Bug#14140)
20559 2013-04-05 Leo Liu <sdl.web@gmail.com>
20561 * kmacro.el (kmacro-call-macro): Fix bug#14135.
20563 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
20565 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
20567 2013-04-04 Glenn Morris <rgm@gnu.org>
20569 * electric.el (electric-pair-inhibit-predicate): Add :version.
20571 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
20573 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
20574 when a package is required several times (bug#14082).
20576 2013-04-04 Roland Winkler <winkler@gnu.org>
20578 * faces.el (read-face-name): Behave as promised by the docstring.
20579 Assume that arg default is a list of faces.
20580 (describe-face): Call read-face-name with list of default faces.
20582 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20584 * bookmark.el: Fix deletion of bookmarks (bug#13972).
20585 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
20586 (bookmark-bmenu-execute-deletions): Only skip first line if it's
20588 (bookmark-exit-hook-internal): Save even if list is empty.
20590 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
20592 * emacs-lisp/package.el (package-pinned-packages): New var.
20593 (package--add-to-archive-contents): Obey it (bug#14118).
20595 2013-04-03 Alan Mackenzie <acm@muc.de>
20597 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
20598 Also adapt to the new values of element 7 of a parse state.
20600 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
20601 parameter `not-in-delimiter'. Handle being inside comment opener.
20602 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
20603 character in case we're typing a '*' after a '/'.
20604 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
20605 instead by passing the parameter to c-state-pp-to-literal.
20607 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
20608 for elt. 7 of a parse state.
20610 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
20612 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
20613 * international/latin1-disp.el, international/mule-util.el:
20614 * language/cyril-util.el, language/european.el, language/ind-util.el:
20615 * language/lao-util.el, language/thai.el, language/tibet-util.el:
20616 * language/tibetan.el, language/viet-util.el:
20617 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
20619 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20621 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
20622 (electric-pair-post-self-insert-function): Use it.
20623 (electric-pair-default-inhibit): New function, extracted from
20624 electric-pair-post-self-insert-function.
20626 2013-03-31 Roland Winkler <winkler@gnu.org>
20628 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
20630 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20632 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
20634 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
20636 Un-indent after "pass" and "return" statements (Bug#13888)
20637 * progmodes/python.el (python-indent-block-enders): New var.
20638 (python-indent-calculate-indentation): Use it.
20640 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
20642 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
20643 defun. Defining it as defalias could introduce too eager
20644 byte-compiler optimization. (Bug#14030)
20646 2013-03-30 Chong Yidong <cyd@gnu.org>
20648 * iswitchb.el (iswitchb-read-buffer): Fix typo.
20650 2013-03-30 Leo Liu <sdl.web@gmail.com>
20652 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
20653 (kmacro-execute-from-register): Pass the keyboard macro to
20654 kmacro-call-macro or repeating won't work correctly.
20656 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
20658 * progmodes/subword.el: Back to using `forward-symbol'.
20660 * subr.el (forward-whitespace, forward-symbol)
20661 (forward-same-syntax): Move from thingatpt.el.
20663 2013-03-29 Leo Liu <sdl.web@gmail.com>
20665 * kmacro.el (kmacro-to-register): New command.
20666 (kmacro-execute-from-register): New function.
20667 (kmacro-keymap): Bind to 'x'. (Bug#14071)
20669 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
20671 * mpc.el: Use defvar-local and setq-local.
20672 (mpc--proc-connect): Connection failures are not bugs.
20673 (mpc-mode-map): `follow-link' only applies to the buffer's content.
20674 (mpc-volume-map): Bind to the up-events.
20676 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
20678 * progmodes/subword.el (superword-mode): Use `forward-sexp'
20679 instead of `forward-symbol'.
20681 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
20683 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
20684 (edebug--recursive-edit): Use it.
20685 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
20686 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
20688 2013-03-28 Leo Liu <sdl.web@gmail.com>
20690 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
20692 2013-03-27 Eli Zaretskii <eliz@gnu.org>
20694 * facemenu.el (list-colors-callback): New defvar.
20695 (list-colors-redisplay): New function.
20696 (list-colors-display): Install list-colors-redisplay as the
20697 revert-buffer-function. (Bug#14063)
20699 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
20701 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
20702 and suffixes don't overlap (bug#14061).
20704 * case-table.el: Use lexical-binding.
20705 (case-table-get-table): New function.
20706 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
20708 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
20710 * progmodes/subword.el: Add `superword-mode' to do word motion
20711 over symbol_words (parallels and leverages `subword-mode' which
20712 does word motion inside MixedCaseWords).
20714 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
20716 * eshell/em-unix.el: Move su and sudo to...
20717 * eshell/em-tramp.el: ...Eshell tramp module.
20719 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
20721 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
20722 Change return value to be a sexp. Delay `get-buffer' to after
20723 restoring the desktop (bug#13951).
20725 2013-03-26 Leo Liu <sdl.web@gmail.com>
20727 * register.el: Move semantic tag handling back to
20728 cedet/semantic/senator.el. (Bug#14052)
20730 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
20732 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
20733 into the prompt either (bug#13963).
20735 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
20737 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
20738 part of "(error-foo)".
20740 2013-03-24 Juri Linkov <juri@jurta.org>
20742 * replace.el (list-matching-lines-prefix-face): New defcustom.
20743 (occur-1): Pass `list-matching-lines-prefix-face' to the function
20744 `occur-engine' if `face-differs-from-default-p' returns t.
20745 (occur-engine): Add `,' inside backquote construct to evaluate
20746 `prefix-face'. Propertize the prefix with the `prefix-face' face.
20747 Pass `prefix-face' to the functions `occur-context-lines' and
20748 `occur-engine-add-prefix'.
20749 (occur-engine-add-prefix, occur-context-lines): Add optional arg
20750 `prefix-face' and propertize the prefix with `prefix-face'.
20753 2013-03-24 Leo Liu <sdl.web@gmail.com>
20755 * nxml/rng-valid.el (rng-validate-while-idle)
20756 (rng-validate-quick-while-idle): Guard against deleted buffer.
20759 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
20760 is the last entry in kill-buffer-hook.
20762 * files.el (kill-buffer-hook): Doc fix.
20764 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
20766 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
20767 Make it safe-local.
20769 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
20771 2013-03-23 Leo Liu <sdl.web@gmail.com>
20773 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
20776 * nxml/rng-valid.el (rng-validate-mode)
20777 (rng-after-change-function, rng-do-some-validation):
20778 * nxml/rng-maint.el (rng-validate-buffer):
20779 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
20780 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
20781 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
20782 (nxml-extend-after-change-region): Use with-silent-modifications.
20784 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
20787 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
20788 (rng-next-error-1, rng-previous-error-1): Do not let-bind
20789 timer-idle-list. (Bug#13999)
20791 2013-03-23 Juri Linkov <juri@jurta.org>
20793 * info.el (info-index-match): New face.
20794 (Info-index, Info-apropos-matches): Add a nested subgroup to the
20795 main pattern and add text properties with the new face to matches
20796 in index entries relative to the beginning of the index entry.
20799 2013-03-21 Eric Ludlam <zappo@gnu.org>
20801 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
20802 Inhibit read only while inserting objects.
20804 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
20806 * progmodes/cfengine.el: Update docs to mention
20807 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
20808 symbol motion. Remove "_" from the word syntax.
20810 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
20812 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
20813 syntax for both `cfengine2-mode' and `cfengine3-mode'.
20815 2013-03-20 Juri Linkov <juri@jurta.org>
20817 * info.el (Info-next-reference-or-link)
20818 (Info-prev-reference-or-link): New functions.
20819 (Info-next-reference, Info-prev-reference): Use them.
20820 (Info-try-follow-nearest-node): Handle footnote navigation.
20821 (Info-fontify-node): Fontify footnotes. (Bug#13989)
20823 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
20825 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
20826 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
20828 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
20830 Suppress unnecessary non-ASCII chatter during build process.
20831 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
20832 (batch-skkdic-convert): Suppress most of the chatter.
20833 It's not needed so much now that machines are faster,
20834 and its non-ASCII component was confusing; see Dmitry Gutov in
20835 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
20837 2013-03-20 Leo Liu <sdl.web@gmail.com>
20839 * ido.el (ido-chop): Fix bug#10994.
20841 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
20843 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
20845 (whitespace-color-on, whitespace-color-off):
20846 Use `font-lock-fontify-buffer' (Bug#13817).
20848 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
20850 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
20851 remapping in mode-line.
20852 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
20854 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
20856 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
20857 value for `whitespace-line' face (Bug#13875).
20858 (whitespace-font-lock-keywords): Change description.
20859 (whitespace-color-on): Don't save `font-lock-keywords' value, save
20860 the constructed keywords instead.
20861 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
20863 2013-03-19 Leo Liu <sdl.web@gmail.com>
20865 * progmodes/compile.el (compilation-display-error): New command.
20866 (compilation-mode-map, compilation-minor-mode-map): Bind it to
20869 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
20871 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
20873 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
20875 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
20877 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
20879 * net/tramp-compat.el (tramp-compat-user-error): New defun.
20881 * net/tramp-adb.el (tramp-adb-handle-shell-command):
20882 * net/tramp-gvfs.el (top):
20883 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
20884 (tramp-handle-shell-command): Use it.
20885 (tramp-dissect-file-name): Raise an error when hostname is a
20886 method name, and neither method nor user is specified.
20888 * net/trampver.el: Update release number.
20890 2013-03-18 Leo Liu <sdl.web@gmail.com>
20892 Make sure eldoc can be turned off properly.
20893 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
20895 (eldoc-display-message-p): Revert last change.
20896 (eldoc-display-message-no-interference-p)
20897 (eldoc-print-current-symbol-info): Tweak.
20899 2013-03-18 Tassilo Horn <tsdh@gnu.org>
20901 * doc-view.el (doc-view-new-window-function): Check the new window
20902 overlay's display property instead the char property of the
20903 buffer's first char. Use `with-selected-window' instead of
20904 `save-window-excursion' with `select-window'.
20905 (doc-view-document->bitmap): Check the current doc-view overlay's
20906 display property instead the char property of the buffer's first char.
20908 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
20910 Automate the build of ja-dic.el (Bug#13984).
20911 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
20912 from the input, rather than assume that it's been done for us by the
20913 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
20914 the current date into a ja-dic.el comment, as that complicates
20915 regression testing.
20917 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20919 * whitespace.el: Fix double evaluation.
20920 (whitespace-space, whitespace-hspace, whitespace-tab)
20921 (whitespace-newline, whitespace-trailing, whitespace-line)
20922 (whitespace-space-before-tab, whitespace-indentation)
20923 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
20925 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
20926 (whitespace-color-on): Use a single font-lock-add-keywords call.
20927 Fix double-evaluation of face variables.
20929 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
20931 * net/tramp-adb.el (tramp-adb-parse-device-names):
20932 Use `start-process' instead of `call-process'. Otherwise, the
20933 function might be blocked under MS Windows. (Bug#13299)
20935 2013-03-17 Leo Liu <sdl.web@gmail.com>
20937 Extend eldoc to display info in the mode-line. (Bug#13978)
20938 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
20939 (eldoc-mode-line-string): New variable.
20940 (eldoc-minibuffer-message): New function.
20941 (eldoc-message-function): New variable.
20942 (eldoc-message): Use it.
20943 (eldoc-display-message-p)
20944 (eldoc-display-message-no-interference-p):
20945 Support eldoc-post-insert-mode.
20947 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
20948 (eval-expression): Run it.
20950 2013-03-17 Roland Winkler <winkler@gnu.org>
20952 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
20953 strings in the list of return values.
20955 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20957 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
20958 radix before checking for HMS forms.
20960 2013-03-16 Leo Liu <sdl.web@gmail.com>
20962 * progmodes/scheme.el: Add indentation and font-locking for λ.
20965 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
20967 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
20968 token before point (bug#13942).
20970 2013-03-16 Leo Liu <sdl.web@gmail.com>
20972 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
20974 2013-03-16 Eli Zaretskii <eliz@gnu.org>
20976 * startup.el (command-line-normalize-file-name): Fix handling of
20977 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
20978 <xfq.free@gmail.com> in
20979 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
20981 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
20983 Sync with Tramp 2.2.7.
20985 * net/trampver.el: Update release number.
20987 2013-03-14 Tassilo Horn <tsdh@gnu.org>
20989 * doc-view.el: Fix bug#13887.
20990 (doc-view-insert-image): Don't modify overlay associated to
20991 non-live windows, and implement horizontal centering of image in
20992 case it's smaller than the window.
20993 (doc-view-new-window-function): Force redisplay of new windows on
20996 2013-03-13 Karl Fogel <kfogel@red-bean.com>
20998 * saveplace.el (save-place-alist-to-file): Don't sort
20999 `save-place-alist', just pretty-print it (bug#13882).
21001 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
21003 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
21004 Check whether `default-file-name-coding-system' is bound.
21005 It isn't in XEmacs.
21007 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
21009 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
21010 backquotes for `obsolete' (bug#13929).
21012 * international/mule.el (find-auto-coding): Include file name in
21013 obsolescence warning (bug#13922).
21015 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
21017 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
21018 for CFEngine 3-specific indentation.
21019 (cfengine3-indent-line): Use it. Fix up category regex.
21020 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
21022 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21024 * type-break.el (type-break-file-name):
21025 * textmodes/remember.el (remember-data-file):
21026 * strokes.el (strokes-file):
21027 * shadowfile.el (shadow-initialize):
21028 * saveplace.el (save-place-file):
21029 * ps-bdf.el (bdf-cache-file):
21030 * progmodes/idlwave.el (idlwave-config-directory):
21031 * net/quickurl.el (quickurl-url-file):
21032 * international/kkc.el (kkc-init-file-name):
21033 * ido.el (ido-save-directory-list-file):
21034 * emulation/viper.el (viper-custom-file-name):
21035 * emulation/vip.el (vip-startup-file):
21036 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
21037 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
21039 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
21041 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
21042 * language/thai-word.el: Switch to UTF-8.
21044 See ChangeLog.16 for earlier changes.
21046 ;; Local Variables:
21050 Copyright (C) 2011-2014 Free Software Foundation, Inc.
21052 This file is part of GNU Emacs.
21054 GNU Emacs is free software: you can redistribute it and/or modify
21055 it under the terms of the GNU General Public License as published by
21056 the Free Software Foundation, either version 3 of the License, or
21057 (at your option) any later version.
21059 GNU Emacs is distributed in the hope that it will be useful,
21060 but WITHOUT ANY WARRANTY; without even the implied warranty of
21061 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21062 GNU General Public License for more details.
21064 You should have received a copy of the GNU General Public License
21065 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.