1 2014-06-02 Glenn Morris <rgm@gnu.org>
3 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
4 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5 * emulation/ws-mode.el: Move to obsolete/.
6 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
8 2014-06-02 Eli Zaretskii <eliz@gnu.org>
10 * simple.el (keyboard-quit): Force update of mode lines, to remove
11 the "Def" indicator, if we were defining a macro. (Bug#17615)
13 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15 * minibuffer.el (minibuffer-force-complete-and-exit):
16 Obey minibuffer-default (bug#17545).
18 * progmodes/js.el (js-indent-line): Don't mix columns and chars
21 * subr.el (set-transient-map): Don't wait for some "nested"
22 transient-map to finish if we're only supposed to be active for
23 the next command (bug#17642).
25 2014-06-02 Leo Liu <sdl.web@gmail.com>
27 * emacs-lisp/gv.el (window-buffer, window-display-table)
28 (window-dedicated-p, window-hscroll, window-point, window-start):
29 Fix gv-expander. (Bug#17630)
31 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
33 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
36 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
37 for the single comma, since ", " is *very* common in normal French text
40 2014-06-02 Glenn Morris <rgm@gnu.org>
42 * emacs-lisp/package.el (package-check-signature)
43 (package-unsigned-archives): Fix :version.
45 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
47 * subr.el (sit-for): Don't run input-methods (bug#15614).
49 2014-06-02 Glenn Morris <rgm@gnu.org>
51 * cus-start.el: Fix some :version numbers.
53 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
55 * simple.el (deactivate-mark): Set mark-active to nil even if
56 deactivation is done via setting transient-mark-mode to nil,
57 since one is buffer-local and the other is global.
59 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
60 there can't be more than 2 arguments (bug#17584).
62 2014-06-02 Glenn Morris <rgm@gnu.org>
64 * simple.el (filter-buffer-substring-functions)
65 (filter-buffer-substring-function, buffer-substring-filters)
66 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
68 * minibuffer.el (completion-in-region-functions, completion-in-region)
69 (completion--in-region): Doc fixes.
71 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
72 (expand-abbrev, abbrev--default-expand): Doc fixes.
74 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
76 Include sources used to create macuvs.h.
77 * international/README: Refer to the Unicode Terms of Use rather
78 than copying it bodily here, as that simplifies maintenance.
80 2014-06-01 Glenn Morris <rgm@gnu.org>
82 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
84 2014-05-31 Glenn Morris <rgm@gnu.org>
86 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
88 2014-05-30 Glenn Morris <rgm@gnu.org>
90 * loadup.el: Treat `command-line-args' more flexibly.
92 2014-05-30 Alan Mackenzie <acm@muc.de>
94 Guard (looking-at "\\s!") from XEmacs.
95 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
97 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
99 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
100 argument COUNT is now optional, to be more backward-compatible.
103 2014-05-29 Reuben Thomas <rrt@sc3d.org>
105 * whitespace.el (whitespace-report-region): Simplify
107 (whitespace-report-region): Allow report-if-bogus to take the
108 value `never', for non-interactive use.
109 (whitespace-report): Refer to whitespace-report-region's
112 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
114 * whitespace.el: Use font-lock-flush. Minimize refontifications.
115 Side benefit: it works without jit-lock.
116 (whitespace-point--used): New buffer-local var.
117 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
118 (whitespace-color-off): Use font-lock-flush.
119 (whitespace-point--used, whitespace-point--flush-used): New functions.
120 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
121 (whitespace-empty-at-eob-regexp): Use them.
122 (whitespace-post-command-hook): Rewrite.
124 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
125 (font-lock-fontify-buffer): Mark interactive-only.
126 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
128 (font-lock-specified-p): Remove redundant boundp check.
129 (font-lock-flush-function, font-lock-ensure-function): New vars.
130 (font-lock-turn-on-thing-lock): Set them.
131 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
132 (font-lock-after-change-function): Make `old-len' optional.
133 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
134 Call font-lock-flush, just in case.
135 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
137 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
138 (vera-mode-map, vera-mode-menu): Remove bindings to it.
139 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
140 and with-syntax-table.
141 * textmodes/conf-mode.el (conf-quote-normal):
142 * progmodes/sh-script.el (sh-set-shell):
143 * progmodes/prog-mode.el (prettify-symbols-mode):
144 * progmodes/f90.el (f90-font-lock-n):
145 * progmodes/cwarn.el (cwarn-mode):
146 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
147 * progmodes/compile.el (compilation-setup, compilation--unsetup):
148 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
149 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
150 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
151 font-lock-fontify-buffer-function and
152 font-lock-unfontify-buffer-function.
153 (rmail-unfontify-buffer-function, rmail-fontify-message):
154 Use with-silent-modifications.
155 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
156 and font-lock-ensure.
157 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
159 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
161 * emacs-lisp/package.el (package-generate-autoloads):
162 Inhibit backup files.
164 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
166 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
169 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
171 * textmodes/tildify.el (tildify-buffer, tildify-region):
174 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
176 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
177 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
179 * subr.el (internal--funcall-interactively): New.
180 (internal--call-interactively): Remove.
181 (called-interactively-p): Detect funcall-interactively instead of
183 * simple.el (repeat-complex-command): Use funcall-interactively.
184 (repeat-complex-command--called-interactively-skip): Remove.
186 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
188 * register.el (register-read-with-preview): Don't burp on
189 frame switches (e.g. due to the frame we just popped).
191 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
192 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
194 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
196 * cus-face.el (custom-face-attributes): Add :distant-foreground.
198 2014-05-26 Martin Rudalics <rudalics@gmx.at>
200 * window.el (window--dump-frame): Remove interactive specification.
202 2014-05-26 Glenn Morris <rgm@gnu.org>
204 * hippie-exp.el (he-line-search-regexp):
205 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
207 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
209 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
210 to avoid errors when trying to create or visit a file foo.todo
211 located outside to todo-directory, and to allow having such files
212 without them being tied to Todo mode (bug#17482).
213 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
214 (todo-archive-done-item, todo-find-filtered-items-file)
215 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
216 (todo-category-completions, todo-read-category): When visiting a
217 Todo file, make sure we're in the right mode and the buffer local
219 (todo-make-categories-list, todo-reset-nondiary-marker)
220 (todo-reset-done-string, todo-reset-comment-string):
221 After processing all Todo files, kill the buffers of those files that
222 weren't being visited before the processing.
223 (todo-display-as-todo-file, todo-add-to-buffer-list)
224 (todo-visit-files-commands): Comment out.
225 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
226 (auto-mode-alist): Remove add-to-list calls making Todo file
227 extensions unrestrictedly tied to Todo modes.
229 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
231 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
232 (advice-function-member-p): Tell it to check both names and functions
234 (advice--add-function): Adjust call accordingly.
236 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
238 * calendar/todo-mode.el: Miscellaneous bug fixes.
239 (todo-delete-file): When deleting an archive but not its todo
240 file, make sure to update the todo file's category sexp.
241 (todo-move-category): Keep the moved category's name unless the
242 file moved to already has a category with that name. If the
243 numerically last category of the source file was moved, make the
244 first category current to avoid selecting a nonexisting category.
245 (todo-merge-category): Fix implementation to make merging to a
246 category in another file work as documented. Eliminate now
247 insufficient and unnecessary renaming of archive category, correct
248 document string accordingly, and clarify it. If the numerically
249 last category of the source file was merged, make the first
250 category current to avoid selecting a nonexisting category.
251 (todo-archive-done-item): When there are marked items and point
252 happens to be on an unmarked item, ignore the latter. Don't leave
253 point below last item after archiving marked items.
254 (todo-unarchive-items): Fix logic to ensure unarchiving an item
255 from an archive with only one category deletes the archive only
256 when the category is empty after unarchiving. Make sure the todo
257 file's category sexp is updated.
258 (todo-read-file-name): Allow an existing file name even when it is
259 not required (todo-move-category needs this to work as documented).
260 (todo-add-file): Call todo-validate-name to reject the name of an
261 existing todo file (needed due to fix in todo-read-file-name).
262 (todo-reset-nondiary-marker): Also reset in filtered items files.
263 (todo-reset-done-string, todo-reset-comment-string): Also reset in
264 regexp filtered items files.
265 (todo-reset-highlight-item): Also reset in filtered items files.
266 Fix incorrect variable reference in document string.
268 2014-05-26 Glenn Morris <rgm@gnu.org>
270 * window.el (window--dump-frame): Avoid error in --without-x builds.
272 2014-05-26 Glenn Morris <rgm@gnu.org>
274 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
276 2014-05-26 Eli Zaretskii <eliz@gnu.org>
278 * frame.el (set-frame-font): Doc fix.
280 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
282 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
284 * emacs-lisp/package.el (package--download-one-archive):
285 Use `write-region' instead of `save-buffer' to avoid running various
287 (describe-package-1): Same. Insert newline at the end of the
288 buffer if appropriate.
290 2014-05-26 Juri Linkov <juri@jurta.org>
292 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
293 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
294 Add more modifiers: meta, control, shift, hyper, super, alt.
297 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
298 to allow changing its value with `set-variable'.
300 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
302 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
304 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
306 (scheme-mode-variables): Set syntax-propertize-function instead of
307 font-lock-syntactic-face-function.
308 (scheme-font-lock-syntactic-face-function): Delete.
310 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
312 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
315 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
318 for a temporary file name.
320 2014-05-26 Eli Zaretskii <eliz@gnu.org>
322 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
324 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
326 * net/dbus.el (dbus-init-bus, dbus-call-method)
327 (dbus-call-method-asynchronously, dbus-send-signal)
328 (dbus-method-return-internal, dbus-method-error-internal):
329 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
331 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
333 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
334 methods which do not have a doc string. (Bug#17490)
336 2014-05-25 Tassilo Horn <tsdh@gnu.org>
338 * textmodes/reftex-ref.el (reftex-format-special): Make it work
339 also for AMS Math's \eqref macro.
341 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
343 Arrange to never byte-compile the generated -pkg.el file.
345 * emacs-lisp/package.el (package-generate-description-file):
346 Output first-line comment to set buffer-local var `no-byte-compile'.
347 Suggested by Dmitry Gutov:
348 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
350 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
352 Fix bug: Properly quote args to generated -pkg.el `define-package'.
354 * emacs-lisp/package.el (package-generate-description-file):
355 Inline `package--alist-to-plist'; rewrite to selectively
356 quote alist values that are not self-quoting.
357 (package--alist-to-plist): Delete func.
359 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
361 * term/xterm.el (xterm-function-map): Add mapping for shifted
364 2014-05-24 Daniel Colascione <dancol@dancol.org>
366 * progmodes/subword.el (subword-find-word-boundary): Move point to
367 correct spot before search. (Bug#17580)
369 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
372 2014-05-24 Leo Liu <sdl.web@gmail.com>
374 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
376 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
378 * minibuffer.el (completion--sreverse): Remove.
379 (completion--common-suffix): Use `reverse' instead.
380 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
382 2014-05-22 Glenn Morris <rgm@gnu.org>
384 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
386 2014-05-21 Daniel Colascione <dancol@dancol.org>
388 * files.el (interpreter-mode-alist): Add mksh.
390 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
392 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
393 mksh. Improve custom spec; allow regular expressions.
394 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
395 (sh-after-hack-local-variables): New function.
396 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
397 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
399 (sh-canonicalize-shell): Rewrite to support regexes.
401 2014-05-21 Leo Liu <sdl.web@gmail.com>
403 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
405 2014-05-19 Leo Liu <sdl.web@gmail.com>
407 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
409 2014-05-18 Glenn Morris <rgm@gnu.org>
412 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
414 2014-05-14 Sam Steingold <sds@gnu.org>
416 * progmodes/python.el (python-shell-get-or-create-process):
417 Do not bind `current-prefix-arg' so that C-c C-z does not talk
418 back unless requested.
420 2014-05-14 Glenn Morris <rgm@gnu.org>
422 * subr.el (with-file-modes): New macro.
423 * printing.el (pr-save-file-modes): Make obsolete.
424 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
425 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
427 * doc-view.el (doc-view-make-safe-dir):
428 * epg.el (epg--start):
429 * files.el (locate-user-emacs-file, make-temp-file)
430 (backup-buffer-copy, move-file-to-trash):
431 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
432 * eshell/esh-util.el (eshell-with-private-file-modes)
433 (eshell-make-private-directory):
434 * net/browse-url.el (browse-url-mosaic):
435 * obsolete/mailpost.el (post-mail-send-it):
436 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
437 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
440 * vc/emerge.el (emerge-make-temp-file): Simplify.
442 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
443 Stefan Monnier <monnier@iro.umontreal.ca>
445 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
448 2014-05-14 Glenn Morris <rgm@gnu.org>
450 * vc/emerge.el (emerge-temp-file-prefix):
451 Make pointless option obsolete.
452 (emerge-temp-file-mode): Make non-functional option obsolete.
454 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
456 * net/browse-url.el (browse-url):
457 Use `unhandled-file-name-directory' when setting `default-directory',
458 in order to circumvent stalled remote connections. (Bug#17425)
460 2014-05-14 Glenn Morris <rgm@gnu.org>
462 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
463 Optimize on Emacs, which has the relevant functions for ages.
465 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
467 * simple.el (undo-make-selective-list): Obey undo-no-redo.
469 2014-05-12 Sam Steingold <sds@gnu.org>
471 * calendar/time-date.el (seconds-to-string): New function to
472 pretty print time delay in seconds.
474 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
476 * mpc.el (mpc-format): Trim Date to the year.
477 (mpc-songs-hashcons): Shorten the Date field.
479 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
480 into autoloading just because of a silly indirection.
482 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
484 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
486 2014-05-12 Glenn Morris <rgm@gnu.org>
488 * emacs-lisp/find-gc.el: Move to ../admin.
490 * printing.el (pr-version):
491 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
493 * net/browse-url.el (browse-url-mosaic):
494 Create /tmp/Mosaic.PID as a private file.
496 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
498 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
499 (advice--member-p): If name is given, only compare the name.
500 (advice--remove-function): Don't stop at the first match.
501 (advice--normalize-place): New function.
502 (add-function, remove-function): Use it.
503 (advice--add-function): Pass the name, if any, to
504 advice--remove-function.
506 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
508 * electric.el (electric-indent-post-self-insert-function): Don't use
509 `pos' after modifying the buffer (bug#17449).
511 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
513 * calendar/todo-mode.el (todo-insert-item-from-calendar):
514 Correct argument list to conform to todo-insert-item--basic.
516 2014-05-12 Glenn Morris <rgm@gnu.org>
518 * files.el (cd-absolute): Test if directory is accessible
519 rather than executable. (Bug#17330)
521 * progmodes/compile.el (recompile):
522 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
524 * net/browse-url.el (browse-url-mosaic):
525 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
526 This is CVE-2014-3423.
528 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
530 * mouse.el: Use the normal toplevel loop while dragging.
531 (mouse-set-point): Handle multi-clicks.
532 (mouse-set-region): Handle multi-clicks for drags.
533 (mouse-drag-region): Update call accordingly.
534 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
535 Use the normal event loop instead of a local while/read-event loop.
536 (global-map): Remove redundant bindings for double/triple-mouse-1.
537 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
538 Generate synthetic down events when the protocol only sends up events.
539 (xterm-mouse-last): Remove.
540 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
541 terminal parameter instead.
542 (xterm-mouse--set-click-count): New function.
543 (xterm-mouse-event): Detect/generate double/triple clicks.
544 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
546 * info.el (Info-quoted): New face.
547 (Info-mode-font-lock-keywords): New var.
550 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
551 are a hindrance for C-x C-e.
553 2014-05-11 Leo Liu <sdl.web@gmail.com>
555 * net/rcirc.el (rcirc-sentinel): Fix last change.
557 2014-05-08 Sam Steingold <sds@gnu.org>
559 * net/rcirc.el (rcirc-reconnect-delay): New user option.
560 (rcirc-sentinel): Auto-reconnect to the server if
561 `rcirc-reconnect-delay' is non-0 (but not more often than its
562 value in case the host is off-line).
564 2014-05-09 Eli Zaretskii <eliz@gnu.org>
566 * progmodes/grep.el (lgrep): Fix a typo in last commit.
568 2014-05-09 Glenn Morris <rgm@gnu.org>
570 * files.el (file-expand-wildcards):
571 * man.el (Man-support-local-filenames):
572 * printing.el (pr-i-directory, pr-interface-directory):
573 * progmodes/grep.el (lgrep, rgrep):
574 * textmodes/ispell.el (ispell-call-process)
575 (ispell-call-process-region, ispell-start-process)
576 (ispell-init-process): Use file-accessible-directory-p.
578 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
580 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
581 (xterm-mouse--read-event-sequence-1000): Return nil if something
583 (xterm-mouse-event): Propagate it.
584 (xterm-mouse-translate-1): Handle it.
586 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
588 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
589 four slots of the parameter list are filled, make sure to pass it
590 to the argument list of todo-insert-item--basic.
592 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
594 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
595 Add optional `seen' argument to detect and break infinite loops.
597 2014-05-08 Eli Zaretskii <eliz@gnu.org>
599 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
600 (trace-unsafe, trace-use-tree): Make parentheses style be
601 according to Emacs style.
603 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
605 * net/tramp-sh.el (tramp-remote-process-environment):
606 Remove HISTFILE and HISTSIZE; it's too late to set them here.
608 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
609 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
610 extra "PSx=..." commands.
611 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
614 (tramp-uudecode): Replace the hard-coded temporary file name by a
616 (tramp-remote-coding-commands): Enhance docstring.
617 (tramp-find-inline-encoding): Replace "%t" by a temporary file
619 This is CVE-2014-3424.
621 2014-05-08 Glenn Morris <rgm@gnu.org>
623 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
624 (find-gc-source-files): Update some names.
625 (trace-call-tree): Simplify and update.
626 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
627 This is CVE-2014-3422.
629 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
631 * minibuffer.el (completion--try-word-completion): Revert fix for
632 Bug#15980 (bug#17375).
634 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
635 Always store button numbers in the same way in xterm-mouse-last;
636 Don't burp is xterm-mouse-last is not set as expected.
637 Never return negative indices.
639 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
641 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
642 Backtrack one char if the global/char-literal var matcher hits
643 inside a string. The next char could be the beginning of an
644 expression expansion.
646 2014-05-08 Glenn Morris <rgm@gnu.org>
648 * help-fns.el (describe-function-1): Test for an autoload before a
649 macro, since `macrop' works on autoloads. (Bug#17410)
651 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
653 * electric.el (electric-indent-functions-without-reindent): Add yaml.
655 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
656 Make sure the new point we return is within the new string (bug#17239).
658 2014-05-05 Daniel Colascione <dancol@dancol.org>
660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
661 Port `gnu' pattern to rx.
663 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
665 Remove unneeded prompt when closing a buffer with active
666 emacsclient ("Buffer ... still has clients"), #16548.
667 * server.el (server-start): Remove the only call to:
668 (server-kill-buffer-query-function): Remove.
670 2014-05-04 Leo Liu <sdl.web@gmail.com>
672 * calendar/diary-lib.el (calendar-chinese-month-name-array):
673 Defvar to pacify compiler.
675 2014-05-04 Eli Zaretskii <eliz@gnu.org>
677 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
679 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
681 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
682 Use nil rather than `default' for the "default" appearance (bug#17388).
683 * vc/ediff-util.el (ediff-inferior-compare-regions)
684 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
685 a misleading `default' value when it's really a boolean.
686 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
687 overlay is not visible.
689 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
691 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
692 (todo-menu): Uncomment and update.
694 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
696 * calendar/todo-mode.el: Reimplement item editing to have the same
697 basic user interface as item insertion, and make small UI and
698 larger internal improvements to the latter.
699 (todo-insert-item): Add reference to the Todo mode user manual to
700 the documentation string.
701 (todo-insert-item--basic): Rename from todo-basic-insert-item and
702 adjust all callers. Change signature to combine diary and
703 nonmarking arguments. Incorporate functionality of deleted item
704 copying command and add error checking. Remove detailed
705 descriptions of the arguments from the documentation string, since
706 this is treated in the Todo mode user manual.
707 (todo-copy-item, todo-edit-multiline-item)
708 (todo-edit-done-item-comment, todo-edit-item-header)
709 (todo-edit-item-time, todo-edit-item-date-from-calendar)
710 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
711 (todo-edit-item-date-year, todo-edit-item-date-month)
712 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
714 (todo-edit-item): Reimplement as wrapper command for
715 todo-edit-item--next-key and make it distinguish done and not done
717 (todo-edit-item--text): New function, replacing old command
718 todo-edit-item and incorporating deleted commands
719 todo-edit-multiline-item and todo-edit-done-item-comment.
720 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
721 Use only numeric value of prefix argument. Remove detailed
722 descriptions of the arguments from the documentation string, since
723 this is treated in the Todo mode user manual.
724 (todo-edit-item--diary-inclusion): New function, replacing old
725 command todo-edit-item-diary-inclusion and incorporating and fixing
726 functionality of deleted command todo-edit-item-diary-nonmarking,
727 making sure to remove todo-nondiary-marker when adding
728 diary-nonmarking-symbol.
729 (todo-edit-category-diary-inclusion): Make sure to delete
730 diary-nonmarking-symbol when adding todo-nondiary-marker.
731 (todo-edit-category-diary-nonmarking): Fix indentation.
732 (todo-insert-item--parameters): Group diary and nonmarking
734 (todo-insert-item--apply-args): Adjust to signature of
735 todo-insert-item--basic and incorporate copy parameter.
736 Make small code improvements.
737 (todo-insert-item--next-param): Improve prompt and adjust it to
738 new parameter grouping. Remove obsolete code.
739 (todo-edit-item--param-key-alist)
740 (todo-edit-item--date-param-key-alist)
741 (todo-edit-done-item--param-key-alist): New defconsts.
742 (todo-edit-item--prompt): New variable.
743 (todo-edit-item--next-key): New function.
744 (todo-key-bindings-t): Bind "e" to todo-edit-item.
745 Remove bindings of deleted commands.
747 2014-05-04 Leo Liu <sdl.web@gmail.com>
749 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
751 2014-05-04 Glenn Morris <rgm@gnu.org>
753 * allout-widgets.el (allout-widgets-tally)
754 (allout-decorate-item-guides):
755 * menu-bar.el (menu-bar-positive-p):
756 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
757 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
758 * progmodes/js.el (js--inside-param-list-p)
759 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
760 * progmodes/prolog.el (region-exists-p):
761 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
762 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
763 Doc fixes (replace `iff').
765 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
767 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
769 2014-05-04 Leo Liu <sdl.web@gmail.com>
771 Support Chinese diary entries in calendar and diary. (Bug#17393)
772 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
773 (calendar-chinese-from-absolute-for-diary)
774 (calendar-chinese-to-absolute-for-diary)
775 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
776 (diary-chinese-list-entries): New functions to list and mark
777 Chinese diary entries in the calendar window.
778 (diary-chinese-anniversary)
779 (diary-chinese-insert-anniversary-entry)
780 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
781 (diary-chinese-insert-yearly-entry): New commands to insert
782 Chinese diary entries.
784 * calendar/diary-lib.el (diary-font-lock-keywords):
785 Support font-locking Chinese dates.
787 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
788 inserting Chinese diary entries.
790 * calendar/calendar.el (diary-chinese-entry-symbol):
791 New customizable variable.
792 (calendar-mode-map): Add bindings for inserting Chinese diary
795 2014-05-03 Juri Linkov <juri@jurta.org>
797 * dired.el (dired-check-switches, dired-switches-recursive-p):
798 New functions. (Bug#17218)
799 (dired-switches-escape-p, dired-move-to-end-of-filename):
800 Use `dired-check-switches'.
801 (dired-insert-old-subdirs, dired-build-subdir-alist)
802 (dired-sort-R-check): Use `dired-switches-recursive-p'.
804 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
806 * simple.el (undo-make-selective-list): New algorithm fixes
807 incorrectness of position adjustments when undoing in region.
809 (undo-elt-crosses-region): Make obsolete.
810 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
811 New functions to adjust positions using undo-deltas.
813 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
815 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
816 the last consecutive closing paren (bug#17345).
818 2014-04-30 Reuben Thomas <rrt@sc3d.org>
820 * dired.el (dired-mode): make terminology for eXpunge command
821 consistent. (Bug#17276)
823 2014-04-30 Eli Zaretskii <eliz@gnu.org>
825 * dired.el (dired-initial-position-hook, dired-initial-position):
828 2014-04-30 Glenn Morris <rgm@gnu.org>
830 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
832 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
834 * faces.el (face-spec-recalc): Apply X resources only after the
835 defface spec has been applied. Thus, X resources are no longer
836 overriden by the defface spec which also fixes issues on win32 where
837 the toolbar coloring was wrong because it is set through X resources
838 and was (wrongfully) overriden. (Bug#16694)
840 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
842 * textmodes/rst.el (electric-pair-pairs): Declare.
843 (rst-mode): Set it (bug#17131).
845 2014-04-30 Juri Linkov <juri@jurta.org>
847 * desktop.el (desktop-value-to-string): Let-bind `print-length'
848 and `print-level' to nil. (Bug#17351)
850 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
852 * battery.el (battery-update): Handle the case where battery
853 status is "N/A" (bug#17319).
855 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
857 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
858 to syntax-propertize.
859 (ps-mode-auto-indent): Mark as obsolete.
860 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
861 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
862 word regexp operators.
863 (ps-mode-map): Move initialization into declaration. Remove binding
864 for TAB, RET, >, ], and }.
865 (ps-mode-syntax-table): Move initialization into declaration.
866 Don't give word syntax to non-word chars.
867 (ps-run-mode-map): Move initialization into declaration.
868 (ps-mode-menu-main): Remove auto-indent entry.
869 (ps-mode-smie-rules): New function.
870 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
871 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
872 (ps-mode--string-syntax-table): New const.
873 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
875 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
876 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
878 2014-04-27 Daniel Colascione <dancol@dancol.org>
880 * term/xterm.el (xterm-paste): Use large finite timeout when
881 reading event to avoid putting keys in this-command-keys.
883 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
885 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
886 (perl-syntax-propertize-function): Use it. Extend handling of
887 here-docs to the unquoted case.
889 2014-04-25 Eli Zaretskii <eliz@gnu.org>
891 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
892 Use equal-including-properties to compare help-echo strings (bug#17331).
894 2014-04-25 Leo Liu <sdl.web@gmail.com>
896 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
897 Fix syntax for @. (Bug#17325)
899 2014-04-25 Daniel Colascione <dancol@dancol.org>
901 * emacs-lisp/cl.el (gv): Require gv early to break eager
902 macro-expansion cycles.
904 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
906 * simple.el (region-active-p): Check there's a mark (bug#17324).
908 * simple.el (completion-list-mode-map): Use choose-completion for the
909 mouse binding as well (bug#17302).
910 (completion-list-mode, completion-setup-function): Adjust docstring and
911 echo area message accordingly.
912 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
913 calling convention of choose-completion.
914 * comint.el (comint-dynamic-list-completions):
915 * term.el (term-dynamic-list-completions): Accept choose-completion.
917 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
918 &, |, +, - and * can't be a division (bug#17317).
920 * term/xterm.el (xterm--version-handler): Don't use modern xterm
921 features on gnome-terminal (bug#16988).
923 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
925 Improve Scheme font-locking for (define ((foo ...) ...) ...).
927 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
928 the declared object, ignore zero or more parens, not zero or one.
930 2014-04-24 Leo Liu <sdl.web@gmail.com>
932 * progmodes/xscheme.el (xscheme-expressions-ring)
933 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
934 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
935 (xscheme-allow-output-p, xscheme-prompt)
936 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
938 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
939 Comment out unused functions.
941 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
943 * info.el: Use lexical-binding and cl-lib.
944 Use defvar-local and setq-local instead of make-local-variable.
945 (Info-apropos-matches): Avoid add-to-list.
946 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
948 2014-04-24 Daniel Colascione <dancol@dancol.org>
950 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
952 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
954 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
956 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
958 * dired.el (dired-insert-set-properties): Do not consider
959 subdirectory headings and empty lines to be information that
960 `dired-hide-details-mode' should hide. (Bug#17228)
962 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
964 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
965 Remove test messages.
966 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
969 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
971 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
972 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
974 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
976 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
978 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
979 Set "IFS=" when using read builtin, in order to preserve spaces in
980 the file name. Add test messages for hunting a bug on hydra.
981 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
983 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
985 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
986 Don't prettify a word within a symbol.
988 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
990 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
993 2014-04-22 Daniel Colascione <dancol@dancol.org>
995 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
996 use defun to define `function-put'.
998 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1001 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1002 (lisp-mode-variables): Set font-lock-extra-managed-props.
1004 * emacs-lisp/byte-run.el (function-put): New function.
1005 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1006 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1007 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1010 2014-04-22 Daniel Colascione <dancol@dancol.org>
1012 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1013 Add `full-p' parameter; when nil, call `macroexpand' instead of
1016 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1019 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1020 Use lambda function values, not quoted lambdas.
1021 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1023 * emacs-lisp/cl-macs.el
1024 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1025 (cl-struct-slot-value): Conditionally use aref or nth so that the
1026 compiler produces optimal code.
1028 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1031 (inline): Don't inline cl--set-elt.
1032 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1033 Define as inlinable instead.
1034 (cl-struct-set-slot-value): Remove.
1036 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1037 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1040 2014-04-21 Daniel Colascione <dancol@dancol.org>
1042 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1043 last two parameters after all.
1044 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1045 (cl--compiler-macro-assoc,cl-struct-slot-value)
1046 (cl-struct-set-slot-value): Stop using them.
1048 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1051 entry in image-mode-winprops-alist.
1053 2014-04-21 Daniel Colascione <dancol@dancol.org>
1055 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1056 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1057 (byte-compile-toplevel-file-form): Use it.
1059 * emacs-lisp/cl-macs.el:
1060 (cl--loop-let): Properly destructure `while' clauses.
1062 2014-04-20 Daniel Colascione <dancol@dancol.org>
1064 * vc/vc.el (vc-root-dir): New public autoloaded function for
1065 generically finding the current VC root.
1066 * vc/vc-hooks.el (vc-not-supported): New error.
1067 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1069 2014-04-20 Daniel Colascione <dancol@dancol.org>
1071 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1073 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1074 argument in case we're inside a symbol-macrolet.
1075 (cl--do-arglist, cl--compiler-macro-typep)
1076 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1077 environment to `cl--const-expr-val'.
1078 (cl-struct-sequence-type,cl-struct-slot-info)
1079 (cl-struct-slot-offset, cl-struct-slot-value)
1080 (cl-struct-set-slot-value): New functions.
1082 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1085 assignments such as "case=hello" (bug#17297).
1087 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1089 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1091 (tramp-file-name-handler, tramp-completion-file-name-handler):
1092 Revert patch from 2014-04-10, it isn't necessary anymore.
1093 (tramp-autoload-file-name-handler)
1094 (tramp-register-autoload-file-name-handlers): New defuns.
1095 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1096 (tramp-register-file-name-handlers): Remove also
1097 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1098 Do not autoload its invocation, but eval it after loading of 'tramp.
1100 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1102 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1104 2014-04-17 Daniel Colascione <dancol@dancol.org>
1106 Add support for bracketed paste mode; add infrastructure for
1107 managing terminal mode enabling and disabling automatically.
1110 (xterm-mouse-mode): Simplify.
1111 (xterm-mouse-tracking-enable-sequence)
1112 (xterm-mouse-tracking-disable-sequence): New constants.
1113 (turn-on-xterm-mouse-tracking-on-terminal)
1114 (turn-off-xterm-mouse-tracking-on-terminal):
1115 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1116 parameters instead of random hooks.
1117 (turn-on-xterm-mouse-tracking)
1118 (turn-off-xterm-mouse-tracking): Delete.
1120 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1121 (xterm-paste-ending-sequence): New constant.
1122 (xterm-paste): New command used for bracketed paste support.
1124 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1125 (terminal-init-xterm-bracketed-paste-mode): New function.
1126 (terminal-init-xterm): Call it.
1127 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1128 and tty-mode-reset-strings instead of random hooks.
1129 (xterm-turn-on-modify-other-keys)
1130 (xterm-turn-off-modify-other-keys)
1131 (xterm-remove-modify-other-keys): Delete obsolete functions.
1133 * term/screen.el: Rewrite to just use the xterm code.
1134 Add copyright notice. Mention tmux.
1136 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1138 * image-mode.el (image-mode-window-put): Also update the property of
1139 the "default window".
1140 * doc-view.el (doc-view-new-window-function): If no window
1141 exists, move to the last known page.
1143 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1145 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1146 here-documents (bug#17262).
1148 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1150 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1151 Provide doc strings, as required by snarf-documentation.
1153 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1155 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1156 arg of overlays-at. Use `invisible-p'.
1158 * obsolete/lucid.el (extent-at):
1159 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1161 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1163 2014-04-16 João Távora <joaotavora@gmail.com>
1165 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1168 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1170 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1171 Use mapc to loop over a vector. (Bug#17257).
1173 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
1175 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1176 patch, there are new problems with file names containing spaces.
1177 Get rid of backticks. (Bug#17238)
1179 2014-04-16 João Távora <joaotavora@gmail.com>
1181 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1184 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1186 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1187 (blink-cursor-mode): Mention customization variables and the
1188 effect of 'blink-cursor-blinks'.
1190 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
1192 * simple.el (undo): Prevent insertion of identity mapping into
1193 undo-equiv-table so as undo-only does not inf loop in the presence
1194 of consecutive nils in undo list.
1196 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
1198 * faces.el (make-face): Deprecate optional argument as it is no
1199 longer needed/used since the conditional X resources handling
1200 has been pushed down to make-face-x-resource-internal itself.
1201 (make-empty-face): Don't pass optional argument to make-face.
1203 2014-04-16 Karl Fogel <kfogel@red-bean.com>
1205 * savehist.el (savehist-save): Remove workaround for a read-passwd
1206 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1207 noticing that the shim was still present.
1209 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1213 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
1215 * faces.el (face-set-after-frame-default): Remove unused local variable.
1217 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * progmodes/grep.el: Use lexical-binding.
1220 (grep-expand-template): Pass explicit lexical env to `eval'.
1221 (zrgrep): Let-bind grep-find-template explicitly.
1223 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1224 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1226 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1228 * international/characters.el <standard-case-table>: Add entries
1229 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1230 Set category of Coptic characters be 'g' (Greek).
1232 2014-04-12 Leo Liu <sdl.web@gmail.com>
1234 * progmodes/octave.el (completion-table-with-cache):
1235 Define if not available.
1236 (octave-goto-function-definition, octave-sync-function-file-names)
1237 (octave-find-definition-default-filename):
1238 Backquote upattern for compatibility.
1240 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
1242 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1243 name twice due to backticks. (Bug#17238)
1245 2014-04-12 Glenn Morris <rgm@gnu.org>
1247 * term/w32-win.el (x-win-suspend-error):
1248 * term/x-win.el (x-win-suspend-error): Sync docs.
1250 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1252 * faces.el (make-face): Remove deprecated optional argument.
1253 The conditional application of X resources is handled directly by
1254 make-face-x-resource-internal since Emacs 24.4.
1255 (make-empty-face): Don't pass optional argument to make-face.
1257 2014-04-11 Glenn Morris <rgm@gnu.org>
1259 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1261 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1263 Ediff's overlay priorities cause more trouble than they solve.
1264 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1265 (ediff-highest-priority): Remove function (bug#17234).
1266 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1267 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1268 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1271 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
1273 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1274 entry; use symbol boundaries to avoid mis-matches.
1276 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1278 * net/tramp.el (tramp-file-name-handler)
1279 (tramp-completion-file-name-handler): Avoid recursive loading.
1281 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1282 Quote result also locally.
1284 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1287 Remove left-over code.
1289 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1290 Reuse the previous comment's indentation unconditionally if it's on its
1293 2014-04-09 Daniel Colascione <dancol@dancol.org>
1295 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1296 `no-syntax-crossing' arguments. Forward to `up-list'.
1297 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1298 Implement logic for escaping from strings. Use narrowing to deal
1301 2014-04-09 Leo Liu <sdl.web@gmail.com>
1303 * net/rcirc.el (rcirc-connection-info): New variable.
1304 (rcirc-connect): Use it to store connection info.
1305 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1307 (rcirc-cmd-reconnect): New command. (Bug#17045)
1308 (rcirc-mode, set-rcirc-encode-coding-system)
1309 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1311 2014-04-09 Daniel Colascione <dancol@dancol.org>
1313 * emacs-lisp/cl-indent.el: Add comment claiming
1314 facility is also good for elisp.
1315 (lisp-indent-find-method): New function.
1316 (common-lisp-indent-function): Recognize cl-loop.
1317 (common-lisp-indent-function-1): Recognize cl constructs; use
1318 `lisp-indent-find-method' instead of `get' directly.
1319 (if): Use else-body style for elisp.
1321 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1324 Module methods. (Bug#17216)
1326 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1329 (describe-bindings-internal): Mark obsolete.
1331 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1334 buffer-file-name, and buffer-file-truename any more.
1336 2014-04-08 Leo Liu <sdl.web@gmail.com>
1338 Use lexical-binding and require cl-lib.
1339 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1340 (rcirc-handler-generic, rcirc-fill-paragraph)
1341 (rcirc-format-response-string, rcirc-target-buffer)
1342 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1343 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1344 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1345 (rcirc-markup-timestamp, rcirc-markup-attributes)
1346 (rcirc-markup-my-nick, rcirc-markup-urls)
1347 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1348 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1349 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1350 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1351 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1352 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1353 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1354 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1355 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1356 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1357 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1360 2014-04-07 João Távora <joaotavora@gmail.com>
1362 * elec-pair.el (electric-pair--syntax-ppss):
1363 When inside comments parse from comment beginning.
1364 (electric-pair--balance-info): Fix typo in comment.
1365 (electric-pair--in-unterminated-string-p): Delete.
1366 (electric-pair--unbalanced-strings-p): New function.
1367 (electric-pair-string-bound-function): New var.
1368 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1369 according to `electric-pair--in-unterminated-string-p'
1371 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1372 Inhibit quote pairing if point-max is inside an unterminated string.
1373 (electric-pair--looking-at-unterminated-string-p): Delete.
1374 (electric-pair--in-unterminated-string-p): New function.
1376 2014-04-07 Glenn Morris <rgm@gnu.org>
1378 * shell.el (shell-directory-tracker):
1379 Go back to just ignoring failures. (Bug#17159)
1381 2014-04-07 João Távora <joaotavora@gmail.com>
1383 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1384 backspace. (bug#16981)
1385 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1386 (electric-pair-backward-delete-char-untabify): Delete.
1387 (electric-pair-mode-map): Bind backspace to a menu item filtering
1388 a new `electric-pair-delete-pair' command.
1389 (electric-pair-delete-pair): New command.
1391 * progmodes/python.el (python-electric-pair-string-delimiter):
1392 Fix triple-quoting electricity. (Bug#17192)
1394 * elec-pair.el (electric-pair-post-self-insert-function):
1395 Don't skip whitespace when `electric-pair-text-pairs' and
1396 `electric-pair-pairs' were used. syntax to
1397 electric-pair--skip-whitespace. (Bug#17183)
1399 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1401 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1404 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1407 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1409 2014-04-07 Glenn Morris <rgm@gnu.org>
1411 * help.el (view-lossage): Doc tweak.
1413 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
1415 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1416 only when inhibit-x-resources is nil, and do that earlier in the
1417 function. Doc fix. (Bug#16694)
1418 (face-spec-choose): Accept additional optional argument, whose
1419 value is returned if no matching attributes are found.
1420 (face-spec-recalc): Use the new optional argument when calling
1421 face-spec-choose. (Bug#16378)
1422 (make-face-x-resource-internal): Do nothing when
1423 inhibit-x-resources is non-nil. Don't touch the default face if
1424 reversed video is given--as was done in previous versions of Emacs.
1425 (face-set-after-frame-default): Don't call
1426 make-face-x-resource-internal here. (Bug#16434)
1428 2014-04-07 Tassilo Horn <tsdh@gnu.org>
1430 * doc-view.el (doc-view-bookmark-jump):
1431 Use `bookmark-after-jump-hook' to jump to the right page after the
1432 buffer is shown in a window. (bug#16090)
1434 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1436 * international/characters.el (mirroring): Fix last change:
1437 instead of loading uni-mirrored.el explicitly, do that implicitly
1438 by creating the 'mirroring' uniprop table. This avoids announcing
1439 the loading of uni-mirrored.el.
1441 2014-04-07 Glenn Morris <rgm@gnu.org>
1443 * files.el (buffer-stale--default-function)
1444 (buffer-stale-function, revert-buffer--default):
1445 * autorevert.el (auto-revert-buffers): Doc tweaks.
1447 2014-04-07 Eli Zaretskii <eliz@gnu.org>
1449 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1451 2014-04-07 Glenn Morris <rgm@gnu.org>
1453 * files.el (make-backup-file-name-function)
1454 (make-backup-file-name, make-backup-file-name--default-function)
1455 (make-backup-file-name-1, find-backup-file-name)
1456 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1457 (buffer-stale--default-function, buffer-stale-function)
1458 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1459 (revert-buffer, revert-buffer--default)
1460 (revert-buffer-insert-file-contents--default-function):
1461 Doc fixes related to defaults no longer being nil.
1462 (make-backup-file-name-function): Bump :version.
1463 Restore nil as a valid but deprecated custom type.
1465 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1467 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1468 Handle $' used as a variable (bug#17174).
1470 * progmodes/perl-mode.el (perl-indent-new-calculate):
1471 Handle forward-sexp failure (bug#16985).
1472 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1473 modifiers introducing expressions (bug#17116).
1475 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1479 2014-04-05 Leo Liu <sdl.web@gmail.com>
1481 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1482 Add define-compilation-mode.
1484 2014-04-04 João Távora <joaotavora@gmail.com>
1486 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1487 parse from comment beginning.
1488 (electric-pair--balance-info): Fix typo in comment.
1489 (electric-pair--in-unterminated-string-p): Delete.
1490 (electric-pair--unbalanced-strings-p): New function.
1491 (electric-pair-string-bound-function): New var.
1492 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1493 according to `electric-pair--in-unterminated-string-p'.
1495 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1498 Move declaration before first use.
1499 (reftex-move-to-next-arg): Silence compiler warning.
1501 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1503 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1504 Use `window-total-width' instead of `window-width'.
1506 2014-04-03 Daniel Colascione <dancol@dancol.org>
1508 * subr.el (set-transient-map): Remove rms's workaround entirely;
1509 use new `suspicious-object' subr to mark our lambda for closer
1512 2014-04-02 Richard Stallman <rms@gnu.org>
1514 * subr.el (set-transient-map): Comment out previous change.
1516 2014-04-02 Glenn Morris <rgm@gnu.org>
1518 * menu-bar.el (menu-bar-file-menu):
1519 * vc/ediff.el (ediff-current-file):
1520 Update for revert-buffer-function no longer being nil by default.
1522 * simple.el (command-execute): Respect nil disabled-command-function.
1524 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1526 * simple.el (command-execute): Do not execute the command when it
1527 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1529 2014-04-02 Juri Linkov <juri@jurta.org>
1531 * dired-aux.el (dired-compress-file): Don't use string-match-p
1532 because its match data is used afterwards.
1534 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1539 2014-04-02 João Távora <joaotavora@gmail.com>
1541 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1542 Inhibit quote pairing if point-max is inside an unterminated string.
1543 (electric-pair--looking-at-unterminated-string-p):
1545 (electric-pair--in-unterminated-string-p): New function.
1547 2014-04-01 Daniel Colascione <dancol@dancol.org>
1549 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1550 when trying to complete the prompt.
1552 2014-03-31 Leo Liu <sdl.web@gmail.com>
1554 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1555 Refactor out eldoc-documentation-function-default.
1556 (eldoc-documentation-function-default): New function.
1557 (eldoc-documentation-function): Change value.
1559 2014-03-31 Glenn Morris <rgm@gnu.org>
1561 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1563 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1564 (vhdl-compose-components-package, vhdl-compose-configuration):
1565 Abbreviate default-directory (missing from some previous upstream sync).
1567 2014-03-31 Reto Zimmermann <reto@gnu.org>
1569 Sync with upstream vhdl mode v3.35.2.
1570 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1571 (top-level): No longer require assoc.
1572 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1573 New functions. Use throughout to replace aget etc.
1574 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1575 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1576 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1577 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1578 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1579 except `vhdl-compiler'.
1580 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1583 2014-03-31 Glenn Morris <rgm@gnu.org>
1585 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1586 Revert 2014-03-26 merge goof; go back to using defalias.
1588 2014-03-30 Daniel Colascione <dancol@dancol.org>
1590 * comint.el (comint-send-input):
1591 Deactivate completion-in-region-mode before we send comint input.
1594 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1597 2014-03-29 Glenn Morris <rgm@gnu.org>
1599 * textmodes/reftex.el: Manage most autoloads automatically.
1600 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1601 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1602 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1603 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1604 * textmodes/reftex-toc.el: Set generated-autoload-file,
1605 and add autoload cookies for reftex.el.
1606 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1608 2014-03-28 Glenn Morris <rgm@gnu.org>
1610 * cus-start.el (report-emacs-bug-address): Set custom properties.
1611 * mail/emacsbug.el (report-emacs-bug-address):
1612 Variable is now defined in emacs.c.
1614 * mail/emacsbug.el (report-emacs-bug):
1615 Include system-configuration-features.
1617 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1619 * simple.el (cycle-spacing): Never delete spaces on first run by
1620 default, but do so in a new 'fast mode and if there are already
1621 N spaces (the previous behavior).
1622 Compare N with its value in previous invocation so that changing
1623 prefix argument restarts `cycle-spacing' sequence.
1624 The idea is that with this change, binding M-SPC to
1625 `cycle-spacing' should not introduce any changes in behavior of
1626 the binding so long as users do not type M-SPC twice in a raw with
1627 the same prefix argument or lack thereof.
1629 2014-03-28 Glenn Morris <rgm@gnu.org>
1631 * faces.el (term-file-aliases): New variable.
1632 (tty-run-terminal-initialization): Respect term-file-aliases.
1633 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1634 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1635 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1637 2014-03-27 Glenn Morris <rgm@gnu.org>
1639 * startup.el (inhibit-startup-hooks): Doc tweak.
1640 (normal-top-level): Simplify running of hooks.
1641 For window-setup-hook, respect inhibit-startup-hooks.
1642 (command-line-1): Don't set window-setup-hook to nil.
1644 Allow selective autoloading from obsolete/ directory.
1645 * Makefile.in (obsolete-autoloads): New rule.
1646 (autoloads): Run obsolete-autoloads.
1647 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1648 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1650 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1652 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1653 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1655 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1656 Don't propertize `?' or `!' as symbol constituent when after
1659 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1661 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1662 which is no longer needed and causes trouble in GTK builds (bug#17046).
1664 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1665 Use url-insert-file-contents; package-handle-response no longer exists.
1667 2014-03-26 Daniel Colascione <dancol@dancol.org>
1669 * simple.el (process-menu-mode-map): New variable.
1670 (process-menu-delete-process): New command.
1672 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1674 * emacs-lisp/package.el: Fix bug#16733 (again).
1675 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1676 (url-http-target-url): Remove unused declarations.
1677 (package-handle-response): Remove.
1678 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1679 (package--download-one-archive): Use current-buffer instead of
1680 dynamic binding of `buffer'.
1681 (describe-package-1): Do not decode readme-string.
1683 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1685 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1687 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1688 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1689 `remote-file-name-inhibit-cache' to nil in the second pass.
1690 (tramp-find-executable): Do not call "which" on SunOS.
1691 (tramp-send-command-and-check): Fix docstring.
1692 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1693 check whether source directory has set the sticky bit.
1695 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1697 * simple.el (primitive-undo): Only process marker adjustments
1698 validated against their corresponding (TEXT . POS). Issue warning
1699 for lone marker adjustments in undo history. (Bug#16818)
1700 (undo-make-selective-list): Add marker adjustments to selective
1701 undo list based on whether their corresponding (TEXT . POS) is in
1702 the region. Remove variable adjusted-markers, which was unused
1703 and only non nil during undo-make-selective-list.
1704 (undo-elt-in-region): Return nil when passed a marker adjustment
1705 and explain in function doc.
1707 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1709 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1711 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1713 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1714 Match special global variables without curlies, too.
1715 (ruby-font-lock-keywords): Simplify the matcher for special global
1716 variables. Don't require a non-word character after the variable.
1719 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * simple.el (redisplay-highlight-region-function): Increase priority of
1722 overlay to make sure boundaries are visible (bug#15899).
1724 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1726 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1727 (frameset-restore): Compare display strings with equal.
1729 * frame.el (make-frame): Don't quote display name in error message,
1730 it is already a string.
1732 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1734 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1737 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1739 * emacs-lisp/package.el (package--add-to-archive-contents):
1740 Include already installed and built-in packages in
1741 `package-archive-contents'.
1742 (package-install): Don't include already installed packages in the
1743 options during interactive invocation. (Bug#16762)
1744 (package-show-package-list): If the buffer is already displayed in
1745 another window, switch to that window.
1747 2014-03-26 Reto Zimmermann <reto@gnu.org>
1749 Sync with upstream vhdl mode v3.35.1.
1750 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1751 (vhdl-compiler-alist): Doc fix.
1752 (vhdl-goto-line): Remove.
1753 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1754 (vhdl-mode) <paragraph-start>: Fix value.
1755 (vhdl-fix-statement-region): Not `for' in wait-statement.
1756 (vhdl-beautify-region): Also (un)tabify.
1757 (vhdl-get-visible-signals):
1758 Scan declarative part of generate statements.
1759 (vhdl-template-record): Fix indentation for record type declaration.
1760 (vhdl-expand-abbrev, vhdl-expand-paren):
1761 Revert to using fset again rather than defalias.
1762 (vhdl-scan-directory-contents): Tweak.
1763 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1764 (vhdl-compose-components-package):
1765 Replace vhdl-goto-line with forward-line.
1766 (top-level): Tweak speedbar frame selection.
1767 (vhdl-generate-makefile-1): Support for compilers with no
1768 unit-to-file name mapping (create directory with dummy files).
1770 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1772 Sync with upstream verilog-mode revision 702457d.
1773 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1774 (create-lockfiles): Declare.
1775 (verilog-read-decls): Fix module header imports, bug709.
1776 Reported by Victor Lau.
1777 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1778 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1779 interface-only modules, bug721. Reported by Dean Hoyt.
1781 2014-03-26 Glenn Morris <rgm@gnu.org>
1783 * obsolete/gulp.el: Move here from emacs-lisp/.
1785 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1786 Remove fallback aliases, since they are always defined now.
1788 2014-03-24 Daniel Colascione <dancol@dancol.org>
1790 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1791 instead of cl-loop search function.
1793 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1795 * calendar/parse-time.el (parse-time-iso8601-regexp)
1796 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1799 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1801 * net/dns.el (network-interface-list): Define for XEmacs.
1803 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1805 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1806 the network interfaces changed.
1807 (dns-query): Use it to flush the data.
1809 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1811 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1813 2014-03-23 Daniel Colascione <dancol@dancol.org>
1815 Change subword-mode to use `find-word-boundary-function-table' and
1816 replace `capitalized-words-mode'. Also, convert to lexical
1819 * progmodes/cap-words.el: Delete now-obsolete file.
1820 * progmodes/subword.el: Reimplement using
1821 `find-word-boundary-function-table'.
1822 (subword-mode-map): Hollow out.
1823 (capitalized-words-mode): Define as obsolete alias for
1825 (subword-mode, superword-mode): Tweak documentation to reflect new
1826 implementation; call `subword-setup-buffer'.
1827 (subword-forward, subword-capitalize): Add underscore to indicate
1829 (subword-find-word-boundary-function-table): New constant.
1830 (subword-empty-char-table): New constant.
1831 (subword-setup-buffer): New function.
1832 (subword-find-word-boundary): New function.
1834 2014-03-23 Daniel Colascione <dancol@dancol.org>
1836 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1837 list to look for keyword arguments instead of `memq', fixing
1838 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1839 Please make bootstrap.
1841 2014-03-22 Glenn Morris <rgm@gnu.org>
1843 * dired.el (dired-read-regexp): Make obsolete.
1844 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1845 (dired-flag-files-regexp):
1846 * dired-aux.el (dired-mark-read-regexp):
1847 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1849 * startup.el (fancy-startup-text):
1850 * help.el (describe-gnu-project): Visit online info about GNU project.
1852 * help-fns.el (help-fns--interactive-only): New function.
1853 (help-fns-describe-function-functions): Add the above function.
1854 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1855 (next-line, previous-line): Remove hand-written interactive-only
1856 information from doc strings, it is auto-generated now.
1857 * bookmark.el (bookmark-write):
1858 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1859 (epa-mail-import-keys): Mark interactive-only,
1860 and remove hand-written interactive-only information from doc strings.
1861 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1862 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1863 * files.el (not-modified):
1864 * simple.el (mark-whole-buffer): Mark interactive-only.
1866 * emacs-lisp/byte-run.el (defun-declarations-alist):
1867 Add interactive-only. Doc tweak.
1868 (macro-declarations-alist): Doc tweak.
1869 * subr.el (declare): Doc tweak (add xref to manual).
1870 * comint.el (comint-run):
1871 * files.el (insert-file-literally, insert-file):
1872 * replace.el (replace-string, replace-regexp):
1873 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1874 (delete-forward-char, goto-line, insert-buffer, next-line)
1875 (previous-line): Set interactive-only via declare.
1877 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1879 * emacs-lisp/package.el (package-desc): Use the contents of the
1880 quoted form, not its cdr. (Bug#16873)
1882 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1884 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1885 benefit of doc.c; change parameter profile to match the X function.
1887 2014-03-22 Leo Liu <sdl.web@gmail.com>
1889 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1890 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1892 2014-03-21 Richard Stallman <rms@gnu.org>
1894 * battery.el (battery-linux-sysfs): Search for each field
1895 from the beginning of the buffer.
1897 * subr.el (set-transient-map): Clear out function and value
1898 of the temporary symbol when we're done with it.
1900 * mail/rmailsum.el (rmail-summary-delete-forward):
1901 Optimize case of reaching end and handling count.
1902 (rmail-summary-mark-deleted): Optimize when N is current msg.
1903 Don't create new summary line.
1904 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1905 (rmail-summary-undelete-many): Rewrite for speed.
1906 (rmail-summary-msg-number): New function.
1908 * mail/rmail.el (rmail-delete-message): Update summary.
1909 (rmail-undelete-previous-message): Handle repeat count arg.
1910 (rmail-delete-backward, rmail-delete-forward): Likewise.
1912 2014-03-21 Daniel Colascione <dancol@dancol.org>
1914 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1915 information in bug reports.
1917 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1919 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1920 and `tramp-copy-env'.
1922 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1923 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1925 2014-03-21 Glenn Morris <rgm@gnu.org>
1927 * electric.el (electric-indent-post-self-insert-function): Add doc.
1929 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1931 * emacs-lisp/package.el (package-compute-transaction):
1932 Use `version-list-<=' to compare the requirement version against
1933 the version of package already to be installed. Update the error
1934 message. (Bug#16826)
1936 * progmodes/ruby-mode.el (ruby-smie-rules):
1937 Add indentation rule for ` @ '. (Bug#17050)
1939 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1941 * align.el (align-regexp): Remove superfluous backslash.
1943 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1944 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1945 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1946 Fix docstring typos.
1947 (ffap-next): Use C-u in docstring.
1948 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1949 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1950 Remove superfluous backslashes.
1951 (ffap-string-at-point): Reflow docstring.
1953 * server.el (server-host): Reflow docstring.
1954 (server-unload-function): Fix docstring typo.
1955 (server-eval-at): Remove superfluous backslash.
1957 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1958 (skeleton-insert): Doc fix.
1959 (skeleton-insert): Reflow docstring.
1961 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1962 (tty-color-approximate, tty-color-by-index, tty-color-values)
1963 (tty-color-desc): Remove superfluous backslashes.
1965 2014-03-21 Glenn Morris <rgm@gnu.org>
1967 * cus-start.el (history-length): Bump :version.
1969 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1970 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1971 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1972 Don't set `make-backup-files'.
1974 * info.el (info--prettify-description): New function,
1975 to give info-finder descriptions consistent case, punctuation.
1976 (Info-finder-find-node): Use it. Sort packages.
1977 Refer to "description" rather than "commentary".
1979 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1981 * frameset.el (frameset--print-register): New function.
1982 (frameset-to-register): Use it.
1984 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1986 * progmodes/hideif.el (hif-string-to-number): New function.
1987 (hif-tokenize): Use it to understand non-decimal floats.
1989 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1991 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1993 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * electric.el (electric-newline-and-maybe-indent): New command.
1996 Bind it globally to C-j.
1997 (electric-indent-mode): Don't mess with the global map any more.
1998 Don't drop the post-self-insert-hook is some buffer is still using it
2001 * bindings.el (global-map): Remove C-j binding.
2003 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2004 the docstring of functions advised before dumping (bug#16993).
2006 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2008 * ps-print.el (ps-generate-postscript-with-faces):
2009 Explicitly deactivate the mark (bug#16866).
2010 * simple.el (deactivate-mark): Update region highlight.
2012 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2014 * emacs-lisp/package.el (describe-package-1):
2015 Decode commentary (bug#16733).
2017 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2019 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2020 modification of the value argument of :set (bug#16755).
2022 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2024 * simple.el (newline-and-indent): Do autofill (bug#17031).
2026 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2028 * newcomment.el (comment-normalize-vars): Only add escaping check
2029 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2030 (comment-beginning): Use `narrow-to-region' instead of moving back
2032 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2033 (comment-start-skip): Update the docstring.
2035 2014-03-18 Richard Stallman <rms@gnu.org>
2037 * dired.el (dired-display-file): Force use of other window.
2039 2014-03-18 Daniel Colascione <dancol@dancol.org>
2041 * startup.el (tty-handle-args): Remove debug message from 2007.
2043 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2045 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2046 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2047 (advice--make-1, advice-add, advice-remove):
2048 Remove braindead :advice-pending hack.
2050 2014-03-17 Glenn Morris <rgm@gnu.org>
2052 * calendar/calendar.el (calendar-generate-month): Apply weekend
2053 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2055 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2057 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2058 (tramp-call-process): Trace also DESTINATION.
2060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2061 Quote file names when they are local. Remove superfluous trace.
2063 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2065 * newcomment.el (comment-beginning): If `comment-start-skip'
2066 doesn't match, move back one char and try again. (Bug#16971)
2068 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2069 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2070 Set `comment-start-skip' to a simpler value that doesn't try to
2071 check if the semicolon is escaped (this is handled by
2072 `syntax-ppss' now). (Bug#16971)
2074 * progmodes/scheme.el (scheme-mode-variables): Same.
2076 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2078 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2079 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2080 current (Bug#16816, Bug#17007).
2081 (with-current-buffer-window): New macro doing the same as
2082 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2083 * help.el (help-print-return-message): Warn in doc-string to not
2084 use this in `with-help-window'.
2085 (describe-bindings-internal): Call `describe-buffer-bindings'
2086 from within help buffer. See Juanma's scenario in (Bug#16816).
2087 (with-help-window): Update doc-string.
2088 * dired.el (dired-mark-pop-up):
2089 * files.el (save-buffers-kill-emacs):
2090 * register.el (register-preview): Use `with-current-buffer-window'
2091 instead of `with-temp-buffer-window'.
2093 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2095 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2096 Implement inserting into current buffer, documented in their docstrings.
2097 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2098 (rst-section-tree-point, rst-forward-section, rst-indent)
2099 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2100 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2101 (rst-font-lock-handle-adornment-pre-match-form)
2102 (rst-repeat-last-character): Reflow docstrings.
2103 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2104 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2105 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2106 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2107 Fix docstring typos.
2108 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2109 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2110 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2112 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2114 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2115 for compatibility with other ports.
2116 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2117 from the -xrm command line argument, but in the Nextstep port its value
2118 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2120 * progmodes/python.el (defconst, python-syntax-count-quotes)
2121 (python-indent-region, python-indent-shift-right)
2122 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2123 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2124 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2125 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2126 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2127 (python-shell-buffer-substring, python-shell-send-buffer)
2128 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2129 (python-completion-complete-at-point, python-fill-docstring-style)
2130 (python-eldoc-function, python-imenu-format-item-label)
2131 (python-imenu-format-parent-item-label)
2132 (python-imenu-format-parent-item-jump-label)
2133 (python-imenu--build-tree, python-imenu-create-index)
2134 (python-imenu-create-flat-index): Fix docstring typos.
2135 (python-indent-context, python-shell-prompt-regexp, run-python):
2136 Remove superfluous backslashes.
2137 (python-indent-line, python-nav-beginning-of-defun)
2138 (python-shell-get-buffer, python-shell-get-process)
2139 (python-info-current-defun, python-info-current-line-comment-p)
2140 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2141 (python-indent-post-self-insert-function, python-shell-send-file)
2142 (python-shell-completion-get-completions)
2143 (python-shell-completion-complete-or-indent)
2144 (python-eldoc--get-doc-at-point): Reflow docstrings.
2146 2014-03-14 Glenn Morris <rgm@gnu.org>
2148 * emacs-lisp/package.el (package-menu-mode-map):
2149 Replace use of obsolete function alias. Tweak menu item text.
2151 * info.el (Info-finder-find-node):
2152 Ignore the `emacs' metapackage. (Bug#10813)
2154 * finder.el (finder-list-matches): Include unversioned packages
2155 in the result of a keyword search.
2157 * finder.el (finder--builtins-descriptions): New constant.
2158 (finder-compile-keywords): Use finder--builtins-descriptions.
2160 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2162 * simple.el (blink-matching-paren): Describe the new value,
2163 `jump', enabling the old behavior.
2164 (blink-matching-open): Use that value. (Bug#17008)
2166 2014-03-14 Glenn Morris <rgm@gnu.org>
2168 * finder.el (finder-no-scan-regexp): Add leim-list.
2169 (finder-compile-keywords):
2170 Don't skip files with same basename. (Bug#14010)
2171 * Makefile.in (setwins_finder): New, excluding leim.
2172 (finder-data): Use setwins_finder.
2174 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2175 (help-function-arglist, help-make-usage): Move from here...
2176 * help.el (help-split-fundoc, help-add-fundoc-usage)
2177 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2178 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2180 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2182 * net/socks.el (socks, socks-override-functions)
2183 (socks-find-services-entry):
2184 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2185 (hif-find-ifdef-block):
2186 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2188 * net/tls.el (tls-program): Reflow docstring.
2190 * progmodes/pascal.el (pascal-mode-abbrev-table)
2191 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2192 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2193 (pascal-outline-mode): Fix docstring typos.
2194 (pascal-mode): Let define-derived-mode document mode hook.
2195 (pascal-uncomment-area): Reflow.
2196 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2198 * progmodes/opascal.el (opascal-compound-block-indent)
2199 (opascal-case-label-indent): Fix docstring typos.
2200 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2202 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2204 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2205 Fontify multiple adjacent negation chars. (Bug#17004)
2207 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2209 * emacs-lisp/package.el (package--prepare-dependencies):
2210 Accept requirements without explicit version (bug#14941).
2212 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2214 * register.el (register-separator, copy-to-register): Doc fixes.
2215 (register-preview-default): Remove unnecessary call to concat.
2217 * frameset.el (frameset-restore): When checking for a visible frame,
2218 use the action map instead of calling visible-frame-list.
2220 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2222 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2224 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2226 * window.el (fit-frame-to-buffer): Get maximum width from
2227 display's width instead of height.
2229 2014-03-12 Glenn Morris <rgm@gnu.org>
2231 * desktop.el (desktop-restore-frames)
2232 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2233 (desktop-restore-reuses-frames): Doc tweaks.
2235 * electric.el (electric-indent-mode): Doc fix.
2237 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2239 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2240 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2241 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2242 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2243 (cvs-dired-use-hook): Fix docstring typos.
2244 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2247 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2248 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2249 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2250 (cvs-execute-single-dir): Fix docstring typos.
2252 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2253 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2255 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2257 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2258 Fix docstring typos.
2260 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2262 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2263 called from jump-to-register after unloading the frameset package.
2265 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2267 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2268 (bug#16975). Deactivate the mark before setting it to nil.
2269 (activate-mark): Do nothing if region is already active.
2271 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2273 * frameset.el (frameset--target-display): Remove definition; declare.
2274 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2276 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2279 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2280 when the advice is pending.
2281 (advice-remove): Remove this marker when not needed any more.
2283 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2285 * frameset.el: Separate options for reusing frames and cleaning up.
2286 (frameset--reuse-list): Remove definition; declare.
2287 (frameset--action-map): Declare.
2288 (frameset--find-frame-if): Doc fix.
2289 (frameset--restore-frame): Cache frame action.
2290 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2291 how to clean up the frame list after restoring. Remove cleaning
2292 options from REUSE-FRAMES. Change all keyword values to symbols.
2293 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2295 * desktop.el (desktop-restore-forces-onscreen)
2296 (desktop-restore-reuses-frames): Use non-keyword values.
2297 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2299 2014-03-10 Glenn Morris <rgm@gnu.org>
2301 * files.el (find-file): Doc fix: update info node name.
2303 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2304 Doc fix: remove references to deleted info nodes.
2306 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2308 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2309 Do not add `nil' to the environment, when there's no remote `locale'.
2310 (tramp-find-inline-encoding): Check, that the remote host has
2311 installed perl, before sending scripts.
2313 2014-03-10 Leo Liu <sdl.web@gmail.com>
2315 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2316 Clear eldoc-last-message. (Bug#16920)
2318 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2323 2014-03-09 Juri Linkov <juri@jurta.org>
2325 * ansi-color.el (ansi-color-names-vector): Copy default colors
2326 from `xterm-standard-colors' that look well on the default white
2327 background (and also on the black background) to avoid illegible
2328 color combinations like yellow-on-white and white-on-white.
2329 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2331 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2333 * frameset.el (frameset-restore): When no frame is visible, do not
2334 generate a list of frames, just make visible the selected one.
2336 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2338 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2339 it only contains the repository root. (Bug#16897)
2341 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2343 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2344 only when `remote-file-name-inhibit-cache' is nil.
2345 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2347 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2349 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2351 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2352 fit-frame-to-buffer variable. Fix doc-string.
2353 (fit-window-to-buffer): Set ONLY argument in call of
2354 fit-frame-to-buffer. Fix doc-string.
2356 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2358 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2359 (tramp-action-password): Clear password cache if needed.
2360 (tramp-read-passwd): Do not clear password cache.
2362 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2363 cache unless it is the first password request.
2365 2014-03-06 Glenn Morris <rgm@gnu.org>
2367 * simple.el (newline): Doc tweak.
2369 * emacs-lisp/shadow.el (load-path-shadows-find):
2370 Ignore dir-locals. (Bug#12357)
2372 2014-03-05 Glenn Morris <rgm@gnu.org>
2374 * files.el (interpreter-mode-alist):
2375 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2377 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2379 * frameset.el (frameset--initial-params): Filter out null entries.
2381 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2383 * window.el (window-min-height, window-min-width):
2384 Rewrite doc-strings.
2385 (window-body-size): Add PIXELWISE argument to make it consistent
2388 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2390 * finder.el (finder-mode-map, finder-mode-syntax-table):
2391 Revert part of 2014-02-28 change.
2393 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2395 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2396 (eww-setup-buffer): Clear next/prev/etc more reliably.
2397 (eww-textarea-map): [tab] doesn't work on tty.
2398 Reported by Mario Lang.
2400 * net/shr.el (shr-map): Ditto.
2402 2014-03-04 Glenn Morris <rgm@gnu.org>
2404 * minibuffer.el (completion-hilit-commonality):
2405 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2407 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2409 * hilit-chg.el (hilit-chg-unload-function): New function.
2410 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2411 (hilit-chg-map-changes): Prefer cardinal number to digit.
2412 (hilit-chg-display-changes): Reflow docstring.
2413 (highlight-changes-rotate-faces): Remove superfluous backslash.
2415 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2417 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2418 `tramp-send-command-and-check'.
2420 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2422 * hexl.el (hexl-address-region, hexl-ascii-region)
2423 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2424 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2425 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2426 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2427 (hexl-mode): Doc fix.
2428 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2429 (hexl-mode-ruler): Fix typos in docstrings.
2431 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2432 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2433 Remove superfluous backslashes.
2434 (strokes-last-stroke, strokes-global-map, strokes-mode):
2436 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2437 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2438 (strokes-distance-squared, strokes-global-set-stroke)
2439 (strokes-global-set-stroke-string): Doc fixes.
2440 (strokes-help): Fix typos; reflow docstring.
2442 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2444 * window.el (window-in-direction): Fix doc-string.
2446 2014-03-04 Glenn Morris <rgm@gnu.org>
2448 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2449 Explicit error if no grammar.
2450 (smie-config-save): Doc fix. Fix quote typo.
2452 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2454 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2455 electric-indent-mode-hook if we obey electric-indent-mode.
2456 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2457 decide whether we obey electric-indent-mode.
2458 (c-change-set-fl-decl-start, c-extend-after-change-region):
2460 (c-electric-indent-mode-hook): Assume we do want to obey
2461 electric-indent-mode.
2463 * electric.el (electric-indent-mode-has-been-called): Remove.
2464 (electric-indent-mode): Fix accordingly.
2466 * files.el (hack-local-variables): Mention file name in warning.
2468 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2470 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2472 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2473 * simple.el (delete-forward-char): Mark as interactive-only.
2475 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2477 * icomplete.el (icomplete-completions):
2478 Follow-up to 2014-03-01 change.
2480 * icomplete.el: Miscellaneous doc fixes.
2481 Use Icomplete everywhere instead of icomplete for consistency.
2482 (icomplete-max-delay-chars): Fix typo.
2483 (icomplete-mode): Use \[].
2484 (icomplete-tidy, icomplete-exhibit): Reflow.
2485 (icomplete-minibuffer-setup-hook, icomplete-completions):
2486 Remove superfluous backlashes.
2488 * ido.el: Miscellaneous doc fixes.
2489 Use Ido everywhere instead of ido or `ido' for consistency.
2490 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2491 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2492 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2493 (ido-separator): Extract obsolescence info from docstring and declare
2494 with make-obsolete-variable.
2495 (ido-minibuffer-setup-hook): Simplify example.
2496 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2497 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2498 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2499 (ido-everywhere): Reflow docstring.
2500 (ido-toggle-vc): Doc fix.
2501 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2502 of long list of keybindings.
2504 2014-03-03 Glenn Morris <rgm@gnu.org>
2506 * frame.el (display-pixel-height, display-pixel-width)
2507 (display-mm-dimensions-alist, display-mm-height)
2508 (display-mm-width): Doc tweaks.
2510 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2512 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2513 case of undo in region.
2515 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2517 * window.el (fit-window-to-buffer): Fix argument in window-size
2518 call when window is horizontally combined.
2520 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2522 * icomplete.el (icomplete-completions): Use string-width.
2523 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2525 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2527 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2528 Highlight regexp options. (Bug#16914)
2530 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2532 * window.el (window--max-delta-1): Round down when calculating
2533 how many lines/columns we can get from a window.
2535 2014-03-01 Glenn Morris <rgm@gnu.org>
2537 * isearch.el (search-invisible): Doc fix.
2539 * minibuffer.el (completion-hilit-commonality):
2540 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2541 * comint.el (comint-dynamic-list-completions): Doc fix.
2542 * comint.el (comint-dynamic-list-completions):
2543 * filecache.el (file-cache-minibuffer-complete):
2544 * tempo.el (tempo-display-completions):
2545 * eshell/em-hist.el (eshell-list-history):
2546 Replace use of obsolete argument of display-completion-list.
2548 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2550 * icomplete.el (icomplete-completions):
2551 Revert back to using "..." when ?… cannot be displayed.
2553 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2555 * finder.el (finder-unload-function): New function.
2557 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2559 * dframe.el (dframe-detach):
2560 * find-dired.el (find-dired, find-name-dired):
2561 * finder.el (finder-mode-map, finder-mode-syntax-table)
2562 (finder-headmark, finder-select, finder-mouse-select):
2563 Fix docstring typos.
2565 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2567 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2568 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2569 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2570 Fix doc-string based on a suggestion by Nicolas Richard
2571 <theonewiththeevillook@yahoo.fr>.
2572 * help.el (with-help-window): Fix doc-string.
2574 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2576 * net/shr.el (shr-image-animate): New option.
2577 (shr-put-image): Respect shr-image-animate.
2579 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2581 * net/tramp-adb.el (tramp-adb-parse-device-names):
2582 Use `accept-process-output'.
2583 (tramp-adb-handle-file-truename): Cache the localname only.
2584 (tramp-adb-handle-make-directory)
2585 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2586 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2587 modes cannot be changed.
2589 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2590 file properties of symlinks.
2592 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2594 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2595 required/optional fields to match development biblatex. (Bug#16781)
2597 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2599 * saveplace.el (toggle-save-place):
2600 Fix argument handling. (Bug#16673)
2602 2014-02-28 Glenn Morris <rgm@gnu.org>
2604 * minibuffer.el (completions-first-difference)
2605 (completions-common-part, completion-hilit-commonality): Doc fixes.
2607 2014-02-28 Karl Berry <karl@gnu.org>
2609 * info.el (Info-mode-map): Add H for describe-mode,
2610 to synchronize with standalone Info.
2612 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2614 * progmodes/sql.el (sql-interactive-mode):
2615 Avoid setting global comint-input-ring-separator. (Bug#16814)
2617 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2619 * net/dbus.el (dbus--init-bus): Declare function.
2620 (dbus-path-local, dbus-interface-local): New defconst.
2621 (dbus-init-bus): Use them.
2622 (dbus-return-values-table): Extend doc.
2623 (dbus-handle-bus-disconnect): Extend error message.
2625 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2627 * subr.el (y-or-n-p): Fix double space issue in message.
2629 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2631 * net/tramp.el (tramp-call-process): Improve trace message.
2632 (tramp-handle-insert-file-contents): Trace error case.
2634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2635 <insert-directory>: Use `tramp-handle-insert-directory'.
2636 (tramp-adb-handle-insert-directory): Remove function.
2637 (tramp-adb-send-command-and-check): New defun, replacing
2638 `tramp-adb-command-exit-status'. Change all callees.
2639 (tramp-adb-handle-file-attributes)
2640 (tramp-adb-handle-directory-files-and-attributes): Use it.
2641 (tramp-adb-ls-output-name-less-p):
2642 Use `directory-listing-before-filename-regexp'.
2643 (tramp-adb-handle-delete-directory): Flush also file properties of
2644 the truename of directory.
2645 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2646 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2647 (tramp-adb-handle-write-region): Implement APPEND.
2648 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2649 properties correctly.
2650 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2651 variables. Check for connected devices only when needed.
2653 2014-02-27 Glenn Morris <rgm@gnu.org>
2655 * minibuffer.el (completion-table-dynamic)
2656 (completion-table-with-cache): Doc fixes.
2658 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2659 (completing-read-multiple): Doc fixes.
2661 2014-02-27 Daniel Colascione <dancol@dancol.org>
2663 * minibuffer.el (completion--nth-completion): Fix indentation.
2665 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2666 explicit tramp path is empty.
2668 2014-02-27 Glenn Morris <rgm@gnu.org>
2670 * emacs-lisp/crm.el (completing-read-multiple):
2671 Empower help-enable-auto-load.
2673 2014-02-26 Glenn Morris <rgm@gnu.org>
2675 * startup.el (command-line): Don't init the tty in daemon mode.
2677 Avoid calling tty-setup-hook twice, eg if a term file
2678 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2679 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2680 (tty-create-frame-with-faces): Use it.
2681 * startup.el (command-line): Pass run-hook argument
2682 to tty-run-terminal-initialization.
2684 * dired.el (dired-restore-desktop-buffer): Demote errors;
2685 eg in case a glob match fails. (Bug#16884)
2687 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2689 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2690 error from `read-from-string'. (Bug#16850)
2692 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2693 result of `completing-read' in the interactive form. (Bug#16854)
2695 2014-02-25 Glenn Morris <rgm@gnu.org>
2697 * image.el (image-animate, image-animate-timeout):
2698 Stop animating images in dead buffers. (Bug#16878)
2700 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2702 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2704 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2705 * term/sun.el (sun-raw-prefix-hooks):
2706 Use tty-setup-hook instead of term-setup-hook.
2707 (terminal-init-sun): Construct message from bytecomp plist.
2708 * term/wyse50.el (enable-arrow-keys): Doc fix.
2710 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2712 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2713 Fix docstring typos.
2715 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2717 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2719 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2721 * minibuffer.el (completion--try-word-completion):
2722 Fix error when completing M-x commands (bug#16808).
2724 2014-02-24 Leo Liu <sdl.web@gmail.com>
2726 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2728 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2730 * apropos.el (apropos-print): Avoid formatting error when
2731 apropos-do-all and apropos-compact-layout are both t.
2733 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2735 * apropos.el (apropos-property, apropos-all-words-regexp)
2736 (apropos-true-hit, apropos-variable, apropos-print):
2737 Fix docstring typos, and remove obsolete comment.
2739 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2741 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2742 Preserve trailing "/". (Bug#16851)
2744 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2746 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2747 after `=>' (bug#16811).
2748 (ruby-smie-rules): Handle the inconsistent second element of the
2749 list returned by `smie-indent--parent'.
2750 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2753 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2755 * elec-pair.el (electric-pair-text-syntax-table)
2756 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2757 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2758 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2759 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2761 2014-02-22 Glenn Morris <rgm@gnu.org>
2763 * imenu.el (imenu--generic-function): Doc fix.
2765 * register.el (frame-configuration-to-register): Make obsolete.
2767 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2769 * desktop.el (desktop-save-buffer-p): Do not fail when
2770 desktop-files-not-to-save is nil. Return t for true result
2773 2014-02-22 Daniel Colascione <dancol@dancol.org>
2775 * net/secrets.el (secrets-create-item, secrets-search-items):
2776 Check that attribute values are strings, avoiding the construction
2777 of invalid dbus messages.
2779 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2781 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2782 defun-declarations-alist.
2784 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2786 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2789 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2791 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2792 (whitespace-newline, whitespace-trailing, whitespace-line)
2793 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2794 (whitespace-space-after-tab): Fix typo in docstrings.
2796 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2800 * electric.el (electric-indent-functions-without-reindent):
2801 Add `yaml-indent-line'.
2803 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2805 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2806 It has done nothing for years; should be removed after the release.
2808 * simple.el (choose-completion): Fix docstring typo.
2809 (read-quoted-char-radix): Remove unneeded * in docstring.
2810 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2811 Don't escape parentheses unnecessarily in docstrings.
2813 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2815 Fix handling of window-min-height/-width (Bug#16738).
2816 * window.el (window--dump-window, window--dump-frame):
2818 (window--min-size-1): Account for window dividers.
2819 When window-resize-pixelwise is nil, delay rounding till after the
2820 sum of the window components has been calculated.
2821 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2822 nil make sure at least one text line and two text columns remain
2824 (window-resize): Signal an error when window-resize-apply fails.
2825 (window--resize-child-windows): Fix calculation of by how many
2826 pixels a window can still be shrunk via window-new-normal.
2827 (adjust-window-trailing-edge): Call window--resizable with
2828 correct TRAIL argument.
2830 (with-temp-buffer-window): Don't evaluate BODY within
2831 with-current-buffer (Bug#16816).
2833 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2835 * net/tramp.el (tramp-check-cached-permissions):
2836 Call `file-attributes' with `suffix' being a symbol but a string.
2838 2014-02-21 Daniel Colascione <dancol@dancol.org>
2840 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2841 (dbus-init-bus): New function: call into dbus-init-bus-1
2842 and installs a handler for the disconnect signal.
2843 (dbus-call-method): Rewrite to look for result in cons.
2844 (dbus-call-method-handler): Store result in cons.
2845 (dbus-check-event): Recognize events with nil sender as valid.
2846 (dbus-handle-bus-disconnect): New function. React to bus
2847 disconnection signal by synthesizing dbus error for each
2848 pending synchronous or asynchronous call.
2849 (dbus-notice-synchronous-call-errors): New function.
2850 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2851 is true, not all the time.
2853 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2855 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2856 Remove obsolescence declarations, these variables do not exist anymore.
2858 * savehist.el (savehist-save-minibuffer-history)
2859 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2860 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2861 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2862 mostly, refer to "Savehist mode" when talking about the mode,
2863 and not the function.
2865 * saveplace.el (save-place): Remove redundant info in docstring.
2866 (save-place-forget-unreadable-files, toggle-save-place)
2867 (save-place-forget-unreadable-files, save-place-dired-hook):
2868 Fix typos and remove unneeded backslashes.
2870 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2872 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2873 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2875 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2876 <insert-directory>: Use `tramp-handle-insert-directory'.
2877 (tramp-gvfs-handle-insert-directory): Remove function.
2879 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2880 Call `tramp-handle-insert-directory'.
2882 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2884 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2885 before the start of buffer/region (bug#16799).
2887 2014-02-20 Glenn Morris <rgm@gnu.org>
2889 * isearch.el (search-invisible): Doc fix.
2891 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2893 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2896 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2898 * frameset.el (frameset-restore): Delay removing an old frame's
2899 duplicate id until the new frame has been correctly created.
2901 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2903 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2904 (tramp-check-cached-permissions): Call `file-attributes' if the
2907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2908 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2910 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2911 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2912 (tramp-gvfs-maybe-open-connection): Set always connection
2913 properties, even if target is mounted already.
2915 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2916 Set tramp-autoload cookie.
2917 (tramp-get-remote-touch): New defun.
2918 (tramp-sh-handle-set-file-times): Use it.
2919 (tramp-sh-handle-directory-files-and-attributes):
2920 Use `tramp-handle-directory-files-and-attributes' if neither stat
2921 nor perl are available on the remote host.
2923 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2924 "/". Write long listing only when "l" belongs to the switches.
2926 * net/trampver.el: Update release number.
2928 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2930 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2932 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2934 * window.el (window-state-put): Allow WINDOW to refer to an
2935 internal window (Bug#16793).
2937 2014-02-19 Glenn Morris <rgm@gnu.org>
2939 * textmodes/remember.el: Move provide statement to end.
2940 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2941 (remember-notes): Doc fixes.
2943 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * delsel.el (delete-char): Restore incorrectly erased property
2948 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2950 * frameset.el (frameset--restore-frame): When a frame is being reused
2951 and its root window is not alive, delete all the frame's windows before
2952 restoring the window state. This works around the issue in bug#16793.
2954 2014-02-18 Glenn Morris <rgm@gnu.org>
2956 * textmodes/remember.el (remember-data-directory)
2957 (remember-directory-file-name-format, remember-store-in-files)
2958 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2959 (remember-notes-save-and-bury-buffer)
2960 (remember-notes--kill-buffer-query): Doc fixes.
2962 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2964 2014-02-17 Alan Mackenzie <acm@muc.de>
2966 Connect electric-indent-mode up with CC Mode. Bug #15478.
2967 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2968 to electric-indent-{,local-}-mode.
2969 (c-basic-common-init): Set electric-indent-inhibit.
2970 Initialise c-electric-flag from electric-indent-mode.
2971 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2972 New hook functions which propagate electric-indent-mode to CC mode.
2974 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2975 hit, toggle electric-indent-local-mode.
2977 * electric.el (electric-indent-mode-has-been-called):
2980 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2982 * frameset.el (frameset-cfg-id): New function.
2983 (frameset--reuse-frame, frameset-restore): Use it.
2984 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2986 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * ido.el (ido-file-internal): Remove unused var `d'.
2989 Use \` for to match BoS. Fit within 80n columns.
2991 2014-02-17 Daniel Colascione <dancol@dancol.org>
2993 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2994 dbus-call-method check for completion using a busy-wait loop with
2997 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2999 Sync with Tramp 2.2.9.
3001 * net/trampver.el: Update release number.
3003 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3005 * ido.el (ido-file-internal): Don't add the name of an existing
3006 directory twice. (Bug#16747)
3008 2014-02-16 Glenn Morris <rgm@gnu.org>
3010 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3011 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3013 2014-02-15 Michael R. Mauger <michael@mauger.com>
3015 * progmodes/sql.el: Version 3.4
3016 (sql-oracle-options): New default value ("-L").
3017 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3018 (sql-placeholders-filter): Correct placeholder pattern.
3019 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3020 (sql-login-delay): New variable.
3021 (sql-product-interactive): Use it.
3023 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3025 * frameset.el (frameset--jump-to-register): Check that buffer is live
3028 2014-02-15 Glenn Morris <rgm@gnu.org>
3030 * info.el (info-initialize): Revert 2014-01-10 change.
3032 2014-02-14 Glenn Morris <rgm@gnu.org>
3034 * replace.el (map-query-replace-regexp)
3035 (read-regexp-defaults-function, read-regexp): Doc fixes.
3037 * dired.el (dired-read-regexp):
3038 * faces.el (list-faces-display):
3039 * misearch.el (multi-isearch-read-matching-buffers)
3040 (multi-isearch-read-matching-files):
3041 * play/cookie1.el (cookie-apropos):
3042 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3044 * textmodes/remember.el (remember): Use frameset-to-register
3045 rather than frame-configuration-to-register.
3047 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3049 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3050 incorrect keybinding.
3052 2014-02-13 Daniel Colascione <dancol@dancol.org>
3054 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3055 when adding overlays so that line numbers from compiler match line
3058 2014-02-13 Glenn Morris <rgm@gnu.org>
3060 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3062 * jit-lock.el (jit-lock-mode): Doc fix.
3064 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3066 * apropos.el (apropos-read-pattern): When the user passes an empty
3067 string, give a more helpful error message than "Wrong type
3068 argument: stringp, nil".
3070 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3074 2014-02-13 Glenn Morris <rgm@gnu.org>
3076 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3078 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3080 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3081 shift-select commands.
3083 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3085 * progmodes/js.el (js-indent-line): Don't widen.
3086 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3088 2014-02-12 Glenn Morris <rgm@gnu.org>
3090 * icomplete.el (icomplete): Add info-link to defgroup.
3091 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3092 (icomplete-minibuffer-map, icomplete-mode)
3093 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3095 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3096 (package-menu-filter): Rename from package-menu-filter-interactive.
3099 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3101 * frameset.el (frameset--jump-to-register): Select the required
3102 window and buffer before restoring position (bug#16696).
3104 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3106 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3108 2014-02-10 Glenn Morris <rgm@gnu.org>
3110 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3112 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3114 * w32-common-fns.el (x-get-selection): Doc fix.
3115 * select.el (x-get-selection): Doc fix. (Bug#15109)
3117 * face-remap.el (face-remap-add-relative)
3118 (face-remap-remove-relative, face-remap-reset-base)
3119 (face-remap-set-base): Call force-mode-line-update to redisplay
3120 the current buffer due to potential change in faces. (Bug#16709)
3122 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3125 script more robustly.
3127 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3129 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3131 * simple.el (choose-completion): Doc fix (bug#14160).
3133 * subr.el (event-start): Say what a nil EVENT value means.
3135 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3138 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3140 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3142 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3144 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3145 predicate function (bug#15455).
3147 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3149 * ielm.el (inferior-emacs-lisp-mode): Instead of
3150 `comment-use-global-state', set `comment-use-syntax'.
3152 2014-02-10 Glenn Morris <rgm@gnu.org>
3154 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3156 2014-02-09 Alan Mackenzie <acm@muc.de>
3158 Fix c-invalidate-state-cache on narrowed buffers.
3159 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3160 Widen when setting and clearing the CPP delimiter properties.
3162 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3164 * help.el (describe-bindings): Doc fix (bug#9888).
3166 * files.el (save-buffer): Use ARG as the parameter name for
3167 consistency (bug#10346).
3168 (save-buffer): Clarify the 0 argument (bug#10346).
3170 * cus-edit.el (customize-apropos): Fix error string.
3171 (custom-buffer-create): Doc fix (bug#11122).
3172 (custom-sort-items): Doc fix (bug#11121).
3174 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3176 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3177 (icomplete-simple-completing-p): Mention the previous variable.
3179 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3180 meaning of the parameter (bug#12282).
3182 * files.el (find-file-noselect): Clarify prompt when changing
3183 readedness (bug#13261).
3184 (locate-file): Suffixes aren't returned, so don't say that they
3186 (backup-inhibited): Doc clarification (bug#12525).
3188 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3189 before we actually start to delete things (bug#16331).
3191 * subr.el (event-start): Doc fix (bug#14228).
3194 2014-02-09 Glenn Morris <rgm@gnu.org>
3196 * emacs-lisp/warnings.el (lwarn):
3197 Empower help-enable-auto-load. (Bug#15940)
3199 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3201 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3204 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3206 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3207 Insert output at end of buffer. (Bug#16120)
3209 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3211 * simple.el (choose-completion-string-functions): Document new
3212 calling convention (bug#14153).
3213 (execute-extended-command): Clarify doc string (bug#13373).
3215 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3217 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3218 (find-grep-dired): Doc fix (bug#14288).
3220 2014-02-08 Juri Linkov <juri@jurta.org>
3222 * isearch.el (isearch-quote-char): Check character validity
3223 like in `quoted-insert' (bug#16677).
3225 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3227 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3229 * isearch.el (isearch-hide-immediately): Doc clarification
3232 * simple.el (line-move): Document utility function used many
3233 places in the Emacs sources (bug#14843).
3235 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3236 (dired-prev-marked-file): Doc fix (bug#14855).
3237 (dired-up-directory): Doc fix (bug#14848).
3239 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3241 * files.el (file-relative-name): Doc fix (bug#15159).
3243 * fringe.el (fringe-styles): Doc fix (bug#15239).
3245 * isearch.el (isearch-filter-predicate): Documentation typo fix
3248 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3250 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3252 * replace.el (replace-match-maybe-edit): Doc clarification
3255 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3257 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3259 2014-02-08 Glenn Morris <rgm@gnu.org>
3261 * help-fns.el (describe-variable):
3262 Check {file,dir}-local-variables-alist, and buffer-file-name,
3263 in the correct buffer.
3265 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3267 * help-fns.el (describe-variable): Fix the case where
3268 a value is directory-local with no dir-locals file. (Bug#16635)
3270 2014-02-08 Glenn Morris <rgm@gnu.org>
3272 * abbrev.el (edit-abbrevs-mode):
3273 Derive from fundamental-mode. (Bug#16682)
3275 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3277 * simple.el (quoted-insert): Check character validity (bug#16677).
3279 2014-02-07 Juri Linkov <juri@jurta.org>
3281 * desktop.el (desktop-read): Claim the lock when the owner is not
3282 the current process. (Bug#16157)
3284 2014-02-07 Juri Linkov <juri@jurta.org>
3286 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3287 to "\\` ". (Bug#16651)
3289 2014-02-07 Juri Linkov <juri@jurta.org>
3291 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3292 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3293 (desktop-auto-save-cancel-timer): New function with some code from
3294 `desktop-auto-save-set-timer'.
3295 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3296 Instead of setting `desktop-save-mode' to nil, call
3297 `desktop-save-mode' with arg 0. (Bug#16630)
3299 2014-02-07 Glenn Morris <rgm@gnu.org>
3301 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3302 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3303 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3305 * obsolete/iswitchb.el: Move to obsolete/.
3306 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3307 since obsolete/ is not scanned for autoloads.
3308 * emacs-lisp/authors.el (authors-valid-file-names):
3311 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3312 Disable now non-functional find-file-hook.
3314 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3316 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3317 instead of ";" in order to avoid additional prompts. Let heredoc
3318 scripts read from tty. (Bug#16582)
3319 (tramp-send-command): No special handling of heredocs, it isn't
3322 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3325 with a space (bug#16664). Limit the symbols considered to the ones
3326 that are bound or fbound (bug#16646).
3328 2014-02-06 Glenn Morris <rgm@gnu.org>
3330 * epa.el (epa-mail-aliases): Doc fix.
3332 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3334 * emacs-lisp/lisp.el (lisp-completion-at-point):
3335 Use `completion-table-merge' instead of `completion-table-in-turn'
3338 * minibuffer.el (completion-table-merge): New function.
3340 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3342 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3343 (tramp-sh-handle-set-file-acl)
3344 (tramp-sh-handle-start-file-process)
3345 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3346 (tramp-find-executable, tramp-send-command): Use it.
3348 2014-02-05 Glenn Morris <rgm@gnu.org>
3350 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3352 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3354 * progmodes/python.el (python-shell-send-string)
3355 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3357 2014-02-04 Anders Lindgren <andlind@gmail.com>
3359 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3360 the names (bug#16620).
3362 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3364 * faces.el (window-divider): New default value. Rewrite doc-string.
3365 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3367 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3369 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3370 `protected' and `public' can also be called without arguments.
3372 2014-02-03 Glenn Morris <rgm@gnu.org>
3374 * register.el (window-configuration-to-register)
3375 (frame-configuration-to-register): Unadvertise unused argument.
3376 * frameset.el (frameset-to-register): Remove unused argument.
3378 * frameset.el (frameset-to-register):
3379 * kmacro.el (kmacro-to-register):
3380 * register.el (increment-register):
3381 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3382 (calc-append-to-register, calc-prepend-to-register):
3383 * play/gametree.el (gametree-layout-to-register)
3384 (gametree-apply-register-layout):
3385 * textmodes/picture.el (picture-clear-rectangle-to-register)
3386 (picture-yank-rectangle-from-register):
3387 * vc/emerge.el (emerge-combine-versions-register):
3388 Use register-read-with-preview to read registers.
3390 2014-02-03 João Távora <joaotavora@gmail.com>
3392 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3393 when at beginning of (possibly narrowed) buffer.
3395 2014-02-02 Daniel Colascione <dancol@dancol.org>
3397 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3398 Also try to display local help from just before point.
3400 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3402 c-parse-state. Don't "append-lower-brace-pair" in certain
3403 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3404 recognised as a comment.
3406 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3407 as well as normal comment starter.
3408 (c-parse-state-get-strategy): Extra return possibility
3410 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3411 return value list to indicate replacement of a brace-pair cons
3413 (c-parse-state-1): With 'back-and-forward, only call
3414 c-append-lower-brace-pair-to state-cache when cons-separated.
3416 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3418 * term/ns-win.el (ns-suspend-error): New function.
3419 (ns-initialize-window-system): Add ns-suspend-error to
3420 suspend-hook (Bug#16612).
3422 2014-02-02 Daniel Colascione <dancol@dancol.org>
3424 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3425 Make loading cc-mode silent.
3427 2014-02-02 Daniel Colascione <dancol@dancol.org>
3429 * comint.el (comint-prompt-read-only): Change doc to suggest
3432 2014-02-02 Glenn Morris <rgm@gnu.org>
3434 * register.el (register-read-with-preview, point-to-register)
3435 (window-configuration-to-register, frame-configuration-to-register)
3436 (jump-to-register, number-to-register, view-register, insert-register)
3437 (copy-to-register, append-to-register, prepend-to-register)
3438 (copy-rectangle-to-register): Doc fixes.
3440 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3443 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3444 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3445 * help-fns.el (describe-function-1): Use it.
3447 2014-02-02 Glenn Morris <rgm@gnu.org>
3449 * register.el (register-preview-default): New function,
3450 split from register-preview.
3451 (register-preview-function): Rename from register-preview-functions,
3453 (register-preview): Use register-preview-function.
3454 (register-read-with-preview): Error on non-character event. (Bug#16595)
3456 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3458 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3459 `:' before binary operators (bug#16609). Don't check for `:'
3460 before `[' and `(', or their syntax status. A percent literal
3461 can't end with either.
3462 (ruby-font-lock-keywords): For built-ins that require arguments,
3463 check that they're followed by something that looks like argument
3466 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3468 * subr.el (butlast): Document what an omitted N means (bug#13437).
3471 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3473 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3474 depth shallower (bug#16587).
3475 (shr-tag-svg): Respect `shr-inhibit-images'.
3476 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3478 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3480 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3481 (ruby-smie-grammar): Make "." right-associative. Make its priority
3482 lower than the ternary and all binary operators.
3483 (ruby-smie-rules): Indent "(" relative to the first non-"."
3484 parent, or the first "." parent at indentation.
3485 Use `ruby-align-chained-calls' for indentation of "." tokens.
3488 2014-01-31 Juri Linkov <juri@jurta.org>
3490 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3491 from `make-hash-table'.
3493 * textmodes/ispell.el (ispell-init-process): Change message format
3494 to be consistent with other messages.
3496 2014-01-31 Glenn Morris <rgm@gnu.org>
3498 * delsel.el (delete-selection-mode): Doc fix.
3500 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3501 (trace-function-background): Doc fixes.
3503 * ido.el (ido-use-virtual-buffers): Doc fix.
3504 Reset :version, since the default value has not changed.
3506 * register.el (register-preview-delay, register-read-with-preview):
3509 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3510 do not mess with mail-buffer position (fixes 2009-11-03 change).
3511 * progmodes/cc-mode.el (c-submit-bug-report):
3512 Check auto-fill-mode is bound. (Bug#16592)
3514 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3516 * startup.el (fancy-splash-image-file): New function,
3517 split from fancy-splash-head.
3518 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3519 so that we are both using the same image. (Bug#16574)
3521 2014-01-30 Glenn Morris <rgm@gnu.org>
3523 * simple.el (eval-expression): Doc fix.
3525 * hexl.el (hexl-mode-hook):
3526 * ielm.el (ielm-mode-hook):
3527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3528 (lisp-interaction-mode-hook):
3529 * progmodes/cfengine.el (cfengine3-documentation-function):
3530 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3532 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3535 is a symbol (bug#16584).
3537 2014-01-30 Glenn Morris <rgm@gnu.org>
3539 * help.el (help-for-help-internal): Add "P" to text.
3541 2014-01-29 Glenn Morris <rgm@gnu.org>
3543 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3545 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3547 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3550 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3552 * progmodes/hideif.el: Extend to full CPP expression syntax.
3553 (hif-token-alist): Add missing tokens.
3554 (hif-token-regexp): Add support for float/octal/hex immediates.
3555 (hif-string-literal-regexp): New const.
3556 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3557 (hif-exprlist): New function.
3558 (hif-parse-if-exp): Use it.
3559 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3560 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3561 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3562 (hif-logxor, hif-comma): New functions.
3564 2014-01-28 Glenn Morris <rgm@gnu.org>
3566 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3568 * indent.el (tab-stop-list): Doc fix. Add :version.
3570 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3571 (cvs-append-to-ignore): Add compatibility alias.
3573 2014-01-27 Glenn Morris <rgm@gnu.org>
3575 * dired.el (dired-hide-details-mode): Don't autoload it,
3576 since it cannot be used outside Dired buffers anyway.
3578 * emulation/cua-base.el (cua-mode): Doc fix.
3580 * dired.el (dired-hide-details-hide-symlink-targets)
3581 (dired-hide-details-hide-information-lines)
3582 (dired-hide-details-mode): Doc fixes.
3584 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3585 * strokes.el (strokes-file): Doc fix. Bump :version.
3586 (strokes-help): Doc fix.
3587 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3588 * emulation/viper.el (viper): Doc fix for custom group.
3589 (top-level): Remove oh-so-no-longer-relevant text about vip.
3590 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3592 * ido.el (ido-save-directory-list-file):
3593 * saveplace.el (save-place-file):
3594 * calendar/timeclock.el (timeclock-file):
3595 * net/quickurl.el (quickurl-url-file):
3596 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3597 * progmodes/idlwave.el (idlwave-config-directory):
3598 * textmodes/remember.el (remember-data-file):
3601 2014-01-26 Glenn Morris <rgm@gnu.org>
3603 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3604 Doc fix. Make obsolete.
3605 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3607 * sort.el (delete-duplicate-lines): Doc fix.
3609 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3611 * progmodes/ada-mode.el (ada):
3612 * woman.el (woman): Link to info manual and Commentary section.
3614 * progmodes/flymake.el (flymake):
3615 * nxml/nxml-mode.el (nxml):
3617 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3618 * htmlfontify.el (htmlfontify):
3621 * ido.el (ido): Link to info manual.
3623 2014-01-25 Leo Liu <sdl.web@gmail.com>
3625 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3627 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3629 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3632 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3634 * net/eww.el (eww-download-callback):
3635 Fix reference to eww-download-directory.
3637 * emacs-lisp/bytecomp.el (byte-compile-file):
3638 Remove unused local variable `file-name'.
3640 2014-01-24 Glenn Morris <rgm@gnu.org>
3642 * woman.el (woman-default-faces, woman-monochrome-faces):
3643 Fix obsolescence specification.
3645 * subr.el (with-demoted-errors): Doc fix.
3647 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3649 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3650 (cl--macroexp-fboundp): New function.
3651 (cl--make-type-test): Use it.
3653 2014-01-23 Glenn Morris <rgm@gnu.org>
3655 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3656 * simple.el (eval-expression): Doc fixes.
3658 2014-01-22 Glenn Morris <rgm@gnu.org>
3660 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3662 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3664 * emacs-lisp/package.el: Write files silently.
3665 (package-autoload-ensure-default-file, package--write-file-no-coding)
3666 (package-generate-description-file, package--download-one-archive)
3667 (package-install-from-archive): Tell `write-region' to stay quiet.
3668 (package-menu-mode, package-menu--print-info): Omit the Archive column
3669 if there's only one archive.
3670 (package-all-keywords, package--has-keyword-p): Remove dead code.
3672 2014-01-22 Glenn Morris <rgm@gnu.org>
3674 * version.el (emacs-bzr-version-bzr): Fix typo.
3676 * version.el (emacs-repository-get-version):
3677 Check either .bzr or .git, but not both.
3678 Make the git case actually use the DIR argument, and return nil
3679 rather than the empty string.
3680 Avoid error if .git exists but the git executable is not found.
3682 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3684 Fixes in window size functions around Bug#16430 and Bug#16470.
3685 * window.el (window-total-size, window-size): New argument ROUND.
3686 (window--min-delta-1, window-min-delta, window--max-delta-1):
3687 Be more conservative when calculating the numbers of lines or
3688 columns a window can shrink (Bug#16430).
3689 (fit-window-to-buffer): Simplify code.
3690 * term.el (term-window-width): Call window-body-width again.
3692 2014-01-22 Glenn Morris <rgm@gnu.org>
3694 * image.el (image-format-suffixes): Doc fix.
3696 * international/quail.el (quail-define-package): Doc fix.
3698 * emacs-lisp/authors.el (authors-valid-file-names)
3699 (authors-renamed-files-alist): Additions.
3701 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3702 reverts 2014-01-09 change. (Bug#16422)
3704 * calc/calc-embed.el (thing-at-point-looking-at):
3705 * emacs-lisp/map-ynp.el (x-popup-dialog):
3706 * obsolete/lmenu.el (x-popup-dialog):
3707 * emacs-lisp/package.el (url-recreate-url):
3708 * mail/mailclient.el (clipboard-kill-ring-save):
3709 * subr.el (x-popup-dialog): Update declaration.
3710 * mail/rmail.el (rmail-mime-message-p):
3711 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3713 2014-01-21 Daniel Colascione <dancol@dancol.org>
3715 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3716 Correctly detect when we're inside an arithmetic expansion form
3717 containing nested parenthesis.
3718 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3719 to detect cases where we shouldn't expand "<<" to a heredoc
3722 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3725 (eldoc--message-command-p): New function.
3726 (eldoc-display-message-p): Use it.
3727 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3728 message is not automatically erased for us.
3729 (eldoc-print-current-symbol-info): Erase previous message, if any.
3731 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3733 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3734 specify it's an interactive function.
3736 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3737 Fix regex used for scanning for citation keys which failed for
3738 citations with optional arguments.
3740 2014-01-21 Leo Liu <sdl.web@gmail.com>
3742 * simple.el (read--expression): Don't enable eldoc-mode.
3744 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * simple.el (move-beginning-of-line): Make sure we don't move forward
3749 2014-01-20 Juri Linkov <juri@jurta.org>
3751 * saveplace.el (toggle-save-place, save-place-to-alist)
3752 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3753 'dired-mode) before checking for dired-directory. (Bug#16477)
3755 2014-01-20 Juri Linkov <juri@jurta.org>
3757 * indent.el (indent-line-to): Use backward-to-indentation
3758 instead of back-to-indentation. (Bug#16461)
3760 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3762 Revert some of the CANNOT_DUMP fix (Bug#16494).
3763 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3764 but fixing this can wait until after the next release.
3765 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3767 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3769 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3770 Use `password-word-equivalents'.
3771 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3772 to t. (Bug#5664, Bug#13124)
3774 2014-01-19 Alan Mackenzie <acm@muc.de>
3776 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3778 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3779 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3780 * progmodes/cc-mode.el (c-before-change, c-after-change)
3781 (c-font-lock-fontify-region): Bind it here.
3783 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3785 * term.el (term-window-width): Call window-text-width instead of
3786 window-width (Bug#16470).
3788 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3790 * simple.el (password-word-equivalents): Remove duplicates.
3791 Sort, to make this easier next time.
3792 Downcase. Omit ": " after "jelszó".
3794 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3796 * term/common-win.el (saved-region-selection): Defvar it.
3797 (x-select-text): Set saved-region-selection (Bug#16382).
3799 2014-01-18 Glenn Morris <rgm@gnu.org>
3801 * emacs-lisp/authors.el (authors-aliases)
3802 (authors-renamed-files-alist): Add some entries.
3804 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3806 * net/tramp.el (tramp-password-prompt-regexp):
3807 Use `password-word-equivalents' if available.
3808 (tramp-action-password, tramp-process-one-action)
3809 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3811 2014-01-17 Chong Yidong <cyd@gnu.org>
3813 * simple.el (password-word-equivalents): New defcustom.
3814 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3816 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3819 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3821 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3822 (ruby-align-to-stmt-keywords): Change the default value.
3823 Use `ruby-alignable-keywords' to generate the possible customization
3825 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3826 keywords, check against the value of `ruby-alignable-keywords'
3827 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3829 2014-01-17 Glenn Morris <rgm@gnu.org>
3831 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3833 Make M-x authors return zero *Authors Errors* from current logs.
3834 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3835 (authors-ignored-files): Add some entries, remove others.
3836 (authors-ambiguous-files, authors-valid-file-names):
3838 (authors-renamed-files-alist): Add, remove, and adjust entries.
3839 (authors-renamed-files-regexps): Add some entries.
3840 Remove some very broad ones. Make some entries `lax'.
3841 (authors-lax-changelogs): New constant.
3842 (authors-disambiguate-file-name): Treat top-level specially.
3843 (authors-lax-changelog-p): New function.
3844 (authors-canonical-file-name): Check file as written against
3845 authors-valid-file-names. Do not special-case etc/.
3846 Handle `lax' logs and authors-renamed-files-regexps elements.
3848 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3850 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3851 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3854 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3857 Assume we're already in the proper buffer.
3858 Inspired by Anders Lindgren <andlind@gmail.com>.
3859 (follow-post-command-hook): Call it from the right buffer.
3860 (follow-comint-scroll-to-bottom): Adjust call.
3861 (follow-all-followers): Use get-buffer-window-list.
3863 2014-01-15 Daniel Colascione <dancol@dancol.org>
3865 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3866 `buffer-file-name' in interactive-form so that we don't leave
3867 pathless file names in `file-name-history'.
3869 2014-01-15 Juri Linkov <juri@jurta.org>
3871 * indent.el (indent-rigidly): Set deactivate-mark to nil
3872 in transient indentation mode. (Bug#16438)
3874 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3876 * emacs-lisp/package.el (package-desc-keywords): New function
3878 (describe-package-1, package-all-keywords)
3879 (package--has-keyword-p): Use it.
3881 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3883 * simple.el (define-alternatives): When creating the
3884 COMMAND-alternatives variable, assign COMMAND as its definition
3885 name so that `describe-variable' can relocate it.
3887 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3889 * font-lock.el (font-lock-keywords): Fix typo in docstring
3892 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3894 * ispell.el (ispell-region): Reset `in-comment' for new line
3895 instead of wrongly reset `add-coment' (bug#13577).
3897 2014-01-14 Daiki Ueno <ueno@gnu.org>
3899 * epa-file.el (epa-file-write-region): Encode the region according
3900 to `buffer-file-format'. Problem reported at:
3901 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3903 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3905 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3906 so it applies in the right buffer (bug#16410).
3908 2014-01-13 Daniel Colascione <dancol@dancol.org>
3910 * textmodes/rst.el (rst-define-key): Provide deprecated
3911 keybindings through named functions instead of anonymous ones so
3912 that "??" doesn't appear in describe-mode output.
3914 2014-01-13 Bastien Guerry <bzg@gnu.org>
3916 * simple.el (define-alternatives): Call the selected command
3917 interactively. When setting `COMMAND--implementation' for the
3918 first time, tell the user how to chose another implementation.
3919 Enhance the docstring.
3921 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3923 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3924 (log-edit--match-first-line): New function.
3925 (log-edit-font-lock-keywords): Use it.
3926 (log-edit-mode): Make jit-lock-defer-multiline work.
3928 2014-01-13 Bastien Guerry <bzg@gnu.org>
3930 * rect.el (rectangle-mark-mode): When the region is not active,
3931 display a message saying that the mark as been set and that
3932 rectangle mode is in use.
3933 (rectangle--highlight-for-redisplay): Only put an overlay with a
3934 visible vertical bar when (display-graphic-p) is non-nil.
3935 This partially fixes Bug#16403.
3937 2014-01-13 Juri Linkov <juri@jurta.org>
3939 * info.el (Info-find-file): Go to DIR before displaying the error
3940 about a nonexistent file if no previous Info file is visited.
3941 Use `user-error' instead of `error' for "Info file %s does not exist".
3942 (Info-find-node-2): In case of a nonexistent node in unwind forms
3943 go to the Top node if there is no previous node to revert to.
3946 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3948 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3949 * window.el (fit-frame-to-buffer): Fix doc-string.
3950 Respect window-min-height/-width. Fit pixelwise when
3951 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3952 when avoiding that frame goes partially off-screen.
3953 (fit-window-to-buffer): Respect window-min-height/-width
3956 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3959 after an empty line.
3961 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3963 * net/shr.el (shr-render-region): Autoload.
3965 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3967 * net/eww.el (eww-download-directory): Rename from
3968 `eww-download-path' (Bug#16419).
3970 2014-01-12 Leo Liu <sdl.web@gmail.com>
3972 * dired-x.el (dired-mode-map): Fix last change.
3974 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3976 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3979 * emacs-lisp/generic.el (generic--normalize-comments):
3980 Rename from generic--normalise-comments. All uses changed.
3981 * play/bubbles.el (bubbles--neighborhood-score)
3982 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3983 (bubbles--neighborhood-available)
3984 (bubbles--update-neighborhood-score):
3985 Rename from names with 'neighbourhood'. All uses changed.
3987 2014-01-12 Leo Liu <sdl.web@gmail.com>
3989 Re-implement the feature of showing eldoc info after editing.
3990 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3991 (eldoc-edit-message-commands): New function.
3992 (eldoc-print-after-edit): New variable.
3993 (eldoc-pre-command-refresh-echo-area): Emit message only by
3994 eldoc-message-commands.
3995 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3996 if eldoc-print-after-edit is set. (Bug#16346)
3997 * simple.el (read--expression): Enable eldoc-mode.
3998 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4000 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4001 Eric S. Raymond <esr@thyrsus.com>
4003 * version.el (emacs-repository-get-version): Enhance so the
4004 function works correctly in either a Bazaar or Git repo.
4006 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4008 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4009 Goes with removal of the joke manpages from /etc.
4011 2014-01-10 Kenichi Handa <handa@gnu.org>
4013 * mail/rmail.el (rmail-get-coding-system):
4014 Check rmail-get-coding-function before "funcall"ing it.
4016 2014-01-10 Glenn Morris <rgm@gnu.org>
4018 * emacs-lisp/authors.el (authors-fixed-entries):
4019 Update for files that no longer exist.
4021 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4023 * version.el (emacs-bzr-get-version): Restore compatibilty with
4026 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4028 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4031 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4033 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4035 2014-01-10 Chong Yidong <cyd@gnu.org>
4037 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4039 2014-01-10 Anders Lindgren <andlind@gmail.com>
4041 * follow.el (follow-cache-command-list): Include right-char and
4044 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4047 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4048 * woman.el (woman-mark-horizontal-position):
4049 Rename from woman-mark-horizonal-position. Use changed.
4051 2014-01-10 Glenn Morris <rgm@gnu.org>
4053 * info.el (info-initialize): If running uninstalled, ensure our
4054 own info files are always found first, even if INFOPATH is set.
4056 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4058 2014-01-09 David Engster <deng@randomsample.de>
4060 * emacs-lisp/eieio-custom.el:
4061 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4062 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4063 * emacs-lisp/eieio.el: Regenerate autoloads.
4065 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4067 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4068 following renames. (Bug#8756)
4070 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4074 (activate-mark): Add `no-tmm' argument.
4075 (set-mark, push-mark-command): Use it instead of running
4076 activate-mark-hook by hand.
4078 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4080 In preparation for the move to git, sanitize out some
4081 Bazaar-specific names.
4083 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4085 * version.el (emacs-bzr-version): Name changed to
4086 emacs-repository-version. Obsolete-variable alias made.
4087 * loadup.el: Follow through on this name change.
4088 * mail/emacsbug.el (report-emacs-bug): Factor out any
4089 assumption about the version control system in use.
4091 2014-01-08 David Engster <deng@randomsample.de>
4093 * help-fns.el (help-fns-describe-function-functions):
4094 New variable to call functions for augmenting help buffers.
4095 (describe-function-1): Remove explicit calls to
4096 `help-fns--compiler-macro', `help-fns--parent-mode' and
4097 `help-fns--obsolete'. Put them in above new variable instead, and
4098 call them through `run-hook-with-args'.
4099 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4100 `eieio-describe-class'. Not meant for interactive use anymore,
4101 but to augment existing help buffers. Remove optional second
4102 argument. Create proper button for file location.
4103 Rewrite function to use `insert' instead of `princ' and `prin1' where
4105 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4106 (eieio-method-def, eieio-class-def): Move further up.
4107 (describe-method, describe-generic, eieio-describe-method):
4109 (eieio-help-constructor, eieio-help-generic): Rename from
4110 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4111 Rewrite to use `insert' in the current buffer and use proper help
4113 (eieio-help-find-method-definition)
4114 (eieio-help-find-class-definition): Also accept symbols as
4116 (eieio-help-mode-augmentation-maybee): Remove.
4117 (eieio-describe-class-sb): Use `describe-function'.
4118 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4119 Add `eieio-help-generic' and `eieio-help-constructor'.
4121 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4124 * language/china-util.el (hz-ascii-designation):
4125 Rename from hz-ascii-designnation.
4126 (hz-ascii-designation): Rename from hz-ascii-designnation.
4129 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4134 2014-01-08 Bastien Guerry <bzg@gnu.org>
4136 * emacs-lisp/package.el (package-delete):
4137 Correctly delete the package from package-alist.
4139 2014-01-08 Daiki Ueno <ueno@gnu.org>
4141 * emacs-lisp/package.el (url-recreate-url): Declare.
4142 (url-http-target-url): Declare.
4143 (package-handle-response): Include requested URL in the error message.
4144 (package--check-signature): Don't re-signal errors from
4145 package--with-work-buffer. Suggested by Stefan Monnier.
4147 2014-01-07 Bastien Guerry <bzg@gnu.org>
4149 * minibuffer.el (completion--try-word-completion): When both a
4150 hyphen and a space are possible candidates for the character
4151 following a word, display both candidates. (Bug#15980)
4153 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4155 * window.el (balance-windows-2): While rounding don't give a
4156 window more than the remainder. Bug#16351, bug#16383.
4158 2014-01-07 Glenn Morris <rgm@gnu.org>
4160 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4161 (menu-bar-help-menu): Use view-external-packages instead.
4163 2014-01-07 Bastien Guerry <bzg@gnu.org>
4165 * emacs-lisp/package.el (package-delete): Also delete the package
4166 name from `package-alist', not its description only.
4168 2014-01-07 Glenn Morris <rgm@gnu.org>
4170 * help.el (view-external-packages):
4171 * menu-bar.el (menu-bar-help-extra-packages):
4172 Visit efaq.info rather than etc/MORE.STUFF.
4174 2014-01-07 Juri Linkov <juri@jurta.org>
4176 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4177 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4179 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4180 that shadows RET. (Bug#16342)
4182 2014-01-07 Chong Yidong <cyd@gnu.org>
4184 * isearch.el (isearch-yank-char, isearch-yank-word)
4185 (isearch-yank-line): Doc fix.
4187 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4189 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4190 * emacs-lisp/elint.el (elint-find-builtins):
4191 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4192 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4193 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4194 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4195 * apropos.el (apropos-safe-documentation):
4196 * subr.el (symbol-file): Remove redundant fboundp.
4197 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4199 2014-01-06 Bastien Guerry <bzg@gnu.org>
4201 * hl-line.el (global-hl-line-overlay): Make a local variable.
4202 (global-hl-line-overlays): New variable to store all overlays.
4203 (global-hl-line-mode): Don't delete overlays from the current
4204 buffer when `global-hl-line-sticky-flag' is non-nil.
4205 (global-hl-line-highlight): Add new overlays to
4206 `global-hl-line-overlays'.
4207 (global-hl-line-unhighlight-all): New function to delete all
4208 overlays when turning off `global-hl-line-mode'.
4209 This fixes Bug#16183.
4211 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4213 * subr.el (set-transient-map): Fix nested case and docstring.
4215 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4217 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4220 2014-01-06 Daniel Colascione <dancol@dancol.org>
4222 Fix defun navigation in vc log view.
4224 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4225 like `beginning-of-defun'.
4226 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4227 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4228 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4229 (log-view-extract-comment): Call `log-view-current-entry' directly
4230 instead of relying on broken `log-view-beginning-of-defun' behavior.
4232 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4235 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4236 * emacs-lisp/debug.el (cancel-debug-on-entry):
4237 * epg.el (epg-error-to-string):
4238 * files.el (recover-file):
4239 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4240 * mail/emacsbug.el (report-emacs-bug-hook):
4241 * mail/sendmail.el (mail-recover):
4242 * ses.el (ses-yank-resize):
4243 * term/ns-win.el (ns-print-buffer):
4244 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4245 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4247 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4249 2014-01-06 Leo Liu <sdl.web@gmail.com>
4251 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4252 to avoid shadowing global key. (Bug#16354)
4254 2014-01-06 Daniel Colascione <dancol@dancol.org>
4256 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4259 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4261 * window.el (balance-windows): Add mising t to fix Bug#16351.
4263 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4267 (shr-insert): If we have a word that's longer than `shr-width',
4268 break after it anyway. Otherwise we'll do no breaking once we get
4271 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4273 * net/eww.el (eww): Support single/double quote for search.
4274 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4275 (eww-history-quit): Delete and use quit-window.
4276 (eww-history-kill): Delete, because it doesn't work well and
4278 (eww-history-mode-map): Delete some keys and add easy-menu.
4280 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4282 Fix misspelling of 'chinese' in rx (Bug#16237).
4283 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4286 Change subword regexps back to vars (Bug#16296).
4287 * progmodes/subword.el (subword-forward-regexp)
4288 (subword-backward-regexp): Change these back to variables.
4290 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4293 syntax-begin-function (bug#16247).
4295 2014-01-03 Chong Yidong <cyd@gnu.org>
4297 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4298 (advice--docstring): Delete variable.
4299 (advice--make-1): Leave the docstring empty.
4300 (advice-add): Use function-documentation for advised docstring.
4302 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4303 Ignore function-documentation property when getting documentation.
4304 (ad-activate-advised-definition): Use function-documentation
4305 generate the docstring.
4306 (ad-make-advised-definition): Don't call
4307 ad-make-advised-definition-docstring.
4308 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4311 * progmodes/sql.el (sql-help): Use function-documentation instead
4312 of dynamic-docstring-function property. No need to autoload now.
4313 (sql--help-docstring): New variable.
4314 (sql--make-help-docstring): Use it.
4316 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * ielm.el (ielm-tab): Retarget.
4319 (ielm-map): Use ielm-tab for tab.
4320 (ielm-complete-filename): Use comint-filename-completion.
4321 (ielm-complete-symbol): Remove.
4322 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4323 remove ielm-tab from completion-at-point-functions (bug#16224).
4325 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4326 Beware signals raised by predicates (bug#16201).
4328 2014-01-02 Richard Stallman <rms@gnu.org>
4330 * dired-aux.el (dired-do-print): Handle printer-name.
4332 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4333 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4334 (rmail-epa-decrypt): Turn off mime processing.
4336 * mail/rmail.el (rmail-make-in-reply-to-field):
4337 Add parens in message-id.
4339 * mail/rmail.el (rmail-get-coding-function): Variable.
4340 (rmail-get-coding-system): Use it.
4342 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4344 * international/mule-conf.el: Unify the charset indian-is13194.
4345 (indian-is13194): Specify unify-map.
4347 2013-12-31 Leo Liu <sdl.web@gmail.com>
4349 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4351 2013-12-30 Daniel Colascione <dancol@dancol.org>
4353 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4354 of printing a useless when we resume from sleep.
4356 * progmodes/sh-script.el
4357 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4358 in indentation code. (Bug#16233)
4360 2013-12-28 João Távora <joaotavora@gmail.com>
4362 * elec-pair.el (electric-pair-post-self-insert-function):
4363 Don't open extra newlines at beginning of buffer. (Bug#16272)
4365 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4367 * frame.el (window-system-for-display): Don't allow to create a
4368 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4370 2013-12-28 Glenn Morris <rgm@gnu.org>
4372 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4375 * apropos.el (apropos-match-face):
4376 * calculator.el (calculator-displayer):
4377 * dabbrev.el (dabbrev-search-these-buffers-only):
4378 * face-remap.el (buffer-face-mode-face):
4379 * simple.el (yank-handled-properties):
4380 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4381 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4382 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4383 (hashcash-double-spend-database):
4384 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4385 (ruby-deep-indent-paren-style):
4386 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4387 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4388 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4389 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4390 Specify custom types.
4392 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4393 * bookmark.el (bookmark-bmenu-use-header-line):
4394 * doc-view.el (doc-view-scale-internally):
4395 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4396 * register.el (register-preview-delay):
4397 * net/shr.el (shr-bullet):
4398 * progmodes/cfengine.el (cfengine-cf-promises)
4399 (cfengine-parameters-indent):
4400 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4401 * textmodes/reftex-vars.el (reftex-label-regexps):
4402 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4404 * net/tls.el (tls-certtool-program): Fix default value.
4406 * desktop.el (desktop-restore-in-current-display):
4407 * newcomment.el (comment-empty-lines):
4408 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4409 (idlwave-pad-keyword):
4410 * progmodes/tcl.el (tcl-tab-always-indent):
4411 * textmodes/reftex-vars.el (reftex-index-default-tag):
4412 * elec-pair.el (electric-pair-skip-whitespace):
4413 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4415 * emacs-lisp/authors.el (authors-ignored-files)
4416 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4418 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4420 * shell.el (shell-dynamic-complete-command): Doc fix.
4421 (shell--command-completion-data): Shell completion now matches
4422 executable filenames from the current buffer's directory, on
4423 systems in which this behavior is the default (windows-nt, ms-dos).
4425 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4427 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4429 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4431 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4434 * electric.el: Move all electric-pair-* to elec-pair.el.
4435 * elec-pair.el: New file, split from electric.el.
4437 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4439 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4440 indentation level is larger than the width, because that will
4442 (shr-insert): Fill repeatedly long texts, so that Japanese is
4443 formatted correctly (bug#16263).
4444 (shr-find-fill-point): Off by one error in comparison with the
4447 2013-12-26 João Távora <joaotavora@gmail.com>
4449 * electric.el (electric-pair-mode): More flexible engine for skip-
4450 and inhibit predicates, new options for pairing-related functionality.
4451 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4452 if that keeps or improves their balance in buffers.
4453 (electric-pair-delete-adjacent-pairs): Delete the pair when
4454 backspacing over adjacent matched delimiters.
4455 (electric-pair-open-extra-newline): Open extra newline when
4456 inserting newlines between adjacent matched delimiters.
4457 (electric--sort-post-self-insertion-hook):
4458 Sort post-self-insert-hook according to priority values when
4459 minor-modes are activated.
4460 * simple.el (newline-and-indent): Call newline with interactive
4462 (blink-paren-post-self-insert-function): Set priority to 100.
4463 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4464 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4465 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4466 electric-pair-open-newline-between-pairs to nil.
4468 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4470 * progmodes/python.el: Use lexical-binding.
4471 (python-nav-beginning-of-defun): Stop searching ASAP.
4473 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4475 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4476 Fix interactive spec. Doc fix. (Bug#15754)
4478 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4480 * emacs-lisp/byte-run.el (eval-when-compile):
4481 * progmodes/cc-defs.el (cc-eval-when-compile):
4482 Fix edebug spec (bug#16184).
4484 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4486 * net/shr.el (shr-visit-file): Remove debugging function.
4487 (shr-insert): Don't infloop if we can't find a good place to break
4488 the line (bug#16256).
4490 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4492 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4493 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4494 python-nav-lisp-forward-sexp-safe.
4495 (python-nav--forward-sexp): New argument SAFE allows switching
4496 forward sexp movement behavior for parens.
4497 (python-nav-forward-sexp): Throw errors on unterminated parens
4499 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4500 (python-nav-backward-sexp-safe): New functions.
4501 (python-shell-buffer-substring):
4502 Use `python-nav-forward-sexp-safe'.
4504 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4506 * net/shr.el (shr-find-fill-point): Don't break lines before a
4508 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4509 (shr-find-fill-point): Remove the special checks for the quotation
4510 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4512 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4514 * net/eww.el (eww-form-textarea): Use a different face for
4515 textareas than text input since they have different keymaps
4518 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4520 * progmodes/python.el (python-nav-beginning-of-statement):
4521 Speed up (Bug#15295).
4523 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4525 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4526 the window configuration.
4528 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4530 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4531 we run on MS-Windows or MS-DOS.
4533 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4535 * window.el (balance-windows-area): Call window-size instead of
4536 window-height and window-width. Bug#16241.
4538 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4540 * net/eww.el (eww-bookmark-quit): Remove.
4541 (eww-bookmark-browse): Restore the window configuration when you
4542 choose a bookmark (bug#16144).
4544 2013-12-24 Daniel Colascione <dancol@dancol.org>
4546 * icomplete.el: Remove redundant :group arguments to `defcustom'
4548 (icomplete-show-matches-on-no-input): New customizable variable.
4549 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4550 we have something to show.
4551 (icomplete-exhibit): Compute completions even if we have no user input.
4553 2013-12-23 Daniel Colascione <dancol@dancol.org>
4555 * icomplete.el: Move `provide' to end of file.
4557 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4559 * net/gnutls.el (gnutls-verify-error): Add version tag.
4561 2013-12-23 Chong Yidong <cyd@gnu.org>
4563 * subr.el (set-transient-map): Rename from
4564 set-temporary-overlay-map. Doc fix.
4566 * face-remap.el (text-scale-adjust):
4567 * indent.el (indent-rigidly):
4568 * kmacro.el (kmacro-call-macro):
4569 * minibuffer.el (minibuffer-force-complete):
4570 * repeat.el (repeat):
4571 * simple.el (universal-argument--mode):
4572 * calendar/todo-mode.el (todo-insert-item--next-param):
4573 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4575 * indent.el (indent-rigidly): Use substitute-command-keys.
4577 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4579 * net/eww.el (eww-tag-select): Add text-property to jump to next
4581 (eww): Add non-supported ftp error.
4583 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4585 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4586 comments. Handle electric indent after typing `?' and `!'.
4588 2013-12-22 Chong Yidong <cyd@gnu.org>
4590 * faces.el (face-spec-recalc): If the theme specs are not
4591 applicable to a frame, fall back on the defface spec.
4592 This prevents themes from obliterating faces on low-color terminals.
4594 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4596 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4597 after `{'. We need it after block openers, and it doesn't seem
4598 to hurt after hash openers.
4600 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4602 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4603 extracted from `ruby-smie-rules'.
4604 (ruby--electric-indent-chars): New variable.
4605 (ruby--electric-indent-p): New function.
4606 (ruby-mode): Use `electric-indent-functions' instead of
4607 `electric-indent-chars'.
4609 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4611 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4613 (ruby-smie-rules): Indent plus one level after `=>'.
4615 2013-12-21 Richard Stallman <rms@gnu.org>
4617 * simple.el (newline): Doc fix.
4619 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4621 * net/eww.el (eww-list-histories, eww-list-histories)
4622 (eww-history-browse, eww-history-quit, eww-history-kill)
4623 (eww-history-mode-map, eww-history-mode): New command and
4624 functions to list browser histories.
4625 (eww-form-text): Support text form with disabled
4626 and readonly attributes.
4627 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4629 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4631 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4632 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4633 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4634 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4636 (eww-bookmark-mode-map): Add menu.
4637 (eww-render, eww-mode): Use `setq-local'.
4638 (eww-tool-bar-map): New variable.
4639 (eww-mode): Set `tool-bar-map'.
4640 (eww-view-source): Check for `html-mode' with `fboundp'.
4642 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4644 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4645 elements with text inside. Also remove debugging.
4647 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4649 * cus-start.el (all): Add ns-use-srgb-colorspace.
4651 2013-12-21 Chong Yidong <cyd@gnu.org>
4653 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4654 undefined. Thus, theme settings for undefined faces do not take
4655 effect until the faces are defined with defface, the same as with
4658 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4659 (face-spec-reset-face): Don't assign extra properties in temacs.
4660 (face-spec-recalc): Apply X resources too.
4662 2013-12-21 Chong Yidong <cyd@gnu.org>
4664 * faces.el (face-spec-set):
4665 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4666 * custom.el (defface): Doc fixes (Bug#16203).
4668 * indent.el (indent-rigidly-map): Add docstring, and move commands
4669 into named functions.
4670 (indent-rigidly-left, indent-rigidly-right)
4671 (indent-rigidly-left-to-tab-stop)
4672 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4673 indentation direction based on bidi direction, and accumulate
4674 sequential commands in a single undo boundary.
4675 (indent-rigidly--pop-undo): New utility function.
4677 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4679 * faces.el (read-face-name): Require crm.el when using crm-separator.
4681 2013-12-20 Daniel Colascione <dancol@dancol.org>
4683 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4684 so that we don't reflow comments into the shebang line.
4686 2013-12-20 Juri Linkov <juri@jurta.org>
4688 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4689 a position when `dired-directory' is non-nil. Check integer
4690 positions with `integerp'.
4691 (toggle-save-place, save-places-to-alist): Add check for
4693 (save-place-find-file-hook): Check integer positions with
4695 (save-place-dired-hook): Use `dired-goto-file' when
4696 `dired-filename' is found in the assoc list. Check integer
4697 positions with `integerp'.
4698 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4700 * dired.el (dired-initial-position-hook): Rename back from
4701 `dired-initial-point-hook'.
4702 (dired-initial-position): Rename `dired-initial-point-hook' to
4703 `dired-initial-position-hook'.
4704 (dired-file-name-at-point): Doc fix. (Bug#15329)
4706 2013-12-20 Juri Linkov <juri@jurta.org>
4708 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4709 (read-regexp-suggestions): New function.
4710 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4711 Use `read-regexp-suggestions'. Add non-empty default to history
4713 (occur-read-regexp-defaults-function): Remove function.
4714 (occur-read-primary-args): Use `regexp-history-last' instead of
4715 `occur-read-regexp-defaults-function'.
4717 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4718 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4719 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4720 `hi-lock-read-regexp-defaults-function'. Doc fix.
4721 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4722 with `find-tag-default-as-symbol-regexp'. Doc fix.
4723 (hi-lock-read-regexp-defaults): Remove function.
4724 (hi-lock-regexp-okay): Add check for null.
4726 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4727 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4729 * subr.el (find-tag-default-as-symbol-regexp): New function.
4730 (find-tag-default-as-regexp): Move symbol regexp formatting to
4731 `find-tag-default-as-symbol-regexp'.
4733 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4735 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4738 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4740 * calendar/todo-mode.el: New implementation of item insertion
4741 commands and key bindings.
4742 (todo-key-prompt): New face.
4743 (todo-insert-item): New command.
4744 (todo-insert-item--parameters): New defconst, replacing defvar
4745 todo-insertion-commands-args-genlist.
4746 (todo-insert-item--param-key-alist): New defconst, replacing
4747 defvar todo-insertion-commands-arg-key-list.
4748 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4749 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4750 (todo-insert-item--next-param): New functions.
4751 (todo-insert-item--args, todo-insert-item--argleft)
4752 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4754 (todo-key-bindings-t): Change binding of "i" from
4755 todo-insertion-map to todo-insert-item.
4756 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4757 (todo-insertion-command-name, todo-insertion-commands-names)
4758 (todo-define-insertion-command, todo-insertion-commands)
4759 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4761 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4763 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4764 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4766 (todo-move-category): Allow choosing a non-existing todo file to
4767 move the category to, and create that file.
4768 (todo-default-priority): New user option.
4769 (todo-set-item-priority): Use it.
4770 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4771 (desktop-restore-file-buffer): Declare.
4772 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4773 (todo-modes-set-2): Locally set desktop-save-buffer to
4774 todo-desktop-save-buffer.
4775 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4776 (auto-mode-alist): Add autoload cookie.
4778 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4780 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4781 helpers.el was a poor choice of name.
4782 (string-remove-prefix): New function.
4783 (string-remove-suffix): New function.
4785 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4787 Fix assignment for new window total sizes.
4788 * window.el (window--pixel-to-size): Remove function.
4789 (window--pixel-to-total-1, window--pixel-to-total):
4790 Fix calculation of new total sizes.
4792 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4794 * comint.el (comint-output-filter): Fix rear-nonsticky property
4795 placement (Bug#16010).
4797 2013-12-20 Chong Yidong <cyd@gnu.org>
4799 * faces.el (read-color): Minor fix for completion function.
4801 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4803 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4804 New option. (Bug#16182)
4805 (ruby-smie--indent-to-stmt-p): Use it.
4806 (ruby-smie-rules): Revert the logic in the handling of `when'.
4807 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4808 (ruby-deep-arglist, ruby-deep-indent-paren)
4809 (ruby-deep-indent-paren-style): Update docstrings to note that the
4810 vars don't have any effect with SMIE.
4812 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4814 * calc/calc.el (calc-enter, calc-pop): Use the variable
4815 `calc-context-sensitive-enter'.
4817 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4819 * net/shr.el (shr-insert): Protect against infloops in degenerate
4822 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4824 * progmodes/octave.el (octave): Add link to manual and octave
4826 (octave-mode-menu): Link to octave-mode manual.
4828 2013-12-20 Leo Liu <sdl.web@gmail.com>
4830 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4831 insertion using skeleton-end-newline. (Bug#16138)
4833 2013-12-20 Juri Linkov <juri@jurta.org>
4835 * replace.el (occur-engine): Use `add-face-text-property'
4836 to add the face property to matches and titles. (Bug#14645)
4838 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4839 the palette of other hi-lock colors.
4840 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4842 2013-12-19 Juri Linkov <juri@jurta.org>
4844 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4845 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4846 (minibuffer-history-symbol): Move variable declaration closer to
4849 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4852 2013-12-19 Juri Linkov <juri@jurta.org>
4854 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4856 (log-edit-hook): Add it to :options. (Bug#16170)
4858 2013-12-19 Juri Linkov <juri@jurta.org>
4860 * simple.el (eval-expression-print-format): Don't check for
4861 command names and the last command. Always display additional
4862 formats of the integer result in the echo area, and insert them
4863 to the current buffer only with a zero prefix arg.
4864 Display character when char-displayable-p is non-nil.
4865 (eval-expression): With a zero prefix arg, set `print-length' and
4866 `print-level' to nil, and insert the integer values from
4867 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4869 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4870 `eval-last-sexp-arg-internal'. Doc fix.
4871 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4872 `eval-last-sexp-print-value'. Doc fix.
4873 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4874 Set `print-length' and `print-level' to nil when arg is zero.
4875 (eval-last-sexp): Doc fix.
4876 (eval-defun-2): Print the integer values from
4877 `eval-expression-print-format' at the end.
4879 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4880 values from `eval-expression-print-format' at the end.
4882 * ielm.el (ielm-eval-input): Print the integer
4883 values from `eval-expression-print-format' at the end.
4885 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4887 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4888 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4890 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4892 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4893 (hl-line-highlight, global-hl-line-highlight): Use it.
4894 (hl-line-overlay): Use defvar-local.
4896 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4898 * term/ns-win.el: Require dnd.
4899 (global-map): Remove drag items.
4900 (ns-insert-text, ns-set-foreground-at-mouse)
4901 (ns-set-background-at-mouse):
4902 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4903 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4906 2013-12-19 Glenn Morris <rgm@gnu.org>
4908 * emacs-lisp/ert.el (ert-select-tests):
4909 Fix string/symbol mixup. (Bug#16121)
4911 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4913 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4914 keywords to their parent.
4916 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4918 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4919 first arg to be a string (fixed dead code), or an operator symbol.
4920 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4922 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4923 did nothing. Don't respond to `(:after ".")', it will be called
4924 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4925 change anything. Only return indentation for binary operators
4926 when they are hanging. De-dent opening paren when its parent is
4927 `.', otherwise it looks bad when the dot is not at bol or eol
4930 2013-12-19 Juri Linkov <juri@jurta.org>
4932 * replace.el (query-replace-read-args): Split a non-negative arg
4933 and a negative arg into separate elements.
4934 (query-replace, query-replace-regexp, replace-string)
4935 (replace-regexp): Add arg `backward'. Doc fix.
4936 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4937 move point to the beginning of the match.
4938 (replace-search, replace-highlight): Use new arg `backward'
4939 to set the value of `isearch-forward'.
4940 (perform-replace): Add arg `backward' and use it to perform
4941 replacement backward. (Bug#14979)
4943 * isearch.el (isearch-query-replace): Use a negative prefix arg
4944 to call `perform-replace' with a non-nil arg `backward'.
4946 2013-12-18 Juri Linkov <juri@jurta.org>
4948 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4949 to the default list. Move `log-edit-show-files' to the end.
4950 Add more available functions to options.
4951 (log-edit): Move default specific settings to
4952 `log-edit-insert-message-template'. Don't move point.
4953 (log-edit-insert-message-template): New function.
4954 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4957 2013-12-18 Juri Linkov <juri@jurta.org>
4959 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4960 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4962 2013-12-18 Leo Liu <sdl.web@gmail.com>
4964 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4967 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4969 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4970 formats for displaying file sizes when the -s switch is given.
4971 Instead, compute a separate format for displaying the size in
4972 blocks, which is displayed in addition to the "regular" size.
4973 When -h is given in addition to -s, produce size in blocks in
4974 human-readable form as well. (Bug#16179)
4976 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4978 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4979 Reference tables with ~\ref{...} instead of only \ref{...}.
4981 2013-12-18 Chong Yidong <cyd@gnu.org>
4983 * cus-edit.el (custom-magic-alist): Fix "themed" description
4986 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4987 is non-nil, do not create a new entry in the symbol's theme-value
4988 or theme-face property; update theme-settings only (Bug#14664).
4989 (custom-available-themes): Doc fix.
4991 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4994 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4996 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4998 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5001 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5003 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5005 2013-12-18 Glenn Morris <rgm@gnu.org>
5007 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5008 * cus-start.el (load-prefer-newer): New option.
5010 2013-12-18 Le Wang <l26wang@gmail.com>
5012 * comint.el (comint-previous-matching-input-from-input):
5013 Retain point (Bug#13404).
5015 2013-12-18 Chong Yidong <cyd@gnu.org>
5017 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5019 2013-12-18 Glenn Morris <rgm@gnu.org>
5021 * mail/emacsbug.el (report-emacs-bug):
5022 Only mention enable-multibyte-characters if non-standard.
5024 2013-12-17 Juri Linkov <juri@jurta.org>
5026 * arc-mode.el (archive-extract-by-file): Check if directory exists
5027 before deletion to not show irrelevant errors if it doesn't exist.
5029 2013-12-17 Juri Linkov <juri@jurta.org>
5031 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5034 * net/eww.el (browse-web): Add alias to `eww'.
5035 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5036 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5038 * net/browse-url.el (browse-url-browser-function): Move `eww'
5039 closer to similar functions.
5041 * startup.el (fancy-startup-screen, fancy-about-screen):
5042 Set browse-url-browser-function to eww-browse-url locally.
5045 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5047 * window.el (window--pixel-to-total): Remove unused `mini' var.
5048 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5049 (split-window): Remove unused `new' var.
5050 (window--display-buffer): Remove unused `frame' and `delta' vars.
5051 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5054 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5056 * dired.el (dired-mark-pop-up):
5057 * register.el (register-preview): Don't bind
5058 split-height-threshold here since it's now done in
5059 display-buffer-below-selected.
5061 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5063 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5064 xterm-rgb-convert-to-16bit.
5065 (rxvt-register-default-colors): Standardize with
5066 xterm-register-default-colors (Bug#14078).
5068 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5070 * simple.el (kill-region): Pass mark first, then point, so that
5071 kill-append works right (Bug#12819).
5072 (copy-region-as-kill, kill-ring-save): Likewise.
5074 2013-12-17 Leo Liu <sdl.web@gmail.com>
5076 * net/rcirc.el (rcirc-add-face):
5077 * eshell/em-prompt.el (eshell-emit-prompt):
5078 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5081 2013-12-17 Chong Yidong <cyd@gnu.org>
5083 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5084 Suggested by Xue Fuqiao.
5086 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5088 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5090 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5092 * net/shr.el (shr-insert-document): Remove unused var
5093 `shr-preliminary-table-render'.
5094 (shr-rescale-image): Remove unused arg `force'.
5095 (shr-put-image): Update calls accordingly.
5096 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5098 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5100 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5101 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5102 :close-all, to see which indentation method to use (Bug#16116).
5103 (smie-rules-function): Document the method :close-all.
5105 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5107 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5109 * net/eww.el (eww-display-html): If we can't find the anchor we're
5110 looking for, then go to point-min.
5112 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5114 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5115 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5116 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5117 Expand dir too, in case it's relative.
5119 2013-12-16 Juri Linkov <juri@jurta.org>
5121 * desktop.el (desktop-auto-save-timeout): Change default to
5122 `auto-save-timeout'. Doc fix.
5123 (desktop-save): Skip the timestamp in desktop-saved-frameset
5124 when checking for auto-save changes.
5125 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5126 `desktop-auto-save' is called repeatedly by the idle timer.
5127 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5128 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5131 2013-12-16 Juri Linkov <juri@jurta.org>
5133 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5135 (isearch-pre-command-hook): Check `this-command' for symbolp.
5137 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5141 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5143 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5144 (cfengine3--current-function): Bring in the current-function
5145 functionality from `cfengine3--current-word'.
5146 (cfengine3-completion-function): Bring in the
5147 bounds-of-current-word functionality from
5148 `cfengine3--current-word'.
5150 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5152 * window.el (display-buffer-below-selected):
5153 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5155 2013-12-16 Leo Liu <sdl.web@gmail.com>
5157 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5158 Remove NOMSG arg and all uses changed.
5160 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5163 (cua--deactivate-rectangle): Don't deactivate the mark.
5164 (cua-set-rectangle-mark): Don't set mark-active since
5165 cua--activate-rectangle already does it for us.
5166 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5167 non-rectangular region.
5169 * emulation/cua-base.el (cua-repeat-replace-region):
5170 Use with-current-buffer.
5172 * net/gnutls.el: Use cl-lib.
5173 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5175 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5177 * emacs-lisp/package.el (package-built-in-p): Support both
5178 built-in and the package.el converted package descriptions.
5179 (package-show-package-list): Allow keywords.
5180 (package-keyword-button-action): Use it instead of
5181 `finder-list-matches'.
5182 (package-menu-filter-interactive): Interactive filtering (by
5184 (package-menu--generate): Support keywords and change keymappings
5185 and headers when they are given.
5186 (package--has-keyword-p): Helper function.
5187 (package-menu--refresh): Use it.
5188 (package--mapc): Helper function.
5189 (package-all-keywords): Use it.
5190 (package-menu-mode-map): Set up menu items and keybindings to
5191 provide a filtering UI.
5193 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5195 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5196 the behavior when a certificate fails validation. Defaults to
5197 old behavior: never abort, just warn.
5198 (gnutls-negotiate): Use it.
5200 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5202 * window.el (display-buffer-below-selected): Never split window
5203 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5205 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5207 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5208 (package-buffer-info): Use it (bug#15108).
5210 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5212 * icomplete.el (icomplete-completions): Make sure the prefix is already
5213 displayed elsewhere before hiding it (bug#16219).
5215 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5217 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5218 open-paren tokens when preceded by a open-paren, too.
5219 (ruby-smie-rules): Handle virtual indentation after open-paren
5220 tokens specially. If there is code between it and eol, return the
5221 column where is starts (Bug#16118).
5223 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5225 * progmodes/cfengine.el: Fix `add-hook' doc.
5226 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5227 (cfengine3--current-word): Fix parameters.
5228 (cfengine3-make-syntax-cache): Simplify further.
5229 (cfengine3-completion-function, cfengine3--current-function):
5230 Use `assq' for symbols.
5231 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5233 2013-12-13 Glenn Morris <rgm@gnu.org>
5235 * loadup.el (load-path): Warn if site-load or site-init changes it.
5236 No more need to reset it when bootstrapping.
5238 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5240 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5241 locations for cf-promises.
5242 (cfengine-mode-syntax-functions-regex): New caching variable.
5243 (cfengine3-fallback-syntax): Fallback syntax for cases where
5244 cf-promises doesn't run.
5245 (cfengine3--current-word): Reimplement using
5246 `cfengine-mode-syntax-functions-regex'.
5247 (cfengine3-completion-function, cfengine3--current-function):
5248 Use `cfengine3-make-syntax-cache' directly.
5249 (cfengine3-clear-syntax-cache): New function.
5250 (cfengine3-make-syntax-cache): Simplify and create
5251 `cfengine-mode-syntax-functions-regex' on demand.
5252 (cfengine3-format-function-docstring): Don't call
5253 `cfengine3-make-syntax-cache' explicitly.
5255 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5257 Fix windmove-find-other-window broken after pixelwise resizing
5259 * windmove.el (windmove-other-window-loc): Revert change from
5261 (windmove-find-other-window): Call window-in-direction.
5262 * window.el (window-in-direction): New arguments SIGN, WRAP and
5263 MINI to emulate original windmove-find-other-window behavior.
5265 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5267 * simple.el (blink-matching--overlay): New variable.
5268 (blink-matching-open): Instead of moving point, highlight the
5269 matching paren with an overlay
5270 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5272 * faces.el (paren-showing-faces, show-paren-match)
5273 (show-paren-mismatch): Move from paren.el.
5275 2013-12-13 Leo Liu <sdl.web@gmail.com>
5277 * indent.el (indent-region): Disable progress reporter in
5278 minibuffer. (Bug#16108)
5280 * bindings.el (visual-order-cursor-movement): Fix version.
5282 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5284 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5285 Also match after beginning of line.
5286 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5287 files. Thanks to Russell Sim. (Bug#15378)
5289 2013-12-13 Juri Linkov <juri@jurta.org>
5291 * simple.el <Keypad support>: Remove key bindings duplicated
5292 with bindings.el. (Bug#14397)
5294 2013-12-13 Juri Linkov <juri@jurta.org>
5296 * comint.el (comint-mode-map): Replace `delete-char' with
5297 `delete-forward-char'. (Bug#16109)
5299 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5301 * progmodes/python.el (python-indent-calculate-indentation):
5302 Fix de-denters cornercase. (Bug#15731)
5304 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5306 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5307 (advice--make): Pay attention to `depth'.
5308 (advice--make-1): Don't autoload commands eagerly.
5309 * emacs-lisp/elp.el (elp-instrument-function):
5310 * emacs-lisp/trace.el (trace-function-internal):
5311 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5313 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5315 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5317 * term/w32-win.el (w32-handle-dropped-file):
5318 * startup.el (normal-top-level):
5319 * net/browse-url.el (browse-url-file-url):
5320 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5321 decode file names using 'utf-8' rather than
5322 file-name-coding-system.
5324 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5326 * progmodes/python.el (python-indent-context)
5327 (python-indent-calculate-indentation): Fix auto-identation
5328 behavior for comment blocks. (Bug#15916)
5330 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5332 * progmodes/python.el (python-indent-calculate-indentation):
5333 When determining indentation, don't treat "return", "pass", etc., as
5334 operators when they are just string constituents. (Bug#15812)
5336 2013-12-12 Juri Linkov <juri@jurta.org>
5338 * uniquify.el (uniquify-buffer-name-style): Change default to
5339 `post-forward-angle-brackets'.
5341 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5342 `uniquify'. Change default to `post-forward-angle-brackets'.
5344 2013-12-11 Glenn Morris <rgm@gnu.org>
5346 * emacs-lisp/package.el (finder-list-matches):
5347 Autoload rather than falsely declaring.
5349 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5351 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5352 (eww-mode-map): Use them.
5354 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5356 * window.el (display-buffer-in-side-window): Fix doc-string
5359 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5361 * vc/vc-git.el: Silence byte-compiler warnings.
5362 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5363 (log-edit-set-header): Declare.
5365 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5367 * Makefile.in (custom-deps, finder-data): Run output file names
5368 through unmsys--file-name. (Bug#16099)
5370 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5373 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5375 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5376 instead of deleting the selection "by hand" (bug#16098).
5377 Rely on insert-for-yank to yank rectangles.
5378 (cua-highlight-region-shift-only): Mark obsolete.
5379 (cua-mode): Don't enable/disable transient-mark-mode,
5380 shift-select-mode (cua-mode works both with and without them), and
5381 pc-selection-mode (obsolete).
5382 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5383 (cua--deactivate-rectangle): Deactivate it.
5385 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5386 (delete-selection-helper): Make sure yank starts at the top of the
5388 (minibuffer-keyboard-quit): Use region-active-p.
5390 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5392 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5393 to `delete' (bug#16109).
5395 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5397 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5398 info manual and show keybindings and set `:group' keyword.
5400 2013-12-11 Juri Linkov <juri@jurta.org>
5402 * delsel.el (delete-active-region): Let-bind `this-command'
5403 to prevent `kill-region' from changing its original value.
5404 (delete-selection-helper): Handle `overwrite-mode' for the type
5405 `kill' exactly the same way as for the type `t'.
5406 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5407 Support more commands. (Bug#13312)
5409 2013-12-11 Juri Linkov <juri@jurta.org>
5411 * bindings.el: Map kp keys to non-kp keys systematically
5412 with basic modifiers control, meta and shift. (Bug#14397)
5414 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5416 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5417 "Close browser" menu items. Fix wrong function of "List
5420 2013-12-11 Juri Linkov <juri@jurta.org>
5422 * misearch.el (multi-isearch-buffers): Set the value of
5423 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5424 arg of isearch-forward to t.
5425 (multi-isearch-buffers-regexp): Set the value of
5426 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5427 arg of isearch-forward-regexp to t.
5428 (multi-isearch-files): Set the value of
5429 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5430 arg of isearch-forward to t.
5431 (multi-isearch-files-regexp): Set the value of
5432 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5433 arg of isearch-forward-regexp to t. (Bug#16035)
5435 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5436 arg of isearch-forward to t.
5437 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5438 arg of isearch-forward-regexp to t.
5439 (dired-isearch-filter-filenames): Remove unnecessary check for
5440 `dired-isearch-filenames'.
5442 * comint.el (comint-history-isearch-backward):
5443 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5444 (comint-history-isearch-backward-regexp):
5445 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5447 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5449 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5450 unmsys--file-name. (Bug#16099)
5452 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5454 * emacs-lisp/package.el (package-keyword-button-action):
5455 Remove finder.el require dependency.
5457 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5459 * emacs-lisp/package.el: Require finder.el.
5460 (describe-package-1): Add keyword buttons.
5461 (package-make-button): New convenience function.
5462 (package-keyword-button-action): Keyword button action using
5463 `finder-list-matches'.
5465 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5467 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5470 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5472 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5475 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5477 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5478 after the end of a percent literal.
5480 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5482 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5483 Handle caret-delimited strings (Bug#16079).
5485 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5487 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5488 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5489 `ruby-parse-partial' (Bug#16078).
5491 2013-12-09 Leo Liu <sdl.web@gmail.com>
5493 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5495 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5497 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5498 (js-switch-indent-offset): New option.
5499 (js--proper-indentation): Use it. And handle the case when
5500 "default" is actually a key in an object literal.
5501 (js--same-line): New function.
5502 (js--multi-line-declaration-indentation): Use it.
5503 (js--indent-in-array-comp, js--array-comp-indentation):
5505 (js--proper-indentation): Use them, to handle array comprehension
5508 2013-12-08 Leo Liu <sdl.web@gmail.com>
5510 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5511 (flymake-make-overlay): Remove arg MOUSE-FACE.
5512 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5514 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5516 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5518 (redisplay-highlight-region-function): Use it.
5520 * emulation/cua-base.el (cua--explicit-region-start)
5521 (cua--last-region-shifted): Remove.
5522 (cua--deactivate): Use deactivate-mark.
5523 (cua--pre-command-handler-1): Don't handle shift-selection.
5524 (cua--post-command-handler-1): Don't change transient-mark-mode.
5525 (cua--select-keymaps): Use region-active-p rather than
5526 cua--explicit-region-start or cua--last-region-shifted.
5527 (cua-mode): Enable shift-select-mode.
5529 2013-12-08 Leo Liu <sdl.web@gmail.com>
5531 * progmodes/flymake.el (flymake-popup-current-error-menu):
5532 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5533 (flymake-posn-at-point-as-event, flymake-popup-menu)
5534 (flymake-make-emacs-menu): Remove. (Bug#16077)
5536 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5538 * rect.el (rectangle-mark-mode): Activate mark even if
5539 transient-mark-mode is off (bug#16066).
5540 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5541 is > mark and at bolp.
5543 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5544 (region-extract-function): Use it.
5545 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5546 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5548 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5549 kill-ring-save, kill-region, delete-char, delete-forward-char.
5550 Ignore self-insert-iso.
5552 * emulation/cua-gmrk.el (cua--init-global-mark):
5553 Ignore `self-insert-iso'.
5555 * emulation/cua-base.el (cua--prefix-copy-handler)
5556 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5557 checking cua--rectangle.
5558 (cua-delete-region): Use region-extract-function.
5559 (cua-replace-region): Delete function.
5560 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5561 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5562 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5563 (cua--init-keymaps): Don't remap delete-selection commands.
5564 (cua-mode): Use delete-selection-mode instead of rolling our own
5567 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5568 Obey region-extract-function.
5570 Make registers and delete-selection-mode work on rectangles.
5571 * register.el (describe-register-1): Don't modify the register's value.
5572 (copy-to-register): Obey region-extract-function.
5573 * delsel.el (delete-active-region): Obey region-extract-function.
5575 2013-12-08 Leo Liu <sdl.web@gmail.com>
5577 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5578 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5579 (flymake-compilation-prevents-syntax-check)
5580 (flymake-start-syntax-check-on-newline)
5581 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5582 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5583 (flymake-xml-program, flymake-master-file-dirs)
5584 (flymake-master-file-count-limit)
5585 (flymake-allowed-file-name-masks): Relocate.
5586 (flymake-makehash, flymake-float-time)
5587 (flymake-replace-regexp-in-string, flymake-split-string)
5588 (flymake-get-temp-dir): Remove.
5589 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5590 (flymake-current-row, flymake-selected-frame)
5591 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5592 related functions. (Bug#16077)
5594 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5596 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5598 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5600 * help-fns.el (describe-function-1): Use new advice-* functions
5601 rather than old ad-* functions. Fix function type description and
5602 source links for advised functions and subrs.
5604 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5606 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5608 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5610 * progmodes/compile.el (compilation-start):
5611 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5613 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5614 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5616 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5618 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5619 Touch up the last change.
5621 2013-12-06 Leo Liu <sdl.web@gmail.com>
5623 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5624 (inferior-octave-startup): Always use "octave> " for prompt.
5625 (octave-goto-function-definition)
5626 (octave-sync-function-file-names)
5627 (octave-find-definition-default-filename): Remove redundant backquotes.
5629 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5631 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5633 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5634 where appropriate already.
5635 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5636 end of method names (Bug#15874).
5638 2013-12-06 Juri Linkov <juri@jurta.org>
5640 * isearch.el (isearch--saved-overriding-local-map):
5641 New internal variable.
5642 (isearch-mode): Set it to the initial value of
5643 `overriding-terminal-local-map'.
5644 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5645 with `isearch--saved-overriding-local-map'. (Bug#16035)
5647 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5649 * progmodes/octave.el (inferior-octave-completion-table):
5650 Turn back into function, use `completion-table-with-cache'
5651 (Bug#11906). Update all references.
5653 * minibuffer.el (completion-table-with-cache): New function.
5655 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5657 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5659 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5661 * net/eww.el (eww-current-source): New variable to store page
5663 (eww-display-html, eww-mode, eww-save-history)
5664 (eww-restore-history): Use it.
5665 (eww-view-source): New command to view page source.
5666 Opportunistically uses `html-mode' to highlight the buffer.
5667 (eww-mode-map): Install it.
5669 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5671 * net/dbus.el (dbus-unregister-service)
5672 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5674 (dbus-unregister-service): Skip :serial entries in
5675 `dbus-registered-objects-table'.
5676 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5678 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5680 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5681 around keywords with extra `split-string' argument.
5683 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5685 * windmove.el (windmove-other-window-loc): Handle navigation
5686 between windows (excluding the minibuffer window - Bug#16017).
5688 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5690 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5691 in D-Bus type syntax.
5692 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5693 preserve unibyte strings. (Bug#16048)
5695 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5697 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5698 Call force-mode-line-update is the proper buffer (bug#16042).
5700 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5702 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5703 `log-edit-remember-comment', make argument optional. Adjust all
5705 (log-edit-mode): Add `log-edit-remember-comment' to
5706 `kill-buffer-hook' locally.
5707 (log-edit-kill-buffer): Don't remember comment explicitly since
5708 the buffer is killed anyway.
5710 2013-12-04 Juri Linkov <juri@jurta.org>
5712 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5713 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5715 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5717 * notifications.el (notifications-close-notification): Call the
5718 D-Bus method with ID being a `:uint32'. (Bug#16030)
5720 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5722 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5724 2013-12-03 Juri Linkov <juri@jurta.org>
5726 * progmodes/compile.el (compilation-start): Rename window alist
5727 entry `no-display-ok' to `allow-no-window'.
5729 * simple.el (shell-command): Add window alist entry
5730 `allow-no-window' to `display-buffer'.
5731 (async-shell-command): Doc fix.
5733 * window.el (display-buffer-no-window): New action function.
5734 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5736 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5738 * vc/log-edit.el (log-edit-set-header): Extract from
5739 `log-edit-toggle-header'.
5740 (log-edit-extract-headers): Separate the summary, when extracted
5741 from header, from the rest of the message with an empty line.
5743 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5744 line, if present, to the Summary header.
5746 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5748 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5749 in current-buffer (bug#16029).
5751 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5753 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5754 (debugger-mode-map): Bind it.
5755 (debugger--backtrace-base): New function.
5756 (debugger-eval-expression): Use it.
5757 (debugger-frame-number): Skip local vars when present.
5758 (debugger--locals-visible-p, debugger--insert-locals)
5759 (debugger--show-locals, debugger--hide-locals): New functions.
5761 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5763 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5765 (tramp-get-remote-locale): New defun.
5766 (tramp-open-connection-setup-interactive-shell): Use it.
5768 2013-12-02 Leo Liu <sdl.web@gmail.com>
5770 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5772 * progmodes/sh-script.el (sh-shell-process):
5773 * progmodes/octave.el (inferior-octave-process-live-p):
5774 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5775 (gdb-inferior-io-sentinel):
5776 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5778 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5780 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5781 `save-selected-window' to `log-edit-hide-buf'. This makes
5782 `log-edit-show-files' idempotent.
5783 (log-edit-show-files): Mark the new window as dedicated.
5785 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5787 * vc/log-edit.el (log-edit-mode-map): Add binding for
5788 `log-edit-kill-biffer'.
5789 (log-edit-hide-buf): Add a FIXME comment.
5790 (log-edit-add-new-comment): New function, extracted from
5792 (log-edit-done, log-edit-add-to-changelog): Use it.
5793 (log-edit-kill-buffer): New command.
5795 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5797 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5798 instead of killing the buffer.
5800 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5804 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5806 * net/eww.el (eww-form-checkbox-selected-symbol)
5807 (eww-form-checkbox-symbol): New customizable variable.
5808 (eww-form-checkbox, eww-toggle-checkbox):
5809 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5811 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5812 (shr--get-media-pref, shr--extract-best-source): New function.
5813 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5814 no :src tag was specified.
5816 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5817 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5818 Use \\` to match beginning of string instead of ^.
5819 (eww-browse-with-external-browser): Provide optional URL parameter.
5820 (eww-render): Set `eww-current-title' back to "".
5822 * net/shr.el (shr-tag-video): Display content for video if no
5823 poster is available.
5824 (shr-tag-audio): Add support for <audio> tag.
5826 * net/eww.el (eww-text-input-types): New const.
5827 (eww-process-text-input): Treat input types in
5828 `eww-text-input-types' as text.
5830 * net/shr.el (shr-tag-table): Fix comment typo.
5832 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5834 * net/eww.el (eww-follow-link): New command to avoid reloading
5835 pages when we follow #target links (bug#15243).
5836 (eww-quit): Special mode buffers shouldn't query before exiting.
5838 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5840 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5843 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5845 * net/eww.el (eww-restore-history): Update the window title after
5846 moving in the history.
5847 (eww-current-dom): New variable used to save the current DOM.
5849 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5851 * vc/log-edit.el (log-edit-mode-map): Add binding for
5852 `log-edit-beginning-of-line'.
5853 (log-edit-setup-add-author): New user option.
5854 (log-edit-beginning-of-line): New command.
5855 (log-edit): Move major mode call above the contents setup so that
5856 the local variable values are already applied.
5857 (log-edit): Only insert "Author: " when
5858 `log-edit-setup-add-author' is non-nil.
5859 (log-edit): When SETUP is non-nil, position point after ": "
5860 instead of point-min.
5862 2013-12-01 Glenn Morris <rgm@gnu.org>
5864 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5866 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5868 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5869 redisplay to make sure the initial frame gets a chance to become
5870 visible. (Bug#16014)
5872 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5874 Support resizing frames and windows pixelwise.
5875 * cus-start.el (frame-resize-pixelwise)
5876 (window-resize-pixelwise): New entries.
5877 * emacs-lisp/debug.el (debug): Use window-total-height instead
5878 of window-total-size.
5879 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5880 * help.el (describe-bindings-internal): Use help-buffer as
5881 argument for with-help-window.
5882 (temp-buffer-max-width): New option.
5883 (resize-temp-buffer-window, help-window-setup)
5884 (with-help-window): Rewrite.
5885 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5887 * window.el (frame-char-size, window-min-pixel-height)
5888 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5889 (window-min-pixel-width, window-safe-min-pixel-size)
5890 (window-combination-p, window-safe-min-size)
5891 (window-resizable-p, window--size-to-pixel)
5892 (window--pixel-to-size, window--resize-apply-p): New functions.
5893 (window-safe-min-height): Fix doc-string.
5894 (window-size, window-min-size, window--min-size-1)
5895 (window-sizable, window-sizable-p, window--min-delta-1)
5896 (window-min-delta, window--max-delta-1, window-max-delta)
5897 (window--resizable, window--resizable-p, window-resizable)
5898 (window-full-height-p, window-full-width-p, window-at-side-p)
5899 (window--in-direction-2, window-in-direction)
5900 (window--resize-reset-1, window--resize-mini-window)
5901 (window-resize, window-resize-no-error)
5902 (window--resize-child-windows-normal)
5903 (window--resize-child-windows, window--resize-siblings)
5904 (window--resize-this-window, window--resize-root-window)
5905 (window--resize-root-window-vertically)
5906 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5907 (maximize-window, minimize-window, delete-window)
5908 (quit-restore-window, window-split-min-size, split-window)
5909 (balance-windows-2, balance-windows)
5910 (balance-windows-area-adjust, balance-windows-area)
5911 (window--state-get-1, window-state-get, window--state-put-1)
5912 (window--state-put-2, window-state-put)
5913 (display-buffer-record-window, window--display-buffer):
5914 Make functions handle pixelwise sizing of windows.
5915 (display-buffer--action-function-custom-type)
5916 (display-buffer-fallback-action):
5917 Add display-buffer-in-previous-window.
5918 (display-buffer-use-some-window): Resize window to height it had
5920 (fit-window-to-buffer-horizontally): New option.
5921 (fit-frame-to-buffer): Describe new values.
5922 (fit-frame-to-buffer-bottom-margin): Replace with
5923 fit-frame-to-buffer-margins.
5924 (window--sanitize-margin): New function.
5925 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5926 using window-text-pixel-size.
5928 2013-11-30 Glenn Morris <rgm@gnu.org>
5930 * emacs-lisp/bytecomp.el (byte-compile-form):
5931 Make the `interactive-only' warning like the `obsolete' one.
5932 * comint.el (comint-run):
5933 * files.el (insert-file-literally, insert-file):
5934 * replace.el (replace-string, replace-regexp):
5935 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5936 (goto-line, insert-buffer, next-line, previous-line):
5937 Tweak `interactive-only' spec.
5939 Stop keeping (most) generated cedet grammar files in the repository.
5940 * Makefile.in (semantic): New.
5941 (compile-main): Depend on semantic.
5943 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5946 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5948 * uniquify.el (uniquify-buffer-name-style): Change default.
5950 * loadup.el: Preload "uniquify".
5952 * time.el (display-time-update): Update all mode lines (bug#15999).
5954 * electric.el (electric-indent-mode): Enable by default.
5955 * loadup.el: Preload "electric".
5957 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5959 * emacs-lisp/helpers.el (string-empty-p): New function.
5960 (string-blank-p): New function.
5962 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5964 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5967 2013-11-29 Andreas Politz <politza@fh-trier.de>
5968 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5969 allow non-lambda lists as functions.
5970 (imenu--in-alist): Don't recurse into non-subalists.
5971 (imenu): Don't pass function itself as an argument (Bug#14029).
5973 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5975 * progmodes/python.el (python-mode-map): Remove binding for ":".
5976 (python-indent-electric-colon): Remove command.
5977 (python-indent-post-self-insert-function): Integrate the previous code
5978 of python-indent-electric-colon. Make it conditional on
5979 electric-indent-mode.
5980 (python-mode): Add ?: to electric-indent-chars.
5981 Move python-indent-post-self-insert-function to the end of
5982 post-self-insert-hook.
5984 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * doc-view.el (doc-view-goto-page): Update mode-line.
5988 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5990 2013-11-27 Glenn Morris <rgm@gnu.org>
5992 * international/charprop.el, international/uni-bidi.el:
5993 * international/uni-category.el, international/uni-combining.el:
5994 * international/uni-comment.el, international/uni-decimal.el:
5995 * international/uni-decomposition.el, international/uni-digit.el:
5996 * international/uni-lowercase.el, international/uni-mirrored.el:
5997 * international/uni-name.el, international/uni-numeric.el:
5998 * international/uni-old-name.el, international/uni-titlecase.el:
5999 * international/uni-uppercase.el:
6000 Remove generated files from VCS repository.
6002 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6004 * filenotify.el (file-notify-add-watch): Don't special-case
6005 w32notify when computing the directory to watch.
6007 2013-11-27 Glenn Morris <rgm@gnu.org>
6009 Make bootstrap without generated uni-*.el files possible again.
6010 * loadup.el: Update command-line-args checking for unidata-gen.
6011 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6012 * composite.el, international/characters.el:
6013 Handle unicode tables being undefined.
6015 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6016 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6017 (compile-main): Depend on leim rule.
6019 * loadup.el: Move leim-list.el to leim/ subdirectory.
6020 * startup.el (normal-top-level): No more leim directory.
6021 * international/ja-dic-cnv.el (skkdic-convert):
6022 Disable version-control and autoloads in output files.
6023 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6024 Disable version-control and autoloads in output files.
6025 * leim/quail: Move here from ../leim.
6026 * leim/quail/hangul.el (hangul-input-method-activate):
6027 Add autoload cookie.
6028 (generated-autoload-load-name): Set file-local value.
6029 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6030 (generated-autoload-load-name): Set file-local value.
6032 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6034 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6035 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6036 (eww-quit): Ask confirmation before quitting eww.
6038 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6040 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6041 reading output from Diff on MS-Windows and MS-DOS.
6043 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6045 * emacs-lisp/helpers.el (string-reverse): New function.
6047 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6049 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6050 names on MS Windows, like "/[::1]:".
6052 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6055 2013-11-26 Glenn Morris <rgm@gnu.org>
6057 * progmodes/python.el (python-indent-guess-indent-offset):
6058 Avoid corner-case error. (Bug#15975)
6060 Preload leim-list.el. (Bug#4789)
6061 * loadup.el: Load leim-list.el when found.
6062 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6064 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6066 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6068 * emacs-lisp/helpers.el (string-join): New function.
6070 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6072 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6073 Mark as obsolete and replace it with a symbol property.
6074 (byte-compile-form): Use new 'interactive-only property.
6075 * comint.el, files.el, replace.el, simple.el:
6076 Apply new 'interactive-only properly.
6078 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6080 * window.el (display-buffer-at-bottom): Make sure that
6081 split-window-sensibly creates the new window on bottom
6084 2013-11-23 David Kastrup <dak@gnu.org>
6086 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6087 on the conflict markers when available.
6088 (smerge--get-marker): New function.
6089 (smerge-end-re, smerge-base-re): Add subgroup.
6091 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6093 * frame.el (handle-focus-in, handle-focus-out): Add missing
6096 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6098 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6099 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6101 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6104 (gomoku--last-pos): New var.
6105 (gomoku--intangible-chars): New const.
6106 (gomoku--intangible): New function.
6107 (gomoku-mode): Use it. Derive from special-mode.
6108 (gomoku-move-up): Adjust line count.
6109 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6110 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6111 Simplify accordingly.
6113 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6114 Remove blink-cursor code.
6115 (blink-cursor-timer-function, blink-cursor-suspend):
6116 Don't special-case GUIs.
6117 (blink-cursor-mode): Use focus-in/out-hook.
6119 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6121 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6122 work when annotation is invisible (Bug#13886).
6124 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6126 * json.el (json-alist-p): Only return non-nil if the alist has
6127 simple keys (Bug#13518).
6129 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6131 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6132 when control-statement is the first statement in a buffer (Bug#15956).
6134 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6136 * imenu.el (imenu-generic-skip-comments-and-strings):
6137 New option (Bug#15560).
6138 (imenu--generic-function): Use it.
6140 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6142 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6145 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6147 * emacs-lisp/helpers.el: Add some string helpers.
6148 (string-trim-left): Removes leading whitespace.
6149 (string-trim-right): Removes trailing whitespace.
6150 (string-trim): Removes leading and trailing whitespace.
6152 * subr.el (string-suffix-p): New function.
6154 2013-11-23 Glenn Morris <rgm@gnu.org>
6156 * progmodes/python.el (python-shell-send-file):
6157 Add option to delete file when done. (Bug#15647)
6158 (python-shell-send-string, python-shell-send-region): Use it.
6160 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6162 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6163 to set buffer-read-only to t, never to nil. (Bug#15938)
6165 * textmodes/tex-mode.el (latex-noindent-environments):
6166 Add safe-local-variable property. (Bug#15936)
6168 2013-11-23 Glenn Morris <rgm@gnu.org>
6170 * textmodes/enriched.el (enriched-mode): Doc fix.
6171 * emacs-lisp/authors.el (authors-renamed-files-alist):
6172 Add enriched.doc -> enriched.txt.
6174 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6176 2013-11-22 Leo Liu <sdl.web@gmail.com>
6178 * progmodes/octave.el (inferior-octave-startup): Spit out error
6181 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6183 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6186 (ruby-encoding-magic-comment-style): Add :version.
6188 2013-11-22 Leo Liu <sdl.web@gmail.com>
6190 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6192 (octave-help-mode): Adapt to change to help-mode-finish to use
6193 derived-mode-p on 2013-09-17.
6194 (inferior-octave-prompt): Also match octave-gui.
6195 (octave-kill-process): Don't ask twice. (Bug#10564)
6197 2013-11-22 Leo Liu <sdl.web@gmail.com>
6199 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6200 (inferior-octave-startup, inferior-octave-check-process)
6201 (inferior-octave-track-window-width-change)
6202 (octave-completion-at-point, octave-eldoc-function): Use it.
6203 (octave-kill-process): Provide confirmation. (Bug#10564)
6205 2013-11-21 Leo Liu <sdl.web@gmail.com>
6207 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6208 Fix obsolete variable comment-use-global-state.
6210 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6212 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6213 Add `octave-source-file'.
6214 (octave-source-file): New function. (Bug#15935)
6216 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6218 * net/eww.el (eww-local-regex): New variable.
6219 (eww): Use it to detect localhost and similar.
6221 2013-11-21 Leo Liu <sdl.web@gmail.com>
6223 Add completion for command `ag'.
6224 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6225 (pcomplete/ag): New function.
6226 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6228 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6232 (make-obsolete): Remove interactive spec.
6234 2013-11-21 Glenn Morris <rgm@gnu.org>
6236 * startup.el (command-line-1): Use path-separator with -L.
6238 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6240 * emacs-lisp/package.el (describe-package-1): Add package archive
6243 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6245 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6246 Change default to "# encoding: %s" to differentiate it from the
6247 default Ruby encoding comment template.
6249 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6251 * ses.el (ses-mode): Doc fix. (Bug#14748)
6253 2013-11-20 Leo Liu <sdl.web@gmail.com>
6255 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6257 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6259 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6260 when rebase or bisect are in progress.
6262 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6264 * filenotify.el (file-notify-add-watch): Doc fix.
6266 2013-11-19 Leo Liu <sdl.web@gmail.com>
6268 * obsolete/rcompile.el: Mark obsolete.
6270 * progmodes/compile.el (compilation-start)
6271 (compilation-goto-locus, compilation-find-file):
6272 Pass no-display-ok and handle nil value from display-buffer.
6275 * window.el (display-buffer-alist, display-buffer): Document the
6276 new parameter no-display-ok. Return either a window or nil
6277 but never a non-window value.
6279 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * electric.el (electric-indent-mode-map): Remove.
6282 (electric-indent-mode): Change the global-map instead (bug#15915).
6284 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6287 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6289 * emacs-lisp/nadvice.el (remove-function): Align with
6290 add-function's behavior.
6292 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6293 (gdb--string-regexp): New constant.
6294 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6295 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6296 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6298 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6299 Adjust use accordingly.
6300 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6302 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6304 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6305 interpolation curlies (Bug#15914).
6307 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6309 * calc/calc.el (calc-context-sensitive-enter): New variable.
6310 (calc-enter): Use `calc-context-sensitive-enter'.
6312 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6314 * progmodes/cfengine.el: Version bump.
6315 (cfengine-cf-promises): New defcustom to locate cf-promises.
6316 (cfengine3-vartypes): Add new "data" type.
6317 (cfengine3--current-word): New function to get current name-like
6319 (cfengine3--current-function): New function to look up a CFEngine
6320 function's definition.
6321 (cfengine3-format-function-docstring): New function.
6322 (cfengine3-make-syntax-cache): New function.
6323 (cfengine3-documentation-function): New function: ElDoc glue.
6324 (cfengine3-completion-function): New function: completion glue.
6325 (cfengine3-mode): Set `compile-command',
6326 `eldoc-documentation-function', and add to
6327 `completion-at-point-functions'.
6329 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6331 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6332 `tramp-current-connection'.
6334 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6336 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6337 nil/self/true/false with "end of symbol".
6339 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6341 * subr.el (version-regexp-alist): Fix a typo.
6343 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6345 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6346 "en_US.utf8" and "LC_CTYPE" to "".
6347 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6348 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6350 2013-11-15 Leo Liu <sdl.web@gmail.com>
6352 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6354 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6356 * progmodes/gud.el (ctl-x-map):
6357 Remove C-x SPC binding. (Bug#12342)
6358 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6360 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6362 * subr.el (version-regexp-alist):
6363 Recognize hg, svn and darcs versions as snapshot versions.
6365 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6366 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6367 (ruby--encoding-comment-required-p): Extract from
6368 `ruby-mode-set-encoding'.
6369 (ruby-mode-set-encoding): Add the ability to always insert an
6370 utf-8 encoding comment. Fix and simplify coding comment update
6373 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6375 * net/tramp-gvfs.el (top): Run init code only when
6376 `tramp-gvfs-enabled' is not nil.
6377 (tramp-gvfs-enabled): Check also :system bus.
6379 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6381 Sync with upstream verilog-mode revision 78e66ba.
6382 * progmodes/verilog-mode.el (verilog-end-of-defun)
6383 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6384 (verilog-get-end-of-defun): Remove unused argument.
6385 (verilog-comment-depth): Remove unused local `e'.
6386 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6387 Don't pass arg to verilog-get-end-of-defun.
6389 2013-11-14 Glenn Morris <rgm@gnu.org>
6391 * obsolete/assoc.el (aget): Prefix dynamic variable.
6393 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6395 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6397 * widget.el, hfy-cmap.el: Remove bogus package version number.
6399 2013-11-13 Glenn Morris <rgm@gnu.org>
6401 * replace.el (replace-eval-replacement):
6402 Try to give more helpful error message. (Bug#15836)
6404 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6405 (archive-7z-update): Avoid custom type mismatches.
6407 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6409 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6411 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6412 address can be empty.
6414 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6415 Accept nil SWITCHES.
6416 (tramp-gvfs-handle-write-region): Implement APPEND.
6418 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6420 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6421 binary "|" operator and closing block args delimiter.
6422 Remove FIXME comment referring to Ruby 1.8-only syntax.
6423 (ruby-smie--implicit-semi-p): Not after "|" operator.
6424 (ruby-smie--closing-pipe-p): New function.
6425 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6426 (ruby-smie-rules): Indent after "|".
6428 2013-11-12 Glenn Morris <rgm@gnu.org>
6430 * ps-print.el (ps-face-attribute-list):
6431 Handle anonymous faces. (Bug#15827)
6433 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6435 * window.el (display-buffer-other-frame): Fix doc-string.
6438 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6442 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6445 (tramp-sh-handle-file-local-copy): Don't write a message when
6446 saving temporary files.
6448 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6449 both directories are remote.
6450 (tramp-smb-handle-directory-files): Do not return double entries.
6451 Do not expand full file names.
6452 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6453 (tramp-smb-handle-write-region): Implement APPEND.
6454 (tramp-smb-get-stat-capability): Fix a stupid bug.
6456 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6460 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6462 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6463 throwing error over malformed let/let* (bug#15814).
6465 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * iswitchb.el (iswitchb-mode): Mark obsolete.
6469 2013-11-11 Glenn Morris <rgm@gnu.org>
6471 * international/uni-bidi.el, international/uni-category.el:
6472 * international/uni-name.el, international/uni-numeric.el:
6473 Regenerate for Unicode 6.3.0.
6475 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6477 * net/tramp.el (tramp-methods):
6478 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6479 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6481 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6483 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6484 Force highlighting text after Summary keyword in doc face for rpm.
6486 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6488 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6489 available and the word has no wildcards, append one to the grep pattern.
6490 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6491 (ispell-complete-word): Call `ispell-lookup-words' with the value
6492 independent of `ispell-look-p'.
6494 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6496 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6498 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6501 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6503 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6504 (ruby-font-lock-keywords): Use backquote.
6506 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6508 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6509 (ruby-smie--backward-token): Only consider full-string matches.
6511 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6513 * faces.el (describe-face): Add distant-foreground.
6515 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6517 * progmodes/ruby-mode.el: Improve encoding comment handling.
6518 (ruby-encoding-magic-comment-style): New option.
6519 (ruby-custom-encoding-magic-comment-template): New option.
6520 (ruby--insert-coding-comment, ruby--detect-encoding):
6521 New functions extracted from `ruby-mode-set-encoding'.
6522 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6523 to control the style of the auto-inserted encoding comment.
6525 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6527 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6528 Use `smie-backward-sexp' with token argument.
6530 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6532 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6533 Remove instrumentation code.
6535 2013-11-08 Glenn Morris <rgm@gnu.org>
6537 * progmodes/autoconf.el (autoconf-mode):
6538 Tweak comment-start-skip. (Bug#15822)
6540 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6543 at bobp (bug#15826).
6544 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6546 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6548 * man.el (Man-start-calling): New macro, extracted from
6549 Man-getpage-in-background.
6550 (Man-getpage-in-background): Use it.
6551 (Man-update-manpage): New command.
6552 (Man-mode-map): Bind it.
6554 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6556 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6557 of "and", "or", "&&" and "||".
6558 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6559 argument. Prohibit opening curly brace because it could only be a
6560 block opener in that position.
6561 (ruby-smie--forward-token, ruby-smie--backward-token):
6562 Separate "|" from "&" or "*" going after it. That can happen in block
6564 (ruby-smie--indent-to-stmt): New function, seeks the end of
6565 previous statement or beginning of buffer.
6566 (ruby-smie-rules): Use it.
6567 (ruby-smie-rules): Check if there's a ":" before a curly block
6568 opener candidate; if there is, it's a hash.
6570 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6573 (cl--block-wrapper): Fix last accidental change.
6575 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6577 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6578 Instrument, in order to hunt failure on hydra.
6580 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6582 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6583 malformed bindings form (bug#15814).
6585 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6587 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6588 "." compared to " @ ". This incidentally fixes some indentation
6590 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6591 (ruby-smie-grammar): New tokens: "and" and "or".
6592 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6593 Exclude "and" and "or". Remove "do" in order to work around token
6595 (ruby-smie-rules): Add all infix tokens. Handle the case of
6596 beginning-of-buffer.
6598 2013-11-06 Glenn Morris <rgm@gnu.org>
6600 * Makefile.in (setwins_almost, setwins_for_subdirs):
6601 Avoid accidental matches.
6603 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * menu-bar.el (popup-menu): Use key-binding.
6607 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6609 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6610 menus, support also the menus produced by minor modes.
6613 2013-11-06 Leo Liu <sdl.web@gmail.com>
6615 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6616 DISTANCE to bound the search. All uses changed. (Bug#15808)
6618 2013-11-06 Glenn Morris <rgm@gnu.org>
6620 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6621 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6622 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6624 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6626 * electric.el (electric-indent-just-newline): New command.
6627 (electric-indent-mode-map): New keymap.
6628 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6629 Re-add :group which weren't redundant.
6631 * electric.el (electric-indent-local-mode): New minor mode.
6632 (electric-indent-functions-without-reindent): New var.
6633 (electric-indent-post-self-insert-function): Use it.
6634 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6636 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6638 * international/quail.el (quail-help): Be more explicit about the
6639 meaning of the labels shown on the keys. (Bug#15800)
6641 * startup.el (normal-top-level): Load the subdirs.el files before
6642 setting the locale environment. (Bug#15805)
6644 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6646 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6647 via arguments so as to get the right ones (bug#15418).
6649 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6651 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6653 Fix problems found while writing a test suite.
6655 * net/tramp-compat.el (tramp-compat-load): New defun.
6656 * net/tramp.el (tramp-handle-load): Use it.
6658 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6659 "(numberp ok-if-already-exists)" correctly.
6661 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6663 * international/characters.el (glyphless-char-display-control):
6666 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6668 * progmodes/python.el (python-mode):
6669 * progmodes/scheme.el (scheme-mode):
6670 * progmodes/prolog.el (prolog-mode):
6671 * progmodes/ruby-mode.el (ruby-mode):
6672 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6673 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6675 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6677 * rect.el (rectangle--highlight-for-redisplay):
6678 * emacs-lisp/smie.el (smie--next-indent-change):
6679 Use buffer-chars-modified-tick.
6681 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6683 * electric.el (electric-indent-post-self-insert-function):
6684 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6686 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6688 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6690 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6692 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6695 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6697 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6699 * progmodes/python.el: Fix up last change.
6700 (python-shell--save-temp-file): New function.
6701 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6702 `string' comes from the current buffer.
6703 (python-shell-send-string-no-output): Remove `msg' arg.
6704 (python--use-fake-loc): New var.
6705 (python-shell-buffer-substring): Obey it. Try to compensate for the
6706 extra coding line added by python-shell--save-temp-file.
6707 (python-shell-send-region): Use python-shell--save-temp-file and
6708 python-shell-send-file directly. Add `nomain' argument.
6709 (python-shell-send-buffer): Use python-shell-send-region.
6710 (python-electric-pair-string-delimiter): New function.
6711 (python-mode): Use it.
6713 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6715 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6716 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6717 environment and decoding all of the default-directory's to here
6719 (command-line): Decode also argv[0].
6721 * loadup.el: Error out if default-directory is a multibyte string
6722 when we are dumping.
6724 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6726 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6728 * emacs-lisp/package.el (package-menu-mode)
6729 (package-menu--print-info, package-menu--archive-predicate):
6730 Add Archive column to package list.
6732 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6734 Fix problems found while writing a test suite.
6736 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6737 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6738 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6739 to nil when running original file name handler. Otherwise,
6740 there are problems with constructs like "$$FOO".
6742 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6745 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6747 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6749 * subr.el (version<, version<=, version=):
6750 Update docstrings with information for snapshot versions.
6752 * helpers.el: New library for misc helper functions.
6753 (hash-table-keys): New function returning a list of hash keys.
6754 (hash-table-values): New function returning a list of hash values.
6756 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6758 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6759 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6761 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6763 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6764 checking whether point is after a 1-letter word.
6766 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6768 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6769 Don't infloop when expanding region over `multiline' syntax-type that
6770 begins a line (bug#15778).
6772 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6775 Make it into a proper minor mode.
6776 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6777 (rectangle-mark-mode-map): New keymap.
6778 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6780 2013-11-04 Glenn Morris <rgm@gnu.org>
6782 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6784 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6786 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6787 (ruby-smie-rules): Use smie-rule-parent instead.
6789 * emacs-lisp/smie.el (smie-rule-parent): Always call
6790 smie-indent-virtual rather than only for hanging tokens.
6791 (smie--next-indent-change): New helper command.
6793 2013-11-03 Glenn Morris <rgm@gnu.org>
6795 * Makefile.in (abs_srcdir): Remove.
6796 (emacs): Unset EMACSLOADPATH.
6798 2013-11-02 Glenn Morris <rgm@gnu.org>
6800 * Makefile.in (EMACS): Use a relative filename.
6801 (abs_top_builddir): Remove.
6802 (custom-deps, finder-data, autoloads): Use --chdir.
6804 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6806 Use relative filenames in TAGS files.
6807 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6808 (lisptagsfiles4, TAGS): Use relative file names.
6809 (TAGS-LISP): Remove.
6810 (maintainer-clean): No more TAGS-LISP file.
6812 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6813 (lisptagsfiles4): Use absolute filenames again.
6814 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6815 Remove all *loaddefs files, not just the first. Remove esh-groups.
6816 (maintainer-clean): Delete TAGS, TAGS-LISP.
6818 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6820 * emacs-lisp/package.el (package-version-join):
6821 Recognize snapshot versions.
6823 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6825 * subr.el (version-regexp-alist): Add support for snapshot versions.
6827 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6829 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6830 New function, replacement for `smie-rule-parent' for when we want to
6831 skip over our direct parent if it's an assignment token..
6832 (ruby-smie-rules): Use it.
6834 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6836 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6837 unconditionally. Remove now unnecessary forward declarations.
6838 Remove XEmacs-specific setup.
6839 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6840 (ruby-font-lock-syntactic-keywords)
6841 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6842 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6843 (ruby-here-doc-end-syntax): Remove.
6844 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6845 defined as function.
6847 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6849 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6851 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6853 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6854 table and abbrev table, `define-derived-mode' does that for us
6857 2013-11-01 Glenn Morris <rgm@gnu.org>
6859 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6860 files is atomic for some time, so no parallel compilation issues).
6862 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6864 * faces.el (face-x-resources): Add :distant-foreground.
6865 (region): Use :distant-foreground for gtk and ns.
6867 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6869 Allow multiple bibliographies when BibLaTeX is used rather than
6871 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6872 (reftex-locate-bibliography-files): Us it.
6874 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6876 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6877 allow comments in pbm files.
6879 * term/w32-win.el (dynamic-library-alist): Support newer versions
6880 of libjpeg starting with v7: look only for the DLL from the
6881 version against which Emacs was built.
6882 Support versions of libpng beyond 1.4.x.
6883 Support libtiff v4.x.
6885 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6887 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6888 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6890 (ruby-deep-arglist): Add property :type.
6892 2013-10-31 Glenn Morris <rgm@gnu.org>
6894 * Makefile.in (custom-deps, finder-data): No need to setq the target
6895 variables, we are in the right directory and the defaults work fine.
6897 2013-10-30 Glenn Morris <rgm@gnu.org>
6899 * Makefile.in (autoloads): Do not use abs_lisp.
6901 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6902 `newline' does not respect `standard-output', so use `princ'.
6904 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6906 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6907 * buff-menu.el (Buffer-menu--unmark): New function.
6908 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6910 2013-10-30 Glenn Morris <rgm@gnu.org>
6912 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6914 * emacs-lisp/package.el (lm-homepage): Declare.
6916 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6919 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6921 * Makefile.in (finder-data, autoloads, update-subdirs)
6922 (compile-main, compile-clean, compile-always, bootstrap-clean):
6923 Check return value of cd.
6924 (compile-calc): Remove.
6926 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6928 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6930 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6931 (byte-compile-and-folded): New function.
6932 (=, <, >, <=, >=): Use it.
6934 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6935 (path-separator, null-device, buffer-file-coding-system)
6936 (lpr-headers-switches): Check system-type before modifying them.
6937 (find-buffer-file-type-coding-system): Mark obsolete.
6938 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6939 find-file-not-found-set-buffer-file-coding-system.
6940 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6941 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6942 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6943 (w32-direct-print-region-helper, w32-direct-print-region-function)
6944 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6945 * startup.el (normal-top-level-add-subdirs-to-load-path):
6946 * ps-print.el (ps-print-region-function):
6947 * lpr.el (print-region-function): Use new name.
6949 * subr.el (custom-declare-variable-early): Remove function.
6950 (custom-declare-variable-list): Remove var.
6951 (error, user-error): Remove `while' loop.
6952 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6953 (user-emacs-directory-warning, locate-user-emacs-file):
6955 * simple.el (read-quoted-char-radix, read-quoted-char):
6956 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6958 * custom.el (custom-declare-variable-list): Don't process
6959 custom-declare-variable-list.
6961 * progmodes/python.el (python-shell-get-buffer): New function.
6962 (python-shell-get-process): Use it.
6963 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6964 Python which encoding was used. Don't split-string since we only care
6965 about the first line. Return the temp-file, if applicable.
6966 (python-shell-send-region): Tell compile.el how to turn locations in
6967 the temp-file into locations in the source buffer.
6969 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6971 * subr.el (undefined): Add missing behavior from the C code for
6974 * rect.el: Use lexical-binding. Add new rectangular region support.
6975 (rectangle-mark): New command.
6976 (rectangle--region): New var.
6977 (deactivate-mark-hook): Reset rectangle--region.
6978 (rectangle--extract-region, rectangle--insert-for-yank)
6979 (rectangle--highlight-for-redisplay)
6980 (rectangle--unhighlight-for-redisplay): New functions.
6981 (region-extract-function, redisplay-unhighlight-region-function)
6982 (redisplay-highlight-region-function): Use them to handle
6984 * simple.el (region-extract-function): New var.
6985 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6986 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6987 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6988 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6989 (redisplay-unhighlight-region-function)
6990 (redisplay-highlight-region-function): New vars.
6991 (redisplay--update-region-highlight): New function.
6992 (pre-redisplay-function): Use it.
6993 (exchange-point-and-mark): Don't deactivate the mark before
6994 reactivate-it anyway.
6995 * comint.el (comint-kill-region): Remove yank-handler argument.
6996 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6997 (delete-char): Remove property, since it's now part of their
6999 (self-insert-iso): Remove property since this command doesn't exist.
7001 * emacs-lisp/package.el (package--download-one-archive)
7002 (describe-package-1): Don't query the user about final newline.
7004 2013-10-29 Daniel Colascione <dancol@dancol.org>
7006 * net/tramp.el (tramp-methods): Document new functionality.
7007 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7008 tramp-hostname-checker if method provides one instead of scanning
7009 argument list for "%h" to decide hostname acceptability.
7011 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7013 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7014 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7015 Handle COPY-CONTENTS. (Bug#15737)
7017 2013-10-28 Daiki Ueno <ueno@gnu.org>
7019 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7020 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7022 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7024 * image.el (defimage, image-load-path): Doc fixes.
7026 2013-10-27 Alan Mackenzie <acm@muc.de>
7028 Indent statements in macros following "##" correctly.
7029 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7030 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7032 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7034 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7036 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7038 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7039 after `=' is probably a new expression.
7041 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7043 * man.el (man-imenu-title): New option.
7044 (Man-mode-map): Add menu. (Bug#15722)
7045 (Man-mode): Add imenu to menu.
7047 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7049 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7050 specific in what the first arg can be: a non-keyword word,
7051 string/regexp/percent literal opener, opening paren, or unary
7052 operator followed directly by word.
7054 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7056 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7057 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7058 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7059 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7060 Remove vars, they do not apply any more.
7061 (prolog-mode-abbrev-table): Remove redundant declaration.
7062 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7063 (prolog-use-smie): Remove.
7064 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7065 supported by prolog-electric-if-then-else-flag.
7066 (prolog-mode-variables, prolog-menu): Use setq-local.
7067 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7068 Remove binding to `Backspace' since this key doesn't exist anyway.
7069 Remove bindings for electric self-inserting keys.
7070 (prog-mode): Assume it's defined.
7071 (prolog-post-self-insert): New function.
7072 (prolog-mode): Use it.
7073 (prolog-indent-line, prolog-indent-level)
7074 (prolog-find-indent-of-matching-paren)
7075 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7076 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7077 (prolog-goto-next-paren, prolog-in-string-or-comment)
7078 (prolog-tokenize, prolog-inside-mline-comment)
7079 (prolog-find-start-of-mline-comment): Remove functions.
7080 (prolog-find-unmatched-paren, prolog-clause-end)
7081 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7082 (prolog-electric--if-then-else): Rename from
7083 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7084 (prolog-tokenize-searchkey): Remove const.
7085 (prolog-clause-info): Use forward-sexp.
7086 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7087 (prolog-electric-if-then-else): Remove commands.
7088 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7089 for use in post-self-insert-hook.
7090 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7091 for use in post-self-insert-hook.
7092 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7093 for use in post-self-insert-hook.
7094 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7095 adapt it for use in post-self-insert-hook.
7097 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7099 * emacs-lisp/ert.el (ert-run-tests-interactively):
7100 Use `completing-read'. (Bug#9756)
7102 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7104 * simple.el (line-move): Call line-move-1 instead of
7105 line-move-visual when the current window hscroll is zero, but
7106 temporary-goal-column indicates we will need to hscroll as result
7107 of the movement. (Bug#15712)
7109 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7111 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7112 capitalization. Use :visible instead of :active.
7113 Fix `ruby-indent-exp' reference. Add menu items for the generic
7114 commands that are used with SMIE.
7115 (ruby-do-end-to-brace): Insert space after `{'.
7117 2013-10-25 John Anthony <john@jo.hnanthony.com>
7119 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7121 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7123 2013-10-25 Glenn Morris <rgm@gnu.org>
7125 * vc/vc.el (vc-print-log): Don't use a working revision unless
7126 one was explicitly specified. (Bug#15322)
7128 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7130 * subr.el (add-to-list): Preserve return value in compiler-macro
7133 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7135 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7136 result. Ask user to retry using '-all' flag. (Bug#15701)
7138 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7140 * emacs-lisp/smie.el: New smie-config system.
7141 (smie-config): New defcustom.
7142 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7143 (smie-config-guess, smie-config-save): New commands.
7144 (smie-config--mode-local, smie-config--buffer-local)
7145 (smie-config--trace, smie-config--modefuns): New vars.
7146 (smie-config--advice, smie-config--mode-hook)
7147 (smie-config--setter, smie-config-local, smie-config--get-trace)
7148 (smie-config--guess-value, smie-config--guess): New functions.
7149 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7150 text properties. Treat "string fence" syntax like string syntax.
7152 * progmodes/sh-script.el (sh-use-smie): Change default.
7153 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7154 (sh-var-value): Simplify by CSE.
7155 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7156 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7158 (sh-guess-basic-offset): Use cl-incf.
7159 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7161 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7163 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7166 2013-10-24 Glenn Morris <rgm@gnu.org>
7168 * Makefile.in (abs_top_srcdir): Remove.
7169 (update-subdirs): Use relative path to update-subdirs.
7171 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7173 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7174 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7175 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7176 Call unmsys--file-name before expand-file-name, not after it.
7178 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7180 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7181 (ert-test-skipped): New error.
7182 (ert-skip, ert-stats-skipped): New defuns.
7183 (ert--skip-unless): New macro.
7184 (ert-test-skipped): New struct.
7185 (ert--run-test-debugger, ert-test-result-type-p)
7186 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7187 (ert--stats-set-test-and-result, ert-char-for-test-result)
7188 (ert-string-for-test-result, ert-run-tests-batch)
7189 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7190 Handle skipped tests. (Bug#9803)
7192 2013-10-24 Glenn Morris <rgm@gnu.org>
7194 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7196 * Makefile.in (abs_top_srcdir): New, set by configure.
7197 (update-subdirs): Correct build-aux location.
7199 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7201 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7202 value, whether we could auto-deduce `backend', or not.
7204 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7205 with parameters" example. Simplify the "is it block or is it
7206 hash" check, but also make it more thorough.
7208 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7210 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7212 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7217 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7220 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7222 * progmodes/compile.el (compilation-directory-matcher)
7223 (compilation-page-delimiter):
7224 Support GNU Make-4.0 directory quoting. (Bug#15678)
7226 2013-10-23 Leo Liu <sdl.web@gmail.com>
7228 * ido.el (ido-tidy): Handle read-only text.
7230 2013-10-23 Glenn Morris <rgm@gnu.org>
7232 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7233 (emacs, compile, compile-always):
7234 Quote entities that might contain whitespace.
7235 (custom-deps, finder-data, autoloads): Use abs_lisp.
7236 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7237 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7238 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7240 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7242 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7243 Use `following-char'.
7245 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7248 * progmodes/ruby-mode.el (ruby-smie-rules):
7249 Remove corresponding workaround. Fix indentation rule of ";" so it
7250 also applies when ";" is the parent.
7252 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7254 * frame.el (display-screens, display-pixel-height)
7255 (display-pixel-width, display-mm-width, display-backing-store)
7256 (display-save-under, display-planes, display-color-cells)
7257 (display-visual-class, display-monitor-attributes-list):
7258 Mention the optional ‘display’ argument in doc strings.
7260 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7262 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7263 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7265 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7267 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7268 TODO. Add "." after " @ ".
7269 (ruby-smie--at-dot-call): New function. Checks if point at method
7270 call with explicit target.
7271 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7272 to the method name tokens when it precedes them.
7273 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7274 (ruby-smie-rules): Add rule for indentation before and after "."
7277 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * textmodes/remember.el (remember-diary-extract-entries):
7282 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7285 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7287 * progmodes/ruby-mode.el (ruby-smie-grammar):
7288 Add (almost) all infix operators.
7289 (ruby-smie--implicit-semi-p): Add new operator chars.
7291 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7293 (ruby-smie--args-separator-p): Check that there's no newline
7294 between method call and its arguments.
7296 2013-10-20 Alan Mackenzie <acm@muc.de>
7298 Allow comma separated lists after Java "implements".
7300 * progmodes/cc-engine.el (c-backward-over-enum-header):
7302 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7303 from a "disallowed" list in enum fontification.
7305 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7307 * startup.el (default-frame-background-mode): Remove unused defvar.
7309 * progmodes/verilog-mode.el (verilog-mode): Don't set
7310 comment-indent-function globally.
7312 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7314 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7315 Move Info menu item creation to ns-win.el.
7317 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7320 * menu-bar.el: Move GNUstep specific menus...
7322 * term/ns-win.el (ns-initialize-window-system): ... to here.
7324 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7326 * simple.el (newline): Only run post-self-insert-hook when
7327 called interactively.
7329 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7331 * icomplete.el (icomplete-with-completion-tables): Add :version.
7333 2013-10-19 Alan Mackenzie <acm@muc.de>
7335 Fix fontification bugs with constructors and const.
7337 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7338 CASE 2) Remove the check for the absence of a suffix construct
7339 after a function declaration with only types (no identifiers) in
7340 the parentheses. Also, accept a function declaration with just a
7341 type inside the parentheses, if this type can be positively
7342 recognised as such, or if a prefix keyword like "explicit" nails
7343 down the construct as a declaration.
7345 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7347 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7348 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7349 the problem whereby selecting a menu item that leads to a
7350 minibuffer prompt moves the cursor out of the minibuffer window,
7351 making it hard to type at the prompt. Suggested by Stefan Monnier
7352 <monnier@iro.umontreal.ca>.
7354 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7356 * menu-bar.el: Don't make Services menu.
7358 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7360 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7361 (ffap-alist): Use ffap-c++-mode for c++-mode.
7362 (ffap-c++-path): New variable.
7363 (ffap-c++-mode): New function.
7365 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7367 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7369 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7371 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7372 introduced on 2013-09-08, which results in an infinite loop
7373 requesting a password.
7375 2013-10-18 Glenn Morris <rgm@gnu.org>
7377 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7379 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7381 Sync with upstream verilog-mode revision 1a6ecec7.
7382 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7383 (verilog-mode-release-date): Remove.
7384 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7385 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7386 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7387 (verilog-auto-tieoff-ignore-regexp)
7388 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7389 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7390 (verilog-signals-with, verilog-dir-cache-preserving)
7391 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7393 (verilog-case-fold): New option, to control case folding in
7394 regexp searches, bug597.
7395 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7396 (verilog-string-match-fold, verilog-in-paren-count)
7397 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7398 (verilog-at-close-struct-p): New functions.
7399 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7400 (verilog-forward-sexp, verilog-set-auto-endcomments)
7401 (verilog-leap-to-case-head): Handle "unique0" case.
7402 (verilog-in-constraint-re): New constant.
7403 (verilog-keywords, verilog-type-font-keywords):
7404 Add some SystemVerilog 1800-2012 keywords.
7405 (verilog-label-be): Remove unimplemented argument, bug669.
7406 (verilog-batch-execute-func): When batch expanding clear
7407 create-lockfiles to prevent spurious user locks when a file ends
7409 (verilog-calculate-indent, verilog-calc-1)
7410 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7411 (verilog-do-indent): Fix indentation of nested constraints
7413 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7414 (verilog-auto-inst-param): Use verilog-string-match-fold.
7415 (verilog-read-inst-module-matcher):
7416 Fix AUTOINST on gate primitives with #1.
7417 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7418 Reads all user-defined typed variables.
7419 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7420 (verilog-signals-matching-regexp)
7421 (verilog-signals-not-matching-regexp, verilog-auto):
7422 Respect verilog-case-fold.
7423 (verilog-diff-report): Fix line count.
7424 (verilog-auto-assign-modport): Remove unused local `modi'.
7425 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7426 better handle multidimensional arrays.
7427 Fix packed array ports misadding bit index in AUTOINST, bug637.
7428 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7429 to not double-declare existing outputs and inputs, respectively.
7430 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7431 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7432 (verilog-sk-uvm-component): New skeleton.
7433 (verilog-submit-bug-report): Add verilog-case-fold,
7434 remove verilog-mode-release-date.
7436 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7438 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7441 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7443 * textmodes/remember.el (remember): Set buffer-offer-save in
7444 remember buffers (bug#13566).
7446 2013-10-18 Daniel Colascione <dancol@dancol.org>
7448 When evaluating forms in ielm, direct standard output to ielm
7449 buffer. Add new ielm-return-for-effect command. Remove trailing
7450 whitespace throughout.
7452 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7453 (ielm-return-for-effect): New command.
7454 (ielm-send-input): Accept optional `for-effect' parameter.
7455 (ielm-eval-input): Accept optional `for-effect' parameter.
7456 Bind `standard-output' to stream we create using
7457 `ielm-standard-output-impl'. Suppress printing result when
7459 (ielm-standard-output-impl): New function.
7460 (inferior-emacs-lisp-mode): Explain new features in documentation.
7462 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7466 * net/tramp.el (tramp-debug-message): Do not check for connection
7468 (tramp-message): Use "vector" connection property.
7470 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7471 (tramp-equal-remote, tramp-eshell-directory-change)
7472 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7473 (tramp-adb-handle-rename-file)
7474 * net/tramp-cmds.el (tramp-list-remote-buffers)
7475 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7476 * net/tramp-compat.el (tramp-compat-process-running-p)
7477 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7478 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7479 (tramp-gvfs-handle-rename-file)
7480 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7481 (tramp-set-file-uid-gid)
7482 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7483 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7486 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7487 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7488 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7489 (tramp-gw-open-network-stream): Suppress unrelated traces.
7491 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7492 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7493 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7494 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7495 connection property.
7497 * net/tramp-cache.el (top): Suppress traces when reading
7500 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7501 Refactor common code. Improve debug message.
7502 (tramp-maybe-open-connection)
7503 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7504 connection buffer too early.
7506 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7507 from `tramp-smb-actions-with-acl'.
7508 (tramp-smb-actions-set-acl): New defconst.
7509 (tramp-smb-handle-copy-directory)
7510 (tramp-smb-action-get-acl): New defun, renamed from
7511 `tramp-smb-action-with-acl'.
7512 (tramp-smb-action-set-acl): New defun.
7513 (tramp-smb-handle-set-file-acl): Rewrite.
7515 2013-10-17 Glenn Morris <rgm@gnu.org>
7517 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7519 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * skeleton.el (skeleton-newline): Remove.
7522 (skeleton-internal-1): Use (insert "\n") instead.
7524 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7527 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7528 forward-sexp-function while we redo its job (bug#15613).
7530 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7532 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7533 represented by lists.
7535 2013-10-16 Glenn Morris <rgm@gnu.org>
7537 * tmm.el (tmm--history): New dynamic variable.
7538 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7540 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7542 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7543 (tramp-smb-errors): Add error messages.
7544 (tramp-smb-actions-with-acl): New defconst.
7545 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7546 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7547 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7548 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7549 (tramp-smb-get-stat-capability): Fix tests.
7551 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7553 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7556 2013-10-16 Glenn Morris <rgm@gnu.org>
7558 * ansi-color.el (ansi-color-drop-regexp):
7559 Add 1J, 1K, 2K. (Bug#15617)
7561 * files.el (hack-local-variables--warned-lexical): New.
7562 (hack-local-variables):
7563 Warn about misplaced lexical-binding. (Bug#15616)
7565 * net/eww.el (eww-render): Always set eww-current-url,
7566 and update header line. (Bug#15622)
7567 (eww-display-html): ... Rather than just doing it here.
7569 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7571 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7572 menu navigations commands.
7574 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7576 * progmodes/subword.el (subword-capitalize): Be careful when
7577 the search for [[:alpha:]] fails (bug#15580).
7579 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7581 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7582 to commands that scroll the menu.
7584 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7586 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7587 Handle methods ending with `?' and `!'.
7589 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7591 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7592 `japanese-cp932' to `cp932' to fix the problem where saving a
7593 source file written in Shift_JIS twice would end up having
7594 `coding: japanese-cp932' which Ruby could not recognize.
7595 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7596 in `ruby-encoding-map'.
7597 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7598 doesn't need to be explicitly declared in magic comment.
7599 (ruby-encoding-map): Add type declaration for better customize UI.
7601 2013-10-13 Glenn Morris <rgm@gnu.org>
7603 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7604 Occur buffers are read-only. http://bugs.debian.org/720775
7606 * emacs-lisp/authors.el (authors-fixed-entries):
7607 Comment out old alpha stuff.
7609 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7611 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7612 to `after-save-hook' instead of `before-save-hook'.
7613 (ruby-mode-set-encoding): Use the value of coding system used to
7614 write the file. Call `basic-save-buffer-1' after modifying the
7617 2013-10-13 Alan Mackenzie <acm@muc.de>
7619 Fix indentation/fontification of Java enum with
7620 "implements"/generic.
7622 * progmodes/cc-engine.el (c-backward-over-enum-header):
7623 Extracted from the three other places and enhanced to handle generics.
7624 (c-inside-bracelist-p): Uses new function above.
7625 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7627 (c-font-lock-enum-tail): Uses new function above.
7629 2013-10-13 Kenichi Handa <handa@gnu.org>
7631 * international/mule-cmds.el (select-safe-coding-system): Remove a
7632 superfluous condition in chekcing whether a coding system is safe
7635 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7637 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7639 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7641 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7643 2013-10-13 Glenn Morris <rgm@gnu.org>
7645 * menu-bar.el (menu-bar-update-buffers):
7646 Unify Buffers menu prompt string. (Bug#15576)
7648 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7650 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7652 (authors-fixed-entries): Use accented form of name.
7654 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7657 method calls (bug#15594).
7658 (ruby-smie--args-separator-p): New function.
7659 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7660 recognize paren-free method calls.
7662 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7663 internals of universal-argument.
7665 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7667 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7668 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7669 dropped menu on second mouse click on the menu bar.
7671 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7674 (explicit-shell-file-name): Declare.
7675 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7676 (sh-completion-at-point-function): New function.
7678 (sh-smie--keyword-p): Remove unused argument.
7679 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7681 (sh-set-shell): Always setup SMIE, even if we use the
7682 old indentation code.
7684 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7686 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7688 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7689 predicate would return nil are almost non-existent.
7690 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7692 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7693 cache also after commands that modify the buffer but don't move
7696 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * env.el (substitute-env-in-file-name): New function.
7699 (substitute-env-vars): Extend the meaning of the optional arg.
7701 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7703 * term/w32-win.el (dynamic-library-alist): Define separate lists
7704 of GIF DLLs for versions before and after 5.0.0 of giflib.
7707 2013-10-10 João Távora <joaotavora@gmail.com>
7709 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7710 not locked, use last revision and current source as
7711 defaults. (Bug#15569)
7713 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7715 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7718 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7720 * window.el (pop-to-buffer-same-window): Fix doc-string.
7723 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7727 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7729 * calendar/icalendar.el (icalendar-import-file):
7730 Fix interactive spec. (Bug#15482)
7732 2013-10-10 Glenn Morris <rgm@gnu.org>
7734 * desktop.el (desktop-save): Default to saving in .emacs.d,
7735 since PWD is no longer in desktop-path by default. (Bug#15319)
7737 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7738 now that text mode has a menu with the same entry.
7739 (menu-bar-text-mode-auto-fill): Remove now unused func.
7740 * textmodes/text-mode.el (text-mode-map):
7741 Use auto-fill help text from menu-bar.el.
7743 2013-10-10 John Anthony <john@jo.hnanthony.com>
7745 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7747 2013-10-09 Juri Linkov <juri@jurta.org>
7749 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7750 instead of this-command-keys. Add universal-argument-more and
7751 universal-argument-minus to the list of prefix commands. (Bug#15568)
7753 2013-10-09 Glenn Morris <rgm@gnu.org>
7755 * vc/vc-svn.el (vc-svn-create-repo):
7756 Expand paths in file://... url. (Bug#15446)
7758 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7760 (authors): Remove unused local variables.
7762 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7764 * profiler.el: Create a more coherent calltree from partial backtraces.
7765 (profiler-format): Hide the tail with `invisible' so that C-s can still
7766 find the hidden elements.
7767 (profiler-calltree-depth): Don't recurse so enthusiastically.
7768 (profiler-function-equal): New hash-table-test.
7769 (profiler-calltree-build-unified): New function.
7770 (profiler-calltree-build): Use it.
7771 (profiler-report-make-name-part): Indent the calltree less.
7772 (profiler-report-mode): Add visibility specs for profiler-format.
7773 (profiler-report-expand-entry, profiler-report-toggle-entry):
7774 Expand the whole subtree when provided with a prefix arg.
7776 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7778 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7780 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7781 hanging iuwu-mod token.
7782 (ruby-smie--forward-token): Do not include a dot after a token in
7784 (ruby-smie--backward-token): Likewise.
7786 2013-10-08 Juri Linkov <juri@jurta.org>
7788 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7789 to isearch-other-control-char.
7790 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7791 and isearch-post-command-hook to post-command-hook.
7792 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7793 and isearch-post-command-hook from post-command-hook.
7794 (isearch-unread-key-sequence)
7795 (isearch-reread-key-sequence-naturally)
7796 (isearch-lookup-scroll-key, isearch-other-control-char)
7797 (isearch-other-meta-char): Remove functions.
7798 (isearch-pre-command-hook, isearch-post-command-hook):
7799 New functions based on isearch-other-meta-char rewritten
7800 relying on the new behavior of overriding-terminal-local-map
7801 that does not replace the local keymaps any more. (Bug#15200)
7803 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7805 Support menus on text-mode terminals.
7806 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7809 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7811 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7812 Move here from mouse.el.
7813 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7815 (tty-menu-navigation-map): New map for TTY menu navigation.
7817 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7819 * frame.el (display-mouse-p): Report text-mode mouse as available
7821 (display-popup-menus-p): Report availability if mouse is
7822 available; don't condition on window-system.
7824 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7825 (tty-menu-selected-face): New faces.
7827 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7829 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7830 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7831 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7832 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7834 (lisp-mode-variables): New `elisp' argument.
7835 (emacs-lisp-mode): Use it.
7836 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7837 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7839 * indent.el: Use lexical-binding.
7840 (indent-region): Add progress reporter.
7841 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7843 (indent--next-tab-stop): New function to implement this behavior.
7844 (tab-to-tab-stop, move-to-tab-stop): Use it.
7846 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7848 * indent.el (indent-rigidly--current-indentation): New function.
7849 (indent-rigidly-map): New var.
7850 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7852 2013-10-08 Bastien Guerry <bzg@gnu.org>
7854 * register.el (insert-register): Fix 2013-10-07 change.
7856 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7858 * progmodes/perl-mode.el: Use lexical-binding.
7859 Remove redundant :group args.
7860 (perl-nochange): Change default to be closer to other major modes's
7862 (perl-indent-line): Don't consider text on current line as a
7863 valid beginning of function from which to indent.
7865 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7866 with more than one argument (bug#15538).
7868 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7870 * vc/pcvs.el: Use lexical-binding.
7871 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7872 environment of `eval'.
7873 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7874 than a list of expressions. Adjust callers.
7875 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7877 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7879 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7880 case of the dot in a chained method call being on the following line.
7882 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * electric.el (electric-indent-inhibit): New var.
7885 (electric-indent-post-self-insert-function): Use it.
7886 * progmodes/python.el (python-mode): Set it.
7888 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7891 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7893 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7894 (css-mode): Use electric-indent-chars.
7896 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7897 (font-lock-beg, font-lock-end): Move before first use.
7898 (nxml-mode): Use syntax-propertize-function.
7899 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7900 (nxml-extend-after-change-region): Remove.
7901 * nxml/xmltok.el: Use lexical-binding.
7902 (xmltok-save): Use `declare'.
7903 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7904 * nxml/nxml-util.el: Use lexical-binding.
7905 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7907 * nxml/nxml-ns.el: Use lexical-binding.
7908 (nxml-ns-save): Use `declare'.
7909 (nxml-ns-prefixes-for): Avoid add-to-list.
7910 * nxml/rng-match.el: Use lexical-binding.
7911 (rng--ipattern): Use cl-defstruct.
7912 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7913 (rng-cons-group-after, rng-subst-group-after)
7914 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7915 Use closures instead of `(lambda...).
7917 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7919 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7923 Use `tramp-handle-insert-file-contents'.
7924 (tramp-gvfs-handle-insert-file-contents): Remove function.
7926 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7927 Use `save-restriction' in order to keep markers.
7929 * net/trampver.el: Update release number.
7931 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * progmodes/compile.el (compilation-parse-errors):
7934 Use compilation--put-prop.
7935 (compilation--ensure-parse): Check compilation-multiline.
7937 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7939 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7942 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7944 * progmodes/ruby-mode.el: Fix recently added tests.
7945 (ruby-smie-grammar): Add - and +.
7946 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7947 (ruby-smie--backward-id): New functions.
7948 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7949 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7952 2013-10-07 Leo Liu <sdl.web@gmail.com>
7954 * register.el (register-preview-delay)
7955 (register-preview-functions): New variables.
7956 (register-read-with-preview, register-preview)
7957 (register-describe-oneline): New functions.
7958 (point-to-register, window-configuration-to-register)
7959 (frame-configuration-to-register, jump-to-register)
7960 (number-to-register, view-register, insert-register)
7961 (copy-to-register, append-to-register, prepend-to-register)
7962 (copy-rectangle-to-register): Use register-read-with-preview to
7963 read register. (Bug#15525)
7965 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7967 * net/network-stream.el (network-stream-open-starttls): Don't add
7968 --insecure if it's already present, because that gnutls-cli
7969 rejects getting that parameter twice.
7971 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7973 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7976 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7978 * newcomment.el (comment-use-global-state): Change default value
7979 to t, mark obsolete (Bug#15251).
7980 (comment-beginning): In addition to `comment-to-syntax', check the
7981 value of `comment-use-global-state'.
7983 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7985 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7986 (ruby-comment-column): Follow the global default, by default.
7987 (ruby-smie-grammar): Add assignment syntax.
7988 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7989 open-paren, a comma, or a \.
7990 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7991 and line continuations.
7992 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7993 followed by implicit semi-colons. Add rule for string concatenation
7994 and for indentation at BOB.
7995 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7997 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7998 calling next-sexp, since next-token may have skipped chars which
7999 next-sexp doesn't know should be skipped!
8001 2013-10-05 Leo Liu <sdl.web@gmail.com>
8003 * progmodes/octave.el (octave-send-region):
8004 Call compilation-forget-errors.
8006 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8008 * vc/vc-svn.el (vc-svn-find-admin-dir):
8009 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8010 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8011 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8012 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8014 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8016 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8018 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8020 * subr.el (read-passwd): Hide chars even when called within a context
8021 where after-change-functions is disabled (bug#15501).
8022 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8023 until we removed ourself from overriding-terminal-local-map.
8025 2013-10-04 Leo Liu <sdl.web@gmail.com>
8027 * progmodes/octave.el (inferior-octave-mode):
8028 Call compilation-forget-errors.
8030 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8032 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8034 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8036 * net/secrets.el (secrets-create-collection): Add optional
8037 argument ALIAS. Use proper Label keyword. Append ALIAS as
8038 dbus-call-method argument. (Bug#15516)
8040 2013-10-04 Leo Liu <sdl.web@gmail.com>
8042 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8043 (inferior-octave-compilation-font-lock-keywords): New variables.
8044 (compilation-error-regexp-alist)
8045 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8046 (inferior-octave-mode): Use compilation-shell-minor-mode.
8048 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8050 * minibuffer.el (completion--replace): Be careful that `end' might be
8053 2013-10-03 Daiki Ueno <ueno@gnu.org>
8055 Add support for package signature checking.
8056 * emacs-lisp/package.el (url-http-file-exists-p)
8057 (epg-make-context, epg-context-set-home-directory)
8058 (epg-verify-string, epg-context-result-for)
8059 (epg-signature-status, epg-signature-to-string)
8060 (epg-check-configuration, epg-configuration)
8061 (epg-import-keys-from-file): Declare.
8062 (package-check-signature): New user option.
8063 (package-unsigned-archives): New user option.
8064 (package-desc): Add `signed' field.
8065 (package-load-descriptor): Set `signed' field if .signed file exists.
8066 (package--archive-file-exists-p): New function.
8067 (package--check-signature): New function.
8068 (package-install-from-archive): Check package signature.
8069 (package--download-one-archive): Check archive signature.
8070 (package-delete): Remove .signed file.
8071 (package-import-keyring): New command.
8072 (package-refresh-contents): Import default keyring.
8073 (package-desc-status): Add "unsigned" status.
8074 (describe-package-1, package-menu--print-info)
8075 (package-menu-mark-delete, package-menu--find-upgrades)
8076 (package-menu--status-predicate): Support "unsigned" status.
8078 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8081 the new compilation scheme using the new byte-codes.
8083 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8084 (byte-pophandler): New byte codes.
8085 (byte-goto-ops): Adjust accordingly.
8086 (byte-compile--use-old-handlers): New var.
8087 (byte-compile-catch): Use new byte codes depending on
8088 byte-compile--use-old-handlers.
8089 (byte-compile-condition-case--old): Rename from
8090 byte-compile-condition-case.
8091 (byte-compile-condition-case--new): New function.
8092 (byte-compile-condition-case): New function that dispatches depending
8093 on byte-compile--use-old-handlers.
8094 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8097 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8098 Optimize under `condition-case' and `catch' if
8099 byte-compile--use-old-handlers is nil.
8100 (disassemble-offset): Handle new bytecodes.
8102 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * subr.el (error): Use `declare'.
8105 (decode-char, encode-char): Use advertised-calling-convention instead
8106 of the docstring to discourage use of the `restriction' arg.
8108 2013-10-03 Daiki Ueno <ueno@gnu.org>
8110 * epg.el (epg-verify-file): Add a comment saying that it does not
8111 notify verification error as a return value nor a signal.
8112 (epg-verify-string): Ditto.
8114 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8116 * progmodes/compile.el (compilation-start): Try globbing the arg to
8119 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8121 Sync with Tramp 2.2.8.
8123 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8124 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8125 * net/trampver.el: Update release number.
8127 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8129 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8130 and default-process-coding-system for darwin only.
8132 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8136 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8138 * vc/vc-git.el (vc-git-grep): Disable pager.
8140 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8142 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8143 Use :url instead of :homepage, as per
8144 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8146 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8147 non-nil, use `syntax-ppss' (Bug#15251).
8149 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8151 * progmodes/octave.el (inferior-octave-startup-file):
8152 Prefer ~/.emacs.d/init_octave.m.
8154 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8156 * emacs-lisp/package.el (package-desc-from-define):
8157 Accept additional arguments as plist, convert them to an alist and store
8158 them in the `extras' slot.
8159 (package-generate-description-file): Convert extras alist back to
8160 plist and append to the `define-package' form arguments.
8161 (package--alist-to-plist): New function.
8162 (package--ac-desc): Add `extras' slot.
8163 (package--add-to-archive-contents): Check if the archive-contents
8164 vector is long enough, and if it is, pass its `extras' slot value
8165 to `package-desc-create'.
8166 (package-buffer-info): Call `lm-homepage', pass the returned value
8167 to `package-desc-from-define'.
8168 (describe-package-1): Render the homepage button (Bug#13291).
8170 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8171 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8173 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8175 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8176 and default-process-coding-system to utf-8-unix (Bug#15402).
8178 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8180 * subr.el (looking-back): Do not recommend using looking-back.
8182 2013-09-28 Alan Mackenzie <acm@muc.de>
8184 Fix indentation/fontification of Java enum with "implements".
8186 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8187 regexp which matches "implements", etc., in Java.
8188 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8189 specifier clauses coming after "enum".
8190 * progmodes/cc-fonts.el (c-font-lock-declarations)
8191 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8194 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8196 * faces.el (region): Change ns_selection_color to
8197 ns_selection_fg_color, add ns_selection_bg_color.
8199 2013-09-28 Leo Liu <sdl.web@gmail.com>
8201 * progmodes/octave.el (inferior-octave-completion-table)
8202 (inferior-octave-completion-at-point): Minor tweaks.
8204 * textmodes/ispell.el (ispell-lookup-words): Rename from
8205 lookup-words. (Bug#15460)
8206 (lookup-words): Obsolete.
8207 (ispell-complete-word, ispell-command-loop): All uses changed.
8209 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8211 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8212 (octave-mode-menu): Add octave-send-buffer.
8213 (octave-send-buffer): New function.
8215 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8217 * progmodes/octave.el (octave-mode-map): Add key binding for
8219 (octave-mode-menu): Add octave-lookfor.
8220 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8222 (octave-lookfor): New function.
8224 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8227 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8229 (cl--loop-set-iterator-function): New function.
8230 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8231 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8232 Bind `it' with `let' instead of substituting it with `cl-subst'.
8233 (cl--unused-var-p): New function.
8234 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8235 Eliminate some unused variable warnings (bug#15326).
8237 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8239 * doc-view.el (doc-view-scale-reset): Rename from
8240 `doc-view-reset-zoom-level'.
8241 (doc-view-scale-adjust): New command.
8242 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8243 `doc-view-scale-adjust'.
8245 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8247 * doc-view.el (doc-view-reset-zoom-level): New command.
8248 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8249 zoom commands (bug#15466).
8251 2013-09-26 Kenichi Handa <handa@gnu.org>
8253 * international/quail.el (quail-help): Make it not a command.
8255 2013-09-26 Leo Liu <sdl.web@gmail.com>
8257 * minibuffer.el (completion-all-sorted-completions): Make args
8258 optional as they are.
8260 2013-09-25 Daniel Colascione <dancol@dancol.org>
8262 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8263 specs are and that they're not evaluated.
8265 2013-09-24 Sam Steingold <sds@gnu.org>
8267 * midnight.el (clean-buffer-list-kill-regexps)
8268 (clean-buffer-list-kill-buffer-names): Update for the new Man
8269 buffer naming which includes the object name.
8271 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8274 (eshell-parse-command, eshell-parse-pipeline): Use it since
8275 eshell-separate-commands requires a dynamic scoped var.
8276 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8278 2013-09-23 Leo Liu <sdl.web@gmail.com>
8280 * autoinsert.el (auto-insert-alist): Make the value of
8281 lexical-binding match its file setting.
8283 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8285 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8287 * autoarg.el (autoarg-kp-digit-argument):
8288 * electric.el (Electric-command-loop):
8289 * kmacro.el (kmacro-step-edit-insert):
8290 Do not set universal-argument-num-events.
8292 2013-09-22 Leo Liu <sdl.web@gmail.com>
8294 * files.el (interpreter-mode-alist): Add octave.
8296 2013-09-21 Alan Mackenzie <acm@muc.de>
8298 C++: fontify identifier in declaration following "public:" correctly.
8299 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8300 to match "public", etc.
8301 (c-decl-prefix-re): Add ":" into the C++ value.
8302 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8303 bit. Add a check for a ":" preceded by "public", etc.
8305 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8307 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8308 recognized by GDB 7.5 and later.
8310 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8312 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8314 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8316 * subr.el (internal--call-interactively): New const.
8317 (called-interactively-p): Use it (bug#3984).
8319 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8321 * vc/pcvs.el (cvs-mode-ignore):
8322 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8323 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8325 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8327 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8328 (eshell-ls-orig-insert-directory): Remove.
8329 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8330 (eshell-ls-use-in-dired): Use advice-add/remove.
8331 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8332 Add `orig-fun' arg for use in :around advice.
8333 Make it check (redundantly) eshell-ls-use-in-dired.
8335 2013-09-19 Glenn Morris <rgm@gnu.org>
8337 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8339 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8341 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8343 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8345 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8346 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8347 (tramp-get-remote-python): New defuns.
8348 (tramp-get-remote-uid-with-perl)
8349 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8350 contributed by yary <not.com@gmail.com> (tiny change).
8351 (tramp-get-remote-uid-with-python)
8352 (tramp-get-remote-gid-with-python): New defuns. Python code
8353 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8354 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8356 2013-09-19 Glenn Morris <rgm@gnu.org>
8358 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8360 * eshell/em-unix.el (eshell-remove-entries):
8361 Rename argument to avoid name-clash with global `top-level'.
8363 * eshell/esh-proc.el (eshell-kill-process-function):
8364 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8365 (eshell-reset-after-proc): Remove unused arg `proc'.
8367 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8368 (directory-files-and-attributes): Mark unused arg.
8370 * eshell/em-unix.el (eshell-remove-entries):
8371 Remove unused arg `path'. Update callers.
8373 * eshell/em-hist.el (eshell-hist-parse-arguments):
8374 Remove unused arg `silent'. Update callers.
8376 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8377 Fix (f)boundp mix-up.
8379 * eshell/em-smart.el (eshell-smart-scroll-window)
8380 (eshell-disable-after-change):
8381 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8383 2013-09-18 Alan Mackenzie <acm@muc.de>
8385 Fix fontification of type when followed by "const".
8386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8387 "known" types from fontification.
8389 2013-09-18 Glenn Morris <rgm@gnu.org>
8391 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8392 (chart-face-list): Drop Emacsen without display-color-p.
8394 * net/eww.el (libxml-parse-html-region): Declare.
8395 (eww-display-html): Explicit error if no libxml2 support.
8397 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8399 * image.el (image-type-from-buffer, image-multi-frame-p):
8400 Remove --without-x warning/error.
8402 * mouse.el (mouse-yank-primary):
8403 * term.el (term-mouse-paste):
8404 Reorder to silence --without-x compilation.
8406 * mpc.el (doc-view-mode): Silence --without-x compilation.
8408 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8409 Silence --without-x compilation.
8411 * progmodes/gud.el (gud-find-file, gud-mode):
8412 Silence --without-x compilation.
8413 (tooltip-mode): Declare.
8415 * wdired.el (dired-backup-overwrite): Remove declaration.
8416 (wdired-mode-map): Add doc string.
8418 * custom.el (x-get-resource): Declare.
8420 * eshell/em-glob.el (ange-cache):
8421 * eshell/em-unix.el (ange-cache): Declare.
8423 * faces.el (x-display-list, x-open-connection, x-get-resource):
8426 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8427 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8430 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8432 * net/gnutls.el (gnutls-log-level): Declare.
8434 * net/shr.el (image-size, image-animate): Declare.
8436 * simple.el (font-info): Declare.
8438 * subr.el (x-popup-dialog): Declare.
8440 * term/common-win.el (x-select-enable-primary)
8441 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8444 * term/ns-win.el (x-handle-args): Declare.
8446 * term/x-win.el (x-select-enable-clipboard): Declare.
8448 * term/w32-win.el (create-default-fontset): Declare.
8450 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8453 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8454 (fit-frame-to-buffer): Explicit error if --without-x.
8455 (mouse-autoselect-window-select): Silence compiler.
8457 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8459 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8460 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8461 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8462 * eshell/esh-util.el (eshell-sublist):
8463 Remove unused local variables.
8465 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8467 * textmodes/two-column.el: Make 2C-split work for --without-x.
8468 (scroll-bar-columns): Autoload.
8469 (top-level): Require fringe when compiling.
8471 2013-09-18 Leo Liu <sdl.web@gmail.com>
8473 * subr.el (add-hook): Robustify to handle closure as well.
8475 2013-09-17 Glenn Morris <rgm@gnu.org>
8477 * simple.el (messages-buffer-mode-map): Unbind "g".
8479 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * help-mode.el (help-mode-finish): Use derived-mode-p.
8482 Remove obsolete highlighting.
8484 * play/life.el (life-mode): Use define-derived-mode. Derive from
8486 (life): Let-bind inhibit-read-only.
8487 (life-setup): Avoid `setq'. Use `life-mode'.
8489 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8490 which should not be needed any more.
8491 (package-menu-refresh, package-menu-describe-package): Use user-error.
8493 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8494 (eshell-post-rewrite-command-hook): Make obsolete.
8495 (eshell-parse-command): Simplify.
8496 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8497 (eshell--cmd): Declare.
8498 (eshell-parse-pipeline): Remove unused var `final-p'.
8499 Pass a dynvar to eshell-post-rewrite-command-hook.
8500 Implement the new eshell-post-rewrite-command-function.
8501 (eshell-invoke-directly): Remove unused arg `input'.
8502 * eshell/esh-io.el (eshell-io-initialize):
8503 Use eshell-post-rewrite-command-function (bug#15399).
8504 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8505 adjust to new calling convention.
8506 (eshell-create-handles): Rename args to avoid clashing with dynvar
8509 2013-09-17 Glenn Morris <rgm@gnu.org>
8511 * simple.el (messages-buffer-mode): New major mode.
8512 (messages-buffer): New function.
8513 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8514 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8515 (ert-run-test): Use `messages-buffer' function.
8516 (ert--force-message-log-buffer-truncation): Ignore read-only.
8517 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8518 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8520 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8522 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8524 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8526 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8528 * icomplete.el (icomplete-in-buffer): New var.
8529 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8530 vars and replace them with functions.
8531 (icomplete-minibuffer-setup): Adjust accordingly.
8532 (icomplete--completion-table, icomplete--completion-predicate)
8533 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8535 (icomplete-forward-completions, icomplete-backward-completions)
8536 (icomplete-simple-completing-p, icomplete-exhibit)
8537 (icomplete-completions): Use them.
8538 (icomplete--in-region-buffer): New var.
8539 (icomplete--in-region-setup): New function.
8540 (icomplete-mode): Use it.
8542 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8544 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8545 return args and options.
8546 (eshell-eval-using-options): Use the new return value of
8547 eshell--do-opts to set the options's vars in their scope.
8548 (eshell--set-option): Rename from eshell-set-option.
8550 (eshell--process-option): Rename from eshell-process-option.
8552 (eshell--process-args): Use an `opt-vals' alist to store the options's
8553 values during their processing and return them additionally to the
8556 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8558 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8559 continuation character an operator, as far as indentation is
8560 concerned (Bug#15369).
8562 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8564 * window.el (window--state-put-2): Don't process buffer state
8565 when buffer doesn't exist any more (Bug#15382).
8567 2013-09-15 Glenn Morris <rgm@gnu.org>
8569 * eshell/em-unix.el (eshell/rm):
8570 Make -f ignore missing files. (Bug#15373)
8572 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8573 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8574 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8576 2013-09-14 Glenn Morris <rgm@gnu.org>
8578 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8580 2013-09-13 Glenn Morris <rgm@gnu.org>
8582 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8583 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8585 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8587 * frame.el (x-focus-frame): Mark as declared in frame.c.
8589 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * ls-lisp.el: Use advice-add.
8592 (original-insert-directory): Remove.
8593 (ls-lisp--insert-directory): Rename from insert-directory; add
8594 `orig-fun' argument.
8595 (insert-directory): Advise.
8597 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8599 * term.el (term-emulate-terminal): Decode the command string
8600 before passing it to term-command-hook. (Bug#15337)
8602 2013-09-13 Glenn Morris <rgm@gnu.org>
8604 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8606 * eshell/esh-ext.el (eshell-search-path): Declare.
8608 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8609 Otherwise an error occurs if eshell-dirs module not loaded.
8611 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8613 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8615 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8616 `tramp-check-proper-host'. Check for a valid method name.
8618 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8619 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8620 * net/tramp-sh.el (tramp-maybe-open-connection):
8621 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8623 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8624 also for hash values.
8626 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8628 * term/ns-win.el (parameters): Don't declare as dynamic.
8629 (before-make-frame-hook): Don't add ineffective function.
8631 * eshell/*.el: Use lexical-binding (bug#15231).
8633 2013-09-12 Kenichi Handa <handa@gnu.org>
8635 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8637 2013-09-12 Glenn Morris <rgm@gnu.org>
8639 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8640 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8642 * subr.el (do-after-load-evaluation): Also give compiler warnings
8643 when obsolete files are used (except by obsolete files).
8645 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8646 in the status output, assume `filename' is the first. (Bug#15322)
8648 * vc/vc.el (vc-deduce-fileset): Doc fix.
8650 * calc/calc-help.el (Info-goto-node):
8651 * progmodes/cperl-mode.el (Info-find-node):
8652 * vc/ediff.el (Info-goto-node): Update declarations.
8654 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8656 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8657 (vc-bzr-pull): Require vc-dispatcher.
8658 * vc/vc-git.el (vc-compilation-mode): Declare.
8659 (vc-git-pull): Require vc-dispatcher.
8661 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8663 * progmodes/octave.el (help-button-action): Declare.
8665 * shell.el (shell-directory-tracker): Output error as a message
8666 rather than just returning it as a string.
8667 (shell-process-pushd): Remove useless use of message.
8669 * dframe.el (dframe-timer-fn):
8670 * files.el (dir-locals-read-from-file):
8671 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8673 * reveal.el (reveal-post-command):
8674 * saveplace.el (load-save-place-alist-from-file):
8675 * shell.el (shell-resync-dirs):
8676 * w32-common-fns.el (x-get-selection-value):
8677 * emacs-lisp/copyright.el (copyright-find-copyright):
8678 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8679 * emulation/tpu-edt.el (tpu-copy-keyfile):
8680 * play/bubbles.el (bubbles--mark-neighbourhood):
8681 * progmodes/executable.el
8682 (executable-make-buffer-file-executable-if-script-p):
8683 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8685 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8687 Cleanup Eshell to rely less on dynamic scoping.
8688 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8689 last-value, and ext-command here. Bind `args' closer to `body'.
8690 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8691 (eshell--args): Declare new dynamic var.
8692 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8693 last-value, and ext-command. Pass `args' to `body'.
8694 (eshell-process-args): Bind eshell--args.
8695 (eshell-set-option): Use eshell--args.
8696 * eshell/eshell.el (eshell): Use derived-mode-p.
8697 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8698 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8699 (eshell-glob-function): Declare.
8700 * eshell/esh-util.el: Require cl-lib.
8701 (eshell-read-hosts-file): Avoid add-to-list.
8702 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8704 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8706 (eshell/diff): Remove unused var `err'.
8707 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8709 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8710 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8712 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8713 Move declaration before first use.
8714 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8715 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8718 2013-09-12 Glenn Morris <rgm@gnu.org>
8720 * term/ns-win.el (global-map): Remove binding for ispell-next,
8721 deleted 1999-05-29. (Bug#15357)
8723 2013-09-11 Glenn Morris <rgm@gnu.org>
8725 * echistory.el (electric-command-history): Remove call to deleted func.
8727 * play/landmark.el (landmark-mode): Fix typos.
8729 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8730 Check cvs-sort-ignore-file is bound.
8732 * savehist.el: No need for cl when compiling on Emacs.
8734 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8736 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8738 (eshell-self-insert-command, eshell-send-invisible):
8739 Remove unused argument.
8740 (eshell-handle-control-codes): Remove unused var `orig'.
8741 Avoid delete-backward-char.
8743 * files.el (set-auto-mode): Simplify a bit further.
8745 2013-09-11 Glenn Morris <rgm@gnu.org>
8747 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8748 (set-auto-mode): Don't regexp-quote elements.
8749 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8750 * progmodes/cc-mode.el (interpreter-mode-alist):
8751 * progmodes/ruby-mode.el (interpreter-mode-alist):
8752 Revert previous change.
8754 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * play/snake.el (snake-mode):
8757 * play/mpuz.el (mpuz-mode):
8758 * play/landmark.el (lm-mode):
8759 * play/blackbox.el (blackbox-mode):
8760 * play/5x5.el (5x5-mode):
8761 * obsolete/options.el (Edit-options-mode):
8762 * net/quickurl.el (quickurl-list-mode):
8763 * net/newst-treeview.el (newsticker-treeview-mode):
8764 * mail/rmailsum.el (rmail-summary-mode):
8765 * mail/mspools.el (mspools-mode):
8766 * locate.el (locate-mode):
8767 * ibuffer.el (ibuffer-mode):
8768 * emulation/ws-mode.el (wordstar-mode):
8769 * emacs-lisp/debug.el (debugger-mode):
8770 * array.el (array-mode):
8771 * net/eudc.el (eudc-mode): Use define-derived-mode.
8772 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8773 Move initialization into declaration.
8774 (mairix-searches-mode): Use define-derived-mode.
8775 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8776 (eudc-edit-hotlist): Use dolist.
8777 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8778 (Man-mode): Use define-derived-mode.
8779 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8780 (Info-edit-mode): Use define-derived-mode.
8781 (Info-cease-edit): Use Info-mode.
8782 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8784 (eshell-mode): Use define-derived-mode.
8785 * chistory.el (command-history-mode-map): Rename from
8786 command-history-map.
8787 (command-history-mode): Use define-derived-mode.
8788 (Command-history-setup): Remove function.
8789 * calc/calc.el (calc-trail-mode-map): New var.
8790 (calc-trail-mode): Use define-derived-mode.
8791 (calc-trail-buffer): Set calc-main-buffer manually.
8792 * bookmark.el (bookmark-insert-annotation): New function.
8793 (bookmark-edit-annotation): Use it.
8794 (bookmark-edit-annotation-mode): Make it a proper major mode.
8795 (bookmark-send-edited-annotation): Use derived-mode-p.
8796 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8797 closer to its ideal place. Use \' to match EOS.
8799 * profiler.el (profiler-calltree-find): Use function-equal.
8801 2013-09-10 Glenn Morris <rgm@gnu.org>
8803 * files.el (interpreter-mode-alist): Convert to regexps.
8804 (set-auto-mode): Adapt for this. (Bug#15306)
8805 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8806 Comment out unused variable.
8807 * progmodes/cc-mode.el (interpreter-mode-alist):
8808 * progmodes/python.el (interpreter-mode-alist):
8809 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8810 * progmodes/sh-script.el (sh-set-shell):
8811 No longer use interpreter-mode-alist to get list of shells.
8813 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8815 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8817 * simple.el: Use set-temporary-overlay-map for universal-argument.
8818 (universal-argument-map): Don't use default-bindings (bug#15317).
8819 Bind switch-frame explicitly. Replace universal-argument-minus with
8820 a conditional binding.
8821 (universal-argument-num-events, saved-overriding-map): Remove.
8822 (restore-overriding-map): Remove.
8823 (universal-argument--mode): Rename from save&set-overriding-map,
8825 (universal-argument, universal-argument-more, negative-argument)
8826 (digit-argument): Adjust accordingly.
8827 (universal-argument-minus): Remove.
8828 (universal-argument-other-key): Remove.
8830 * subr.el (with-demoted-errors): Add `format' argument.
8832 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8834 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8835 `tramp-cleanup-connection'.
8837 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8838 parameters KEEP-DEBUG and KEEP-PASSWORD.
8840 * net/tramp.el (tramp-file-name-handler):
8841 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8842 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8843 (tramp-maybe-open-connection):
8844 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8845 Use `tramp-cleanup-connection'.
8847 * net/tramp-sh.el (tramp-maybe-open-connection):
8848 Catch 'uname-changed inside the progress reporter.
8850 2013-09-10 Glenn Morris <rgm@gnu.org>
8852 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8854 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8855 returns "alternate access method" in mode (eg "-rw-r--r--.").
8857 2013-09-08 Glenn Morris <rgm@gnu.org>
8859 * saveplace.el (load-save-place-alist-from-file):
8860 Demote errors. (Bug#15305)
8862 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8864 Improve compatibility with older Emacsen, and XEmacs.
8866 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8867 only if it is bound. It isn't for XEmacs.
8868 (with-tramp-progress-reporter): Do not let-bind `result'.
8869 This yields to scoping errors in XEmacs.
8870 (tramp-handle-make-auto-save-file-name): New function, moved from
8873 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8874 for `make-auto-save-file-name'.
8875 (tramp-adb--gnu-switches-to-ash):
8876 Use `tramp-compat-replace-regexp-in-string'.
8878 * net/tramp-cache.el (tramp-cache-print): Call
8879 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8881 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8882 bound. It isn't for XEmacs.
8884 * net/tramp-compat.el (tramp-compat-copy-file):
8885 Catch `wrong-number-of-arguments' error.
8886 (tramp-compat-replace-regexp-in-string): New defun.
8888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8889 for `make-auto-save-file-name'.
8890 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8892 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8893 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8894 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8896 * net/tramp-gw.el (tramp-gw-open-network-stream):
8897 Use `tramp-compat-replace-regexp-in-string'.
8899 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8900 Call `tramp-handle-make-auto-save-file-name'.
8901 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8902 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8903 (tramp-sh-file-inotifywait-process-filter):
8904 Use `tramp-compat-replace-regexp-in-string'.
8905 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8907 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8908 for `make-auto-save-file-name'.
8909 (tramp-smb-handle-copy-directory):
8910 Call `tramp-compat-replace-regexp-in-string'.
8911 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8912 (tramp-smb-handle-copy-file): Improve error message.
8913 (tramp-smb-handle-rename-file): Rename directly only in case
8914 `newname' does not exist yet. This is a restriction of smbclient.
8915 (tramp-smb-maybe-open-connection): Rerun the function only when
8916 `auth-sources' is non-nil.
8918 2013-09-08 Kenichi Handa <handa@gnu.org>
8920 * international/characters.el: Set category "^" (Combining) for
8923 2013-09-07 Alan Mackenzie <acm@muc.de>
8925 Correctly fontify Java class constructors.
8926 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8928 (c-recognize-typeless-decls): Set the Java value to t.
8929 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8930 While handling a "(", add a check for, effectively, Java, and handle a
8931 "typeless" declaration there.
8933 2013-09-07 Roland Winkler <winkler@gnu.org>
8935 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8936 field subtitle for entry type book.
8938 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8940 * minibuffer.el: Make minibuffer-complete call completion-in-region
8941 rather than other way around.
8942 (completion--some, completion-pcm--find-all-completions):
8943 Don't delay signals when debugging.
8944 (minibuffer-completion-contents): Beware fields within the
8945 minibuffer contents.
8946 (completion-all-sorted-completions): Use defvar-local.
8947 (completion--do-completion, completion--cache-all-sorted-completions)
8948 (completion-all-sorted-completions, minibuffer-force-complete):
8949 Add args `beg' and `end'.
8950 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8951 (minibuffer-complete): Use completion-in-region.
8952 (completion-complete-and-exit): New fun, extracted from
8953 minibuffer-complete-and-exit.
8954 (minibuffer-complete-and-exit): Use it.
8955 (completion--complete-and-exit): Rename from
8956 minibuffer--complete-and-exit.
8957 (completion-in-region--single-word): New function, extracted from
8958 minibuffer-complete-word.
8959 (minibuffer-complete-word): Use it.
8960 (display-completion-list): Make `common-substring' argument obsolete.
8961 (completion--in-region): Call completion--in-region-1 instead of
8962 minibuffer-complete.
8963 (completion-help-at-point): Pass boundaries to
8964 minibuffer-completion-help as args rather than via an overlay.
8965 (completion-pcm--string->pattern): Use `any-delim'.
8966 (completion-pcm--optimize-pattern): New function.
8967 (completion-pcm--pattern->regex): Handle `any-delim'.
8968 * icomplete.el (icomplete-forward-completions)
8969 (icomplete-backward-completions, icomplete-completions):
8970 Adjust calls to completion-all-sorted-completions and
8971 completion--cache-all-sorted-completions.
8972 (icomplete-with-completion-tables): Default to t.
8973 * emacs-lisp/crm.el (crm--current-element): Rename from
8974 crm--select-current-element. Don't put an overlay but return the
8976 (crm--completion-command): Take two new args to bind to the boundaries.
8977 (crm-completion-help): Adjust accordingly.
8978 (crm-complete): Use completion-in-region.
8979 (crm-complete-word): Use completion-in-region--single-word.
8980 (crm-complete-and-exit): Use completion-complete-and-exit.
8982 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8984 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8987 2013-09-06 Juri Linkov <juri@jurta.org>
8989 * info.el (Info-display-images-node): When image file doesn't exist
8990 display text version of the image if it's provided in the Info file.
8991 Otherwise, display the location of missing image from SRC attribute.
8992 Add help-echo text property from ALT attribute. (Bug#15279)
8994 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8997 (edit-abbrevs-mode): Use define-derived-mode.
8999 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9000 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9002 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9003 Use define-derived-mode.
9005 * epg.el (epg-start-encrypt): Minor CSE simplification.
9007 2013-09-06 William Xu <william.xwl@gmail.com>
9009 * arc-mode.el: Add support for 7za (bug#15264).
9010 (archive-7z-program): New var.
9011 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9012 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9013 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9015 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9019 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9020 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9021 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9022 (tramp-postfix-host-format, tramp-file-name-regexp)
9023 (tramp-completion-file-name-regexp)
9024 (tramp-completion-dissect-file-name)
9025 (tramp-handle-substitute-in-file-name): Remove 'url case.
9026 (tramp-file-name-regexp-url)
9027 (tramp-completion-file-name-regexp-url): Remove constants.
9029 2013-09-06 Glenn Morris <rgm@gnu.org>
9031 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9033 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9035 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9036 keywords" below "here-doc beginnings" (Bug#15270).
9038 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9040 * subr.el (pop): Use `car-safe'.
9041 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9042 to detect unused `pop' return value.
9044 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9046 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9047 (python-fill-string): Remove unused var `marker'.
9048 (python-skeleton-add-menu-items): Remove unused var `items'.
9050 * international/mule-cmds.el: Require CL.
9051 (find-coding-systems-for-charsets): Avoid add-to-list.
9052 (sanitize-coding-system-list): New function, extracted from
9053 select-safe-coding-system-interactively.
9054 (select-safe-coding-system-interactively): Use it.
9055 (read-input-method-name): Accept symbols for `default'.
9057 * emacs-lisp/advice.el (defadvice): Add indent rule.
9059 2013-09-05 Daniel Hackney <dan@haxney.org>
9063 * net/browse-url.el:
9066 * net/eudcb-ldap.el:
9079 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9080 byte compiler. Remove some unused let-bound variables.
9082 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9085 a "ref-cell", since it gets better optimized (bug#14883).
9087 2013-09-05 Glenn Morris <rgm@gnu.org>
9089 * progmodes/cc-awk.el (c-forward-sws): Declare.
9091 2013-09-04 Glenn Morris <rgm@gnu.org>
9093 * generic-x.el [rul-generic-mode]: Require cc-mode.
9094 (c++-mode-syntax-table): Declare.
9095 (rul-generic-mode-syntax-table): Init in the defvar.
9097 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9100 (vc-do-command, vc-set-async-update):
9101 * vc/vc-mtn.el (vc-mtn-dir-status):
9102 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9103 (vc-hg-pull, vc-hg-merge-branch):
9104 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9105 (vc-git-merge-branch):
9106 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9107 (vc-cvs-dir-status-files):
9108 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9109 (vc-bzr-dir-status-files):
9110 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9111 * vc/vc-annotate.el: Use lexical-binding.
9112 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9113 (vc-sentinel-movepoint): Declare.
9114 (vc-annotate): Don't use `goto-line'.
9115 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9116 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9117 (vc-sentinel-movepoint): Declare.
9118 * vc/vc-svn.el: Use lexical-binding.
9119 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9121 * vc/vc-rcs.el: Use lexical-binding.
9123 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9124 `deleted'. Don't drop errors silently.
9126 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9128 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9130 * vc/vc.el (vc-ignore): Rewrite.
9131 (vc-default-ignore): New function.
9132 (vc-default-ignore-completion-table): Use find-ignore-file.
9134 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9135 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9136 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9137 Remove. Most code moved to vc.el.
9139 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9141 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9142 * net/tramp-smb.el (tramp-smb-get-file-entries):
9143 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9144 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9146 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9148 (eww-change-select): Remove unused var `properties'.
9149 (eww-make-unique-file-name): Remove unused var `base'.
9151 * finder.el (finder-compile-keywords): Don't mess with windows.
9153 * calculator.el (calculator-funcall): Fix typo in last change.
9155 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9157 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9158 <pkg>-autoloads.el file stop us.
9160 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9161 warnings, and factor out common code.
9163 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9165 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9166 two-character operators and whether the character preceding them
9167 changes their meaning (Bug#15208).
9169 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9171 Format code sent to Python shell for robustness.
9172 * progmodes/python.el (python-shell-buffer-substring):
9174 (python-shell-send-region, python-shell-send-buffer): Use it.
9176 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9178 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9179 * net/tramp.el (tramp-user-error): ... here.
9180 (tramp-find-method, tramp-check-proper-host)
9181 (tramp-dissect-file-name, tramp-debug-message)
9182 (tramp-handle-shell-command):
9183 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9186 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9188 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9190 * avoid.el (mouse-avoidance-point-position)
9191 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9194 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9196 * progmodes/python.el (python-shell-completion-get-completions):
9197 Drop use of deleted `comint-last-prompt-overlay'.
9198 (python-nav-if-name-main): New command.
9200 2013-09-01 Glenn Morris <rgm@gnu.org>
9202 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9203 Avoid leading space in $wins. Otherwise the sed command used by
9204 eg compile-main ends up containing "/*.el". (Bug#15170)
9206 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9208 2013-08-30 Glenn Morris <rgm@gnu.org>
9210 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9211 Fix is-this-a-directory logic. (Bug#15220)
9213 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * textmodes/css-mode.el: Use SMIE.
9216 (css-smie-grammar): New var.
9217 (css-smie--forward-token, css-smie--backward-token)
9218 (css-smie-rules): New functions.
9219 (css-mode): Use them.
9220 (css-navigation-syntax-table): Remove var.
9221 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9222 (css-indent-calculate, css-indent-line): Remove functions.
9224 Misc changes to reduce use of `(lambda...); and other cleanups.
9225 * cus-edit.el: Use lexical-binding.
9226 (customize-push-and-save, customize-apropos)
9227 (custom-buffer-create-internal): Use closures.
9228 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9229 * progmodes/ada-xref.el: Use setq.
9230 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9231 * dframe.el: Use lexical-binding.
9232 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9233 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9234 * descr-text.el: Use lexical-binding.
9235 (describe-text-widget, describe-text-sexp, describe-property-list):
9237 * comint.el (comint-history-isearch-push-state): Use a closure.
9238 * calculator.el: Use lexical-binding.
9239 (calculator-number-to-string): Make it work with lexical-binding.
9240 (calculator-funcall): Same and use cl-letf.
9242 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9243 (lisp--company-doc-string, lisp--company-location): New functions.
9244 (lisp-completion-at-point): Use them to improve Company support.
9246 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9247 params of lambda expressions.
9248 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9249 (ruby-smie--opening-pipe-p): New function.
9250 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9251 symbols and matched |...| for formal params.
9252 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9253 from being treated as hanging. Handle "rescue".
9255 2013-08-29 Glenn Morris <rgm@gnu.org>
9257 * progmodes/cc-engine.el (c-pull-open-brace):
9258 Move definition before use.
9260 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9263 are immutable. Don't use `unsafe' any more.
9264 (cl--defsubst-expand): Don't substitute at the same time as keeping
9265 a residual unused let-binding. Don't use `unsafe' any more.
9267 2013-08-29 Glenn Morris <rgm@gnu.org>
9269 * calendar/cal-china.el (calendar-chinese-year-cache):
9272 * nxml/nxml-util.el (nxml-debug-clear-inside):
9273 Use cl-loop rather than loop.
9275 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9277 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9279 2013-08-28 Glenn Morris <rgm@gnu.org>
9281 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9283 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9285 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9287 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9289 * simple.el (repeat-complex-command--called-interactively-skip):
9291 (repeat-complex-command): Use it (bug#14136).
9293 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9294 (c-define-abbrev-table): Add `doc' argument.
9295 (c-mode-abbrev-table, c++-mode-abbrev-table)
9296 (objc-mode-abbrev-table, java-mode-abbrev-table)
9297 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9298 (awk-mode-abbrev-table): Use it.
9299 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9300 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9301 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9302 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9303 Move initialization into the declaration; and remove any
9306 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9307 and dynamic let binding.
9309 * vc/smerge-mode.el: Remove redundant :group args.
9311 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9314 2013-08-28 Juri Linkov <juri@jurta.org>
9316 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9317 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9318 (isearch-other-meta-char): Handle an undefined shifted printing
9319 character by downshifting it. (Bug#15200)
9321 2013-08-28 Juri Linkov <juri@jurta.org>
9323 * isearch.el (isearch-search): Change regexp error message for
9324 non-regexp searches. (Bug#15166)
9326 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9328 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9329 for portability to hosts where /bin/sh has problems.
9331 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9333 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9335 2013-08-27 Juri Linkov <juri@jurta.org>
9337 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9338 in the keyboard macro. (Bug#15126)
9340 2013-08-27 Juri Linkov <juri@jurta.org>
9342 * isearch.el (isearch-quote-char): Comment out converting unibyte
9343 to multibyte, thus syncing with its `quoted-insert' counterpart.
9346 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9348 * window.el (display-buffer-use-some-window): Add missing
9349 argument in call of get-largest-window (Bug#15185).
9350 Reported by Stephen Leake.
9352 2013-08-27 Glenn Morris <rgm@gnu.org>
9354 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9356 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9358 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9359 from a matcher-function unless there's no more matches (bug#15161).
9361 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9363 * minibuffer.el: Revert change from 2013-08-20.
9365 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9366 with text property `tramp-default', if appropriate.
9367 (tramp-check-proper-host): New defun.
9368 (tramp-dissect-file-name): Do not check hostname. Revert change
9370 (tramp-backtrace): Make VEC-OR-PROC optional.
9372 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9373 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9374 * net/tramp-sh.el (tramp-maybe-open-connection):
9375 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9376 Apply `tramp-check-proper-host'.
9378 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9380 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9381 lambda expression in order to have `describe-variable' display it.
9383 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9385 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9386 BUF can be optional. (Bug#15186)
9388 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9390 * progmodes/flymake.el (flymake-get-real-file-name-function):
9391 Fix broken customization. (Bug#15184)
9393 2013-08-25 Alan Mackenzie <acm@muc.de>
9395 Improve indentation of bracelists defined by macros (without "=").
9397 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9398 expansion begins with "{", regard it as bracelist when it doesn't
9401 Parse C++ inher-intro when there's a template split over 2 lines.
9403 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9404 rigorously the search for "class" etc. followed by ":".
9406 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9407 random languages a regexp which never matches rather than nil.
9409 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9411 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9412 (c-awk-regexp-one-line-possibly-open-char-list-re)
9413 (c-awk-one-line-possibly-open-regexp-re)
9414 (c-awk-one-line-non-syn-ws*-re): Remove.
9415 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9416 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9417 (c-awk-space*-unclosed-regexp-/-re): New constants.
9418 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9419 aren't regexp delimiters.
9421 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9422 handling for a rare situation in AWK Mode involving unterminated
9425 2013-08-23 Glenn Morris <rgm@gnu.org>
9427 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9429 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9431 * files.el (create-file-buffer): If the result would begin with
9432 spaces, prepend a "|" instead of removing them. (Bug#15162)
9434 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9436 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9437 text-properties (bug#15155).
9439 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9441 (calc-keypad-redraw): Remove unused var `pad'.
9442 (calc-keypad-press): Remove unused var `menu'.
9444 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9446 * window.el (display-buffer-pop-up-frame):
9447 Call pop-up-frame-function with BUFFER current so `make-frame' will
9448 use it as the new frame's buffer (Bug#15133).
9450 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * calendar/timeclock.el: Minor cleanups.
9453 (timeclock-ask-before-exiting, timeclock-use-display-time):
9455 (timeclock-modeline-display): Define as alias before the
9457 (timeclock-mode-line-display): Use define-minor-mode.
9458 (timeclock-day-list-template): Make it a function, add an argument.
9459 (timeclock-day-list-required, timeclock-day-list-length)
9460 (timeclock-day-list-debt, timeclock-day-list-span)
9461 (timeclock-day-list-break): Adjust calls accordingly.
9463 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9465 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9466 Use read--expression so that completion works again.
9468 2013-08-21 Sam Steingold <sds@gnu.org>
9470 Add rudimentary inferior shell interaction
9471 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9472 (sh-set-shell): Reset it.
9473 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9474 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9476 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9478 * align.el: Use lexical-binding.
9479 (align-region): Simplify accordingly.
9481 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9483 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9485 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9488 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9492 * net/tramp-cmds.el:
9494 * net/tramp-gvfs.el:
9496 * net/tramp-sh.el: Don't wrap external variable declarations by
9497 `eval-when-compile'.
9499 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9501 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9502 now that Emacs supports ImageMagick animations.
9504 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9506 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9507 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9509 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9511 * window.el (mouse-autoselect-window-select): Do autoselect when
9512 mouse pointer is on margin.
9514 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9516 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9518 2013-08-16 Glenn Morris <rgm@gnu.org>
9520 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9521 Handle "Remote Directory" response of some clients. (Bug#15058)
9523 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9524 Tweak warning. (Bug#14926)
9526 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9527 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9529 * image-mode.el (image-mode-map): Add menu items to reverse,
9530 increase, decrease, reset animation speed.
9531 (image--set-speed, image-increase-speed, image-decrease-speed)
9532 (image-reverse-speed, image-reset-speed): New functions.
9533 (image-mode-map): Add bindings for speed commands.
9535 * image.el (image-animate-get-speed, image-animate-set-speed):
9537 (image-animate-timeout): Respect image :speed property.
9539 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9541 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9542 previous line (bug#15101).
9543 (debugger-eval-expression, debugger-record-expression):
9544 Use read--expression (bug#15102).
9546 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9548 Remove byte compiler warnings, visible when compiling with
9549 `byte-compile-force-lexical-warnings' set to t.
9551 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9552 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9553 (tramp-handle-unhandled-file-name-directory)
9554 (tramp-handle-file-notify-add-watch, tramp-action-login)
9555 (tramp-action-succeed, tramp-action-permission-denied)
9556 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9559 * net/tramp-adb.el (tramp-adb-parse-device-names)
9560 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9561 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9562 (tramp-adb-handle-file-truename): Remove unused arguments.
9564 * net/tramp-cache.el (tramp-flush-directory-property)
9565 (tramp-flush-connection-property, tramp-list-connections)
9566 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9568 * net/tramp-compat.el (tramp-compat-make-temp-file):
9569 Rename FILENAME to F.
9571 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9572 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9573 (tramp-zeroconf-parse-workstation-device-names)
9574 (tramp-zeroconf-parse-webdav-device-names)
9575 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9577 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9578 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9580 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9582 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9583 (tramp-sh-handle-insert-file-contents-literally)
9584 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9586 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9587 Remove unused variables.
9589 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9590 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9591 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9593 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9594 Make them a defconst.
9595 (tramp-uuencode-region): Remove unused variable.
9597 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9599 * frameset.el (frameset--prop-setter): New function.
9600 (frameset-prop): Add gv-setter declaration.
9601 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9602 parameter was already set in FILTERED. Doc fix.
9603 (frameset--record-minibuffer-relationships): Allow saving a
9604 minibufferless frame without its corresponding minibuffer frame.
9605 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9606 frame, if the frame id matches.
9607 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9608 frames before orphaned ones.
9609 (frameset-restore): Warn about orphaned windows, instead of error out.
9611 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9613 * window.el (window-make-atom): Don't overwrite parameter
9615 (display-buffer-in-atom-window): Handle special case where we
9616 split an already atomic window.
9617 (window--major-non-side-window, display-buffer-in-side-window)
9618 (window--side-check): Ignore minibuffer window when walking
9620 (window-deletable-p): Return 'frame only if no other frame uses
9621 our minibuffer window.
9622 (record-window-buffer): Run buffer-list-update-hook.
9623 (split-window): Make sure window--check-frame won't destroy an
9624 existing atomic window in case the new window gets nested
9626 (display-buffer-at-bottom): Ignore minibuffer window when
9627 walking window tree. Don't split a side window.
9628 (pop-to-buffer): Don't set-buffer here, the select-window call
9630 (mouse-autoselect-window-select): Autoselect only if we are in the
9631 text portion of the window.
9633 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635 * net/shr.el (shr-parse-image-data): New function to grab both the
9636 data itself and the Content-Type.
9637 (shr-put-image): Use it.
9639 * net/eww.el (eww-display-image): Ditto.
9641 * image.el (image-content-type-suffixes): New variable.
9643 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9645 * progmodes/python.el (python-imenu--build-tree)
9646 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9648 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9650 * simple.el (backward-word): Mention the optional argument.
9652 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9654 * frameset.el (frameset--make): Rename constructor from make-frameset.
9655 (frameset-p, frameset-valid-p): Don't autoload.
9656 (frameset-valid-p): Use normal accessors.
9658 2013-08-13 Glenn Morris <rgm@gnu.org>
9660 * progmodes/compile.el (compile-command): Tweak example in doc.
9661 * obsolete/scribe.el (scribe-mode):
9662 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9664 * mail/feedmail.el (feedmail-confirm-outgoing)
9665 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9667 * cus-start.el (truncate-partial-width-windows): Fix type.
9669 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9671 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9673 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9675 * emacs-lisp/timer.el (timer--time-setter): New function.
9676 (timer--time): Use it as gv-setter.
9678 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9679 setter is not a symbol.
9681 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9683 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9684 if sending fails. This makes debugging easier.
9686 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9688 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9689 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9690 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9692 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9694 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9696 2013-08-12 Glenn Morris <rgm@gnu.org>
9698 * format.el (format-annotate-function):
9699 Handle read-only text properties in the source. (Bug#14887)
9701 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9703 * net/eww.el (eww-display-html): Ignore coding system errors.
9704 One web site uses "utf-8lias" as the coding system.
9706 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9708 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9710 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9712 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9713 (tutorial--detailed-help): Remove unused local variables.
9714 (tutorial--save-tutorial-to): Use ignore-errors.
9715 (help-with-tutorial): Use looking-at-p.
9717 * view.el (view-buffer-other-window, view-buffer-other-frame):
9718 Mark unused arguments.
9720 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9721 (woman-select-symbol-fonts, woman, woman-find-file)
9722 (woman-insert-file-contents, woman-non-underline-faces):
9724 (woman1-unquote): Move declaration.
9726 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9727 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9728 argument. Remove unused local variable.
9729 (xml-parse-elem-type): Use string-match-p.
9730 (xml-substitute-numeric-entities): Use ignore-errors.
9732 * calculator.el (calculator): Mark unused argument.
9733 (calculator-paste, calculator-quit, calculator-integer-p):
9735 (calculator-string-to-number, calculator-decimal, calculator-exp)
9736 (calculator-op-or-exp): Use string-match-p.
9738 * dired.el (dired-buffer-more-recently-used-p): Declare.
9739 (dired-insert-set-properties, dired-insert-old-subdirs):
9742 * dired-aux.el (dired-compress): Use ignore-errors.
9743 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9744 (dired-do-async-shell-command, dired-do-shell-command)
9745 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9746 (dired-insert-subdir-validate): Use string-match-p.
9747 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9748 (dired-add-entry): Use string-match-p, looking-at-p.
9749 (dired-insert-subdir-newpos): Remove unused local variable.
9751 * filenotify.el (file-notify-callback): Remove unused local variable.
9753 * filesets.el (filesets-error): Mark unused argument.
9754 (filesets-which-command-p, filesets-filter-dir-names)
9755 (filesets-directory-files, filesets-get-external-viewer)
9756 (filesets-ingroup-get-data): Use string-match-p.
9758 * find-file.el (ff-other-file-name, ff-other-file-name)
9759 (ff-find-the-other-file, ff-cc-hh-converter):
9760 Remove unused local variables.
9761 (ff-get-file-name): Use string-match-p.
9762 (ff-all-dirs-under): Use ignore-errors.
9764 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9765 (follow-select-if-visible): Remove unused local variable.
9767 * forms.el (read-file-filter): Move declaration.
9768 (forms--make-format, forms--make-parser, forms-insert-record):
9769 Quote function with #'.
9770 (forms--update): Use string-match-p. Quote function with #'.
9772 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9773 (help-make-xrefs): Use looking-at-p.
9774 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9776 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9777 (ibuffer-confirm-operation-on): Use string-match-p.
9779 * msb.el (msb-item-handler, msb-dired-item-handler):
9780 Mark unused arguments.
9782 * ses.el (ses-decode-cell-symbol)
9783 (ses-kill-override): Remove unused local variable.
9784 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9785 (ses-load): Use ignore-errors, looking-at-p.
9786 (ses-jump-safe): Use ignore-errors.
9787 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9789 * tabify.el (untabify, tabify): Mark unused arguments.
9791 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9792 Mark unused argument.
9793 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9794 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9796 * emacs-lisp/timer.el (timer--time): Define setter with
9797 gv-define-setter to avoid deprecation warning.
9799 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9800 (*record-cmpl-statistics-p*): Remove (was commented out).
9801 (cmpl-statistics-block): Remove (body was commented out).
9802 All callers changed.
9803 (add-completions-from-buffer, load-completions-from-file):
9804 Remove unused variables.
9806 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9808 * filecache.el (file-cache-delete-file-list):
9809 Print message only when told so.
9810 (file-cache-files-matching): Use #' in mapconcat argument.
9812 * ffap.el (ffap-url-at-point): Fix reference to variable
9813 thing-at-point-default-mail-uri-scheme.
9815 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9817 * subr.el (define-error): New function.
9818 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9819 error-file-not-found and define with define-error.
9820 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9821 and define with define-error.
9822 * userlock.el (file-locked, file-supersession):
9823 * simple.el (mark-inactive):
9824 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9825 * progmodes/ada-mode.el (ada-mode-errors):
9826 * play/life.el (life-extinct):
9827 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9828 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9829 * nxml/rng-util.el (rng-error):
9830 * nxml/rng-uri.el (rng-uri-error):
9831 * nxml/rng-match.el (rng-compile-error):
9832 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9833 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9834 * nxml/nxml-rap.el (nxml-scan-error):
9835 * nxml/nxml-outln.el (nxml-outline-error):
9836 * net/soap-client.el (soap-error):
9837 * net/gnutls.el (gnutls-error):
9838 * net/ange-ftp.el (ftp-error):
9839 * mpc.el (mpc-proc-error):
9840 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9841 (json-number-format, json-string-escape, json-string-format)
9842 (json-key-format, json-object-format):
9843 * jka-compr.el (compression-error):
9844 * international/quail.el (quail-error):
9845 * international/kkc.el (kkc-error):
9846 * emacs-lisp/ert.el (ert-test-failed):
9847 * calc/calc.el (calc-error, inexact-result, math-overflow)
9849 * bookmark.el (bookmark-error-no-filename):
9850 * epg.el (epg-error): Define with define-error.
9852 * time.el (display-time-event-handler)
9853 (display-time-next-load-average): Don't call sit-for since it seems
9854 unnecessary (bug#15045).
9856 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9857 Use #' instead of ' to quote functions.
9858 (checkdoc-output-mode): Use setq-local.
9859 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9860 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9861 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9862 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9863 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9864 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9865 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9866 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9868 * ido.el (ido-completion-help): Fix up compiler warning.
9870 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9872 * frameset.el (frameset-p): Add autoload cookie.
9873 (frameset--jump-to-register): New function, based on code moved from
9875 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9877 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9878 (frameset-restore, frameset-save, frameset-session-filter-alist):
9879 Remove declarations.
9880 (register-alist): Doc fix.
9881 (frameset-to-register): Move to frameset.el.
9882 (jump-to-register, describe-register-1): Remove frameset-specific code.
9884 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9886 * allout-widgets.el (allout-widgets-pre-command-business)
9887 (allout-widgets-post-command-business)
9888 (allout-widgets-after-change-handler)
9889 (allout-decorate-item-and-context, allout-set-boundary-marker)
9890 (allout-body-modification-handler)
9891 (allout-graphics-modification-handler): Mark ignored arguments.
9892 (allout-widgets-post-command-business)
9893 (allout-widgets-exposure-change-processor)
9894 (allout-widgets-exposure-undo-processor)
9895 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9896 (allout-parse-item-at-point, allout-decorate-item-guides)
9897 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9898 * allout.el (epa-passphrase-callback-function): Declare.
9899 (allout-overlay-insert-in-front-handler)
9900 (allout-overlay-interior-modification-handler)
9901 (allout-isearch-end-handler, allout-chart-siblings)
9902 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9903 (allout-yank-processing, allout-process-exposed)
9904 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9905 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9906 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9907 (lisp-indent-defform): Mark ignored arguments.
9908 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9909 (calculate-lisp-indent): Remove unused variables.
9910 * international/characters.el (indian-2-column, arabic-2-column)
9911 (tibetan): Mark ignored arguments.
9912 (use-cjk-char-width-table): Mark ignored arguments.
9913 Remove unused variables.
9914 * international/fontset.el (build-default-fontset-data)
9915 (x-compose-font-name, create-fontset-from-fontset-spec):
9916 Mark ignored arguments.
9917 (fontset-plain-name): Remove unused variables.
9918 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9919 (keyboard-coding-system): Mark ignored arguments.
9920 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9921 * help.el (resize-temp-buffer-window):
9922 * window.el (display-buffer-in-major-side-window)
9923 (display-buffer-in-side-window, display-buffer-in-previous-window):
9924 Remove unused variables.
9925 * isearch.el (isearch-forward-symbol):
9926 * version.el (emacs-bzr-version-bzr):
9927 * international/mule-cmds.el (current-language-environment):
9928 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9930 * term/pc-win.el (x-list-fonts, x-display-planes)
9931 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9932 (x-server-version, x-display-screens, x-display-mm-height)
9933 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9934 (x-selection-owner-p, x-own-selection-internal)
9935 (x-disown-selection-internal, x-get-selection-internal)
9936 (msdos-initialize-window-system):
9937 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9938 * term/x-win.el (x-handle-no-bitmap-icon):
9939 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9940 (vc-default-find-file-hook, vc-default-extra-menu):
9941 Mark ignored arguments.
9943 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9946 break-condition in the context of the debugged code (bug#12685).
9948 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9951 Do not use an overlay to highlight the last prompt. (Bug#14744)
9952 (comint-mode): Make comint-last-prompt buffer local.
9953 (comint-last-prompt): New variable.
9954 (comint-last-prompt-overlay): Remove. Superseded by
9956 (comint-snapshot-last-prompt, comint-output-filter):
9957 Use comint-last-prompt.
9959 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9961 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9962 (frameset-save): Check validity of the resulting frameset.
9964 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9966 * ido.el (ido-record-command): Add doc string.
9968 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9970 * frameset.el (frameset): Do not disable creation of the default
9971 frameset-p predicate. Doc fix.
9972 (frameset-valid-p): New function, copied from the old predicate-p.
9973 Add additional checks.
9974 (frameset-restore): Check with frameset-valid-p.
9975 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9976 (frameset-name, frameset-description, frameset-properties)
9977 (frameset-states): Add docstring.
9978 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9979 (frameset-filter-alist): Doc fixes.
9981 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9983 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9985 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9988 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9989 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9990 (byte-compile-normal-call): Remove obsolescence check.
9992 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9994 * frameset.el (frameset-restore): Doc fix.
9996 * register.el (frameset-frame-id, frameset-frame-with-id)
9997 (frameset-p, frameset-restore, frameset-save): Declare.
9998 (register-alist): Document framesets.
9999 (frameset-session-filter-alist): Declare.
10000 (frameset-to-register): New function.
10001 (jump-to-register): Implement jumping to framesets. Doc fix.
10002 (describe-register-1): Describe framesets.
10004 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10006 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10008 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10009 Use lexical-binding.
10011 * frameset.el (frameset): Use type vector, not list (incompatible
10012 change). Do not declare a new constructor, use the default one.
10013 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10014 `name' and `description', respectively, and add read-only slot
10015 `timestamp'. Doc fixes.
10016 (frameset-copy, frameset-persistent-filter-alist)
10017 (frameset-filter-alist, frameset-switch-to-gui-p)
10018 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10019 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10020 (frameset-filter-iconified, frameset-keep-original-display-p):
10022 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10023 Rename from frameset-filter-(save|restore)-param. All callers changed.
10025 (frameset-p): Adapt to change to vector and be more thorough.
10026 Change arg name to OBJECT. Doc fix.
10027 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10028 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10029 All callers changed.
10030 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10031 All callers changed.
10032 (frameset--record-minibuffer-relationships): Rename from
10033 frameset--process-minibuffer-frames. All callers changed.
10034 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10035 Use new default constructor (again). Doc fix.
10036 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10037 All callers changed.
10038 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10039 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10041 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10042 PARAMETERS and WINDOW-STATE, respectively.
10043 (frameset-restore): Add new keyword argument PREDICATE.
10044 Reset frameset--target-display to nil. Doc fix.
10046 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10048 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10049 (bat-mode): Use it.
10050 (bat-mode-syntax-table): Mark \n as end-of-comment.
10051 (bat-font-lock-keywords): Remove comment rule.
10053 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10054 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10056 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10057 (byte-compile-callargs-warn): Use `push'.
10058 (byte-compile-arglist-warn): Ignore higher-order "calls".
10059 (byte-compile-file-form-autoload): Use `pcase'.
10060 (byte-compile-function-form): If quoting a symbol, check that it exists.
10062 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10064 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10065 and add a few popular commands found in batch files.
10066 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10067 (dos-mode): Doc fixes.
10069 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10071 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10072 (dos-mode): Use setq-local. Add space after "rem".
10073 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10074 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10076 2013-08-07 Arni Magnusson <arnima@hafro.is>
10078 * progmodes/dos.el: New file.
10079 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10082 2013-08-06 Glenn Morris <rgm@gnu.org>
10084 * calendar/calendar.el: Add new faces, and day-header-array.
10085 (calendar-weekday-header, calendar-weekend-header)
10086 (calendar-month-header): New faces.
10087 (calendar-day-header-construct): New function.
10088 (calendar-day-header-width): Also :set calendar-day-header-array.
10089 (calendar-american-month-header, calendar-european-month-header)
10090 (calendar-iso-month-header): Use calendar- faces.
10091 (calendar-generate-month):
10092 Use calendar-day-header-array for day headers; apply faces to them.
10093 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10094 (calendar-abbrev-construct): Add optional maxlen argument.
10095 (calendar-day-name-array): Doc fix.
10096 (calendar-day-name-array, calendar-abbrev-length)
10097 (calendar-day-abbrev-array):
10098 Also :set calendar-day-header-array, and maybe redraw.
10099 (calendar-day-header-array): New option. (Bug#15007)
10100 (calendar-font-lock-keywords): Set to nil and make obsolete.
10101 (calendar-day-name): Add option to use header array.
10103 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10105 * net/shr.el (shr-render-td): Remove debugging.
10106 (shr-render-td): Make width computation consistent by defaulting
10107 all zero-width columns to 10 characters. This may not be optimal,
10108 but it's at least consistent.
10109 (shr-make-table-1): Redo last change to fix the real problem in
10112 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10114 * files.el (cache-long-line-scans):
10115 Make obsolete alias to `cache-long-scans'.
10117 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10119 * frameset.el (frameset, frameset-filter-alist)
10120 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10121 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10122 (frameset-compute-pos): Rename from frameset--compute-pos,
10124 (frameset-move-onscreen): Use frameset-compute-pos.
10125 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10127 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10128 Fix typos in docstrings.
10130 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10132 * frame.el (get-other-frame): Tiny cleanup.
10134 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10136 * vc/vc.el (vc-default-ignore-completion-table):
10137 Silence byte-compiler warning.
10139 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10140 slot, which can indeed be nil.
10141 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10142 Move entry for `left' from persistent to live filter alist.
10143 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10145 (frameset-filter-params): When restoring a frame, copy items added to
10146 `filtered', to avoid unwittingly modifying the original parameters.
10147 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10148 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10150 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10151 to use looking-at-p instead of looking-at. (Bug#15028)
10153 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10155 Revert introduction of isearch-filter-predicates (bug#14714).
10156 Rely on add-function instead.
10157 * isearch.el (isearch-filter-predicates): Rename it back to
10158 isearch-filter-predicate.
10159 (isearch-message-prefix): Use advice-function-mapc and advice
10160 properties to get the isearch-message-prefix.
10161 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10162 instead of run-hook-with-args-until-failure.
10163 (isearch-filter-visible): Not obsolete any more.
10164 * loadup.el: Preload nadvice.
10165 * replace.el (perform-replace): Revert to funcall
10166 instead of run-hook-with-args-until-failure.
10167 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10168 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10169 dired-isearch-filenames-toggle; make it into a proper minor mode.
10170 Use add/remove-function.
10171 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10172 Call the minor-mode rather than add/remove-hook.
10173 (dired-isearch-filter-filenames):
10174 Remove isearch-message-prefix property.
10175 * info.el (Info--search-loop): New function, extracted from Info-search.
10176 Funcall isearch-filter-predicate instead of
10177 run-hook-with-args-until-failure isearch-filter-predicates.
10178 (Info-search): Use it.
10179 (Info-mode): Use isearch-filter-predicate instead of
10180 isearch-filter-predicates.
10182 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10184 Do not call to `selected-window' where it is assumed by default.
10185 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10186 `window-hscroll', `window-width', `window-height', `window-buffer',
10187 `window-frame', `window-start', `window-point', `next-window'
10188 and `window-display-table'.
10189 * abbrev.el (abbrev--default-expand):
10190 * bs.el (bs--show-with-configuration):
10191 * buff-menu.el (Buffer-menu-mouse-select):
10192 * calc/calc.el (calc):
10193 * calendar/calendar.el (calendar-generate-window):
10194 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10195 (diary-make-entry):
10196 * comint.el (send-invisible, comint-dynamic-complete-filename)
10197 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10198 * completion.el (complete):
10199 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10200 * disp-table.el (describe-current-display-table):
10201 * doc-view.el (doc-view-insert-image):
10202 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10203 * ehelp.el (with-electric-help):
10204 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10205 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10206 * emacs-lisp/helper.el (Helper-help-scroller):
10207 * emulation/cua-base.el (cua--post-command-handler-1):
10208 * eshell/esh-mode.el (eshell-output-filter):
10209 * ffap.el (ffap-gnus-wrapper):
10210 * help-macro.el (make-help-screen):
10211 * hilit-chg.el (highlight-compare-buffers):
10212 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10213 * hl-line.el (global-hl-line-highlight):
10214 * icomplete.el (icomplete-simple-completing-p):
10215 * isearch.el (isearch-done):
10216 * jit-lock.el (jit-lock-stealth-fontify):
10217 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10218 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10219 * mpc.el (mpc-tagbrowser, mpc):
10220 * net/rcirc.el (rcirc-any-buffer):
10221 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10222 * play/landmark.el (landmark-max-width, landmark-max-height):
10223 * play/zone.el (zone):
10224 * progmodes/compile.el (compilation-goto-locus):
10225 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10226 * progmodes/etags.el (find-tag-other-window):
10227 * progmodes/fortran.el (fortran-column-ruler):
10228 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10229 * progmodes/verilog-mode.el (verilog-point-text):
10230 * reposition.el (reposition-window):
10231 * rot13.el (toggle-rot13-mode):
10232 * server.el (server-switch-buffer):
10233 * shell.el (shell-dynamic-complete-command)
10234 (shell-dynamic-complete-environment-variable):
10235 * simple.el (insert-buffer, set-selective-display)
10236 (delete-completion-window):
10237 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10238 (speedbar-recenter):
10239 * startup.el (fancy-splash-head):
10240 * textmodes/ispell.el (ispell-command-loop):
10241 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10242 * tutorial.el (help-with-tutorial):
10243 * vc/add-log.el (add-change-log-entry):
10244 * vc/compare-w.el (compare-windows):
10245 * vc/ediff-help.el (ediff-indent-help-message):
10246 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10247 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10248 (ediff-setup-control-frame):
10249 * vc/emerge.el (emerge-position-region):
10250 * vc/pcvs-util.el (cvs-bury-buffer):
10251 * window.el (walk-windows, mouse-autoselect-window-select):
10252 * winner.el (winner-set-conf, winner-undo): Related users changed.
10254 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10256 * frameset.el (frameset--set-id): Doc fix.
10257 (frameset-frame-id, frameset-frame-id-equal-p)
10258 (frameset-locate-frame-id): New functions.
10259 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10260 (frameset-restore): Use them.
10262 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10264 Do not call to `selected-frame' where it is assumed by default.
10265 Affected functions are `raise-frame', `redraw-frame',
10266 `frame-first-window', `frame-terminal' and `delete-frame'.
10267 * calendar/appt.el (appt-disp-window):
10268 * epg.el (epg-wait-for-completion):
10269 * follow.el (follow-delete-other-windows-and-split)
10270 (follow-avoid-tail-recenter):
10271 * international/mule.el (set-terminal-coding-system):
10272 * mail/rmail.el (rmail-mail-return):
10273 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10274 * progmodes/f90.el (f90-add-imenu-menu):
10275 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10276 * server.el (server-switch-buffer):
10277 * simple.el (delete-completion-window):
10279 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10280 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10281 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10282 * vc/ediff.el (ediff-documentation): Related users changed.
10283 * frame.el (selected-terminal): Remove the leftover.
10285 2013-08-05 Glenn Morris <rgm@gnu.org>
10287 * calendar/calendar.el (calendar-generate-month):
10288 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10289 (calendar-generate-month, calendar-font-lock-keywords):
10290 Fix for calendar-day-header-width > length of any day name.
10292 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10294 * desktop.el (desktop-clear): Use new name of sort predicate.
10296 * frameset.el (frameset): Add docstring. Move :version property to its
10297 own `version' slot.
10298 (frameset-copy): Rename from copy-frameset.
10299 (frameset-p): Check more thoroughly.
10300 (frameset-prop): Do not check for :version, which is no longer a prop.
10301 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10302 Use new :never value instead of t.
10303 (frameset-filter-alist): Expand and clarify docstring.
10304 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10305 (frameset-filter-minibuffer, frameset-filter-save-param)
10306 (frameset-filter-restore-param, frameset-filter-iconified):
10307 Add pointer to docstring of frameset-filter-alist.
10308 (frameset-filter-params): Rename filter values to be more meaningful:
10309 :never instead of t, and reverse the meanings of :save and :restore.
10310 (frameset--process-minibuffer-frames): Clarify error message.
10311 (frameset-save): Avoid unnecessary and confusing call to framep.
10312 Use new BOA constructor for framesets.
10313 (frameset--reuse-list): Doc fix.
10314 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10315 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10316 (frameset-minibufferless-first-p): Doc fix.
10317 Rename from frameset-sort-frames-for-deletion.
10318 (frameset-restore): Doc fixes. Use new function names.
10319 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10321 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10323 * desktop.el (desktop-restore-forces-onscreen)
10324 (desktop-restore-reuses-frames): Document :keyword constant values.
10325 (desktop-filter-parameters-alist): Remove, now identical to
10326 frameset-filter-alist.
10327 (desktop--filter-tty*): Remove, moved to frameset.el.
10328 (desktop-save-frameset, desktop-restore-frameset):
10329 Do not pass :filters argument.
10331 * frameset.el (frameset-live-filter-alist)
10332 (frameset-persistent-filter-alist): New variables.
10333 (frameset-filter-alist): Use them. Add autoload cookie.
10334 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10335 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10336 `frameset--id' (it's supposed to be internal to frameset.el).
10337 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10338 (frameset--initial-params): New function.
10339 (frameset--get-frame): Use it. Doc fix.
10340 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10341 Accept :all, not 'all.
10342 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10343 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10344 with fbound symbols. Fix frame id matching, and remove matching ids if
10345 the frame being restored is deleted. Obey :delete.
10347 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * subr.el (macrop): New function.
10350 (text-clone--maintaining): New var.
10351 (text-clone--maintain): Rename from text-clone-maintain. Use it
10352 instead of inhibit-modification-hooks.
10354 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10355 a proxy, so as handle autoloads and redefinitions of the target.
10356 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10358 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10359 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10360 (pcase--mutually-exclusive-p): New function.
10361 (pcase--split-consp): Use it.
10362 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10363 mutually exclusive with the current predicate.
10365 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10366 (edebug-macrop): Remove. Use `macrop' instead.
10367 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10369 * eshell/esh-cmd.el (eshell-macrop):
10370 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10372 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10374 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10375 (advice-mapc): New function, using it.
10376 (advice-function-member-p): New function.
10377 (advice--normalize): Store the cdr in advice--saved-rewrite since
10378 that's the part that will be changed.
10379 (advice--symbol-function): New function.
10380 (advice-remove): Handle removal before the function is defined.
10381 Adjust to new advice--saved-rewrite.
10382 (advice-member-p): Use advice-function-member-p and
10383 advice--symbol-function.
10385 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10387 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10388 (frameset-filter-minibuffer): Doc fix.
10389 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10390 (frameset--set-id, frameset--process-minibuffer-frames)
10391 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10392 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10394 * desktop.el (desktop-clear): Only delete frames when called
10395 interactively and desktop-restore-frames is non-nil. Doc fix.
10396 (desktop-read): Set desktop-saved-frameset to nil.
10398 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10400 * vc/vc.el (vc-ignore): Rewrite.
10401 (vc-default-ignore-completion-table, vc--read-lines)
10402 (vc--add-line, vc--remove-regexp): New functions.
10404 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10405 (vc-svn-ignore-completion-table): New function.
10407 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10408 (vc-hg-ignore-completion-table)
10409 (vc-hg-find-ignore-file): New functions.
10411 * vc/vc-git.el (vc-git-ignore): Rewrite.
10412 (vc-git-ignore-completion-table)
10413 (vc-git-find-ignore-file): New functions.
10415 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10417 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10418 (vc-bzr-ignore-completion-table)
10419 (vc-bzr-find-ignore-file): New functions.
10421 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10423 * frameset.el (frameset-prop): New function and setter.
10424 (frameset-save): Do not modify frame list passed by the caller.
10426 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10428 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10430 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10433 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10435 * custom.el (custom-initialize-default, custom-initialize-set)
10436 (custom-initialize-reset, custom-initialize-changed): Affect the
10437 toplevel-default-value (bug#6275, bug#14586).
10438 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10441 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10443 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10444 Add cl-def* expressions.
10446 * frameset.el (frameset-filter-params): Fix order of arguments.
10448 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10450 Move code related to saving frames to frameset.el.
10451 * desktop.el: Require frameset.
10452 (desktop-restore-frames): Doc fix.
10453 (desktop-restore-reuses-frames): Rename from
10454 desktop-restoring-reuses-frames.
10455 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10456 (desktop-clear): Clear frames too.
10457 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10458 (desktop--filter-tty*, desktop-save, desktop-read):
10459 Use frameset functions.
10460 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10461 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10462 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10463 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10464 (desktop--process-minibuffer-frames, desktop-save-frames)
10465 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10466 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10467 (desktop--sort-states, desktop-restoring-frames-p)
10468 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10469 (desktop-restoring-frameset-p, desktop-restore-frameset)
10470 (desktop--check-dont-save, desktop-save-frameset): New functions.
10471 (desktop--app-id): New constant.
10472 (desktop-first-buffer, desktop-buffer-ok-count)
10473 (desktop-buffer-fail-count): Move before first use.
10474 * frameset.el: New file.
10476 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * files.el: Use lexical-binding.
10479 (dir-locals-read-from-file): Remove unused `err' variable.
10480 (hack-dir-local-variables--warned-coding): New var.
10481 (hack-dir-local-variables): Use it to avoid repeated warnings.
10482 (make-backup-file-name--default-function): New function.
10483 (make-backup-file-name-function): Use it as default.
10484 (buffer-stale--default-function): New function.
10485 (buffer-stale-function): Use it as default.
10486 (revert-buffer-insert-file-contents--default-function): New function.
10487 (revert-buffer-insert-file-contents-function): Use it as default.
10488 (insert-directory): Avoid add-to-list.
10490 * autorevert.el (auto-revert-handler): Simplify.
10491 Use buffer-stale--default-function.
10493 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10495 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10497 * whitespace.el (whitespace-ensure-local-variables): New function.
10498 (whitespace-cleanup-region): Call it.
10499 (whitespace-turn-on): Call it.
10501 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10503 Complete file name handlers.
10505 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10506 (tramp-handle-verify-visited-file-modtime)
10507 (tramp-handle-file-notify-rm-watch): New functions.
10508 (tramp-call-process): Do not bind `default-directory'.
10510 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10511 Order alphabetically.
10512 <access-file, add-name-to-file, dired-call-process>:
10513 <dired-compress-file, file-acl, file-notify-rm-watch>:
10514 <file-ownership-preserved-p, file-selinux-context>:
10515 <make-directory-internal, make-symbolic-link, set-file-acl>:
10516 <set-file-selinux-context, set-visited-file-modtime>:
10517 <verify-visited-file-modtime>: Add handler.
10518 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10520 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10521 <file-notify-add-watch, file-notify-rm-watch>:
10522 <set-file-times, set-visited-file-modtime>:
10523 <verify-visited-file-modtime>: Add handler.
10524 (with-tramp-gvfs-error-message)
10525 (tramp-gvfs-handle-set-visited-file-modtime)
10526 (tramp-gvfs-fuse-file-name): Remove.
10527 (tramp-gvfs-handle-file-notify-add-watch)
10528 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10529 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10531 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10532 Order alphabetically.
10533 <file-notify-rm-watch>: Use default Tramp handler.
10534 <executable-find>: Remove private handler.
10535 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10536 `default-directory'.
10537 (tramp-sh-handle-executable-find)
10538 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10539 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10540 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10541 Do not use `format' in `tramp-message'.
10543 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10544 <file-notify-rm-watch, set-visited-file-modtime>:
10545 <verify-visited-file-modtime>: Add handler.
10546 (tramp-smb-call-winexe): Do not bind `default-directory'.
10548 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10550 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10552 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10554 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10556 (log-view-diff-changeset): Same.
10557 (log-view-diff-common): Call backend command `previous-revision'
10558 to find out the previous revision, in both cases. Swap the
10559 variables `to' and `fr', so that `fr' usually refers to the
10560 earlier revision (Bug#14989).
10562 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10564 * ibuf-ext.el (ibuffer-filter-by-filename):
10565 Make it work with dired buffers too.
10567 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10569 * emacs-lisp/re-builder.el (reb-color-display-p):
10570 * files.el (save-buffers-kill-terminal):
10571 * net/browse-url.el (browse-url):
10572 * server.el (server-save-buffers-kill-terminal):
10573 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10574 Prefer nil to selected-frame for the first arg of frame-parameter.
10576 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10578 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10580 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10582 * minibuffer.el (completion--twq-all): Try and preserve each
10583 completion's case choice (bug#14907).
10585 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587 * net/network-stream.el (open-network-stream): Mention the new
10588 :nogreeting parameter.
10589 (network-stream-open-starttls): Use the :nogreeting parameter
10592 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10594 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10595 more natural than popping.
10597 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10598 (shr-urlify): Highlight under mouse.
10600 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10602 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10604 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10606 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10609 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10610 point-min==1. Fix search string. Fix parentheses missing.
10612 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10613 assume point-min==1. Fix search string. Fix parentheses missing.
10615 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10617 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10620 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10622 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10623 initial frame is minibuffer-less. (Bug#14841)
10625 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10627 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10630 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10631 (tramp-maybe-open-connection): Use it.
10633 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10635 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10636 minimal set of parameters passed when creating a frame, because
10637 the minibuffer status of a frame cannot be changed later.
10639 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10641 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10642 replace-regexp-in-string and inadvertent omissions in previous change.
10643 (todo-filter-items): Ensure only file names are comma-separated in
10644 name of filtered items buffer.
10646 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10648 * desktop.el: Optionally force offscreen frames back onscreen.
10649 (desktop-restoring-reuses-frames): New option.
10650 (desktop--compute-pos, desktop--move-onscreen): New functions.
10651 (desktop--make-frame): Use desktop--move-onscreen.
10653 2013-07-27 Alan Mackenzie <acm@muc.de>
10655 Fontify a Java generic method as a function.
10656 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10659 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10661 * calendar/todo-mode.el: Add command to rename todo files.
10662 (todo-rename-file): New command.
10663 (todo-key-bindings-t): Add key binding for it. Change the
10664 bindings of todo-filter-regexp-items(-multifile) to use `x'
10665 instead of `r', since the latter is better suited to the new
10668 2013-07-27 Alan Mackenzie <acm@muc.de>
10670 Make Java try-with-resources statement parse properly.
10671 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10672 (c-block-stmt-1-2-key): New language constants/variables.
10673 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10674 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10675 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10676 with c-block-stmt-1-2-key.
10678 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10680 * desktop.el (desktop--make-frame): Apply most frame parameters after
10681 creating the frame to force (partially or totally) offscreen frames to
10682 be restored as such.
10684 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10686 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10689 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10691 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10692 `base' arg of backtrace-frame.
10694 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10696 * simple.el (list-processes): Doc fix.
10698 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10700 * desktop.el (desktop--select-frame):
10701 Try harder to reuse existing frames.
10703 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10706 (edebug-eval): Use backtrace-eval.
10707 (edebug--display, edebug--recursive-edit): Don't let-bind the
10708 edebug-outer-* vars that keep track of variables we locally let-bind.
10709 (edebug-outside-excursion): Don't restore outside values of locally
10711 (edebug--display): Use user-error.
10712 (cl-lexical-debug, cl-debug-env): Remove.
10714 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10716 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10717 are restored to be sure that they are visible before deleting any
10720 2013-07-26 Matthias Meulien <orontee@gmail.com>
10722 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10723 vc-print-root-log. (Bug#14948)
10725 2013-07-26 Richard Stallman <rms@gnu.org>
10727 Add aliases for encrypting mail.
10728 * epa.el (epa-mail-aliases): New option.
10729 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10730 Bind inhibit-read-only so read-only text doesn't ruin everything.
10731 (epa-mail-default-recipients): New subroutine broken out.
10732 Handle epa-mail-aliases.
10734 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10736 Add support for lexical variables to the debugger's `e' command.
10737 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10738 vars, except for debugger-outer-match-data.
10739 (debugger-frame-number): Move check for "on a function call" from
10740 callers into it. Add `skip-base' argument.
10741 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10742 (debugger-env-macro): Only reset the state stored in non-variables,
10743 i.e. current-buffer and match-data.
10744 (debugger-eval-expression): Rewrite using backtrace-eval.
10745 * subr.el (internal--called-interactively-p--get-frame): Remove.
10746 (called-interactively-p):
10747 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10748 `base' arg of backtrace-frame instead.
10750 2013-07-26 Glenn Morris <rgm@gnu.org>
10752 * align.el (align-regexp): Doc fix. (Bug#14857)
10753 (align-region): Explicit error if subexpression missing/does not match.
10755 * simple.el (global-visual-line-mode):
10756 Do not duplicate the mode lighter. (Bug#14858)
10758 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10760 * window.el (display-buffer): In display-buffer bind
10761 split-window-keep-point to t, bug#14829.
10763 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10765 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10766 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10767 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10768 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10769 Change accordingly.
10770 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10771 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10773 2013-07-25 Glenn Morris <rgm@gnu.org>
10775 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10777 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10779 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10780 parameter to modify-frame-parameters if the value has not changed;
10781 this is a workaround for bug#14949.
10782 (desktop--make-frame): On cl-delete-if call, check parameter name,
10783 not full parameter.
10785 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10787 * vc/vc.el (vc-ignore): New function.
10789 * vc/vc-svn.el (vc-svn-ignore): New function.
10791 * vc/vc-hg.el (vc-hg-ignore): New function.
10793 * vc/vc-git.el (vc-git-ignore): New function.
10795 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10796 (vc-dir-ignore): New function.
10798 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10799 (cvs-append-to-ignore): Move here from pcvs.el.
10801 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10803 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10805 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10807 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10808 (desktop-restore-frames): Warn when deleting an existing frame failed.
10810 2013-07-24 Glenn Morris <rgm@gnu.org>
10812 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10814 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10816 * filenotify.el (file-notify-supported-p):
10817 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10820 * autorevert.el (auto-revert-use-notify)
10821 (auto-revert-notify-add-watch):
10822 * net/tramp.el (tramp-file-name-for-operation):
10823 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10824 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10825 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10826 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10827 Remove `file-notify-supported-p' entry.
10829 2013-07-24 Glenn Morris <rgm@gnu.org>
10831 * printing.el: Replace all uses of deleted ps-windows-system,
10832 ps-lp-system, ps-flatten-list with lpr- versions.
10834 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10836 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10837 checked with memq (bug#14935).
10839 * files.el (revert-buffer-function): Use a non-nil default.
10840 (revert-buffer-preserve-modes): Declare var to
10841 provide access to the `preserve-modes' argument.
10842 (revert-buffer): Let-bind it.
10843 (revert-buffer--default): New function, extracted from revert-buffer.
10845 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * lpr.el: Signal print errors more prominently.
10848 (print-region-function): Don't default to nil.
10849 (lpr-print-region): New function, extracted from print-region-1.
10850 Check lpr's return value and signal an error in case of problem.
10851 (print-region-1): Use it.
10852 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10854 (ps-printer-name): Default to nil.
10855 (ps-printer-name-option): Default to lpr-printer-switch.
10856 (ps-print-region-function): Don't default to nil.
10857 (ps-postscript-code-directory): Simplify default.
10858 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10859 (ps-string-list, ps-eval-switch, ps-flatten-list)
10860 (ps-flatten-list-1): Remove.
10861 (ps-multibyte-buffer): Avoid setq.
10862 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10863 (print-region-function, ps-print-region-function): Don't set them here.
10865 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10867 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10868 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10869 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10870 (ido-decorations): Doc fix.
10872 * ansi-color.el: Fix old URL.
10874 2013-07-23 Michael R. Mauger <michael@mauger.com>
10876 * progmodes/sql.el: Version 3.3
10877 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10878 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10879 (sql-interactive-remove-continuation-prompt): Rewrite, use
10880 functions above. Fix continuation prompt and complete output line
10882 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10883 redirected output buffer.
10884 (sql-mode): Restore deleted code (Bug#13591).
10886 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10888 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10890 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10892 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10894 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10895 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10896 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10898 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10900 * desktop.el (desktop-clear): Simplify; remove useless checks
10901 against invalid buffer names.
10902 (desktop-list*): Use cl-list*.
10903 (desktop-buffer-info, desktop-create-buffer): Simplify.
10905 2013-07-23 Leo Liu <sdl.web@gmail.com>
10907 * bookmark.el (bookmark-make-record): Restore NAME as a default
10910 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10912 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10913 extracted from autoload--insert-text.
10914 (autoload--insert-text): Remove.
10915 (autoload--print-cookie-text): New function, extracted from
10916 autoload--insert-cookie-text.
10917 (autoload--insert-cookie-text): Remove.
10918 (autoload-generate-file-autoloads): Adjust calls accordingly.
10920 * winner.el (winner-hook-installed-p): Remove.
10921 (winner-mode): Simplify accordingly.
10923 * subr.el (add-to-list): Fix compiler-macro when `append' is
10924 not constant. Don't use `cl-member' for the base case.
10926 * progmodes/subword.el: Fix boundary case (bug#13758).
10927 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10929 (subword-backward-regexp): Make it a constant.
10930 (subword-forward-internal): Don't treat a trailing capital as the
10931 beginning of a word.
10933 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10935 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10936 global value of tabulated-list-revert-hook (bug#14930).
10938 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10940 * desktop.el: Require 'cl-lib.
10941 (desktop-before-saving-frames-functions): New hook.
10942 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10943 for frames being saved. Rename from desktop--save-minibuffer-frames.
10944 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10945 Do not save frames with non-nil `desktop-dont-save' parameter.
10946 Filter out deleted frames.
10947 (desktop--find-frame): Use cl-find-if.
10948 (desktop--select-frame): Use cl-(first|second|third) to access values
10950 (desktop--make-frame): Use cl-delete-if.
10951 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10952 (desktop-restore-frames): Use cl-(first|second|third) to access values
10953 of desktop-mini. Look for visible frame at the end, not while
10956 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10957 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10958 Use string-match-p, looking-at-p (bug#14927).
10960 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10962 * desktop.el (desktop-saved-frame-states):
10963 Rename from desktop--saved-states; all users changed.
10964 (desktop-save-frames): Rename from desktop--save-frames.
10965 Do not save state to desktop file.
10966 (desktop-save): Save desktop-saved-frame-states to desktop file
10968 (desktop-restoring-frames-p): New function.
10969 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10970 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10971 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10973 * desktop.el: Correctly restore iconified frames.
10974 (desktop--filter-iconified-position): New function.
10975 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10977 2013-07-20 Glenn Morris <rgm@gnu.org>
10979 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10980 Let `message' do the formatting.
10981 (def-gdb-preempt-display-buffer): Add explicit format.
10983 * image-dired.el (image-dired-track-original-file):
10984 Use with-current-buffer.
10985 (image-dired-track-thumbnail): Use with-current-buffer.
10986 Avoid changing point of wrong window.
10988 * image-dired.el (image-dired-track-original-file):
10989 Avoid changing point of wrong window. (Bug#14909)
10991 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10993 * progmodes/gdb-mi.el (gdb-done-or-error):
10994 Guard against "%" in gdb output. (Bug#14127)
10996 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10998 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11001 * international/mule.el (coding-system-iso-2022-flags): Fix last
11004 2013-07-20 Kenichi Handa <handa@gnu.org>
11006 * international/mule.el (coding-system-iso-2022-flags):
11007 Add `8-bit-level-4'. (Bug#8522)
11009 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11011 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11014 * net/eww.el (eww-process-text-input): Allow inputting when the
11015 point is at the start of the line, as the properties aren't
11018 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11021 2013-07-19 Richard Stallman <rms@gnu.org>
11023 * epa.el (epa-popup-info-window): Doc fix.
11025 * subr.el (split-string): New arg TRIM.
11027 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11029 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11030 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11032 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11034 * filenotify.el (file-notify--library): Rename from
11035 `file-notify-support'. Do not autoload. Adapt all uses.
11036 (file-notify-supported-p): New defun.
11038 * autorevert.el (auto-revert-use-notify):
11039 Use `file-notify-supported-p' instead of `file-notify-support'.
11041 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11043 * net/tramp.el (tramp-file-name-for-operation):
11044 Add `file-notify-supported-p'.
11046 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11048 (tramp-sh-file-name-handler-alist): Add it as handler for
11049 `file-notify-supported-p '.
11051 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11053 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11054 Add `ignore' as handler for `file-notify-*' functions.
11056 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11058 * simple.el (line-move-partial, line-move): Don't start vscroll or
11059 scroll-up if the current line is not taller than the window.
11062 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11065 highlight question marks in the method names as strings.
11066 (ruby-block-beg-keywords): Inline.
11067 (ruby-font-lock-keyword-beg-re): Extract from
11068 `ruby-font-lock-keywords'.
11070 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11072 * frame.el (blink-cursor-blinks): New defcustom.
11073 (blink-cursor-blinks-done): New defvar.
11074 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11075 (blink-cursor-timer-function): Check if number of blinks has been
11077 (blink-cursor-suspend, blink-cursor-check): New defuns.
11079 2013-07-15 Glenn Morris <rgm@gnu.org>
11081 * edmacro.el (edmacro-format-keys): Fix previous change.
11083 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11085 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11086 The hack didn't work outside English locales anyway.
11088 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11090 * simple.el (define-alternatives): Rename from alternatives-define,
11091 per RMS' suggestion.
11093 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11095 * desktop.el (desktop-restore-frames): Change default to t.
11096 (desktop-restore-in-current-display): Now offer more options.
11097 (desktop-restoring-reuses-frames): New customization option.
11098 (desktop--saved-states): Doc fix.
11099 (desktop-filter-parameters-alist): New variable, renamed and expanded
11100 from desktop--excluded-frame-parameters.
11101 (desktop--target-display): New variable.
11102 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11103 (desktop--filter-tty*, desktop--filter-*-color)
11104 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11105 (desktop--filter-save-desktop-parm)
11106 (desktop-restore-in-original-display-p): New functions.
11107 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11108 (desktop--save-minibuffer-frames): New function, inspired by a similar
11109 function from Martin Rudalics.
11110 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11111 (desktop--restore-in-this-display-p): Remove.
11112 (desktop--find-frame): Rename from desktop--find-frame-in-display
11113 and add predicate argument.
11114 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11115 (desktop--reuse-list): New variable.
11116 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11118 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11120 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11122 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11124 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11127 Highlight conversion methods on Kernel.
11129 2013-07-13 Alan Mackenzie <acm@muc.de>
11131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11132 and comment it out. This out-commenting enables certain C++
11133 declarations to be parsed correctly.
11135 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11137 * international/mule.el (define-coding-system): Doc fix.
11139 * simple.el (default-font-height): Don't call font-info if the
11140 frame's default font didn't change since the frame was created.
11143 2013-07-13 Leo Liu <sdl.web@gmail.com>
11145 * ido.el (ido-read-file-name): Guard against non-symbol value.
11147 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11149 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11152 2013-07-13 Leo Liu <sdl.web@gmail.com>
11154 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11155 ido-set-matches call. (Bug#6852)
11157 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11159 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11160 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11162 (ruby-font-lock-keywords): Distinguish calls to functions with
11163 module-like names from module references. Highlight character
11166 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11168 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11169 (gdb-send): Handle continued commands. (Bug#14847)
11171 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11173 * desktop.el (desktop--v2s): Remove unused local variable.
11174 (desktop-save-buffer): Make defvar-local; adjust docstring.
11175 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11176 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11178 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11180 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11182 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11184 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11187 2013-07-12 Glenn Morris <rgm@gnu.org>
11189 * doc-view.el: Require cl-lib at runtime too.
11190 (doc-view-remove-if): Remove.
11191 (doc-view-search-next-match, doc-view-search-previous-match):
11194 * edmacro.el: Require cl-lib at runtime too.
11195 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11196 (edmacro-mismatch, edmacro-subseq): Remove.
11198 * shadowfile.el: Require cl-lib.
11199 (shadow-remove-if): Remove.
11200 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11203 * wid-edit.el: Require cl-lib.
11204 (widget-choose): Use cl-remove-if.
11205 (widget-remove-if): Remove.
11207 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11208 (ebrowse-delete-if-not): Remove.
11209 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11210 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11211 Use cl-delete-if-not.
11213 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11215 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11216 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11218 2013-07-12 Leo Liu <sdl.web@gmail.com>
11220 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11222 2013-07-11 Glenn Morris <rgm@gnu.org>
11224 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11225 (edebug-gensym-index, edebug-gensym):
11226 Remove reimplementation of cl-gensym.
11227 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11229 * thumbs.el: Require cl-lib at run-time too.
11230 (thumbs-gensym-counter, thumbs-gensym):
11231 Remove reimplementation of cl-gensym.
11232 (thumbs-temp-file): Use cl-gensym.
11234 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11235 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11236 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11237 (ert--union, ert--gensym-counter, ert--gensym-counter)
11238 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11239 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11240 (ert-make-test-unbound, ert--expand-should-1)
11241 (ert--expand-should, ert--should-error-handle-error)
11242 (should-error, ert--explain-equal-rec)
11243 (ert--plist-difference-explanation, ert-select-tests)
11244 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11245 Use cl-lib functions rather than reimplementations.
11247 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11249 * net/tramp.el (tramp-methods): Extend docstring.
11250 (tramp-connection-timeout): New defcustom.
11251 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11252 (with-tramp-progress-reporter): Simplify.
11253 (tramp-process-actions): Improve messages.
11255 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11256 * net/tramp-sh.el (tramp-maybe-open-connection):
11257 Use `tramp-connection-timeout'.
11258 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11261 2013-07-11 Leo Liu <sdl.web@gmail.com>
11263 * ido.el (ido-read-file-name): Conform to the requirements of
11264 read-file-name. (Bug#11861)
11265 (ido-read-directory-name): Conform to the requirements of
11266 read-directory-name.
11268 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11270 * subr.el (delay-warning): New function.
11272 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11274 * simple.el (default-line-height): New function.
11275 (line-move-partial, line-move): Use it instead of computing the
11276 line height inline.
11277 (line-move-partial): Always compute ROWH. If the last line is
11278 partially-visible, but its text is completely visible, allow
11279 cursor to enter such a partially-visible line.
11281 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11283 Improve error messages. (Bug#14808)
11285 * net/tramp.el (tramp-current-connection): New defvar, moved from
11287 (tramp-message-show-progress-reporter-message): Remove, not
11289 (tramp-error-with-buffer): Show message in minibuffer.
11290 Discard input before waiting. Reset connection timestamp.
11291 (with-tramp-progress-reporter): Improve messages.
11292 (tramp-process-actions): Use progress reporter. Delete process in
11293 case of error. Improve messages.
11295 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11296 Call `tramp-error-with-buffer' with vector and buffer.
11297 (tramp-current-connection): Remove.
11298 (tramp-maybe-open-connection): The car of
11299 `tramp-current-connection' are the first 3 slots of the vector.
11301 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11303 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11304 inside continued strings.
11306 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11308 Timestamp fixes for undo (Bug#14824).
11309 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11311 2013-07-10 Leo Liu <sdl.web@gmail.com>
11313 * files.el (require-final-newline): Allow safe local value.
11316 2013-07-09 Leo Liu <sdl.web@gmail.com>
11318 * ido.el (ido-read-directory-name): Handle fallback.
11319 (ido-read-file-name): Update DIR to ido-current-directory.
11321 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11323 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11325 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11326 "autoload". Remove "warn lower camel case" section, previously
11327 commented out. Highlight negation char. Do not highlight the
11328 target in singleton method definitions.
11330 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11332 * faces.el (tty-setup-hook): Declare the hook.
11334 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11335 and detect when a guard/pred depends on local vars (bug#14773).
11336 (pcase--u1): Adjust caller.
11338 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11340 * simple.el (line-move-partial, line-move): Account for
11342 (line-move-partial): Avoid setting vscroll when the last
11343 partially-visible line in window is of default height.
11345 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11347 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11350 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11352 * subr.el (read-quoted-char): Remove unused local variable `char'.
11354 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11356 * ediff.el (ediff-version): Version update.
11357 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11358 (ediff-merge-with-ancestor-command, ediff-directories-command)
11359 (ediff-directories3-command, ediff-merge-directories-command)
11360 (ediff-merge-directories-with-ancestor-command): New functions.
11361 All are command-line interfaces to ediff: to facilitate calling
11362 Emacs with the appropriate ediff functions invoked.
11364 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11365 (viper-save-kill-buffer): Check if buffer is modified.
11367 * viper.el (viper-version): Version update.
11368 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11370 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11372 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11373 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11374 (viper-intercept-ESC-key): Simplify.
11375 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11376 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11377 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11378 (viper-setup-ESC-to-escape): New functions.
11379 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11380 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11382 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11384 * simple.el (default-font-height, window-screen-lines):
11386 (line-move, line-move-partial): Use them instead of
11387 frame-char-height and window-text-height. This makes scrolling
11388 text smoother when the buffer's default face uses a font that is
11389 different from the frame's default font.
11391 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11393 * files.el (write-file): Do not display confirm dialog for NS,
11394 it does its own dialog, which can't be canceled (Bug#14578).
11396 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11398 * simple.el (line-move-partial): Adjust the row returned by
11399 posn-at-point for the current window-vscroll. (Bug#14567)
11401 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11403 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11404 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11407 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11409 * window.el (window-state-put-stale-windows): New variable.
11410 (window--state-put-2): Save list of windows without matching buffer.
11411 (window-state-put): Remove "bufferless" windows if possible.
11413 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11415 * simple.el (alternatives-define): Remove leftover :group keyword.
11418 2013-07-06 Leo Liu <sdl.web@gmail.com>
11420 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11421 (ido-enable-virtual-buffers): New variable.
11422 (ido-buffer-internal, ido-toggle-virtual-buffers)
11423 (ido-make-buffer-list): Use it.
11424 (ido-exhibit): Support turning on and off virtual buffers
11427 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11429 * simple.el (alternatives-define): New macro.
11431 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11433 * subr.el (read-quoted-char): Use read-key.
11434 (sit-for): Let read-event decode tty input (bug#14782).
11436 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11438 * calendar/todo-mode.el: Add handling of file deletion, both by
11439 mode command and externally. Fix various related bugs.
11440 Clarify Commentary and improve some documentation strings and code.
11441 (todo-delete-file): New command.
11442 (todo-check-file): New function.
11443 (todo-show): Handle external deletion of the file we're trying to
11444 show (bug#14688). Replace called-interactively-p by an optional
11445 prefix argument to avoid problematic interaction with catch form
11446 when byte compiled (bug#14702).
11447 (todo-quit): Handle external deletion of the archive's todo file.
11448 Make sure the buffer that was visiting the archive file is still
11449 live before trying to bury it.
11450 (todo-category-completions): Handle external deletion of any
11451 category completion files.
11452 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11453 of todo files, in case of external deletion.
11454 (todo-add-file): Replace unnecessary setq by let-binding.
11455 (todo-find-archive): Check whether there are any archives.
11456 Replace unnecessary setq by let-binding.
11457 (todo-archive-done-item): Use find-file-noselect to get the
11458 archive buffer whether or not the archive already exists.
11459 Remove superfluous code. Use file size instead of buffer-file-name to
11460 check if the archive is new; if it is, update list of archives.
11461 (todo-default-todo-file): Allow nil to be a valid value for when
11462 there are no todo files.
11463 (todo-reevaluate-default-file-defcustom): Use corrected definition
11464 of todo-default-todo-file.
11465 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11466 (todo-delete-category, todo-show-categories-table)
11467 (todo-category-number): Clarify comment.
11468 (todo-filter-items): Clarify documentation string.
11469 (todo-show-current-file, todo-display-as-todo-file)
11470 (todo-reset-and-enable-done-separator): Tweak documentation string.
11471 (todo-done-separator): Make separator length window-width, since
11472 bug#2749 is now fixed.
11474 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11476 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11477 Support both "gvfs-monitor-dir" and "inotifywait".
11478 (tramp-sh-file-inotifywait-process-filter): Rename from
11479 `tramp-sh-file-notify-process-filter'.
11480 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11481 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11483 2013-07-05 Leo Liu <sdl.web@gmail.com>
11485 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11487 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11489 * frame.el (display-pixel-height, display-pixel-width)
11490 (display-mm-height, display-mm-width): Mention behavior on
11491 multi-monitor setups in docstrings.
11492 (w32-display-monitor-attributes-list): Declare function.
11493 (display-monitor-attributes-list): Use it.
11495 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11497 * filenotify.el: New package.
11499 * autorevert.el (top): Require filenotify.el.
11500 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11502 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11503 (auto-revert-notify-handler): Use `file-notify-*' functions.
11505 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11507 * net/tramp.el (tramp-file-name-for-operation):
11508 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11510 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11511 for `file-notify-add-watch' and `file-notify-rm-watch'.
11512 (tramp-process-sentinel): Improve trace.
11513 (tramp-sh-handle-file-notify-add-watch)
11514 (tramp-sh-file-notify-process-filter)
11515 (tramp-sh-handle-file-notify-rm-watch)
11516 (tramp-get-remote-inotifywait): New defuns.
11518 2013-07-03 Juri Linkov <juri@jurta.org>
11520 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11521 call of `occur-read-primary-args' to interactive spec.
11523 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11524 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11526 2013-07-03 Matthias Meulien <orontee@gmail.com>
11528 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11529 `Buffer-menu-multi-occur'. Add it to the menu.
11530 (Buffer-menu-mode): Document it in docstring.
11531 (Buffer-menu-multi-occur): New command. (Bug#14673)
11533 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11535 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11536 keywords and built-ins.
11538 2013-07-03 Glenn Morris <rgm@gnu.org>
11540 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11542 Make info-xref checks case-sensitive by default
11543 * info.el (Info-find-node, Info-find-in-tag-table)
11544 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11545 Add option for exact case matching of nodes.
11546 * info-xref.el (info-xref): New custom group.
11547 (info-xref-case-fold): New option.
11548 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11550 2013-07-03 Leo Liu <sdl.web@gmail.com>
11552 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11554 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11556 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11557 middle of block statement initially, lower the depth. Remove
11558 FIXME comment, not longer valid. Remove middle of block statement
11559 detection, no need to do that anymore since we've been using
11560 `ruby-parse-region' here.
11562 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11564 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11566 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11568 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11570 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11572 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11573 (desktop-restore-in-current-display): New customization option.
11574 (desktop--excluded-frame-parameters): Add `font'.
11575 (desktop--save-frames): Rename from desktop--save-windows.
11576 (desktop--restore-in-this-display-p): New function.
11577 (desktop--make-full-frame): Remove unwanted width/height from
11578 full(width|height) frames.
11579 (desktop--restore-frames): Rename from desktop--restore-windows.
11580 Obey desktop-restore-current-display. Do not delete old frames or
11581 select a new frame unless we were able to restore at least one frame.
11583 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11585 * files.el (find-file-noselect): Simplify conditional expression.
11587 * textmodes/remember.el (remember-append-to-file):
11588 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11590 Add `remember-notes' function to store random notes across Emacs
11592 * textmodes/remember.el (remember-data-file): Add :set callback to
11593 affect notes buffer (if any).
11594 (remember-notes): New command.
11595 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11596 New defcustoms for the `remember-notes' function.
11597 (remember-notes-save-and-bury-buffer): New command.
11598 (remember-notes-mode-map): New variable.
11599 (remember-mode): New minor mode.
11600 (remember-notes--kill-buffer-query): New function.
11601 * startup.el (initial-buffer-choice): Add notes to custom type.
11603 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11605 * bindings.el (right-char, left-char): Don't call sit-for, this is
11606 no longer needed. Use arithmetic comparison only for numerical
11609 * international/mule-cmds.el (select-safe-coding-system):
11610 Handle the case of FROM being a string correctly. (Bug#14755)
11612 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11614 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11615 progression on degenerate tables.
11616 (shr-rescale-image): ImageMagick animated images currently don't work.
11618 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11620 Some fixes and improvements for desktop frame restoration.
11621 It is still experimental and disabled by default.
11622 * desktop.el (desktop--save-windows): Put the selected frame at
11623 the head of the list.
11624 (desktop--make-full-frame): New function.
11625 (desktop--restore-windows): Try to re-select the frame that was
11626 selected upon saving. Do not abort if some frames fail to restore,
11627 just show an error message and continue. Set up maximized frames
11628 so they have default non-maximized dimensions.
11630 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11632 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11633 Don't start heredoc inside a string or comment.
11635 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11637 * bindings.el (visual-order-cursor-movement): New defcustom.
11638 (right-char, left-char): Provide visual-order cursor motion by
11639 calling move-point-visually. Update the doc strings.
11641 2013-06-28 Kenichi Handa <handa@gnu.org>
11643 * international/mule.el (define-coding-system): New coding system
11644 properties :inhibit-null-byte-detection,
11645 :inhibit-iso-escape-detection, and :prefer-utf-8.
11646 (set-buffer-file-coding-system): If :charset-list property of
11647 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11648 appropriate for setting.
11650 * international/mule-cmds.el (select-safe-coding-system):
11651 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11652 multibyte characters, return utf-8 (or one of its siblings).
11654 * international/mule-conf.el (prefer-utf-8): New coding system.
11655 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11658 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11660 * net/shr.el (shr-render-region): New function.
11662 * net/eww.el: Autoload `eww-browse-url'.
11664 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11666 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11667 Adapt to `package-desc-version' being a list.
11668 Use `package--ac-desc-version' to retrieve version from a package
11671 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11673 New experimental feature to save&restore window and frame setup.
11674 * desktop.el (desktop-save-windows): New defcustom.
11675 (desktop--saved-states): New var.
11676 (desktop--excluded-frame-parameters): New defconst.
11677 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11678 (desktop--restore-windows, desktop--save-windows): New functions.
11679 (desktop-save): Call `desktop--save-windows'.
11680 (desktop-read): Call `desktop--restore-windows'.
11682 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11684 * net/shr.el (add-face-text-property): Remove compat definition.
11686 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11688 * info.el (Info-try-follow-nearest-node): Move search for footnote
11689 above search for node name to prevent missing a footnote (bug#14717).
11691 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11693 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11695 2013-06-27 Leo Liu <sdl.web@gmail.com>
11697 * net/eww.el (eww-read-bookmarks): Check file size.
11699 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11701 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11702 advice--pending if newdef is nil or an autoload (bug#13820).
11703 (advice-mapc): New function.
11705 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11707 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11709 (eww-mode-map): Add a menu bar.
11710 (eww-add-bookmark): New command.
11711 (eww-bookmark-mode): New mode and commands.
11712 (eww-add-bookmark): Remove newlines from the title.
11713 (eww-bookmark-browse): Don't bug out if it's the only window.
11715 2013-06-26 Glenn Morris <rgm@gnu.org>
11717 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11718 (hfy-size): Handle ttys. (Bug#14668)
11720 * info-xref.el: Update for Texinfo 5 change in *note format.
11721 (info-xref-node-re, info-xref-note-re): New constants.
11722 (info-xref-check-buffer): Use info-xref-note-re.
11724 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11728 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11729 nil terminate the loop (bug#14718).
11731 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11733 * net/eww.el: Rework history traversal. When going forward/back,
11734 put these actions into the history, too, so that they can be
11736 (eww-render): Move the history reset to the correct buffer.
11738 2013-06-25 Juri Linkov <juri@jurta.org>
11740 * files-x.el (modify-dir-local-variable): Change the header comment
11741 in the file with directory local variables. (Bug#14692)
11743 * files-x.el (read-file-local-variable-value): Add `default'.
11746 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11748 * net/eww.el (eww-make-unique-file-name): Create a unique file
11749 name before saving to entering `y' accidentally asynchronously.
11751 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11753 * net/eww.el (eww-download): New command and keystroke.
11755 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11757 * net/eww.el (eww-copy-page-url): Change name of command.
11759 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11760 be more consistent with Info and dired.
11762 * net/eww.el (eww-mode-map): Ditto.
11764 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11767 packages from archives.
11768 (package-archive-contents): Change format; include obsolete packages.
11769 (package-desc): Use `dir' to mark builtin packages.
11770 (package--from-builtin): Set the `dir' field to `builtin'.
11771 (generated-autoload-file, version-control): Declare.
11772 (package-compute-transaction): Change first arg and return value to be
11773 lists of package-descs. Adjust to new package-archive-contents format.
11774 (package--add-to-archive-contents): Adjust to new
11775 package-archive-contents format.
11776 (package-download-transaction): Arg is now a list of package-descs.
11777 (package-install): If `pkg' is a package name, pass it as
11778 a requirement, so it is subject to the usual (e.g. disabled) checks.
11779 (describe-package): Accept package-desc as well.
11780 (describe-package-1): Describe a specific package-desc. Add links to
11781 other package-descs for the same package name.
11782 (package-menu-describe-package): Pass the actual package-desc.
11783 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11785 (package-desc-status): New function.
11786 (package-menu--refresh): New function, extracted
11787 from package-menu--generate.
11788 (package-menu--generate): Use it.
11789 (package-delete): Update package-alist.
11790 (package-menu-execute): Don't call package-initialize.
11792 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11793 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11794 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11795 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11796 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11797 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11799 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11801 * window.el (window--state-get-1): Workaround for bug#14527.
11802 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11804 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806 * net/eww.el (eww-back-url): Implement the history by stashing all
11807 the data into a list.
11808 (eww-forward-url): Allow going forward in the history, too.
11810 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11812 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11813 for values and use read--expression for expressions (bug#14710).
11814 (read-file-local-variable): Avoid setq.
11815 (read-file-local-variable-mode): Use minor-mode-list.
11817 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11819 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11822 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11824 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11825 Update imenu-support when dialect changes.
11827 2013-06-25 Leo Liu <sdl.web@gmail.com>
11829 * ido.el (ido-read-internal): Allow forward slash on windows.
11831 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11833 * net/eww.el (eww): Start of strings is \\`, not ^.
11835 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11837 * net/shr.el (shr-browse-url): Fix interactive spec.
11839 * net/eww.el (eww): Add a trailing slash to domain names.
11841 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11843 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11845 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11847 * net/shr.el (shr-browse-url): Use an external browser if given a
11850 * net/eww.el (eww-external-browser): Move to shr.
11852 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11854 * net/eww.el (eww): Work more correctly for file: URLs.
11855 (eww-detect-charset): Allow quoted charsets.
11856 (eww-yank-page-url): New command and keystroke.
11858 2013-06-24 Daiki Ueno <ueno@gnu.org>
11860 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11861 file name of gpg executable.
11862 (epg-context-program): New function.
11863 (epg-context-home-directory): New function.
11864 (epg-context-set-program): New function.
11865 (epg-context-set-home-directory): New function.
11866 (epg--start): Use `epg-context-program' instead of
11868 (epg--list-keys-1): Likewise.
11870 2013-06-24 Leo Liu <sdl.web@gmail.com>
11872 * ido.el (ido-read-internal): Fix bug#14620.
11874 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11876 * faces.el (face-documentation): Simplify.
11877 (read-face-attribute, tty-find-type, x-resolve-font-name):
11878 Use `string-match-p'.
11879 (list-faces-display): Use `string-match-p'. Simplify.
11880 (face-spec-recalc): Check face to avoid face alias loops.
11881 (read-color): Use `string-match-p' and non-capturing parenthesis.
11883 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11885 * net/shr.el (shr-rescale-image): Use the new
11886 :max-width/:max-height functionality.
11888 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11890 * net/eww.el (eww-search-prefix): New variable.
11892 (eww-external-browser): New variable.
11893 (eww-mode-map): New keystroke.
11894 (eww-browse-with-external-browser): New command.
11896 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11898 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11900 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11901 Don't skip aligning the next header field when padding is 0;
11902 otherwise, field width is not respected unless the title is as
11905 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11907 * emacs-lisp/package.el (package-el-version): Remove.
11908 (package-process-define-package): Fix inf-loop.
11909 (package-install): Allow symbols as arguments again.
11911 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11913 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11914 add some more keyword-like methods.
11915 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11917 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11919 * bs.el (bs-buffer-show-mark): Make defvar-local.
11920 (bs-mode): Use setq-local.
11922 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11923 (emacs-lock--try-unlocking): Make defvar-local.
11925 2013-06-22 Glenn Morris <rgm@gnu.org>
11927 * play/cookie1.el (cookie-apropos): Minor simplification.
11929 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11931 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11933 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11934 `regexp-opt', it breaks the build during dumping.
11936 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11938 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11939 Highlight keyword-like methods on Kernel and Module with
11940 font-lock-builtin-face.
11941 (auto-mode-alist): Consolidate different entries into one regexp
11942 and add more *file-s.
11944 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11946 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11948 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11949 (diary-entry): Use it in the action of this button type instead of
11952 * calendar/todo-mode.el: New version.
11953 (todo-add-category): Append new category to end of file and give
11954 it the highest number, instead of putting it at the beginning and
11955 giving it 0. Incorporate noninteractive functionality.
11956 (todo-forward-category): Adapt to 1-based category numbering.
11957 Allow skipping over archived categories.
11958 (todo-backward-category): Derive from todo-forward-category.
11959 (todo-backward-item, todo-forward-item): Make noninteractive and
11960 delegate interactive part to new commands. Make sensitive to done items.
11961 (todo-categories): Make value an alist of category names and
11962 vectors of item counts.
11963 (todo-category-beg): Make a defconst.
11964 (todo-category-number): Use 1 instead of 0 as initial value.
11965 (todo-category-select): Make sensitive to overlays, optional item
11966 highlighting and done items.
11967 (todo-delete-item): Make sensitive to overlays and marked and done items.
11968 (todo-edit-item): Make sensitive to overlays and editing of
11969 date/time header optional. Add format checks.
11970 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11971 no-op if point is not on an item. Advertise using todo-edit-quit.
11972 (todo-edit-mode): Make sensitive to new format, font-locking, and
11973 multiple todo files.
11974 (todo-insert-item, todo-insert-item-here): Derive from
11975 todo-basic-insert-item and extend functionality.
11976 (todo-item-end, todo-item-start): Make sensitive to done items.
11977 (todo-item-string): Don't return text properties. Restore point.
11978 (todo-jump-to-category): Make sensitive to multiple todo files and
11979 todo archives. Use extended category completion.
11980 (todo-lower-item, todo-raise-item): Rename to *-priority and
11981 derive from todo-set-item-priority.
11982 (todo-mode): Derive from special-mode. Make sensitive to new
11983 format, font-locking and multiple todo files. Make read-only.
11984 (todo-mode-map): Don't suppress digit keys, so they can supply
11985 prefix arguments. Add many new key bindings.
11986 (todo-prefix): Insert as an overlay instead of file text.
11987 Change semantics from diary date expression to purely visual mark.
11988 (todo-print): Rename to todo-print-buffer. Make buffer display
11989 features printable. Remove option to restrict number of items
11990 printed. Add option to print to file.
11991 (todo-print-function): Rename to todo-print-buffer-function.
11992 (todo-quit): Extend to handle exiting new todo modes.
11993 (todo-remove-item): Make sensitive to overlays.
11994 (todo-save): Extend to buffers of filtered items.
11995 (todo-show): Make sensitive to done items, multiple todo files and
11996 new todo modes. Offer to convert legacy todo file before creating
11997 first new todo file.
11998 (todo-show-priorities): Rename to todo-top-priorities.
11999 Change semantics of value 0.
12000 (todo-top-priorities): Rename to todo-filter-top-priorities,
12001 derive from todo-filter-items and extend functionality.
12002 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12003 and extend functionality to other types of filtered items.
12004 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12005 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12006 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12007 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12008 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12009 (todo-edit-mode-hook, todo-entry-prefix-function)
12010 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12011 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12012 (todo-initials, todo-insert-threshold, todo-item-string-start)
12013 (todo-line-string, todo-menu, todo-mode-hook)
12014 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12015 (todo-print-priorities, todo-remove-separator)
12016 (todo-save-top-priorities-too, todo-string-count-lines)
12017 (todo-string-multiline-p, todo-time-string-format)
12018 (todo-tmp-buffer-name): Remove.
12019 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12020 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12021 (todo-edit-category-diary-inclusion)
12022 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12023 (todo-edit-file, todo-edit-item-date-day)
12024 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12025 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12026 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12027 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12028 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12029 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12030 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12031 (todo-filter-top-priorities-multifile, todo-find-archive)
12032 (todo-find-filtered-items-file, todo-go-to-source-item)
12033 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12034 (todo-jump-to-archive-category, todo-lower-category)
12035 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12036 (todo-move-category, todo-move-item, todo-next-button)
12037 (todo-next-item, todo-padded-string, todo-powerset)
12038 (todo-previous-button, todo-previous-item)
12039 (todo-print-buffer-to-file, todo-raise-category)
12040 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12041 (todo-set-category-number, todo-set-item-priority)
12042 (todo-set-top-priorities-in-category)
12043 (todo-set-top-priorities-in-file, todo-show-categories-table)
12044 (todo-sort-categories-alphabetically-or-numerically)
12045 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12046 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12047 (todo-toggle-item-header, todo-toggle-item-highlighting)
12048 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12049 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12050 (todo-unarchive-items, todo-unmark-category): New commands.
12051 (todo-absolute-file-name, todo-add-to-buffer-list)
12052 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12053 (todo-basic-insert-item, todo-category-completions)
12054 (todo-category-number, todo-category-string-matcher-1)
12055 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12056 (todo-check-format, todo-clear-matches)
12057 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12058 (todo-current-category, todo-date-string-matcher)
12059 (todo-define-insertion-command, todo-diary-expired-matcher)
12060 (todo-diary-goto-entry, todo-diary-item-p)
12061 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12062 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12063 (todo-done-item-section-p, todo-done-separator)
12064 (todo-done-string-matcher, todo-files, todo-filter-items)
12065 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12066 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12067 (todo-insert-category-line, todo-insert-item-from-calendar)
12068 (todo-insert-sort-button, todo-insert-with-overlays)
12069 (todo-insertion-command-name, todo-insertion-key-bindings)
12070 (todo-label-to-key, todo-longest-category-name-length)
12071 (todo-make-categories-list, todo-mode-external-set)
12072 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12073 (todo-modes-set-3, todo-multiple-filter-files)
12074 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12075 (todo-read-category, todo-read-date, todo-read-dayname)
12076 (todo-read-file-name, todo-read-time)
12077 (todo-reevaluate-category-completions-files-defcustom)
12078 (todo-reevaluate-default-file-defcustom)
12079 (todo-reevaluate-filelist-defcustoms)
12080 (todo-reevaluate-filter-files-defcustom)
12081 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12082 (todo-reset-done-separator, todo-reset-done-separator-string)
12083 (todo-reset-done-string, todo-reset-global-current-todo-file)
12084 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12085 (todo-reset-prefix, todo-set-categories)
12086 (todo-set-date-from-calendar, todo-set-show-current-file)
12087 (todo-set-top-priorities, todo-short-file-name)
12088 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12089 (todo-total-item-counts, todo-update-buffer-list)
12090 (todo-update-categories-display, todo-update-categories-sexp)
12091 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12093 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12095 (todo-categories, todo-display, todo-edit, todo-faces)
12096 (todo-filtered): New defgroups.
12097 (todo-archived-only, todo-button, todo-category-string, todo-date)
12098 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12099 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12100 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12101 (todo-add-item-if-new-category, todo-always-add-time-string)
12102 (todo-categories-align, todo-categories-archived-label)
12103 (todo-categories-category-label, todo-categories-diary-label)
12104 (todo-categories-done-label, todo-categories-number-separator)
12105 (todo-categories-todo-label, todo-categories-totals-label)
12106 (todo-category-completions-files, todo-completion-ignore-case)
12107 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12108 (todo-done-separator-string, todo-done-string)
12109 (todo-files-function, todo-filter-done-items, todo-filter-files)
12110 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12111 (todo-initial-category, todo-initial-file, todo-item-mark)
12112 (todo-legacy-date-time-regexp, todo-mode-line-function)
12113 (todo-nondiary-marker, todo-number-prefix)
12114 (todo-print-buffer-function, todo-show-current-file)
12115 (todo-show-done-only, todo-show-first, todo-show-with-done)
12116 (todo-skip-archived-categories, todo-top-priorities-overrides)
12117 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12118 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12120 (todo-category-done, todo-date-pattern, todo-date-string-start)
12121 (todo-diary-items-buffer, todo-done-string-start)
12122 (todo-filtered-items-buffer, todo-item-start)
12123 (todo-month-abbrev-array, todo-month-name-array)
12124 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12125 (todo-top-priorities-buffer): New defconsts.
12126 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12127 (todo-categories-with-marks, todo-category-string-face)
12128 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12129 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12130 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12131 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12132 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12133 (todo-font-lock-keywords, todo-global-current-todo-file)
12134 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12135 (todo-insertion-commands-args)
12136 (todo-insertion-commands-args-genlist)
12137 (todo-insertion-commands-names, todo-insertion-map)
12138 (todo-key-bindings-t, todo-key-bindings-t+a)
12139 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12140 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12141 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12142 (todo-visited): New variables.
12144 2013-06-21 Glenn Morris <rgm@gnu.org>
12146 * play/cookie1.el (cookie-apropos): Add optional display argument.
12147 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12148 (psychoanalyze-pinhead): Use cookie-doctor.
12150 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12152 * emacs-lisp/package.el (tar-get-file-descriptor)
12153 (tar--extract): Declare.
12155 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12157 Extend flymake's warning predicate to be a function (bug#14217).
12158 * progmodes/flymake.el (flymake-warning-predicate): New.
12159 (flymake-parse-line): Use it.
12160 (flymake-warning-re): Make obsolete alias to
12161 `flymake-warning-predicate'.
12163 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12165 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12166 (package-obsolete-list): Remove.
12167 (package-activate): Remove min-version argument. Add `force' argument.
12168 Adjust to new package-alist format.
12169 (package-mark-obsolete): Remove.
12170 (package-unpack): Force reload of the package's autoloads.
12171 (package-installed-p): Check builtins if the installed package is not
12173 (package-initialize): Don't reset package-obsolete-list.
12174 Don't specify which package version to activate.
12175 (package-process-define-package, describe-package-1)
12176 (package-menu--generate): Adjust to new package-alist format.
12178 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12180 * allout-widgets.el (allout-widgets-mode-off)
12181 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12182 (allout-widgets-post-command-business)
12183 (allout-widgets-after-copy-or-kill-function)
12184 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12185 (allout-decorate-item-and-context)
12186 (allout-graphics-modification-handler): Fix typos in docstrings.
12187 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12189 * cmuscheme.el (scheme-start-file): Doc fix.
12190 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12191 (scheme-input-filter): Use `string-match-p'.
12193 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12195 * dired-x.el: Use Dired consistently in docstrings.
12197 * dired.el: Use Dired consistently in docstrings.
12198 (dired-readin, dired-mode): Use `setq-local'.
12199 (dired-switches-alist): Make defvar-local.
12200 (dired-buffers-for-dir): Use `zerop'.
12201 (dired-safe-switches-p, dired-switches-escape-p)
12202 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12203 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12204 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12205 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12206 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12207 (dired-toggle-marks, dired-mark-files-containing-regexp)
12208 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12209 (dired-flag-auto-save-files, dired-flag-backup-files):
12210 Use `looking-at-p'.
12211 (dired-mark-files-regexp, dired-build-subdir-alist):
12212 Use `string-match-p', `looking-at-p'.
12214 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12215 (direct-print-region-helper): Use `string-match-p'.
12217 2013-06-21 Leo Liu <sdl.web@gmail.com>
12219 * comint.el (comint-redirect-results-list-from-process):
12222 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12224 * net/eww.el (eww-update-header-line-format): Quote % characters.
12226 2013-06-21 Glenn Morris <rgm@gnu.org>
12228 * play/cookie1.el (cookie): New custom group.
12229 (cookie-file): New option.
12230 (cookie-check-file): New function.
12231 (cookie): Make it interactive. Make start and end messages optional.
12232 Interactively, display the result. Default to cookie-file.
12233 (cookie-insert): Default to cookie-file.
12234 (cookie-snarf): Make start and end messages optional.
12235 Default to cookie-file. Use with-temp-buffer.
12236 (cookie-read): Rename from read-cookie.
12237 Make start and end messages optional. Default to cookie-file.
12238 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12239 Do not autoload it.
12240 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12241 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12243 2013-06-21 Leo Liu <sdl.web@gmail.com>
12245 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12247 2013-06-21 Glenn Morris <rgm@gnu.org>
12249 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12251 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12252 Daniel Hackney <dan@haxney.org>
12254 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12255 Consolidate the single-file vs tarball code.
12256 (package-desc-suffix): New function.
12257 (package-desc-full-name): Don't bother inlining it.
12258 (package-load-descriptor): Return the new package-desc.
12259 (package-mark-obsolete): Remove unused arg `package'.
12260 (package-unpack): Make it work for single files as well.
12261 Make it update package-alist.
12262 (package--make-autoloads-and-stuff): Rename from
12263 package--make-autoloads-and-compile. Don't compile any more.
12264 (package--compile): New function.
12265 (package-generate-description-file): New function, extracted from
12266 package-unpack-single.
12267 (package-unpack-single): Remove.
12268 (package--with-work-buffer): Add indentation and debugging info.
12269 (package-download-single): Remove.
12270 (package-install-from-archive): Rename from package-download-tar, make
12271 it take a pkg-desc, and make it work for single files as well.
12272 (package-download-transaction): Simplify.
12273 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12274 external tar program.
12275 (package-install-from-buffer): Remove `pkg-desc' argument.
12276 Use package-tar-file-info for tar-mode buffers.
12277 (package-install-file): Simplify accordingly.
12278 (package-archive-base): Change to take a pkg-desc.
12279 * tar-mode.el (tar--check-descriptor): New function, extracted from
12280 tar-get-descriptor.
12281 (tar-get-descriptor): Use it.
12282 (tar-get-file-descriptor): New function.
12283 (tar--extract): New function, extracted from tar-extract.
12284 (tar--extract): Use it.
12285 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12286 case the summary uses non-ascii. Adjust to new calling convention of
12287 package-tar-file-info.
12289 2013-06-21 Leo Liu <sdl.web@gmail.com>
12291 * comint.el (comint-redirect-results-list-from-process):
12292 Fix random delay. (Bug#14681)
12294 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12296 * profiler.el (profiler-format-number): Use log, not log10.
12298 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12300 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12302 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12304 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12305 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12307 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12308 (AUTOGENEL): ... here.
12309 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12310 (cl--defsubst-expand): Use it.
12312 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12314 * subr.el (log10): Move here from C code, and declare as obsolete.
12315 All uses of (log10 X) replaced with (log X 10).
12317 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12319 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12320 Declare with `defvar-local'.
12321 (tabulated-list-use-header-line, tabulated-list-entries)
12322 (tabulated-list-padding, tabulated-list-printer)
12323 (tabulated-list-sort-key): Declare with `defvar-local'.
12324 (tabulated-list-init-header, tabulated-list-print-fake-header):
12327 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12329 * arc-mode.el (archive-mode): Add `archive-write-file' to
12330 `write-contents-functions' also for remote files. (Bug#14652)
12332 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12334 * cus-edit.el (custom-commands): Fix typos.
12335 (custom-display): Fix tooltip text.
12336 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12337 Fix typos in docstrings.
12338 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12339 (custom-unlispify-menu-entry, custom-magic-value-create)
12340 (custom-add-see-also, custom-group-value-create): Use ?\s.
12341 (custom-guess-type, customize-apropos, editable-field)
12342 (custom-face-value-create): Use `string-match-p'.
12343 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12345 * custom.el (custom-load-symbol): Use `string-match-p'.
12347 * ansi-color.el: Convert to lexical binding.
12348 (ansi-colors): Fix URL.
12349 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12350 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12351 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12353 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12355 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12357 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12359 2013-06-19 Tom Tromey <tromey@redhat.com>
12361 * net/eww.el (eww-top-url): Remove.
12362 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12363 (eww-render): Set new variables. Don't set eww-top-url.
12364 (eww-handle-link): Handle "prev", "home", and "contents".
12365 Downcase the rel text.
12366 (eww-top-url): Choose best top URL.
12368 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12370 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12371 relying in widget.el. Using widget.el leads to too many
12372 user interface inconsistencies.
12373 (eww-self-insert): Implement entering commands in text fields.
12374 (eww-process-text-input): New function to make text input field editing
12376 (eww-submit): Rewrite to use the new-style form methods.
12377 (eww-select-display): Display the correct selected item.
12378 (eww-change-select): Implement changing the select value.
12379 (eww-toggle-checkbox): Implement radio/checkboxes.
12380 (eww-update-field): Fix compilation error.
12381 (eww-tag-textarea): Implement <textarea>.
12383 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12384 we don't shadow mode-specific bindings.
12386 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12389 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12391 2013-06-19 Glenn Morris <rgm@gnu.org>
12393 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12395 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12397 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12400 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12402 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12404 * net/browse-url.el (browse-url-browser-function):
12405 `eww-browse-url' has the right calling signature, `eww' does not.
12407 2013-06-19 Glenn Morris <rgm@gnu.org>
12409 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12410 Only eval autoloaded macros.
12411 (byte-compile-autoload): Only give the macro warning for macros.
12413 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12414 (ps-underlined-faces): Declare.
12416 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12417 (speedbar-add-supported-extension): Declare.
12419 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12420 Don't include a date stamp in the header of the generated file;
12421 it leads to needless differences between output files.
12423 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12425 * net/secrets.el (secrets-struct-secret-content-type):
12426 Replace check of introspection data by a test call of "CreateItem".
12427 Some servers do not offer introspection.
12429 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12431 * electric.el (electric-pair-mode): Improve interaction with
12432 electric-layout-mode.
12433 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12434 (electric-pair-syntax): Use text-mode-syntax-table in comments
12436 (electric-pair--insert): New function.
12437 (electric-pair-post-self-insert-function): Use it and
12438 electric--after-char-pos.
12440 2013-06-19 Leo Liu <sdl.web@gmail.com>
12442 * progmodes/octave.el (octave-help): Fix regexp.
12444 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12446 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12447 (shr-table-horizontal-line): Allow nil as a value, and change the
12449 (shr-insert-table-ruler): Respect the nil value.
12451 2013-06-18 Tom Tromey <tromey@barimba>
12453 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12455 (eww-open-file): New defun.
12456 (eww-render): Initialize new variables.
12457 (eww-display-html): Handle "link" and "a".
12458 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12459 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12460 (eww-back-url): Rename from eww-previous-url.
12461 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12464 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12466 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12467 Distinguish ternary operator tokens from slash symbol and slash
12470 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12472 Convert symbol prettification into minor mode and global minor mode.
12474 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12475 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12476 (prettify-symbols--keywords): Rename from
12477 `prog-prettify-symbols-alist' and make a local defvar.
12478 (prettify-symbols--compose-symbol): Rename from
12479 `prog--prettify-font-lock-compose-symbol'.
12480 (prettify-symbols--make-keywords): Rename from
12481 `prog-prettify-font-lock-symbols-keywords' and simplify.
12482 (prog-prettify-install): Remove.
12483 (prettify-symbols-mode): New minor mode, based on
12484 `prog-prettify-install'.
12485 (turn-on-prettify-symbols-mode): New function.
12486 (global-prettify-symbols-mode): New globalized minor mode.
12488 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12489 * progmodes/cfengine.el (cfengine3-mode):
12490 * progmodes/perl-mode.el (perl-mode): Don't call
12491 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12493 2013-06-18 Juri Linkov <juri@jurta.org>
12495 * files-x.el (modify-file-local-variable-message): New function.
12496 (modify-file-local-variable)
12497 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12498 and call `modify-file-local-variable-message' when it's non-nil.
12499 (add-file-local-variable, delete-file-local-variable)
12500 (add-file-local-variable-prop-line)
12501 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12502 and use it. (Bug#9820)
12504 2013-06-18 Juri Linkov <juri@jurta.org>
12506 * emulation/vi.el (vi-shell-op):
12507 * emulation/vip.el (vip-execute-com, ex-command):
12508 * emulation/viper-cmd.el (viper-exec-bang):
12509 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12510 the call of `shell-command-on-region'. (Bug#14637)
12512 * simple.el (shell-command-on-region): Doc fix.
12514 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12516 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12519 2013-06-18 Glenn Morris <rgm@gnu.org>
12521 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12523 * newcomment.el (comment-search-forward, comment-search-backward):
12524 Doc fix. (Bug#14376)
12526 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12528 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12529 (buffer-face-mode-invoke): Doc fix.
12531 2013-06-18 Matthias Meulien <orontee@gmail.com>
12533 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12534 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12536 2013-06-18 Glenn Morris <rgm@gnu.org>
12538 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12539 Replace obsolete function generic-make-keywords with its expansion.
12541 * progmodes/python.el (ffap-alist): Declare.
12543 * textmodes/reftex.el (bibtex-mode-map): Declare.
12545 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12547 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12548 (package-unpack, package-unpack-single): Return the pkg-dir.
12549 (package-download-transaction): Use it to update package-alist.
12551 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12553 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12556 2013-06-17 Juri Linkov <juri@jurta.org>
12558 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12560 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12562 * emacs-lisp/package.el (package-load-descriptor):
12563 Remove `with-syntax-table' call, `read' doesn't need it.
12564 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12566 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12568 * startup.el (command-line): Expand package name returned by
12569 `package--description-file' (bug#14639).
12571 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12573 * emacs-lisp/package.el (package-load-descriptor): Do not call
12574 `emacs-lisp-mode', just use its syntax table.
12576 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12578 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12579 `font-lock-extra-managed-props' if any prettifying keyword is added.
12580 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12581 (prog-mode): Use `setq-local'.
12583 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12585 * international/characters.el (standard-case-table): Set syntax of ?»
12586 and ?« to punctuation.
12588 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12590 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12591 Save relevant match data before calling `syntax-ppss' (bug#14595).
12593 2013-06-15 Juri Linkov <juri@jurta.org>
12595 * files-x.el (modify-file-local-variable-prop-line): Add local
12596 variables to the end of the existing comment on the first line.
12597 Use `file-auto-mode-skip' to skip interpreter magic line,
12598 and also skip XML declaration.
12600 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12602 * startup.el (package--builtin-versions): New var.
12603 (package-subdirectory-regexp): Remove.
12604 (package--description-file): Hard code its value instead.
12606 * emacs-lisp/package.el: Don't activate packages older than builtin.
12607 (package-obsolete-list): Rename from package-obsolete-alist, and make
12608 it into a simple list of package-desc.
12609 (package-strip-version): Remove.
12610 (package-built-in-p): Use package--builtin-versions.
12611 (package-mark-obsolete): Simplify.
12612 (package-process-define-package): Mark it obsolete if older than the
12614 (package-handle-response): Use line-end-position.
12615 (package-read-archive-contents, package--download-one-archive):
12617 (package--add-to-archive-contents): Skip if older than the builtin or
12619 (package-menu-describe-package): Fix last change.
12620 (package-list-unversioned): New var.
12621 (package-menu--generate): Use it.
12623 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12624 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12625 (autoload-builtin-package-versions): New variable.
12626 (autoload-generate-file-autoloads): Use them.
12627 Remove the list of autoloaded functions/macros from the
12628 (autoload...) comments.
12630 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12632 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12634 * simple.el (line-move-partial): Don't jump to the next screen
12635 line as soon as it becomes visible. Instead, continue enlarging
12636 the vscroll until the portion of a tall screen line that's left on
12637 display is about the height of the frame's default font.
12640 2013-06-15 Glenn Morris <rgm@gnu.org>
12642 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12643 compilation-error-regexp-alist void, or local while let-bound.
12645 * progmodes/make-mode.el (makefile-mode-syntax-table):
12646 Treat "=" as punctuation. (Bug#14614)
12648 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12650 * help-fns.el (describe-variable):
12651 Add extra line for permanent-local variables.
12653 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12655 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12656 Add export, import, library. (Bug#9164)
12657 (library): Set indent function.
12659 2013-06-14 Glenn Morris <rgm@gnu.org>
12661 * term/xterm.el (xterm--query):
12662 Stop after first matching handler. (Bug#14615)
12664 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12666 Add support for dired in saveplace.
12667 * dired.el (dired-initial-position-hook): New variable.
12668 (dired-initial-position): Call hook to place cursor position.
12669 * saveplace.el (save-place-to-alist): Add dired position.
12670 (save-place-dired-hook): New function.
12672 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12674 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12675 through a symbol rather than letrec.
12677 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12678 (package-desc): Add `dir' field.
12679 (package-desc-full-name): New function.
12680 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12681 (package-maybe-load-descriptor): Remove.
12682 (package-load-all-descriptors): Just call package-load-descriptor.
12683 (package--disabled-p): New function.
12684 (package-desc-vers, package-desc-doc): Remove aliases.
12685 (package--dir): Remove function.
12686 (package-activate): Check if a package is disabled.
12687 (package-process-define-package): New function, extracted from
12689 (define-package): Turn into a place holder.
12690 (package-unpack-single, package-tar-file-info):
12691 Use package--description-file.
12692 (package-compute-transaction): Use package--disabled-p.
12693 (package-download-transaction): Don't call
12694 package-maybe-load-descriptor since they're all loaded anyway.
12695 (package-install): Change argument to be a pkg-desc.
12696 (package-delete): Use a single pkg-desc argument.
12697 (describe-package-1): Use package-desc-dir instead of package--dir.
12698 Use package-desc property instead of package-symbol.
12699 (package-install-button-action): Adjust accordingly.
12700 (package--push): Rewrite.
12701 (package-menu--print-info): Adjust accordingly. Change the ID format
12703 (package-menu-describe-package, package-menu-get-status)
12704 (package-menu--find-upgrades, package-menu-mark-upgrades)
12705 (package-menu-execute, package-menu--name-predicate):
12706 Adjust accordingly.
12707 * startup.el (package--description-file): New function.
12708 (command-line): Use it.
12709 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12710 Use package-desc-version.
12712 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12713 (byte-compile-preprocess): Use it.
12714 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12715 can't quite recognize.
12716 (byte-compile-add-to-list): Remove.
12717 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12718 (cconv-closure-convert): Add assertion.
12720 * emacs-lisp/map-ynp.el: Use lexical-binding.
12721 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12722 Factor out some repeated code.
12724 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * subr.el (with-eval-after-load): New macro.
12727 (eval-after-load): Allow form to be a function.
12728 take advantage of lexical-binding.
12729 (do-after-load-evaluation): Use dolist and adjust to new format.
12730 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12732 2013-06-13 Juri Linkov <juri@jurta.org>
12734 * replace.el (perform-replace): Display "symbol " and other search
12735 modes from `isearch-message-prefix' in the *Help* buffer.
12737 * isearch.el (isearch-query-replace): Add " symbol" and other
12738 possible search modes from `isearch-message-prefix' to the prompt.
12739 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12740 when reading a regexp to collect.
12742 2013-06-13 Juri Linkov <juri@jurta.org>
12744 * isearch.el (word-search-regexp): Match whitespace if the search
12745 string begins or ends in whitespace. The LAX arg is applied to
12746 both ends of the search string. Use `regexp-quote' and explicit
12747 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12748 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12749 boundaries are replaced with symbol boundaries, and characters
12750 between symbols match non-word non-symbol syntax. (Bug#14602)
12752 2013-06-13 Juri Linkov <juri@jurta.org>
12754 * isearch.el (isearch-del-char): Don't exceed the length of
12755 `isearch-string' by the prefix arg. (Bug#14563)
12757 2013-06-13 Juri Linkov <juri@jurta.org>
12759 * isearch.el (isearch-yank-word, isearch-yank-line)
12760 (isearch-char-by-name, isearch-quote-char)
12761 (isearch-printing-char, isearch-process-search-char):
12762 Add optional count prefix arg. (Bug#14563)
12764 * international/isearch-x.el
12765 (isearch-process-search-multibyte-characters):
12766 Add optional count prefix arg.
12768 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12770 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12771 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12774 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12776 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12778 2013-06-13 Glenn Morris <rgm@gnu.org>
12780 * startup.el (tty-handle-args):
12781 Don't just discard "--" and anything after. (Bug#14608)
12783 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12785 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12787 Implement changes in Secret Service API. Make it backward compatible.
12788 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12789 (secrets-create-item): Use it. Prefix properties with interface.
12791 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12793 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12794 (term-emulate-terminal): Respect term-suppress-hard-newline.
12796 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12798 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12799 Only remove a `thumb-file' overlay. (Bug#14548)
12801 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12803 * mail/reporter.el (reporter-submit-bug-report):
12804 Handle missing package-name. (Bug#14600)
12806 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12808 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12809 (reftex-citation-prompt, reftex-default-bibliography)
12810 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12811 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12812 (reftex-bib-sort-author, reftex-bib-sort-year)
12813 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12814 (reftex-extract-bib-entries-from-thebibliography)
12815 (reftex-get-bibkey-default, reftex-get-bib-names)
12816 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12817 (reftex-format-bib-entry, reftex-parse-bibitem)
12818 (reftex-format-bibitem, reftex-do-citation)
12819 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12820 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12821 (reftex-insert-bib-matches, reftex-format-citation)
12822 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12823 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12824 existing comments into docstrings.
12826 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12828 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12830 2013-06-12 Andreas Schwab <schwab@suse.de>
12832 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12833 for auto-save files.
12835 2013-06-12 Glenn Morris <rgm@gnu.org>
12837 * ido.el (ido-delete-ignored-files): Remove.
12838 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12839 Go back to calling ido-ignore-item-p directly.
12841 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12843 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12845 * ido.el (ido-delete-ignored-files): New function,
12846 split from ido-make-file-list-1.
12847 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12848 (ido-make-file-list-1): Use ido-delete-ignored-files.
12850 2013-06-12 Leo Liu <sdl.web@gmail.com>
12852 * progmodes/octave.el (inferior-octave-startup)
12853 (inferior-octave-completion-table)
12854 (inferior-octave-track-window-width-change)
12855 (octave-eldoc-function-signatures, octave-help)
12856 (octave-find-definition): Use single quoted strings.
12857 (inferior-octave-startup-args): Change default value.
12858 (inferior-octave-startup): Do not hard code "-i" and
12859 "--no-line-editing".
12860 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12861 (inferior-octave-directory-tracker): Use it.
12862 (octave-goto-function-definition): Robustify.
12863 (octave-help): Support highlighting operators in 'See also'.
12864 (octave-find-definition): Find subfunctions only in Octave mode.
12866 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12868 * help-fns.el (help-fns--compiler-macro): If the handler function is
12869 named, then put a link to it.
12870 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12871 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12872 (cl-typep): Use it.
12873 (cl-eval-when): Simplify debug spec.
12874 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12875 compiler-macro function instead of setting `compiler-macro-file'.
12877 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12879 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12880 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12882 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12883 Daniel Hackney <dan@haxney.org>
12885 First part of Daniel Hackney's patch to package.el.
12886 * emacs-lisp/package.el: Use defstruct.
12887 (package-desc): New, main struct.
12888 (package--bi-desc, package--ac-desc): New structs, used to describe the
12889 format in external files.
12890 (package-desc-vers): Replace with package-desc-version accessor.
12891 (package-desc-doc): Replace with package-desc-summary accessor.
12892 (package-activate-1): Remove `package' arg since the pkg-vec now
12894 (define-package): Use package-desc-from-define.
12895 (package-unpack-single): Change file-name arg to be a symbol.
12896 (package--add-to-archive-contents): Use package-desc-create and new
12897 accessor functions to package--ac-desc.
12898 (package-buffer-info, package-tar-file-info): Return a package-desc.
12899 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12900 arg to be a package-desc.
12901 (package-install-file): Adjust accordingly. Use \' to match EOS.
12902 (package--from-builtin): New function.
12903 (describe-package-1, package-menu--generate): Use it.
12904 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12905 (package-generate-autoloads): Idem and return the name of the file.
12906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12907 Change pkg-info arg to be a package-desc.
12908 Use package-make-ac-desc.
12909 (package-upload-file): Use \' to match EOS.
12910 * finder.el (finder-compile-keywords): Use package-make-builtin.
12912 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12914 * vc/vc.el (vc-deduce-fileset): Change error message.
12915 (vc-read-backend): New function.
12916 (vc-next-action): Use it.
12918 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12920 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12921 (prolog-font-lock-keywords): Use regexp-opt instead.
12922 Don't manually highlight strings.
12923 (prolog-mode-variables): Simplify comment-start-skip.
12924 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12926 * emacs-lisp/generic.el (generic--normalise-comments)
12927 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12928 (generic-mode-set-comments): Use them.
12929 (generic-bracket-support): Use setq-local.
12930 (generic-make-keywords-list): Declare obsolete.
12932 2013-06-11 Glenn Morris <rgm@gnu.org>
12934 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12935 Prettify after setting font-lock-defaults. (Bug#14574)
12937 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12939 * replace.el (query-replace, occur-read-regexp-defaults-function)
12941 * subr.el (declare-function, number-sequence, local-set-key)
12942 (substitute-key-definition, locate-user-emacs-file)
12943 (with-silent-modifications, split-string, eval-after-load):
12944 Fix typos, remove unneeded backslashes and reflow some docstrings.
12946 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12948 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12949 default for Elisp files.
12951 2013-06-11 Glenn Morris <rgm@gnu.org>
12953 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12954 although define-derived-mode was doing this anyway. (Bug#14583)
12956 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12958 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12959 Fix make-variable-buffer-local call to refer to the correct variable.
12961 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12963 * eshell/em-term.el (eshell-visual-commands)
12964 (eshell-visual-subcommands, eshell-visual-options):
12965 Add summary line to docstrings. Add cross-references.
12967 2013-06-10 Glenn Morris <rgm@gnu.org>
12969 * epa.el (epa-read-file-name): New function. (Bug#14510)
12970 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12972 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12974 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12975 output redirection to be ignored with visual commands.
12977 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12979 * eshell/em-term.el (eshell-visual-command-p): New function.
12980 (eshell-term-initialize): Move long lambda to separate function
12981 eshell-visual-command-p.
12982 * eshell/em-dirs.el (eshell-dirs-initialize):
12983 * eshell/em-script.el (eshell-script-initialize):
12984 Add missing #' to lambda.
12986 2013-06-08 Leo Liu <sdl.web@gmail.com>
12988 * progmodes/octave.el (octave-add-log-current-defun): New function.
12989 (octave-mode): Set add-log-current-defun-function.
12990 (octave-goto-function-definition): Do not move point if not found.
12991 (octave-find-definition): Enhance to try subfunctions first.
12993 2013-06-08 Glenn Morris <rgm@gnu.org>
12995 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12996 (byte-compile-backward-char, byte-compile-backward-word):
12997 Improve previous change, to handle non-explicit nil.
12999 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13002 (smie--opener/closer-at-point): New function.
13003 (smie--matching-block-data): Use it. Don't match from right after an
13004 opener or right before a closer. Obey smie-blink-matching-inners.
13005 Don't signal a mismatch for repeated inners like "switch..case..case".
13007 2013-06-07 Leo Liu <sdl.web@gmail.com>
13009 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13011 (octave-function-header-regexp): Fix. (Bug#14570)
13012 (octave-help-mode-finish-hook, octave-help-mode-finish):
13013 Remove. Just use temp-buffer-show-hook.
13015 * newcomment.el (comment-search-backward): Revert last change.
13018 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13020 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13022 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13023 through xargs, to avoid failure due to MS-Windows limitations on
13024 command-line length.
13026 2013-06-06 Glenn Morris <rgm@gnu.org>
13028 * font-lock.el (lisp-font-lock-keywords-2):
13029 Treat user-error like error.
13031 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13032 (byte-compile-backward-char, byte-compile-backward-word):
13033 Handle explicit nil arguments. (Bug#14565)
13035 2013-06-05 Alan Mackenzie <acm@muc.de>
13037 * isearch.el (isearch-allow-prefix): New user option.
13038 (isearch-other-meta-char): Don't exit isearch when a prefix
13039 argument is typed whilst `isearch-allow-prefix' is non-nil.
13042 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * autorevert.el (auto-revert-notify-handler): Use memq.
13045 Hide assertion failure.
13047 * skeleton.el: Use cl-lib.
13048 (skeleton-further-elements): Use defvar-local.
13049 (skeleton-insert): Use cl-progv.
13051 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13053 * progmodes/prog-mode.el (prog-prettify-symbols)
13054 (prog-prettify-install): Update docstrings.
13056 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13058 * simple.el: Move all the prog-mode code to prog-mode.el.
13059 * progmodes/prog-mode.el: New file.
13060 * loadup.el: Add prog-mode.el.
13062 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13064 * simple.el (prog-prettify-symbols): Add version.
13065 (prog-prettify-install): Add convenience function to prettify symbols.
13067 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13068 (perl--augmented-font-lock-keywords-1)
13069 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13070 variables and use it.
13072 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13073 (cfengine3-mode): Remove unneeded variable and use it.
13075 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13076 (lisp--augmented-font-lock-keywords-1)
13077 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13078 Remove unneeded variables and use it.
13080 2013-06-05 João Távora <joaotavora@gmail.com>
13082 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13083 to point when opening the connection. (Bug#14380)
13085 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13087 * subr.el (load-history-regexp, load-history-filename-element)
13088 (eval-after-load, after-load-functions, do-after-load-evaluation)
13089 (eval-next-after-load, display-delayed-warnings)
13090 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13091 definition of save-match-data.
13092 (overriding-local-map): Remove accidental obsolescence declaration.
13094 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13096 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13098 Generalize symbol prettify support to prog-mode and implement it
13099 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13100 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13101 (prog--prettify-font-lock-compose-symbol)
13102 (prog-prettify-font-lock-symbols-keywords): New variables and
13103 functions to support symbol prettification.
13104 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13105 (lisp--augmented-font-lock-keywords-1)
13106 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13107 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13108 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13109 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13110 Implement prettify of -> => :: strings.
13111 * progmodes/perl-mode.el (perl-prettify-symbols)
13112 (perl--font-lock-compose-symbol)
13113 (perl--font-lock-symbols-keywords): Move to prog-mode.
13114 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13115 (perl-font-lock-keywords-1)
13116 (perl-font-lock-keywords-2): Remove explicit prettify support.
13117 (perl--augmented-font-lock-keywords)
13118 (perl--augmented-font-lock-keywords-1)
13119 (perl--augmented-font-lock-keywords-2, perl-mode):
13120 Implement prettify support.
13122 2013-06-05 Leo Liu <sdl.web@gmail.com>
13124 Re-implement SMIE matching block highlight using
13125 show-paren-data-function. (Bug#14395)
13126 * emacs-lisp/smie.el (smie-matching-block-highlight)
13127 (smie--highlight-matching-block-overlay)
13128 (smie--highlight-matching-block-lastpos)
13129 (smie-highlight-matching-block)
13130 (smie-highlight-matching-block-mode): Remove.
13131 (smie--matching-block-data-cache): New variable.
13132 (smie--matching-block-data): New function.
13133 (smie-setup): Use smie--matching-block-data for
13134 show-paren-data-function.
13136 * progmodes/octave.el (octave-mode-menu): Fix.
13137 (octave-find-definition): Skip garbage lines.
13139 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13141 Fix compilation error with simultaneous dynamic+lexical scoping.
13142 Add warning when a defvar appears after the first let-binding.
13143 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13144 (byte-compile-close-variables): Initialize it.
13145 (byte-compile--declare-var): New function.
13146 (byte-compile-file-form-defvar)
13147 (byte-compile-file-form-define-abbrev-table)
13148 (byte-compile-file-form-custom-declare-variable): Use it.
13149 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13150 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13151 (byte-compile-bind): Handle dynamic bindings that shadow
13153 (byte-compile-unbind): Make arg non-optional.
13154 (byte-compile-let): Simplify.
13155 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13156 (cconv--analyse-function, cconv-analyse-form): Populate it.
13157 Protect byte-compile-bound-variables to limit the scope of defvars.
13158 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13159 Remove unneeded rule for `declare'.
13161 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13162 so as to avoid depending on cl-adjoin at run-time.
13163 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13165 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13166 (macroexp--warn-and-return): Use it.
13168 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * subr.el: Convert to lexical binding.
13171 (overriding-local-map): Make obsolete.
13172 (add-to-list): Doc fix. Add compiler macro.
13173 (read-key): Swap values of local maps.
13175 2013-06-05 Leo Liu <sdl.web@gmail.com>
13177 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13179 2013-06-04 Leo Liu <sdl.web@gmail.com>
13181 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13182 (compilation-auto-jump): Suppress the "Mark set" message to give
13183 way to exit message.
13185 2013-06-04 Alan Mackenzie <acm@muc.de>
13187 Remove faulty optimisation from indentation calculation.
13188 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13189 search limit based on 2000 characters back from indent-point.
13191 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13193 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13195 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13197 * emacs-lisp/lisp.el: Use lexical-binding.
13198 (lisp--local-variables-1, lisp--local-variables): New functions.
13199 (lisp--local-variables-completion-table): New var.
13200 (lisp-completion-at-point): Use it complete let-bound vars.
13202 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13203 eagerly (bug#14422).
13205 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13207 * autorevert.el (auto-revert-notify-enabled)
13208 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13209 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13210 (auto-revert-notify-handler): Handle also gfilenotify.
13212 * subr.el (file-notify-handle-event): New defun. Replacing ...
13213 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13216 2013-06-03 Juri Linkov <juri@jurta.org>
13218 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13219 `M-s h .'. (Bug#14427)
13221 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13222 command `hi-lock-face-symbol-at-point'.
13223 (hi-lock-face-symbol-at-point): New command.
13224 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13225 (hi-lock-menu): Add `highlight-symbol-at-point'.
13226 (hi-lock-mode): Doc fix.
13228 * isearch.el (isearch-forward-symbol-at-point): New command.
13229 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13230 (isearch-highlight-regexp): Add a regexp which matches
13231 words/symbols for word/symbol mode.
13233 * subr.el (find-tag-default-bounds): New function with the body
13234 mostly moved from `find-tag-default'.
13235 (find-tag-default): Move most code to `find-tag-default-bounds',
13236 call it and apply `buffer-substring-no-properties' afterwards.
13238 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13240 * eshell/em-term.el (eshell-term-initialize):
13241 Use `cl-intersection' rather than `intersection'.
13243 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13245 * vc/log-view.el: Doc fix.
13246 (log-view-mode-map): Copy keymap from `special-mode-map'.
13248 2013-06-02 Eric Ludlam <zappo@gnu.org>
13250 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13251 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13252 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13253 (eieio-unbound, eieio-default-superclass)
13254 (eieio--define-field-accessors, method-static, method-before)
13255 (method-primary, method-after, method-num-lists)
13256 (method-generic-before, method-generic-primary)
13257 (method-generic-after, method-num-slots)
13258 (eieio-specialized-key-to-generic-key)
13259 (eieio--check-type, class-v, class-p)
13260 (eieio-class-name, define-obsolete-function-alias)
13261 (eieio-class-parents-fast, eieio-class-children-fast)
13262 (same-class-fast-p, class-constructor, generic-p)
13263 (generic-primary-only-p, generic-primary-only-one-p)
13264 (class-option-assoc, class-option, eieio-object-p)
13265 (class-abstract-p, class-method-invocation-order)
13266 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13267 (eieio-class-un-autoload, eieio-defclass)
13268 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13269 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13270 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13271 (eieio-defgeneric-reset-generic-form)
13272 (eieio-defgeneric-form-primary-only)
13273 (eieio-defgeneric-reset-generic-form-primary-only)
13274 (eieio-defgeneric-form-primary-only-one)
13275 (eieio-defgeneric-reset-generic-form-primary-only-one)
13276 (eieio-unbind-method-implementations)
13277 (eieio--defmethod, eieio--typep)
13278 (eieio-perform-slot-validation, eieio-validate-slot-value)
13279 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13280 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13281 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13282 (eieio-slot-name-index, eieio-class-slot-name-index)
13283 (eieio-set-defaults, eieio-initarg-to-attribute)
13284 (eieio-attribute-to-initarg, eieio-c3-candidate)
13285 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13286 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13287 (eieio-class-precedence-list, eieio-generic-call-methodname)
13288 (eieio-generic-call-arglst, eieio-generic-call-key)
13289 (eieio-generic-call-next-method-list)
13290 (eieio-pre-method-execution-functions, eieio-generic-call)
13291 (eieio-generic-call-primary-only, eieiomt-method-list)
13292 (eieiomt-optimizing-obarray, eieiomt-install)
13293 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13294 (eieio-generic-form, eieio-defmethod, make-obsolete)
13295 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13296 (defclass): Remove `eval-and-compile' from macro.
13297 (call-next-method, shared-initialize): Instead of using
13298 `scoped-class' variable, use new eieio--scoped-class, and
13299 eieio--with-scoped-class.
13300 (initialize-instance): Rename local variable 'scoped-class' to
13301 'this-class' to remove ambiguitity from old global.
13303 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13305 (eieio--scoped-class-stack): New variable.
13306 (eieio--scoped-class): New fcn.
13307 (eieio--with-scoped-class): New scoping macro.
13308 (eieio-defclass): Use pushnew instead of add-to-list.
13309 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13310 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13311 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13312 `scoped-class' variable, use new eieio--scoped-class, and
13313 eieio--with-scoped-class.
13315 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13317 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13319 * eshell/esh-ext.el (eshell-external-command): Pass args to
13320 `eshell-find-interpreter'.
13321 (eshell-find-interpreter): Add new second parameter ARGS.
13323 * eshell/em-script.el (eshell-script-initialize): Add second arg
13324 to the function added as MATCH to `eshell-interpreter-alist'.
13326 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13327 the function added as MATCH to `eshell-interpreter-alist'.
13329 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13330 (eshell-visual-options): New defcustom.
13331 (eshell-escape-control-x): Adapt docstring.
13332 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13333 `eshell-visual-options' in addition to `eshell-visual-commands'.
13334 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13336 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13338 * progmodes/python.el (python-indent-block-enders): Add break,
13339 continue and raise keywords.
13341 2013-06-01 Glenn Morris <rgm@gnu.org>
13343 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13345 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13346 * progmodes/cc-cmds.el (delete-forward-p):
13347 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13348 * progmodes/cc-engine.el (buffer-syntactic-context):
13349 * progmodes/cc-fonts.el (face-property-instance):
13350 * progmodes/cc-mode.el (set-keymap-parents):
13351 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13352 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13353 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13354 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13355 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13357 * progmodes/cc-vars.el (other): Emacs has this widget since
13358 at least 21.1, so don't (re)define it.
13360 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13361 Replace the obsolete alias pcomplete-arg-quote-list.
13363 2013-06-01 Leo Liu <sdl.web@gmail.com>
13365 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13366 punctuation syntax.
13367 (inferior-octave-minimal-columns)
13368 (inferior-octave-last-column-width): New variables.
13369 (inferior-octave-track-window-width-change): New function.
13370 (inferior-octave-mode): Adjust column width so that Octave output,
13371 for example from 'ls', can fit into the window nicely.
13373 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13375 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13376 Highlight expansions inside regexp literals.
13378 2013-05-31 Glenn Morris <rgm@gnu.org>
13380 * obsolete/sym-comp.el (symbol-complete):
13381 Replace obsolete completion-annotate-function.
13383 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13385 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13387 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13388 New function, checks if point is inside a literal that allows
13389 expression expansion.
13390 (ruby-syntax-propertize-expansion): Use it.
13391 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13394 2013-05-30 Juri Linkov <juri@jurta.org>
13396 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13398 (isearch-invisible): New variable.
13399 (isearch-forward): Doc fix.
13400 (isearch-mode): Set `isearch-invisible'
13401 to the value of `search-invisible'.
13402 (isearch-toggle-case-fold): Doc fix.
13403 (isearch-toggle-invisible): New command.
13404 (isearch-query-replace): Let-bind `search-invisible'
13405 to the value of `isearch-invisible'.
13406 (isearch-search): Use `isearch-invisible' instead of
13407 `search-invisible'. Let-bind `search-invisible'
13408 to the value of `isearch-invisible'. (Bug#11378)
13410 2013-05-30 Juri Linkov <juri@jurta.org>
13412 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13413 call when `query-flag' is nil and `search-invisible' is non-nil.
13416 2013-05-30 Glenn Morris <rgm@gnu.org>
13418 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13420 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13421 (cc-require): Suppress spurious "noruntime" warnings.
13422 (cc-require-when-compile): Use fboundp, for sake of compiler.
13424 * progmodes/cc-mode.el: Move load of cc-vars before that of
13425 cc-langs (which in turn loads cc-vars), to quieten compiler.
13427 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13429 * paren.el: Simplify the code.
13430 (show-paren-mode): Always start the timer.
13431 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13432 (show-paren--overlay, show-paren--overlay-1): Rename from
13433 show-paren-overlay and show-paren-overlay-1, and initialize to an
13434 overlay rather than to nil.
13435 (show-paren-function): Misc cleanup and simplifications.
13437 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13439 * paren.el (show-paren-data-function): New hook.
13440 (show-paren--default): New function, extracted from show-paren-function.
13441 (show-paren-function): Use show-paren-data-function.
13443 2013-05-30 Glenn Morris <rgm@gnu.org>
13445 * ielm.el (ielm-map, ielm-complete-symbol):
13446 Use completion-at-point rather than obsolete functions.
13447 (inferior-emacs-lisp-mode): Doc fix.
13448 Set completion-at-point-functions, rather than
13449 comint-dynamic-complete-functions.
13451 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13452 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13453 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13455 * image.el (image-animated-p): Tweak definition.
13457 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13458 (rlogin-process-connection-type): Tweak default. Add set-after.
13459 (rlogin-host): Doc fix.
13460 (rlogin): Tweak prompt.
13461 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13463 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13464 * progmodes/tcl.el (inferior-tcl-mode-map):
13465 Use completion-at-point rather than obsolete alias.
13467 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13469 * minibuffer.el (read-file-name-completion-ignore-case):
13470 Move before completion--in-region, for eager macro expansion.
13472 2013-05-29 Juri Linkov <juri@jurta.org>
13474 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13475 for total count of matching lines. Add `global-matches' for total
13476 count of matches. Rename `matches' to `lines' for count of
13477 matching lines. Add `matches' for count of matches.
13478 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13479 to `prev-line' for line number of prev match endpt.
13480 Increment `matches' for every match. Print the number of
13481 matching lines in the header.
13482 (occur-context-lines): Rename `lines' to `curr-line'.
13483 Rename `prev-lines' to `prev-line'. (Bug#14017)
13485 2013-05-29 Juri Linkov <juri@jurta.org>
13487 * replace.el (perform-replace): Add `skip-read-only-count',
13488 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13489 Increment them for corresponding conditions and report the number
13490 of skipped occurrences in the final message. (Bug#11746)
13491 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13492 (replace-string, replace-regexp): Doc fix.
13494 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13498 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13499 prog-mode-map (bug#14504).
13501 2013-05-29 Leo Liu <sdl.web@gmail.com>
13503 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13504 (octave-help): Small simplification.
13506 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13507 off the highlight first.
13509 2013-05-29 Glenn Morris <rgm@gnu.org>
13511 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13512 Handle idlwave-last-system-routine-info-cons-cell being nil.
13514 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13515 (idlwave-write-paths): Simplify via with-temp-buffer.
13517 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13518 * emulation/cua-rect.el: Also load cua-base at run time.
13520 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13521 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13522 (cperl-imenu-on-info): Require imenu.
13524 2013-05-28 Alan Mackenzie <acm@muc.de>
13526 Handle "capitalised keywords" correctly.
13527 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13529 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13531 * eshell/em-unix.el: Add -r option to cp.
13533 2013-05-28 Glenn Morris <rgm@gnu.org>
13535 * vc/vc-arch.el (vc-exec-after): Declare.
13536 (vc-switches): Autoload.
13537 * vc/vc-bzr.el: No need to require vc when compiling.
13538 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13539 (vc-resynch-buffer, vc-dir-refresh): Declare.
13540 (vc-setup-buffer, vc-switches): Autoload.
13541 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13542 (vc-resynch-buffer): Declare.
13543 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13544 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13545 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13546 (grep-read-regexp, grep-read-files, grep-expand-template)
13547 (vc-dir-refresh): Declare.
13548 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13549 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13550 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13551 * vc/vc-mtn.el (vc-exec-after): Declare.
13552 (vc-switches): Autoload.
13553 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13554 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13555 (vc-file-tree-walk): Declare.
13556 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13557 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13558 (vc-tag-precondition, vc-rename-master): Autoload.
13559 * vc/vc-svn.el (vc-exec-after): Declare.
13560 (vc-switches, vc-setup-buffer): Autoload.
13561 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13563 (vc-resynch-buffer): Declare.
13565 * obsolete/fast-lock.el (byte-compile-warnings):
13566 Don't warn about obsolete features in this obsolete file.
13568 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13569 Move definition before use.
13571 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13572 (dun-unix-verbs): Remove dun-zippy.
13573 (dun-zippy): Remove function.
13575 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13577 2013-05-27 Juri Linkov <juri@jurta.org>
13579 * replace.el (replace-search): New function with code moved out
13580 from `perform-replace'.
13581 (replace-highlight, replace-dehighlight): Move function definitions
13582 up closer to `replace-search'. (Bug#11746)
13584 2013-05-27 Juri Linkov <juri@jurta.org>
13586 * replace.el (perform-replace): Ignore invisible matches.
13587 In addition to checking `query-replace-skip-read-only', also
13588 filter out matches by calling `run-hook-with-args-until-failure'
13589 on `isearch-filter-predicates', and also check `search-invisible'
13590 for t or call `isearch-range-invisible'.
13591 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13593 2013-05-27 Juri Linkov <juri@jurta.org>
13595 * isearch.el (isearch-filter-predicates): Rename from
13596 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13597 (isearch-message-prefix): Display text from the property
13598 `isearch-message-prefix' of the currently active filters.
13599 (isearch-search): Don't compare `isearch-filter-predicate' with
13600 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13601 on `isearch-filter-predicates'. Also check `search-invisible' for t
13602 or call `isearch-range-invisible'.
13603 (isearch-filter-visible): Make obsolete.
13604 (isearch-lazy-highlight-search):
13605 Call `run-hook-with-args-until-failure' on
13606 `isearch-filter-predicates' and use `isearch-range-invisible'.
13608 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13609 `isearch-filter-predicates' instead of `funcall'ing
13610 `isearch-filter-predicate'.
13611 (Info-mode): Set `Info-isearch-filter' to
13612 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13614 * dired-aux.el (dired-isearch-filter-predicate-orig):
13616 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13617 (dired-isearch-filenames-end): Add and remove
13618 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13619 instead of changing the value of `isearch-filter-predicate'.
13620 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13621 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13622 Put property `isearch-message-prefix' to "filename " on
13623 `dired-isearch-filter-filenames'.
13625 * wdired.el (wdired-change-to-wdired-mode):
13626 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13627 locally instead of changing `isearch-filter-predicate'.
13628 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13630 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13632 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13633 return the commit hash (Bug#14459). Also set the
13634 `vc-git-detached' property.
13635 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13636 (vc-git-mode-line-string): Use the same help-echo format whether
13637 in detached mode or not, because we know the actual revision now.
13638 When in detached mode, shorten the revision to 7 chars.
13640 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13642 * emacs-lisp/easy-mmode.el (define-minor-mode):
13643 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13644 mode hook and provide a docstring.
13646 2013-05-27 Alan Mackenzie <acm@muc.de>
13648 Remove spurious syntax-table text properties inserted by C-y.
13649 * progmodes/cc-mode.el (c-after-change): Also clear hard
13650 syntax-table property with value nil.
13652 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13654 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13655 when reading the events; the buffer layout shall not be changed.
13657 2013-05-27 Leo Liu <sdl.web@gmail.com>
13659 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13661 (inferior-octave-directory-tracker): Automatically re-sync
13663 (octave-help): Improve handling of 'See also'.
13665 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13667 * doc-view.el: Minor naming convention tweaks.
13668 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13670 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13671 even if there's no `display' property yet (bug#14435).
13673 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13675 * subr.el (unmsys--file-name): Rename from reveal-filename.
13677 * Makefile.in (custom-deps, finder-data, autoloads)
13678 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13679 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13680 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13682 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13684 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13685 error-completion on the first 2 args of condition-case (bug#14446).
13688 2013-05-25 Leo Liu <sdl.web@gmail.com>
13690 * comint.el (comint-previous-matching-input): Do not flood the
13691 *Messages* buffer with trivial messages.
13693 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13695 * progmodes/flymake.el (flymake-nop): Don't return a string.
13696 (flymake-set-at): Fix typo.
13698 * simple.el (read--expression): New function, extracted from
13699 eval-expression. Set completion-at-point-functions (bug#14465).
13700 (eval-expression, eval-minibuffer): Use it.
13702 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13704 * progmodes/flymake.el (flymake-save-buffer-in-file)
13705 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13706 (flymake-selected-frame, flymake-log, flymake-ins-after)
13707 (flymake-set-at, flymake-get-buildfile-from-cache)
13708 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13709 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13710 Refine the doc string.
13711 (flymake-get-file-name-mode-and-masks): Reformat.
13712 (flymake-get-real-file-name-function): Fix a minor bug.
13714 2013-05-24 Juri Linkov <juri@jurta.org>
13716 * progmodes/grep.el (grep-mode-font-lock-keywords):
13717 Support =linenumber= format used by git-grep for lines with
13718 function names. (Bug#13549)
13720 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13722 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13723 0 after a semi-colon; it works better for smie-auto-fill.
13724 (octave--indent-new-comment-line): New function.
13725 (octave-indent-new-comment-line): Use it (indirectly).
13726 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13727 modify comment-line-break-function.
13729 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13730 (smie-setup): Use add-function to set it.
13732 2013-05-24 Sam Steingold <sds@gnu.org>
13734 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13735 argument (before the `interactive' argument).
13737 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13739 * image-mode.el (image-mode-winprops): Add winprops to
13740 image-mode-winprops-alist before running
13741 image-mode-new-window-functions.
13742 * doc-view.el (doc-view-new-window-function): Don't delay
13743 doc-view-goto-page via timers (bug#14435).
13745 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13747 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13748 (doc-view-desktop-save-buffer): New function.
13749 (doc-view-restore-desktop-buffer): New function.
13750 (desktop-buffer-mode-handlers):
13751 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13753 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13754 `desktop-save-buffer' function.
13756 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13758 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13759 (tramp-gvfs-file-name-handler): Raise a user error when
13760 `tramp-gvfs-enabled' is nil.
13761 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13762 Do not raise a user error when loading package. (Bug#14447)
13764 * net/xesam.el: Move to obsolete/.
13766 2013-05-24 Glenn Morris <rgm@gnu.org>
13768 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13770 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13772 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13773 (Info-find-node, Man-getpage-in-background): Declare.
13775 * mail/unrmail.el (unrmail):
13776 Replace obsolete detect-coding-with-priority.
13778 * net/socks.el (socks-split-string): Use this rather than split-string.
13779 (socks-nslookup-host): Update for above change.
13780 (dynamic-choice, s5-dynamic-choice-match)
13781 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13782 Comment out unused code.
13784 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13785 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13786 (gud-tooltip-echo-area): Make obsolete.
13787 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13789 * progmodes/js.el (js--optimize-arglist): Declare.
13791 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13793 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13794 (ediff-window-C): Declare.
13796 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13797 Tweak requires to silence compiler.
13799 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13800 (he-search-string, he-tried-table, he-expand-list)
13801 (he-init-string, he-string-member, he-substitute-string)
13802 (he-reset-string): Declare.
13804 * obsolete/options.el (list-options): Use custom-variable-p,
13805 rather than obsolete alias.
13807 2013-05-23 Sam Steingold <sds@gnu.org>
13809 * simple.el (shell-command-on-region): Pass the `replace' argument
13810 down to `call-process-region' to comply with the doc as reported on
13811 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13813 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13815 * emacs-lisp/smie.el (smie-indent-forward-token)
13816 (smie-indent-backward-token): Handle string tokens (bug#14381).
13818 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13820 * ielm.el (ielm-menu): New menu.
13821 (inferior-emacs-lisp-mode): Set comment-start.
13823 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13825 * textmodes/reftex.el (reftex-ref-style-toggle):
13826 Fix deactivate action.
13828 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13829 Add cleveref macros.
13831 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13832 Accept options for bibliography commands.
13833 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13834 Add addbibresource. Basic Biblatex support.
13836 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13838 * net/tramp-gvfs.el (top):
13839 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13840 when loading package. (Bug#14447)
13842 2013-05-23 Glenn Morris <rgm@gnu.org>
13844 * progmodes/js.el: No need to load comint when compiling.
13845 (ring-insert, comint-send-string, comint-send-input)
13846 (comint-last-input-end, ido-chop): Declare.
13848 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13849 * vc/ediff-mult.el: Adjust requires.
13850 (ediff-directories-internal, ediff-directory-revisions-internal)
13851 (ediff-patch-file-internal): Declare.
13852 * vc/ediff-ptch.el: Adjust requires.
13853 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13854 (ediff-find-file): Autoload.
13855 * vc/ediff-util.el: No need to load ediff when compiling.
13856 (ediff-regions-internal): Declare.
13857 * vc/ediff-wind.el: Adjust requires.
13858 (ediff-compute-toolbar-width): Define when compiling.
13859 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13860 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13861 (dired-get-filename, dired-get-marked-files)
13862 (ediff-last-dir-patch, ediff-patch-default-directory)
13863 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13864 (ediff-patch-buffer-internal): Declare.
13866 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13867 (ispell-process, ispell-buffer-local-words, lm-summary)
13868 (lm-section-start, lm-section-end): Declare.
13869 (checkdoc-ispell-init): Simplify.
13871 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13872 (he-string-member, he-reset-string, he-substitute-string): Declare.
13874 * eshell/em-ls.el: Adjust requires.
13875 (eshell-glob-regexp): Declare.
13876 * eshell/em-tramp.el: Adjust requires.
13877 (eshell-parse-command): Autoload.
13878 * eshell/em-xtra.el: Adjust requires.
13879 (eshell-parse-command): Autoload.
13880 * eshell/esh-ext.el: Adjust requires.
13881 (eshell-parse-command, eshell-close-handles): Autoload.
13882 * eshell/esh-io.el: Adjust requires.
13883 (eshell-output-filter): Autoload.
13884 * eshell/esh-util.el: No need to load tramp when compiling.
13885 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13887 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13888 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13889 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13890 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13891 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13892 * eshell/esh-opt.el, eshell/esh-proc.el:
13893 * eshell/esh-var.el: Adjust requires.
13894 * eshell/eshell.el: Do not require esh-util twice.
13895 (eshell-add-input-to-history): Declare.
13896 (eshell-command): Check history module is active before using it.
13898 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13900 2013-05-22 Leo Liu <sdl.web@gmail.com>
13902 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13904 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13906 * autorevert.el (auto-revert-notify-add-watch)
13907 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13908 it indicates changes in file modification time.
13910 2013-05-22 Glenn Morris <rgm@gnu.org>
13912 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13913 Always delete the autoloaded function from the noruntime and
13914 unresolved functions lists.
13916 * allout.el: No need to load epa, epg, overlay when compiling.
13917 (epg-context-set-passphrase-callback, epg-list-keys)
13918 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13919 (epg-key-user-id-list): Declare.
13921 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13922 (viper-set-parsing-style-toggling-macro)
13923 (viper-set-emacs-state-searchstyle-macros):
13924 Use called-interactively-p on Emacs.
13925 (viper-looking-back): Make it an obsolete alias. Update callers.
13926 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13927 Use looking-back rather than viper-looking-back.
13928 (viper-tmp-insert-at-eob, viper-enlarge-region)
13929 (viper-read-string-with-history, viper-register-to-point)
13930 (viper-append-to-register, viper-change-state-to-vi)
13931 (viper-backward-char-carefully, viper-forward-char-carefully)
13932 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13933 (viper-change-state-to-emacs): Declare.
13934 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13935 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13936 * emulation/viper-mous.el: Do not load viper-cmd.
13937 (viper-backward-char-carefully, viper-forward-char-carefully)
13938 (viper-forward-word, viper-adjust-window): Declare.
13940 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13942 * progmodes/idlw-help.el (idlwave-help-fontify):
13943 Use called-interactively-p.
13945 * term/w32console.el (w32-get-console-codepage)
13946 (w32-get-console-output-codepage): Declare.
13948 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13949 Remove unnecessary declarations.
13950 (dframe-message): Doc fix.
13952 * info.el (dframe-select-attached-frame, dframe-current-frame):
13955 * speedbar.el (speedbar-message): Make it an obsolete alias.
13956 Update all callers.
13957 (speedbar-with-attached-buffer)
13958 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13959 (speedbar-with-writable): Use backquote.
13960 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13961 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13962 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13963 rather than speedbar- aliases.
13964 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13965 (speedbar-make-specialized-keymap, speedbar-insert-button)
13966 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13967 (speedbar-do-function-pointer): Declare.
13968 (rmail-speedbar-button, rmail-speedbar-find-file)
13969 (rmail-speedbar-move-message):
13970 Use dframe-with-attached-buffer rather than speedbar- alias.
13971 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13972 (dframe-message, speedbar-make-specialized-keymap)
13973 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13974 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13975 (speedbar-insert-button, dframe-select-attached-frame)
13976 (dframe-maybee-jump-to-attached-frame)
13977 (speedbar-change-initial-expansion-list)
13978 (speedbar-previously-used-expansion-list-name): Declare.
13979 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13980 Use dframe-message, dframe-with-attached-buffer rather than
13982 (gud-sentinel): Silence compiler.
13983 * progmodes/vhdl-mode.el (speedbar-refresh)
13984 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13985 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13986 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13987 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13988 (speedbar-file-lists, speedbar-make-tag-line)
13989 (speedbar-line-directory, speedbar-goto-this-file)
13990 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13991 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13992 (speedbar-make-button, speedbar-reset-scanners)
13993 (speedbar-files-item-info, speedbar-line-text)
13994 (speedbar-find-file-in-frame, speedbar-set-timer)
13995 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13996 (speedbar-with-writable): Do not (re)define it.
13997 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13998 rather than speedbar- alias.
14000 2013-05-21 Leo Liu <sdl.web@gmail.com>
14002 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14004 (octave-mode): Tweak fill-nobreak-predicate.
14005 (inferior-octave-startup): Check process to avoid infinite loop.
14006 (inferior-octave): Pop to buffer first to show abornmal process
14009 2013-05-21 Glenn Morris <rgm@gnu.org>
14011 * printing.el (pr-menu-bar): Define when compiling.
14013 2013-05-21 Leo Liu <sdl.web@gmail.com>
14015 * progmodes/octave.el (octave-auto-fill): Remove.
14016 (octave-indent-new-comment-line): Improve.
14017 (octave-mode): Use auto fill mode through
14018 comment-line-break-function and fill-nobreak-predicate.
14019 (octave-goto-function-definition): Support DEFUN_DLD.
14020 (octave-beginning-of-defun): Small tweak.
14021 (octave-help): Show parent directory.
14023 2013-05-21 Glenn Morris <rgm@gnu.org>
14025 * files.el (dired-unmark):
14026 * progmodes/gud.el (gdb-input): Update declarations.
14028 * calculator.el (electric, ehelp): No need to load when compiling.
14029 (Electric-command-loop, electric-describe-mode): Declare.
14031 * doc-view.el (doc-view-current-converter-processes): Move before use.
14033 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14034 Move MODE-set-explicitly definition before use.
14036 * international/mule-diag.el (mule-diag):
14037 Don't use obsolete window-system-version.
14039 * mail/feedmail.el (smtpmail): No need to load when compiling.
14040 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14042 * mail/mail-utils.el (rfc822): No need to load when compiling.
14043 (rfc822-addresses): Autoload it.
14044 (mail-strip-quoted-names): Trivial simplification.
14046 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14047 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14049 * net/snmp-mode.el (tempo): Don't duplicate requires.
14051 * progmodes/prolog.el (info): No need to load when compiling.
14052 (comint): Require before shell requires it.
14053 (Info-goto-node): Autoload it.
14054 (Info-follow-nearest-node): Declare.
14055 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14057 * textmodes/artist.el (picture-mode-exit): Declare.
14059 * textmodes/reftex-parse.el (reftex-parse-from-file):
14060 Trivial rewrite so the compiler can parse it better.
14062 2013-05-20 Leo Liu <sdl.web@gmail.com>
14064 * progmodes/octave.el (octave-help-mode-map)
14065 (octave-help-mode-finish-hook): New variables.
14066 (octave-help-mode, octave-help-mode-finish): New functions.
14067 (octave-help): Use octave-help-mode.
14069 2013-05-20 Glenn Morris <rgm@gnu.org>
14071 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14073 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14075 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14076 start at point, so that expansion starting right after opening
14077 slash in a regexp is recognized.
14078 (ruby-syntax-before-regexp-re): New defvar, extracted from
14079 ruby-syntax-propertize-function. Since the value of this regexp
14080 is looked up at runtime now, we should be able to turn
14081 `ruby-syntax-methods-before-regexp' into a defcustom later.
14082 (ruby-syntax-propertize-function): Split regexp matching into two
14083 parts, for opening and closing slashes. That allows us to skip
14084 over string interpolations and support multiline regexps.
14085 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14086 for them, which calls `ruby-syntax-propertize-expansion'.
14087 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14088 call to `ruby-syntax-propertize-function'.
14089 (ruby-syntax-propertize-expansion): Extracted from
14090 `ruby-syntax-propertize-expansions'. Handles one expansion.
14091 (ruby-syntax-propertize-percent-literal): Leave point right after
14092 the percent symbol, so that the expression expansion rule can
14093 propertize the contents.
14094 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14096 (ruby-syntax-propertize-expansions): Remove.
14098 2013-05-18 Juri Linkov <juri@jurta.org>
14100 * man.el (Man-default-man-entry): Remove `-' from the end
14101 of the default value. (Bug#14400)
14103 2013-05-18 Glenn Morris <rgm@gnu.org>
14105 * comint.el (comint-password-prompt-regexp):
14106 Allow "password for XXX" where XXX contains colons (eg https://...).
14108 2013-05-18 Leo Liu <sdl.web@gmail.com>
14110 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14111 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14112 (octave-source-directories): Don't check process.
14113 (octave-source-directories, octave-find-definition): Doc fix.
14115 2013-05-18 Glenn Morris <rgm@gnu.org>
14117 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14118 Remove backspace/delete bindings. (Bug#14392)
14120 * cus-dep.el (custom-make-dependencies): Sort the output.
14121 (custom-versions-load-alist): Convert comment to doc.
14123 2013-05-17 Leo Liu <sdl.web@gmail.com>
14125 * newcomment.el (comment-search-backward): Stricter in finding
14126 comment start. (Bug#14303)
14128 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14129 (octave-comment-start-skip): Properly anchored.
14131 2013-05-17 Leo Liu <sdl.web@gmail.com>
14133 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14134 Clean up when turned off. (Bug#14395)
14135 (smie--highlight-matching-block-overlay): No longer buffer-local.
14136 (smie-highlight-matching-block): Adjust.
14138 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14140 Doc string fix for "nanoseconds" (Bug#14406).
14141 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14142 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14144 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14146 * calc/calc-units.el (math-extract-units): Preserve powers
14149 2013-05-17 Leo Liu <sdl.web@gmail.com>
14151 * subr.el (delete-consecutive-dups): New function.
14152 * ido.el (ido-set-matches-1): Use it.
14153 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14154 * ido.el (ido-remove-consecutive-dups): Remove.
14156 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14158 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14159 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14160 regexp-opt's `words'.
14162 2013-05-16 Leo Liu <sdl.web@gmail.com>
14164 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14165 (smie--highlight-matching-block-overlay)
14166 (smie--highlight-matching-block-lastpos)
14167 (smie--highlight-matching-block-timer): New variables.
14168 (smie-highlight-matching-block): New function.
14169 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14170 (smie-setup): Conditionally enable smie-blink-matching-open.
14172 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14174 Sync with upstream verilog-mode r840.
14175 * progmodes/verilog-mode.el (verilog-mode-version)
14176 (verilog-mode-release-date): Update.
14177 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14178 (verilog-sig-tieoff): Fix string error on
14179 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14180 (verilog-read-decls): Fix parameters confusing
14181 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14183 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14185 * subr.el (reveal-filename): New function.
14187 * loadup.el: Compute Emacs executable versions on MS-Windows,
14188 where executables have the .exe extension. Add a hard link
14189 emacs-XX.YY.ZZ.exe on MS-Windows.
14191 * Makefile.in (XARGS_LIMIT): New variable.
14192 (custom-deps, finder-data, autoloads)
14193 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14194 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14195 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14196 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14198 2013-05-16 Leo Liu <sdl.web@gmail.com>
14200 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14201 (octave-mode-menu, octave-mode-map): Remove its uses.
14203 2013-05-16 Reto Zimmermann <reto@gnu.org>
14205 Sync with upstream vhdl mode v3.34.2.
14206 * progmodes/vhdl-mode.el: Use `push' throughout.
14207 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14208 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14209 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14210 (vhdl-actual-generic-name): New option to derive actual generic name.
14211 (vhdl-port-paste-signals): Replace formal by actual generics.
14212 (vhdl-beautify): New name for old group vhdl-align. Update users.
14213 (vhdl-beautify-options): New option.
14214 (vhdl-last-input-event): New compat alias. Use throughout.
14215 (vhdl-goto-line): Replace user level function `goto-line'.
14216 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14217 vhdl-fix-statement-buffer.
14218 (vhdl-create-mode-menu): Add some entries.
14219 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14220 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14221 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14222 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14223 to force statements on one line.
14224 (vhdl-remove-trailing-spaces-region):
14225 New, split from vhdl-remove-trailing-spaces.
14226 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14227 Respect vhdl-beautify-options.
14228 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14229 (vhdl-update-sensitivity-list): Not add with index if exists without.
14230 Not include array index with signal. Ignore keywords in comments.
14231 (vhdl-get-visible-signals): Regexp tweaks.
14232 (vhdl-template-component-inst): Handle empty library.
14233 (vhdl-template-type): Add template for 'enum' type.
14234 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14235 Use vhdl-replace-string.
14236 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14237 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14238 (vhdl-speedbar-initialize): Update for above name change.
14239 (vhdl-compose-wire-components): Fix in handling of constants.
14240 (vhdl-error-regexp-emacs-alist): New variable.
14241 (vhdl-error-regexp-add-emacs): New function;
14242 adds support for new compile.el (Emacs 22+)
14243 (vhdl-generate-makefile-1): Change target order for single lib. units.
14244 Allow use of absolute file names.
14246 2013-05-16 Leo Liu <sdl.web@gmail.com>
14248 * simple.el (prog-indent-sexp): Indent enclosing defun.
14250 2013-05-15 Glenn Morris <rgm@gnu.org>
14252 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14253 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14254 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14255 (whitespace-highlight): Move to whitespace group.
14257 * comint.el (comint-source):
14258 * pcmpl-linux.el (pcmpl-linux):
14259 * shell.el (shell-faces):
14260 * eshell/esh-opt.el (eshell-opt):
14261 * international/ccl.el (ccl): Remove empty custom groups.
14263 * completion.el (dynamic-completion-mode):
14264 * jit-lock.el (jit-lock-debug-mode):
14265 * minibuffer.el (completion-in-region-mode):
14266 * type-break.el (type-break-mode-line-message-mode)
14267 (type-break-query-mode):
14268 * emulation/tpu-edt.el (tpu-edt-mode):
14269 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14270 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14271 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14273 * term/xterm.el (xterm): Change parent group to terminals.
14275 * master.el (master): Remove empty custom group.
14276 (master-mode): Remove unused :group argument.
14277 * textmodes/refill.el (refill): Remove empty custom group.
14278 (refill-mode): Remove unused :group argument.
14280 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14282 * cus-dep.el: Provide a feature.
14283 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14284 Don't mistakenly ignore files whose basenames match a basename
14285 from preloaded-file-list (eg cedet/ede/simple.el).
14286 Add a fallback method for getting :group.
14288 2013-05-15 Juri Linkov <juri@jurta.org>
14290 * isearch.el (isearch-char-by-name): Rename from
14291 `isearch-insert-char-by-name'. Doc fix.
14292 (isearch-forward): Mention `isearch-char-by-name' in
14293 the docstring. (Bug#13348)
14295 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14296 `exit-minibuffer' instead of
14297 `isearch-nonincremental-exit-minibuffer'.
14298 (isearch-edit-string): Remove mention of
14299 `isearch-nonincremental-exit-minibuffer' from docstring.
14300 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14301 (isearch-forward-exit-minibuffer)
14302 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14304 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14306 * loadup.el: Just use unversioned DOC.
14308 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14309 literals as extending to EOB.
14310 (nxml-last-fontify-end): Remove unused variable.
14311 (nxml-after-change1): Use with-silent-modifications.
14312 (nxml-extend-after-change-region): Simplify.
14313 (nxml-extend-after-change-region1): Remove function.
14314 (nxml-after-change1): Don't adjust for dependent regions.
14315 (nxml-fontify-matcher): Simplify.
14316 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14317 (xmltok-add-dependent): Remove function.
14318 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14319 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14320 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14321 unclosed <[[, <?, comment, and other literals as extending to EOB.
14322 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14323 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14325 (rng-do-some-validation-1): Don't mark dependent regions.
14326 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14327 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14328 (nxml-clear-dependent-regions): Remove functions.
14329 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14330 (nxml-ensure-scan-up-to-date):
14331 Don't clear&mark dependent regions.
14333 2013-05-15 Leo Liu <sdl.web@gmail.com>
14335 * progmodes/octave.el (octave-goto-function-definition):
14336 Improve and fix callers.
14338 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14340 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14341 the setter (bug#14387).
14343 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14344 surrounding group (bug#14402).
14346 2013-05-14 Juri Linkov <juri@jurta.org>
14348 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14351 2013-05-14 Glenn Morris <rgm@gnu.org>
14353 * progmodes/f90.el (f90-imenu-generic-expression):
14354 Fix typo in 2013-05-08 change. (Bug#14402)
14356 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14358 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14359 Remove signals for which replies are never received.
14361 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14363 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14364 (gdb-handler-alist, gdb-handler-number): Remove variables.
14365 (gdb-handler-list): New variable.
14366 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14367 (gdb-pending-handler-p, gdb-handle-reply)
14368 (gdb-remove-all-pending-triggers): New functions.
14369 (gdb-discard-unordered-replies): New defcustom.
14370 (gdb-handler): New defstruct.
14371 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14372 instead of gdb-pending-triggers. Update docstring.
14373 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14374 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14375 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14376 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14377 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14378 (gdb-frame-handler): Pending triggers are now automatically managed.
14379 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14381 (gdb-input): Automatically handles pending triggers. Update docstring.
14382 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14383 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14385 (gdb-done-or-error): Now use gdb-handle-reply.
14387 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14389 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14392 2013-05-14 Glenn Morris <rgm@gnu.org>
14394 * subr.el (user-emacs-directory-warning): New option.
14395 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14397 2013-05-14 Leo Liu <sdl.web@gmail.com>
14399 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14401 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14402 (octave-font-lock-texinfo-comment): Fix invalid search bound
14403 error: wrong side of point.
14405 2013-05-14 Glenn Morris <rgm@gnu.org>
14407 * progmodes/flymake.el (flymake-xml-program): New option.
14408 (flymake-xml-init): Use it.
14410 * term/xterm.el: Provide a feature.
14412 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14414 2013-05-13 Glenn Morris <rgm@gnu.org>
14416 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14417 Add compat aliases as a hack workaround. (Bug#14384)
14419 2013-05-13 Leo Liu <sdl.web@gmail.com>
14421 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14423 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14425 (octave-comment-start-skip): Include %!.
14426 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14428 2013-05-12 Leo Liu <sdl.web@gmail.com>
14430 * progmodes/octave.el (inferior-octave-startup): Store the value
14431 of __octave_srcdir__ for octave-source-directories.
14432 (inferior-octave-check-process): New function refactored out of
14433 inferior-octave-send-list-and-digest.
14434 (octave-source-directories)
14435 (octave-find-definition-filename-function): New variables.
14436 (octave-source-directories)
14437 (octave-find-definition-default-filename): New functions.
14438 (octave-find-definition): Improve to find functions implemented in C++.
14440 2013-05-12 Glenn Morris <rgm@gnu.org>
14442 * calendar/diary-lib.el (diary-outlook-format-1):
14443 Don't include dayname in the output. (Bug#14349)
14445 2013-05-11 Glenn Morris <rgm@gnu.org>
14447 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14449 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14450 Treat cc-provide like provide.
14452 2013-05-11 Kevin Ryde <user42@zip.com.au>
14454 * cus-dep.el (custom-make-dependencies):
14455 Use generated-autoload-load-name for the sake of files such
14456 such cedet/semantic/bovine/c.el, where the base file name
14457 is not in load-path. (Bug#5277)
14459 2013-05-11 Glenn Morris <rgm@gnu.org>
14461 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14464 2013-05-11 Leo Liu <sdl.web@gmail.com>
14466 * progmodes/octave.el (octave-indent-comment): Improve.
14467 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14468 (octave-eldoc-function-signatures, octave-eldoc-function):
14470 (octave-mode, inferior-octave-mode): Add eldoc support.
14472 2013-05-11 Richard Stallman <rms@gnu.org>
14474 * epa.el (epa-decrypt-file): Take output file name as argument
14475 and read it using `interactive'.
14477 2013-05-11 Leo Liu <sdl.web@gmail.com>
14479 * progmodes/octave.el (octave-beginning-of-line)
14480 (octave-end-of-line): Check before using up-list because it jumps
14481 out of more syntactic contructs since moving to smie.
14482 (octave-indent-comment): New function.
14483 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14484 (octave-begin-keywords, octave-end-keywords)
14485 (octave-reserved-words, octave-smie-bnf-table)
14486 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14488 2013-05-11 Glenn Morris <rgm@gnu.org>
14490 * faces.el (internal-face-x-get-resource):
14491 * frame.el (ns-display-monitor-attributes-list):
14492 * calc/calc-aent.el (math-to-radians-2):
14493 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14496 * calc/calc-menu.el: Make it loadable in isolation.
14498 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14499 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14500 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14501 (eudc-bbdb-query-internal): Require 'bbdb.
14503 * lpr.el (lpr-headers-switches):
14504 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14506 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14508 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14510 * term.el (term-set-escape-char): Make it idempotent.
14512 2013-05-10 Leo Liu <sdl.web@gmail.com>
14514 * progmodes/octave.el (inferior-octave-completion-table):
14515 No longer a function and all uses changed. Use cache to speed up
14516 completion due to bug#11906.
14517 (octave-beginning-of-defun): Re-write to be more general.
14519 2013-05-10 Glenn Morris <rgm@gnu.org>
14521 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14523 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14525 * comint.el (comint-redirect-send-command-to-process): Use :around
14526 rather than :override for comint-redirect-filter.
14527 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14528 Call it instead of comint-redirect-original-filter-function (which
14529 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14531 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14533 * frame.el (display-monitor-attributes-list): Add NS case.
14534 (ns-display-monitor-attributes-list): Declare.
14536 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14538 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14540 2013-05-09 Glenn Morris <rgm@gnu.org>
14542 * international/fontset.el (vertical-centering-font-regexp):
14543 Set standard-value.
14545 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14547 * bookmark.el (bookmark-search-delay):
14548 * cus-start.el (vertical-centering-font-regexp):
14549 * ps-mule.el (ps-mule-font-info-database-default):
14550 * ps-print.el (ps-default-fg, ps-default-bg):
14551 * type-break.el (type-break-good-break-interval):
14552 * whitespace.el (whitespace-indentation-regexp)
14553 (whitespace-space-after-tab-regexp):
14554 * emacs-lisp/testcover.el (testcover-1value-functions)
14555 (testcover-noreturn-functions, testcover-progn-functions)
14556 (testcover-prog1-functions):
14557 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14558 * eshell/em-glob.el (eshell-glob-translate-alist):
14559 * play/tetris.el (tetris-tty-colors):
14560 * progmodes/cpp.el (cpp-face-default-list):
14561 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14562 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14563 (idlwave-help-browser-generic-args):
14564 * progmodes/make-mode.el (makefile-special-targets-list):
14565 * progmodes/python.el (python-shell-virtualenv-path):
14566 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14567 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14568 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14569 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14570 * textmodes/reftex-vars.el (reftex-format-label-function):
14571 * textmodes/remember.el (remember-diary-file): Fix custom types.
14573 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14576 2013-05-09 Leo Liu <sdl.web@gmail.com>
14578 * progmodes/octave.el (inferior-octave-completion-at-point):
14579 Restore file completion. (Bug#14300)
14580 (inferior-octave-startup): Fix incorrect highlighting for the
14583 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14585 * progmodes/ruby-mode.el: First cut at SMIE support.
14586 (ruby-use-smie): New var.
14587 (ruby-smie-grammar): New constant.
14588 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14589 (ruby-smie--forward-token, ruby-smie--backward-token)
14590 (ruby-smie-rules): New functions.
14591 (ruby-mode-variables): Setup SMIE if applicable.
14593 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14595 * simple.el (line-move-visual): Signal beginning/end of buffer
14596 only if vertical-motion moved less than it was requested. Avoids
14597 silly incorrect error messages when there are display strings with
14598 multiple newlines at EOL.
14600 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14602 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14603 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14604 (prolog-char-quote-workaround):
14605 * progmodes/cperl-mode.el (cperl-under-as-char):
14606 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14608 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14610 (vhdl-mode-syntax-table-init): Remove.
14612 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14615 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14617 (ld-script-font-lock-keywords):
14618 Change regexps to use things like \_< and \_>.
14620 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14621 Change all regexps to use things like \_< and \_>.
14623 * progmodes/autoconf.el (autoconf-definition-regexp)
14624 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14625 Handle a _ with symbol syntax.
14626 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14628 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14629 Consolidate declaration.
14630 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14632 (ada-create-syntax-table): Remove.
14633 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14634 already has the right syntax nowadays.
14635 (ada-goto-next-word): Don't change the syntax of "_".
14637 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14640 2013-05-08 Sam Steingold <sds@gnu.org>
14642 * thingatpt.el (thing-at-point): Accept optional second argument
14643 NO-PROPERTIES to strip the text properties from the return value.
14644 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14645 to `thing-at-point' instead of stripping the properties ourselves.
14646 Also, when `thing-at-point' fails to find a url, prepend "http://"
14647 to the filename at point on the assumption that the user is
14648 pointing at something like gnu.org/gnu.
14650 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14652 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14653 * faces.el (crm-separator):
14654 Silence byte-compiler.
14656 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14657 (tool-bar-map): Remove unneeded defvars.
14659 2013-05-08 Leo Liu <sdl.web@gmail.com>
14661 Re-work a fix for bug#10994 based on Le Wang's patch.
14662 * ido.el (ido-remove-consecutive-dups): New helper.
14663 (ido-completing-read): Use it.
14664 (ido-chop): Revert fix for bug#10994.
14666 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14668 * cus-edit.el (custom-save-variables):
14669 Pretty-print long values. (Bug#14187)
14671 2013-05-08 Glenn Morris <rgm@gnu.org>
14673 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14674 (m4-mode-syntax-table): Init in the defvar.
14675 (m4-mode-abbrev-table): Let define-derived-mode define it.
14677 2013-05-08 Tom Tromey <tromey@redhat.com>
14679 * progmodes/m4-mode.el (m4-mode-syntax-table):
14680 Do not treat "_" as word constituent. (Bug#14167)
14682 2013-05-07 Glenn Morris <rgm@gnu.org>
14684 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14685 Remove explicit eshell-isearch-cancel-map.
14687 * progmodes/f90.el (f90-smart-end-names): New option.
14688 (f90-smart-end): Doc fix.
14689 (f90-end-block-optional-name): New constant.
14690 (f90-block-match): Respect f90-smart-end-names.
14692 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14694 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14695 about implicit semi-colons (bug#14218).
14697 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14699 * frame.el (display-monitor-attributes-list)
14700 (frame-monitor-attributes): New functions.
14702 2013-05-06 Leo Liu <sdl.web@gmail.com>
14704 * progmodes/octave.el (octave-syntax-propertize-function): Change
14705 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14706 (octave-font-lock-keywords): Use octave-operator-regexp.
14707 (octave-completion-at-point): Rename from
14708 octave-completion-at-point-function.
14709 (inferior-octave-directory-tracker): Robustify.
14710 (octave-text-functions): Remove and fix its uses. No such things
14713 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * emacs-lisp/trace.el (trace--display-buffer): New function.
14716 (trace-make-advice): Use it.
14718 2013-05-06 Juri Linkov <juri@jurta.org>
14720 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14721 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14723 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14724 in the help string. (Bug#12985)
14726 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14728 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14730 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14732 * progmodes/perl-mode.el: Add support for here documents.
14733 (perl-syntax-propertize-function): Match here-doc markers.
14734 (perl-syntax-propertize-special-constructs): Find their end.
14735 (perl-imenu-generic-expression): Use [:alnum:].
14737 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14738 (advice--add-function): Refresh the advice if already present
14741 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14743 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14745 2013-05-06 Glenn Morris <rgm@gnu.org>
14747 * w32-fns.el (w32-charset-info-alist): Declare.
14749 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14750 of its defcustom properties.
14751 (eshell-cmpl-initialize): No need to load pcomplete.
14753 * generic-x.el: No need to require comint when compiling.
14755 * net/eudc-export.el: Make it loadable without bbdb.
14756 (top-level): Use require rather than load-library.
14757 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14758 (eudc-batch-export-records-to-bbdb)
14759 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14762 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14764 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14765 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14766 some tweaks, instead.
14768 2013-05-05 Leo Liu <sdl.web@gmail.com>
14770 * progmodes/octave.el (octave-font-lock-keywords)
14771 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14772 (inferior-octave-send-list-and-digest): Improve error message.
14773 (octave-mode, inferior-octave-mode): Use setq-local.
14774 (octave-help): Set info-lookup-mode.
14776 2013-05-05 Richard Stallman <rms@gnu.org>
14778 * vc/compare-w.el (compare-windows-whitespace):
14779 Treat no-break space as whitespace.
14781 * mail/rmailsum.el (rmail-summary-rmail-update):
14782 Detect empty summary and don't change selected message.
14783 (rmail-summary-goto-msg): Likewise.
14785 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14786 Doc fixes, rename args.
14788 2013-05-05 Alan Mackenzie <acm@muc.de>
14790 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14792 2013-05-05 Juri Linkov <juri@jurta.org>
14794 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14795 to not add the length of the summary segment to the return value.
14798 2013-05-05 Leo Liu <sdl.web@gmail.com>
14800 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14801 (inferior-octave-output-filter): Remove.
14802 (octave-send-region, inferior-octave-startup): Fix callers.
14803 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14804 (octave-binary-file-extensions): New user variable.
14805 (octave-find-definition): Confirm if opening binary files.
14806 (octave-help-file): Use octave-find-definition to get the binary
14808 (octave-help): Adjust for octave-help-file change.
14810 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14813 Merge the two entries that handle function definitions.
14814 (pascal--syntax-propertize): New const.
14815 (pascal-mode): Use it. Use setq-local.
14817 2013-05-04 Glenn Morris <rgm@gnu.org>
14819 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14820 (diary-from-outlook): Respect diary-from-outlook-function.
14822 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14824 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14825 Move the declaration from C.
14826 (read-minibuffer, eval-minibuffer): Move from C.
14827 (completion-setup-function): Avoid minibuffer-completion-contents.
14829 2013-05-03 Leo Liu <sdl.web@gmail.com>
14831 * progmodes/octave.el (octave-font-lock-keywords): Do not
14832 dehighlight 'end' in comments or strings.
14833 (octave-completing-read, octave-goto-function-definition):
14835 (octave-help-buffer): New user variable.
14836 (octave-help-file, octave-help-function): New button types.
14837 (octave-help): New command and bind it to C-h ;.
14838 (octave-find-definition): New command and bind it to M-.
14839 (user-error): Alias to error if not defined.
14841 2013-05-02 Leo Liu <sdl.web@gmail.com>
14843 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14845 (octave-font-lock-keywords): Include [ and {.
14847 2013-05-02 Leo Liu <sdl.web@gmail.com>
14849 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14850 (inferior-octave): Remove calling comint-mode and return the buffer.
14851 (inferior-octave-startup): Cosmetic changes.
14853 2013-05-02 Leo Liu <sdl.web@gmail.com>
14855 * progmodes/octave.el (octave-syntax-propertize-function):
14856 Include the case when ' is at line beginning. (Bug#14336)
14858 2013-05-02 Glenn Morris <rgm@gnu.org>
14860 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14861 * desktop.el (vc-dir-mode): Just autoload it here.
14863 2013-05-02 Alan Mackenzie <acm@muc.de>
14865 Eliminate variable c-standard-font-lock-fontify-region-function.
14866 * progmodes/cc-mode.el
14867 (c-standard-font-lock-fontify-region-function): Remove.
14868 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14870 2013-05-01 Leo Liu <sdl.web@gmail.com>
14872 * progmodes/octave.el: Compatible with older emacs-24 releases.
14873 (inferior-octave-has-built-in-variables): Remove. Built-in
14874 variables were removed from Octave in 2007.
14875 (inferior-octave-startup): Fix uses.
14876 (comint-line-beginning-position): Remove compatibility code for
14879 2013-05-01 Juri Linkov <juri@jurta.org>
14881 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14883 2013-05-01 Juri Linkov <juri@jurta.org>
14885 * comint.el (comint-previous-matching-input): Don't print message
14886 "History item: %d" when `isearch-mode' is active.
14887 (comint-history-isearch-message): Print message "History item: %d"
14888 when `comint-input-ring-index' is not empty and this function is
14889 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14891 2013-05-01 Leo Liu <sdl.web@gmail.com>
14893 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14894 definitions. Use completion-at-point to insert keywords.
14895 (octave-abbrev-start): Remove.
14896 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14898 2013-04-30 Leo Liu <sdl.web@gmail.com>
14900 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14903 2013-04-30 Alan Mackenzie <acm@muc.de>
14905 Handle arbitrarily long C++ member initialisation lists.
14906 * progmodes/cc-engine.el (c-back-over-member-initializers):
14908 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14909 (most) member init lists.
14911 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14913 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14916 2013-04-30 Leo Liu <sdl.web@gmail.com>
14918 * progmodes/octave.el (octave-variables): Remove. No builtin
14919 variables any more. All converted to functions.
14920 (octave-font-lock-keywords, octave-completion-at-point-function):
14922 (octave-font-lock-texinfo-comment): New user variable.
14923 (octave-texinfo-font-lock-keywords): New variable for texinfo
14925 (octave-function-comment-block): New face.
14926 (octave-font-lock-texinfo-comment): New function.
14927 (octave-mode): Font lock texinfo comment block.
14929 2013-04-29 Leo Liu <sdl.web@gmail.com>
14931 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14932 indexing expression.
14933 (octave-continuation-string): Do not use \.
14934 (inferior-octave-complete-impossible): Remove.
14935 (inferior-octave-completion-table)
14936 (inferior-octave-completion-at-point): Remove its uses.
14937 (inferior-octave-startup): completion_matches was introduced to
14938 Octave in 1996 so safe to assume it.
14939 (octave-function-file-comment): Improve to follow how Octave does it.
14940 (octave-update-function-file-comment): Tweak.
14942 2013-04-29 Leo Liu <sdl.web@gmail.com>
14944 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14945 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14946 (octave-function-file-comment): Fix typo.
14947 (octave-sync-function-file-names): Use read-char-choice.
14949 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14951 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14952 to t for the less important warnings.
14954 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14956 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14958 2013-04-27 Glenn Morris <rgm@gnu.org>
14960 * vc/log-view.el (log-view-current-entry):
14961 Treat "---" separator lines as part of the following rev. (Bug#14169)
14963 2013-04-27 Juri Linkov <juri@jurta.org>
14965 * subr.el (read-number): Doc fix about using it by interactive
14966 code letter `n'. (Bug#14254)
14968 2013-04-27 Juri Linkov <juri@jurta.org>
14970 * desktop.el (desktop-auto-save-timeout): New option.
14971 (desktop-file-checksum): New variable.
14972 (desktop-save): Add optional arg `auto-save' and don't auto-save
14973 if nothing changed.
14974 (desktop-auto-save-timer): New variable.
14975 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14976 (after-init-hook): Call `desktop-auto-save-set-timer'.
14977 Suggested by Reuben Thomas <rrt@sc3d.org> in
14978 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14980 2013-04-27 Leo Liu <sdl.web@gmail.com>
14982 * progmodes/octave.el (octave-function-file-p)
14983 (octave-skip-comment-forward, octave-function-file-comment)
14984 (octave-update-function-file-comment): New functions.
14985 (octave-mode-map): Bind C-c ; to
14986 octave-update-function-file-comment.
14987 (octave-mode-menu): Add octave-update-function-file-comment.
14988 (octave-mode, inferior-octave-mode): Fix doc-string.
14989 (octave-insert-defun): Conform to Octave's coding convention.
14992 * files.el (basic-save-buffer): Don't let errors in
14993 before-save-hook prevent saving buffer.
14995 2013-04-20 Roland Winkler <winkler@gnu.org>
14997 * faces.el (read-face-name): Use completing-read if arg multiple
15000 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15002 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15003 displayed, move point to after the totals line.
15004 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15007 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15009 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15010 Add current dir to the load-path.
15011 (package-generate-autoloads): Don't rely on
15012 autoload-ensure-default-file.
15014 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15016 * textmodes/remember.el (remember-store-in-files): Document that
15017 the file name format is passed to `format-time-string'.
15019 2013-04-26 Leo Liu <sdl.web@gmail.com>
15021 * progmodes/octave.el (octave-sync-function-file-names): New function.
15022 (octave-mode): Use it in before-save-hook.
15024 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15026 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15029 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15030 \n and comment, even if it's not an implicit ; (bug#14218).
15032 2013-04-26 Glenn Morris <rgm@gnu.org>
15034 * subr.el (read-number): Once more use `read' rather than
15035 `string-to-number', to trap non-numeric input. (Bug#14254)
15037 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15039 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15040 Use `syntax-multiline' text property consistently instead of
15041 `font-lock-multiline'. (Bug#14237)
15043 2013-04-26 Glenn Morris <rgm@gnu.org>
15045 * emacs-lisp/shadow.el (list-load-path-shadows):
15046 No longer necessary to check for duplicate simple.el, since
15047 2012-07-07 change to init_lread to not include installation lisp
15048 directories in load-path when running uninstalled. (Bug#14270)
15050 2013-04-26 Leo Liu <sdl.web@gmail.com>
15052 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15053 (octave-mode, inferior-octave-mode): Use setq-local.
15054 (octave-not-in-string-or-comment-p): Rename to
15055 octave-in-string-or-comment-p.
15056 (octave-in-comment-p, octave-in-string-p)
15057 (octave-in-string-or-comment-p): Replace defsubst with defun.
15059 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15061 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15063 2013-04-25 Bastien Guerry <bzg@gnu.org>
15065 * textmodes/remember.el (remember-data-directory)
15066 (remember-directory-file-name-format): Fix custom types.
15068 2013-04-25 Leo Liu <sdl.web@gmail.com>
15070 * progmodes/octave.el (octave-completion-at-point-function):
15071 Make use of inferior octave process.
15072 (octave-initialize-completions): Remove.
15073 (inferior-octave-completion-table): New function.
15074 (inferior-octave-completion-at-point): Use it.
15075 (octave-completion-alist): Remove.
15077 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15079 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15080 (opascal-mode-syntax-table): New var.
15081 (opascal-literal-kind, opascal-is-literal-end)
15082 (opascal-literal-token-at): Rewrite.
15083 (opascal--literal-start-re, opascal-font-lock-keywords)
15084 (opascal--syntax-propertize): New constants.
15085 (opascal-font-lock-defaults): Adjust.
15086 (opascal-mode): Use them. Set comment-<foo> variables as well.
15087 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15088 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15089 (delphi-other-face, opascal-other-face): Remove face variables.
15090 (opascal-save-state): Remove macro.
15091 (opascal-fontifying-progress-step): Remove constant.
15092 (opascal--ignore-changes): Remove var.
15093 (opascal-set-token-property, opascal-parse-next-literal)
15094 (opascal-is-stable-literal, opascal-complete-literal)
15095 (opascal-is-literal-start, opascal-face-of)
15096 (opascal-parse-region, opascal-parse-region-until-stable)
15097 (opascal-fontify-region, opascal-after-change)
15098 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15099 (opascal-debug-parse-region, opascal-debug-parse-window)
15100 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15101 (opascal-debug-fontify-buffer): Remove.
15102 (opascal-debug-mode-map): Adjust accordingly.
15104 2013-04-25 Leo Liu <sdl.web@gmail.com>
15106 Merge octave-mod.el and octave-inf.el into octave.el with some
15108 * progmodes/octave.el: New file renamed from octave-mod.el.
15109 * progmodes/octave-inf.el: Merged into octave.el.
15110 * progmodes/octave-mod.el: Renamed to octave.el.
15112 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15114 * textmodes/reftex-vars.el
15115 (reftex-label-ignored-macros-and-environments): New defcustom.
15117 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15119 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15121 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15122 (smie-indent-keyword): Improve the check to ensure that the next
15123 comment is really on the same line.
15124 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15126 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15127 semi-colons if the line is not otherwise empty (bug#14218).
15129 2013-04-25 Glenn Morris <rgm@gnu.org>
15131 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15133 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15135 * progmodes/opascal.el (opascal-set-token-property): Rename from
15136 opascal-set-text-properties and only set `token' (bug#14134).
15137 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15138 (opascal-literal-text-properties): Remove.
15139 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15142 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15144 * textmodes/remember.el (remember-handler-functions): Add an
15145 option for a new handler `remember-store-in-files'.
15146 (remember-data-directory, remember-directory-file-name-format):
15148 (remember-store-in-files): New function to store remember notes
15149 as separate files within a directory.
15151 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15153 * progmodes/compile.el (compilation-next-error-function):
15154 Pass "formats" to compilation-find-file (bug#11777).
15156 2013-04-24 Glenn Morris <rgm@gnu.org>
15158 * vc/vc-bzr.el (vc-bzr-print-log):
15159 * vc/vc-hg.el (vc-hg-print-log):
15160 * vc/vc-svn.el (vc-svn-print-log):
15161 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15163 * vc/vc-bzr.el (vc-bzr-print-log):
15164 * vc/vc-cvs.el (vc-cvs-print-log):
15165 * vc/vc-git.el (vc-git-print-log):
15166 * vc/vc-hg.el (vc-hg-print-log):
15167 * vc/vc-mtn.el (vc-mtn-print-log):
15168 * vc/vc-rcs.el (vc-rcs-print-log):
15169 * vc/vc-sccs.el (vc-sccs-print-log):
15170 * vc/vc-svn.el (vc-svn-print-log):
15171 * vc/vc.el (vc-print-log-internal): Doc fixes.
15173 2013-04-23 Glenn Morris <rgm@gnu.org>
15175 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15176 Remove venerable code attempting to avoid substitute-command-keys.
15178 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15180 * textmodes/reftex-vars.el (reftex-label-regexps):
15181 Call `reftex-compile-variables' after changes to this variable.
15183 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15185 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15186 Use lexical-binding.
15187 (jit-lock-force-redisplay): Use markers, check buffer's continued
15188 existence and beware narrowed buffers.
15189 (jit-lock-fontify-now): Adjust call accordingly.
15191 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15193 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15194 to avoid misleading the user.
15196 2013-04-22 Leo Liu <sdl.web@gmail.com>
15198 * info-look.el: Prefer latex2e.info. (Bug#14240)
15200 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15202 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15204 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15205 * net/tramp.el (tramp-call-process): ... here.
15206 (tramp-set-completion-function, tramp-parse-putty):
15207 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15208 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15209 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15210 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15211 (tramp-call-local-coding-command): Use `tramp-call-process'
15212 instead of `tramp-compat-call-process'.
15214 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15215 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15216 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15217 (tramp-find-inline-compress): Improve traces.
15218 (tramp-maybe-send-script): Check for Perl binary.
15219 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15221 2013-04-22 Daiki Ueno <ueno@gnu.org>
15223 * epg.el (epg-context-pinentry-mode): New function.
15224 (epg-context-set-pinentry-mode): New function.
15225 (epg--start): Pass --pinentry-mode option to gpg command.
15227 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15229 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15230 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15231 `completion-at-point'. (Bug#13774)
15233 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15234 default key binding for `describe-distribution' has been moved to
15235 `C-h C-o'. (Bug#13970)
15237 2013-04-21 Glenn Morris <rgm@gnu.org>
15239 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15241 (vc-print-log): Clarify interactive prompt.
15243 2013-04-20 Glenn Morris <rgm@gnu.org>
15245 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15246 No longer include timestamp etc information.
15248 2013-04-20 Roland Winkler <winkler@gnu.org>
15250 * faces.el (read-face-name): Bug fix, return just one face if arg
15251 multiple is nil. (Bug#14209)
15253 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15255 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15256 (remove-function): Autoload.
15258 * comint.el (comint-redirect-original-filter-function): Remove.
15259 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15260 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15261 (vc-cvs-annotate-command):
15262 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15263 * progmodes/prolog.el (prolog-consult-compile):
15264 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15265 Use add/remove-function instead.
15266 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15267 (gud-tooltip-process-output, gud-tooltip-tips):
15268 Use add/remove-function instead.
15269 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15270 (scheme-interaction-mode, exit-scheme-interaction-mode):
15271 Use add/remove-function instead.
15273 * vc/vc-dispatcher.el: Use lexical-binding.
15274 (vc--process-sentinel): Rename from vc-process-sentinel.
15275 Change last arg to be the code to run. Don't use vc-previous-sentinel
15276 and vc-sentinel-commands any more.
15277 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15278 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15280 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15282 * progmodes/sh-script.el (sh-imenu-generic-expression):
15283 Handle function names with a single character. (Bug#14111)
15285 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15287 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15288 for subroutines defined in an eval (bug#14182).
15290 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15292 * bookmark.el (bookmark-completing-read): Improve handling of empty
15293 string (bug#14176).
15295 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15297 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15299 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15301 New faster Imenu implementation (bug#14058).
15302 * progmodes/python.el (python-imenu-prev-index-position)
15303 (python-imenu-format-item-label-function)
15304 (python-imenu-format-parent-item-label-function)
15305 (python-imenu-format-parent-item-jump-label-function):
15307 (python-imenu-format-item-label)
15308 (python-imenu-format-parent-item-label)
15309 (python-imenu-format-parent-item-jump-label)
15310 (python-imenu--put-parent, python-imenu--build-tree)
15311 (python-imenu-create-index, python-imenu-create-flat-index)
15312 (python-util-popn): New functions.
15313 (python-mode): Set imenu-create-index-function to
15314 python-imenu-create-index.
15316 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15318 * winner.el (winner-active-region): Use region-active-p, activate-mark
15319 and deactivate-mark (bug#14225).
15321 * simple.el (deactivate-mark): Don't inline it.
15323 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15325 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15327 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15329 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15330 file extensions from the archive-mode entry in order to prefer
15331 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15333 2013-04-18 Leo Liu <sdl.web@gmail.com>
15335 * bindings.el (help-event-list): Add ?\?.
15337 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15339 * subr.el (with-wrapper-hook): Declare obsolete.
15340 * simple.el (filter-buffer-substring-function): New hook.
15341 (filter-buffer-substring): Use it.
15342 (filter-buffer-substring-functions): Mark obsolete.
15343 * minibuffer.el (completion-in-region-function): New hook.
15344 (completion-in-region): Use it.
15345 (completion-in-region-functions): Mark obsolete.
15346 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15347 * abbrev.el (abbrev-expand-function): New hook.
15348 (expand-abbrev): Use it.
15349 (abbrev-expand-functions): Mark obsolete.
15350 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15351 and :filter-return.
15353 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15355 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15356 and do not care about match data.
15358 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15360 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15361 completion tables when completing error conditions and
15362 `declare' arguments.
15363 (lisp-complete-symbol, field-complete): Mark as obsolete.
15364 (check-parens): Unmatched parens are user errors.
15365 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15367 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15369 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15370 command changed buffer (ie. `flyspell-pre-buffer' is not current
15371 buffer), which prevents making decisions based on invalid value of
15372 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15373 cause an error when `flyspell-pre-point' was nil after switching
15375 (flyspell-post-command-hook): No longer needs to change buffers when
15376 checking pre-word. While at it remove unnecessary progn.
15378 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15380 * textmodes/ispell.el (ispell-add-per-file-word-list):
15381 Fix `flyspell-correct-word-before-point' error when accepting
15382 words and `coment-padding' is an integer by using
15383 `comment-normalize-vars' (Bug #14214).
15385 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15387 New defun movement commands.
15388 * progmodes/python.el (python-nav--syntactically)
15389 (python-nav--forward-defun, python-nav-backward-defun)
15390 (python-nav-forward-defun): New functions.
15392 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15394 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15395 (python-syntax-context): Use named compiler-macro for backwards
15396 compatibility with Emacs 24.x.
15398 2013-04-17 Leo Liu <sdl.web@gmail.com>
15400 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15401 octave-hide-process-buffer.
15403 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15405 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15408 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15410 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15411 Fix adjustment of offset when receiving incomplete responses from GDB
15414 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15416 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15417 python-mode-abbrev-table.
15418 (python-skeleton-define): Adjust accordingly.
15419 (python-mode-abbrev-table): New table that inherits from it so that
15420 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15422 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15423 (abbrev-symbol): Use it.
15424 (abbrev--before-point): Use it since we already handle inheritance.
15426 2013-04-16 Leo Liu <sdl.web@gmail.com>
15428 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15429 binding to info-lookup-symbol.
15431 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15433 * minibuffer.el (completion--twq-all):
15434 * term/ns-win.el (ns-initialize-window-system):
15435 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15437 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15439 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15442 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15444 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15446 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15447 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15449 (ruby-end-of-defun): Remove the unused arg, change the docstring
15450 to reflect that this function is only used as the value of
15451 `end-of-defun-function'.
15452 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15453 to reflect an earlier change that beginning/end-of-defun functions
15454 jump between methods in a class definition, as well as top-level
15457 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15459 * minibuffer.el (minibuffer-complete): Don't just scroll
15460 a *Completions* that's been iconified.
15461 (minibuffer-force-complete): Make sure repetitions do cycle when going
15462 through completion-in-region -> minibuffer-complete.
15464 2013-04-15 Alan Mackenzie <acm@muc.de>
15466 Correct the placement of c-cpp-delimiters when there're #s not at
15469 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15470 place a submatch around the #.
15471 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15472 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15475 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15477 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15478 (advice--member-p): New arg `name'.
15479 (advice--add-function, advice-member-p): Use it (bug#14202).
15481 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15483 Reformulate java imenu-generic-expression.
15484 The old expression contained ill formed regexps.
15486 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15487 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15488 (cc-imenu-java-method-arg-regexp): New defconsts.
15489 (cc-imenu-java-build-type-args-regex): New defun.
15490 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15491 handling of spaces in the regexp.
15493 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15495 * textmodes/ispell.el (ispell-command-loop): Remove
15496 flyspell highlight of a word when ispell accepts it (bug #14178).
15498 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15500 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15501 uses code from the previous `ange-ftp-run-real-handler'.
15502 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15503 only in case that function exist. This is needed for proper
15504 unloading of Tramp.
15506 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15508 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15510 * textmodes/reftex.el (reftex-compile-variables): Use it.
15512 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15514 * files.el (normal-mode): Only use default major-mode if no other mode
15517 * emacs-lisp/trace.el (trace-values): New function.
15519 * files.el: Allow : in local variables (bug#14089).
15520 (hack-local-variable-regexp): New var.
15521 (hack-local-variables-prop-line, hack-local-variables): Use it.
15523 2013-04-13 Roland Winkler <winkler@gnu.org>
15525 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15526 data before it gets modified by bibtex-beginning-of-entry.
15528 2013-04-13 Roland Winkler <winkler@gnu.org>
15530 * textmodes/bibtex.el (bibtex-url): Doc fix.
15532 2013-04-13 Roland Winkler <winkler@gnu.org>
15534 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15535 does not visit a BibTeX file, exclude it from the list of buffers
15536 returned by bibtex-initialize.
15538 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15540 * window.el (split-window): Remove interactive form, since as a
15541 command this function is a special case of split-window-below.
15542 Correct doc string.
15544 2013-04-12 Roland Winkler <winkler@gnu.org>
15546 * faces.el (read-face-name): Do not override value of arg default.
15547 Allow single faces and strings as default values. Remove those
15548 elements from return value that are not faces.
15549 (describe-face): Simplify.
15550 (face-at-point): New optional args thing and multiple so that this
15551 function can provide the same functionality previously provided by
15553 (make-face-bold, make-face-unbold, make-face-italic)
15554 (make-face-unitalic, make-face-bold-italic, invert-face)
15555 (modify-face, read-face-and-attribute): Use face-at-point.
15557 * cus-edit.el (customize-face, customize-face-other-window)
15558 * cus-theme.el (custom-theme-add-face)
15559 * face-remap.el (buffer-face-set)
15560 * facemenu.el (facemenu-set-face): Use face-at-point.
15562 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15564 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15566 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15568 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15569 off leading { and trailing } from field values.
15571 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15573 * emacs-lisp/timer.el (timer--check): New function.
15574 (timer--time, timer-set-function, timer-event-handler): Use it.
15575 (timer-set-idle-time): Simplify.
15576 (timer--activate): CSE.
15577 (timer-event-handler): Give more info in error message.
15578 (internal-timer-start-idle): New function, moved from C.
15580 * mpc.el (mpc-proc): Add `restart' argument.
15581 (mpc-proc-cmd): Use it.
15582 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15583 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15586 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15588 * progmodes/sh-script.el: Implement `sh-mode' own
15589 `add-log-current-defun-function' (bug#14112).
15590 (sh-current-defun-name): New function.
15591 (sh-mode): Use the function.
15593 2013-04-09 Bastien Guerry <bzg@gnu.org>
15595 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15597 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15599 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15601 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15604 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15606 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15609 2013-04-07 Leo Liu <sdl.web@gmail.com>
15611 * pcmpl-x.el: New file.
15613 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15615 Do not set x-display-name until X connection is established.
15616 This is needed to prevent from weird situation described at
15617 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15618 * frame.el (make-frame): Set x-display-name after call to
15619 window system initialization function, not before.
15620 * term/x-win.el (x-initialize-window-system): Add optional
15621 display argument and use it.
15622 * term/w32-win.el (w32-initialize-window-system):
15623 * term/ns-win.el (ns-initialize-window-system):
15624 * term/pc-win.el (msdos-initialize-window-system):
15625 Add compatible optional display argument.
15627 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15629 * files.el (normal-backup-enable-predicate): On MS-Windows and
15630 MS-DOS compare truenames of temporary-file-directory and of the
15631 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15632 don't fail comparison by compare-strings. Also, compare file
15633 names case-insensitively on MS-Windows and MS-DOS.
15635 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15637 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15638 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15640 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15642 * whitespace.el (whitespace-color-on, whitespace-color-off):
15643 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15645 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15647 * ispell.el (ispell-set-spellchecker-params):
15648 Really set `ispell-args' for all equivs.
15650 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15652 * ido.el (ido-completions): Use extra elements of ido-decorations
15654 (ido-decorations): Update docstring.
15656 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15658 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15659 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15660 nil during initialization, in order not to miss changes since the
15661 file was opened. (Bug#14140)
15663 2013-04-05 Leo Liu <sdl.web@gmail.com>
15665 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15667 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15669 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15671 2013-04-04 Glenn Morris <rgm@gnu.org>
15673 * electric.el (electric-pair-inhibit-predicate): Add :version.
15675 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15677 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15678 when a package is required several times (bug#14082).
15680 2013-04-04 Roland Winkler <winkler@gnu.org>
15682 * faces.el (read-face-name): Behave as promised by the docstring.
15683 Assume that arg default is a list of faces.
15684 (describe-face): Call read-face-name with list of default faces.
15686 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15688 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15689 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15690 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15692 (bookmark-exit-hook-internal): Save even if list is empty.
15694 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15696 * emacs-lisp/package.el (package-pinned-packages): New var.
15697 (package--add-to-archive-contents): Obey it (bug#14118).
15699 2013-04-03 Alan Mackenzie <acm@muc.de>
15701 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15702 Also adapt to the new values of element 7 of a parse state.
15704 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15705 parameter `not-in-delimiter'. Handle being inside comment opener.
15706 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15707 character in case we're typing a '*' after a '/'.
15708 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15709 instead by passing the parameter to c-state-pp-to-literal.
15711 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15712 for elt. 7 of a parse state.
15714 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15716 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15717 * international/latin1-disp.el, international/mule-util.el:
15718 * language/cyril-util.el, language/european.el, language/ind-util.el:
15719 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15720 * language/tibetan.el, language/viet-util.el:
15721 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15723 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15725 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15726 (electric-pair-post-self-insert-function): Use it.
15727 (electric-pair-default-inhibit): New function, extracted from
15728 electric-pair-post-self-insert-function.
15730 2013-03-31 Roland Winkler <winkler@gnu.org>
15732 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15734 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15736 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15738 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15740 Un-indent after "pass" and "return" statements (Bug#13888)
15741 * progmodes/python.el (python-indent-block-enders): New var.
15742 (python-indent-calculate-indentation): Use it.
15744 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15746 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15747 defun. Defining it as defalias could introduce too eager
15748 byte-compiler optimization. (Bug#14030)
15750 2013-03-30 Chong Yidong <cyd@gnu.org>
15752 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15754 2013-03-30 Leo Liu <sdl.web@gmail.com>
15756 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15757 (kmacro-execute-from-register): Pass the keyboard macro to
15758 kmacro-call-macro or repeating won't work correctly.
15760 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15762 * progmodes/subword.el: Back to using `forward-symbol'.
15764 * subr.el (forward-whitespace, forward-symbol)
15765 (forward-same-syntax): Move from thingatpt.el.
15767 2013-03-29 Leo Liu <sdl.web@gmail.com>
15769 * kmacro.el (kmacro-to-register): New command.
15770 (kmacro-execute-from-register): New function.
15771 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15773 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15775 * mpc.el: Use defvar-local and setq-local.
15776 (mpc--proc-connect): Connection failures are not bugs.
15777 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15778 (mpc-volume-map): Bind to the up-events.
15780 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15782 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15783 instead of `forward-symbol'.
15785 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15787 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15788 (edebug--recursive-edit): Use it.
15789 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15790 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15792 2013-03-28 Leo Liu <sdl.web@gmail.com>
15794 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15796 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15798 * facemenu.el (list-colors-callback): New defvar.
15799 (list-colors-redisplay): New function.
15800 (list-colors-display): Install list-colors-redisplay as the
15801 revert-buffer-function. (Bug#14063)
15803 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15805 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15806 and suffixes don't overlap (bug#14061).
15808 * case-table.el: Use lexical-binding.
15809 (case-table-get-table): New function.
15810 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15812 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15814 * progmodes/subword.el: Add `superword-mode' to do word motion
15815 over symbol_words (parallels and leverages `subword-mode' which
15816 does word motion inside MixedCaseWords).
15818 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15820 * eshell/em-unix.el: Move su and sudo to...
15821 * eshell/em-tramp.el: ...Eshell tramp module.
15823 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15825 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15826 Change return value to be a sexp. Delay `get-buffer' to after
15827 restoring the desktop (bug#13951).
15829 2013-03-26 Leo Liu <sdl.web@gmail.com>
15831 * register.el: Move semantic tag handling back to
15832 cedet/semantic/senator.el. (Bug#14052)
15834 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15837 into the prompt either (bug#13963).
15839 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15841 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15842 part of "(error-foo)".
15844 2013-03-24 Juri Linkov <juri@jurta.org>
15846 * replace.el (list-matching-lines-prefix-face): New defcustom.
15847 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15848 `occur-engine' if `face-differs-from-default-p' returns t.
15849 (occur-engine): Add `,' inside backquote construct to evaluate
15850 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15851 Pass `prefix-face' to the functions `occur-context-lines' and
15852 `occur-engine-add-prefix'.
15853 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15854 `prefix-face' and propertize the prefix with `prefix-face'.
15857 2013-03-24 Leo Liu <sdl.web@gmail.com>
15859 * nxml/rng-valid.el (rng-validate-while-idle)
15860 (rng-validate-quick-while-idle): Guard against deleted buffer.
15863 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15864 is the last entry in kill-buffer-hook.
15866 * files.el (kill-buffer-hook): Doc fix.
15868 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15870 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15871 Make it safe-local.
15873 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15875 2013-03-23 Leo Liu <sdl.web@gmail.com>
15877 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15880 * nxml/rng-valid.el (rng-validate-mode)
15881 (rng-after-change-function, rng-do-some-validation):
15882 * nxml/rng-maint.el (rng-validate-buffer):
15883 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15884 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15885 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15886 (nxml-extend-after-change-region): Use with-silent-modifications.
15888 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15891 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15892 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15893 timer-idle-list. (Bug#13999)
15895 2013-03-23 Juri Linkov <juri@jurta.org>
15897 * info.el (info-index-match): New face.
15898 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15899 main pattern and add text properties with the new face to matches
15900 in index entries relative to the beginning of the index entry.
15903 2013-03-21 Eric Ludlam <zappo@gnu.org>
15905 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15906 Inhibit read only while inserting objects.
15908 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15910 * progmodes/cfengine.el: Update docs to mention
15911 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15912 symbol motion. Remove "_" from the word syntax.
15914 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15916 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15917 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15919 2013-03-20 Juri Linkov <juri@jurta.org>
15921 * info.el (Info-next-reference-or-link)
15922 (Info-prev-reference-or-link): New functions.
15923 (Info-next-reference, Info-prev-reference): Use them.
15924 (Info-try-follow-nearest-node): Handle footnote navigation.
15925 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15927 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15929 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15930 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15932 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15934 Suppress unnecessary non-ASCII chatter during build process.
15935 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15936 (batch-skkdic-convert): Suppress most of the chatter.
15937 It's not needed so much now that machines are faster,
15938 and its non-ASCII component was confusing; see Dmitry Gutov in
15939 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15941 2013-03-20 Leo Liu <sdl.web@gmail.com>
15943 * ido.el (ido-chop): Fix bug#10994.
15945 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15947 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15949 (whitespace-color-on, whitespace-color-off):
15950 Use `font-lock-fontify-buffer' (Bug#13817).
15952 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15954 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15955 remapping in mode-line.
15956 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15958 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15960 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15961 value for `whitespace-line' face (Bug#13875).
15962 (whitespace-font-lock-keywords): Change description.
15963 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15964 the constructed keywords instead.
15965 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15967 2013-03-19 Leo Liu <sdl.web@gmail.com>
15969 * progmodes/compile.el (compilation-display-error): New command.
15970 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15973 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15975 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15977 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15979 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15981 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15983 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15985 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15986 * net/tramp-gvfs.el (top):
15987 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15988 (tramp-handle-shell-command): Use it.
15989 (tramp-dissect-file-name): Raise an error when hostname is a
15990 method name, and neither method nor user is specified.
15992 * net/trampver.el: Update release number.
15994 2013-03-18 Leo Liu <sdl.web@gmail.com>
15996 Make sure eldoc can be turned off properly.
15997 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15999 (eldoc-display-message-p): Revert last change.
16000 (eldoc-display-message-no-interference-p)
16001 (eldoc-print-current-symbol-info): Tweak.
16003 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16005 * doc-view.el (doc-view-new-window-function): Check the new window
16006 overlay's display property instead the char property of the
16007 buffer's first char. Use `with-selected-window' instead of
16008 `save-window-excursion' with `select-window'.
16009 (doc-view-document->bitmap): Check the current doc-view overlay's
16010 display property instead the char property of the buffer's first char.
16012 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16014 Automate the build of ja-dic.el (Bug#13984).
16015 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16016 from the input, rather than assume that it's been done for us by the
16017 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16018 the current date into a ja-dic.el comment, as that complicates
16019 regression testing.
16021 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16023 * whitespace.el: Fix double evaluation.
16024 (whitespace-space, whitespace-hspace, whitespace-tab)
16025 (whitespace-newline, whitespace-trailing, whitespace-line)
16026 (whitespace-space-before-tab, whitespace-indentation)
16027 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16029 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16030 (whitespace-color-on): Use a single font-lock-add-keywords call.
16031 Fix double-evaluation of face variables.
16033 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16035 * net/tramp-adb.el (tramp-adb-parse-device-names):
16036 Use `start-process' instead of `call-process'. Otherwise, the
16037 function might be blocked under MS Windows. (Bug#13299)
16039 2013-03-17 Leo Liu <sdl.web@gmail.com>
16041 Extend eldoc to display info in the mode-line. (Bug#13978)
16042 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16043 (eldoc-mode-line-string): New variable.
16044 (eldoc-minibuffer-message): New function.
16045 (eldoc-message-function): New variable.
16046 (eldoc-message): Use it.
16047 (eldoc-display-message-p)
16048 (eldoc-display-message-no-interference-p):
16049 Support eldoc-post-insert-mode.
16051 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16052 (eval-expression): Run it.
16054 2013-03-17 Roland Winkler <winkler@gnu.org>
16056 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16057 strings in the list of return values.
16059 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16061 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16062 radix before checking for HMS forms.
16064 2013-03-16 Leo Liu <sdl.web@gmail.com>
16066 * progmodes/scheme.el: Add indentation and font-locking for λ.
16069 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16072 token before point (bug#13942).
16074 2013-03-16 Leo Liu <sdl.web@gmail.com>
16076 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16078 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16080 * startup.el (command-line-normalize-file-name): Fix handling of
16081 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16082 <xfq.free@gmail.com> in
16083 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16085 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16087 Sync with Tramp 2.2.7.
16089 * net/trampver.el: Update release number.
16091 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16093 * doc-view.el: Fix bug#13887.
16094 (doc-view-insert-image): Don't modify overlay associated to
16095 non-live windows, and implement horizontal centering of image in
16096 case it's smaller than the window.
16097 (doc-view-new-window-function): Force redisplay of new windows on
16100 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16102 * saveplace.el (save-place-alist-to-file): Don't sort
16103 `save-place-alist', just pretty-print it (bug#13882).
16105 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16107 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16108 Check whether `default-file-name-coding-system' is bound.
16109 It isn't in XEmacs.
16111 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16113 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16114 backquotes for `obsolete' (bug#13929).
16116 * international/mule.el (find-auto-coding): Include file name in
16117 obsolescence warning (bug#13922).
16119 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16121 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16122 for CFEngine 3-specific indentation.
16123 (cfengine3-indent-line): Use it. Fix up category regex.
16124 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16126 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16128 * type-break.el (type-break-file-name):
16129 * textmodes/remember.el (remember-data-file):
16130 * strokes.el (strokes-file):
16131 * shadowfile.el (shadow-initialize):
16132 * saveplace.el (save-place-file):
16133 * ps-bdf.el (bdf-cache-file):
16134 * progmodes/idlwave.el (idlwave-config-directory):
16135 * net/quickurl.el (quickurl-url-file):
16136 * international/kkc.el (kkc-init-file-name):
16137 * ido.el (ido-save-directory-list-file):
16138 * emulation/viper.el (viper-custom-file-name):
16139 * emulation/vip.el (vip-startup-file):
16140 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16141 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16143 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16145 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16146 * language/thai-word.el: Switch to UTF-8.
16148 See ChangeLog.16 for earlier changes.
16150 ;; Local Variables:
16154 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16156 This file is part of GNU Emacs.
16158 GNU Emacs is free software: you can redistribute it and/or modify
16159 it under the terms of the GNU General Public License as published by
16160 the Free Software Foundation, either version 3 of the License, or
16161 (at your option) any later version.
16163 GNU Emacs is distributed in the hope that it will be useful,
16164 but WITHOUT ANY WARRANTY; without even the implied warranty of
16165 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16166 GNU General Public License for more details.
16168 You should have received a copy of the GNU General Public License
16169 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.