* lisp/abbrev.el (edit-abbrevs-mode): Derive from fundamental-mode.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-08 Glenn Morris <rgm@gnu.org>
2
3 * abbrev.el (edit-abbrevs-mode):
4 Derive from fundamental-mode. (Bug#16682)
5
6 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
7
8 * simple.el (quoted-insert): Check character validity (bug#16677).
9
10 2014-02-07 Juri Linkov <juri@jurta.org>
11
12 * desktop.el (desktop-read): Claim the lock when the owner is not
13 the current process. (Bug#16157)
14
15 2014-02-07 Juri Linkov <juri@jurta.org>
16
17 * desktop.el (desktop-buffers-not-to-save): Change default from nil
18 to "\\` ". (Bug#16651)
19
20 2014-02-07 Juri Linkov <juri@jurta.org>
21
22 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
23 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
24 (desktop-auto-save-cancel-timer): New function with some code from
25 `desktop-auto-save-set-timer'.
26 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
27 Instead of setting `desktop-save-mode' to nil, call
28 `desktop-save-mode' with arg 0. (Bug#16630)
29
30 2014-02-07 Glenn Morris <rgm@gnu.org>
31
32 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
33 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
34 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
35
36 * obsolete/iswitchb.el: Move to obsolete/.
37 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
38 since obsolete/ is not scanned for autoloads.
39 * emacs-lisp/authors.el (authors-valid-file-names):
40 Add iswitchb.el.
41
42 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
43 Disable now non-functional find-file-hook.
44
45 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
46
47 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
48 instead of ";" in order to avoid additional prompts. Let heredoc
49 scripts read from tty. (Bug#16582)
50 (tramp-send-command): No special handling of heredocs, it isn't
51 necessary anymore.
52
53 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
56 with a space (bug#16664). Limit the symbols considered to the ones
57 that are bound or fbound (bug#16646).
58
59 2014-02-06 Glenn Morris <rgm@gnu.org>
60
61 * epa.el (epa-mail-aliases): Doc fix.
62
63 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
64
65 * emacs-lisp/lisp.el (lisp-completion-at-point):
66 Use `completion-table-merge' instead of `completion-table-in-turn'
67 (bug#16604).
68
69 * minibuffer.el (completion-table-merge): New function.
70
71 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
72
73 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
74 (tramp-sh-handle-set-file-acl)
75 (tramp-sh-handle-start-file-process)
76 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
77 (tramp-find-executable, tramp-send-command): Use it.
78
79 2014-02-05 Glenn Morris <rgm@gnu.org>
80
81 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
82
83 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
84
85 * progmodes/python.el (python-shell-send-string):
86 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
87
88 2014-02-04 Anders Lindgren <andlind@gmail.com>
89
90 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
91 the names (bug#16620).
92
93 2014-02-03 Martin Rudalics <rudalics@gmx.at>
94
95 * faces.el (window-divider): New default value. Rewrite doc-string.
96 (window-divider-first-pixel, window-divider-last-pixel): New faces.
97
98 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
99
100 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
101 `protected' and `public' can also be called without arguments.
102
103 2014-02-03 Glenn Morris <rgm@gnu.org>
104
105 * register.el (window-configuration-to-register)
106 (frame-configuration-to-register): Unadvertise unused argument.
107 * frameset.el (frameset-to-register): Remove unused argument.
108
109 * frameset.el (frameset-to-register):
110 * kmacro.el (kmacro-to-register):
111 * register.el (increment-register):
112 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
113 (calc-append-to-register, calc-prepend-to-register):
114 * play/gametree.el (gametree-layout-to-register)
115 (gametree-apply-register-layout):
116 * textmodes/picture.el (picture-clear-rectangle-to-register)
117 (picture-yank-rectangle-from-register):
118 * vc/emerge.el (emerge-combine-versions-register):
119 Use register-read-with-preview to read registers.
120
121 2014-02-03 João Távora <joaotavora@gmail.com>
122
123 * elec-pair.el (electric-pair-backward-delete-char): Don't error
124 when at beginning of (possibly narrowed) buffer.
125
126 2014-02-02 Daniel Colascione <dancol@dancol.org>
127
128 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
129 Also try to display local help from just before point.
130
131 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
132
133 c-parse-state. Don't "append-lower-brace-pair" in certain
134 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
135 recognised as a comment.
136
137 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
138 as well as normal comment starter.
139 (c-parse-state-get-strategy): Extra return possibility
140 'back-and-forward.
141 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
142 return value list to indicate replacement of a brace-pair cons
143 with its car.
144 (c-parse-state-1): With 'back-and-forward, only call
145 c-append-lower-brace-pair-to state-cache when cons-separated.
146
147 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
148
149 * term/ns-win.el (ns-suspend-error): New function.
150 (ns-initialize-window-system): Add ns-suspend-error to
151 suspend-hook (Bug#16612).
152
153 2014-02-02 Daniel Colascione <dancol@dancol.org>
154
155 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
156
157 2014-02-02 Daniel Colascione <dancol@dancol.org>
158
159 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
160
161 2014-02-02 Glenn Morris <rgm@gnu.org>
162
163 * register.el (register-read-with-preview, point-to-register)
164 (window-configuration-to-register, frame-configuration-to-register)
165 (jump-to-register, number-to-register, view-register, insert-register)
166 (copy-to-register, append-to-register, prepend-to-register)
167 (copy-rectangle-to-register): Doc fixes.
168
169 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
172 * emacs-lisp/find-func.el (find-function-C-source): Idem.
173 * emacs-lisp/nadvice.el (advice--cd*r): New function.
174 * help-fns.el (describe-function-1): Use it.
175
176 2014-02-02 Glenn Morris <rgm@gnu.org>
177
178 * register.el (register-preview-default): New function,
179 split from register-preview.
180 (register-preview-function): Rename from register-preview-functions,
181 make it not a hook.
182 (register-preview): Use register-preview-function.
183 (register-read-with-preview): Error on non-character event. (Bug#16595)
184
185 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
186
187 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
188 `:' before binary operators (bug#16609). Don't check for `:'
189 before `[' and `(', or their syntax status. A percent literal
190 can't end with either.
191 (ruby-font-lock-keywords): For built-ins that require arguments,
192 check that they're followed by something that looks like argument
193 (bug#16610).
194
195 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
196
197 * subr.el (butlast): Document what an omitted N means (bug#13437).
198 (nbutlast): Ditto.
199
200 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
201
202 * net/shr.el (shr-generic): Make into a defsubst to make the stack
203 depth shallower (bug#16587).
204 (shr-tag-svg): Respect `shr-inhibit-images'.
205 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
206
207 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
208
209 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
210 (ruby-smie-grammar): Make "." right-associative. Make its priority
211 lower than the ternary and all binary operators.
212 (ruby-smie-rules): Indent "(" relative to the first non-"."
213 parent, or the first "." parent at indentation.
214 Use `ruby-align-chained-calls' for indentation of "." tokens.
215 (Bug#16593)
216
217 2014-01-31 Juri Linkov <juri@jurta.org>
218
219 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
220 from `make-hash-table'.
221
222 * textmodes/ispell.el (ispell-init-process): Change message format
223 to be consistent with other messages.
224
225 2014-01-31 Glenn Morris <rgm@gnu.org>
226
227 * delsel.el (delete-selection-mode): Doc fix.
228
229 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
230 (trace-function-background): Doc fixes.
231
232 * ido.el (ido-use-virtual-buffers): Doc fix.
233 Reset :version, since the default value has not changed.
234
235 * register.el (register-preview-delay, register-read-with-preview):
236 Doc fixes.
237
238 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
239 do not mess with mail-buffer position (fixes 2009-11-03 change).
240 * progmodes/cc-mode.el (c-submit-bug-report):
241 Check auto-fill-mode is bound. (Bug#16592)
242
243 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
244
245 * startup.el (fancy-splash-image-file): New function,
246 split from fancy-splash-head.
247 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
248 so that we are both using the same image. (Bug#16574)
249
250 2014-01-30 Glenn Morris <rgm@gnu.org>
251
252 * simple.el (eval-expression): Doc fix.
253
254 * hexl.el (hexl-mode-hook):
255 * ielm.el (ielm-mode-hook):
256 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
257 (lisp-interaction-mode-hook):
258 * progmodes/cfengine.e (cfengine3-documentation-function):
259 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
260
261 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
264 is a symbol (bug#16584).
265
266 2014-01-30 Glenn Morris <rgm@gnu.org>
267
268 * help.el (help-for-help-internal): Add "P" to text.
269
270 2014-01-29 Glenn Morris <rgm@gnu.org>
271
272 * simple.el (just-one-space, cycle-spacing): Doc fixes.
273
274 2014-01-28 Martin Rudalics <rudalics@gmx.at>
275
276 * window.el (fit-frame-to-buffer): Fix calculations for margins and
277 height constraints.
278
279 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
280
281 * progmodes/hideif.el: Extend to full CPP expression syntax.
282 (hif-token-alist): Add missing tokens.
283 (hif-token-regexp): Add support for float/octal/hex immediates.
284 (hif-string-literal-regexp): New const.
285 (hif-tokenize): Recognize strings and float/octal/hex immediates.
286 (hif-exprlist): New function.
287 (hif-parse-if-exp): Use it.
288 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
289 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
290 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
291 (hif-logxor, hif-comma): New functions.
292
293 2014-01-28 Glenn Morris <rgm@gnu.org>
294
295 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
296
297 * indent.el (tab-stop-list): Doc fix. Add :version.
298
299 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
300 (cvs-append-to-ignore): Add compatibility alias.
301
302 2014-01-27 Glenn Morris <rgm@gnu.org>
303
304 * dired.el (dired-hide-details-mode): Don't autoload it,
305 since it cannot be used outside Dired buffers anyway.
306
307 * emulation/cua-base.el (cua-mode): Doc fix.
308
309 * dired.el (dired-hide-details-hide-symlink-targets)
310 (dired-hide-details-hide-information-lines)
311 (dired-hide-details-mode): Doc fixes.
312
313 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
314 * strokes.el (strokes-file): Doc fix. Bump :version.
315 (strokes-help): Doc fix.
316 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
317 * emulation/viper.el (viper): Doc fix for custom group.
318 (top-level): Remove oh-so-no-longer-relevant text about vip.
319 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
320
321 * ido.el (ido-save-directory-list-file):
322 * saveplace.el (save-place-file):
323 * calendar/timeclock.el (timeclock-file):
324 * net/quickurl.el (quickurl-url-file):
325 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
326 * progmodes/idlwave.el (idlwave-config-directory):
327 * textmodes/remember.el (remember-data-file):
328 Bump :version.
329
330 2014-01-26 Glenn Morris <rgm@gnu.org>
331
332 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
333 Doc fix. Make obsolete.
334 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
335
336 * sort.el (delete-duplicate-lines): Doc fix.
337
338 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
339
340 * progmodes/ada-mode.el (ada):
341 * woman.el (woman): Link to info manual and Commentary section.
342
343 * progmodes/flymake.el (flymake):
344 * nxml/nxml-mode.el (nxml):
345 * net/eww.el (eww):
346 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
347 * htmlfontify.el (htmlfontify):
348 * ses.el (ses):
349 * epa.el (epa):
350 * ido.el (ido): Link to info manual.
351
352 2014-01-25 Leo Liu <sdl.web@gmail.com>
353
354 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
355
356 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
357
358 * net/shr.el (shr-tag-img): Prefer the title over the alt text
359 (bug#16537).
360
361 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
362
363 * net/eww.el (eww-download-callback):
364 Fix reference to eww-download-directory.
365
366 * emacs-lisp/bytecomp.el (byte-compile-file):
367 Remove unused local variable `file-name'.
368
369 2014-01-24 Glenn Morris <rgm@gnu.org>
370
371 * woman.el (woman-default-faces, woman-monochrome-faces):
372 Fix obsolescence specification.
373
374 * subr.el (with-demoted-errors): Doc fix.
375
376 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
379 (cl--macroexp-fboundp): New function.
380 (cl--make-type-test): Use it.
381
382 2014-01-23 Glenn Morris <rgm@gnu.org>
383
384 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
385 * simple.el (eval-expression): Doc fixes.
386
387 2014-01-22 Glenn Morris <rgm@gnu.org>
388
389 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
390
391 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * emacs-lisp/package.el: Write files silently.
394 (package-autoload-ensure-default-file, package--write-file-no-coding)
395 (package-generate-description-file, package--download-one-archive)
396 (package-install-from-archive): Tell `write-region' to stay quiet.
397 (package-menu-mode, package-menu--print-info): Omit the Archive column
398 if there's only one archive.
399 (package-all-keywords, package--has-keyword-p): Remove dead code.
400
401 2014-01-22 Glenn Morris <rgm@gnu.org>
402
403 * version.el (emacs-bzr-version-bzr): Fix typo.
404
405 * version.el (emacs-repository-get-version):
406 Check either .bzr or .git, but not both.
407 Make the git case actually use the DIR argument, and return nil
408 rather than the empty string.
409 Avoid error if .git exists but the git executable is not found.
410
411 2014-01-22 Martin Rudalics <rudalics@gmx.at>
412
413 Fixes in window size functions around Bug#16430 and Bug#16470.
414 * window.el (window-total-size, window-size): New argument ROUND.
415 (window--min-delta-1, window-min-delta, window--max-delta-1):
416 Be more conservative when calculating the numbers of lines or
417 columns a window can shrink (Bug#16430).
418 (fit-window-to-buffer): Simplify code.
419 * term.el (term-window-width): Call window-body-width again.
420
421 2014-01-22 Glenn Morris <rgm@gnu.org>
422
423 * image.el (image-format-suffixes): Doc fix.
424
425 * international/quail.el (quail-define-package): Doc fix.
426
427 * emacs-lisp/authors.el (authors-valid-file-names):
428 (authors-renamed-files-alist): Additions.
429
430 * vc/vc-git.el (vc-git-print-log): Remove --follow;
431 reverts 2014-01-09 change. (Bug#16422)
432
433 * calc/calc-embed.el (thing-at-point-looking-at):
434 * emacs-lisp/map-ynp.el (x-popup-dialog):
435 * obsolete/lmenu.el (x-popup-dialog):
436 * emacs-lisp/package.el (url-recreate-url):
437 * mail/mailclient.el (clipboard-kill-ring-save):
438 * subr.el (x-popup-dialog): Update declaration.
439 * mail/rmail.el (rmail-mime-message-p):
440 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
441
442 2014-01-21 Daniel Colascione <dancol@dancol.org>
443
444 * progmodes/sh-script.el (sh--inside-noncommand-expression):
445 Correctly detect when we're inside an arithmetic expansion form
446 containing nested parenthesis.
447 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
448 to detect cases where we shouldn't expand "<<" to a heredoc
449 skeleton.
450
451 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
454 (eldoc--message-command-p): New function.
455 (eldoc-display-message-p): Use it.
456 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
457 message is not automatically erased for us.
458 (eldoc-print-current-symbol-info): Erase previous message, if any.
459
460 2014-01-21 Tassilo Horn <tsdh@gnu.org>
461
462 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
463 specify it's an interactive function.
464
465 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
466 Fix regex used for scanning for citation keys which failed for
467 citations with optional arguments.
468
469 2014-01-21 Leo Liu <sdl.web@gmail.com>
470
471 * simple.el (read--expression): Don't enable eldoc-mode.
472
473 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * simple.el (move-beginning-of-line): Make sure we don't move forward
476 (bug#16497).
477
478 2014-01-20 Juri Linkov <juri@jurta.org>
479
480 * saveplace.el (toggle-save-place, save-place-to-alist)
481 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
482 'dired-mode) before checking for dired-directory. (Bug#16477)
483
484 2014-01-20 Juri Linkov <juri@jurta.org>
485
486 * indent.el (indent-line-to): Use backward-to-indentation
487 instead of back-to-indentation. (Bug#16461)
488
489 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
490
491 Revert some of the CANNOT_DUMP fix (Bug#16494).
492 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
493 but fixing this can wait until after the next release.
494 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
495
496 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
497
498 * eshell/esh-mode.el (eshell-password-prompt-regexp):
499 Use `password-word-equivalents'.
500 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
501 to t. (Bug#5664, Bug#13124)
502
503 2014-01-19 Alan Mackenzie <acm@muc.de>
504
505 Bind open-paren-in-column-0-is-defun-start to nil at some entry
506 points.
507 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
508 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
509 * progmodes/cc-mode.el (c-before-change, c-after-change)
510 (c-font-lock-fontify-region): Bind it here.
511
512 2014-01-19 Martin Rudalics <rudalics@gmx.at>
513
514 * term.el (term-window-width): Call window-text-width instead of
515 window-width (Bug#16470).
516
517 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
518
519 * simple.el (password-word-equivalents): Remove duplicates.
520 Sort, to make this easier next time.
521 Downcase. Omit ": " after "jelszó".
522
523 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
524
525 * term/common-win.el (saved-region-selection): Defvar it.
526 (x-select-text): Set saved-region-selection (Bug#16382).
527
528 2014-01-18 Glenn Morris <rgm@gnu.org>
529
530 * emacs-lisp/authors.el (authors-aliases)
531 (authors-renamed-files-alist): Add some entries.
532
533 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/tramp.el (tramp-password-prompt-regexp):
536 Use `password-word-equivalents' if available.
537 (tramp-action-password, tramp-process-one-action)
538 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
539
540 2014-01-17 Chong Yidong <cyd@gnu.org>
541
542 * simple.el (password-word-equivalents): New defcustom.
543 * comint.el (comint-password-prompt-regexp): Use it. Bump version
544 to 24.4.
545 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
546 to t. (Bug#13124)
547
548 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
549
550 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
551 (ruby-align-to-stmt-keywords): Change the default value.
552 Use `ruby-alignable-keywords' to generate the possible customization
553 choices.
554 (ruby-smie-rules): Instead of using a hardcoded list of alignable
555 keywords, check against the value of `ruby-alignable-keywords'
556 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
557
558 2014-01-17 Glenn Morris <rgm@gnu.org>
559
560 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
561
562 Make M-x authors return zero *Authors Errors* from current logs.
563 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
564 (authors-ignored-files): Add some entries, remove others.
565 (authors-ambiguous-files, authors-valid-file-names):
566 Add some entries.
567 (authors-renamed-files-alist): Add, remove, and adjust entries.
568 (authors-renamed-files-regexps): Add some entries.
569 Remove some very broad ones. Make some entries `lax'.
570 (authors-lax-changelogs): New constant.
571 (authors-disambiguate-file-name): Treat top-level specially.
572 (authors-lax-changelog-p): New function.
573 (authors-canonical-file-name): Check file as written against
574 authors-valid-file-names. Do not special-case etc/.
575 Handle `lax' logs and authors-renamed-files-regexps elements.
576
577 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
578
579 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
580 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
581 callers.
582
583 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
586 Assume we're already in the proper buffer.
587 Inspired by Anders Lindgren <andlind@gmail.com>.
588 (follow-post-command-hook): Call it from the right buffer.
589 (follow-comint-scroll-to-bottom): Adjust call.
590 (follow-all-followers): Use get-buffer-window-list.
591
592 2014-01-15 Daniel Colascione <dancol@dancol.org>
593
594 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
595 `buffer-file-name' in interactive-form so that we don't leave
596 pathless file names in `file-name-history'.
597
598 2014-01-15 Juri Linkov <juri@jurta.org>
599
600 * indent.el (indent-rigidly): Set deactivate-mark to nil
601 in transient indentation mode. (Bug#16438)
602
603 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
604
605 * emacs-lisp/package.el (package-desc-keywords): New function
606 (Bug#16222).
607 (describe-package-1, package-all-keywords)
608 (package--has-keyword-p): Use it.
609
610 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
611
612 * simple.el (define-alternatives): When creating the
613 COMMAND-alternatives variable, assign COMMAND as its definition
614 name so that `describe-variable' can relocate it.
615
616 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
617
618 * font-lock.el (font-lock-keywords): Fix typo in docstring
619 (bug#16307).
620
621 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
622
623 * ispell.el (ispell-region): Reset `in-comment' for new line
624 instead of wrongly reset `add-coment' (bug#13577).
625
626 2014-01-14 Daiki Ueno <ueno@gnu.org>
627
628 * epa-file.el (epa-file-write-region): Encode the region according
629 to `buffer-file-format'. Problem reported at:
630 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
631
632 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
635 so it applies in the right buffer (bug#16410).
636
637 2014-01-13 Daniel Colascione <dancol@dancol.org>
638
639 * textmodes/rst.el (rst-define-key): Provide deprecated
640 keybindings through named functions instead of anonymous ones so
641 that "??" doesn't appear in describe-mode output.
642
643 2014-01-13 Bastien Guerry <bzg@gnu.org>
644
645 * simple.el (define-alternatives): Call the selected command
646 interactively. When setting `COMMAND--implementation' for the
647 first time, tell the user how to chose another implementation.
648 Enhance the docstring.
649
650 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
653 (log-edit--match-first-line): New function.
654 (log-edit-font-lock-keywords): Use it.
655 (log-edit-mode): Make jit-lock-defer-multiline work.
656
657 2014-01-13 Bastien Guerry <bzg@gnu.org>
658
659 * rect.el (rectangle-mark-mode): When the region is not active,
660 display a message saying that the mark as been set and that
661 rectangle mode is in use.
662 (rectangle--highlight-for-redisplay): Only put an overlay with a
663 visible vertical bar when (display-graphic-p) is non-nil.
664 This partially fixes Bug#16403.
665
666 2014-01-13 Juri Linkov <juri@jurta.org>
667
668 * info.el (Info-find-file): Go to DIR before displaying the error
669 about a nonexistent file if no previous Info file is visited.
670 Use `user-error' instead of `error' for "Info file %s does not exist".
671 (Info-find-node-2): In case of a nonexistent node in unwind forms
672 go to the Top node if there is no previous node to revert to.
673 (Bug#16405)
674
675 2014-01-13 Martin Rudalics <rudalics@gmx.at>
676
677 fit-frame/window-to-buffer code fixes including one for Bug#14096.
678 * window.el (fit-frame-to-buffer): Fix doc-string.
679 Respect window-min-height/-width. Fit pixelwise when
680 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
681 when avoiding that frame goes partially off-screen.
682 (fit-window-to-buffer): Respect window-min-height/-width
683 (Bug#14096).
684
685 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
688 after an empty line.
689
690 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * net/shr.el (shr-render-region): Autoload.
693
694 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
695
696 * net/eww.el (eww-download-directory): Rename from
697 `eww-download-path' (Bug#16419).
698
699 2014-01-12 Leo Liu <sdl.web@gmail.com>
700
701 * dired-x.el (dired-mode-map): Fix last change.
702
703 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
704
705 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
706
707 Spelling fixes.
708 * emacs-lisp/generic.el (generic--normalize-comments):
709 Rename from generic--normalise-comments. All uses changed.
710 * play/bubbles.el (bubbles--neighborhood-score):
711 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
712 (bubbles--neighborhood-available)
713 (bubbles--update-neighborhood-score):
714 Rename from names with 'neighbourhood'. All uses changed.
715
716 2014-01-12 Leo Liu <sdl.web@gmail.com>
717
718 Re-implement the feature of showing eldoc info after editing.
719 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
720 (eldoc-edit-message-commands): New function.
721 (eldoc-print-after-edit): New variable.
722 (eldoc-pre-command-refresh-echo-area): Emit message only by
723 eldoc-message-commands.
724 (eldoc-mode): Restrict eldoc-message-commands to editing commands
725 if eldoc-print-after-edit is set. (Bug#16346)
726 * simple.el (read--expression): Enable eldoc-mode.
727 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
728
729 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
730 Eric S. Raymond <esr@thyrsus.com>
731
732 * version.el (emacs-repository-get-version): Enhance so the
733 function works correctly in either a Bazaar or Git repo.
734
735 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
736
737 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
738 Goes with removal of the joke manpages from /etc.
739
740 2014-01-10 K. Handa <handa@gnu.org>
741
742 * mail/rmail.el (rmail-get-coding-system):
743 Check rmail-get-coding-function before "funcall"ing it.
744
745 2014-01-10 Glenn Morris <rgm@gnu.org>
746
747 * emacs-lisp/authors.el (authors-fixed-entries):
748 Update for files that no longer exist.
749
750 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
751
752 * version.el (emacs-bzr-get-version): Restore compatibilty with
753 24.3 (Tested).
754
755 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
756
757 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
758 and Podfile.
759
760 2014-01-10 Eli Zaretskii <eliz@gnu.org>
761
762 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
763
764 2014-01-10 Chong Yidong <cyd@gnu.org>
765
766 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
767
768 2014-01-10 Anders Lindgren <andlind@gmail.com>
769
770 * follow.el (follow-cache-command-list): Include right-char and
771 left-char.
772
773 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
774
775 Spelling fixes.
776 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
777 * woman.el (woman-mark-horizontal-position):
778 Rename from woman-mark-horizonal-position. Use changed.
779
780 2014-01-10 Glenn Morris <rgm@gnu.org>
781
782 * info.el (info-initialize): If running uninstalled, ensure our
783 own info files are always found first, even if INFOPATH is set.
784
785 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
786
787 2014-01-09 David Engster <deng@randomsample.de>
788
789 * emacs-lisp/eieio-custom.el:
790 * emacs-lisp/eieio-opt.el: Set generated autoload file to
791 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
792 * emacs-lisp/eieio.el: Regenerate autoloads.
793
794 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
795
796 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
797 following renames. (Bug#8756)
798
799 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
802 (bug#16382).
803 (activate-mark): Add `no-tmm' argument.
804 (set-mark, push-mark-command): Use it instead of running
805 activate-mark-hook by hand.
806
807 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
808
809 In preparation for the move to git, sanitize out some
810 Bazaar-specific names.
811
812 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
813
814 * version.el (emacs-bzr-version): Name changed to
815 emacs-repository-version. Obsolete-variable alias made.
816 * loadup.el: Follow through on this name change.
817 * mail/emacsbug.el (report-emacs-bug): Factor out any
818 assumption about the version control system in use.
819
820 2014-01-08 David Engster <deng@randomsample.de>
821
822 * help-fns.el (help-fns-describe-function-functions):
823 New variable to call functions for augmenting help buffers.
824 (describe-function-1): Remove explicit calls to
825 `help-fns--compiler-macro', `help-fns--parent-mode' and
826 `help-fns--obsolete'. Put them in above new variable instead, and
827 call them through `run-hook-with-args'.
828 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
829 `eieio-describe-class'. Not meant for interactive use anymore,
830 but to augment existing help buffers. Remove optional second
831 argument. Create proper button for file location.
832 Rewrite function to use `insert' instead of `princ' and `prin1' where
833 possible.
834 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
835 (eieio-method-def, eieio-class-def): Move further up.
836 (describe-method, describe-generic, eieio-describe-method):
837 Remove aliases.
838 (eieio-help-constructor, eieio-help-generic): Rename from
839 `eieio-describe-constructor' and `eieio-describe-generic', resp.
840 Rewrite to use `insert' in the current buffer and use proper help
841 buttons.
842 (eieio-help-find-method-definition)
843 (eieio-help-find-class-definition): Also accept symbols as
844 arguments.
845 (eieio-help-mode-augmentation-maybee): Remove.
846 (eieio-describe-class-sb): Use `describe-function'.
847 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
848 Add `eieio-help-generic' and `eieio-help-constructor'.
849
850 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
851
852 Spelling fixes.
853 * language/china-util.el (hz-ascii-designation):
854 Rename from hz-ascii-designnation.
855 (hz-ascii-designation): Rename from hz-ascii-designnation.
856 All uses changed.
857
858 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
859
860 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
861 package-alist.
862
863 2014-01-08 Bastien Guerry <bzg@gnu.org>
864
865 * emacs-lisp/package.el (package-delete):
866 Correctly delete the package from package-alist.
867
868 2014-01-08 Daiki Ueno <ueno@gnu.org>
869
870 * emacs-lisp/package.el (url-recreate-url): Declare.
871 (url-http-target-url): Declare.
872 (package-handle-response): Include requested URL in the error message.
873 (package--check-signature): Don't re-signal errors from
874 package--with-work-buffer. Suggested by Stefan Monnier.
875
876 2014-01-07 Bastien Guerry <bzg@gnu.org>
877
878 * minibuffer.el (completion--try-word-completion): When both a
879 hyphen and a space are possible candidates for the character
880 following a word, display both candidates. (Bug#15980)
881
882 2014-01-07 Martin Rudalics <rudalics@gmx.at>
883
884 * window.el (balance-windows-2): While rounding don't give a
885 window more than the remainder. Bug#16351, Bug#16383.
886
887 2014-01-07 Glenn Morris <rgm@gnu.org>
888
889 * menu-bar.el (menu-bar-help-extra-packages): Remove.
890 (menu-bar-help-menu): Use view-external-packages instead.
891
892 2014-01-07 Bastien Guerry <bzg@gnu.org>
893
894 * emacs-lisp/package.el (package-delete): Also delete the package
895 name from `package-alist', not its description only.
896
897 2014-01-07 Glenn Morris <rgm@gnu.org>
898
899 * help.el (view-external-packages):
900 * menu-bar.el (menu-bar-help-extra-packages):
901 Visit efaq.info rather than etc/MORE.STUFF.
902
903 2014-01-07 Juri Linkov <juri@jurta.org>
904
905 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
906 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
907
908 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
909 that shadows RET. (Bug#16342)
910
911 2014-01-07 Chong Yidong <cyd@gnu.org>
912
913 * isearch.el (isearch-yank-char, isearch-yank-word)
914 (isearch-yank-line): Doc fix.
915
916 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
919 * emacs-lisp/elint.el (elint-find-builtins):
920 * emacs-lisp/eldoc.el (eldoc-symbol-function):
921 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
922 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
923 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
924 * apropos.el (apropos-safe-documentation):
925 * subr.el (symbol-file): Remove redundant fboundp.
926 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
927
928 2014-01-06 Bastien Guerry <bzg@gnu.org>
929
930 * hl-line.el (global-hl-line-overlay): Make a local variable.
931 (global-hl-line-overlays): New variable to store all overlays.
932 (global-hl-line-mode): Don't delete overlays from the current
933 buffer when `global-hl-line-sticky-flag' is non-nil.
934 (global-hl-line-highlight): Add new overlays to
935 `global-hl-line-overlays'.
936 (global-hl-line-unhighlight-all): New function to delete all
937 overlays when turning off `global-hl-line-mode'.
938 This fixes Bug#16183.
939
940 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * subr.el (set-transient-map): Fix nested case and docstring.
943
944 2014-01-06 Tassilo Horn <tsdh@gnu.org>
945
946 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
947 `Texinfo' entry.
948
949 2014-01-06 Daniel Colascione <dancol@dancol.org>
950
951 Fix defun navigation in vc log view.
952
953 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
954 like `beginning-of-defun'.
955 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
956 log-view-end-of-defun to log-view-end-of-defun-1. Replace
957 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
958 (log-view-extract-comment): Call `log-view-current-entry' directly
959 instead of relying on broken `log-view-beginning-of-defun' behavior.
960
961 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
962
963 Spelling fixes.
964 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
965 * emacs-lisp/debug.el (cancel-debug-on-entry):
966 * epg.el (epg-error-to-string):
967 * files.el (recover-file):
968 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
969 * mail/emacsbug.el (report-emacs-bug-hook):
970 * mail/sendmail.el (mail-recover):
971 * ses.el (ses-yank-resize):
972 * term/ns-win.el (ns-print-buffer):
973 Spelling fixes in diagnostics, mostly for "canceled" with one L.
974 * epg.el (epg-key-capability-alist): Rename from misspelled version.
975 All uses changed.
976 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
977
978 2014-01-06 Leo Liu <sdl.web@gmail.com>
979
980 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
981 to avoid shadowing global key. (Bug#16354)
982
983 2014-01-06 Daniel Colascione <dancol@dancol.org>
984
985 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
986 rst-mode.
987
988 2014-01-05 Martin Rudalics <rudalics@gmx.at>
989
990 * window.el (balance-windows): Add mising t to fix Bug#16351.
991
992 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
993
994 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
995 (bug#16285).
996 (shr-insert): If we have a word that's longer than `shr-width',
997 break after it anyway. Otherwise we'll do no breaking once we get
998 such a long word.
999
1000 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1001
1002 * net/eww.el (eww): Support single/double quote for search.
1003 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1004 (eww-history-quit): Delete and use quit-window.
1005 (eww-history-kill): Delete, because it doesn't work well and
1006 not necessary.
1007 (eww-history-mode-map): Delete some keys and add easy-menu.
1008
1009 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1010
1011 Fix misspelling of 'chinese' in rx (Bug#16237).
1012 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1013 chinese-two-byte.
1014
1015 Change subword regexps back to vars (Bug#16296).
1016 * progmodes/subword.el (subword-forward-regexp)
1017 (subword-backward-regexp): Change these back to variables.
1018
1019 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1022 syntax-begin-function (bug#16247).
1023
1024 2014-01-03 Chong Yidong <cyd@gnu.org>
1025
1026 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1027 (advice--docstring): Delete variable.
1028 (advice--make-1): Leave the docstring empty.
1029 (advice-add): Use function-documentation for advised docstring.
1030
1031 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1032 Ignore function-documentation property when getting documentation.
1033 (ad-activate-advised-definition): Use function-documentation
1034 generate the docstring.
1035 (ad-make-advised-definition): Don't call
1036 ad-make-advised-definition-docstring.
1037 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1038 Delete functions.
1039
1040 * progmodes/sql.el (sql-help): Use function-documentation instead
1041 of dynamic-docstring-function property. No need to autoload now.
1042 (sql--help-docstring): New variable.
1043 (sql--make-help-docstring): Use it.
1044
1045 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * ielm.el (ielm-tab): Retarget.
1048 (ielm-map): Use ielm-tab for tab.
1049 (ielm-complete-filename): Use comint-filename-completion.
1050 (ielm-complete-symbol): Remove.
1051 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1052 remove ielm-tab from completion-at-point-functions (bug#16224).
1053
1054 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1055 Beware signals raised by predicates (bug#16201).
1056
1057 2014-01-02 Richard Stallman <rms@gnu.org>
1058
1059 * dired-aux.el (dired-do-print): Handle printer-name.
1060
1061 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1062 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1063 (rmail-epa-decrypt): Turn off mime processing.
1064
1065 * mail/rmail.el (rmail-make-in-reply-to-field):
1066 Add parens in message-id.
1067
1068 * mail/rmail.el (rmail-get-coding-function): Variable.
1069 (rmail-get-coding-system): Use it.
1070
1071 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1072
1073 * international/mule-conf.el: Unify the charset indian-is13194.
1074 (indian-is13194): Specify unify-map.
1075
1076 2013-12-31 Leo Liu <sdl.web@gmail.com>
1077
1078 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1079
1080 2013-12-30 Daniel Colascione <dancol@dancol.org>
1081
1082 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1083 of printing a useless when we resume from sleep.
1084
1085 * progmodes/sh-script.el
1086 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1087 in indentation code. (Bug#16233)
1088
1089 2013-12-28 João Távora <joaotavora@gmail.com>
1090
1091 * elec-pair.el (electric-pair-post-self-insert-function):
1092 Don't open extra newlines at beginning of buffer. (Bug#16272)
1093
1094 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1095
1096 * frame.el (window-system-for-display): Don't allow to create a
1097 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1098
1099 2013-12-28 Glenn Morris <rgm@gnu.org>
1100
1101 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1102 Update callers.
1103
1104 * apropos.el (apropos-match-face):
1105 * calculator.el (calculator-displayer):
1106 * dabbrev.el (dabbrev-search-these-buffers-only):
1107 * face-remap.el (buffer-face-mode-face):
1108 * simple.el (yank-handled-properties):
1109 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1110 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1111 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1112 (hashcash-double-spend-database):
1113 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1114 (ruby-deep-indent-paren-style):
1115 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1116 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1117 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1118 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1119 Specify custom types.
1120
1121 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1122 * bookmark.el (bookmark-bmenu-use-header-line):
1123 * doc-view.el (doc-view-scale-internally):
1124 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1125 * register.el (register-preview-delay):
1126 * net/shr.el (shr-bullet):
1127 * progmodes/cfengine.el (cfengine-cf-promises)
1128 (cfengine-parameters-indent):
1129 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1130 * textmodes/reftex-vars.el (reftex-label-regexps):
1131 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1132
1133 * net/tls.el (tls-certtool-program): Fix default value.
1134
1135 * desktop.el (desktop-restore-in-current-display):
1136 * newcomment.el (comment-empty-lines):
1137 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1138 (idlwave-pad-keyword):
1139 * progmodes/tcl.el (tcl-tab-always-indent):
1140 * textmodes/reftex-vars.el (reftex-index-default-tag):
1141 * elec-pair.el (electric-pair-skip-whitespace):
1142 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1143
1144 * emacs-lisp/authors.el (authors-ignored-files)
1145 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1146
1147 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1148
1149 * shell.el (shell-dynamic-complete-command): Doc fix.
1150 (shell--command-completion-data): Shell completion now matches
1151 executable filenames from the current buffer's directory, on
1152 systems in which this behavior is the default (windows-nt, ms-dos).
1153
1154 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1155
1156 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1157
1158 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1161 (bug#16251).
1162
1163 * electric.el: Move all electric-pair-* to elec-pair.el.
1164 * elec-pair.el: New file, split from electric.el.
1165
1166 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1167
1168 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1169 indentation level is larger than the width, because that will
1170 infloop.
1171 (shr-insert): Fill repeatedly long texts, so that Japanese is
1172 formatted correctly (bug#16263).
1173 (shr-find-fill-point): Off by one error in comparison with the
1174 indentation.
1175
1176 2013-12-26 João Távora <joaotavora@gmail.com>
1177
1178 * electric.el (electric-pair-mode): More flexible engine for skip-
1179 and inhibit predicates, new options for pairing-related functionality.
1180 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1181 if that keeps or improves their balance in buffers.
1182 (electric-pair-delete-adjacent-pairs): Delete the pair when
1183 backspacing over adjacent matched delimiters.
1184 (electric-pair-open-extra-newline): Open extra newline when
1185 inserting newlines between adjacent matched delimiters.
1186 (electric--sort-post-self-insertion-hook):
1187 Sort post-self-insert-hook according to priority values when
1188 minor-modes are activated.
1189 * simple.el (newline-and-indent): Call newline with interactive
1190 set to t.
1191 (blink-paren-post-self-insert-function): Set priority to 100.
1192 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1193 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1194 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1195 electric-pair-open-newline-between-pairs to nil.
1196
1197 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1198
1199 * progmodes/python.el: Use lexical-binding.
1200 (python-nav-beginning-of-defun): Stop searching ASAP.
1201
1202 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1203
1204 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1205 Fix interactive spec. Doc fix. (Bug#15754)
1206
1207 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1208
1209 * emacs-lisp/byte-run.el (eval-when-compile):
1210 * progmodes/cc-defs.el (cc-eval-when-compile):
1211 Fix edebug spec (bug#16184).
1212
1213 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1214
1215 * net/shr.el (shr-visit-file): Remove debugging function.
1216 (shr-insert): Don't infloop if we can't find a good place to break
1217 the line (bug#16256).
1218
1219 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1220
1221 * progmodes/python.el:
1222 (python-nav--lisp-forward-sexp): New function.
1223 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1224 python-nav-lisp-forward-sexp-safe.
1225 (python-nav--forward-sexp): New argument SAFE allows switching
1226 forward sexp movement behavior for parens.
1227 (python-nav-forward-sexp): Throw errors on unterminated parens
1228 (Bug#16191).
1229 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1230 (python-nav-backward-sexp-safe): New functions.
1231 (python-shell-buffer-substring):
1232 Use `python-nav-forward-sexp-safe'.
1233
1234 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1235
1236 * net/shr.el (shr-find-fill-point): Don't break lines before a
1237 quotation mark.
1238 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1239 (shr-find-fill-point): Remove the special checks for the quotation
1240 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1241
1242 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1243
1244 * net/eww.el (eww-form-textarea): Use a different face for
1245 textareas than text input since they have different keymaps
1246 (bug#16142).
1247
1248 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1249
1250 * progmodes/python.el (python-nav-beginning-of-statement):
1251 Speed up (Bug#15295).
1252
1253 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1254
1255 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1256 the window configuration.
1257
1258 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1259
1260 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1261 we run on MS-Windows or MS-DOS.
1262
1263 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1264
1265 * window.el (balance-windows-area): Call window-size instead of
1266 window-height and window-width. Bug#16241.
1267
1268 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1269
1270 * net/eww.el (eww-bookmark-quit): Remove.
1271 (eww-bookmark-browse): Restore the window configuration when you
1272 choose a bookmark (bug#16144).
1273
1274 2013-12-24 Daniel Colascione <dancol@dancol.org>
1275
1276 * icomplete.el: Remove redundant :group arguments to `defcustom'
1277 throughout.
1278 (icomplete-show-matches-on-no-input): New customizable variable.
1279 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1280 we have something to show.
1281 (icomplete-exhibit): Compute completions even if we have no user input.
1282
1283 2013-12-23 Daniel Colascione <dancol@dancol.org>
1284
1285 * icomplete.el: Move `provide' to end of file.
1286
1287 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1288
1289 * net/gnutls.el (gnutls-verify-error): Add version tag.
1290
1291 2013-12-23 Chong Yidong <cyd@gnu.org>
1292
1293 * subr.el (set-transient-map): Rename from
1294 set-temporary-overlay-map. Doc fix.
1295
1296 * face-remap.el (text-scale-adjust):
1297 * indent.el (indent-rigidly):
1298 * kmacro.el (kmacro-call-macro):
1299 * minibuffer.el (minibuffer-force-complete):
1300 * repeat.el (repeat):
1301 * simple.el (universal-argument--mode):
1302 * calendar/todo-mode.el (todo-insert-item--next-param):
1303 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1304
1305 * indent.el (indent-rigidly): Use substitute-command-keys.
1306
1307 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1308
1309 * net/eww.el (eww-tag-select): Add text-property to jump to next
1310 select field.
1311 (eww): Add non-supported ftp error.
1312
1313 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1314
1315 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1316 comments. Handle electric indent after typing `?' and `!'.
1317
1318 2013-12-22 Chong Yidong <cyd@gnu.org>
1319
1320 * faces.el (face-spec-recalc): If the theme specs are not
1321 applicable to a frame, fall back on the defface spec.
1322 This prevents themes from obliterating faces on low-color terminals.
1323
1324 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1327 after `{'. We need it after block openers, and it doesn't seem
1328 to hurt after hash openers.
1329
1330 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1331
1332 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1333 extracted from `ruby-smie-rules'.
1334 (ruby--electric-indent-chars): New variable.
1335 (ruby--electric-indent-p): New function.
1336 (ruby-mode): Use `electric-indent-functions' instead of
1337 `electric-indent-chars'.
1338
1339 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1342 docstring.
1343 (ruby-smie-rules): Indent plus one level after `=>'.
1344
1345 2013-12-21 Richard Stallman <rms@gnu.org>
1346
1347 * simple.el (newline): Doc fix.
1348
1349 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1350
1351 * net/eww.el (eww-list-histories, eww-list-histories)
1352 (eww-history-browse, eww-history-quit, eww-history-kill)
1353 (eww-history-mode-map, eww-history-mode): New command and
1354 functions to list browser histories.
1355 (eww-form-text): Support text form with disabled
1356 and readonly attributes.
1357 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1358
1359 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1360
1361 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1362 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1363 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1364 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1365 Use `user-error'.
1366 (eww-bookmark-mode-map): Add menu.
1367 (eww-render, eww-mode): Use `setq-local'.
1368 (eww-tool-bar-map): New variable.
1369 (eww-mode): Set `tool-bar-map'.
1370 (eww-view-source): Check for `html-mode' with `fboundp'.
1371
1372 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1373
1374 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1375 elements with text inside. Also remove debugging.
1376
1377 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1378
1379 * cus-start.el (all): Add ns-use-srgb-colorspace.
1380
1381 2013-12-21 Chong Yidong <cyd@gnu.org>
1382
1383 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1384 undefined. Thus, theme settings for undefined faces do not take
1385 effect until the faces are defined with defface, the same as with
1386 theme variables.
1387
1388 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1389 (face-spec-reset-face): Don't assign extra properties in temacs.
1390 (face-spec-recalc): Apply X resources too.
1391
1392 2013-12-21 Chong Yidong <cyd@gnu.org>
1393
1394 * faces.el (face-spec-set):
1395 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1396 * custom.el (defface): Doc fixes (Bug#16203).
1397
1398 * indent.el (indent-rigidly-map): Add docstring, and move commands
1399 into named functions.
1400 (indent-rigidly-left, indent-rigidly-right)
1401 (indent-rigidly-left-to-tab-stop)
1402 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1403 indentation direction based on bidi direction, and accumulate
1404 sequential commands in a single undo boundary.
1405 (indent-rigidly--pop-undo): New utility function.
1406
1407 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1408
1409 * faces.el (read-face-name): Require crm.el when using crm-separator.
1410
1411 2013-12-20 Daniel Colascione <dancol@dancol.org>
1412
1413 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1414 so that we don't reflow comments into the shebang line.
1415
1416 2013-12-20 Juri Linkov <juri@jurta.org>
1417
1418 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1419 a position when `dired-directory' is non-nil. Check integer
1420 positions with `integerp'.
1421 (toggle-save-place, save-places-to-alist): Add check for
1422 `dired-directory'.
1423 (save-place-find-file-hook): Check integer positions with
1424 `integerp'.
1425 (save-place-dired-hook): Use `dired-goto-file' when
1426 `dired-filename' is found in the assoc list. Check integer
1427 positions with `integerp'.
1428 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1429
1430 * dired.el (dired-initial-position-hook): Rename back from
1431 `dired-initial-point-hook'.
1432 (dired-initial-position): Rename `dired-initial-point-hook' to
1433 `dired-initial-position-hook'.
1434 (dired-file-name-at-point): Doc fix. (Bug#15329)
1435
1436 2013-12-20 Juri Linkov <juri@jurta.org>
1437
1438 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1439 (read-regexp-suggestions): New function.
1440 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1441 Use `read-regexp-suggestions'. Add non-empty default to history
1442 for empty input.
1443 (occur-read-regexp-defaults-function): Remove function.
1444 (occur-read-primary-args): Use `regexp-history-last' instead of
1445 `occur-read-regexp-defaults-function'.
1446
1447 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1448 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1449 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1450 `hi-lock-read-regexp-defaults-function'. Doc fix.
1451 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1452 with `find-tag-default-as-symbol-regexp'. Doc fix.
1453 (hi-lock-read-regexp-defaults): Remove function.
1454 (hi-lock-regexp-okay): Add check for null.
1455
1456 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1457 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1458
1459 * subr.el (find-tag-default-as-symbol-regexp): New function.
1460 (find-tag-default-as-regexp): Move symbol regexp formatting to
1461 `find-tag-default-as-symbol-regexp'.
1462
1463 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1464
1465 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1466 (Bug#14179)
1467
1468 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1469
1470 * calendar/todo-mode.el: New implementation of item insertion
1471 commands and key bindings.
1472 (todo-key-prompt): New face.
1473 (todo-insert-item): New command.
1474 (todo-insert-item--parameters): New defconst, replacing defvar
1475 todo-insertion-commands-args-genlist.
1476 (todo-insert-item--param-key-alist): New defconst, replacing
1477 defvar todo-insertion-commands-arg-key-list.
1478 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1479 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1480 (todo-insert-item--next-param): New functions.
1481 (todo-insert-item--args, todo-insert-item--argleft)
1482 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1483 New variables.
1484 (todo-key-bindings-t): Change binding of "i" from
1485 todo-insertion-map to todo-insert-item.
1486 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1487 (todo-insertion-command-name, todo-insertion-commands-names)
1488 (todo-define-insertion-command, todo-insertion-commands)
1489 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1490
1491 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1492
1493 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1494 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1495 eval-when-compile.
1496 (todo-move-category): Allow choosing a non-existing todo file to
1497 move the category to, and create that file.
1498 (todo-default-priority): New user option.
1499 (todo-set-item-priority): Use it.
1500 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1501 (desktop-restore-file-buffer): Declare.
1502 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1503 (todo-modes-set-2): Locally set desktop-save-buffer to
1504 todo-desktop-save-buffer.
1505 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1506 (auto-mode-alist): Add autoload cookie.
1507
1508 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1509
1510 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1511 helpers.el was a poor choice of name.
1512 (string-remove-prefix): New function.
1513 (string-remove-suffix): New function.
1514
1515 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1516
1517 Fix assignment for new window total sizes.
1518 * window.el (window--pixel-to-size): Remove function.
1519 (window--pixel-to-total-1, window--pixel-to-total):
1520 Fix calculation of new total sizes.
1521
1522 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1523
1524 * comint.el (comint-output-filter): Fix rear-nonsticky property
1525 placement (Bug#16010).
1526
1527 2013-12-20 Chong Yidong <cyd@gnu.org>
1528
1529 * faces.el (read-color): Minor fix for completion function.
1530
1531 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1534 New option. (Bug#16182)
1535 (ruby-smie--indent-to-stmt-p): Use it.
1536 (ruby-smie-rules): Revert the logic in the handling of `when'.
1537 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1538 (ruby-deep-arglist, ruby-deep-indent-paren)
1539 (ruby-deep-indent-paren-style): Update docstrings to note that the
1540 vars don't have any effect with SMIE.
1541
1542 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1543
1544 * calc/calc.el (calc-enter, calc-pop): Use the variable
1545 `calc-context-sensitive-enter'.
1546
1547 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1548
1549 * net/shr.el (shr-insert): Protect against infloops in degenerate
1550 tables.
1551
1552 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1553
1554 * progmodes/octave.el (octave): Add link to manual and octave
1555 homepage.
1556 (octave-mode-menu): Link to octave-mode manual.
1557
1558 2013-12-20 Leo Liu <sdl.web@gmail.com>
1559
1560 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1561 insertion using skeleton-end-newline. (Bug#16138)
1562
1563 2013-12-20 Juri Linkov <juri@jurta.org>
1564
1565 * replace.el (occur-engine): Use `add-face-text-property'
1566 to add the face property to matches and titles. (Bug#14645)
1567
1568 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1569 the palette of other hi-lock colors.
1570 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1571
1572 2013-12-19 Juri Linkov <juri@jurta.org>
1573
1574 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1575 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1576 (minibuffer-history-symbol): Move variable declaration closer to
1577 its usage.
1578
1579 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1580 (Bug#14785)
1581
1582 2013-12-19 Juri Linkov <juri@jurta.org>
1583
1584 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1585 New function.
1586 (log-edit-hook): Add it to :options. (Bug#16170)
1587
1588 2013-12-19 Juri Linkov <juri@jurta.org>
1589
1590 * simple.el (eval-expression-print-format): Don't check for
1591 command names and the last command. Always display additional
1592 formats of the integer result in the echo area, and insert them
1593 to the current buffer only with a zero prefix arg.
1594 Display character when char-displayable-p is non-nil.
1595 (eval-expression): With a zero prefix arg, set `print-length' and
1596 `print-level' to nil, and insert the integer values from
1597 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1598
1599 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1600 `eval-last-sexp-arg-internal'. Doc fix.
1601 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1602 `eval-last-sexp-print-value'. Doc fix.
1603 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1604 Set `print-length' and `print-level' to nil when arg is zero.
1605 (eval-last-sexp): Doc fix.
1606 (eval-defun-2): Print the integer values from
1607 `eval-expression-print-format' at the end.
1608
1609 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1610 values from `eval-expression-print-format' at the end.
1611
1612 * ielm.el (ielm-eval-input): Print the integer
1613 values from `eval-expression-print-format' at the end.
1614
1615 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1616
1617 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1618 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1619
1620 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1623 (hl-line-highlight, global-hl-line-highlight): Use it.
1624 (hl-line-overlay): Use defvar-local.
1625
1626 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1627
1628 * term/ns-win.el: Require dnd.
1629 (global-map): Remove drag items.
1630 (ns-insert-text, ns-set-foreground-at-mouse)
1631 (ns-set-background-at-mouse):
1632 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1633 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1634 New functions.
1635
1636 2013-12-19 Glenn Morris <rgm@gnu.org>
1637
1638 * emacs-lisp/ert.el (ert-select-tests):
1639 Fix string/symbol mixup. (Bug#16121)
1640
1641 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1642
1643 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1644 keywords to their parent.
1645
1646 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1647
1648 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1649 first arg to be a string (fixed dead code), or an operator symbol.
1650 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1651 operator symbols.
1652 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1653 did nothing. Don't respond to `(:after ".")', it will be called
1654 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1655 change anything. Only return indentation for binary operators
1656 when they are hanging. De-dent opening paren when its parent is
1657 `.', otherwise it looks bad when the dot is not at bol or eol
1658 (bug#16182).
1659
1660 2013-12-19 Juri Linkov <juri@jurta.org>
1661
1662 * replace.el (query-replace-read-args): Split a non-negative arg
1663 and a negative arg into separate elements.
1664 (query-replace, query-replace-regexp, replace-string)
1665 (replace-regexp): Add arg `backward'. Doc fix.
1666 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1667 move point to the beginning of the match.
1668 (replace-search, replace-highlight): Use new arg `backward'
1669 to set the value of `isearch-forward'.
1670 (perform-replace): Add arg `backward' and use it to perform
1671 replacement backward. (Bug#14979)
1672
1673 * isearch.el (isearch-query-replace): Use a negative prefix arg
1674 to call `perform-replace' with a non-nil arg `backward'.
1675
1676 2013-12-18 Juri Linkov <juri@jurta.org>
1677
1678 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1679 to the default list. Move `log-edit-show-files' to the end.
1680 Add more available functions to options.
1681 (log-edit): Move default specific settings to
1682 `log-edit-insert-message-template'. Don't move point.
1683 (log-edit-insert-message-template): New function.
1684 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1685 (Bug#16170)
1686
1687 2013-12-18 Juri Linkov <juri@jurta.org>
1688
1689 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1690 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1691
1692 2013-12-18 Leo Liu <sdl.web@gmail.com>
1693
1694 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1695 (Bug#16186)
1696
1697 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1698
1699 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1700 formats for displaying file sizes when the -s switch is given.
1701 Instead, compute a separate format for displaying the size in
1702 blocks, which is displayed in addition to the "regular" size.
1703 When -h is given in addition to -s, produce size in blocks in
1704 human-readable form as well. (Bug#16179)
1705
1706 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1707
1708 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1709 Reference tables with ~\ref{...} instead of only \ref{...}.
1710
1711 2013-12-18 Chong Yidong <cyd@gnu.org>
1712
1713 * cus-edit.el (custom-magic-alist): Fix "themed" description
1714 (Bug#14348).
1715
1716 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1717 is non-nil, do not create a new entry in the symbol's theme-value
1718 or theme-face property; update theme-settings only (Bug#14664).
1719 (custom-available-themes): Doc fix.
1720
1721 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1722 (Bug#15674).
1723
1724 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1725
1726 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1727
1728 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1729 (Bug#13914).
1730
1731 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1732
1733 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1734
1735 2013-12-18 Glenn Morris <rgm@gnu.org>
1736
1737 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1738 * cus-start.el (load-prefer-newer): New option.
1739
1740 2013-12-18 Le Wang <l26wang@gmail.com>
1741
1742 * comint.el (comint-previous-matching-input-from-input):
1743 Retain point (Bug#13404).
1744
1745 2013-12-18 Chong Yidong <cyd@gnu.org>
1746
1747 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1748
1749 2013-12-18 Glenn Morris <rgm@gnu.org>
1750
1751 * mail/emacsbug.el (report-emacs-bug):
1752 Only mention enable-multibyte-characters if non-standard.
1753
1754 2013-12-17 Juri Linkov <juri@jurta.org>
1755
1756 * arc-mode.el (archive-extract-by-file): Check if directory exists
1757 before deletion to not show irrelevant errors if it doesn't exist.
1758
1759 2013-12-17 Juri Linkov <juri@jurta.org>
1760
1761 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1762 (Bug#14751)
1763
1764 * net/eww.el (browse-web): Add alias to `eww'.
1765 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1766 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1767
1768 * net/browse-url.el (browse-url-browser-function): Move `eww'
1769 closer to similar functions.
1770
1771 * startup.el (fancy-startup-screen, fancy-about-screen):
1772 Set browse-url-browser-function to eww-browse-url locally.
1773 (Bug#14751)
1774
1775 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * window.el (window--pixel-to-total): Remove unused `mini' var.
1778 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1779 (split-window): Remove unused `new' var.
1780 (window--display-buffer): Remove unused `frame' and `delta' vars.
1781 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1782 and display-width'.
1783
1784 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1785
1786 * dired.el (dired-mark-pop-up):
1787 * register.el (register-preview): Don't bind
1788 split-height-threshold here since it's now done in
1789 display-buffer-below-selected.
1790
1791 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1792
1793 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1794 xterm-rgb-convert-to-16bit.
1795 (rxvt-register-default-colors): Standardize with
1796 xterm-register-default-colors (Bug#14078).
1797
1798 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1799
1800 * simple.el (kill-region): Pass mark first, then point, so that
1801 kill-append works right (Bug#12819).
1802 (copy-region-as-kill, kill-ring-save): Likewise.
1803
1804 2013-12-17 Leo Liu <sdl.web@gmail.com>
1805
1806 * net/rcirc.el (rcirc-add-face):
1807 * eshell/em-prompt.el (eshell-emit-prompt):
1808 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1809 (Bug#16167)
1810
1811 2013-12-17 Chong Yidong <cyd@gnu.org>
1812
1813 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1814 Suggested by Xue Fuqiao.
1815
1816 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1817
1818 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1819
1820 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * net/shr.el (shr-insert-document): Remove unused var
1823 `shr-preliminary-table-render'.
1824 (shr-rescale-image): Remove unused arg `force'.
1825 (shr-put-image): Update calls accordingly.
1826 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1827
1828 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1829
1830 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1831 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1832 :close-all, to see which indentation method to use (Bug#16116).
1833 (smie-rules-function): Document the method :close-all.
1834
1835 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1836
1837 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1838
1839 * net/eww.el (eww-display-html): If we can't find the anchor we're
1840 looking for, then go to point-min.
1841
1842 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1843
1844 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1845 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1846 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1847 Expand dir too, in case it's relative.
1848
1849 2013-12-16 Juri Linkov <juri@jurta.org>
1850
1851 * desktop.el (desktop-auto-save-timeout): Change default to
1852 `auto-save-timeout'. Doc fix.
1853 (desktop-save): Skip the timestamp in desktop-saved-frameset
1854 when checking for auto-save changes.
1855 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1856 `desktop-auto-save' is called repeatedly by the idle timer.
1857 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1858 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1859 (Bug#15331)
1860
1861 2013-12-16 Juri Linkov <juri@jurta.org>
1862
1863 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1864 (Bug#16035)
1865 (isearch-pre-command-hook): Check `this-command' for symbolp.
1866
1867 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1870
1871 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1872
1873 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1874 (cfengine3--current-function): Bring in the current-function
1875 functionality from `cfengine3--current-word'.
1876 (cfengine3-completion-function): Bring in the
1877 bounds-of-current-word functionality from
1878 `cfengine3--current-word'.
1879
1880 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (display-buffer-below-selected):
1883 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1884
1885 2013-12-16 Leo Liu <sdl.web@gmail.com>
1886
1887 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1888 Remove NOMSG arg and all uses changed.
1889
1890 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1893 (cua--deactivate-rectangle): Don't deactivate the mark.
1894 (cua-set-rectangle-mark): Don't set mark-active since
1895 cua--activate-rectangle already does it for us.
1896 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1897 non-rectangular region.
1898
1899 * emulation/cua-base.el (cua-repeat-replace-region):
1900 Use with-current-buffer.
1901
1902 * net/gnutls.el: Use cl-lib.
1903 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1904
1905 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1906
1907 * emacs-lisp/package.el (package-built-in-p): Support both
1908 built-in and the package.el converted package descriptions.
1909 (package-show-package-list): Allow keywords.
1910 (package-keyword-button-action): Use it instead of
1911 `finder-list-matches'.
1912 (package-menu-filter-interactive): Interactive filtering (by
1913 keyword) function.
1914 (package-menu--generate): Support keywords and change keymappings
1915 and headers when they are given.
1916 (package--has-keyword-p): Helper function.
1917 (package-menu--refresh): Use it.
1918 (package--mapc): Helper function.
1919 (package-all-keywords): Use it.
1920 (package-menu-mode-map): Set up menu items and keybindings to
1921 provide a filtering UI.
1922
1923 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1924
1925 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1926 the behavior when a certificate fails validation. Defaults to
1927 old behavior: never abort, just warn.
1928 (gnutls-negotiate): Use it.
1929
1930 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1931
1932 * window.el (display-buffer-below-selected): Never split window
1933 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1934
1935 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1936
1937 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1938 (package-buffer-info): Use it (bug#15108).
1939
1940 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * icomplete.el (icomplete-completions): Make sure the prefix is already
1943 displayed elsewhere before hiding it (bug#16219).
1944
1945 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1946
1947 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1948 open-paren tokens when preceded by a open-paren, too.
1949 (ruby-smie-rules): Handle virtual indentation after open-paren
1950 tokens specially. If there is code between it and eol, return the
1951 column where is starts (Bug#16118).
1952
1953 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1954
1955 * progmodes/cfengine.el: Fix `add-hook' doc.
1956 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1957 (cfengine3--current-word): Fix parameters.
1958 (cfengine3-make-syntax-cache): Simplify further.
1959 (cfengine3-completion-function, cfengine3--current-function):
1960 Use `assq' for symbols.
1961 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1962
1963 2013-12-13 Glenn Morris <rgm@gnu.org>
1964
1965 * loadup.el (load-path): Warn if site-load or site-init changes it.
1966 No more need to reset it when bootstrapping.
1967
1968 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1969
1970 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1971 locations for cf-promises.
1972 (cfengine-mode-syntax-functions-regex): New caching variable.
1973 (cfengine3-fallback-syntax): Fallback syntax for cases where
1974 cf-promises doesn't run.
1975 (cfengine3--current-word): Reimplement using
1976 `cfengine-mode-syntax-functions-regex'.
1977 (cfengine3-completion-function, cfengine3--current-function):
1978 Use `cfengine3-make-syntax-cache' directly.
1979 (cfengine3-clear-syntax-cache): New function.
1980 (cfengine3-make-syntax-cache): Simplify and create
1981 `cfengine-mode-syntax-functions-regex' on demand.
1982 (cfengine3-format-function-docstring): Don't call
1983 `cfengine3-make-syntax-cache' explicitly.
1984
1985 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1986
1987 Fix windmove-find-other-window broken after pixelwise resizing
1988 (Bug#16017).
1989 * windmove.el (windmove-other-window-loc): Revert change from
1990 2013-12-04.
1991 (windmove-find-other-window): Call window-in-direction.
1992 * window.el (window-in-direction): New arguments SIGN, WRAP and
1993 MINI to emulate original windmove-find-other-window behavior.
1994
1995 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1996
1997 * simple.el (blink-matching--overlay): New variable.
1998 (blink-matching-open): Instead of moving point, highlight the
1999 matching paren with an overlay
2000 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2001
2002 * faces.el (paren-showing-faces, show-paren-match)
2003 (show-paren-mismatch): Move from paren.el.
2004
2005 2013-12-13 Leo Liu <sdl.web@gmail.com>
2006
2007 * indent.el (indent-region): Disable progress reporter in
2008 minibuffer. (Bug#16108)
2009
2010 * bindings.el (visual-order-cursor-movement): Fix version.
2011
2012 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2013
2014 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2015 Also match after beginning of line.
2016 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2017 files. Thanks to Russell Sim. (Bug#15378)
2018
2019 2013-12-13 Juri Linkov <juri@jurta.org>
2020
2021 * simple.el <Keypad support>: Remove key bindings duplicated
2022 with bindings.el. (Bug#14397)
2023
2024 2013-12-13 Juri Linkov <juri@jurta.org>
2025
2026 * comint.el (comint-mode-map): Replace `delete-char' with
2027 `delete-forward-char'. (Bug#16109)
2028
2029 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2030
2031 * progmodes/python.el (python-indent-calculate-indentation):
2032 Fix de-denters cornercase. (Bug#15731)
2033
2034 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2037 (advice--make): Pay attention to `depth'.
2038 (advice--make-1): Don't autoload commands eagerly.
2039 * emacs-lisp/elp.el (elp-instrument-function):
2040 * emacs-lisp/trace.el (trace-function-internal):
2041 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2042
2043 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2044
2045 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2046
2047 * term/w32-win.el (w32-handle-dropped-file):
2048 * startup.el (normal-top-level):
2049 * net/browse-url.el (browse-url-file-url):
2050 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2051 decode file names using 'utf-8' rather than
2052 file-name-coding-system.
2053
2054 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2055
2056 * progmodes/python.el (python-indent-context)
2057 (python-indent-calculate-indentation): Fix auto-identation
2058 behavior for comment blocks. (Bug#15916)
2059
2060 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2061
2062 * progmodes/python.el (python-indent-calculate-indentation):
2063 When determining indentation, don't treat "return", "pass", etc., as
2064 operators when they are just string constituents. (Bug#15812)
2065
2066 2013-12-12 Juri Linkov <juri@jurta.org>
2067
2068 * uniquify.el (uniquify-buffer-name-style): Change default to
2069 `post-forward-angle-brackets'.
2070
2071 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2072 `uniquify'. Change default to `post-forward-angle-brackets'.
2073
2074 2013-12-11 Glenn Morris <rgm@gnu.org>
2075
2076 * emacs-lisp/package.el (finder-list-matches):
2077 Autoload rather than falsely declaring.
2078
2079 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2080
2081 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2082 (eww-mode-map): Use them.
2083
2084 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2085
2086 * window.el (display-buffer-in-side-window): Fix doc-string
2087 (Bug#16115).
2088
2089 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2090
2091 * vc/vc-git.el: Silence byte-compiler warnings.
2092 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2093 (log-edit-set-header): Declare.
2094
2095 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2096
2097 * Makefile.in (custom-deps, finder-data): Run output file names
2098 through unmsys--file-name. (Bug#16099)
2099
2100 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2103 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2104
2105 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2106 instead of deleting the selection "by hand" (bug#16098).
2107 Rely on insert-for-yank to yank rectangles.
2108 (cua-highlight-region-shift-only): Mark obsolete.
2109 (cua-mode): Don't enable/disable transient-mark-mode,
2110 shift-select-mode (cua-mode works both with and without them), and
2111 pc-selection-mode (obsolete).
2112 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2113 (cua--deactivate-rectangle): Deactivate it.
2114
2115 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2116 (delete-selection-helper): Make sure yank starts at the top of the
2117 deleted region.
2118 (minibuffer-keyboard-quit): Use region-active-p.
2119
2120 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2121
2122 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2123 to `delete' (bug#16109).
2124
2125 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2126
2127 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2128 info manual and show keybindings and set `:group' keyword.
2129
2130 2013-12-11 Juri Linkov <juri@jurta.org>
2131
2132 * delsel.el (delete-active-region): Let-bind `this-command'
2133 to prevent `kill-region' from changing its original value.
2134 (delete-selection-helper): Handle `overwrite-mode' for the type
2135 `kill' exactly the same way as for the type `t'.
2136 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2137 Support more commands. (Bug#13312)
2138
2139 2013-12-11 Juri Linkov <juri@jurta.org>
2140
2141 * bindings.el: Map kp keys to non-kp keys systematically
2142 with basic modifiers control, meta and shift. (Bug#14397)
2143
2144 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2145
2146 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2147 "Close browser" menu items. Fix wrong function of "List
2148 bookmarks".
2149
2150 2013-12-11 Juri Linkov <juri@jurta.org>
2151
2152 * misearch.el (multi-isearch-buffers): Set the value of
2153 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2154 arg of isearch-forward to t.
2155 (multi-isearch-buffers-regexp): Set the value of
2156 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2157 arg of isearch-forward-regexp to t.
2158 (multi-isearch-files): Set the value of
2159 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2160 arg of isearch-forward to t.
2161 (multi-isearch-files-regexp): Set the value of
2162 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2163 arg of isearch-forward-regexp to t. (Bug#16035)
2164
2165 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2166 arg of isearch-forward to t.
2167 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2168 arg of isearch-forward-regexp to t.
2169 (dired-isearch-filter-filenames): Remove unnecessary check for
2170 `dired-isearch-filenames'.
2171
2172 * comint.el (comint-history-isearch-backward):
2173 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2174 (comint-history-isearch-backward-regexp):
2175 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2176
2177 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2178
2179 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2180 unmsys--file-name. (Bug#16099)
2181
2182 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2183
2184 * emacs-lisp/package.el (package-keyword-button-action):
2185 Remove finder.el require dependency.
2186
2187 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2188
2189 * emacs-lisp/package.el: Require finder.el.
2190 (describe-package-1): Add keyword buttons.
2191 (package-make-button): New convenience function.
2192 (package-keyword-button-action): Keyword button action using
2193 `finder-list-matches'.
2194
2195 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2196
2197 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2198 last commit.
2199
2200 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2201
2202 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2203 symlinked files.
2204
2205 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2206
2207 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2208 after the end of a percent literal.
2209
2210 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2211
2212 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2213 Handle caret-delimited strings (Bug#16079).
2214
2215 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2218 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2219 `ruby-parse-partial' (Bug#16078).
2220
2221 2013-12-09 Leo Liu <sdl.web@gmail.com>
2222
2223 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2224
2225 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2226
2227 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2228 (js-switch-indent-offset): New option.
2229 (js--proper-indentation): Use it. And handle the case when
2230 "default" is actually a key in an object literal.
2231 (js--same-line): New function.
2232 (js--multi-line-declaration-indentation): Use it.
2233 (js--indent-in-array-comp, js--array-comp-indentation):
2234 New functions.
2235 (js--proper-indentation): Use them, to handle array comprehension
2236 continuations.
2237
2238 2013-12-08 Leo Liu <sdl.web@gmail.com>
2239
2240 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2241 (flymake-make-overlay): Remove arg MOUSE-FACE.
2242 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2243
2244 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2247 New function.
2248 (redisplay-highlight-region-function): Use it.
2249
2250 * emulation/cua-base.el (cua--explicit-region-start)
2251 (cua--last-region-shifted): Remove.
2252 (cua--deactivate): Use deactivate-mark.
2253 (cua--pre-command-handler-1): Don't handle shift-selection.
2254 (cua--post-command-handler-1): Don't change transient-mark-mode.
2255 (cua--select-keymaps): Use region-active-p rather than
2256 cua--explicit-region-start or cua--last-region-shifted.
2257 (cua-mode): Enable shift-select-mode.
2258
2259 2013-12-08 Leo Liu <sdl.web@gmail.com>
2260
2261 * progmodes/flymake.el (flymake-popup-current-error-menu):
2262 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2263 (flymake-posn-at-point-as-event, flymake-popup-menu)
2264 (flymake-make-emacs-menu): Remove. (Bug#16077)
2265
2266 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * rect.el (rectangle-mark-mode): Activate mark even if
2269 transient-mark-mode is off (bug#16066).
2270 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2271 is > mark and at bolp.
2272
2273 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2274 (region-extract-function): Use it.
2275 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2276 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2277 Delete functions.
2278 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2279 kill-ring-save, kill-region, delete-char, delete-forward-char.
2280 Ignore self-insert-iso.
2281
2282 * emulation/cua-gmrk.el (cua--init-global-mark):
2283 Ignore `self-insert-iso'.
2284
2285 * emulation/cua-base.el (cua--prefix-copy-handler)
2286 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2287 checking cua--rectangle.
2288 (cua-delete-region): Use region-extract-function.
2289 (cua-replace-region): Delete function.
2290 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2291 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2292 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2293 (cua--init-keymaps): Don't remap delete-selection commands.
2294 (cua-mode): Use delete-selection-mode instead of rolling our own
2295 (bug#16085).
2296
2297 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2298 Obey region-extract-function.
2299
2300 Make registers and delete-selection-mode work on rectangles.
2301 * register.el (describe-register-1): Don't modify the register's value.
2302 (copy-to-register): Obey region-extract-function.
2303 * delsel.el (delete-active-region): Obey region-extract-function.
2304
2305 2013-12-08 Leo Liu <sdl.web@gmail.com>
2306
2307 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2308 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2309 (flymake-compilation-prevents-syntax-check)
2310 (flymake-start-syntax-check-on-newline)
2311 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2312 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2313 (flymake-xml-program, flymake-master-file-dirs)
2314 (flymake-master-file-count-limit)
2315 (flymake-allowed-file-name-masks): Relocate.
2316 (flymake-makehash, flymake-float-time)
2317 (flymake-replace-regexp-in-string, flymake-split-string)
2318 (flymake-get-temp-dir): Remove.
2319 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2320 (flymake-current-row, flymake-selected-frame)
2321 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2322 related functions. (Bug#16077)
2323
2324 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2325
2326 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2327
2328 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2329
2330 * help-fns.el (describe-function-1): Use new advice-* functions
2331 rather than old ad-* functions. Fix function type description and
2332 source links for advised functions and subrs.
2333
2334 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2335
2336 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2337
2338 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * progmodes/compile.el (compilation-start):
2341 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2342
2343 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2344 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2345
2346 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2347
2348 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2349 Touch up the last change.
2350
2351 2013-12-06 Leo Liu <sdl.web@gmail.com>
2352
2353 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2354 (inferior-octave-startup): Always use "octave> " for prompt.
2355 (octave-goto-function-definition)
2356 (octave-sync-function-file-names)
2357 (octave-find-definition-default-filename): Remove redundant backquotes.
2358
2359 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2360
2361 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2362 syntax for `?'.
2363 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2364 where appropriate already.
2365 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2366 end of method names (Bug#15874).
2367
2368 2013-12-06 Juri Linkov <juri@jurta.org>
2369
2370 * isearch.el (isearch--saved-overriding-local-map):
2371 New internal variable.
2372 (isearch-mode): Set it to the initial value of
2373 `overriding-terminal-local-map'.
2374 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2375 with `isearch--saved-overriding-local-map'. (Bug#16035)
2376
2377 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2378
2379 * progmodes/octave.el (inferior-octave-completion-table):
2380 Turn back into function, use `completion-table-with-cache'
2381 (Bug#11906). Update all references.
2382
2383 * minibuffer.el (completion-table-with-cache): New function.
2384
2385 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2386
2387 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2388
2389 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2390
2391 * net/eww.el (eww-current-source): New variable to store page
2392 source.
2393 (eww-display-html, eww-mode, eww-save-history)
2394 (eww-restore-history): Use it.
2395 (eww-view-source): New command to view page source.
2396 Opportunistically uses `html-mode' to highlight the buffer.
2397 (eww-mode-map): Install it.
2398
2399 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * net/dbus.el (dbus-unregister-service)
2402 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2403 Fix docstring.
2404 (dbus-unregister-service): Skip :serial entries in
2405 `dbus-registered-objects-table'.
2406 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2407
2408 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2409
2410 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2411 around keywords with extra `split-string' argument.
2412
2413 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2414
2415 * windmove.el (windmove-other-window-loc): Handle navigation
2416 between windows (excluding the minibuffer window - Bug#16017).
2417
2418 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2419
2420 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2421 in D-Bus type syntax.
2422 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2423 preserve unibyte strings. (Bug#16048)
2424
2425 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2428 Call force-mode-line-update is the proper buffer (bug#16042).
2429
2430 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2431
2432 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2433 `log-edit-remember-comment', make argument optional. Adjust all
2434 callers.
2435 (log-edit-mode): Add `log-edit-remember-comment' to
2436 `kill-buffer-hook' locally.
2437 (log-edit-kill-buffer): Don't remember comment explicitly since
2438 the buffer is killed anyway.
2439
2440 2013-12-04 Juri Linkov <juri@jurta.org>
2441
2442 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2443 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2444
2445 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2446
2447 * notifications.el (notifications-close-notification): Call the
2448 D-Bus method with ID being a `:uint32'. (Bug#16030)
2449
2450 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2451
2452 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2453
2454 2013-12-03 Juri Linkov <juri@jurta.org>
2455
2456 * progmodes/compile.el (compilation-start): Rename window alist
2457 entry `no-display-ok' to `allow-no-window'.
2458
2459 * simple.el (shell-command): Add window alist entry
2460 `allow-no-window' to `display-buffer'.
2461 (async-shell-command): Doc fix.
2462
2463 * window.el (display-buffer-no-window): New action function.
2464 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2465
2466 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2467
2468 * vc/log-edit.el (log-edit-set-header): Extract from
2469 `log-edit-toggle-header'.
2470 (log-edit-extract-headers): Separate the summary, when extracted
2471 from header, from the rest of the message with an empty line.
2472
2473 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2474 line, if present, to the Summary header.
2475
2476 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2479 in current-buffer (bug#16029).
2480
2481 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2482
2483 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2484 (debugger-mode-map): Bind it.
2485 (debugger--backtrace-base): New function.
2486 (debugger-eval-expression): Use it.
2487 (debugger-frame-number): Skip local vars when present.
2488 (debugger--locals-visible-p, debugger--insert-locals)
2489 (debugger--show-locals, debugger--hide-locals): New functions.
2490
2491 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2492
2493 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2494 "LC_ALL".
2495 (tramp-get-remote-locale): New defun.
2496 (tramp-open-connection-setup-interactive-shell): Use it.
2497
2498 2013-12-02 Leo Liu <sdl.web@gmail.com>
2499
2500 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2501
2502 * progmodes/sh-script.el (sh-shell-process):
2503 * progmodes/octave.el (inferior-octave-process-live-p):
2504 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2505 (gdb-inferior-io-sentinel):
2506 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2507
2508 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2511 `save-selected-window' to `log-edit-hide-buf'. This makes
2512 `log-edit-show-files' idempotent.
2513 (log-edit-show-files): Mark the new window as dedicated.
2514
2515 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2516
2517 * vc/log-edit.el (log-edit-mode-map): Add binding for
2518 `log-edit-kill-biffer'.
2519 (log-edit-hide-buf): Add a FIXME comment.
2520 (log-edit-add-new-comment): New function, extracted from
2521 `log-edit-done'.
2522 (log-edit-done, log-edit-add-to-changelog): Use it.
2523 (log-edit-kill-buffer): New command.
2524
2525 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2526
2527 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2528 instead of killing the buffer.
2529
2530 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2533
2534 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2535
2536 * net/eww.el (eww-form-checkbox-selected-symbol)
2537 (eww-form-checkbox-symbol): New customizable variable.
2538 (eww-form-checkbox, eww-toggle-checkbox):
2539 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2540
2541 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2542 (shr--get-media-pref, shr--extract-best-source): New function.
2543 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2544 no :src tag was specified.
2545
2546 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2547 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2548 Use \\` to match beginning of string instead of ^.
2549 (eww-browse-with-external-browser): Provide optional URL parameter.
2550 (eww-render): Set `eww-current-title' back to "".
2551
2552 * net/shr.el (shr-tag-video): Display content for video if no
2553 poster is available.
2554 (shr-tag-audio): Add support for <audio> tag.
2555
2556 * net/eww.el (eww-text-input-types): New const.
2557 (eww-process-text-input): Treat input types in
2558 `eww-text-input-types' as text.
2559
2560 * net/shr.el (shr-tag-table): Fix comment typo.
2561
2562 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2563
2564 * net/eww.el (eww-follow-link): New command to avoid reloading
2565 pages when we follow #target links (bug#15243).
2566 (eww-quit): Special mode buffers shouldn't query before exiting.
2567
2568 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2569
2570 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2571 forms.
2572
2573 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2574
2575 * net/eww.el (eww-restore-history): Update the window title after
2576 moving in the history.
2577 (eww-current-dom): New variable used to save the current DOM.
2578
2579 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2580
2581 * vc/log-edit.el (log-edit-mode-map): Add binding for
2582 `log-edit-beginning-of-line'.
2583 (log-edit-setup-add-author): New user option.
2584 (log-edit-beginning-of-line): New command.
2585 (log-edit): Move major mode call above the contents setup so that
2586 the local variable values are already applied.
2587 (log-edit): Only insert "Author: " when
2588 `log-edit-setup-add-author' is non-nil.
2589 (log-edit): When SETUP is non-nil, position point after ": "
2590 instead of point-min.
2591
2592 2013-12-01 Glenn Morris <rgm@gnu.org>
2593
2594 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2595
2596 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2597
2598 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2599 redisplay to make sure the initial frame gets a chance to become
2600 visible. (Bug#16014)
2601
2602 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2603
2604 Support resizing frames and windows pixelwise.
2605 * cus-start.el (frame-resize-pixelwise)
2606 (window-resize-pixelwise): New entries.
2607 * emacs-lisp/debug.el (debug): Use window-total-height instead
2608 of window-total-size.
2609 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2610 * help.el (describe-bindings-internal): Call help-buffer
2611 (temp-buffer-max-width): New option.
2612 (resize-temp-buffer-window, help-window-setup)
2613 (with-help-window): Rewrite.
2614 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2615 dragging dividers.
2616 * window.el (frame-char-size, window-min-pixel-height)
2617 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2618 (window-min-pixel-width, window-safe-min-pixel-size)
2619 (window-combination-p, window-safe-min-size)
2620 (window-resizable-p, window--size-to-pixel)
2621 (window--pixel-to-size, window--resize-apply-p): New functions.
2622 (window-safe-min-height): Fix doc-string.
2623 (window-size, window-min-size, window--min-size-1)
2624 (window-sizable, window-sizable-p, window--min-delta-1)
2625 (window-min-delta, window--max-delta-1, window-max-delta)
2626 (window--resizable, window--resizable-p, window-resizable)
2627 (window-full-height-p, window-full-width-p, window-at-side-p)
2628 (window--in-direction-2, window-in-direction)
2629 (window--resize-reset-1, window--resize-mini-window)
2630 (window-resize, window-resize-no-error)
2631 (window--resize-child-windows-normal)
2632 (window--resize-child-windows, window--resize-siblings)
2633 (window--resize-this-window, window--resize-root-window)
2634 (window--resize-root-window-vertically)
2635 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2636 (maximize-window, minimize-window, delete-window)
2637 (quit-restore-window, window-split-min-size, split-window)
2638 (balance-windows-2, balance-windows)
2639 (balance-windows-area-adjust, balance-windows-area)
2640 (window--state-get-1, window-state-get, window--state-put-1)
2641 (window--state-put-2, window-state-put)
2642 (display-buffer-record-window, window--display-buffer):
2643 Make functions handle pixelwise sizing of windows.
2644 (display-buffer--action-function-custom-type)
2645 (display-buffer-fallback-action):
2646 Add display-buffer-in-previous-window.
2647 (display-buffer-use-some-window): Resize window to height it had
2648 before.
2649 (fit-window-to-buffer-horizontally): New option.
2650 (fit-frame-to-buffer): Describe new values.
2651 (fit-frame-to-buffer-bottom-margin): Replace with
2652 fit-frame-to-buffer-margins.
2653 (window--sanitize-margin): New function.
2654 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2655 using window-text-pixel-size.
2656
2657 2013-11-30 Glenn Morris <rgm@gnu.org>
2658
2659 * emacs-lisp/bytecomp.el (byte-compile-form):
2660 Make the `interactive-only' warning like the `obsolete' one.
2661 * comint.el (comint-run):
2662 * files.el (insert-file-literally, insert-file):
2663 * replace.el (replace-string, replace-regexp):
2664 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2665 (goto-line, insert-buffer, next-line, previous-line):
2666 Tweak `interactive-only' spec.
2667
2668 Stop keeping (most) generated cedet grammar files in the repository.
2669 * Makefile.in (semantic): New.
2670 (compile-main): Depend on semantic.
2671
2672 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2675 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2676
2677 * uniquify.el (uniquify-buffer-name-style): Change default.
2678
2679 * loadup.el: Preload "uniquify".
2680
2681 * time.el (display-time-update): Update all mode lines (bug#15999).
2682
2683 * electric.el (electric-indent-mode): Enable by default.
2684 * loadup.el: Preload "electric".
2685
2686 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2687
2688 * emacs-lisp/helpers.el (string-empty-p): New function.
2689 (string-blank-p): New function.
2690
2691 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2692
2693 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2694 (Bug#14029).
2695
2696 2013-11-29 Andreas Politz <politza@fh-trier.de>
2697 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2698 allow non-lambda lists as functions.
2699 (imenu--in-alist): Don't recurse into non-subalists.
2700 (imenu): Don't pass function itself as an argument (Bug#14029).
2701
2702 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * progmodes/python.el (python-mode-map): Remove binding for ":".
2705 (python-indent-electric-colon): Remove command.
2706 (python-indent-post-self-insert-function): Integrate the previous code
2707 of python-indent-electric-colon. Make it conditional on
2708 electric-indent-mode.
2709 (python-mode): Add ?: to electric-indent-chars.
2710 Move python-indent-post-self-insert-function to the end of
2711 post-self-insert-hook.
2712
2713 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * doc-view.el (doc-view-goto-page): Update mode-line.
2716
2717 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2718
2719 2013-11-27 Glenn Morris <rgm@gnu.org>
2720
2721 * international/charprop.el, international/uni-bidi.el:
2722 * international/uni-category.el, international/uni-combining.el:
2723 * international/uni-comment.el, international/uni-decimal.el:
2724 * international/uni-decomposition.el, international/uni-digit.el:
2725 * international/uni-lowercase.el, international/uni-mirrored.el:
2726 * international/uni-name.el, international/uni-numeric.el:
2727 * international/uni-old-name.el, international/uni-titlecase.el:
2728 * international/uni-uppercase.el:
2729 Remove generated files from VCS repository.
2730
2731 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2732
2733 * filenotify.el (file-notify-add-watch): Don't special-case
2734 w32notify when computing the directory to watch.
2735
2736 2013-11-27 Glenn Morris <rgm@gnu.org>
2737
2738 Make bootstrap without generated uni-*.el files possible again.
2739 * loadup.el: Update command-line-args checking for unidata-gen.
2740 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2741 * composite.el, international/characters.el:
2742 Handle unicode tables being undefined.
2743
2744 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2745 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2746 (compile-main): Depend on leim rule.
2747 (leim): New rule.
2748 * loadup.el: Move leim-list.el to leim/ subdirectory.
2749 * startup.el (normal-top-level): No more leim directory.
2750 * international/ja-dic-cnv.el (skkdic-convert):
2751 Disable version-control and autoloads in output files.
2752 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2753 Disable version-control and autoloads in output files.
2754 * leim/quail: Move here from ../leim.
2755 * leim/quail/hangul.el (hangul-input-method-activate):
2756 Add autoload cookie.
2757 (generated-autoload-load-name): Set file-local value.
2758 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2759 (generated-autoload-load-name): Set file-local value.
2760
2761 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2762
2763 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2764 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2765 (eww-quit): Ask confirmation before quitting eww.
2766
2767 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2768
2769 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2770 reading output from Diff on MS-Windows and MS-DOS.
2771
2772 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2773
2774 * emacs-lisp/helpers.el (string-reverse): New function.
2775
2776 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2779 names on MS Windows, like "/[::1]:".
2780
2781 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2782 SWITCHES.
2783
2784 2013-11-26 Glenn Morris <rgm@gnu.org>
2785
2786 * progmodes/python.el (python-indent-guess-indent-offset):
2787 Avoid corner-case error. (Bug#15975)
2788
2789 Preload leim-list.el. (Bug#4789)
2790 * loadup.el: Load leim-list.el when found.
2791 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2792
2793 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2794
2795 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2796
2797 * emacs-lisp/helpers.el (string-join): New function.
2798
2799 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2800
2801 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2802 Mark as obsolete and replace it with a symbol property.
2803 (byte-compile-form): Use new 'interactive-only property.
2804 * comint.el, files.el, replace.el, simple.el:
2805 Apply new 'interactive-only properly.
2806
2807 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2808
2809 * window.el (display-buffer-at-bottom): Make sure that
2810 split-window-sensibly creates the new window on bottom
2811 (Bug#15961).
2812
2813 2013-11-23 David Kastrup <dak@gnu.org>
2814
2815 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2816 on the conflict markers when available.
2817 (smerge--get-marker): New function.
2818 (smerge-end-re, smerge-base-re): Add subgroup.
2819
2820 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * frame.el (handle-focus-in, handle-focus-out): Add missing
2823 interactive spec.
2824
2825 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2826
2827 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2828 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2829
2830 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2833 (gomoku--last-pos): New var.
2834 (gomoku--intangible-chars): New const.
2835 (gomoku--intangible): New function.
2836 (gomoku-mode): Use it. Derive from special-mode.
2837 (gomoku-move-up): Adjust line count.
2838 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2839 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2840 Simplify accordingly.
2841
2842 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2843 Remove blink-cursor code.
2844 (blink-cursor-timer-function, blink-cursor-suspend):
2845 Don't special-case GUIs.
2846 (blink-cursor-mode): Use focus-in/out-hook.
2847
2848 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2849
2850 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2851 work when annotation is invisible (Bug#13886).
2852
2853 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2854
2855 * json.el (json-alist-p): Only return non-nil if the alist has
2856 simple keys (Bug#13518).
2857
2858 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2859
2860 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2861 when control-statement is the first statement in a buffer (Bug#15956).
2862
2863 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2864
2865 * imenu.el (imenu-generic-skip-comments-and-strings):
2866 New option (Bug#15560).
2867 (imenu--generic-function): Use it.
2868
2869 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2870
2871 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2872 (Bug#13898)
2873
2874 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2875
2876 * emacs-lisp/helpers.el: Add some string helpers.
2877 (string-trim-left): Removes leading whitespace.
2878 (string-trim-right): Removes trailing whitespace.
2879 (string-trim): Removes leading and trailing whitespace.
2880
2881 * subr.el (string-suffix-p): New function.
2882
2883 2013-11-23 Glenn Morris <rgm@gnu.org>
2884
2885 * progmodes/python.el (python-shell-send-file):
2886 Add option to delete file when done. (Bug#15647)
2887 (python-shell-send-string, python-shell-send-region): Use it.
2888
2889 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2890
2891 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2892 to set buffer-read-only to t, never to nil. (Bug#15938)
2893
2894 * textmodes/tex-mode.el (latex-noindent-environments):
2895 Add safe-local-variable property. (Bug#15936)
2896
2897 2013-11-23 Glenn Morris <rgm@gnu.org>
2898
2899 * textmodes/enriched.el (enriched-mode): Doc fix.
2900 * emacs-lisp/authors.el (authors-renamed-files-alist):
2901 Add enriched.doc -> enriched.txt.
2902
2903 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2904
2905 2013-11-22 Leo Liu <sdl.web@gmail.com>
2906
2907 * progmodes/octave.el (inferior-octave-startup): Spit out error
2908 message.
2909
2910 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2911
2912 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2913 Improve docstring.
2914 Add :version.
2915 (ruby-encoding-magic-comment-style): Add :version.
2916
2917 2013-11-22 Leo Liu <sdl.web@gmail.com>
2918
2919 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2920 (Bug#15076)
2921 (octave-help-mode): Adapt to change to help-mode-finish to use
2922 derived-mode-p on 2013-09-17.
2923 (inferior-octave-prompt): Also match octave-gui.
2924 (octave-kill-process): Don't ask twice. (Bug#10564)
2925
2926 2013-11-22 Leo Liu <sdl.web@gmail.com>
2927
2928 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2929 (inferior-octave-startup, inferior-octave-check-process)
2930 (inferior-octave-track-window-width-change)
2931 (octave-completion-at-point, octave-eldoc-function): Use it.
2932 (octave-kill-process): Provide confirmation. (Bug#10564)
2933
2934 2013-11-21 Leo Liu <sdl.web@gmail.com>
2935
2936 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2937 Fix obsolete variable comment-use-global-state.
2938
2939 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2940
2941 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2942 Add `octave-source-file'.
2943 (octave-source-file): New function. (Bug#15935)
2944
2945 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2946
2947 * net/eww.el (eww-local-regex): New variable.
2948 (eww): Use it to detect localhost and similar.
2949
2950 2013-11-21 Leo Liu <sdl.web@gmail.com>
2951
2952 Add completion for command `ag'.
2953 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2954 (pcomplete/ag): New function.
2955 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2956
2957 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2960 (bug#14646).
2961 (make-obsolete): Remove interactive spec.
2962
2963 2013-11-21 Glenn Morris <rgm@gnu.org>
2964
2965 * startup.el (command-line-1): Use path-separator with -L.
2966
2967 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2968
2969 * emacs-lisp/package.el (describe-package-1): Add package archive
2970 to shown fields.
2971
2972 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2973
2974 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2975 Change default to "# encoding: %s" to differentiate it from the
2976 default Ruby encoding comment template.
2977
2978 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2979
2980 * ses.el (ses-mode): Doc fix. (Bug#14748)
2981
2982 2013-11-20 Leo Liu <sdl.web@gmail.com>
2983
2984 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2985
2986 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2987
2988 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2989 when rebase or bisect are in progress.
2990
2991 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2992
2993 * filenotify.el (file-notify-add-watch): Doc fix.
2994
2995 2013-11-19 Leo Liu <sdl.web@gmail.com>
2996
2997 * obsolete/rcompile.el: Mark obsolete.
2998
2999 * progmodes/compile.el (compilation-start)
3000 (compilation-goto-locus, compilation-find-file):
3001 Pass no-display-ok and handle nil value from display-buffer.
3002 (Bug#13594)
3003
3004 * window.el (display-buffer-alist, display-buffer): Document the
3005 new parameter no-display-ok. Return either a window or nil
3006 but never a non-window value.
3007
3008 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * electric.el (electric-indent-mode-map): Remove.
3011 (electric-indent-mode): Change the global-map instead (bug#15915).
3012
3013 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3014 Use add-function.
3015
3016 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * emacs-lisp/nadvice.el (remove-function): Align with
3019 add-function's behavior.
3020
3021 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3022 (gdb--string-regexp): New constant.
3023 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3024 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3025 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3026 submatch 1.
3027 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3028 Adjust use accordingly.
3029 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3030
3031 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3032
3033 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3034 interpolation curlies (Bug#15914).
3035
3036 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3037
3038 * calc/calc.el (calc-context-sensitive-enter): New variable.
3039 (calc-enter): Use `calc-context-sensitive-enter'.
3040
3041 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3042
3043 * progmodes/cfengine.el: Version bump.
3044 (cfengine-cf-promises): New defcustom to locate cf-promises.
3045 (cfengine3-vartypes): Add new "data" type.
3046 (cfengine3--current-word): New function to get current name-like
3047 word or its bounds.
3048 (cfengine3--current-function): New function to look up a CFEngine
3049 function's definition.
3050 (cfengine3-format-function-docstring): New function.
3051 (cfengine3-make-syntax-cache): New function.
3052 (cfengine3-documentation-function): New function: ElDoc glue.
3053 (cfengine3-completion-function): New function: completion glue.
3054 (cfengine3-mode): Set `compile-command',
3055 `eldoc-documentation-function', and add to
3056 `completion-at-point-functions'.
3057
3058 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3059
3060 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3061 `tramp-current-connection'.
3062
3063 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3064
3065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3066 nil/self/true/false with "end of symbol".
3067
3068 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3069
3070 * subr.el (version-regexp-alist): Fix a typo.
3071
3072 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3073
3074 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3075 "en_US.utf8" and "LC_CTYPE" to "".
3076 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3077 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3078
3079 2013-11-15 Leo Liu <sdl.web@gmail.com>
3080
3081 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3082
3083 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * progmodes/gud.el (ctl-x-map):
3086 Remove C-x SPC binding. (Bug#12342)
3087 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3088
3089 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3090
3091 * subr.el (version-regexp-alist):
3092 Recognize hg, svn and darcs versions as snapshot versions.
3093
3094 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3095 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3096 (ruby--encoding-comment-required-p): Extract from
3097 `ruby-mode-set-encoding'.
3098 (ruby-mode-set-encoding): Add the ability to always insert an
3099 utf-8 encoding comment. Fix and simplify coding comment update
3100 logic.
3101
3102 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3103
3104 * net/tramp-gvfs.el (top): Run init code only when
3105 `tramp-gvfs-enabled' is not nil.
3106 (tramp-gvfs-enabled): Check also :system bus.
3107
3108 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 Sync with upstream verilog-mode revision 78e66ba.
3111 * progmodes/verilog-mode.el (verilog-end-of-defun)
3112 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3113 (verilog-get-end-of-defun): Remove unused argument.
3114 (verilog-comment-depth): Remove unused local `e'.
3115 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3116 Don't pass arg to verilog-get-end-of-defun.
3117
3118 2013-11-14 Glenn Morris <rgm@gnu.org>
3119
3120 * obsolete/assoc.el (aget): Prefix dynamic variable.
3121
3122 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3123
3124 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * widget.el, hfy-cmap.el: Remove bogus package version number.
3127
3128 2013-11-13 Glenn Morris <rgm@gnu.org>
3129
3130 * replace.el (replace-eval-replacement):
3131 Try to give more helpful error message. (Bug#15836)
3132
3133 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3134 (archive-7z-update): Avoid custom type mismatches.
3135
3136 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3137
3138 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3141 address can be empty.
3142
3143 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3144 Accept nil SWITCHES.
3145 (tramp-gvfs-handle-write-region): Implement APPEND.
3146
3147 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3148
3149 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3150 binary "|" operator and closing block args delimiter.
3151 Remove FIXME comment referring to Ruby 1.8-only syntax.
3152 (ruby-smie--implicit-semi-p): Not after "|" operator.
3153 (ruby-smie--closing-pipe-p): New function.
3154 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3155 (ruby-smie-rules): Indent after "|".
3156
3157 2013-11-12 Glenn Morris <rgm@gnu.org>
3158
3159 * ps-print.el (ps-face-attribute-list):
3160 Handle anonymous faces. (Bug#15827)
3161
3162 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3163
3164 * window.el (display-buffer-other-frame): Fix doc-string.
3165 (Bug#15868)
3166
3167 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3168
3169 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3170
3171 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3172
3173 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3174 (tramp-sh-handle-file-local-copy): Don't write a message when
3175 saving temporary files.
3176
3177 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3178 both directories are remote.
3179 (tramp-smb-handle-directory-files): Do not return double entries.
3180 Do not expand full file names.
3181 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3182 (tramp-smb-handle-write-region): Implement APPEND.
3183 (tramp-smb-get-stat-capability): Fix a stupid bug.
3184
3185 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3188
3189 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3190
3191 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3192 throwing error over malformed let/let* (bug#15814).
3193
3194 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * iswitchb.el (iswitchb-mode): Mark obsolete.
3197
3198 2013-11-11 Glenn Morris <rgm@gnu.org>
3199
3200 * international/uni-bidi.el, international/uni-category.el:
3201 * international/uni-name.el, international/uni-numeric.el:
3202 Regenerate for Unicode 6.3.0.
3203
3204 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/tramp.el (tramp-methods):
3207 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3208 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3209
3210 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3211
3212 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3213 Force highlighting text after Summary keyword in doc face for rpm.
3214
3215 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3216
3217 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3218 available and the word has no wildcards, append one to the grep pattern.
3219 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3220 (ispell-complete-word): Call `ispell-lookup-words' with the value
3221 independent of `ispell-look-p'.
3222
3223 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3224
3225 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3226 Not after "||".
3227 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3228 their parent.
3229
3230 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3233 (ruby-font-lock-keywords): Use backquote.
3234
3235 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3236
3237 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3238 (ruby-smie--backward-token): Only consider full-string matches.
3239
3240 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3241
3242 * faces.el (describe-face): Add distant-foreground.
3243
3244 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3245
3246 * progmodes/ruby-mode.el: Improve encoding comment handling.
3247 (ruby-encoding-magic-comment-style): New option.
3248 (ruby-custom-encoding-magic-comment-template): New option.
3249 (ruby--insert-coding-comment, ruby--detect-encoding):
3250 New functions extracted from `ruby-mode-set-encoding'.
3251 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3252 to control the style of the auto-inserted encoding comment.
3253
3254 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3255
3256 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3257 Use `smie-backward-sexp' with token argument.
3258
3259 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3260
3261 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3262 Remove instrumentation code.
3263
3264 2013-11-08 Glenn Morris <rgm@gnu.org>
3265
3266 * progmodes/autoconf.el (autoconf-mode):
3267 Tweak comment-start-skip. (Bug#15822)
3268
3269 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3272 at bobp (bug#15826).
3273 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3274
3275 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3276
3277 * man.el (Man-start-calling): New macro, extracted from
3278 Man-getpage-in-background.
3279 (Man-getpage-in-background): Use it.
3280 (Man-update-manpage): New command.
3281 (Man-mode-map): Bind it.
3282
3283 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3284
3285 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3286 of "and", "or", "&&" and "||".
3287 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3288 argument. Prohibit opening curly brace because it could only be a
3289 block opener in that position.
3290 (ruby-smie--forward-token, ruby-smie--backward-token):
3291 Separate "|" from "&" or "*" going after it. That can happen in block
3292 arguments.
3293 (ruby-smie--indent-to-stmt): New function, seeks the end of
3294 previous statement or beginning of buffer.
3295 (ruby-smie-rules): Use it.
3296 (ruby-smie-rules): Check if there's a ":" before a curly block
3297 opener candidate; if there is, it's a hash.
3298
3299 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3302 (cl--block-wrapper): Fix last accidental change.
3303
3304 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3305
3306 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3307 Instrument, in order to hunt failure on hydra.
3308
3309 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3310
3311 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3312 malformed bindings form (bug#15814).
3313
3314 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3317 "." compared to " @ ". This incidentally fixes some indentation
3318 examples with "do".
3319 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3320 (ruby-smie-grammar): New tokens: "and" and "or".
3321 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3322 Exclude "and" and "or". Remove "do" in order to work around token
3323 priorities.
3324 (ruby-smie-rules): Add all infix tokens. Handle the case of
3325 beginning-of-buffer.
3326
3327 2013-11-06 Glenn Morris <rgm@gnu.org>
3328
3329 * Makefile.in (setwins_almost, setwins_for_subdirs):
3330 Avoid accidental matches.
3331
3332 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * menu-bar.el (popup-menu): Use key-binding.
3335
3336 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3337
3338 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3339 menus, support also the menus produced by minor modes.
3340 (Bug#15817)
3341
3342 2013-11-06 Leo Liu <sdl.web@gmail.com>
3343
3344 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3345 DISTANCE to bound the search. All uses changed. (Bug#15808)
3346
3347 2013-11-06 Glenn Morris <rgm@gnu.org>
3348
3349 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3350 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3351 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3352
3353 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * electric.el (electric-indent-just-newline): New command.
3356 (electric-indent-mode-map): New keymap.
3357 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3358 Re-add :group which weren't redundant.
3359
3360 * electric.el (electric-indent-local-mode): New minor mode.
3361 (electric-indent-functions-without-reindent): New var.
3362 (electric-indent-post-self-insert-function): Use it.
3363 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3364
3365 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3366
3367 * international/quail.el (quail-help): Be more explicit about the
3368 meaning of the labels shown on the keys. (Bug#15800)
3369
3370 * startup.el (normal-top-level): Load the subdirs.el files before
3371 setting the locale environment. (Bug#15805)
3372
3373 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3376 via arguments so as to get the right ones (bug#15418).
3377
3378 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3379
3380 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3381
3382 Fix problems found while writing a test suite.
3383
3384 * net/tramp-compat.el (tramp-compat-load): New defun.
3385 * net/tramp.el (tramp-handle-load): Use it.
3386
3387 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3388 "(numberp ok-if-already-exists)" correctly.
3389
3390 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3391
3392 * international/characters.el (glyphless-char-display-control):
3393 Add usage note.
3394
3395 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3396
3397 * progmodes/python.el (python-mode):
3398 * progmodes/scheme.el (scheme-mode):
3399 * progmodes/prolog.el (prolog-mode):
3400 * progmodes/ruby-mode.el (ruby-mode):
3401 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3402 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3403
3404 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * rect.el (rectangle--highlight-for-redisplay):
3407 * emacs-lisp/smie.el (smie--next-indent-change):
3408 Use buffer-chars-modified-tick.
3409
3410 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3411
3412 * electric.el (electric-indent-post-self-insert-function):
3413 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3414
3415 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3416
3417 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3418
3419 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3420
3421 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3422 (bug#15786).
3423
3424 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3427
3428 * progmodes/python.el: Fix up last change.
3429 (python-shell--save-temp-file): New function.
3430 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3431 `string' comes from the current buffer.
3432 (python-shell-send-string-no-output): Remove `msg' arg.
3433 (python--use-fake-loc): New var.
3434 (python-shell-buffer-substring): Obey it. Try to compensate for the
3435 extra coding line added by python-shell--save-temp-file.
3436 (python-shell-send-region): Use python-shell--save-temp-file and
3437 python-shell-send-file directly. Add `nomain' argument.
3438 (python-shell-send-buffer): Use python-shell-send-region.
3439 (python-electric-pair-string-delimiter): New function.
3440 (python-mode): Use it.
3441
3442 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3443
3444 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3445 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3446 environment and decoding all of the default-directory's to here
3447 from command-line.
3448 (command-line): Decode also argv[0].
3449
3450 * loadup.el: Error out if default-directory is a multibyte string
3451 when we are dumping.
3452
3453 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3454
3455 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3456
3457 * emacs-lisp/package.el (package-menu-mode)
3458 (package-menu--print-info, package-menu--archive-predicate):
3459 Add Archive column to package list.
3460
3461 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3462
3463 Fix problems found while writing a test suite.
3464
3465 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3466 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3467 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3468 to nil when running original file name handler. Otherwise,
3469 there are problems with constructs like "$$FOO".
3470
3471 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3472 for `localname'.
3473
3474 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3475
3476 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3477
3478 * subr.el (version<, version<=, version=):
3479 Update docstrings with information for snapshot versions.
3480
3481 * helpers.el: New library for misc helper functions.
3482 (hash-table-keys): New function returning a list of hash keys.
3483 (hash-table-values): New function returning a list of hash values.
3484
3485 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3486
3487 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3488 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3489
3490 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3491
3492 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3493 checking whether point is after a 1-letter word.
3494
3495 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3496
3497 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3498 Don't infloop when expanding region over `multiline' syntax-type that
3499 begins a line (bug#15778).
3500
3501 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3502
3503 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3504 Make it into a proper minor mode.
3505 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3506 (rectangle-mark-mode-map): New keymap.
3507 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3508
3509 2013-11-04 Glenn Morris <rgm@gnu.org>
3510
3511 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3512
3513 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3514
3515 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3516 (ruby-smie-rules): Use smie-rule-parent instead.
3517
3518 * emacs-lisp/smie.el (smie-rule-parent): Always call
3519 smie-indent-virtual rather than only for hanging tokens.
3520 (smie--next-indent-change): New helper command.
3521
3522 2013-11-03 Glenn Morris <rgm@gnu.org>
3523
3524 * Makefile.in (abs_srcdir): Remove.
3525 (emacs): Unset EMACSLOADPATH.
3526
3527 2013-11-02 Glenn Morris <rgm@gnu.org>
3528
3529 * Makefile.in (EMACS): Use a relative filename.
3530 (abs_top_builddir): Remove.
3531 (custom-deps, finder-data, autoloads): Use --chdir.
3532
3533 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3534
3535 Use relative filenames in TAGS files.
3536 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3537 (lisptagsfiles4, TAGS): Use relative file names.
3538 (TAGS-LISP): Remove.
3539 (maintainer-clean): No more TAGS-LISP file.
3540
3541 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3542 (lisptagsfiles4): Use absolute filenames again.
3543 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3544 Remove all *loaddefs files, not just the first. Remove esh-groups.
3545 (maintainer-clean): Delete TAGS, TAGS-LISP.
3546
3547 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3548
3549 * emacs-lisp/package.el (package-version-join):
3550 Recognize snapshot versions.
3551
3552 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3553
3554 * subr.el (version-regexp-alist): Add support for snapshot versions.
3555
3556 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3557
3558 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3559 New function, replacement for `smie-rule-parent' for when we want to
3560 skip over our direct parent if it's an assignment token..
3561 (ruby-smie-rules): Use it.
3562
3563 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3564
3565 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3566 unconditionally. Remove now unnecessary forward declarations.
3567 Remove XEmacs-specific setup.
3568 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3569 (ruby-font-lock-syntactic-keywords)
3570 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3571 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3572 (ruby-here-doc-end-syntax): Remove.
3573 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3574 defined as function.
3575
3576 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3577
3578 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3579
3580 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3581
3582 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3583 table and abbrev table, `define-derived-mode' does that for us
3584 anyway.
3585
3586 2013-11-01 Glenn Morris <rgm@gnu.org>
3587
3588 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3589 files is atomic for some time, so no parallel compilation issues).
3590
3591 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3592
3593 * faces.el (face-x-resources): Add :distant-foreground.
3594 (region): Use :distant-foreground for gtk and ns.
3595
3596 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3597
3598 Allow multiple bibliographies when BibLaTeX is used rather than
3599 BibTeX.
3600 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3601 (reftex-locate-bibliography-files): Us it.
3602
3603 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3604
3605 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3606 allow comments in pbm files.
3607
3608 * term/w32-win.el (dynamic-library-alist): Support newer versions
3609 of libjpeg starting with v7: look only for the DLL from the
3610 version against which Emacs was built.
3611 Support versions of libpng beyond 1.4.x.
3612 Support libtiff v4.x.
3613
3614 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3615
3616 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3617 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3618 Add property :safe.
3619 (ruby-deep-arglist): Add property :type.
3620
3621 2013-10-31 Glenn Morris <rgm@gnu.org>
3622
3623 * Makefile.in (custom-deps, finder-data): No need to setq the target
3624 variables, we are in the right directory and the defaults work fine.
3625
3626 2013-10-30 Glenn Morris <rgm@gnu.org>
3627
3628 * Makefile.in (autoloads): Do not use abs_lisp.
3629
3630 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3631 `newline' does not respect `standard-output', so use `princ'.
3632
3633 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3634
3635 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3636 * buff-menu.el (Buffer-menu--unmark): New function.
3637 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3638
3639 2013-10-30 Glenn Morris <rgm@gnu.org>
3640
3641 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3642
3643 * emacs-lisp/package.el (lm-homepage): Declare.
3644
3645 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3646 Fix doc typos.
3647
3648 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3649
3650 * Makefile.in (finder-data, autoloads, update-subdirs)
3651 (compile-main, compile-clean, compile-always, bootstrap-clean):
3652 Check return value of cd.
3653 (compile-calc): Remove.
3654
3655 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3658
3659 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3660 (byte-compile-and-folded): New function.
3661 (=, <, >, <=, >=): Use it.
3662
3663 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3664 (path-separator, null-device, buffer-file-coding-system)
3665 (lpr-headers-switches): Check system-type before modifying them.
3666 (find-buffer-file-type-coding-system): Mark obsolete.
3667 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3668 find-file-not-found-set-buffer-file-coding-system.
3669 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3670 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3671 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3672 (w32-direct-print-region-helper, w32-direct-print-region-function)
3673 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3674 * startup.el (normal-top-level-add-subdirs-to-load-path):
3675 * ps-print.el (ps-print-region-function):
3676 * lpr.el (print-region-function): Use new name.
3677
3678 * subr.el (custom-declare-variable-early): Remove function.
3679 (custom-declare-variable-list): Remove var.
3680 (error, user-error): Remove `while' loop.
3681 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3682 (user-emacs-directory-warning, locate-user-emacs-file):
3683 Move to files.el.
3684 * simple.el (read-quoted-char-radix, read-quoted-char):
3685 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3686 Move from subr.el.
3687 * custom.el (custom-declare-variable-list): Don't process
3688 custom-declare-variable-list.
3689
3690 * progmodes/python.el (python-shell-get-buffer): New function.
3691 (python-shell-get-process): Use it.
3692 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3693 Python which encoding was used. Don't split-string since we only care
3694 about the first line. Return the temp-file, if applicable.
3695 (python-shell-send-region): Tell compile.el how to turn locations in
3696 the temp-file into locations in the source buffer.
3697
3698 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * subr.el (undefined): Add missing behavior from the C code for
3701 unbound keys.
3702
3703 * rect.el: Use lexical-binding. Add new rectangular region support.
3704 (rectangle-mark): New command.
3705 (rectangle--region): New var.
3706 (deactivate-mark-hook): Reset rectangle--region.
3707 (rectangle--extract-region, rectangle--insert-for-yank)
3708 (rectangle--highlight-for-redisplay)
3709 (rectangle--unhighlight-for-redisplay): New functions.
3710 (region-extract-function, redisplay-unhighlight-region-function)
3711 (redisplay-highlight-region-function): Use them to handle
3712 rectangular region.
3713 * simple.el (region-extract-function): New var.
3714 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3715 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3716 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3717 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3718 (redisplay-unhighlight-region-function)
3719 (redisplay-highlight-region-function): New vars.
3720 (redisplay--update-region-highlight): New function.
3721 (pre-redisplay-function): Use it.
3722 (exchange-point-and-mark): Don't deactivate the mark before
3723 reactivate-it anyway.
3724 * comint.el (comint-kill-region): Remove yank-handler argument.
3725 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3726 (delete-char): Remove property, since it's now part of their
3727 default behavior.
3728 (self-insert-iso): Remove property since this command doesn't exist.
3729
3730 * emacs-lisp/package.el (package--download-one-archive)
3731 (describe-package-1): Don't query the user about final newline.
3732
3733 2013-10-29 Daniel Colascione <dancol@dancol.org>
3734
3735 * net/tramp.el (tramp-methods): Document new functionality.
3736 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3737 tramp-hostname-checker if method provides one instead of scanning
3738 argument list for "%h" to decide hostname acceptability.
3739
3740 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3741
3742 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3743 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3744 Handle COPY-CONTENTS. (Bug#15737)
3745
3746 2013-10-28 Daiki Ueno <ueno@gnu.org>
3747
3748 * epa-file.el
3749 (epa-file-cache-passphrase-for-symmetric-encryption):
3750 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3751
3752 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3753
3754 * image.el (defimage):
3755 (image-load-path): Doc fixes.
3756
3757 2013-10-27 Alan Mackenzie <acm@muc.de>
3758
3759 Indent statements in macros following "##" correctly.
3760 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3761 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3762
3763 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3764
3765 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3766
3767 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3768
3769 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3770 after `=' is probably a new expression.
3771
3772 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3773
3774 * man.el (man-imenu-title): New option.
3775 (Man-mode-map): Add menu. (Bug#15722)
3776 (Man-mode): Add imenu to menu.
3777
3778 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3781 specific in what the first arg can be: a non-keyword word,
3782 string/regexp/percent literal opener, opening paren, or unary
3783 operator followed directly by word.
3784
3785 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3788 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3789 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3790 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3791 Remove vars, they do not apply any more.
3792 (prolog-mode-abbrev-table): Remove redundant declaration.
3793 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3794 (prolog-use-smie): Remove.
3795 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3796 supported by prolog-electric-if-then-else-flag.
3797 (prolog-mode-variables, prolog-menu): Use setq-local.
3798 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3799 Remove binding to `Backspace' since this key doesn't exist anyway.
3800 Remove bindings for electric self-inserting keys.
3801 (prog-mode): Assume it's defined.
3802 (prolog-post-self-insert): New function.
3803 (prolog-mode): Use it.
3804 (prolog-indent-line, prolog-indent-level)
3805 (prolog-find-indent-of-matching-paren)
3806 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3807 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3808 (prolog-goto-next-paren, prolog-in-string-or-comment)
3809 (prolog-tokenize, prolog-inside-mline-comment)
3810 (prolog-find-start-of-mline-comment): Remove functions.
3811 (prolog-find-unmatched-paren, prolog-clause-end)
3812 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3813 (prolog-electric--if-then-else): Rename from
3814 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3815 (prolog-tokenize-searchkey): Remove const.
3816 (prolog-clause-info): Use forward-sexp.
3817 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3818 (prolog-electric-if-then-else): Remove commands.
3819 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3820 for use in post-self-insert-hook.
3821 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3822 for use in post-self-insert-hook.
3823 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3824 for use in post-self-insert-hook.
3825 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3826 adapt it for use in post-self-insert-hook.
3827
3828 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3829
3830 * emacs-lisp/ert.el (ert-run-tests-interactively):
3831 Use `completing-read'. (Bug#9756)
3832
3833 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3834
3835 * simple.el (line-move): Call line-move-1 instead of
3836 line-move-visual when the current window hscroll is zero, but
3837 temporary-goal-column indicates we will need to hscroll as result
3838 of the movement. (Bug#15712)
3839
3840 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3841
3842 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3843 capitalization. Use :visible instead of :active.
3844 Fix `ruby-indent-exp' reference. Add menu items for the generic
3845 commands that are used with SMIE.
3846 (ruby-do-end-to-brace): Insert space after `{'.
3847
3848 2013-10-25 John Anthony <john@jo.hnanthony.com>
3849
3850 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3851
3852 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3853
3854 2013-10-25 Glenn Morris <rgm@gnu.org>
3855
3856 * vc/vc.el (vc-print-log): Don't use a working revision unless
3857 one was explicitly specified. (Bug#15322)
3858
3859 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * subr.el (add-to-list): Preserve return value in compiler-macro
3862 (bug#15692).
3863
3864 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3865
3866 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3867 result. Ask user to retry using '-all' flag. (Bug#15701)
3868
3869 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3870
3871 * emacs-lisp/smie.el: New smie-config system.
3872 (smie-config): New defcustom.
3873 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3874 (smie-config-guess, smie-config-save): New commands.
3875 (smie-config--mode-local, smie-config--buffer-local)
3876 (smie-config--trace, smie-config--modefuns): New vars.
3877 (smie-config--advice, smie-config--mode-hook)
3878 (smie-config--setter, smie-config-local, smie-config--get-trace)
3879 (smie-config--guess-value, smie-config--guess): New functions.
3880 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3881 text properties. Treat "string fence" syntax like string syntax.
3882
3883 * progmodes/sh-script.el (sh-use-smie): Change default.
3884 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3885 (sh-var-value): Simplify by CSE.
3886 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3887 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3888 is used.
3889 (sh-guess-basic-offset): Use cl-incf.
3890 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3891
3892 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3893
3894 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3895 (bug#15699).
3896
3897 2013-10-24 Glenn Morris <rgm@gnu.org>
3898
3899 * Makefile.in (abs_top_srcdir): Remove.
3900 (update-subdirs): Use relative path to update-subdirs.
3901
3902 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3903
3904 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3905 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3906 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3907 Call unmsys--file-name before expand-file-name, not after it.
3908
3909 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3910
3911 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3912 (ert-test-skipped): New error.
3913 (ert-skip, ert-stats-skipped): New defuns.
3914 (ert--skip-unless): New macro.
3915 (ert-test-skipped): New struct.
3916 (ert--run-test-debugger, ert-test-result-type-p)
3917 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3918 (ert--stats-set-test-and-result, ert-char-for-test-result)
3919 (ert-string-for-test-result, ert-run-tests-batch)
3920 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3921 Handle skipped tests. (Bug#9803)
3922
3923 2013-10-24 Glenn Morris <rgm@gnu.org>
3924
3925 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3926
3927 * Makefile.in (abs_top_srcdir): New, set by configure.
3928 (update-subdirs): Correct build-aux location.
3929
3930 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3933 value, whether we could auto-deduce `backend', or not.
3934
3935 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3936 with parameters" example. Simplify the "is it block or is it
3937 hash" check, but also make it more thorough.
3938
3939 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3940
3941 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3942
3943 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3946 { if it is hanging.
3947
3948 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3949 :before ";".
3950
3951 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3952
3953 * progmodes/compile.el (compilation-directory-matcher)
3954 (compilation-page-delimiter):
3955 Support GNU Make-4.0 directory quoting. (Bug#15678)
3956
3957 2013-10-23 Leo Liu <sdl.web@gmail.com>
3958
3959 * ido.el (ido-tidy): Handle read-only text.
3960
3961 2013-10-23 Glenn Morris <rgm@gnu.org>
3962
3963 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3964 (emacs, compile, compile-always):
3965 Quote entities that might contain whitespace.
3966 (custom-deps, finder-data, autoloads): Use abs_lisp.
3967 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3968 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3969 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3970
3971 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3972
3973 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3974 Use `following-char'.
3975
3976 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3979 * progmodes/ruby-mode.el (ruby-smie-rules):
3980 Remove corresponding workaround. Fix indentation rule of ";" so it
3981 also applies when ";" is the parent.
3982
3983 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3984
3985 * frame.el (display-screens, display-pixel-height)
3986 (display-pixel-width, display-mm-width, display-backing-store)
3987 (display-save-under, display-planes, display-color-cells)
3988 (display-visual-class, display-monitor-attributes-list):
3989 Mention the optional ‘display’ argument in doc strings.
3990
3991 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3992
3993 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3994 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3995
3996 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3997
3998 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3999 TODO. Add "." after " @ ".
4000 (ruby-smie--at-dot-call): New function. Checks if point at method
4001 call with explicit target.
4002 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4003 to the method name tokens when it precedes them.
4004 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4005 (ruby-smie-rules): Add rule for indentation before and after "."
4006 token.
4007
4008 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * textmodes/remember.el (remember-diary-extract-entries):
4011 Avoid add-to-list.
4012
4013 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4014 an instruction.
4015
4016 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4017
4018 * progmodes/ruby-mode.el (ruby-smie-grammar):
4019 Add (almost) all infix operators.
4020 (ruby-smie--implicit-semi-p): Add new operator chars.
4021
4022 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4023 `smie-down-list'.
4024 (ruby-smie--args-separator-p): Check that there's no newline
4025 between method call and its arguments.
4026
4027 2013-10-20 Alan Mackenzie <acm@muc.de>
4028
4029 Allow comma separated lists after Java "implements".
4030
4031 * progmodes/cc-engine.el (c-backward-over-enum-header):
4032 Parse commas.
4033 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4034 from a "disallowed" list in enum fontification.
4035
4036 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4037
4038 * startup.el (default-frame-background-mode): Remove unused defvar.
4039
4040 * progmodes/verilog-mode.el (verilog-mode): Don't set
4041 comment-indent-function globally.
4042
4043 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4044
4045 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4046 Move Info menu item creation to ns-win.el.
4047
4048 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4049 in menu bar.
4050
4051 * menu-bar.el: Move GNUstep specific menus...
4052
4053 * term/ns-win.el (ns-initialize-window-system): ... to here.
4054
4055 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * simple.el (newline): Only run post-self-insert-hook when
4058 called interactively.
4059
4060 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4061
4062 * icomplete.el (icomplete-with-completion-tables): Add :version.
4063
4064 2013-10-19 Alan Mackenzie <acm@muc.de>
4065
4066 Fix fontification bugs with constructors and const.
4067
4068 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4069 CASE 2) Remove the check for the absence of a suffix construct
4070 after a function declaration with only types (no identifiers) in
4071 the parentheses. Also, accept a function declaration with just a
4072 type inside the parentheses, if this type can be positively
4073 recognised as such, or if a prefix keyword like "explicit" nails
4074 down the construct as a declaration.
4075
4076 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4077
4078 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4079 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4080 the problem whereby selecting a menu item that leads to a
4081 minibuffer prompt moves the cursor out of the minibuffer window,
4082 making it hard to type at the prompt. Suggested by Stefan Monnier
4083 <monnier@iro.umontreal.ca>.
4084
4085 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4086
4087 * menu-bar.el: Don't make Services menu.
4088
4089 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4090
4091 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4092 (ffap-alist): Use ffap-c++-mode for c++-mode.
4093 (ffap-c++-path): New variable.
4094 (ffap-c++-mode): New function.
4095
4096 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4097
4098 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4099
4100 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4101
4102 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4103 introduced on 2013-09-08, which results in an infinite loop
4104 requesting a password.
4105
4106 2013-10-18 Glenn Morris <rgm@gnu.org>
4107
4108 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4109
4110 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4111
4112 Sync with upstream verilog-mode revision 1a6ecec7.
4113 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4114 (verilog-mode-release-date): Remove.
4115 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4116 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4117 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4118 (verilog-auto-tieoff-ignore-regexp)
4119 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4120 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4121 (verilog-signals-with, verilog-dir-cache-preserving)
4122 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4123 Doc fixes.
4124 (verilog-case-fold): New option, to control case folding in
4125 regexp searches, bug597.
4126 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4127 (verilog-string-match-fold, verilog-in-paren-count)
4128 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4129 (verilog-at-close-struct-p): New functions.
4130 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4131 (verilog-forward-sexp, verilog-set-auto-endcomments):
4132 (verilog-leap-to-case-head): Handle "unique0" case.
4133 (verilog-in-constraint-re): New constant.
4134 (verilog-keywords, verilog-type-font-keywords):
4135 Add some SystemVerilog 1800-2012 keywords.
4136 (verilog-label-be): Remove unimplemented argument, bug669.
4137 (verilog-batch-execute-func): When batch expanding clear
4138 create-lockfiles to prevent spurious user locks when a file ends
4139 up not changing.
4140 (verilog-calculate-indent, verilog-calc-1)
4141 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4142 (verilog-do-indent): Fix indentation of nested constraints
4143 and structures.
4144 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4145 (verilog-auto-inst-param): Use verilog-string-match-fold.
4146 (verilog-read-inst-module-matcher):
4147 Fix AUTOINST on gate primitives with #1.
4148 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4149 Reads all user-defined typed variables.
4150 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4151 (verilog-signals-matching-regexp)
4152 (verilog-signals-not-matching-regexp, verilog-auto):
4153 Respect verilog-case-fold.
4154 (verilog-diff-report): Fix line count.
4155 (verilog-auto-assign-modport): Remove unused local `modi'.
4156 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4157 better handle multidimensional arrays.
4158 Fix packed array ports misadding bit index in AUTOINST, bug637.
4159 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4160 to not double-declare existing outputs and inputs, respectively.
4161 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4162 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4163 (verilog-sk-uvm-component): New skeleton.
4164 (verilog-submit-bug-report): Add verilog-case-fold,
4165 remove verilog-mode-release-date.
4166
4167 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4168
4169 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4170 as before.
4171
4172 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4173
4174 * textmodes/remember.el (remember): Set buffer-offer-save in
4175 remember buffers (bug#13566).
4176
4177 2013-10-18 Daniel Colascione <dancol@dancol.org>
4178
4179 When evaluating forms in ielm, direct standard output to ielm
4180 buffer. Add new ielm-return-for-effect command. Remove trailing
4181 whitespace throughout.
4182
4183 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4184 (ielm-return-for-effect): New command.
4185 (ielm-send-input): Accept optional `for-effect' parameter.
4186 (ielm-eval-input): Accept optional `for-effect' parameter.
4187 Bind `standard-output' to stream we create using
4188 `ielm-standard-output-impl'. Suppress printing result when
4189 `for-effect'.
4190 (ielm-standard-output-impl): New function.
4191 (inferior-emacs-lisp-mode): Explain new features in documentation.
4192
4193 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4194
4195 Code cleanup.
4196
4197 * net/tramp.el (tramp-debug-message): Do not check for connection
4198 buffer.
4199 (tramp-message): Use "vector" connection property.
4200
4201 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4202 (tramp-equal-remote, tramp-eshell-directory-change)
4203 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4204 (tramp-adb-handle-rename-file)
4205 * net/tramp-cmds.el (tramp-list-remote-buffers)
4206 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4207 * net/tramp-compat.el (tramp-compat-process-running-p)
4208 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4209 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4210 (tramp-gvfs-handle-rename-file)
4211 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4212 (tramp-set-file-uid-gid)
4213 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4214 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4215 of `file-remote-p'.
4216
4217 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4218 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4219 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4220 (tramp-gw-open-network-stream): Suppress unrelated traces.
4221
4222 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4223 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4224 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4225 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4226 connection property.
4227
4228 * net/tramp-cache.el (top): Suppress traces when reading
4229 persistency file.
4230
4231 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4232 Refactor common code. Improve debug message.
4233 (tramp-maybe-open-connection)
4234 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4235 connection buffer too early.
4236
4237 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4238 from `tramp-smb-actions-with-acl'.
4239 (tramp-smb-actions-set-acl): New defconst.
4240 (tramp-smb-handle-copy-directory)
4241 (tramp-smb-action-get-acl): New defun, renamed from
4242 `tramp-smb-action-with-acl'.
4243 (tramp-smb-action-set-acl): New defun.
4244 (tramp-smb-handle-set-file-acl): Rewrite.
4245
4246 2013-10-17 Glenn Morris <rgm@gnu.org>
4247
4248 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4249
4250 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * skeleton.el (skeleton-newline): Remove.
4253 (skeleton-internal-1): Use (insert "\n") instead.
4254
4255 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4256 let-bindings.
4257
4258 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4259 forward-sexp-function while we redo its job (bug#15613).
4260
4261 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4262
4263 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4264 represented by lists.
4265
4266 2013-10-16 Glenn Morris <rgm@gnu.org>
4267
4268 * tmm.el (tmm--history): New dynamic variable.
4269 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4270
4271 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4274 (tramp-smb-errors): Add error messages.
4275 (tramp-smb-actions-with-acl): New defconst.
4276 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4277 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4278 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4279 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4280 (tramp-smb-get-stat-capability): Fix tests.
4281
4282 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4283
4284 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4285 (bug#15580).
4286
4287 2013-10-16 Glenn Morris <rgm@gnu.org>
4288
4289 * ansi-color.el (ansi-color-drop-regexp):
4290 Add 1J, 1K, 2K. (Bug#15617)
4291
4292 * files.el (hack-local-variables--warned-lexical): New.
4293 (hack-local-variables):
4294 Warn about misplaced lexical-binding. (Bug#15616)
4295
4296 * net/eww.el (eww-render): Always set eww-current-url,
4297 and update header line. (Bug#15622)
4298 (eww-display-html): ... Rather than just doing it here.
4299
4300 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4301
4302 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4303 menu navigations commands.
4304
4305 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4306
4307 * progmodes/subword.el (subword-capitalize): Be careful when
4308 the search for [[:alpha:]] fails (bug#15580).
4309
4310 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4311
4312 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4313 to commands that scroll the menu.
4314
4315 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4318 Handle methods ending with `?' and `!'.
4319
4320 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4321
4322 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4323 `japanese-cp932' to `cp932' to fix the problem where saving a
4324 source file written in Shift_JIS twice would end up having
4325 `coding: japanese-cp932' which Ruby could not recognize.
4326 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4327 in `ruby-encoding-map'.
4328 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4329 doesn't need to be explicitly declared in magic comment.
4330 (ruby-encoding-map): Add type declaration for better customize UI.
4331
4332 2013-10-13 Glenn Morris <rgm@gnu.org>
4333
4334 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4335 Occur buffers are read-only. http://bugs.debian.org/720775
4336
4337 * emacs-lisp/authors.el (authors-fixed-entries):
4338 Comment out old alpha stuff.
4339
4340 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4341
4342 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4343 to `after-save-hook' instead of `before-save-hook'.
4344 (ruby-mode-set-encoding): Use the value of coding system used to
4345 write the file. Call `basic-save-buffer-1' after modifying the
4346 buffer.
4347
4348 2013-10-13 Alan Mackenzie <acm@muc.de>
4349
4350 Fix indentation/fontification of Java enum with
4351 "implements"/generic.
4352
4353 * progmodes/cc-engine.el (c-backward-over-enum-header):
4354 Extracted from the three other places and enhanced to handle generics.
4355 (c-inside-bracelist-p): Uses new function above.
4356 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4357 function above.
4358 (c-font-lock-enum-tail): Uses new function above.
4359
4360 2013-10-13 Kenichi Handa <handa@gnu.org>
4361
4362 * international/mule-cmds.el (select-safe-coding-system): Remove a
4363 superfluous condition in chekcing whether a coding system is safe
4364 or not.
4365
4366 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4367
4368 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4369
4370 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4371
4372 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4373
4374 2013-10-13 Glenn Morris <rgm@gnu.org>
4375
4376 * menu-bar.el (menu-bar-update-buffers):
4377 Unify Buffers menu prompt string. (Bug#15576)
4378
4379 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4380
4381 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4382 Add some entries.
4383 (authors-fixed-entries): Use accented form of name.
4384
4385 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4388 method calls (bug#15594).
4389 (ruby-smie--args-separator-p): New function.
4390 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4391 recognize paren-free method calls.
4392
4393 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4394 internals of universal-argument.
4395
4396 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4397
4398 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4399 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4400 dropped menu on second mouse click on the menu bar.
4401
4402 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4405 (explicit-shell-file-name): Declare.
4406 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4407 (sh-completion-at-point-function): New function.
4408 (sh-mode): Use it.
4409 (sh-smie--keyword-p): Remove unused argument.
4410 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4411 vars.
4412 (sh-set-shell): Always setup SMIE, even if we use the
4413 old indentation code.
4414
4415 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4416
4417 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4418 cases of ? and =.
4419 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4420 predicate would return nil are almost non-existent.
4421 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4422
4423 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4424 cache also after commands that modify the buffer but don't move
4425 point.
4426
4427 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * env.el (substitute-env-in-file-name): New function.
4430 (substitute-env-vars): Extend the meaning of the optional arg.
4431
4432 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4433
4434 * term/w32-win.el (dynamic-library-alist): Define separate lists
4435 of GIF DLLs for versions before and after 5.0.0 of giflib.
4436 (Bug#15531)
4437
4438 2013-10-10 João Távora <joaotavora@gmail.com>
4439
4440 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4441 not locked, use last revision and current source as
4442 defaults. (Bug#15569)
4443
4444 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4445
4446 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4447 menu-bar is hidden.
4448
4449 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4450
4451 * window.el (pop-to-buffer-same-window): Fix doc-string.
4452 (Bug#15492)
4453
4454 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4457
4458 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4459
4460 * calendar/icalendar.el (icalendar-import-file):
4461 Fix interactive spec. (Bug#15482)
4462
4463 2013-10-10 Glenn Morris <rgm@gnu.org>
4464
4465 * desktop.el (desktop-save): Default to saving in .emacs.d,
4466 since PWD is no longer in desktop-path by default. (Bug#15319)
4467
4468 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4469 now that text mode has a menu with the same entry.
4470 (menu-bar-text-mode-auto-fill): Remove now unused func.
4471 * textmodes/text-mode.el (text-mode-map):
4472 Use auto-fill help text from menu-bar.el.
4473
4474 2013-10-10 John Anthony <john@jo.hnanthony.com>
4475
4476 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4477
4478 2013-10-09 Juri Linkov <juri@jurta.org>
4479
4480 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4481 instead of this-command-keys. Add universal-argument-more and
4482 universal-argument-minus to the list of prefix commands. (Bug#15568)
4483
4484 2013-10-09 Glenn Morris <rgm@gnu.org>
4485
4486 * vc/vc-svn.el (vc-svn-create-repo):
4487 Expand paths in file://... url. (Bug#15446)
4488
4489 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4490 Add some entries.
4491 (authors): Remove unused local variables.
4492
4493 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * profiler.el: Create a more coherent calltree from partial backtraces.
4496 (profiler-format): Hide the tail with `invisible' so that C-s can still
4497 find the hidden elements.
4498 (profiler-calltree-depth): Don't recurse so enthusiastically.
4499 (profiler-function-equal): New hash-table-test.
4500 (profiler-calltree-build-unified): New function.
4501 (profiler-calltree-build): Use it.
4502 (profiler-report-make-name-part): Indent the calltree less.
4503 (profiler-report-mode): Add visibility specs for profiler-format.
4504 (profiler-report-expand-entry, profiler-report-toggle-entry):
4505 Expand the whole subtree when provided with a prefix arg.
4506
4507 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4508
4509 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4510 iuwu-mod token.
4511 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4512 hanging iuwu-mod token.
4513 (ruby-smie--forward-token): Do not include a dot after a token in
4514 that token.
4515 (ruby-smie--backward-token): Likewise.
4516
4517 2013-10-08 Juri Linkov <juri@jurta.org>
4518
4519 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4520 to isearch-other-control-char.
4521 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4522 and isearch-post-command-hook to post-command-hook.
4523 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4524 and isearch-post-command-hook from post-command-hook.
4525 (isearch-unread-key-sequence)
4526 (isearch-reread-key-sequence-naturally)
4527 (isearch-lookup-scroll-key, isearch-other-control-char)
4528 (isearch-other-meta-char): Remove functions.
4529 (isearch-pre-command-hook, isearch-post-command-hook):
4530 New functions based on isearch-other-meta-char rewritten
4531 relying on the new behavior of overriding-terminal-local-map
4532 that does not replace the local keymaps any more. (Bug#15200)
4533
4534 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4535
4536 Support menus on text-mode terminals.
4537 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4538 functionality.
4539
4540 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4541
4542 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4543 Move here from mouse.el.
4544 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4545 and arrow keys.
4546 (tty-menu-navigation-map): New map for TTY menu navigation.
4547
4548 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4549
4550 * frame.el (display-mouse-p): Report text-mode mouse as available
4551 on w32.
4552 (display-popup-menus-p): Report availability if mouse is
4553 available; don't condition on window-system.
4554
4555 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4556 (tty-menu-selected-face): New faces.
4557
4558 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4561 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4562 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4563 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4564 New constants.
4565 (lisp-mode-variables): New `elisp' argument.
4566 (emacs-lisp-mode): Use it.
4567 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4568 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4569
4570 * indent.el: Use lexical-binding.
4571 (indent-region): Add progress reporter.
4572 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4573 last step.
4574 (indent--next-tab-stop): New function to implement this behavior.
4575 (tab-to-tab-stop, move-to-tab-stop): Use it.
4576
4577 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4578
4579 * indent.el (indent-rigidly--current-indentation): New function.
4580 (indent-rigidly-map): New var.
4581 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4582
4583 2013-10-08 Bastien Guerry <bzg@gnu.org>
4584
4585 * register.el (insert-register): Fix 2013-10-07 change.
4586
4587 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * progmodes/perl-mode.el: Use lexical-binding.
4590 Remove redundant :group args.
4591 (perl-nochange): Change default to be closer to other major modes's
4592 standard behavior.
4593 (perl-indent-line): Don't consider text on current line as a
4594 valid beginning of function from which to indent.
4595
4596 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4597 with more than one argument (bug#15538).
4598
4599 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4600
4601 * vc/pcvs.el: Use lexical-binding.
4602 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4603 environment of `eval'.
4604 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4605 than a list of expressions. Adjust callers.
4606 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4607
4608 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4609
4610 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4611 case of the dot in a chained method call being on the following line.
4612
4613 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * electric.el (electric-indent-inhibit): New var.
4616 (electric-indent-post-self-insert-function): Use it.
4617 * progmodes/python.el (python-mode): Set it.
4618
4619 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4620 open braces.
4621
4622 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4623
4624 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4625 (css-mode): Use electric-indent-chars.
4626
4627 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4628 (font-lock-beg, font-lock-end): Move before first use.
4629 (nxml-mode): Use syntax-propertize-function.
4630 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4631 (nxml-extend-after-change-region): Remove.
4632 * nxml/xmltok.el: Use lexical-binding.
4633 (xmltok-save): Use `declare'.
4634 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4635 * nxml/nxml-util.el: Use lexical-binding.
4636 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4637 Use `declare'.
4638 * nxml/nxml-ns.el: Use lexical-binding.
4639 (nxml-ns-save): Use `declare'.
4640 (nxml-ns-prefixes-for): Avoid add-to-list.
4641 * nxml/rng-match.el: Use lexical-binding.
4642 (rng--ipattern): Use cl-defstruct.
4643 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4644 (rng-cons-group-after, rng-subst-group-after)
4645 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4646 Use closures instead of `(lambda...).
4647
4648 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4649
4650 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4651 of BEG and END.
4652
4653 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4654 Use `tramp-handle-insert-file-contents'.
4655 (tramp-gvfs-handle-insert-file-contents): Remove function.
4656
4657 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4658 Use `save-restriction' in order to keep markers.
4659
4660 * net/trampver.el: Update release number.
4661
4662 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 * progmodes/compile.el (compilation-parse-errors):
4665 Use compilation--put-prop.
4666 (compilation--ensure-parse): Check compilation-multiline.
4667
4668 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4669
4670 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4671 lexical-binding.
4672
4673 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4674
4675 * progmodes/ruby-mode.el: Fix recently added tests.
4676 (ruby-smie-grammar): Add - and +.
4677 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4678 (ruby-smie--backward-id): New functions.
4679 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4680 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4681 any more.
4682
4683 2013-10-07 Leo Liu <sdl.web@gmail.com>
4684
4685 * register.el (register-preview-delay)
4686 (register-preview-functions): New variables.
4687 (register-read-with-preview, register-preview)
4688 (register-describe-oneline): New functions.
4689 (point-to-register, window-configuration-to-register)
4690 (frame-configuration-to-register, jump-to-register)
4691 (number-to-register, view-register, insert-register)
4692 (copy-to-register, append-to-register, prepend-to-register)
4693 (copy-rectangle-to-register): Use register-read-with-preview to
4694 read register. (Bug#15525)
4695
4696 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4697
4698 * net/network-stream.el (network-stream-open-starttls): Don't add
4699 --insecure if it's already present, because that gnutls-cli
4700 rejects getting that parameter twice.
4701
4702 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4703
4704 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4705 keyword, too.
4706
4707 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * newcomment.el (comment-use-global-state): Change default value
4710 to t, mark obsolete (Bug#15251).
4711 (comment-beginning): In addition to `comment-to-syntax', check the
4712 value of `comment-use-global-state'.
4713
4714 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4717 (ruby-comment-column): Follow the global default, by default.
4718 (ruby-smie-grammar): Add assignment syntax.
4719 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4720 open-paren, a comma, or a \.
4721 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4722 and line continuations.
4723 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4724 followed by implicit semi-colons. Add rule for string concatenation
4725 and for indentation at BOB.
4726 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4727
4728 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4729 calling next-sexp, since next-token may have skipped chars which
4730 next-sexp doesn't know should be skipped!
4731
4732 2013-10-05 Leo Liu <sdl.web@gmail.com>
4733
4734 * progmodes/octave.el (octave-send-region):
4735 Call compilation-forget-errors.
4736
4737 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4738
4739 * vc/vc-svn.el (vc-svn-find-admin-dir):
4740 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4741 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4742 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4743 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4744
4745 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4748
4749 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * subr.el (read-passwd): Hide chars even when called within a context
4752 where after-change-functions is disabled (bug#15501).
4753 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4754 until we removed ourself from overriding-terminal-local-map.
4755
4756 2013-10-04 Leo Liu <sdl.web@gmail.com>
4757
4758 * progmodes/octave.el (inferior-octave-mode):
4759 Call compilation-forget-errors.
4760
4761 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4762
4763 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4764
4765 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4766
4767 * net/secrets.el (secrets-create-collection): Add optional
4768 argument ALIAS. Use proper Label keyword. Append ALIAS as
4769 dbus-call-method argument. (Bug#15516)
4770
4771 2013-10-04 Leo Liu <sdl.web@gmail.com>
4772
4773 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4774 (inferior-octave-compilation-font-lock-keywords): New variables.
4775 (compilation-error-regexp-alist)
4776 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4777 (inferior-octave-mode): Use compilation-shell-minor-mode.
4778
4779 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4780
4781 * minibuffer.el (completion--replace): Be careful that `end' might be
4782 a marker.
4783
4784 2013-10-03 Daiki Ueno <ueno@gnu.org>
4785
4786 Add support for package signature checking.
4787 * emacs-lisp/package.el (url-http-file-exists-p)
4788 (epg-make-context, epg-context-set-home-directory)
4789 (epg-verify-string, epg-context-result-for)
4790 (epg-signature-status, epg-signature-to-string)
4791 (epg-check-configuration, epg-configuration)
4792 (epg-import-keys-from-file): Declare.
4793 (package-check-signature): New user option.
4794 (package-unsigned-archives): New user option.
4795 (package-desc): Add `signed' field.
4796 (package-load-descriptor): Set `signed' field if .signed file exists.
4797 (package--archive-file-exists-p): New function.
4798 (package--check-signature): New function.
4799 (package-install-from-archive): Check package signature.
4800 (package--download-one-archive): Check archive signature.
4801 (package-delete): Remove .signed file.
4802 (package-import-keyring): New command.
4803 (package-refresh-contents): Import default keyring.
4804 (package-desc-status): Add "unsigned" status.
4805 (describe-package-1, package-menu--print-info)
4806 (package-menu-mark-delete, package-menu--find-upgrades)
4807 (package-menu--status-predicate): Support "unsigned" status.
4808
4809 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4812 the new compilation scheme using the new byte-codes.
4813
4814 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4815 (byte-pophandler): New byte codes.
4816 (byte-goto-ops): Adjust accordingly.
4817 (byte-compile--use-old-handlers): New var.
4818 (byte-compile-catch): Use new byte codes depending on
4819 byte-compile--use-old-handlers.
4820 (byte-compile-condition-case--old): Rename from
4821 byte-compile-condition-case.
4822 (byte-compile-condition-case--new): New function.
4823 (byte-compile-condition-case): New function that dispatches depending
4824 on byte-compile--use-old-handlers.
4825 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4826 when we can.
4827
4828 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4829 Optimize under `condition-case' and `catch' if
4830 byte-compile--use-old-handlers is nil.
4831 (disassemble-offset): Handle new bytecodes.
4832
4833 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * subr.el (error): Use `declare'.
4836 (decode-char, encode-char): Use advertised-calling-convention instead
4837 of the docstring to discourage use of the `restriction' arg.
4838
4839 2013-10-03 Daiki Ueno <ueno@gnu.org>
4840
4841 * epg.el (epg-verify-file): Add a comment saying that it does not
4842 notify verification error as a return value nor a signal.
4843 (epg-verify-string): Ditto.
4844
4845 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4846
4847 * progmodes/compile.el (compilation-start): Try globbing the arg to
4848 `cd' (bug#15417).
4849
4850 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4851
4852 Sync with Tramp 2.2.8.
4853
4854 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4855 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4856 * net/trampver.el: Update release number.
4857
4858 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4859
4860 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4861 and default-process-coding-system for darwin only.
4862
4863 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4866
4867 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4868
4869 * vc/vc-git.el (vc-git-grep): Disable pager.
4870
4871 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4872
4873 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4874 Use :url instead of :homepage, as per
4875 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4876
4877 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4878 non-nil, use `syntax-ppss' (Bug#15251).
4879
4880 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4881
4882 * progmodes/octave.el (inferior-octave-startup-file):
4883 Prefer ~/.emacs.d/init_octave.m.
4884
4885 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4886
4887 * emacs-lisp/package.el (package-desc-from-define):
4888 Accept additional arguments as plist, convert them to an alist and store
4889 them in the `extras' slot.
4890 (package-generate-description-file): Convert extras alist back to
4891 plist and append to the `define-package' form arguments.
4892 (package--alist-to-plist): New function.
4893 (package--ac-desc): Add `extras' slot.
4894 (package--add-to-archive-contents): Check if the archive-contents
4895 vector is long enough, and if it is, pass its `extras' slot value
4896 to `package-desc-create'.
4897 (package-buffer-info): Call `lm-homepage', pass the returned value
4898 to `package-desc-from-define'.
4899 (describe-package-1): Render the homepage button (Bug#13291).
4900
4901 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4902 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4903
4904 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4905
4906 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4907 and default-process-coding-system to utf-8-unix (Bug#15402).
4908
4909 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4910
4911 * subr.el (looking-back): Do not recommend using looking-back.
4912
4913 2013-09-28 Alan Mackenzie <acm@muc.de>
4914
4915 Fix indentation/fontification of Java enum with "implements".
4916
4917 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4918 regexp which matches "implements", etc., in Java.
4919 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4920 specifier clauses coming after "enum".
4921 * progmodes/cc-fonts.el (c-font-lock-declarations)
4922 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4923 after "enum".
4924
4925 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4926
4927 * faces.el (region): Change ns_selection_color to
4928 ns_selection_fg_color, add ns_selection_bg_color.
4929
4930 2013-09-28 Leo Liu <sdl.web@gmail.com>
4931
4932 * progmodes/octave.el (inferior-octave-completion-table)
4933 (inferior-octave-completion-at-point): Minor tweaks.
4934
4935 * textmodes/ispell.el (ispell-lookup-words): Rename from
4936 lookup-words. (Bug#15460)
4937 (lookup-words): Obsolete.
4938 (ispell-complete-word, ispell-command-loop): All uses changed.
4939
4940 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4941
4942 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4943 (octave-mode-menu): Add octave-send-buffer.
4944 (octave-send-buffer): New function.
4945
4946 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4947
4948 * progmodes/octave.el (octave-mode-map): Add key binding for
4949 octave-lookfor.
4950 (octave-mode-menu): Add octave-lookfor.
4951 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4952 octave-lookfor.
4953 (octave-lookfor): New function.
4954
4955 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/cl-macs.el:
4958 (cl--loop-destr-temps): Remove.
4959 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4960 its convention.
4961 (cl--loop-set-iterator-function): New function.
4962 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4963 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4964 Bind `it' with `let' instead of substituting it with `cl-subst'.
4965 (cl--unused-var-p): New function.
4966 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4967 Eliminate some unused variable warnings (bug#15326).
4968
4969 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4970
4971 * doc-view.el (doc-view-scale-reset): Rename from
4972 `doc-view-reset-zoom-level'.
4973 (doc-view-scale-adjust): New command.
4974 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4975 `doc-view-scale-adjust'.
4976
4977 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4978
4979 * doc-view.el (doc-view-reset-zoom-level): New command.
4980 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4981 zoom commands (bug#15466).
4982
4983 2013-09-26 Kenichi Handa <handa@gnu.org>
4984
4985 * international/quail.el (quail-help): Make it not a command.
4986
4987 2013-09-26 Leo Liu <sdl.web@gmail.com>
4988
4989 * minibuffer.el (completion-all-sorted-completions): Make args
4990 optional as they are.
4991
4992 2013-09-25 Daniel Colascione <dancol@dancol.org>
4993
4994 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4995 specs are and that they're not evaluated.
4996
4997 2013-09-24 Sam Steingold <sds@gnu.org>
4998
4999 * midnight.el (clean-buffer-list-kill-regexps)
5000 (clean-buffer-list-kill-buffer-names): Update for the new Man
5001 buffer naming which includes the object name.
5002
5003 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5006 (eshell-parse-command, eshell-parse-pipeline): Use it since
5007 eshell-separate-commands requires a dynamic scoped var.
5008 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5009
5010 2013-09-23 Leo Liu <sdl.web@gmail.com>
5011
5012 * autoinsert.el (auto-insert-alist): Make the value of
5013 lexical-binding match its file setting.
5014
5015 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5016
5017 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5018
5019 * autoarg.el (autoarg-kp-digit-argument):
5020 * electric.el (Electric-command-loop):
5021 * kmacro.el (kmacro-step-edit-insert):
5022 Do not set universal-argument-num-events.
5023
5024 2013-09-22 Leo Liu <sdl.web@gmail.com>
5025
5026 * files.el (interpreter-mode-alist): Add octave.
5027
5028 2013-09-21 Alan Mackenzie <acm@muc.de>
5029
5030 C++: fontify identifier in declaration following "public:" correctly.
5031 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5032 to match "public", etc.
5033 (c-decl-prefix-re): Add ":" into the C++ value.
5034 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5035 bit. Add a check for a ":" preceded by "public", etc.
5036
5037 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5038
5039 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5040 recognized by GDB 7.5 and later.
5041
5042 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5043
5044 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5045
5046 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * subr.el (internal--call-interactively): New const.
5049 (called-interactively-p): Use it (bug#3984).
5050
5051 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5052
5053 * vc/pcvs.el (cvs-mode-ignore):
5054 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5055 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5056
5057 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5060 (eshell-ls-orig-insert-directory): Remove.
5061 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5062 (eshell-ls-use-in-dired): Use advice-add/remove.
5063 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5064 Add `orig-fun' arg for use in :around advice.
5065 Make it check (redundantly) eshell-ls-use-in-dired.
5066
5067 2013-09-19 Glenn Morris <rgm@gnu.org>
5068
5069 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5070
5071 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5072
5073 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5074
5075 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5076
5077 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5078 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5079 (tramp-get-remote-python): New defuns.
5080 (tramp-get-remote-uid-with-perl)
5081 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5082 contributed by yary <not.com@gmail.com> (tiny change).
5083 (tramp-get-remote-uid-with-python)
5084 (tramp-get-remote-gid-with-python): New defuns. Python code
5085 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5086 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5087
5088 2013-09-19 Glenn Morris <rgm@gnu.org>
5089
5090 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5091
5092 * eshell/em-unix.el (eshell-remove-entries):
5093 Rename argument to avoid name-clash with global `top-level'.
5094
5095 * eshell/esh-proc.el (eshell-kill-process-function):
5096 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5097 (eshell-reset-after-proc): Remove unused arg `proc'.
5098
5099 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5100 (directory-files-and-attributes): Mark unused arg.
5101
5102 * eshell/em-unix.el (eshell-remove-entries):
5103 Remove unused arg `path'. Update callers.
5104
5105 * eshell/em-hist.el (eshell-hist-parse-arguments):
5106 Remove unused arg `silent'. Update callers.
5107
5108 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5109 Fix (f)boundp mix-up.
5110
5111 * eshell/em-smart.el (eshell-smart-scroll-window)
5112 (eshell-disable-after-change):
5113 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5114
5115 2013-09-18 Alan Mackenzie <acm@muc.de>
5116
5117 Fix fontification of type when followed by "const".
5118 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5119 "known" types from fontification.
5120
5121 2013-09-18 Glenn Morris <rgm@gnu.org>
5122
5123 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5124 (chart-face-list): Drop Emacsen without display-color-p.
5125
5126 * net/eww.el (libxml-parse-html-region): Declare.
5127 (eww-display-html): Explicit error if no libxml2 support.
5128
5129 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5130
5131 * image.el (image-type-from-buffer, image-multi-frame-p):
5132 Remove --without-x warning/error.
5133
5134 * mouse.el (mouse-yank-primary):
5135 * term.el (term-mouse-paste):
5136 Reorder to silence --without-x compilation.
5137
5138 * mpc.el (doc-view-mode): Silence --without-x compilation.
5139
5140 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5141 Silence --without-x compilation.
5142
5143 * progmodes/gud.el (gud-find-file, gud-mode):
5144 Silence --without-x compilation.
5145 (tooltip-mode): Declare.
5146
5147 * wdired.el (dired-backup-overwrite): Remove declaration.
5148 (wdired-mode-map): Add doc string.
5149
5150 * custom.el (x-get-resource): Declare.
5151
5152 * eshell/em-glob.el (ange-cache):
5153 * eshell/em-unix.el (ange-cache): Declare.
5154
5155 * faces.el (x-display-list, x-open-connection, x-get-resource):
5156 Declare.
5157
5158 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5159 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5160 Declare.
5161
5162 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5163
5164 * net/gnutls.el (gnutls-log-level): Declare.
5165
5166 * net/shr.el (image-size, image-animate): Declare.
5167
5168 * simple.el (font-info): Declare.
5169
5170 * subr.el (x-popup-dialog): Declare.
5171
5172 * term/common-win.el (x-select-enable-primary)
5173 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5174 Declare.
5175
5176 * term/ns-win.el (x-handle-args): Declare.
5177
5178 * term/x-win.el (x-select-enable-clipboard): Declare.
5179
5180 * term/w32-win.el (create-default-fontset): Declare.
5181
5182 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5183 Declare.
5184
5185 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5186 (fit-frame-to-buffer): Explicit error if --without-x.
5187 (mouse-autoselect-window-select): Silence compiler.
5188
5189 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5190
5191 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5192 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5193 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5194 * eshell/esh-util.el (eshell-sublist):
5195 Remove unused local variables.
5196
5197 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5198
5199 * textmodes/two-column.el: Make 2C-split work for --without-x.
5200 (scroll-bar-columns): Autoload.
5201 (top-level): Require fringe when compiling.
5202
5203 2013-09-18 Leo Liu <sdl.web@gmail.com>
5204
5205 * subr.el (add-hook): Robustify to handle closure as well.
5206
5207 2013-09-17 Glenn Morris <rgm@gnu.org>
5208
5209 * simple.el (messages-buffer-mode-map): Unbind "g".
5210
5211 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * help-mode.el (help-mode-finish): Use derived-mode-p.
5214 Remove obsolete highlighting.
5215
5216 * play/life.el (life-mode): Use define-derived-mode. Derive from
5217 special-mode.
5218 (life): Let-bind inhibit-read-only.
5219 (life-setup): Avoid `setq'. Use `life-mode'.
5220
5221 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5222 which should not be needed any more.
5223 (package-menu-refresh, package-menu-describe-package): Use user-error.
5224
5225 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5226 (eshell-post-rewrite-command-hook): Make obsolete.
5227 (eshell-parse-command): Simplify.
5228 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5229 (eshell--cmd): Declare.
5230 (eshell-parse-pipeline): Remove unused var `final-p'.
5231 Pass a dynvar to eshell-post-rewrite-command-hook.
5232 Implement the new eshell-post-rewrite-command-function.
5233 (eshell-invoke-directly): Remove unused arg `input'.
5234 * eshell/esh-io.el (eshell-io-initialize):
5235 Use eshell-post-rewrite-command-function (bug#15399).
5236 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5237 adjust to new calling convention.
5238 (eshell-create-handles): Rename args to avoid clashing with dynvar
5239 `standard-output'.
5240
5241 2013-09-17 Glenn Morris <rgm@gnu.org>
5242
5243 * simple.el (messages-buffer-mode): New major mode.
5244 (messages-buffer): New function.
5245 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5246 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5247 (ert-run-test): Use `messages-buffer' function.
5248 (ert--force-message-log-buffer-truncation): Ignore read-only.
5249 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5250 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5251
5252 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5255
5256 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5257
5258 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * icomplete.el (icomplete-in-buffer): New var.
5261 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5262 vars and replace them with functions.
5263 (icomplete-minibuffer-setup): Adjust accordingly.
5264 (icomplete--completion-table, icomplete--completion-predicate)
5265 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5266 New functions.
5267 (icomplete-forward-completions, icomplete-backward-completions)
5268 (icomplete-simple-completing-p, icomplete-exhibit)
5269 (icomplete-completions): Use them.
5270 (icomplete--in-region-buffer): New var.
5271 (icomplete--in-region-setup): New function.
5272 (icomplete-mode): Use it.
5273
5274 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5275 (bug#15379).
5276 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5277 return args and options.
5278 (eshell-eval-using-options): Use the new return value of
5279 eshell--do-opts to set the options's vars in their scope.
5280 (eshell--set-option): Rename from eshell-set-option.
5281 Add arg `opt-vals'.
5282 (eshell--process-option): Rename from eshell-process-option.
5283 Add arg `opt-vals'.
5284 (eshell--process-args): Use an `opt-vals' alist to store the options's
5285 values during their processing and return them additionally to the
5286 remaining args.
5287
5288 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5289
5290 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5291 continuation character an operator, as far as indentation is
5292 concerned (Bug#15369).
5293
5294 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5295
5296 * window.el (window--state-put-2): Don't process buffer state
5297 when buffer doesn't exist any more (Bug#15382).
5298
5299 2013-09-15 Glenn Morris <rgm@gnu.org>
5300
5301 * eshell/em-unix.el (eshell/rm):
5302 Make -f ignore missing files. (Bug#15373)
5303
5304 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5305 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5306 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5307
5308 2013-09-14 Glenn Morris <rgm@gnu.org>
5309
5310 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5311
5312 2013-09-13 Glenn Morris <rgm@gnu.org>
5313
5314 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5315 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5316
5317 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5318
5319 * frame.el (x-focus-frame): Mark as declared in frame.c.
5320
5321 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * ls-lisp.el: Use advice-add.
5324 (original-insert-directory): Remove.
5325 (ls-lisp--insert-directory): Rename from insert-directory; add
5326 `orig-fun' argument.
5327 (insert-directory): Advise.
5328
5329 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5330
5331 * term.el (term-emulate-terminal): Decode the command string
5332 before passing it to term-command-hook. (Bug#15337)
5333
5334 2013-09-13 Glenn Morris <rgm@gnu.org>
5335
5336 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5337
5338 * eshell/esh-ext.el (eshell-search-path): Declare.
5339
5340 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5341 Otherwise an error occurs if eshell-dirs module not loaded.
5342
5343 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5344
5345 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5346
5347 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5348 `tramp-check-proper-host'. Check for a valid method name.
5349
5350 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5351 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5352 * net/tramp-sh.el (tramp-maybe-open-connection):
5353 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5354
5355 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5356 also for hash values.
5357
5358 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * term/ns-win.el (parameters): Don't declare as dynamic.
5361 (before-make-frame-hook): Don't add ineffective function.
5362
5363 * eshell/*.el: Use lexical-binding (bug#15231).
5364
5365 2013-09-12 Kenichi Handa <handa@gnu.org>
5366
5367 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5368
5369 2013-09-12 Glenn Morris <rgm@gnu.org>
5370
5371 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5372 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5373
5374 * subr.el (do-after-load-evaluation): Also give compiler warnings
5375 when obsolete files are used (except by obsolete files).
5376
5377 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5378 in the status output, assume `filename' is the first. (Bug#15322)
5379
5380 * vc/vc.el (vc-deduce-fileset): Doc fix.
5381
5382 * calc/calc-help.el (Info-goto-node):
5383 * progmodes/cperl-mode.el (Info-find-node):
5384 * vc/ediff.el (Info-goto-node): Update declarations.
5385
5386 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5387
5388 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5389 (vc-bzr-pull): Require vc-dispatcher.
5390 * vc/vc-git.el (vc-compilation-mode): Declare.
5391 (vc-git-pull): Require vc-dispatcher.
5392
5393 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5394
5395 * progmodes/octave.el (help-button-action): Declare.
5396
5397 * shell.el (shell-directory-tracker): Output error as a message
5398 rather than just returning it as a string.
5399 (shell-process-pushd): Remove useless use of message.
5400
5401 * dframe.el (dframe-timer-fn):
5402 * files.el (dir-locals-read-from-file):
5403 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5404 (mpc-format):
5405 * reveal.el (reveal-post-command):
5406 * saveplace.el (load-save-place-alist-from-file):
5407 * shell.el (shell-resync-dirs):
5408 * w32-common-fns.el (x-get-selection-value):
5409 * emacs-lisp/copyright.el (copyright-find-copyright):
5410 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5411 * emulation/tpu-edt.el (tpu-copy-keyfile):
5412 * play/bubbles.el (bubbles--mark-neighbourhood):
5413 * progmodes/executable.el
5414 (executable-make-buffer-file-executable-if-script-p):
5415 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5416
5417 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 Cleanup Eshell to rely less on dynamic scoping.
5420 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5421 last-value, and ext-command here. Bind `args' closer to `body'.
5422 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5423 (eshell--args): Declare new dynamic var.
5424 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5425 last-value, and ext-command. Pass `args' to `body'.
5426 (eshell-process-args): Bind eshell--args.
5427 (eshell-set-option): Use eshell--args.
5428 * eshell/eshell.el (eshell): Use derived-mode-p.
5429 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5430 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5431 (eshell-glob-function): Declare.
5432 * eshell/esh-util.el: Require cl-lib.
5433 (eshell-read-hosts-file): Avoid add-to-list.
5434 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5435 `err'.
5436 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5437 Declare.
5438 (eshell/diff): Remove unused var `err'.
5439 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5440 `killflag'.
5441 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5442 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5443 first use.
5444 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5445 Move declaration before first use.
5446 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5447 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5448 rely on cl-return.
5449
5450 2013-09-12 Glenn Morris <rgm@gnu.org>
5451
5452 * term/ns-win.el (global-map): Remove binding for ispell-next,
5453 deleted 1999-05-29. (Bug#15357)
5454
5455 2013-09-11 Glenn Morris <rgm@gnu.org>
5456
5457 * echistory.el (electric-command-history): Remove call to deleted func.
5458
5459 * play/landmark.el (landmark-mode): Fix typos.
5460
5461 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5462 Check cvs-sort-ignore-file is bound.
5463
5464 * savehist.el: No need for cl when compiling on Emacs.
5465
5466 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5469 (bug#15338).
5470 (eshell-self-insert-command, eshell-send-invisible):
5471 Remove unused argument.
5472 (eshell-handle-control-codes): Remove unused var `orig'.
5473 Avoid delete-backward-char.
5474
5475 * files.el (set-auto-mode): Simplify a bit further.
5476
5477 2013-09-11 Glenn Morris <rgm@gnu.org>
5478
5479 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5480 (set-auto-mode): Don't regexp-quote elements.
5481 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5482 * progmodes/cc-mode.el (interpreter-mode-alist):
5483 * progmodes/ruby-mode.el (interpreter-mode-alist):
5484 Revert previous change.
5485
5486 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * play/snake.el (snake-mode):
5489 * play/mpuz.el (mpuz-mode):
5490 * play/landmark.el (lm-mode):
5491 * play/blackbox.el (blackbox-mode):
5492 * play/5x5.el (5x5-mode):
5493 * obsolete/options.el (Edit-options-mode):
5494 * net/quickurl.el (quickurl-list-mode):
5495 * net/newst-treeview.el (newsticker-treeview-mode):
5496 * mail/rmailsum.el (rmail-summary-mode):
5497 * mail/mspools.el (mspools-mode):
5498 * locate.el (locate-mode):
5499 * ibuffer.el (ibuffer-mode):
5500 * emulation/ws-mode.el (wordstar-mode):
5501 * emacs-lisp/debug.el (debugger-mode):
5502 * array.el (array-mode):
5503 * net/eudc.el (eudc-mode): Use define-derived-mode.
5504 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5505 Move initialization into declaration.
5506 (mairix-searches-mode): Use define-derived-mode.
5507 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5508 (eudc-edit-hotlist): Use dolist.
5509 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5510 (Man-mode): Use define-derived-mode.
5511 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5512 (Info-edit-mode): Use define-derived-mode.
5513 (Info-cease-edit): Use Info-mode.
5514 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5515 into declaration.
5516 (eshell-mode): Use define-derived-mode.
5517 * chistory.el (command-history-mode-map): Rename from
5518 command-history-map.
5519 (command-history-mode): Use define-derived-mode.
5520 (Command-history-setup): Remove function.
5521 * calc/calc.el (calc-trail-mode-map): New var.
5522 (calc-trail-mode): Use define-derived-mode.
5523 (calc-trail-buffer): Set calc-main-buffer manually.
5524 * bookmark.el (bookmark-insert-annotation): New function.
5525 (bookmark-edit-annotation): Use it.
5526 (bookmark-edit-annotation-mode): Make it a proper major mode.
5527 (bookmark-send-edited-annotation): Use derived-mode-p.
5528 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5529 closer to its ideal place. Use \' to match EOS.
5530
5531 * profiler.el (profiler-calltree-find): Use function-equal.
5532
5533 2013-09-10 Glenn Morris <rgm@gnu.org>
5534
5535 * files.el (interpreter-mode-alist): Convert to regexps.
5536 (set-auto-mode): Adapt for this. (Bug#15306)
5537 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5538 Comment out unused variable.
5539 * progmodes/cc-mode.el (interpreter-mode-alist):
5540 * progmodes/python.el (interpreter-mode-alist):
5541 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5542 * progmodes/sh-script.el (sh-set-shell):
5543 No longer use interpreter-mode-alist to get list of shells.
5544
5545 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5546
5547 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * simple.el: Use set-temporary-overlay-map for universal-argument.
5550 (universal-argument-map): Don't use default-bindings (bug#15317).
5551 Bind switch-frame explicitly. Replace universal-argument-minus with
5552 a conditional binding.
5553 (universal-argument-num-events, saved-overriding-map): Remove.
5554 (restore-overriding-map): Remove.
5555 (universal-argument--mode): Rename from save&set-overriding-map,
5556 and rewrite.
5557 (universal-argument, universal-argument-more, negative-argument)
5558 (digit-argument): Adjust accordingly.
5559 (universal-argument-minus): Remove.
5560 (universal-argument-other-key): Remove.
5561
5562 * subr.el (with-demoted-errors): Add `format' argument.
5563
5564 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5565
5566 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5567 `tramp-cleanup-connection'.
5568
5569 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5570 parameters KEEP-DEBUG and KEEP-PASSWORD.
5571
5572 * net/tramp.el (tramp-file-name-handler):
5573 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5574 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5575 (tramp-maybe-open-connection):
5576 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5577 Use `tramp-cleanup-connection'.
5578
5579 * net/tramp-sh.el (tramp-maybe-open-connection):
5580 Catch 'uname-changed inside the progress reporter.
5581
5582 2013-09-10 Glenn Morris <rgm@gnu.org>
5583
5584 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5585
5586 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5587 returns "alternate access method" in mode (eg "-rw-r--r--.").
5588
5589 2013-09-08 Glenn Morris <rgm@gnu.org>
5590
5591 * saveplace.el (load-save-place-alist-from-file):
5592 Demote errors. (Bug#15305)
5593
5594 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5595
5596 Improve compatibility with older Emacsen, and XEmacs.
5597
5598 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5599 only if it is bound. It isn't for XEmacs.
5600 (with-tramp-progress-reporter): Do not let-bind `result'.
5601 This yields to scoping errors in XEmacs.
5602 (tramp-handle-make-auto-save-file-name): New function, moved from
5603 tramp-sh.el.
5604
5605 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5606 for `make-auto-save-file-name'.
5607 (tramp-adb--gnu-switches-to-ash):
5608 Use `tramp-compat-replace-regexp-in-string'.
5609
5610 * net/tramp-cache.el (tramp-cache-print): Call
5611 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5612
5613 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5614 bound. It isn't for XEmacs.
5615
5616 * net/tramp-compat.el (tramp-compat-copy-file):
5617 Catch `wrong-number-of-arguments' error.
5618 (tramp-compat-replace-regexp-in-string): New defun.
5619
5620 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5621 for `make-auto-save-file-name'.
5622 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5623 `copy-file'.
5624 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5625 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5626 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5627
5628 * net/tramp-gw.el (tramp-gw-open-network-stream):
5629 Use `tramp-compat-replace-regexp-in-string'.
5630
5631 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5632 Call `tramp-handle-make-auto-save-file-name'.
5633 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5634 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5635 (tramp-sh-file-inotifywait-process-filter):
5636 Use `tramp-compat-replace-regexp-in-string'.
5637 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5638
5639 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5640 for `make-auto-save-file-name'.
5641 (tramp-smb-handle-copy-directory):
5642 Call `tramp-compat-replace-regexp-in-string'.
5643 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5644 (tramp-smb-handle-copy-file): Improve error message.
5645 (tramp-smb-handle-rename-file): Rename directly only in case
5646 `newname' does not exist yet. This is a restriction of smbclient.
5647 (tramp-smb-maybe-open-connection): Rerun the function only when
5648 `auth-sources' is non-nil.
5649
5650 2013-09-08 Kenichi Handa <handa@gnu.org>
5651
5652 * international/characters.el: Set category "^" (Combining) for
5653 more characters.
5654
5655 2013-09-07 Alan Mackenzie <acm@muc.de>
5656
5657 Correctly fontify Java class constructors.
5658 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5659 in Java Mode.
5660 (c-recognize-typeless-decls): Set the Java value to t.
5661 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5662 While handling a "(", add a check for, effectively, Java, and handle a
5663 "typeless" declaration there.
5664
5665 2013-09-07 Roland Winkler <winkler@gnu.org>
5666
5667 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5668 field subtitle for entry type book.
5669
5670 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * minibuffer.el: Make minibuffer-complete call completion-in-region
5673 rather than other way around.
5674 (completion--some, completion-pcm--find-all-completions):
5675 Don't delay signals when debugging.
5676 (minibuffer-completion-contents): Beware fields within the
5677 minibuffer contents.
5678 (completion-all-sorted-completions): Use defvar-local.
5679 (completion--do-completion, completion--cache-all-sorted-completions)
5680 (completion-all-sorted-completions, minibuffer-force-complete):
5681 Add args `beg' and `end'.
5682 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5683 (minibuffer-complete): Use completion-in-region.
5684 (completion-complete-and-exit): New fun, extracted from
5685 minibuffer-complete-and-exit.
5686 (minibuffer-complete-and-exit): Use it.
5687 (completion--complete-and-exit): Rename from
5688 minibuffer--complete-and-exit.
5689 (completion-in-region--single-word): New function, extracted from
5690 minibuffer-complete-word.
5691 (minibuffer-complete-word): Use it.
5692 (display-completion-list): Make `common-substring' argument obsolete.
5693 (completion--in-region): Call completion--in-region-1 instead of
5694 minibuffer-complete.
5695 (completion-help-at-point): Pass boundaries to
5696 minibuffer-completion-help as args rather than via an overlay.
5697 (completion-pcm--string->pattern): Use `any-delim'.
5698 (completion-pcm--optimize-pattern): New function.
5699 (completion-pcm--pattern->regex): Handle `any-delim'.
5700 * icomplete.el (icomplete-forward-completions)
5701 (icomplete-backward-completions, icomplete-completions):
5702 Adjust calls to completion-all-sorted-completions and
5703 completion--cache-all-sorted-completions.
5704 (icomplete-with-completion-tables): Default to t.
5705 * emacs-lisp/crm.el (crm--current-element): Rename from
5706 crm--select-current-element. Don't put an overlay but return the
5707 boundaries instead.
5708 (crm--completion-command): Take two new args to bind to the boundaries.
5709 (crm-completion-help): Adjust accordingly.
5710 (crm-complete): Use completion-in-region.
5711 (crm-complete-word): Use completion-in-region--single-word.
5712 (crm-complete-and-exit): Use completion-complete-and-exit.
5713
5714 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5717 than dynamically.
5718
5719 2013-09-06 Juri Linkov <juri@jurta.org>
5720
5721 * info.el (Info-display-images-node): When image file doesn't exist
5722 display text version of the image if it's provided in the Info file.
5723 Otherwise, display the location of missing image from SRC attribute.
5724 Add help-echo text property from ALT attribute. (Bug#15279)
5725
5726 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5729 (edit-abbrevs-mode): Use define-derived-mode.
5730
5731 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5732 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5733 that it's defined.
5734 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5735 Use define-derived-mode.
5736
5737 * epg.el (epg-start-encrypt): Minor CSE simplification.
5738
5739 2013-09-06 William Xu <william.xwl@gmail.com>
5740
5741 * arc-mode.el: Add support for 7za (bug#15264).
5742 (archive-7z-program): New var.
5743 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5744 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5745 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5746
5747 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5748
5749 Remove URL syntax.
5750
5751 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5752 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5753 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5754 (tramp-postfix-host-format, tramp-file-name-regexp)
5755 (tramp-completion-file-name-regexp)
5756 (tramp-completion-dissect-file-name)
5757 (tramp-handle-substitute-in-file-name): Remove 'url case.
5758 (tramp-file-name-regexp-url)
5759 (tramp-completion-file-name-regexp-url): Remove constants.
5760
5761 2013-09-06 Glenn Morris <rgm@gnu.org>
5762
5763 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5764
5765 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5766
5767 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5768 keywords" below "here-doc beginnings" (Bug#15270).
5769
5770 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * subr.el (pop): Use `car-safe'.
5773 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5774 to detect unused `pop' return value.
5775
5776 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5777 var `block-regexp'.
5778 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5779 (python-fill-string): Remove unused var `marker'.
5780 (python-skeleton-add-menu-items): Remove unused var `items'.
5781
5782 * international/mule-cmds.el: Require CL.
5783 (find-coding-systems-for-charsets): Avoid add-to-list.
5784 (sanitize-coding-system-list): New function, extracted from
5785 select-safe-coding-system-interactively.
5786 (select-safe-coding-system-interactively): Use it.
5787 (read-input-method-name): Accept symbols for `default'.
5788
5789 * emacs-lisp/advice.el (defadvice): Add indent rule.
5790
5791 2013-09-05 Daniel Hackney <dan@haxney.org>
5792
5793 * dired-x.el:
5794 * net/ange-ftp.el:
5795 * net/browse-url.el:
5796 * net/dbus.el:
5797 * net/eudc.el:
5798 * net/eudcb-ldap.el:
5799 * net/eww.el:
5800 * net/imap.el:
5801 * printing.el:
5802 * vc/ediff-diff.el:
5803 * vc/ediff-init.el:
5804 * vc/ediff-merg.el:
5805 * vc/ediff-mult.el:
5806 * vc/ediff-util.el:
5807 * vc/ediff-wind.el:
5808 * vc/ediff.el:
5809 * vc/emerge.el:
5810 * vc/pcvs.el:
5811 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5812 byte compiler. Remove some unused let-bound variables.
5813
5814 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5817 a "ref-cell", since it gets better optimized (bug#14883).
5818
5819 2013-09-05 Glenn Morris <rgm@gnu.org>
5820
5821 * progmodes/cc-awk.el (c-forward-sws): Declare.
5822
5823 2013-09-04 Glenn Morris <rgm@gnu.org>
5824
5825 * generic-x.el [rul-generic-mode]: Require cc-mode.
5826 (c++-mode-syntax-table): Declare.
5827 (rul-generic-mode-syntax-table): Init in the defvar.
5828
5829 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5832 (vc-do-command, vc-set-async-update):
5833 * vc/vc-mtn.el (vc-mtn-dir-status):
5834 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5835 (vc-hg-pull, vc-hg-merge-branch):
5836 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5837 (vc-git-merge-branch):
5838 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5839 (vc-cvs-dir-status-files):
5840 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5841 (vc-bzr-dir-status-files):
5842 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5843 * vc/vc-annotate.el: Use lexical-binding.
5844 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5845 (vc-sentinel-movepoint): Declare.
5846 (vc-annotate): Don't use `goto-line'.
5847 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5848 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5849 (vc-sentinel-movepoint): Declare.
5850 * vc/vc-svn.el: Use lexical-binding.
5851 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5852 * vc/vc-sccs.el:
5853 * vc/vc-rcs.el: Use lexical-binding.
5854
5855 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5856 `deleted'. Don't drop errors silently.
5857
5858 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5859
5860 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5861
5862 * vc/vc.el (vc-ignore): Rewrite.
5863 (vc-default-ignore): New function.
5864 (vc-default-ignore-completion-table): Use find-ignore-file.
5865
5866 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5867 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5868 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5869 Remove. Most code moved to vc.el.
5870
5871 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5874 * net/tramp-smb.el (tramp-smb-get-file-entries):
5875 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5876 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5877
5878 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5879 Update call to it.
5880 (eww-change-select): Remove unused var `properties'.
5881 (eww-make-unique-file-name): Remove unused var `base'.
5882
5883 * finder.el (finder-compile-keywords): Don't mess with windows.
5884
5885 * calculator.el (calculator-funcall): Fix typo in last change.
5886
5887 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5888
5889 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5890 <pkg>-autoloads.el file stop us.
5891
5892 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5893 warnings, and factor out common code.
5894
5895 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5896
5897 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5898 two-character operators and whether the character preceding them
5899 changes their meaning (Bug#15208).
5900
5901 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5902
5903 Format code sent to Python shell for robustness.
5904 * progmodes/python.el (python-shell-buffer-substring):
5905 New function.
5906 (python-shell-send-region, python-shell-send-buffer): Use it.
5907
5908 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5911 * net/tramp.el (tramp-user-error): ... here.
5912 (tramp-find-method, tramp-check-proper-host)
5913 (tramp-dissect-file-name, tramp-debug-message)
5914 (tramp-handle-shell-command):
5915 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5917
5918 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5919
5920 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5921
5922 * avoid.el (mouse-avoidance-point-position)
5923 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5924 returns nil.
5925
5926 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5927
5928 * progmodes/python.el (python-shell-completion-get-completions):
5929 Drop use of deleted `comint-last-prompt-overlay'.
5930 (python-nav-if-name-main): New command.
5931
5932 2013-09-01 Glenn Morris <rgm@gnu.org>
5933
5934 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5935 Avoid leading space in $wins. Otherwise the sed command used by
5936 eg compile-main ends up containing "/*.el". (Bug#15170)
5937
5938 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5939
5940 2013-08-30 Glenn Morris <rgm@gnu.org>
5941
5942 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5943 Fix is-this-a-directory logic. (Bug#15220)
5944
5945 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * textmodes/css-mode.el: Use SMIE.
5948 (css-smie-grammar): New var.
5949 (css-smie--forward-token, css-smie--backward-token)
5950 (css-smie-rules): New functions.
5951 (css-mode): Use them.
5952 (css-navigation-syntax-table): Remove var.
5953 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5954 (css-indent-calculate, css-indent-line): Remove functions.
5955
5956 Misc changes to reduce use of `(lambda...); and other cleanups.
5957 * cus-edit.el: Use lexical-binding.
5958 (customize-push-and-save, customize-apropos)
5959 (custom-buffer-create-internal): Use closures.
5960 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5961 * progmodes/ada-xref.el: Use setq.
5962 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5963 * dframe.el: Use lexical-binding.
5964 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5965 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5966 * descr-text.el: Use lexical-binding.
5967 (describe-text-widget, describe-text-sexp, describe-property-list):
5968 Use closures.
5969 * comint.el (comint-history-isearch-push-state): Use a closure.
5970 * calculator.el: Use lexical-binding.
5971 (calculator-number-to-string): Make it work with lexical-binding.
5972 (calculator-funcall): Same and use cl-letf.
5973
5974 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5975 (lisp--company-doc-string, lisp--company-location): New functions.
5976 (lisp-completion-at-point): Use them to improve Company support.
5977
5978 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5979 params of lambda expressions.
5980 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5981 (ruby-smie--opening-pipe-p): New function.
5982 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5983 symbols and matched |...| for formal params.
5984 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5985 from being treated as hanging. Handle "rescue".
5986
5987 2013-08-29 Glenn Morris <rgm@gnu.org>
5988
5989 * progmodes/cc-engine.el (c-pull-open-brace):
5990 Move definition before use.
5991
5992 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5995 are immutable. Don't use `unsafe' any more.
5996 (cl--defsubst-expand): Don't substitute at the same time as keeping
5997 a residual unused let-binding. Don't use `unsafe' any more.
5998
5999 2013-08-29 Glenn Morris <rgm@gnu.org>
6000
6001 * calendar/cal-china.el (calendar-chinese-year-cache):
6002 Recenter on 2015.
6003
6004 * nxml/nxml-util.el (nxml-debug-clear-inside):
6005 Use cl-loop rather than loop.
6006
6007 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6008
6009 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6010
6011 2013-08-28 Glenn Morris <rgm@gnu.org>
6012
6013 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6014
6015 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6016
6017 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6018
6019 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * simple.el (repeat-complex-command--called-interactively-skip):
6022 New function.
6023 (repeat-complex-command): Use it (bug#14136).
6024
6025 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6026 (c-define-abbrev-table): Add `doc' argument.
6027 (c-mode-abbrev-table, c++-mode-abbrev-table)
6028 (objc-mode-abbrev-table, java-mode-abbrev-table)
6029 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6030 (awk-mode-abbrev-table): Use it.
6031 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6032 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6033 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6034 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6035 Move initialization into the declaration; and remove any
6036 autoload cookie.
6037
6038 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6039 and dynamic let binding.
6040
6041 * vc/smerge-mode.el: Remove redundant :group args.
6042
6043 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6044 to load-path.
6045
6046 2013-08-28 Juri Linkov <juri@jurta.org>
6047
6048 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6049 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6050 (isearch-other-meta-char): Handle an undefined shifted printing
6051 character by downshifting it. (Bug#15200)
6052
6053 2013-08-28 Juri Linkov <juri@jurta.org>
6054
6055 * isearch.el (isearch-search): Change regexp error message for
6056 non-regexp searches. (Bug#15166)
6057
6058 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6059
6060 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6061 for portability to hosts where /bin/sh has problems.
6062
6063 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6066
6067 2013-08-27 Juri Linkov <juri@jurta.org>
6068
6069 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6070 in the keyboard macro. (Bug#15126)
6071
6072 2013-08-27 Juri Linkov <juri@jurta.org>
6073
6074 * isearch.el (isearch-quote-char): Comment out converting unibyte
6075 to multibyte, thus syncing with its `quoted-insert' counterpart.
6076 (Bug#15166)
6077
6078 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6079
6080 * window.el (display-buffer-use-some-window): Add missing
6081 argument in call of get-largest-window (Bug#15185).
6082 Reported by Stephen Leake.
6083
6084 2013-08-27 Glenn Morris <rgm@gnu.org>
6085
6086 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6087
6088 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6091 from a matcher-function unless there's no more matches (bug#15161).
6092
6093 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6094
6095 * minibuffer.el: Revert change from 2013-08-20.
6096
6097 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6098 with text property `tramp-default', if appropriate.
6099 (tramp-check-proper-host): New defun.
6100 (tramp-dissect-file-name): Do not check hostname. Revert change
6101 of 2013-03-18.
6102 (tramp-backtrace): Make VEC-OR-PROC optional.
6103
6104 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6105 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6106 * net/tramp-sh.el (tramp-maybe-open-connection):
6107 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6108 Apply `tramp-check-proper-host'.
6109
6110 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6111
6112 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6113 lambda expression in order to have `describe-variable' display it.
6114
6115 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6116
6117 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6118 BUF can be optional. (Bug#15186)
6119
6120 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6121
6122 * progmodes/flymake.el (flymake-get-real-file-name-function):
6123 Fix broken customization. (Bug#15184)
6124
6125 2013-08-25 Alan Mackenzie <acm@muc.de>
6126
6127 Improve indentation of bracelists defined by macros (without "=").
6128
6129 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6130 expansion begins with "{", regard it as bracelist when it doesn't
6131 contain a ";".
6132
6133 Parse C++ inher-intro when there's a template split over 2 lines.
6134
6135 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6136 rigorously the search for "class" etc. followed by ":".
6137
6138 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6139 random languages a regexp which never matches rather than nil.
6140
6141 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6142
6143 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6144 (c-awk-regexp-one-line-possibly-open-char-list-re)
6145 (c-awk-one-line-possibly-open-regexp-re)
6146 (c-awk-one-line-non-syn-ws*-re): Remove.
6147 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6148 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6149 (c-awk-space*-unclosed-regexp-/-re): New constants.
6150 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6151 aren't regexp delimiters.
6152
6153 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6154 handling for a rare situation in AWK Mode involving unterminated
6155 strings/regexps.
6156
6157 2013-08-23 Glenn Morris <rgm@gnu.org>
6158
6159 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6160
6161 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6162
6163 * files.el (create-file-buffer): If the result would begin with
6164 spaces, prepend a "|" instead of removing them. (Bug#15162)
6165
6166 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6169 text-properties (bug#15155).
6170
6171 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6172 exist any more.
6173 (calc-keypad-redraw): Remove unused var `pad'.
6174 (calc-keypad-press): Remove unused var `menu'.
6175
6176 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6177
6178 * window.el (display-buffer-pop-up-frame):
6179 Call pop-up-frame-function with BUFFER current so `make-frame' will
6180 use it as the new frame's buffer (Bug#15133).
6181
6182 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6183
6184 * calendar/timeclock.el: Minor cleanups.
6185 (timeclock-ask-before-exiting, timeclock-use-display-time):
6186 Use `symbol'.
6187 (timeclock-modeline-display): Define as alias before the
6188 actual definition.
6189 (timeclock-mode-line-display): Use define-minor-mode.
6190 (timeclock-day-list-template): Make it a function, add an argument.
6191 (timeclock-day-list-required, timeclock-day-list-length)
6192 (timeclock-day-list-debt, timeclock-day-list-span)
6193 (timeclock-day-list-break): Adjust calls accordingly.
6194
6195 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6198 Use read--expression so that completion works again.
6199
6200 2013-08-21 Sam Steingold <sds@gnu.org>
6201
6202 Add rudimentary inferior shell interaction
6203 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6204 (sh-set-shell): Reset it.
6205 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6206 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6207
6208 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * align.el: Use lexical-binding.
6211 (align-region): Simplify accordingly.
6212
6213 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6216
6217 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6218 `non-essential' up.
6219
6220 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6221
6222 * net/tramp.el:
6223 * net/tramp-adb.el:
6224 * net/tramp-cmds.el:
6225 * net/tramp-ftp.el:
6226 * net/tramp-gvfs.el:
6227 * net/tramp-gw.el:
6228 * net/tramp-sh.el: Don't wrap external variable declarations by
6229 `eval-when-compile'.
6230
6231 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6232
6233 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6234 now that Emacs supports ImageMagick animations.
6235
6236 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6237
6238 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6239 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6240
6241 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6242
6243 * window.el (mouse-autoselect-window-select): Do autoselect when
6244 mouse pointer is on margin.
6245
6246 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6247
6248 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6249
6250 2013-08-16 Glenn Morris <rgm@gnu.org>
6251
6252 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6253 Handle "Remote Directory" response of some clients. (Bug#15058)
6254
6255 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6256 Tweak warning. (Bug#14926)
6257
6258 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6259 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6260
6261 * image-mode.el (image-mode-map): Add menu items to reverse,
6262 increase, decrease, reset animation speed.
6263 (image--set-speed, image-increase-speed, image-decrease-speed)
6264 (image-reverse-speed, image-reset-speed): New functions.
6265 (image-mode-map): Add bindings for speed commands.
6266
6267 * image.el (image-animate-get-speed, image-animate-set-speed):
6268 New functions.
6269 (image-animate-timeout): Respect image :speed property.
6270
6271 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6274 previous line (bug#15101).
6275 (debugger-eval-expression, debugger-record-expression):
6276 Use read--expression (bug#15102).
6277
6278 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6279
6280 Remove byte compiler warnings, visible when compiling with
6281 `byte-compile-force-lexical-warnings' set to t.
6282
6283 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6284 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6285 (tramp-handle-unhandled-file-name-directory)
6286 (tramp-handle-file-notify-add-watch, tramp-action-login)
6287 (tramp-action-succeed, tramp-action-permission-denied)
6288 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6289 arguments with "_".
6290
6291 * net/tramp-adb.el (tramp-adb-parse-device-names)
6292 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6293 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6294 (tramp-adb-handle-file-truename): Remove unused arguments.
6295
6296 * net/tramp-cache.el (tramp-flush-directory-property)
6297 (tramp-flush-connection-property, tramp-list-connections)
6298 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6299
6300 * net/tramp-compat.el (tramp-compat-make-temp-file):
6301 Rename FILENAME to F.
6302
6303 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6304 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6305 (tramp-zeroconf-parse-workstation-device-names)
6306 (tramp-zeroconf-parse-webdav-device-names)
6307 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6308
6309 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6310 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6311
6312 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6313 arguments.
6314 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6315 (tramp-sh-handle-insert-file-contents-literally)
6316 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6317 with "_".
6318 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6319 Remove unused variables.
6320
6321 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6322 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6323 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6324
6325 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6326 Make them a defconst.
6327 (tramp-uuencode-region): Remove unused variable.
6328
6329 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * frameset.el (frameset--prop-setter): New function.
6332 (frameset-prop): Add gv-setter declaration.
6333 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6334 parameter was already set in FILTERED. Doc fix.
6335 (frameset--record-minibuffer-relationships): Allow saving a
6336 minibufferless frame without its corresponding minibuffer frame.
6337 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6338 frame, if the frame id matches.
6339 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6340 frames before orphaned ones.
6341 (frameset-restore): Warn about orphaned windows, instead of error out.
6342
6343 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6344
6345 * window.el (window-make-atom): Don't overwrite parameter
6346 already present.
6347 (display-buffer-in-atom-window): Handle special case where we
6348 split an already atomic window.
6349 (window--major-non-side-window, display-buffer-in-side-window)
6350 (window--side-check): Ignore minibuffer window when walking
6351 window tree.
6352 (window-deletable-p): Return 'frame only if no other frame uses
6353 our minibuffer window.
6354 (record-window-buffer): Run buffer-list-update-hook.
6355 (split-window): Make sure window--check-frame won't destroy an
6356 existing atomic window in case the new window gets nested
6357 inside.
6358 (display-buffer-at-bottom): Ignore minibuffer window when
6359 walking window tree. Don't split a side window.
6360 (pop-to-buffer): Don't set-buffer here, the select-window call
6361 should do that.
6362 (mouse-autoselect-window-select): Autoselect only if we are in the
6363 text portion of the window.
6364
6365 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6366
6367 * net/shr.el (shr-parse-image-data): New function to grab both the
6368 data itself and the Content-Type.
6369 (shr-put-image): Use it.
6370
6371 * net/eww.el (eww-display-image): Ditto.
6372
6373 * image.el (image-content-type-suffixes): New variable.
6374
6375 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6376
6377 * progmodes/python.el (python-imenu--build-tree)
6378 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6379
6380 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6381
6382 * simple.el (backward-word): Mention the optional argument.
6383
6384 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * frameset.el (frameset--make): Rename constructor from make-frameset.
6387 (frameset-p, frameset-valid-p): Don't autoload.
6388 (frameset-valid-p): Use normal accessors.
6389
6390 2013-08-13 Glenn Morris <rgm@gnu.org>
6391
6392 * progmodes/compile.el (compile-command): Tweak example in doc.
6393 * obsolete/scribe.el (scribe-mode):
6394 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6395
6396 * mail/feedmail.el (feedmail-confirm-outgoing)
6397 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6398
6399 * cus-start.el (truncate-partial-width-windows): Fix type.
6400
6401 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6402
6403 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6404
6405 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * emacs-lisp/timer.el (timer--time-setter): New function.
6408 (timer--time): Use it as gv-setter.
6409
6410 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6411 setter is not a symbol.
6412
6413 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6414
6415 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6416 if sending fails. This makes debugging easier.
6417
6418 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6419
6420 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6421 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6422 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6423
6424 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6425
6426 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6427
6428 2013-08-12 Glenn Morris <rgm@gnu.org>
6429
6430 * format.el (format-annotate-function):
6431 Handle read-only text properties in the source. (Bug#14887)
6432
6433 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6434
6435 * net/eww.el (eww-display-html): Ignore coding system errors.
6436 One web site uses "utf-8lias" as the coding system.
6437
6438 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6439
6440 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6441
6442 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6445 (tutorial--detailed-help): Remove unused local variables.
6446 (tutorial--save-tutorial-to): Use ignore-errors.
6447 (help-with-tutorial): Use looking-at-p.
6448
6449 * view.el (view-buffer-other-window, view-buffer-other-frame):
6450 Mark unused arguments.
6451
6452 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6453 (woman-select-symbol-fonts, woman, woman-find-file)
6454 (woman-insert-file-contents, woman-non-underline-faces):
6455 Use string-match-p.
6456 (woman1-unquote): Move declaration.
6457
6458 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6459 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6460 argument. Remove unused local variable.
6461 (xml-parse-elem-type): Use string-match-p.
6462 (xml-substitute-numeric-entities): Use ignore-errors.
6463
6464 * calculator.el (calculator): Mark unused argument.
6465 (calculator-paste, calculator-quit, calculator-integer-p):
6466 Use ignore-errors.
6467 (calculator-string-to-number, calculator-decimal, calculator-exp)
6468 (calculator-op-or-exp): Use string-match-p.
6469
6470 * dired.el (dired-buffer-more-recently-used-p): Declare.
6471 (dired-insert-set-properties, dired-insert-old-subdirs):
6472 Use ignore-errors.
6473
6474 * dired-aux.el (dired-compress): Use ignore-errors.
6475 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6476 (dired-do-async-shell-command, dired-do-shell-command)
6477 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6478 (dired-insert-subdir-validate): Use string-match-p.
6479 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6480 (dired-add-entry): Use string-match-p, looking-at-p.
6481 (dired-insert-subdir-newpos): Remove unused local variable.
6482
6483 * filenotify.el (file-notify-callback): Remove unused local variable.
6484
6485 * filesets.el (filesets-error): Mark unused argument.
6486 (filesets-which-command-p, filesets-filter-dir-names)
6487 (filesets-directory-files, filesets-get-external-viewer)
6488 (filesets-ingroup-get-data): Use string-match-p.
6489
6490 * find-file.el (ff-other-file-name, ff-other-file-name)
6491 (ff-find-the-other-file, ff-cc-hh-converter):
6492 Remove unused local variables.
6493 (ff-get-file-name): Use string-match-p.
6494 (ff-all-dirs-under): Use ignore-errors.
6495
6496 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6497 (follow-select-if-visible): Remove unused local variable.
6498
6499 * forms.el (read-file-filter): Move declaration.
6500 (forms--make-format, forms--make-parser, forms-insert-record):
6501 Quote function with #'.
6502 (forms--update): Use string-match-p. Quote function with #'.
6503
6504 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6505 (help-make-xrefs): Use looking-at-p.
6506 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6507
6508 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6509 (ibuffer-confirm-operation-on): Use string-match-p.
6510
6511 * msb.el (msb-item-handler, msb-dired-item-handler):
6512 Mark unused arguments.
6513
6514 * ses.el (ses-decode-cell-symbol)
6515 (ses-kill-override): Remove unused local variable.
6516 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6517 (ses-load): Use ignore-errors, looking-at-p.
6518 (ses-jump-safe): Use ignore-errors.
6519 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6520
6521 * tabify.el (untabify, tabify): Mark unused arguments.
6522
6523 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6524 Mark unused argument.
6525 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6526 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6527
6528 * emacs-lisp/timer.el (timer--time): Define setter with
6529 gv-define-setter to avoid deprecation warning.
6530
6531 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6532 (*record-cmpl-statistics-p*): Remove (was commented out).
6533 (cmpl-statistics-block): Remove (body was commented out).
6534 All callers changed.
6535 (add-completions-from-buffer, load-completions-from-file):
6536 Remove unused variables.
6537
6538 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * filecache.el (file-cache-delete-file-list):
6541 Print message only when told so.
6542 (file-cache-files-matching): Use #' in mapconcat argument.
6543
6544 * ffap.el (ffap-url-at-point): Fix reference to variable
6545 thing-at-point-default-mail-uri-scheme.
6546
6547 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * subr.el (define-error): New function.
6550 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6551 error-file-not-found and define with define-error.
6552 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6553 and define with define-error.
6554 * userlock.el (file-locked, file-supersession):
6555 * simple.el (mark-inactive):
6556 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6557 * progmodes/ada-mode.el (ada-mode-errors):
6558 * play/life.el (life-extinct):
6559 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6560 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6561 * nxml/rng-util.el (rng-error):
6562 * nxml/rng-uri.el (rng-uri-error):
6563 * nxml/rng-match.el (rng-compile-error):
6564 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6565 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6566 * nxml/nxml-rap.el (nxml-scan-error):
6567 * nxml/nxml-outln.el (nxml-outline-error):
6568 * net/soap-client.el (soap-error):
6569 * net/gnutls.el (gnutls-error):
6570 * net/ange-ftp.el (ftp-error):
6571 * mpc.el (mpc-proc-error):
6572 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6573 (json-number-format, json-string-escape, json-string-format)
6574 (json-key-format, json-object-format):
6575 * jka-compr.el (compression-error):
6576 * international/quail.el (quail-error):
6577 * international/kkc.el (kkc-error):
6578 * emacs-lisp/ert.el (ert-test-failed):
6579 * calc/calc.el (calc-error, inexact-result, math-overflow)
6580 (math-underflow):
6581 * bookmark.el (bookmark-error-no-filename):
6582 * epg.el (epg-error): Define with define-error.
6583
6584 * time.el (display-time-event-handler)
6585 (display-time-next-load-average): Don't call sit-for since it seems
6586 unnecessary (bug#15045).
6587
6588 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6589 Use #' instead of ' to quote functions.
6590 (checkdoc-output-mode): Use setq-local.
6591 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6592 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6593 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6594 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6595 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6596 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6597 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6598 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6599
6600 * ido.el (ido-completion-help): Fix up compiler warning.
6601
6602 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * frameset.el (frameset-p): Add autoload cookie.
6605 (frameset--jump-to-register): New function, based on code moved from
6606 register.el.
6607 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6608
6609 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6610 (frameset-restore, frameset-save, frameset-session-filter-alist):
6611 Remove declarations.
6612 (register-alist): Doc fix.
6613 (frameset-to-register): Move to frameset.el.
6614 (jump-to-register, describe-register-1): Remove frameset-specific code.
6615
6616 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6617
6618 * allout-widgets.el (allout-widgets-pre-command-business)
6619 (allout-widgets-post-command-business)
6620 (allout-widgets-after-change-handler)
6621 (allout-decorate-item-and-context, allout-set-boundary-marker)
6622 (allout-body-modification-handler)
6623 (allout-graphics-modification-handler): Mark ignored arguments.
6624 (allout-widgets-post-command-business)
6625 (allout-widgets-exposure-change-processor)
6626 (allout-widgets-exposure-undo-processor)
6627 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6628 (allout-parse-item-at-point, allout-decorate-item-guides)
6629 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6630 * allout.el (epa-passphrase-callback-function): Declare.
6631 (allout-overlay-insert-in-front-handler)
6632 (allout-overlay-interior-modification-handler)
6633 (allout-isearch-end-handler, allout-chart-siblings)
6634 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6635 (allout-yank-processing, allout-process-exposed)
6636 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6637 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6638 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6639 (lisp-indent-defform): Mark ignored arguments.
6640 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6641 (calculate-lisp-indent): Remove unused variables.
6642 * international/characters.el (indian-2-column, arabic-2-column)
6643 (tibetan): Mark ignored arguments.
6644 (use-cjk-char-width-table): Mark ignored arguments.
6645 Remove unused variables.
6646 * international/fontset.el (build-default-fontset-data)
6647 (x-compose-font-name, create-fontset-from-fontset-spec):
6648 Mark ignored arguments.
6649 (fontset-plain-name): Remove unused variables.
6650 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6651 (keyboard-coding-system): Mark ignored arguments.
6652 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6653 * help.el (resize-temp-buffer-window):
6654 * window.el (display-buffer-in-major-side-window)
6655 (display-buffer-in-side-window, display-buffer-in-previous-window):
6656 Remove unused variables.
6657 * isearch.el (isearch-forward-symbol):
6658 * version.el (emacs-bzr-version-bzr):
6659 * international/mule-cmds.el (current-language-environment):
6660 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6661 (x-handle-display):
6662 * term/pc-win.el (x-list-fonts, x-display-planes)
6663 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6664 (x-server-version, x-display-screens, x-display-mm-height)
6665 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6666 (x-selection-owner-p, x-own-selection-internal)
6667 (x-disown-selection-internal, x-get-selection-internal)
6668 (msdos-initialize-window-system):
6669 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6670 * term/x-win.el (x-handle-no-bitmap-icon):
6671 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6672 (vc-default-find-file-hook, vc-default-extra-menu):
6673 Mark ignored arguments.
6674
6675 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6678 break-condition in the context of the debugged code (bug#12685).
6679
6680 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6681
6682 * comint.el:
6683 Do not use an overlay to highlight the last prompt. (Bug#14744)
6684 (comint-mode): Make comint-last-prompt buffer local.
6685 (comint-last-prompt): New variable.
6686 (comint-last-prompt-overlay): Remove. Superseded by
6687 comint-last-prompt.
6688 (comint-snapshot-last-prompt, comint-output-filter):
6689 Use comint-last-prompt.
6690
6691 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6694 (frameset-save): Check validity of the resulting frameset.
6695
6696 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6697
6698 * ido.el (ido-record-command): Add doc string.
6699
6700 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6701
6702 * frameset.el (frameset): Do not disable creation of the default
6703 frameset-p predicate. Doc fix.
6704 (frameset-valid-p): New function, copied from the old predicate-p.
6705 Add additional checks.
6706 (frameset-restore): Check with frameset-valid-p.
6707 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6708 (frameset-name, frameset-description, frameset-properties)
6709 (frameset-states): Add docstring.
6710 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6711 (frameset-filter-alist): Doc fixes.
6712
6713 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6714
6715 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6716
6717 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6718
6719 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6720 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6721 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6722 (byte-compile-normal-call): Remove obsolescence check.
6723
6724 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * frameset.el (frameset-restore): Doc fix.
6727
6728 * register.el (frameset-frame-id, frameset-frame-with-id)
6729 (frameset-p, frameset-restore, frameset-save): Declare.
6730 (register-alist): Document framesets.
6731 (frameset-session-filter-alist): Declare.
6732 (frameset-to-register): New function.
6733 (jump-to-register): Implement jumping to framesets. Doc fix.
6734 (describe-register-1): Describe framesets.
6735
6736 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6737
6738 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6739
6740 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6741 Use lexical-binding.
6742
6743 * frameset.el (frameset): Use type vector, not list (incompatible
6744 change). Do not declare a new constructor, use the default one.
6745 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6746 `name' and `description', respectively, and add read-only slot
6747 `timestamp'. Doc fixes.
6748 (frameset-copy, frameset-persistent-filter-alist)
6749 (frameset-filter-alist, frameset-switch-to-gui-p)
6750 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6751 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6752 (frameset-filter-iconified, frameset-keep-original-display-p):
6753 Doc fixes.
6754 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6755 Rename from frameset-filter-(save|restore)-param. All callers changed.
6756 Doc fix.
6757 (frameset-p): Adapt to change to vector and be more thorough.
6758 Change arg name to OBJECT. Doc fix.
6759 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6760 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6761 All callers changed.
6762 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6763 All callers changed.
6764 (frameset--record-minibuffer-relationships): Rename from
6765 frameset--process-minibuffer-frames. All callers changed.
6766 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6767 Use new default constructor (again). Doc fix.
6768 (frameset--find-frame-if): Rename from `frameset--find-frame.
6769 All callers changed.
6770 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6771 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6772 Doc fix.
6773 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6774 PARAMETERS and WINDOW-STATE, respectively.
6775 (frameset-restore): Add new keyword argument PREDICATE.
6776 Reset frameset--target-display to nil. Doc fix.
6777
6778 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6781 (bat-mode): Use it.
6782 (bat-mode-syntax-table): Mark \n as end-of-comment.
6783 (bat-font-lock-keywords): Remove comment rule.
6784
6785 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6786 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6787
6788 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6789 (byte-compile-callargs-warn): Use `push'.
6790 (byte-compile-arglist-warn): Ignore higher-order "calls".
6791 (byte-compile-file-form-autoload): Use `pcase'.
6792 (byte-compile-function-form): If quoting a symbol, check that it exists.
6793
6794 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6795
6796 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6797 and add a few popular commands found in batch files.
6798 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6799 (dos-mode): Doc fixes.
6800
6801 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6804 (dos-mode): Use setq-local. Add space after "rem".
6805 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6806 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6807
6808 2013-08-07 Arni Magnusson <arnima@hafro.is>
6809
6810 * progmodes/dos.el: New file.
6811 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6812 dos-mode.
6813
6814 2013-08-06 Glenn Morris <rgm@gnu.org>
6815
6816 * calendar/calendar.el: Add new faces, and day-header-array.
6817 (calendar-weekday-header, calendar-weekend-header)
6818 (calendar-month-header): New faces.
6819 (calendar-day-header-construct): New function.
6820 (calendar-day-header-width): Also :set calendar-day-header-array.
6821 (calendar-american-month-header, calendar-european-month-header)
6822 (calendar-iso-month-header): Use calendar- faces.
6823 (calendar-generate-month):
6824 Use calendar-day-header-array for day headers; apply faces to them.
6825 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6826 (calendar-abbrev-construct): Add optional maxlen argument.
6827 (calendar-day-name-array): Doc fix.
6828 (calendar-day-name-array, calendar-abbrev-length)
6829 (calendar-day-abbrev-array):
6830 Also :set calendar-day-header-array, and maybe redraw.
6831 (calendar-day-header-array): New option. (Bug#15007)
6832 (calendar-font-lock-keywords): Set to nil and make obsolete.
6833 (calendar-day-name): Add option to use header array.
6834
6835 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6836
6837 * net/shr.el (shr-render-td): Remove debugging.
6838 (shr-render-td): Make width computation consistent by defaulting
6839 all zero-width columns to 10 characters. This may not be optimal,
6840 but it's at least consistent.
6841 (shr-make-table-1): Redo last change to fix the real problem in
6842 colspan handling.
6843
6844 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6845
6846 * files.el (cache-long-line-scans):
6847 Make obsolete alias to `cache-long-scans'.
6848
6849 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * frameset.el (frameset, frameset-filter-alist)
6852 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6853 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6854 (frameset-compute-pos): Rename from frameset--compute-pos,
6855 and add docstring.
6856 (frameset-move-onscreen): Use frameset-compute-pos.
6857 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6858
6859 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6860 Fix typos in docstrings.
6861
6862 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6863
6864 * frame.el (get-other-frame): Tiny cleanup.
6865
6866 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6867
6868 * vc/vc.el (vc-default-ignore-completion-table):
6869 Silence byte-compiler warning.
6870
6871 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6872 slot, which can indeed be nil.
6873 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6874 Move entry for `left' from persistent to live filter alist.
6875 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6876 Doc fixes.
6877 (frameset-filter-params): When restoring a frame, copy items added to
6878 `filtered', to avoid unwittingly modifying the original parameters.
6879 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6880 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6881
6882 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6883 to use looking-at-p instead of looking-at. (Bug#15028)
6884
6885 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 Revert introduction of isearch-filter-predicates (bug#14714).
6888 Rely on add-function instead.
6889 * isearch.el (isearch-filter-predicates): Rename it back to
6890 isearch-filter-predicate.
6891 (isearch-message-prefix): Use advice-function-mapc and advice
6892 properties to get the isearch-message-prefix.
6893 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6894 instead of run-hook-with-args-until-failure.
6895 (isearch-filter-visible): Not obsolete any more.
6896 * loadup.el: Preload nadvice.
6897 * replace.el (perform-replace): Revert to funcall
6898 instead of run-hook-with-args-until-failure.
6899 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6900 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6901 dired-isearch-filenames-toggle; make it into a proper minor mode.
6902 Use add/remove-function.
6903 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6904 Call the minor-mode rather than add/remove-hook.
6905 (dired-isearch-filter-filenames):
6906 Remove isearch-message-prefix property.
6907 * info.el (Info--search-loop): New function, extracted from Info-search.
6908 Funcall isearch-filter-predicate instead of
6909 run-hook-with-args-until-failure isearch-filter-predicates.
6910 (Info-search): Use it.
6911 (Info-mode): Use isearch-filter-predicate instead of
6912 isearch-filter-predicates.
6913
6914 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6915
6916 Do not call to `selected-window' where it is assumed by default.
6917 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6918 `window-hscroll', `window-width', `window-height', `window-buffer',
6919 `window-frame', `window-start', `window-point', `next-window'
6920 and `window-display-table'.
6921 * abbrev.el (abbrev--default-expand):
6922 * bs.el (bs--show-with-configuration):
6923 * buff-menu.el (Buffer-menu-mouse-select):
6924 * calc/calc.el (calc):
6925 * calendar/calendar.el (calendar-generate-window):
6926 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6927 (diary-make-entry):
6928 * comint.el (send-invisible, comint-dynamic-complete-filename)
6929 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6930 * completion.el (complete):
6931 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6932 * disp-table.el (describe-current-display-table):
6933 * doc-view.el (doc-view-insert-image):
6934 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6935 * ehelp.el (with-electric-help):
6936 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6937 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6938 * emacs-lisp/helper.el (Helper-help-scroller):
6939 * emulation/cua-base.el (cua--post-command-handler-1):
6940 * eshell/esh-mode.el (eshell-output-filter):
6941 * ffap.el (ffap-gnus-wrapper):
6942 * help-macro.el (make-help-screen):
6943 * hilit-chg.el (highlight-compare-buffers):
6944 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6945 * hl-line.el (global-hl-line-highlight):
6946 * icomplete.el (icomplete-simple-completing-p):
6947 * isearch.el (isearch-done):
6948 * jit-lock.el (jit-lock-stealth-fontify):
6949 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6950 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6951 * mpc.el (mpc-tagbrowser, mpc):
6952 * net/rcirc.el (rcirc-any-buffer):
6953 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6954 * play/landmark.el (landmark-max-width, landmark-max-height):
6955 * play/zone.el (zone):
6956 * progmodes/compile.el (compilation-goto-locus):
6957 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6958 * progmodes/etags.el (find-tag-other-window):
6959 * progmodes/fortran.el (fortran-column-ruler):
6960 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6961 * progmodes/verilog-mode.el (verilog-point-text):
6962 * reposition.el (reposition-window):
6963 * rot13.el (toggle-rot13-mode):
6964 * server.el (server-switch-buffer):
6965 * shell.el (shell-dynamic-complete-command)
6966 (shell-dynamic-complete-environment-variable):
6967 * simple.el (insert-buffer, set-selective-display)
6968 (delete-completion-window):
6969 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6970 (speedbar-recenter):
6971 * startup.el (fancy-splash-head):
6972 * textmodes/ispell.el (ispell-command-loop):
6973 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6974 * tutorial.el (help-with-tutorial):
6975 * vc/add-log.el (add-change-log-entry):
6976 * vc/compare-w.el (compare-windows):
6977 * vc/ediff-help.el (ediff-indent-help-message):
6978 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6979 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6980 (ediff-setup-control-frame):
6981 * vc/emerge.el (emerge-position-region):
6982 * vc/pcvs-util.el (cvs-bury-buffer):
6983 * window.el (walk-windows, mouse-autoselect-window-select):
6984 * winner.el (winner-set-conf, winner-undo): Related users changed.
6985
6986 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6987
6988 * frameset.el (frameset--set-id): Doc fix.
6989 (frameset-frame-id, frameset-frame-id-equal-p)
6990 (frameset-locate-frame-id): New functions.
6991 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6992 (frameset-restore): Use them.
6993
6994 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6995
6996 Do not call to `selected-frame' where it is assumed by default.
6997 Affected functions are `raise-frame', `redraw-frame',
6998 `frame-first-window', `frame-terminal' and `delete-frame'.
6999 * calendar/appt.el (appt-disp-window):
7000 * epg.el (epg-wait-for-completion):
7001 * follow.el (follow-delete-other-windows-and-split)
7002 (follow-avoid-tail-recenter):
7003 * international/mule.el (set-terminal-coding-system):
7004 * mail/rmail.el (rmail-mail-return):
7005 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7006 * progmodes/f90.el (f90-add-imenu-menu):
7007 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7008 * server.el (server-switch-buffer):
7009 * simple.el (delete-completion-window):
7010 * talk.el (talk):
7011 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7012 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7013 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7014 * vc/ediff.el (ediff-documentation): Related users changed.
7015 * frame.el (selected-terminal): Remove the leftover.
7016
7017 2013-08-05 Glenn Morris <rgm@gnu.org>
7018
7019 * calendar/calendar.el (calendar-generate-month):
7020 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7021 (calendar-generate-month, calendar-font-lock-keywords):
7022 Fix for calendar-day-header-width > length of any day name.
7023
7024 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * desktop.el (desktop-clear): Use new name of sort predicate.
7027
7028 * frameset.el (frameset): Add docstring. Move :version property to its
7029 own `version' slot.
7030 (frameset-copy): Rename from copy-frameset.
7031 (frameset-p): Check more thoroughly.
7032 (frameset-prop): Do not check for :version, which is no longer a prop.
7033 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7034 Use new :never value instead of t.
7035 (frameset-filter-alist): Expand and clarify docstring.
7036 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7037 (frameset-filter-minibuffer, frameset-filter-save-param)
7038 (frameset-filter-restore-param, frameset-filter-iconified):
7039 Add pointer to docstring of frameset-filter-alist.
7040 (frameset-filter-params): Rename filter values to be more meaningful:
7041 :never instead of t, and reverse the meanings of :save and :restore.
7042 (frameset--process-minibuffer-frames): Clarify error message.
7043 (frameset-save): Avoid unnecessary and confusing call to framep.
7044 Use new BOA constructor for framesets.
7045 (frameset--reuse-list): Doc fix.
7046 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7047 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7048 (frameset-minibufferless-first-p): Doc fix.
7049 Rename from frameset-sort-frames-for-deletion.
7050 (frameset-restore): Doc fixes. Use new function names.
7051 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7052
7053 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7054
7055 * desktop.el (desktop-restore-forces-onscreen)
7056 (desktop-restore-reuses-frames): Document :keyword constant values.
7057 (desktop-filter-parameters-alist): Remove, now identical to
7058 frameset-filter-alist.
7059 (desktop--filter-tty*): Remove, moved to frameset.el.
7060 (desktop-save-frameset, desktop-restore-frameset):
7061 Do not pass :filters argument.
7062
7063 * frameset.el (frameset-live-filter-alist)
7064 (frameset-persistent-filter-alist): New variables.
7065 (frameset-filter-alist): Use them. Add autoload cookie.
7066 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7067 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7068 `frameset--id' (it's supposed to be internal to frameset.el).
7069 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7070 (frameset--initial-params): New function.
7071 (frameset--get-frame): Use it. Doc fix.
7072 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7073 Accept :all, not 'all.
7074 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7075 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7076 with fbound symbols. Fix frame id matching, and remove matching ids if
7077 the frame being restored is deleted. Obey :delete.
7078
7079 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * subr.el (macrop): New function.
7082 (text-clone--maintaining): New var.
7083 (text-clone--maintain): Rename from text-clone-maintain. Use it
7084 instead of inhibit-modification-hooks.
7085
7086 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7087 a proxy, so as handle autoloads and redefinitions of the target.
7088 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7089
7090 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7091 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7092 (pcase--mutually-exclusive-p): New function.
7093 (pcase--split-consp): Use it.
7094 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7095 mutually exclusive with the current predicate.
7096
7097 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7098 (edebug-macrop): Remove. Use `macrop' instead.
7099 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7100 (ad-macro-p):
7101 * eshell/esh-cmd.el (eshell-macrop):
7102 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7103
7104 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7107 (advice-mapc): New function, using it.
7108 (advice-function-member-p): New function.
7109 (advice--normalize): Store the cdr in advice--saved-rewrite since
7110 that's the part that will be changed.
7111 (advice--symbol-function): New function.
7112 (advice-remove): Handle removal before the function is defined.
7113 Adjust to new advice--saved-rewrite.
7114 (advice-member-p): Use advice-function-member-p and
7115 advice--symbol-function.
7116
7117 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7118
7119 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7120 (frameset-filter-minibuffer): Doc fix.
7121 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7122 (frameset--set-id, frameset--process-minibuffer-frames)
7123 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7124 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7125
7126 * desktop.el (desktop-clear): Only delete frames when called
7127 interactively and desktop-restore-frames is non-nil. Doc fix.
7128 (desktop-read): Set desktop-saved-frameset to nil.
7129
7130 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7131
7132 * vc/vc.el (vc-ignore): Rewrite.
7133 (vc-default-ignore-completion-table):
7134 (vc--read-lines):
7135 (vc--add-line, vc--remove-regexp): New functions.
7136
7137 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7138 (vc-svn-ignore-completion-table): New function.
7139
7140 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7141 (vc-hg-ignore-completion-table):
7142 (vc-hg-find-ignore-file): New functions.
7143
7144 * vc/vc-git.el (vc-git-ignore): Rewrite.
7145 (vc-git-ignore-completion-table):
7146 (vc-git-find-ignore-file): New functions.
7147
7148 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7149
7150 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7151 (vc-bzr-ignore-completion-table):
7152 (vc-bzr-find-ignore-file): New functions.
7153
7154 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7155
7156 * frameset.el (frameset-prop): New function and setter.
7157 (frameset-save): Do not modify frame list passed by the caller.
7158
7159 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7160
7161 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7162
7163 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7166 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7167
7168 * custom.el (custom-initialize-default, custom-initialize-set)
7169 (custom-initialize-reset, custom-initialize-changed): Affect the
7170 toplevel-default-value (bug#6275, bug#14586).
7171 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7172 for bug#6275.
7173
7174 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7175
7176 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7177 Add cl-def* expressions.
7178
7179 * frameset.el (frameset-filter-params): Fix order of arguments.
7180
7181 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7182
7183 Move code related to saving frames to frameset.el.
7184 * desktop.el: Require frameset.
7185 (desktop-restore-frames): Doc fix.
7186 (desktop-restore-reuses-frames): Rename from
7187 desktop-restoring-reuses-frames.
7188 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7189 (desktop-clear): Clear frames too.
7190 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7191 (desktop--filter-tty*, desktop-save, desktop-read):
7192 Use frameset functions.
7193 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7194 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7195 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7196 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7197 (desktop--process-minibuffer-frames, desktop-save-frames)
7198 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7199 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7200 (desktop--sort-states, desktop-restoring-frames-p)
7201 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7202 (desktop-restoring-frameset-p, desktop-restore-frameset)
7203 (desktop--check-dont-save, desktop-save-frameset): New functions.
7204 (desktop--app-id): New constant.
7205 (desktop-first-buffer, desktop-buffer-ok-count)
7206 (desktop-buffer-fail-count): Move before first use.
7207 * frameset.el: New file.
7208
7209 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * files.el: Use lexical-binding.
7212 (dir-locals-read-from-file): Remove unused `err' variable.
7213 (hack-dir-local-variables--warned-coding): New var.
7214 (hack-dir-local-variables): Use it to avoid repeated warnings.
7215 (make-backup-file-name--default-function): New function.
7216 (make-backup-file-name-function): Use it as default.
7217 (buffer-stale--default-function): New function.
7218 (buffer-stale-function): Use it as default.
7219 (revert-buffer-insert-file-contents--default-function): New function.
7220 (revert-buffer-insert-file-contents-function): Use it as default.
7221 (insert-directory): Avoid add-to-list.
7222
7223 * autorevert.el (auto-revert-handler): Simplify.
7224 Use buffer-stale--default-function.
7225
7226 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7227
7228 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7229
7230 * whitespace.el (whitespace-ensure-local-variables): New function.
7231 (whitespace-cleanup-region): Call it.
7232 (whitespace-turn-on): Call it.
7233
7234 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7235
7236 Complete file name handlers.
7237
7238 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7239 (tramp-handle-verify-visited-file-modtime)
7240 (tramp-handle-file-notify-rm-watch): New functions.
7241 (tramp-call-process): Do not bind `default-directory'.
7242
7243 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7244 Order alphabetically.
7245 [access-file, add-name-to-file, dired-call-process]:
7246 [dired-compress-file, file-acl, file-notify-rm-watch]:
7247 [file-ownership-preserved-p, file-selinux-context]:
7248 [make-directory-internal, make-symbolic-link, set-file-acl]:
7249 [set-file-selinux-context, set-visited-file-modtime]:
7250 [verify-visited-file-modtime]: Add handler.
7251 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7252
7253 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7254 [file-notify-add-watch, file-notify-rm-watch]:
7255 [set-file-times, set-visited-file-modtime]:
7256 [verify-visited-file-modtime]: Add handler.
7257 (with-tramp-gvfs-error-message)
7258 (tramp-gvfs-handle-set-visited-file-modtime)
7259 (tramp-gvfs-fuse-file-name): Remove.
7260 (tramp-gvfs-handle-file-notify-add-watch)
7261 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7262 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7263
7264 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7265 Order alphabetically.
7266 [file-notify-rm-watch ]: Use default Tramp handler.
7267 [executable-find]: Remove private handler.
7268 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7269 `default-directory'.
7270 (tramp-sh-handle-executable-find)
7271 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7272 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7273 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7274 Do not use `format' in `tramp-message'.
7275
7276 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7277 [file-notify-rm-watch, set-visited-file-modtime]:
7278 [verify-visited-file-modtime]: Add handler.
7279 (tramp-smb-call-winexe): Do not bind `default-directory'.
7280
7281 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7282
7283 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7284
7285 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7286
7287 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7288 use it.
7289 (log-view-diff-changeset): Same.
7290 (log-view-diff-common): Call backend command `previous-revision'
7291 to find out the previous revision, in both cases. Swap the
7292 variables `to' and `fr', so that `fr' usually refers to the
7293 earlier revision (Bug#14989).
7294
7295 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7296
7297 * ibuf-ext.el (ibuffer-filter-by-filename):
7298 Make it work with dired buffers too.
7299
7300 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7301
7302 * emacs-lisp/re-builder.el (reb-color-display-p):
7303 * files.el (save-buffers-kill-terminal):
7304 * net/browse-url.el (browse-url):
7305 * server.el (server-save-buffers-kill-terminal):
7306 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7307 Prefer nil to selected-frame for the first arg of frame-parameter.
7308
7309 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7310
7311 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7312
7313 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7314
7315 * minibuffer.el (completion--twq-all): Try and preserve each
7316 completion's case choice (bug#14907).
7317
7318 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7319
7320 * net/network-stream.el (open-network-stream): Mention the new
7321 :nogreeting parameter.
7322 (network-stream-open-starttls): Use the :nogreeting parameter
7323 (bug#14938).
7324
7325 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7326
7327 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7328 more natural than popping.
7329
7330 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7331 (shr-urlify): Highlight under mouse.
7332
7333 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7334
7335 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7336
7337 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7338
7339 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7340 buffer for output.
7341
7342 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7343 point-min==1. Fix search string. Fix parentheses missing.
7344
7345 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7346 assume point-min==1. Fix search string. Fix parentheses missing.
7347
7348 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7349
7350 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7351 buffer for output.
7352
7353 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7354
7355 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7356 initial frame is minibuffer-less. (Bug#14841)
7357
7358 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7359
7360 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7361 option.
7362
7363 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7364 (tramp-maybe-open-connection): Use it.
7365
7366 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7367
7368 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7369 minimal set of parameters passed when creating a frame, because
7370 the minibuffer status of a frame cannot be changed later.
7371
7372 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7373
7374 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7375 replace-regexp-in-string and inadvertent omissions in previous change.
7376 (todo-filter-items): Ensure only file names are comma-separated in
7377 name of filtered items buffer.
7378
7379 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7380
7381 * desktop.el: Optionally force offscreen frames back onscreen.
7382 (desktop-restoring-reuses-frames): New option.
7383 (desktop--compute-pos, desktop--move-onscreen): New functions.
7384 (desktop--make-frame): Use desktop--move-onscreen.
7385
7386 2013-07-27 Alan Mackenzie <acm@muc.de>
7387
7388 Fontify a Java generic method as a function.
7389 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7390 value to t.
7391
7392 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7393
7394 * calendar/todo-mode.el: Add command to rename todo files.
7395 (todo-rename-file): New command.
7396 (todo-key-bindings-t): Add key binding for it. Change the
7397 bindings of todo-filter-regexp-items(-multifile) to use `x'
7398 instead of `r', since the latter is better suited to the new
7399 renaming command.
7400
7401 2013-07-27 Alan Mackenzie <acm@muc.de>
7402
7403 Make Java try-with-resources statement parse properly.
7404 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7405 (c-block-stmt-1-2-key): New language constants/variables.
7406 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7407 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7408 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7409 with c-block-stmt-1-2-key.
7410
7411 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7412
7413 * desktop.el (desktop--make-frame): Apply most frame parameters after
7414 creating the frame to force (partially or totally) offscreen frames to
7415 be restored as such.
7416
7417 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7418
7419 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7420 (Bug#14948)
7421
7422 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7425 `base' arg of backtrace-frame.
7426
7427 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7428
7429 * simple.el (list-processes): Doc fix.
7430
7431 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * desktop.el (desktop--select-frame):
7434 Try harder to reuse existing frames.
7435
7436 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7439 (edebug-eval): Use backtrace-eval.
7440 (edebug--display, edebug--recursive-edit): Don't let-bind the
7441 edebug-outer-* vars that keep track of variables we locally let-bind.
7442 (edebug-outside-excursion): Don't restore outside values of locally
7443 let-bound vars.
7444 (edebug--display): Use user-error.
7445 (cl-lexical-debug, cl-debug-env): Remove.
7446
7447 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7450 are restored to be sure that they are visible before deleting any
7451 remaining ones.
7452
7453 2013-07-26 Matthias Meulien <orontee@gmail.com>
7454
7455 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7456 vc-print-root-log. (Bug#14948)
7457
7458 2013-07-26 Richard Stallman <rms@gnu.org>
7459
7460 Add aliases for encrypting mail.
7461 * epa.el (epa-mail-aliases): New option.
7462 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7463 Bind inhibit-read-only so read-only text doesn't ruin everything.
7464 (epa-mail-default-recipients): New subroutine broken out.
7465 Handle epa-mail-aliases.
7466
7467 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 Add support for lexical variables to the debugger's `e' command.
7470 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7471 vars, except for debugger-outer-match-data.
7472 (debugger-frame-number): Move check for "on a function call" from
7473 callers into it. Add `skip-base' argument.
7474 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7475 (debugger-env-macro): Only reset the state stored in non-variables,
7476 i.e. current-buffer and match-data.
7477 (debugger-eval-expression): Rewrite using backtrace-eval.
7478 * subr.el (internal--called-interactively-p--get-frame): Remove.
7479 (called-interactively-p):
7480 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7481 `base' arg of backtrace-frame instead.
7482
7483 2013-07-26 Glenn Morris <rgm@gnu.org>
7484
7485 * align.el (align-regexp): Doc fix. (Bug#14857)
7486 (align-region): Explicit error if subexpression missing/does not match.
7487
7488 * simple.el (global-visual-line-mode):
7489 Do not duplicate the mode lighter. (Bug#14858)
7490
7491 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7492
7493 * window.el (display-buffer): In display-buffer bind
7494 split-window-keep-point to t, bug#14829.
7495
7496 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7497
7498 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7499 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7500 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7501 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7502 Change accordingly.
7503 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7504 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7505
7506 2013-07-25 Glenn Morris <rgm@gnu.org>
7507
7508 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7509
7510 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7513 parameter to modify-frame-parameters if the value has not changed;
7514 this is a workaround for bug#14949.
7515 (desktop--make-frame): On cl-delete-if call, check parameter name,
7516 not full parameter.
7517
7518 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7519
7520 * vc/vc.el (vc-ignore): New function.
7521
7522 * vc/vc-svn.el (vc-svn-ignore): New function.
7523
7524 * vc/vc-hg.el (vc-hg-ignore): New function.
7525
7526 * vc/vc-git.el (vc-git-ignore): New function.
7527
7528 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7529 (vc-dir-ignore): New function.
7530
7531 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7532 (cvs-append-to-ignore): Move here from pcvs.el.
7533
7534 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7535
7536 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7537
7538 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7541 (desktop-restore-frames): Warn when deleting an existing frame failed.
7542
7543 2013-07-24 Glenn Morris <rgm@gnu.org>
7544
7545 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7546
7547 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * filenotify.el (file-notify-supported-p):
7550 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7551 Remove functions.
7552
7553 * autorevert.el (auto-revert-use-notify):
7554 (auto-revert-notify-add-watch):
7555 * net/tramp.el (tramp-file-name-for-operation):
7556 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7557 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7558 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7559 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7560 Remove `file-notify-supported-p' entry.
7561
7562 2013-07-24 Glenn Morris <rgm@gnu.org>
7563
7564 * printing.el: Replace all uses of deleted ps-windows-system,
7565 ps-lp-system, ps-flatten-list with lpr- versions.
7566
7567 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7570 checked with memq (bug#14935).
7571
7572 * files.el (revert-buffer-function): Use a non-nil default.
7573 (revert-buffer-preserve-modes): Declare var to
7574 provide access to the `preserve-modes' argument.
7575 (revert-buffer): Let-bind it.
7576 (revert-buffer--default): New function, extracted from revert-buffer.
7577
7578 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * lpr.el: Signal print errors more prominently.
7581 (print-region-function): Don't default to nil.
7582 (lpr-print-region): New function, extracted from print-region-1.
7583 Check lpr's return value and signal an error in case of problem.
7584 (print-region-1): Use it.
7585 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7586 versions instead.
7587 (ps-printer-name): Default to nil.
7588 (ps-printer-name-option): Default to lpr-printer-switch.
7589 (ps-print-region-function): Don't default to nil.
7590 (ps-postscript-code-directory): Simplify default.
7591 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7592 (ps-string-list, ps-eval-switch, ps-flatten-list)
7593 (ps-flatten-list-1): Remove.
7594 (ps-multibyte-buffer): Avoid setq.
7595 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7596 (print-region-function, ps-print-region-function): Don't set them here.
7597
7598 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7599
7600 * ido.el (ido-fractionp):
7601 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7602 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7603 (ido-max-directory-size, ido-max-dir-file-cache)
7604 (ido-decorations): Doc fix.
7605
7606 * ansi-color.el: Fix old URL.
7607
7608 2013-07-23 Michael R. Mauger <michael@mauger.com>
7609
7610 * progmodes/sql.el: Version 3.3
7611 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7612 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7613 (sql-interactive-remove-continuation-prompt): Rewrite, use
7614 functions above. Fix continuation prompt and complete output line
7615 handling.
7616 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7617 redirected output buffer.
7618 (sql-mode): Restore deleted code (Bug#13591).
7619
7620 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7623
7624 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7625
7626 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7627
7628 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7629 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7630 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7631
7632 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7633
7634 * desktop.el (desktop-clear): Simplify; remove useless checks
7635 against invalid buffer names.
7636 (desktop-list*): Use cl-list*.
7637 (desktop-buffer-info, desktop-create-buffer): Simplify.
7638
7639 2013-07-23 Leo Liu <sdl.web@gmail.com>
7640
7641 * bookmark.el (bookmark-make-record): Restore NAME as a default
7642 value. (Bug#14933)
7643
7644 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7645
7646 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7647 extracted from autoload--insert-text.
7648 (autoload--insert-text): Remove.
7649 (autoload--print-cookie-text): New function, extracted from
7650 autoload--insert-cookie-text.
7651 (autoload--insert-cookie-text): Remove.
7652 (autoload-generate-file-autoloads): Adjust calls accordingly.
7653
7654 * winner.el (winner-hook-installed-p): Remove.
7655 (winner-mode): Simplify accordingly.
7656
7657 * subr.el (add-to-list): Fix compiler-macro when `append' is
7658 not constant. Don't use `cl-member' for the base case.
7659
7660 * progmodes/subword.el: Fix boundary case (bug#13758).
7661 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7662 own group.
7663 (subword-backward-regexp): Make it a constant.
7664 (subword-forward-internal): Don't treat a trailing capital as the
7665 beginning of a word.
7666
7667 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7668
7669 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7670 global value of tabulated-list-revert-hook (bug#14930).
7671
7672 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7673
7674 * desktop.el: Require 'cl-lib.
7675 (desktop-before-saving-frames-functions): New hook.
7676 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7677 for frames being saved. Rename from desktop--save-minibuffer-frames.
7678 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7679 Do not save frames with non-nil `desktop-dont-save' parameter.
7680 Filter out deleted frames.
7681 (desktop--find-frame): Use cl-find-if.
7682 (desktop--select-frame): Use cl-(first|second|third) to access values
7683 of desktop-mini.
7684 (desktop--make-frame): Use cl-delete-if.
7685 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7686 (desktop-restore-frames): Use cl-(first|second|third) to access values
7687 of desktop-mini. Look for visible frame at the end, not while
7688 restoring frames.
7689
7690 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7691 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7692 Use string-match-p, looking-at-p (bug#14927).
7693
7694 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7695
7696 * desktop.el (desktop-saved-frame-states):
7697 Rename from desktop--saved-states; all users changed.
7698 (desktop-save-frames): Rename from desktop--save-frames.
7699 Do not save state to desktop file.
7700 (desktop-save): Save desktop-saved-frame-states to desktop file
7701 and reset to nil.
7702 (desktop-restoring-frames-p): New function.
7703 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7704 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7705 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7706
7707 * desktop.el: Correctly restore iconified frames.
7708 (desktop--filter-iconified-position): New function.
7709 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7710
7711 2013-07-20 Glenn Morris <rgm@gnu.org>
7712
7713 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7714 Let `message' do the formatting.
7715 (def-gdb-preempt-display-buffer): Add explicit format.
7716
7717 * image-dired.el (image-dired-track-original-file):
7718 Use with-current-buffer.
7719 (image-dired-track-thumbnail): Use with-current-buffer.
7720 Avoid changing point of wrong window.
7721
7722 * image-dired.el (image-dired-track-original-file):
7723 Avoid changing point of wrong window. (Bug#14909)
7724
7725 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7726
7727 * progmodes/gdb-mi.el (gdb-done-or-error):
7728 Guard against "%" in gdb output. (Bug#14127)
7729
7730 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7731
7732 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7733 (Bug#14826)
7734
7735 * international/mule.el (coding-system-iso-2022-flags): Fix last
7736 change.
7737
7738 2013-07-20 Kenichi Handa <handa@gnu.org>
7739
7740 * international/mule.el (coding-system-iso-2022-flags):
7741 Add `8-bit-level-4'. (Bug#8522)
7742
7743 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744
7745 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7746 (bug#14815).
7747
7748 * net/eww.el (eww-process-text-input): Allow inputting when the
7749 point is at the start of the line, as the properties aren't
7750 front-sticky.
7751
7752 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7753 degenerate widths.
7754
7755 2013-07-19 Richard Stallman <rms@gnu.org>
7756
7757 * epa.el (epa-popup-info-window): Doc fix.
7758
7759 * subr.el (split-string): New arg TRIM.
7760
7761 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7762
7763 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7764 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7765
7766 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7767
7768 * filenotify.el (file-notify--library): Rename from
7769 `file-notify-support'. Do not autoload. Adapt all uses.
7770 (file-notify-supported-p): New defun.
7771
7772 * autorevert.el (auto-revert-use-notify):
7773 Use `file-notify-supported-p' instead of `file-notify-support'.
7774 Adapt docstring.
7775 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7776
7777 * net/tramp.el (tramp-file-name-for-operation):
7778 Add `file-notify-supported-p'.
7779
7780 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7781 New defun.
7782 (tramp-sh-file-name-handler-alist): Add it as handler for
7783 `file-notify-supported-p '.
7784
7785 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7786 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7787 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7788 Add `ignore' as handler for `file-notify-*' functions.
7789
7790 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7791
7792 * simple.el (line-move-partial, line-move): Don't start vscroll or
7793 scroll-up if the current line is not taller than the window.
7794 (Bug#14881)
7795
7796 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7797
7798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7799 highlight question marks in the method names as strings.
7800 (ruby-block-beg-keywords): Inline.
7801 (ruby-font-lock-keyword-beg-re): Extract from
7802 `ruby-font-lock-keywords'.
7803
7804 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7805
7806 * frame.el (blink-cursor-blinks): New defcustom.
7807 (blink-cursor-blinks-done): New defvar.
7808 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7809 (blink-cursor-timer-function): Check if number of blinks has been
7810 done on X and NS.
7811 (blink-cursor-suspend, blink-cursor-check): New defuns.
7812
7813 2013-07-15 Glenn Morris <rgm@gnu.org>
7814
7815 * edmacro.el (edmacro-format-keys): Fix previous change.
7816
7817 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7818
7819 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7820 The hack didn't work outside English locales anyway.
7821
7822 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7823
7824 * simple.el (define-alternatives): Rename from alternatives-define,
7825 per RMS' suggestion.
7826
7827 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * desktop.el (desktop-restore-frames): Change default to t.
7830 (desktop-restore-in-current-display): Now offer more options.
7831 (desktop-restoring-reuses-frames): New customization option.
7832 (desktop--saved-states): Doc fix.
7833 (desktop-filter-parameters-alist): New variable, renamed and expanded
7834 from desktop--excluded-frame-parameters.
7835 (desktop--target-display): New variable.
7836 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7837 (desktop--filter-tty*, desktop--filter-*-color)
7838 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7839 (desktop--filter-save-desktop-parm)
7840 (desktop-restore-in-original-display-p): New functions.
7841 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7842 (desktop--save-minibuffer-frames): New function, inspired by a similar
7843 function from Martin Rudalics.
7844 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7845 (desktop--restore-in-this-display-p): Remove.
7846 (desktop--find-frame): Rename from desktop--find-frame-in-display
7847 and add predicate argument.
7848 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7849 (desktop--reuse-list): New variable.
7850 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7851 New functions.
7852 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7853
7854 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7855
7856 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7857
7858 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7859
7860 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7861 Highlight conversion methods on Kernel.
7862
7863 2013-07-13 Alan Mackenzie <acm@muc.de>
7864
7865 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7866 and comment it out. This out-commenting enables certain C++
7867 declarations to be parsed correctly.
7868
7869 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7870
7871 * international/mule.el (define-coding-system): Doc fix.
7872
7873 * simple.el (default-font-height): Don't call font-info if the
7874 frame's default font didn't change since the frame was created.
7875 (Bug#14838)
7876
7877 2013-07-13 Leo Liu <sdl.web@gmail.com>
7878
7879 * ido.el (ido-read-file-name): Guard against non-symbol value.
7880
7881 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7882
7883 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7884 in nested defuns.
7885
7886 2013-07-13 Leo Liu <sdl.web@gmail.com>
7887
7888 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7889 ido-set-matches call. (Bug#6852)
7890
7891 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7892
7893 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7894 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7895 Ruby 2.0.
7896 (ruby-font-lock-keywords): Distinguish calls to functions with
7897 module-like names from module references. Highlight character
7898 literals.
7899
7900 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7901
7902 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7903 (gdb-send): Handle continued commands. (Bug#14847)
7904
7905 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7906
7907 * desktop.el (desktop--v2s): Remove unused local variable.
7908 (desktop-save-buffer): Make defvar-local; adjust docstring.
7909 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7910 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7911
7912 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7913
7914 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7915
7916 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7917
7918 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7919 (Bug#14842)
7920
7921 2013-07-12 Glenn Morris <rgm@gnu.org>
7922
7923 * doc-view.el: Require cl-lib at runtime too.
7924 (doc-view-remove-if): Remove.
7925 (doc-view-search-next-match, doc-view-search-previous-match):
7926 Use cl-remove-if.
7927
7928 * edmacro.el: Require cl-lib at runtime too.
7929 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7930 (edmacro-mismatch, edmacro-subseq): Remove.
7931
7932 * shadowfile.el: Require cl-lib.
7933 (shadow-remove-if): Remove.
7934 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7935 Use cl-remove-if.
7936
7937 * wid-edit.el: Require cl-lib.
7938 (widget-choose): Use cl-remove-if.
7939 (widget-remove-if): Remove.
7940
7941 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7942 (ebrowse-delete-if-not): Remove.
7943 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7944 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7945 Use cl-delete-if-not.
7946
7947 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7948
7949 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7950 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7951
7952 2013-07-12 Leo Liu <sdl.web@gmail.com>
7953
7954 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7955
7956 2013-07-11 Glenn Morris <rgm@gnu.org>
7957
7958 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7959 (edebug-gensym-index, edebug-gensym):
7960 Remove reimplementation of cl-gensym.
7961 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7962
7963 * thumbs.el: Require cl-lib at run-time too.
7964 (thumbs-gensym-counter, thumbs-gensym):
7965 Remove reimplementation of cl-gensym.
7966 (thumbs-temp-file): Use cl-gensym.
7967
7968 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7969 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7970 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7971 (ert--union, ert--gensym-counter, ert--gensym-counter)
7972 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7973 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7974 (ert-make-test-unbound, ert--expand-should-1)
7975 (ert--expand-should, ert--should-error-handle-error)
7976 (should-error, ert--explain-equal-rec)
7977 (ert--plist-difference-explanation, ert-select-tests)
7978 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7979 Use cl-lib functions rather than reimplementations.
7980
7981 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7982
7983 * net/tramp.el (tramp-methods): Extend docstring.
7984 (tramp-connection-timeout): New defcustom.
7985 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7986 (with-tramp-progress-reporter): Simplify.
7987 (tramp-process-actions): Improve messages.
7988
7989 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7990 * net/tramp-sh.el (tramp-maybe-open-connection):
7991 Use `tramp-connection-timeout'.
7992 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7993 (Bug#14808)
7994
7995 2013-07-11 Leo Liu <sdl.web@gmail.com>
7996
7997 * ido.el (ido-read-file-name): Conform to the requirements of
7998 read-file-name. (Bug#11861)
7999 (ido-read-directory-name): Conform to the requirements of
8000 read-directory-name.
8001
8002 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * subr.el (delay-warning): New function.
8005
8006 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8007
8008 * simple.el (default-line-height): New function.
8009 (line-move-partial, line-move): Use it instead of computing the
8010 line height inline.
8011 (line-move-partial): Always compute ROWH. If the last line is
8012 partially-visible, but its text is completely visible, allow
8013 cursor to enter such a partially-visible line.
8014
8015 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8016
8017 Improve error messages. (Bug#14808)
8018
8019 * net/tramp.el (tramp-current-connection): New defvar, moved from
8020 tramp-sh.el.
8021 (tramp-message-show-progress-reporter-message): Remove, not
8022 needed anymore.
8023 (tramp-error-with-buffer): Show message in minibuffer.
8024 Discard input before waiting. Reset connection timestamp.
8025 (with-tramp-progress-reporter): Improve messages.
8026 (tramp-process-actions): Use progress reporter. Delete process in
8027 case of error. Improve messages.
8028
8029 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8030 Call `tramp-error-with-buffer' with vector and buffer.
8031 (tramp-current-connection): Remove.
8032 (tramp-maybe-open-connection): The car of
8033 `tramp-current-connection' are the first 3 slots of the vector.
8034
8035 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8036
8037 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8038 inside continued strings.
8039
8040 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8041
8042 Timestamp fixes for undo (Bug#14824).
8043 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8044
8045 2013-07-10 Leo Liu <sdl.web@gmail.com>
8046
8047 * files.el (require-final-newline): Allow safe local value.
8048 (Bug#14834)
8049
8050 2013-07-09 Leo Liu <sdl.web@gmail.com>
8051
8052 * ido.el (ido-read-directory-name): Handle fallback.
8053 (ido-read-file-name): Update DIR to ido-current-directory.
8054 (Bug#1516)
8055 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8056
8057 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8058
8059 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8060 "autoload". Remove "warn lower camel case" section, previously
8061 commented out. Highlight negation char. Do not highlight the
8062 target in singleton method definitions.
8063
8064 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * faces.el (tty-setup-hook): Declare the hook.
8067
8068 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8069 and detect when a guard/pred depends on local vars (bug#14773).
8070 (pcase--u1): Adjust caller.
8071
8072 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8073
8074 * simple.el (line-move-partial, line-move): Account for
8075 line-spacing.
8076 (line-move-partial): Avoid setting vscroll when the last
8077 partially-visible line in window is of default height.
8078
8079 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8080
8081 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8082 been used a while.
8083
8084 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * subr.el (read-quoted-char): Remove unused local variable `char'.
8087
8088 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8089
8090 * ediff.el (ediff-version): Version update.
8091 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8092 (ediff-merge-with-ancestor-command, ediff-directories-command)
8093 (ediff-directories3-command, ediff-merge-directories-command)
8094 (ediff-merge-directories-with-ancestor-command): New functions.
8095 All are command-line interfaces to ediff: to facilitate calling
8096 Emacs with the appropriate ediff functions invoked.
8097
8098 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8099 (viper-save-kill-buffer): Check if buffer is modified.
8100
8101 * viper.el (viper-version): Version update.
8102 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8103
8104 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8107 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8108 (viper-intercept-ESC-key): Simplify.
8109 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8110 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8111 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8112 (viper-setup-ESC-to-escape): New functions.
8113 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8114 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8115
8116 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8117
8118 * simple.el (default-font-height, window-screen-lines):
8119 New functions.
8120 (line-move, line-move-partial): Use them instead of
8121 frame-char-height and window-text-height. This makes scrolling
8122 text smoother when the buffer's default face uses a font that is
8123 different from the frame's default font.
8124
8125 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8126
8127 * files.el (write-file): Do not display confirm dialog for NS,
8128 it does its own dialog, which can't be canceled (Bug#14578).
8129
8130 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8131
8132 * simple.el (line-move-partial): Adjust the row returned by
8133 posn-at-point for the current window-vscroll. (Bug#14567)
8134
8135 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8136
8137 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8138 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8139 spaces.
8140
8141 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8142
8143 * window.el (window-state-put-stale-windows): New variable.
8144 (window--state-put-2): Save list of windows without matching buffer.
8145 (window-state-put): Remove "bufferless" windows if possible.
8146
8147 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8148
8149 * simple.el (alternatives-define): Remove leftover :group keyword.
8150 Tweak docstring.
8151
8152 2013-07-06 Leo Liu <sdl.web@gmail.com>
8153
8154 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8155 (ido-enable-virtual-buffers): New variable.
8156 (ido-buffer-internal, ido-toggle-virtual-buffers)
8157 (ido-make-buffer-list): Use it.
8158 (ido-exhibit): Support turning on and off virtual buffers
8159 automatically.
8160
8161 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8162
8163 * simple.el (alternatives-define): New macro.
8164
8165 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8166
8167 * subr.el (read-quoted-char): Use read-key.
8168 (sit-for): Let read-event decode tty input (bug#14782).
8169
8170 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8171
8172 * calendar/todo-mode.el: Add handling of file deletion, both by
8173 mode command and externally. Fix various related bugs.
8174 Clarify Commentary and improve some documentation strings and code.
8175 (todo-delete-file): New command.
8176 (todo-check-file): New function.
8177 (todo-show): Handle external deletion of the file we're trying to
8178 show (bug#14688). Replace called-interactively-p by an optional
8179 prefix argument to avoid problematic interaction with catch form
8180 when byte compiled (bug#14702).
8181 (todo-quit): Handle external deletion of the archive's todo file.
8182 Make sure the buffer that was visiting the archive file is still
8183 live before trying to bury it.
8184 (todo-category-completions): Handle external deletion of any
8185 category completion files.
8186 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8187 of todo files, in case of external deletion.
8188 (todo-add-file): Replace unnecessary setq by let-binding.
8189 (todo-find-archive): Check whether there are any archives.
8190 Replace unnecessary setq by let-binding.
8191 (todo-archive-done-item): Use find-file-noselect to get the
8192 archive buffer whether or not the archive already exists.
8193 Remove superfluous code. Use file size instead of buffer-file-name to
8194 check if the archive is new; if it is, update list of archives.
8195 (todo-default-todo-file): Allow nil to be a valid value for when
8196 there are no todo files.
8197 (todo-reevaluate-default-file-defcustom): Use corrected definition
8198 of todo-default-todo-file.
8199 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8200 (todo-delete-category, todo-show-categories-table)
8201 (todo-category-number): Clarify comment.
8202 (todo-filter-items): Clarify documentation string.
8203 (todo-show-current-file, todo-display-as-todo-file)
8204 (todo-reset-and-enable-done-separator): Tweak documentation string.
8205 (todo-done-separator): Make separator length window-width, since
8206 bug#2749 is now fixed.
8207
8208 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8209
8210 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8211 Support both "gvfs-monitor-dir" and "inotifywait".
8212 (tramp-sh-file-inotifywait-process-filter): Rename from
8213 `tramp-sh-file-notify-process-filter'.
8214 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8215 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8216
8217 2013-07-05 Leo Liu <sdl.web@gmail.com>
8218
8219 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8220
8221 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8222
8223 * frame.el (display-pixel-height, display-pixel-width)
8224 (display-mm-height, display-mm-width): Mention behavior on
8225 multi-monitor setups in docstrings.
8226 (w32-display-monitor-attributes-list): Declare function.
8227 (display-monitor-attributes-list): Use it.
8228
8229 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8230
8231 * filenotify.el: New package.
8232
8233 * autorevert.el (top): Require filenotify.el.
8234 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8235 instead.
8236 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8237 (auto-revert-notify-handler): Use `file-notify-*' functions.
8238
8239 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8240
8241 * net/tramp.el (tramp-file-name-for-operation):
8242 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8243
8244 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8245 for `file-notify-add-watch' and `file-notify-rm-watch'.
8246 (tramp-process-sentinel): Improve trace.
8247 (tramp-sh-handle-file-notify-add-watch)
8248 (tramp-sh-file-notify-process-filter)
8249 (tramp-sh-handle-file-notify-rm-watch)
8250 (tramp-get-remote-inotifywait): New defuns.
8251
8252 2013-07-03 Juri Linkov <juri@jurta.org>
8253
8254 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8255 call of `occur-read-primary-args' to interactive spec.
8256
8257 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8258 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8259
8260 2013-07-03 Matthias Meulien <orontee@gmail.com>
8261
8262 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8263 `Buffer-menu-multi-occur'. Add it to the menu.
8264 (Buffer-menu-mode): Document it in docstring.
8265 (Buffer-menu-multi-occur): New command. (Bug#14673)
8266
8267 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8268
8269 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8270 keywords and built-ins.
8271
8272 2013-07-03 Glenn Morris <rgm@gnu.org>
8273
8274 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8275
8276 Make info-xref checks case-sensitive by default
8277 * info.el (Info-find-node, Info-find-in-tag-table)
8278 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8279 Add option for exact case matching of nodes.
8280 * info-xref.el (info-xref): New custom group.
8281 (info-xref-case-fold): New option.
8282 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8283
8284 2013-07-03 Leo Liu <sdl.web@gmail.com>
8285
8286 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8287
8288 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8289
8290 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8291 middle of block statement initially, lower the depth. Remove
8292 FIXME comment, not longer valid. Remove middle of block statement
8293 detection, no need to do that anymore since we've been using
8294 `ruby-parse-region' here.
8295
8296 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8297
8298 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8299
8300 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8301
8302 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8303
8304 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8305
8306 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8307 (desktop-restore-in-current-display): New customization option.
8308 (desktop--excluded-frame-parameters): Add `font'.
8309 (desktop--save-frames): Rename from desktop--save-windows.
8310 (desktop--restore-in-this-display-p): New function.
8311 (desktop--make-full-frame): Remove unwanted width/height from
8312 full(width|height) frames.
8313 (desktop--restore-frames): Rename from desktop--restore-windows.
8314 Obey desktop-restore-current-display. Do not delete old frames or
8315 select a new frame unless we were able to restore at least one frame.
8316
8317 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8318
8319 * files.el (find-file-noselect): Simplify conditional expression.
8320
8321 * textmodes/remember.el (remember-append-to-file):
8322 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8323
8324 Add `remember-notes' function to store random notes across Emacs
8325 restarts.
8326 * textmodes/remember.el (remember-data-file): Add :set callback to
8327 affect notes buffer (if any).
8328 (remember-notes): New command.
8329 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8330 New defcustoms for the `remember-notes' function.
8331 (remember-notes-save-and-bury-buffer): New command.
8332 (remember-notes-mode-map): New variable.
8333 (remember-mode): New minor mode.
8334 (remember-notes--kill-buffer-query): New function.
8335 * startup.el (initial-buffer-choice): Add notes to custom type.
8336
8337 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8338
8339 * bindings.el (right-char, left-char): Don't call sit-for, this is
8340 no longer needed. Use arithmetic comparison only for numerical
8341 arguments.
8342
8343 * international/mule-cmds.el (select-safe-coding-system):
8344 Handle the case of FROM being a string correctly. (Bug#14755)
8345
8346 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8347
8348 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8349 progression on degenerate tables.
8350 (shr-rescale-image): ImageMagick animated images currently don't work.
8351
8352 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8353
8354 Some fixes and improvements for desktop frame restoration.
8355 It is still experimental and disabled by default.
8356 * desktop.el (desktop--save-windows): Put the selected frame at
8357 the head of the list.
8358 (desktop--make-full-frame): New function.
8359 (desktop--restore-windows): Try to re-select the frame that was
8360 selected upon saving. Do not abort if some frames fail to restore,
8361 just show an error message and continue. Set up maximized frames
8362 so they have default non-maximized dimensions.
8363
8364 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8365
8366 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8367 Don't start heredoc inside a string or comment.
8368
8369 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8370
8371 * bindings.el (visual-order-cursor-movement): New defcustom.
8372 (right-char, left-char): Provide visual-order cursor motion by
8373 calling move-point-visually. Update the doc strings.
8374
8375 2013-06-28 Kenichi Handa <handa@gnu.org>
8376
8377 * international/mule.el (define-coding-system): New coding system
8378 properties :inhibit-null-byte-detection,
8379 :inhibit-iso-escape-detection, and :prefer-utf-8.
8380 (set-buffer-file-coding-system): If :charset-list property of
8381 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8382 appropriate for setting.
8383
8384 * international/mule-cmds.el (select-safe-coding-system):
8385 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8386 multibyte characters, return utf-8 (or one of its siblings).
8387
8388 * international/mule-conf.el (prefer-utf-8): New coding system.
8389 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8390 files.
8391
8392 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8393
8394 * net/shr.el (shr-render-region): New function.
8395
8396 * net/eww.el: Autoload `eww-browse-url'.
8397
8398 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8399
8400 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8401 Adapt to `package-desc-version' being a list.
8402 Use `package--ac-desc-version' to retrieve version from a package
8403 archive element.
8404
8405 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8406
8407 New experimental feature to save&restore window and frame setup.
8408 * desktop.el (desktop-save-windows): New defcustom.
8409 (desktop--saved-states): New var.
8410 (desktop--excluded-frame-parameters): New defconst.
8411 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8412 (desktop--restore-windows, desktop--save-windows): New functions.
8413 (desktop-save): Call `desktop--save-windows'.
8414 (desktop-read): Call `desktop--restore-windows'.
8415
8416 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8417
8418 * net/shr.el (add-face-text-property): Remove compat definition.
8419
8420 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8421
8422 * info.el (Info-try-follow-nearest-node): Move search for footnote
8423 above search for node name to prevent missing a footnote (bug#14717).
8424
8425 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8426
8427 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8428
8429 2013-06-27 Leo Liu <sdl.web@gmail.com>
8430
8431 * net/eww.el (eww-read-bookmarks): Check file size.
8432
8433 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8436 advice--pending if newdef is nil or an autoload (bug#13820).
8437 (advice-mapc): New function.
8438
8439 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8440
8441 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8442 probably.
8443 (eww-mode-map): Add a menu bar.
8444 (eww-add-bookmark): New command.
8445 (eww-bookmark-mode): New mode and commands.
8446 (eww-add-bookmark): Remove newlines from the title.
8447 (eww-bookmark-browse): Don't bug out if it's the only window.
8448
8449 2013-06-26 Glenn Morris <rgm@gnu.org>
8450
8451 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8452 (hfy-size): Handle ttys. (Bug#14668)
8453
8454 * info-xref.el: Update for Texinfo 5 change in *note format.
8455 (info-xref-node-re, info-xref-note-re): New constants.
8456 (info-xref-check-buffer): Use info-xref-note-re.
8457
8458 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8461
8462 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8463 nil terminate the loop (bug#14718).
8464
8465 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8466
8467 * net/eww.el: Rework history traversal. When going forward/back,
8468 put these actions into the history, too, so that they can be
8469 replayed.
8470 (eww-render): Move the history reset to the correct buffer.
8471
8472 2013-06-25 Juri Linkov <juri@jurta.org>
8473
8474 * files-x.el (modify-dir-local-variable): Change the header comment
8475 in the file with directory local variables. (Bug#14692)
8476
8477 * files-x.el (read-file-local-variable-value): Add `default'.
8478 (Bug#14710)
8479
8480 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8481
8482 * net/eww.el (eww-make-unique-file-name): Create a unique file
8483 name before saving to entering `y' accidentally asynchronously.
8484
8485 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8486
8487 * net/eww.el (eww-download): New command and keystroke.
8488
8489 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8490
8491 * net/eww.el (eww-copy-page-url): Change name of command.
8492
8493 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8494 be more consistent with Info and dired.
8495
8496 * net/eww.el (eww-mode-map): Ditto.
8497
8498 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8501 packages from archives.
8502 (package-archive-contents): Change format; include obsolete packages.
8503 (package-desc): Use `dir' to mark builtin packages.
8504 (package--from-builtin): Set the `dir' field to `builtin'.
8505 (generated-autoload-file, version-control): Declare.
8506 (package-compute-transaction): Change first arg and return value to be
8507 lists of package-descs. Adjust to new package-archive-contents format.
8508 (package--add-to-archive-contents): Adjust to new
8509 package-archive-contents format.
8510 (package-download-transaction): Arg is now a list of package-descs.
8511 (package-install): If `pkg' is a package name, pass it as
8512 a requirement, so it is subject to the usual (e.g. disabled) checks.
8513 (describe-package): Accept package-desc as well.
8514 (describe-package-1): Describe a specific package-desc. Add links to
8515 other package-descs for the same package name.
8516 (package-menu-describe-package): Pass the actual package-desc.
8517 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8518 works correctly.
8519 (package-desc-status): New function.
8520 (package-menu--refresh): New function, extracted
8521 from package-menu--generate.
8522 (package-menu--generate): Use it.
8523 (package-delete): Update package-alist.
8524 (package-menu-execute): Don't call package-initialize.
8525
8526 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8527 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8528 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8529 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8530 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8531 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8532
8533 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8534
8535 * window.el (window--state-get-1): Workaround for bug#14527.
8536 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8537
8538 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8539
8540 * net/eww.el (eww-back-url): Implement the history by stashing all
8541 the data into a list.
8542 (eww-forward-url): Allow going forward in the history, too.
8543
8544 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8547 for values and use read--expression for expressions (bug#14710).
8548 (read-file-local-variable): Avoid setq.
8549 (read-file-local-variable-mode): Use minor-mode-list.
8550
8551 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8552
8553 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8554 for DOI URLs.
8555
8556 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8557
8558 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8559 Update imenu-support when dialect changes.
8560
8561 2013-06-25 Leo Liu <sdl.web@gmail.com>
8562
8563 * ido.el (ido-read-internal): Allow forward slash on windows.
8564
8565 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8566
8567 * net/eww.el (eww): Start of strings is \\`, not ^.
8568
8569 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8570
8571 * net/shr.el (shr-browse-url): Fix interactive spec.
8572
8573 * net/eww.el (eww): Add a trailing slash to domain names.
8574
8575 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8576
8577 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8578
8579 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
8581 * net/shr.el (shr-browse-url): Use an external browser if given a
8582 prefix.
8583
8584 * net/eww.el (eww-external-browser): Move to shr.
8585
8586 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8587
8588 * net/eww.el (eww): Work more correctly for file: URLs.
8589 (eww-detect-charset): Allow quoted charsets.
8590 (eww-yank-page-url): New command and keystroke.
8591
8592 2013-06-24 Daiki Ueno <ueno@gnu.org>
8593
8594 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8595 file name of gpg executable.
8596 (epg-context-program): New function.
8597 (epg-context-home-directory): New function.
8598 (epg-context-set-program): New function.
8599 (epg-context-set-home-directory): New function.
8600 (epg--start): Use `epg-context-program' instead of
8601 'epg-gpg-program'.
8602 (epg--list-keys-1): Likewise.
8603
8604 2013-06-24 Leo Liu <sdl.web@gmail.com>
8605
8606 * ido.el (ido-read-internal): Fix bug#14620.
8607
8608 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8609
8610 * faces.el (face-documentation): Simplify.
8611 (read-face-attribute, tty-find-type, x-resolve-font-name):
8612 Use `string-match-p'.
8613 (list-faces-display): Use `string-match-p'. Simplify.
8614 (face-spec-recalc): Check face to avoid face alias loops.
8615 (read-color): Use `string-match-p' and non-capturing parenthesis.
8616
8617 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8618
8619 * net/shr.el (shr-rescale-image): Use the new
8620 :max-width/:max-height functionality.
8621
8622 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8623
8624 * net/eww.el (eww-search-prefix): New variable.
8625 (eww): Use it.
8626 (eww-external-browser): New variable.
8627 (eww-mode-map): New keystroke.
8628 (eww-browse-with-external-browser): New command.
8629
8630 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8631
8632 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8633
8634 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8635 Don't skip aligning the next header field when padding is 0;
8636 otherwise, field width is not respected unless the title is as
8637 wide as the field.
8638
8639 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8640
8641 * emacs-lisp/package.el (package-el-version): Remove.
8642 (package-process-define-package): Fix inf-loop.
8643 (package-install): Allow symbols as arguments again.
8644
8645 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8646
8647 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8648 add some more keyword-like methods.
8649 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8650
8651 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * bs.el (bs-buffer-show-mark): Make defvar-local.
8654 (bs-mode): Use setq-local.
8655
8656 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8657 (emacs-lock--try-unlocking): Make defvar-local.
8658
8659 2013-06-22 Glenn Morris <rgm@gnu.org>
8660
8661 * play/cookie1.el (cookie-apropos): Minor simplification.
8662
8663 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8664
8665 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8666
8667 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8668 `regexp-opt', it breaks the build during dumping.
8669
8670 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8671
8672 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8673 Highlight keyword-like methods on Kernel and Module with
8674 font-lock-builtin-face.
8675 (auto-mode-alist): Consolidate different entries into one regexp
8676 and add more *file-s.
8677
8678 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8679
8680 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8681
8682 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8683 (diary-entry): Use it in the action of this button type instead of
8684 diary-goto-entry.
8685
8686 * calendar/todo-mode.el: New version.
8687 (todo-add-category): Append new category to end of file and give
8688 it the highest number, instead of putting it at the beginning and
8689 giving it 0. Incorporate noninteractive functionality.
8690 (todo-forward-category): Adapt to 1-based category numbering.
8691 Allow skipping over archived categories.
8692 (todo-backward-category): Derive from todo-forward-category.
8693 (todo-backward-item, todo-forward-item): Make noninteractive and
8694 delegate interactive part to new commands. Make sensitive to done items.
8695 (todo-categories): Make value an alist of category names and
8696 vectors of item counts.
8697 (todo-category-beg): Make a defconst.
8698 (todo-category-number): Use 1 instead of 0 as initial value.
8699 (todo-category-select): Make sensitive to overlays, optional item
8700 highlighting and done items.
8701 (todo-delete-item): Make sensitive to overlays and marked and done items.
8702 (todo-edit-item): Make sensitive to overlays and editing of
8703 date/time header optional. Add format checks.
8704 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8705 no-op if point is not on an item. Advertise using todo-edit-quit.
8706 (todo-edit-mode): Make sensitive to new format, font-locking, and
8707 multiple todo files.
8708 (todo-insert-item, todo-insert-item-here): Derive from
8709 todo-basic-insert-item and extend functionality.
8710 (todo-item-end, todo-item-start): Make sensitive to done items.
8711 (todo-item-string): Don't return text properties. Restore point.
8712 (todo-jump-to-category): Make sensitive to multiple todo files and
8713 todo archives. Use extended category completion.
8714 (todo-lower-item, todo-raise-item): Rename to *-priority and
8715 derive from todo-set-item-priority.
8716 (todo-mode): Derive from special-mode. Make sensitive to new
8717 format, font-locking and multiple todo files. Make read-only.
8718 (todo-mode-map): Don't suppress digit keys, so they can supply
8719 prefix arguments. Add many new key bindings.
8720 (todo-prefix): Insert as an overlay instead of file text.
8721 Change semantics from diary date expression to purely visual mark.
8722 (todo-print): Rename to todo-print-buffer. Make buffer display
8723 features printable. Remove option to restrict number of items
8724 printed. Add option to print to file.
8725 (todo-print-function): Rename to todo-print-buffer-function.
8726 (todo-quit): Extend to handle exiting new todo modes.
8727 (todo-remove-item): Make sensitive to overlays.
8728 (todo-save): Extend to buffers of filtered items.
8729 (todo-show): Make sensitive to done items, multiple todo files and
8730 new todo modes. Offer to convert legacy todo file before creating
8731 first new todo file.
8732 (todo-show-priorities): Rename to todo-top-priorities.
8733 Change semantics of value 0.
8734 (todo-top-priorities): Rename to todo-filter-top-priorities,
8735 derive from todo-filter-items and extend functionality.
8736 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8737 and extend functionality to other types of filtered items.
8738 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8739 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8740 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8741 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8742 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8743 (todo-edit-mode-hook, todo-entry-prefix-function)
8744 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8745 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8746 (todo-initials, todo-insert-threshold, todo-item-string-start)
8747 (todo-line-string, todo-menu, todo-mode-hook)
8748 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8749 (todo-print-priorities, todo-remove-separator)
8750 (todo-save-top-priorities-too, todo-string-count-lines)
8751 (todo-string-multiline-p, todo-time-string-format)
8752 (todo-tmp-buffer-name): Remove.
8753 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8754 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8755 (todo-edit-category-diary-inclusion)
8756 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8757 (todo-edit-file, todo-edit-item-date-day)
8758 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8759 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8760 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8761 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8762 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8763 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8764 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8765 (todo-filter-top-priorities-multifile, todo-find-archive)
8766 (todo-find-filtered-items-file, todo-go-to-source-item)
8767 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8768 (todo-jump-to-archive-category, todo-lower-category)
8769 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8770 (todo-move-category, todo-move-item, todo-next-button)
8771 (todo-next-item, todo-padded-string, todo-powerset)
8772 (todo-previous-button, todo-previous-item)
8773 (todo-print-buffer-to-file, todo-raise-category)
8774 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8775 (todo-set-category-number, todo-set-item-priority)
8776 (todo-set-top-priorities-in-category)
8777 (todo-set-top-priorities-in-file, todo-show-categories-table)
8778 (todo-sort-categories-alphabetically-or-numerically)
8779 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8780 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8781 (todo-toggle-item-header, todo-toggle-item-highlighting)
8782 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8783 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8784 (todo-unarchive-items, todo-unmark-category): New commands.
8785 (todo-absolute-file-name, todo-add-to-buffer-list)
8786 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8787 (todo-basic-insert-item, todo-category-completions)
8788 (todo-category-number, todo-category-string-matcher-1)
8789 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8790 (todo-check-format, todo-clear-matches)
8791 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8792 (todo-current-category, todo-date-string-matcher)
8793 (todo-define-insertion-command, todo-diary-expired-matcher)
8794 (todo-diary-goto-entry, todo-diary-item-p)
8795 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8796 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8797 (todo-done-item-section-p, todo-done-separator)
8798 (todo-done-string-matcher, todo-files, todo-filter-items)
8799 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8800 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8801 (todo-insert-category-line, todo-insert-item-from-calendar)
8802 (todo-insert-sort-button, todo-insert-with-overlays)
8803 (todo-insertion-command-name, todo-insertion-key-bindings)
8804 (todo-label-to-key, todo-longest-category-name-length)
8805 (todo-make-categories-list, todo-mode-external-set)
8806 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8807 (todo-modes-set-3, todo-multiple-filter-files)
8808 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8809 (todo-read-category, todo-read-date, todo-read-dayname)
8810 (todo-read-file-name, todo-read-time)
8811 (todo-reevaluate-category-completions-files-defcustom)
8812 (todo-reevaluate-default-file-defcustom)
8813 (todo-reevaluate-filelist-defcustoms)
8814 (todo-reevaluate-filter-files-defcustom)
8815 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8816 (todo-reset-done-separator, todo-reset-done-separator-string)
8817 (todo-reset-done-string, todo-reset-global-current-todo-file)
8818 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8819 (todo-reset-prefix, todo-set-categories)
8820 (todo-set-date-from-calendar, todo-set-show-current-file)
8821 (todo-set-top-priorities, todo-short-file-name)
8822 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8823 (todo-total-item-counts, todo-update-buffer-list)
8824 (todo-update-categories-display, todo-update-categories-sexp)
8825 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8826 New functions.
8827 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8828 New major modes.
8829 (todo-categories, todo-display, todo-edit, todo-faces)
8830 (todo-filtered): New defgroups.
8831 (todo-archived-only, todo-button, todo-category-string, todo-date)
8832 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8833 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8834 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8835 (todo-add-item-if-new-category, todo-always-add-time-string)
8836 (todo-categories-align, todo-categories-archived-label)
8837 (todo-categories-category-label, todo-categories-diary-label)
8838 (todo-categories-done-label, todo-categories-number-separator)
8839 (todo-categories-todo-label, todo-categories-totals-label)
8840 (todo-category-completions-files, todo-completion-ignore-case)
8841 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8842 (todo-done-separator-string, todo-done-string)
8843 (todo-files-function, todo-filter-done-items, todo-filter-files)
8844 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8845 (todo-initial-category, todo-initial-file, todo-item-mark)
8846 (todo-legacy-date-time-regexp, todo-mode-line-function)
8847 (todo-nondiary-marker, todo-number-prefix)
8848 (todo-print-buffer-function, todo-show-current-file)
8849 (todo-show-done-only, todo-show-first, todo-show-with-done)
8850 (todo-skip-archived-categories, todo-top-priorities-overrides)
8851 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8852 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8853 New defcustoms.
8854 (todo-category-done, todo-date-pattern, todo-date-string-start)
8855 (todo-diary-items-buffer, todo-done-string-start)
8856 (todo-filtered-items-buffer, todo-item-start)
8857 (todo-month-abbrev-array, todo-month-name-array)
8858 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8859 (todo-top-priorities-buffer): New defconsts.
8860 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8861 (todo-categories-with-marks, todo-category-string-face)
8862 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8863 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8864 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8865 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8866 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8867 (todo-font-lock-keywords, todo-global-current-todo-file)
8868 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8869 (todo-insertion-commands-args)
8870 (todo-insertion-commands-args-genlist)
8871 (todo-insertion-commands-names, todo-insertion-map)
8872 (todo-key-bindings-t, todo-key-bindings-t+a)
8873 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8874 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8875 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8876 (todo-visited): New variables.
8877
8878 2013-06-21 Glenn Morris <rgm@gnu.org>
8879
8880 * play/cookie1.el (cookie-apropos): Add optional display argument.
8881 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8882 (psychoanalyze-pinhead): Use cookie-doctor.
8883
8884 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8885
8886 * emacs-lisp/package.el (tar-get-file-descriptor)
8887 (tar--extract): Declare.
8888
8889 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8890
8891 Extend flymake's warning predicate to be a function (bug#14217).
8892 * progmodes/flymake.el (flymake-warning-predicate): New.
8893 (flymake-parse-line): Use it.
8894 (flymake-warning-re): Make obsolete alias to
8895 `flymake-warning-predicate'.
8896
8897 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8900 (package-obsolete-list): Remove.
8901 (package-activate): Remove min-version argument. Add `force' argument.
8902 Adjust to new package-alist format.
8903 (package-mark-obsolete): Remove.
8904 (package-unpack): Force reload of the package's autoloads.
8905 (package-installed-p): Check builtins if the installed package is not
8906 recent enough.
8907 (package-initialize): Don't reset package-obsolete-list.
8908 Don't specify which package version to activate.
8909 (package-process-define-package, describe-package-1)
8910 (package-menu--generate): Adjust to new package-alist format.
8911
8912 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8913
8914 * allout-widgets.el (allout-widgets-mode-off)
8915 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8916 (allout-widgets-post-command-business)
8917 (allout-widgets-after-copy-or-kill-function)
8918 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8919 (allout-decorate-item-and-context)
8920 (allout-graphics-modification-handler): Fix typos in docstrings.
8921 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8922
8923 * cmuscheme.el (scheme-start-file): Doc fix.
8924 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8925 (scheme-input-filter): Use `string-match-p'.
8926
8927 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8928
8929 * dired-x.el: Use Dired consistently in docstrings.
8930
8931 * dired.el: Use Dired consistently in docstrings.
8932 (dired-readin, dired-mode): Use `setq-local'.
8933 (dired-switches-alist): Make defvar-local.
8934 (dired-buffers-for-dir): Use `zerop'.
8935 (dired-safe-switches-p, dired-switches-escape-p)
8936 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8937 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8938 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8939 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8940 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8941 (dired-toggle-marks, dired-mark-files-containing-regexp)
8942 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8943 (dired-flag-auto-save-files, dired-flag-backup-files):
8944 Use `looking-at-p'.
8945 (dired-mark-files-regexp, dired-build-subdir-alist):
8946 Use `string-match-p', `looking-at-p'.
8947
8948 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8949 (direct-print-region-helper): Use `string-match-p'.
8950
8951 2013-06-21 Leo Liu <sdl.web@gmail.com>
8952
8953 * comint.el (comint-redirect-results-list-from-process):
8954 Fix infinite loop.
8955
8956 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8957
8958 * net/eww.el (eww-update-header-line-format): Quote % characters.
8959
8960 2013-06-21 Glenn Morris <rgm@gnu.org>
8961
8962 * play/cookie1.el (cookie): New custom group.
8963 (cookie-file): New option.
8964 (cookie-check-file): New function.
8965 (cookie): Make it interactive. Make start and end messages optional.
8966 Interactively, display the result. Default to cookie-file.
8967 (cookie-insert): Default to cookie-file.
8968 (cookie-snarf): Make start and end messages optional.
8969 Default to cookie-file. Use with-temp-buffer.
8970 (cookie-read): Rename from read-cookie.
8971 Make start and end messages optional. Default to cookie-file.
8972 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8973 Do not autoload it.
8974 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8975 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8976
8977 2013-06-21 Leo Liu <sdl.web@gmail.com>
8978
8979 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8980
8981 2013-06-21 Glenn Morris <rgm@gnu.org>
8982
8983 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8984
8985 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8986 Daniel Hackney <dan@haxney.org>
8987
8988 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8989 Consolidate the single-file vs tarball code.
8990 (package-desc-suffix): New function.
8991 (package-desc-full-name): Don't bother inlining it.
8992 (package-load-descriptor): Return the new package-desc.
8993 (package-mark-obsolete): Remove unused arg `package'.
8994 (package-unpack): Make it work for single files as well.
8995 Make it update package-alist.
8996 (package--make-autoloads-and-stuff): Rename from
8997 package--make-autoloads-and-compile. Don't compile any more.
8998 (package--compile): New function.
8999 (package-generate-description-file): New function, extracted from
9000 package-unpack-single.
9001 (package-unpack-single): Remove.
9002 (package--with-work-buffer): Add indentation and debugging info.
9003 (package-download-single): Remove.
9004 (package-install-from-archive): Rename from package-download-tar, make
9005 it take a pkg-desc, and make it work for single files as well.
9006 (package-download-transaction): Simplify.
9007 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9008 external tar program.
9009 (package-install-from-buffer): Remove `pkg-desc' argument.
9010 Use package-tar-file-info for tar-mode buffers.
9011 (package-install-file): Simplify accordingly.
9012 (package-archive-base): Change to take a pkg-desc.
9013 * tar-mode.el (tar--check-descriptor): New function, extracted from
9014 tar-get-descriptor.
9015 (tar-get-descriptor): Use it.
9016 (tar-get-file-descriptor): New function.
9017 (tar--extract): New function, extracted from tar-extract.
9018 (tar--extract): Use it.
9019 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9020 case the summary uses non-ascii. Adjust to new calling convention of
9021 package-tar-file-info.
9022
9023 2013-06-21 Leo Liu <sdl.web@gmail.com>
9024
9025 * comint.el (comint-redirect-results-list-from-process):
9026 Fix random delay. (Bug#14681)
9027
9028 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * profiler.el (profiler-format-number): Use log, not log10.
9031
9032 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9035
9036 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9039 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9040 yet available.
9041 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9042 (AUTOGENEL): ... here.
9043 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9044 (cl--defsubst-expand): Use it.
9045
9046 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9047
9048 * subr.el (log10): Move here from C code, and declare as obsolete.
9049 All uses of (log10 X) replaced with (log X 10).
9050
9051 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9052
9053 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9054 Declare with `defvar-local'.
9055 (tabulated-list-use-header-line, tabulated-list-entries)
9056 (tabulated-list-padding, tabulated-list-printer)
9057 (tabulated-list-sort-key): Declare with `defvar-local'.
9058 (tabulated-list-init-header, tabulated-list-print-fake-header):
9059 Use `setq-local'.
9060
9061 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9062
9063 * arc-mode.el (archive-mode): Add `archive-write-file' to
9064 `write-contents-functions' also for remote files. (Bug#14652)
9065
9066 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * cus-edit.el (custom-commands): Fix typos.
9069 (custom-display): Fix tooltip text.
9070 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9071 Fix typos in docstrings.
9072 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9073 (custom-unlispify-menu-entry, custom-magic-value-create)
9074 (custom-add-see-also, custom-group-value-create): Use ?\s.
9075 (custom-guess-type, customize-apropos, editable-field)
9076 (custom-face-value-create): Use `string-match-p'.
9077 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9078
9079 * custom.el (custom-load-symbol): Use `string-match-p'.
9080
9081 * ansi-color.el: Convert to lexical binding.
9082 (ansi-colors): Fix URL.
9083 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9084 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9085 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9086
9087 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
9089 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9090
9091 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9092
9093 2013-06-19 Tom Tromey <tromey@redhat.com>
9094
9095 * net/eww.el (eww-top-url): Remove.
9096 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9097 (eww-render): Set new variables. Don't set eww-top-url.
9098 (eww-handle-link): Handle "prev", "home", and "contents".
9099 Downcase the rel text.
9100 (eww-top-url): Choose best top URL.
9101
9102 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9103
9104 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9105 relying in widget.el. Using widget.el leads to too many
9106 user interface inconsistencies.
9107 (eww-self-insert): Implement entering commands in text fields.
9108 (eww-process-text-input): New function to make text input field editing
9109 work.
9110 (eww-submit): Rewrite to use the new-style form methods.
9111 (eww-select-display): Display the correct selected item.
9112 (eww-change-select): Implement changing the select value.
9113 (eww-toggle-checkbox): Implement radio/checkboxes.
9114 (eww-update-field): Fix compilation error.
9115 (eww-tag-textarea): Implement <textarea>.
9116
9117 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9118 we don't shadow mode-specific bindings.
9119
9120 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9121 nothing to push.
9122
9123 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9124
9125 2013-06-19 Glenn Morris <rgm@gnu.org>
9126
9127 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9128
9129 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9130
9131 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9132 not needed.
9133
9134 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9135
9136 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9137
9138 * net/browse-url.el (browse-url-browser-function):
9139 `eww-browse-url' has the right calling signature, `eww' does not.
9140
9141 2013-06-19 Glenn Morris <rgm@gnu.org>
9142
9143 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9144 Only eval autoloaded macros.
9145 (byte-compile-autoload): Only give the macro warning for macros.
9146
9147 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9148 (ps-underlined-faces): Declare.
9149
9150 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9151 (speedbar-add-supported-extension): Declare.
9152
9153 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9154 Don't include a date stamp in the header of the generated file;
9155 it leads to needless differences between output files.
9156
9157 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9158
9159 * net/secrets.el (secrets-struct-secret-content-type):
9160 Replace check of introspection data by a test call of "CreateItem".
9161 Some servers do not offer introspection.
9162
9163 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * electric.el (electric-pair-mode): Improve interaction with
9166 electric-layout-mode.
9167 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9168 (electric-pair-syntax): Use text-mode-syntax-table in comments
9169 and strings.
9170 (electric-pair--insert): New function.
9171 (electric-pair-post-self-insert-function): Use it and
9172 electric--after-char-pos.
9173
9174 2013-06-19 Leo Liu <sdl.web@gmail.com>
9175
9176 * progmodes/octave.el (octave-help): Fix regexp.
9177
9178 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9179
9180 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9181 (shr-table-horizontal-line): Allow nil as a value, and change the
9182 default.
9183 (shr-insert-table-ruler): Respect the nil value.
9184
9185 2013-06-18 Tom Tromey <tromey@barimba>
9186
9187 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9188 New defvars.
9189 (eww-open-file): New defun.
9190 (eww-render): Initialize new variables.
9191 (eww-display-html): Handle "link" and "a".
9192 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9193 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9194 (eww-back-url): Rename from eww-previous-url.
9195 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9196 New defuns.
9197
9198 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9199
9200 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9201 Distinguish ternary operator tokens from slash symbol and slash
9202 char literal.
9203
9204 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9205
9206 Convert symbol prettification into minor mode and global minor mode.
9207
9208 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9209 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9210 (prettify-symbols--keywords): Rename from
9211 `prog-prettify-symbols-alist' and make a local defvar.
9212 (prettify-symbols--compose-symbol): Rename from
9213 `prog--prettify-font-lock-compose-symbol'.
9214 (prettify-symbols--make-keywords): Rename from
9215 `prog-prettify-font-lock-symbols-keywords' and simplify.
9216 (prog-prettify-install): Remove.
9217 (prettify-symbols-mode): New minor mode, based on
9218 `prog-prettify-install'.
9219 (turn-on-prettify-symbols-mode): New function.
9220 (global-prettify-symbols-mode): New globalized minor mode.
9221
9222 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9223 * progmodes/cfengine.el (cfengine3-mode):
9224 * progmodes/perl-mode.el (perl-mode): Don't call
9225 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9226
9227 2013-06-18 Juri Linkov <juri@jurta.org>
9228
9229 * files-x.el (modify-file-local-variable-message): New function.
9230 (modify-file-local-variable)
9231 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9232 and call `modify-file-local-variable-message' when it's non-nil.
9233 (add-file-local-variable, delete-file-local-variable)
9234 (add-file-local-variable-prop-line)
9235 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9236 and use it. (Bug#9820)
9237
9238 2013-06-18 Juri Linkov <juri@jurta.org>
9239
9240 * emulation/vi.el (vi-shell-op):
9241 * emulation/vip.el (vip-execute-com, ex-command):
9242 * emulation/viper-cmd.el (viper-exec-bang):
9243 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9244 the call of `shell-command-on-region'. (Bug#14637)
9245
9246 * simple.el (shell-command-on-region): Doc fix.
9247
9248 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9249
9250 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9251 (bug#14633).
9252
9253 2013-06-18 Glenn Morris <rgm@gnu.org>
9254
9255 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9256
9257 * newcomment.el (comment-search-forward, comment-search-backward):
9258 Doc fix. (Bug#14376)
9259
9260 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9261
9262 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9263 (buffer-face-mode-invoke): Doc fix.
9264
9265 2013-06-18 Matthias Meulien <orontee@gmail.com>
9266
9267 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9268 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9269
9270 2013-06-18 Glenn Morris <rgm@gnu.org>
9271
9272 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9273 Replace obsolete function generic-make-keywords with its expansion.
9274
9275 * progmodes/python.el (ffap-alist): Declare.
9276
9277 * textmodes/reftex.el (bibtex-mode-map): Declare.
9278
9279 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9282 (package-unpack, package-unpack-single): Return the pkg-dir.
9283 (package-download-transaction): Use it to update package-alist.
9284
9285 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9286
9287 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9288 possible choice.
9289
9290 2013-06-17 Juri Linkov <juri@jurta.org>
9291
9292 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9293
9294 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9295
9296 * emacs-lisp/package.el (package-load-descriptor):
9297 Remove `with-syntax-table' call, `read' doesn't need it.
9298 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9299
9300 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9301
9302 * startup.el (command-line): Expand package name returned by
9303 `package--description-file' (bug#14639).
9304
9305 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9306
9307 * emacs-lisp/package.el (package-load-descriptor): Do not call
9308 `emacs-lisp-mode', just use its syntax table.
9309
9310 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9311
9312 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9313 `font-lock-extra-managed-props' if any prettifying keyword is added.
9314 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9315 (prog-mode): Use `setq-local'.
9316
9317 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * international/characters.el (standard-case-table): Set syntax of ?»
9320 and ?« to punctuation.
9321
9322 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9323
9324 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9325 Save relevant match data before calling `syntax-ppss' (bug#14595).
9326
9327 2013-06-15 Juri Linkov <juri@jurta.org>
9328
9329 * files-x.el (modify-file-local-variable-prop-line): Add local
9330 variables to the end of the existing comment on the first line.
9331 Use `file-auto-mode-skip' to skip interpreter magic line,
9332 and also skip XML declaration.
9333
9334 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * startup.el (package--builtin-versions): New var.
9337 (package-subdirectory-regexp): Remove.
9338 (package--description-file): Hard code its value instead.
9339
9340 * emacs-lisp/package.el: Don't activate packages older than builtin.
9341 (package-obsolete-list): Rename from package-obsolete-alist, and make
9342 it into a simple list of package-desc.
9343 (package-strip-version): Remove.
9344 (package-built-in-p): Use package--builtin-versions.
9345 (package-mark-obsolete): Simplify.
9346 (package-process-define-package): Mark it obsolete if older than the
9347 builtin version.
9348 (package-handle-response): Use line-end-position.
9349 (package-read-archive-contents, package--download-one-archive):
9350 Simplify.
9351 (package--add-to-archive-contents): Skip if older than the builtin or
9352 installed version.
9353 (package-menu-describe-package): Fix last change.
9354 (package-list-unversioned): New var.
9355 (package-menu--generate): Use it.
9356
9357 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9358 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9359 (autoload-builtin-package-versions): New variable.
9360 (autoload-generate-file-autoloads): Use them.
9361 Remove the list of autoloaded functions/macros from the
9362 (autoload...) comments.
9363
9364 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9365
9366 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9367
9368 * simple.el (line-move-partial): Don't jump to the next screen
9369 line as soon as it becomes visible. Instead, continue enlarging
9370 the vscroll until the portion of a tall screen line that's left on
9371 display is about the height of the frame's default font.
9372 (Bug#14567)
9373
9374 2013-06-15 Glenn Morris <rgm@gnu.org>
9375
9376 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9377 compilation-error-regexp-alist void, or local while let-bound.
9378
9379 * progmodes/make-mode.el (makefile-mode-syntax-table):
9380 Treat "=" as punctuation. (Bug#14614)
9381
9382 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9383
9384 * help-fns.el (describe-variable):
9385 Add extra line for permanent-local variables.
9386
9387 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9388
9389 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9390 Add export, import, library. (Bug#9164)
9391 (library): Set indent function.
9392
9393 2013-06-14 Glenn Morris <rgm@gnu.org>
9394
9395 * term/xterm.el (xterm--query):
9396 Stop after first matching handler. (Bug#14615)
9397
9398 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9399
9400 Add support for dired in saveplace.
9401 * dired.el (dired-initial-position-hook): New variable.
9402 (dired-initial-position): Call hook to place cursor position.
9403 * saveplace.el (save-place-to-alist): Add dired position.
9404 (save-place-dired-hook): New function.
9405
9406 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9409 through a symbol rather than letrec.
9410
9411 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9412 (package-desc): Add `dir' field.
9413 (package-desc-full-name): New function.
9414 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9415 (package-maybe-load-descriptor): Remove.
9416 (package-load-all-descriptors): Just call package-load-descriptor.
9417 (package--disabled-p): New function.
9418 (package-desc-vers, package-desc-doc): Remove aliases.
9419 (package--dir): Remove function.
9420 (package-activate): Check if a package is disabled.
9421 (package-process-define-package): New function, extracted from
9422 define-package.
9423 (define-package): Turn into a place holder.
9424 (package-unpack-single, package-tar-file-info):
9425 Use package--description-file.
9426 (package-compute-transaction): Use package--disabled-p.
9427 (package-download-transaction): Don't call
9428 package-maybe-load-descriptor since they're all loaded anyway.
9429 (package-install): Change argument to be a pkg-desc.
9430 (package-delete): Use a single pkg-desc argument.
9431 (describe-package-1): Use package-desc-dir instead of package--dir.
9432 Use package-desc property instead of package-symbol.
9433 (package-install-button-action): Adjust accordingly.
9434 (package--push): Rewrite.
9435 (package-menu--print-info): Adjust accordingly. Change the ID format
9436 to be a pkg-desc.
9437 (package-menu-describe-package, package-menu-get-status)
9438 (package-menu--find-upgrades, package-menu-mark-upgrades)
9439 (package-menu-execute, package-menu--name-predicate):
9440 Adjust accordingly.
9441 * startup.el (package--description-file): New function.
9442 (command-line): Use it.
9443 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9444 Use package-desc-version.
9445
9446 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9447 (byte-compile-preprocess): Use it.
9448 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9449 can't quite recognize.
9450 (byte-compile-add-to-list): Remove.
9451 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9452 (cconv-closure-convert): Add assertion.
9453
9454 * emacs-lisp/map-ynp.el: Use lexical-binding.
9455 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9456 Factor out some repeated code.
9457
9458 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * subr.el (with-eval-after-load): New macro.
9461 (eval-after-load): Allow form to be a function.
9462 take advantage of lexical-binding.
9463 (do-after-load-evaluation): Use dolist and adjust to new format.
9464 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9465
9466 2013-06-13 Juri Linkov <juri@jurta.org>
9467
9468 * replace.el (perform-replace): Display "symbol " and other search
9469 modes from `isearch-message-prefix' in the *Help* buffer.
9470
9471 * isearch.el (isearch-query-replace): Add " symbol" and other
9472 possible search modes from `isearch-message-prefix' to the prompt.
9473 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9474 when reading a regexp to collect.
9475
9476 2013-06-13 Juri Linkov <juri@jurta.org>
9477
9478 * isearch.el (word-search-regexp): Match whitespace if the search
9479 string begins or ends in whitespace. The LAX arg is applied to
9480 both ends of the search string. Use `regexp-quote' and explicit
9481 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9482 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9483 boundaries are replaced with symbol boundaries, and characters
9484 between symbols match non-word non-symbol syntax. (Bug#14602)
9485
9486 2013-06-13 Juri Linkov <juri@jurta.org>
9487
9488 * isearch.el (isearch-del-char): Don't exceed the length of
9489 `isearch-string' by the prefix arg. (Bug#14563)
9490
9491 2013-06-13 Juri Linkov <juri@jurta.org>
9492
9493 * isearch.el (isearch-yank-word, isearch-yank-line)
9494 (isearch-char-by-name, isearch-quote-char)
9495 (isearch-printing-char, isearch-process-search-char):
9496 Add optional count prefix arg. (Bug#14563)
9497
9498 * international/isearch-x.el
9499 (isearch-process-search-multibyte-characters):
9500 Add optional count prefix arg.
9501
9502 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9505 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9506 lexical-binding.
9507
9508 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9509
9510 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9511
9512 2013-06-13 Glenn Morris <rgm@gnu.org>
9513
9514 * startup.el (tty-handle-args):
9515 Don't just discard "--" and anything after. (Bug#14608)
9516
9517 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9518
9519 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9520
9521 Implement changes in Secret Service API. Make it backward compatible.
9522 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9523 (secrets-create-item): Use it. Prefix properties with interface.
9524
9525 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9526
9527 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9528 (term-emulate-terminal): Respect term-suppress-hard-newline.
9529
9530 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9531
9532 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9533 Only remove a `thumb-file' overlay. (Bug#14548)
9534
9535 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9536
9537 * mail/reporter.el (reporter-submit-bug-report):
9538 Handle missing package-name. (Bug#14600)
9539
9540 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9541
9542 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9543 (reftex-citation-prompt, reftex-default-bibliography)
9544 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9545 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9546 (reftex-bib-sort-author, reftex-bib-sort-year)
9547 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9548 (reftex-extract-bib-entries-from-thebibliography)
9549 (reftex-get-bibkey-default, reftex-get-bib-names)
9550 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9551 (reftex-format-bib-entry, reftex-parse-bibitem)
9552 (reftex-format-bibitem, reftex-do-citation)
9553 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9554 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9555 (reftex-insert-bib-matches, reftex-format-citation)
9556 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9557 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9558 existing comments into docstrings.
9559
9560 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9561
9562 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9563
9564 2013-06-12 Andreas Schwab <schwab@suse.de>
9565
9566 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9567 for auto-save files.
9568
9569 2013-06-12 Glenn Morris <rgm@gnu.org>
9570
9571 * ido.el (ido-delete-ignored-files): Remove.
9572 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9573 Go back to calling ido-ignore-item-p directly.
9574
9575 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9576
9577 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9578
9579 * ido.el (ido-delete-ignored-files): New function,
9580 split from ido-make-file-list-1.
9581 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9582 (ido-make-file-list-1): Use ido-delete-ignored-files.
9583
9584 2013-06-12 Leo Liu <sdl.web@gmail.com>
9585
9586 * progmodes/octave.el (inferior-octave-startup)
9587 (inferior-octave-completion-table)
9588 (inferior-octave-track-window-width-change)
9589 (octave-eldoc-function-signatures, octave-help)
9590 (octave-find-definition): Use single quoted strings.
9591 (inferior-octave-startup-args): Change default value.
9592 (inferior-octave-startup): Do not hard code "-i" and
9593 "--no-line-editing".
9594 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9595 (inferior-octave-directory-tracker): Use it.
9596 (octave-goto-function-definition): Robustify.
9597 (octave-help): Support highlighting operators in 'See also'.
9598 (octave-find-definition): Find subfunctions only in Octave mode.
9599
9600 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * help-fns.el (help-fns--compiler-macro): If the handler function is
9603 named, then put a link to it.
9604 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9605 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9606 (cl-typep): Use it.
9607 (cl-eval-when): Simplify debug spec.
9608 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9609 compiler-macro function instead of setting `compiler-macro-file'.
9610
9611 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9612
9613 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9614 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9615
9616 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9617 Daniel Hackney <dan@haxney.org>
9618
9619 First part of Daniel Hackney's patch to package.el.
9620 * emacs-lisp/package.el: Use defstruct.
9621 (package-desc): New, main struct.
9622 (package--bi-desc, package--ac-desc): New structs, used to describe the
9623 format in external files.
9624 (package-desc-vers): Replace with package-desc-version accessor.
9625 (package-desc-doc): Replace with package-desc-summary accessor.
9626 (package-activate-1): Remove `package' arg since the pkg-vec now
9627 includes the name.
9628 (define-package): Use package-desc-from-define.
9629 (package-unpack-single): Change file-name arg to be a symbol.
9630 (package--add-to-archive-contents): Use package-desc-create and new
9631 accessor functions to package--ac-desc.
9632 (package-buffer-info, package-tar-file-info): Return a package-desc.
9633 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9634 arg to be a package-desc.
9635 (package-install-file): Adjust accordingly. Use \' to match EOS.
9636 (package--from-builtin): New function.
9637 (describe-package-1, package-menu--generate): Use it.
9638 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9639 (package-generate-autoloads): Idem and return the name of the file.
9640 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9641 Change pkg-info arg to be a package-desc.
9642 Use package-make-ac-desc.
9643 (package-upload-file): Use \' to match EOS.
9644 * finder.el (finder-compile-keywords): Use package-make-builtin.
9645
9646 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * vc/vc.el (vc-deduce-fileset): Change error message.
9649 (vc-read-backend): New function.
9650 (vc-next-action): Use it.
9651
9652 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9653
9654 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9655 (prolog-font-lock-keywords): Use regexp-opt instead.
9656 Don't manually highlight strings.
9657 (prolog-mode-variables): Simplify comment-start-skip.
9658 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9659
9660 * emacs-lisp/generic.el (generic--normalise-comments)
9661 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9662 (generic-mode-set-comments): Use them.
9663 (generic-bracket-support): Use setq-local.
9664 (generic-make-keywords-list): Declare obsolete.
9665
9666 2013-06-11 Glenn Morris <rgm@gnu.org>
9667
9668 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9669 Prettify after setting font-lock-defaults. (Bug#14574)
9670
9671 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9672
9673 * replace.el (query-replace, occur-read-regexp-defaults-function)
9674 (replace-search):
9675 * subr.el (declare-function, number-sequence, local-set-key)
9676 (substitute-key-definition, locate-user-emacs-file)
9677 (with-silent-modifications, split-string, eval-after-load):
9678 Fix typos, remove unneeded backslashes and reflow some docstrings.
9679
9680 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9683 default for Elisp files.
9684
9685 2013-06-11 Glenn Morris <rgm@gnu.org>
9686
9687 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9688 although define-derived-mode was doing this anyway. (Bug#14583)
9689
9690 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9691
9692 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9693 Fix make-variable-buffer-local call to refer to the correct variable.
9694
9695 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9696
9697 * eshell/em-term.el (eshell-visual-commands)
9698 (eshell-visual-subcommands, eshell-visual-options):
9699 Add summary line to docstrings. Add cross-references.
9700
9701 2013-06-10 Glenn Morris <rgm@gnu.org>
9702
9703 * epa.el (epa-read-file-name): New function. (Bug#14510)
9704 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9705
9706 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9707
9708 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9709 output redirection to be ignored with visual commands.
9710
9711 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9712
9713 * eshell/em-term.el (eshell-visual-command-p): New function.
9714 (eshell-term-initialize): Move long lambda to separate function
9715 eshell-visual-command-p.
9716 * eshell/em-dirs.el (eshell-dirs-initialise):
9717 * eshell/em-script.el (eshell-script-initialize):
9718 Add missing #' to lambda.
9719
9720 2013-06-08 Leo Liu <sdl.web@gmail.com>
9721
9722 * progmodes/octave.el (octave-add-log-current-defun): New function.
9723 (octave-mode): Set add-log-current-defun-function.
9724 (octave-goto-function-definition): Do not move point if not found.
9725 (octave-find-definition): Enhance to try subfunctions first.
9726
9727 2013-06-08 Glenn Morris <rgm@gnu.org>
9728
9729 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9730 (byte-compile-backward-char, byte-compile-backward-word):
9731 Improve previous change, to handle non-explicit nil.
9732
9733 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9736 (smie--opener/closer-at-point): New function.
9737 (smie--matching-block-data): Use it. Don't match from right after an
9738 opener or right before a closer. Obey smie-blink-matching-inners.
9739 Don't signal a mismatch for repeated inners like "switch..case..case".
9740
9741 2013-06-07 Leo Liu <sdl.web@gmail.com>
9742
9743 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9744 to t. (Bug#14303)
9745 (octave-function-header-regexp): Fix. (Bug#14570)
9746 (octave-help-mode-finish-hook, octave-help-mode-finish):
9747 Remove. Just use temp-buffer-show-hook.
9748
9749 * newcomment.el (comment-search-backward): Revert last change.
9750 (Bug#14434)
9751
9752 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9753
9754 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9755
9756 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9757 through xargs, to avoid failure due to MS-Windows limitations on
9758 command-line length.
9759
9760 2013-06-06 Glenn Morris <rgm@gnu.org>
9761
9762 * font-lock.el (lisp-font-lock-keywords-2):
9763 Treat user-error like error.
9764
9765 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9766 (byte-compile-backward-char, byte-compile-backward-word):
9767 Handle explicit nil arguments. (Bug#14565)
9768
9769 2013-06-05 Alan Mackenzie <acm@muc.de>
9770
9771 * isearch.el (isearch-allow-prefix): New user option.
9772 (isearch-other-meta-char): Don't exit isearch when a prefix
9773 argument is typed whilst `isearch-allow-prefix' is non-nil.
9774 (Bug#9706)
9775
9776 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * autorevert.el (auto-revert-notify-handler): Use memq.
9779 Hide assertion failure.
9780
9781 * skeleton.el: Use cl-lib.
9782 (skeleton-further-elements): Use defvar-local.
9783 (skeleton-insert): Use cl-progv.
9784
9785 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9786
9787 * progmodes/prog-mode.el (prog-prettify-symbols)
9788 (prog-prettify-install): Update docstrings.
9789
9790 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * simple.el: Move all the prog-mode code to prog-mode.el.
9793 * progmodes/prog-mode.el: New file.
9794 * loadup.el: Add prog-mode.el.
9795
9796 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9797
9798 * simple.el (prog-prettify-symbols): Add version.
9799 (prog-prettify-install): Add convenience function to prettify symbols.
9800
9801 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9802 (perl--augmented-font-lock-keywords-1)
9803 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9804 variables and use it.
9805
9806 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9807 (cfengine3-mode): Remove unneeded variable and use it.
9808
9809 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9810 (lisp--augmented-font-lock-keywords-1)
9811 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9812 Remove unneeded variables and use it.
9813
9814 2013-06-05 João Távora <joaotavora@gmail.com>
9815
9816 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9817 to point when opening the connection. (Bug#14380)
9818
9819 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9820
9821 * subr.el (load-history-regexp, load-history-filename-element)
9822 (eval-after-load, after-load-functions, do-after-load-evaluation)
9823 (eval-next-after-load, display-delayed-warnings)
9824 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9825 definition of save-match-data.
9826 (overriding-local-map): Remove accidental obsolescence declaration.
9827
9828 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9829
9830 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9831
9832 Generalize symbol prettify support to prog-mode and implement it
9833 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9834 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9835 (prog--prettify-font-lock-compose-symbol)
9836 (prog-prettify-font-lock-symbols-keywords): New variables and
9837 functions to support symbol prettification.
9838 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9839 (lisp--augmented-font-lock-keywords-1)
9840 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9841 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9842 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9843 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9844 Implement prettify of -> => :: strings.
9845 * progmodes/perl-mode.el (perl-prettify-symbols)
9846 (perl--font-lock-compose-symbol)
9847 (perl--font-lock-symbols-keywords): Move to prog-mode.
9848 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9849 (perl-font-lock-keywords-1)
9850 (perl-font-lock-keywords-2): Remove explicit prettify support.
9851 (perl--augmented-font-lock-keywords)
9852 (perl--augmented-font-lock-keywords-1)
9853 (perl--augmented-font-lock-keywords-2, perl-mode):
9854 Implement prettify support.
9855
9856 2013-06-05 Leo Liu <sdl.web@gmail.com>
9857
9858 Re-implement smie matching block highlight using
9859 show-paren-data-function. (Bug#14395)
9860 * emacs-lisp/smie.el (smie-matching-block-highlight)
9861 (smie--highlight-matching-block-overlay)
9862 (smie--highlight-matching-block-lastpos)
9863 (smie-highlight-matching-block)
9864 (smie-highlight-matching-block-mode): Remove.
9865 (smie--matching-block-data-cache): New variable.
9866 (smie--matching-block-data): New function.
9867 (smie-setup): Use smie--matching-block-data for
9868 show-paren-data-function.
9869
9870 * progmodes/octave.el (octave-mode-menu): Fix.
9871 (octave-find-definition): Skip garbage lines.
9872
9873 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 Fix compilation error with simultaneous dynamic+lexical scoping.
9876 Add warning when a defvar appears after the first let-binding.
9877 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9878 (byte-compile-close-variables): Initialize it.
9879 (byte-compile--declare-var): New function.
9880 (byte-compile-file-form-defvar)
9881 (byte-compile-file-form-define-abbrev-table)
9882 (byte-compile-file-form-custom-declare-variable): Use it.
9883 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9884 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9885 (byte-compile-bind): Handle dynamic bindings that shadow
9886 lexical bindings.
9887 (byte-compile-unbind): Make arg non-optional.
9888 (byte-compile-let): Simplify.
9889 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9890 (cconv--analyse-function, cconv-analyse-form): Populate it.
9891 Protect byte-compile-bound-variables to limit the scope of defvars.
9892 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9893 Remove unneeded rule for `declare'.
9894
9895 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9896 so as to avoid depending on cl-adjoin at run-time.
9897 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9898
9899 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9900 (macroexp--warn-and-return): Use it.
9901
9902 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * subr.el: Convert to lexical binding.
9905 (overriding-local-map): Make obsolete.
9906 (add-to-list): Doc fix. Add compiler macro.
9907 (read-key): Swap values of local maps.
9908
9909 2013-06-05 Leo Liu <sdl.web@gmail.com>
9910
9911 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9912
9913 2013-06-04 Leo Liu <sdl.web@gmail.com>
9914
9915 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9916 (compilation-auto-jump): Suppress the "Mark set" message to give
9917 way to exit message.
9918
9919 2013-06-04 Alan Mackenzie <acm@muc.de>
9920
9921 Remove faulty optimisation from indentation calculation.
9922 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9923 search limit based on 2000 characters back from indent-point.
9924
9925 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9926
9927 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9928
9929 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * emacs-lisp/lisp.el: Use lexical-binding.
9932 (lisp--local-variables-1, lisp--local-variables): New functions.
9933 (lisp--local-variables-completion-table): New var.
9934 (lisp-completion-at-point): Use it complete let-bound vars.
9935
9936 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9937 eagerly (bug#14422).
9938
9939 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9940
9941 * autorevert.el (auto-revert-notify-enabled)
9942 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9943 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9944 (auto-revert-notify-handler): Handle also gfilenotify.
9945
9946 * subr.el (file-notify-handle-event): New defun. Replacing ...
9947 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9948 Remove.
9949
9950 2013-06-03 Juri Linkov <juri@jurta.org>
9951
9952 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9953 `M-s h .'. (Bug#14427)
9954
9955 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9956 command `hi-lock-face-symbol-at-point'.
9957 (hi-lock-face-symbol-at-point): New command.
9958 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9959 (hi-lock-menu): Add `highlight-symbol-at-point'.
9960 (hi-lock-mode): Doc fix.
9961
9962 * isearch.el (isearch-forward-symbol-at-point): New command.
9963 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9964 (isearch-highlight-regexp): Add a regexp which matches
9965 words/symbols for word/symbol mode.
9966
9967 * subr.el (find-tag-default-bounds): New function with the body
9968 mostly moved from `find-tag-default'.
9969 (find-tag-default): Move most code to `find-tag-default-bounds',
9970 call it and apply `buffer-substring-no-properties' afterwards.
9971
9972 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9973
9974 * eshell/em-term.el (eshell-term-initialize):
9975 Use `cl-intersection' rather than `intersection'.
9976
9977 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9978
9979 * vc/log-view.el: Doc fix.
9980 (log-view-mode-map): Copy keymap from `special-mode-map'.
9981
9982 2013-06-02 Eric Ludlam <zappo@gnu.org>
9983
9984 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9985 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9986 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9987 (eieio-unbound, eieio-default-superclass)
9988 (eieio--define-field-accessors, method-static, method-before)
9989 (method-primary, method-after, method-num-lists)
9990 (method-generic-before, method-generic-primary)
9991 (method-generic-after, method-num-slots)
9992 (eieio-specialized-key-to-generic-key)
9993 (eieio--check-type, class-v, class-p)
9994 (eieio-class-name, define-obsolete-function-alias)
9995 (eieio-class-parents-fast, eieio-class-children-fast)
9996 (same-class-fast-p, class-constructor, generic-p)
9997 (generic-primary-only-p, generic-primary-only-one-p)
9998 (class-option-assoc, class-option, eieio-object-p)
9999 (class-abstract-p, class-method-invocation-order)
10000 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10001 (eieio-class-un-autoload, eieio-defclass)
10002 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10003 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10004 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10005 (eieio-defgeneric-reset-generic-form)
10006 (eieio-defgeneric-form-primary-only)
10007 (eieio-defgeneric-reset-generic-form-primary-only)
10008 (eieio-defgeneric-form-primary-only-one)
10009 (eieio-defgeneric-reset-generic-form-primary-only-one)
10010 (eieio-unbind-method-implementations)
10011 (eieio--defmethod, eieio--typep)
10012 (eieio-perform-slot-validation, eieio-validate-slot-value)
10013 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10014 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10015 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10016 (eieio-slot-name-index, eieio-class-slot-name-index)
10017 (eieio-set-defaults, eieio-initarg-to-attribute)
10018 (eieio-attribute-to-initarg, eieio-c3-candidate)
10019 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10020 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10021 (eieio-class-precedence-list, eieio-generic-call-methodname)
10022 (eieio-generic-call-arglst, eieio-generic-call-key)
10023 (eieio-generic-call-next-method-list)
10024 (eieio-pre-method-execution-functions, eieio-generic-call)
10025 (eieio-generic-call-primary-only, eieiomt-method-list)
10026 (eieiomt-optimizing-obarray, eieiomt-install)
10027 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10028 (eieio-generic-form, eieio-defmethod, make-obsolete)
10029 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10030 (defclass): Remove `eval-and-compile' from macro.
10031 (call-next-method, shared-initialize): Instead of using
10032 `scoped-class' variable, use new eieio--scoped-class, and
10033 eieio--with-scoped-class.
10034 (initialize-instance): Rename local variable 'scoped-class' to
10035 'this-class' to remove ambiguitity from old global.
10036
10037 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10038 eieio.el.
10039 (eieio--scoped-class-stack): New variable.
10040 (eieio--scoped-class): New fcn.
10041 (eieio--with-scoped-class): New scoping macro.
10042 (eieio-defclass): Use pushnew instead of add-to-list.
10043 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10044 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10045 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10046 `scoped-class' variable, use new eieio--scoped-class, and
10047 eieio--with-scoped-class.
10048
10049 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10050
10051 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10052
10053 * eshell/esh-ext.el (eshell-external-command): Pass args to
10054 `eshell-find-interpreter'.
10055 (eshell-find-interpreter): Add new second parameter ARGS.
10056
10057 * eshell/em-script.el (eshell-script-initialize): Add second arg
10058 to the function added as MATCH to `eshell-interpreter-alist'.
10059
10060 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10061 the function added as MATCH to `eshell-interpreter-alist'.
10062
10063 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10064 (eshell-visual-options): New defcustom.
10065 (eshell-escape-control-x): Adapt docstring.
10066 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10067 `eshell-visual-options' in addition to `eshell-visual-commands'.
10068 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10069
10070 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10071
10072 * progmodes/python.el (python-indent-block-enders): Add break,
10073 continue and raise keywords.
10074
10075 2013-06-01 Glenn Morris <rgm@gnu.org>
10076
10077 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10078
10079 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10080 * progmodes/cc-cmds.el (delete-forward-p):
10081 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10082 * progmodes/cc-engine.el (buffer-syntactic-context):
10083 * progmodes/cc-fonts.el (face-property-instance):
10084 * progmodes/cc-mode.el (set-keymap-parents):
10085 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10086 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10087 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10088 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10089 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10090
10091 * progmodes/cc-vars.el (other): Emacs has this widget since
10092 at least 21.1, so don't (re)define it.
10093
10094 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10095 Replace the obsolete alias pcomplete-arg-quote-list.
10096
10097 2013-06-01 Leo Liu <sdl.web@gmail.com>
10098
10099 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10100 punctuation syntax.
10101 (inferior-octave-minimal-columns)
10102 (inferior-octave-last-column-width): New variables.
10103 (inferior-octave-track-window-width-change): New function.
10104 (inferior-octave-mode): Adjust column width so that Octave output,
10105 for example from 'ls', can fit into the window nicely.
10106
10107 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10108
10109 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10110 Highlight expansions inside regexp literals.
10111
10112 2013-05-31 Glenn Morris <rgm@gnu.org>
10113
10114 * obsolete/sym-comp.el (symbol-complete):
10115 Replace obsolete completion-annotate-function.
10116
10117 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10118
10119 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10120
10121 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10122 New function, checks if point is inside a literal that allows
10123 expression expansion.
10124 (ruby-syntax-propertize-expansion): Use it.
10125 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10126 around the body.
10127
10128 2013-05-30 Juri Linkov <juri@jurta.org>
10129
10130 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10131 to "\M-si".
10132 (isearch-invisible): New variable.
10133 (isearch-forward): Doc fix.
10134 (isearch-mode): Set `isearch-invisible'
10135 to the value of `search-invisible'.
10136 (isearch-toggle-case-fold): Doc fix.
10137 (isearch-toggle-invisible): New command.
10138 (isearch-query-replace): Let-bind `search-invisible'
10139 to the value of `isearch-invisible'.
10140 (isearch-search): Use `isearch-invisible' instead of
10141 `search-invisible'. Let-bind `search-invisible'
10142 to the value of `isearch-invisible'. (Bug#11378)
10143
10144 2013-05-30 Juri Linkov <juri@jurta.org>
10145
10146 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10147 call when `query-flag' is nil and `search-invisible' is non-nil.
10148 (Bug#11746)
10149
10150 2013-05-30 Glenn Morris <rgm@gnu.org>
10151
10152 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10153
10154 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10155 (cc-require): Suppress spurious "noruntime" warnings.
10156 (cc-require-when-compile): Use fboundp, for sake of compiler.
10157
10158 * progmodes/cc-mode.el: Move load of cc-vars before that of
10159 cc-langs (which in turn loads cc-vars), to quieten compiler.
10160
10161 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * paren.el: Simplify the code.
10164 (show-paren-mode): Always start the timer.
10165 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10166 (show-paren--overlay, show-paren--overlay-1): Rename from
10167 show-paren-overlay and show-paren-overlay-1, and initialize to an
10168 overlay rather than to nil.
10169 (show-paren-function): Misc cleanup and simplifications.
10170
10171 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * paren.el (show-paren-data-function): New hook.
10174 (show-paren--default): New function, extracted from show-paren-function.
10175 (show-paren-function): Use show-paren-data-function.
10176
10177 2013-05-30 Glenn Morris <rgm@gnu.org>
10178
10179 * ielm.el (ielm-map, ielm-complete-symbol):
10180 Use completion-at-point rather than obsolete functions.
10181 (inferior-emacs-lisp-mode): Doc fix.
10182 Set completion-at-point-functions, rather than
10183 comint-dynamic-complete-functions.
10184
10185 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10186 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10187 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10188
10189 * image.el (image-animated-p): Tweak definition.
10190
10191 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10192 (rlogin-process-connection-type): Tweak default. Add set-after.
10193 (rlogin-host): Doc fix.
10194 (rlogin): Tweak prompt.
10195 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10196
10197 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10198 * progmodes/tcl.el (inferior-tcl-mode-map):
10199 Use completion-at-point rather than obsolete alias.
10200
10201 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10202
10203 * minibuffer.el (read-file-name-completion-ignore-case):
10204 Move before completion--in-region, for eager macro expansion.
10205
10206 2013-05-29 Juri Linkov <juri@jurta.org>
10207
10208 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10209 for total count of matching lines. Add `global-matches' for total
10210 count of matches. Rename `matches' to `lines' for count of
10211 matching lines. Add `matches' for count of matches.
10212 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10213 to `prev-line' for line number of prev match endpt.
10214 Increment `matches' for every match. Print the number of
10215 matching lines in the header.
10216 (occur-context-lines): Rename `lines' to `curr-line'.
10217 Rename `prev-lines' to `prev-line'. (Bug#14017)
10218
10219 2013-05-29 Juri Linkov <juri@jurta.org>
10220
10221 * replace.el (perform-replace): Add `skip-read-only-count',
10222 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10223 Increment them for corresponding conditions and report the number
10224 of skipped occurrences in the final message. (Bug#11746)
10225 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10226 (replace-string, replace-regexp): Doc fix.
10227
10228 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10231
10232 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10233 prog-mode-map (bug#14504).
10234
10235 2013-05-29 Leo Liu <sdl.web@gmail.com>
10236
10237 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10238 (octave-help): Small simplification.
10239
10240 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10241 off the highlight first.
10242
10243 2013-05-29 Glenn Morris <rgm@gnu.org>
10244
10245 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10246 Handle idlwave-last-system-routine-info-cons-cell being nil.
10247
10248 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10249 (idlwave-write-paths): Simplify via with-temp-buffer.
10250
10251 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10252 * emulation/cua-rect.el: Also load cua-base at run time.
10253
10254 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10255 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10256 (cperl-imenu-on-info): Require imenu.
10257
10258 2013-05-28 Alan Mackenzie <acm@muc.de>
10259
10260 Handle "capitalised keywords" correctly.
10261 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10262
10263 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10264
10265 * eshell/em-unix.el: Add -r option to cp.
10266
10267 2013-05-28 Glenn Morris <rgm@gnu.org>
10268
10269 * vc/vc-arch.el (vc-exec-after): Declare.
10270 (vc-switches): Autoload.
10271 * vc/vc-bzr.el: No need to require vc when compiling.
10272 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10273 (vc-resynch-buffer, vc-dir-refresh): Declare.
10274 (vc-setup-buffer, vc-switches): Autoload.
10275 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10276 (vc-resynch-buffer): Declare.
10277 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10278 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10279 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10280 (grep-read-regexp, grep-read-files, grep-expand-template)
10281 (vc-dir-refresh): Declare.
10282 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10283 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10284 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10285 * vc/vc-mtn.el (vc-exec-after): Declare.
10286 (vc-switches): Autoload.
10287 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10288 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10289 (vc-file-tree-walk): Declare.
10290 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10291 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10292 (vc-tag-precondition, vc-rename-master): Autoload.
10293 * vc/vc-svn.el (vc-exec-after): Declare.
10294 (vc-switches, vc-setup-buffer): Autoload.
10295 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10296 Autoload.
10297 (vc-resynch-buffer): Declare.
10298
10299 * obsolete/fast-lock.el (byte-compile-warnings):
10300 Don't warn about obsolete features in this obsolete file.
10301
10302 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10303 Move definition before use.
10304
10305 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10306 (dun-unix-verbs): Remove dun-zippy.
10307 (dun-zippy): Remove function.
10308
10309 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10310
10311 2013-05-27 Juri Linkov <juri@jurta.org>
10312
10313 * replace.el (replace-search): New function with code moved out
10314 from `perform-replace'.
10315 (replace-highlight, replace-dehighlight): Move function definitions
10316 up closer to `replace-search'. (Bug#11746)
10317
10318 2013-05-27 Juri Linkov <juri@jurta.org>
10319
10320 * replace.el (perform-replace): Ignore invisible matches.
10321 In addition to checking `query-replace-skip-read-only', also
10322 filter out matches by calling `run-hook-with-args-until-failure'
10323 on `isearch-filter-predicates', and also check `search-invisible'
10324 for t or call `isearch-range-invisible'.
10325 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10326
10327 2013-05-27 Juri Linkov <juri@jurta.org>
10328
10329 * isearch.el (isearch-filter-predicates): Rename from
10330 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10331 (isearch-message-prefix): Display text from the property
10332 `isearch-message-prefix' of the currently active filters.
10333 (isearch-search): Don't compare `isearch-filter-predicate' with
10334 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10335 on `isearch-filter-predicates'. Also check `search-invisible' for t
10336 or call `isearch-range-invisible'.
10337 (isearch-filter-visible): Make obsolete.
10338 (isearch-lazy-highlight-search):
10339 Call `run-hook-with-args-until-failure' on
10340 `isearch-filter-predicates' and use `isearch-range-invisible'.
10341
10342 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10343 `isearch-filter-predicates' instead of `funcall'ing
10344 `isearch-filter-predicate'.
10345 (Info-mode): Set `Info-isearch-filter' to
10346 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10347
10348 * dired-aux.el (dired-isearch-filter-predicate-orig):
10349 Remove variable.
10350 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10351 (dired-isearch-filenames-end): Add and remove
10352 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10353 instead of changing the value of `isearch-filter-predicate'.
10354 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10355 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10356 Put property `isearch-message-prefix' to "filename " on
10357 `dired-isearch-filter-filenames'.
10358
10359 * wdired.el (wdired-change-to-wdired-mode):
10360 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10361 locally instead of changing `isearch-filter-predicate'.
10362 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10363
10364 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10365
10366 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10367 return the commit hash (Bug#14459). Also set the
10368 `vc-git-detached' property.
10369 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10370 (vc-git-mode-line-string): Use the same help-echo format whether
10371 in detached mode or not, because we know the actual revision now.
10372 When in detached mode, shorten the revision to 7 chars.
10373
10374 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * emacs-lisp/easy-mmode.el (define-minor-mode):
10377 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10378 mode hook and provide a docstring.
10379
10380 2013-05-27 Alan Mackenzie <acm@muc.de>
10381
10382 Remove spurious syntax-table text properties inserted by C-y.
10383 * progmodes/cc-mode.el (c-after-change): Also clear hard
10384 syntax-table property with value nil.
10385
10386 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10387
10388 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10389 when reading the events; the buffer layout shall not be changed.
10390
10391 2013-05-27 Leo Liu <sdl.web@gmail.com>
10392
10393 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10394 New variable.
10395 (inferior-octave-directory-tracker): Automatically re-sync
10396 default-directory.
10397 (octave-help): Improve handling of 'See also'.
10398
10399 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * doc-view.el: Minor naming convention tweaks.
10402 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10403
10404 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10405 even if there's no `display' property yet (bug#14435).
10406
10407 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10408
10409 * subr.el (unmsys--file-name): Rename from reveal-filename.
10410
10411 * Makefile.in (custom-deps, finder-data, autoloads)
10412 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10413 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10414 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10415
10416 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10417
10418 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10419 error-completion on the first 2 args of condition-case (bug#14446).
10420 Don't burp at EOB.
10421
10422 2013-05-25 Leo Liu <sdl.web@gmail.com>
10423
10424 * comint.el (comint-previous-matching-input): Do not flood the
10425 *Messages* buffer with trivial messages.
10426
10427 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * progmodes/flymake.el (flymake-nop): Don't return a string.
10430 (flymake-set-at): Fix typo.
10431
10432 * simple.el (read--expression): New function, extracted from
10433 eval-expression. Set completion-at-point-functions (bug#14465).
10434 (eval-expression, eval-minibuffer): Use it.
10435
10436 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10437
10438 * progmodes/flymake.el (flymake-save-buffer-in-file)
10439 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10440 (flymake-selected-frame, flymake-log, flymake-ins-after)
10441 (flymake-set-at, flymake-get-buildfile-from-cache)
10442 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10443 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10444 Refine the doc string.
10445 (flymake-get-file-name-mode-and-masks): Reformat.
10446 (flymake-get-real-file-name-function): Fix a minor bug.
10447
10448 2013-05-24 Juri Linkov <juri@jurta.org>
10449
10450 * progmodes/grep.el (grep-mode-font-lock-keywords):
10451 Support =linenumber= format used by git-grep for lines with
10452 function names. (Bug#13549)
10453
10454 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10457 0 after a semi-colon; it works better for smie-auto-fill.
10458 (octave--indent-new-comment-line): New function.
10459 (octave-indent-new-comment-line): Use it (indirectly).
10460 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10461 modify comment-line-break-function.
10462
10463 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10464 (smie-setup): Use add-function to set it.
10465
10466 2013-05-24 Sam Steingold <sds@gnu.org>
10467
10468 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10469 argument (before the `interactive' argument).
10470
10471 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * image-mode.el (image-mode-winprops): Add winprops to
10474 image-mode-winprops-alist before running
10475 image-mode-new-window-functions.
10476 * doc-view.el (doc-view-new-window-function): Don't delay
10477 doc-view-goto-page via timers (bug#14435).
10478
10479 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10480
10481 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10482 (doc-view-desktop-save-buffer): New function.
10483 (doc-view-restore-desktop-buffer): New function.
10484 (desktop-buffer-mode-handlers):
10485 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10486 handler.
10487 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10488 `desktop-save-buffer' function.
10489
10490 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10491
10492 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10493 (tramp-gvfs-file-name-handler): Raise a user error when
10494 `tramp-gvfs-enabled' is nil.
10495 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10496 Do not raise a user error when loading package. (Bug#14447)
10497
10498 * net/xesam.el: Move to obsolete/.
10499
10500 2013-05-24 Glenn Morris <rgm@gnu.org>
10501
10502 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10503
10504 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10505
10506 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10507 (Info-find-node, Man-getpage-in-background): Declare.
10508
10509 * mail/unrmail.el (unrmail):
10510 Replace obsolete detect-coding-with-priority.
10511
10512 * net/socks.el (socks-split-string): Use this rather than split-string.
10513 (socks-nslookup-host): Update for above change.
10514 (dynamic-choice, s5-dynamic-choice-match)
10515 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10516 Comment out unused code.
10517
10518 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10519 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10520 (gud-tooltip-echo-area): Make obsolete.
10521 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10522
10523 * progmodes/js.el (js--optimize-arglist): Declare.
10524
10525 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10526
10527 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10528 (ediff-window-C): Declare.
10529
10530 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10531 Tweak requires to silence compiler.
10532
10533 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10534 (he-search-string, he-tried-table, he-expand-list)
10535 (he-init-string, he-string-member, he-substitute-string)
10536 (he-reset-string): Declare.
10537
10538 * obsolete/options.el (list-options): Use custom-variable-p,
10539 rather than obsolete alias.
10540
10541 2013-05-23 Sam Steingold <sds@gnu.org>
10542
10543 * simple.el (shell-command-on-region): Pass the `replace' argument
10544 down to `call-process-region' to comply with the doc as reported on
10545 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10546
10547 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * emacs-lisp/smie.el (smie-indent-forward-token)
10550 (smie-indent-backward-token): Handle string tokens (bug#14381).
10551
10552 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10553
10554 * ielm.el (ielm-menu): New menu.
10555 (inferior-emacs-lisp-mode): Set comment-start.
10556
10557 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10558
10559 * textmodes/reftex.el (reftex-ref-style-toggle):
10560 Fix deactivate action.
10561
10562 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10563 Add cleveref macros.
10564
10565 * textmodes/reftex-parse.el
10566 (reftex-locate-bibliography-files): Accept options for
10567 bibliography commands.
10568 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10569 Add addbibresource. Basic Biblatex support.
10570
10571 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10572
10573 * net/tramp-gvfs.el (top):
10574 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10575 when loading package. (Bug#14447)
10576
10577 2013-05-23 Glenn Morris <rgm@gnu.org>
10578
10579 * progmodes/js.el: No need to load comint when compiling.
10580 (ring-insert, comint-send-string, comint-send-input)
10581 (comint-last-input-end, ido-chop): Declare.
10582
10583 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10584 * vc/ediff-mult.el: Adjust requires.
10585 (ediff-directories-internal, ediff-directory-revisions-internal)
10586 (ediff-patch-file-internal): Declare.
10587 * vc/ediff-ptch.el: Adjust requires.
10588 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10589 (ediff-find-file): Autoload.
10590 * vc/ediff-util.el: No need to load ediff when compiling.
10591 (ediff-regions-internal): Declare.
10592 * vc/ediff-wind.el: Adjust requires.
10593 (ediff-compute-toolbar-width): Define when compiling.
10594 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10595 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10596 (dired-get-filename, dired-get-marked-files)
10597 (ediff-last-dir-patch, ediff-patch-default-directory)
10598 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10599 (ediff-patch-buffer-internal): Declare.
10600
10601 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10602 (ispell-process, ispell-buffer-local-words, lm-summary)
10603 (lm-section-start, lm-section-end): Declare.
10604 (checkdoc-ispell-init): Simplify.
10605
10606 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10607 (he-string-member, he-reset-string, he-substitute-string): Declare.
10608
10609 * eshell/em-ls.el: Adjust requires.
10610 (eshell-glob-regexp): Declare.
10611 * eshell/em-tramp.el: Adjust requires.
10612 (eshell-parse-command): Autoload.
10613 * eshell/em-xtra.el: Adjust requires.
10614 (eshell-parse-command): Autoload.
10615 * eshell/esh-ext.el: Adjust requires.
10616 (eshell-parse-command, eshell-close-handles): Autoload.
10617 * eshell/esh-io.el: Adjust requires.
10618 (eshell-output-filter): Autoload.
10619 * eshell/esh-util.el: No need to load tramp when compiling.
10620 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10621 Declare.
10622 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10623 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10624 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10625 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10626 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10627 * eshell/esh-opt.el, eshell/esh-proc.el:
10628 * eshell/esh-var.el: Adjust requires.
10629 * eshell/eshell.el: Do not require esh-util twice.
10630 (eshell-add-input-to-history): Declare.
10631 (eshell-command): Check history module is active before using it.
10632
10633 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10634
10635 2013-05-22 Leo Liu <sdl.web@gmail.com>
10636
10637 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10638
10639 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10640
10641 * autorevert.el (auto-revert-notify-add-watch)
10642 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10643 it indicates changes in file modification time.
10644
10645 2013-05-22 Glenn Morris <rgm@gnu.org>
10646
10647 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10648 Always delete the autoloaded function from the noruntime and
10649 unresolved functions lists.
10650
10651 * allout.el: No need to load epa, epg, overlay when compiling.
10652 (epg-context-set-passphrase-callback, epg-list-keys)
10653 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10654 (epg-key-user-id-list): Declare.
10655
10656 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10657 (viper-set-parsing-style-toggling-macro)
10658 (viper-set-emacs-state-searchstyle-macros):
10659 Use called-interactively-p on Emacs.
10660 (viper-looking-back): Make it an obsolete alias. Update callers.
10661 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10662 Use looking-back rather than viper-looking-back.
10663 (viper-tmp-insert-at-eob, viper-enlarge-region)
10664 (viper-read-string-with-history, viper-register-to-point)
10665 (viper-append-to-register, viper-change-state-to-vi)
10666 (viper-backward-char-carefully, viper-forward-char-carefully)
10667 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10668 (viper-change-state-to-emacs): Declare.
10669 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10670 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10671 * emulation/viper-mous.el: Do not load viper-cmd.
10672 (viper-backward-char-carefully, viper-forward-char-carefully)
10673 (viper-forward-word, viper-adjust-window): Declare.
10674
10675 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10676
10677 * progmodes/idlw-help.el (idlwave-help-fontify):
10678 Use called-interactively-p.
10679
10680 * term/w32console.el (w32-get-console-codepage)
10681 (w32-get-console-output-codepage): Declare.
10682
10683 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10684 Remove unnecessary declarations.
10685 (dframe-message): Doc fix.
10686
10687 * info.el (dframe-select-attached-frame, dframe-current-frame):
10688 Declare.
10689
10690 * speedbar.el (speedbar-message): Make it an obsolete alias.
10691 Update all callers.
10692 (speedbar-with-attached-buffer)
10693 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10694 (speedbar-with-writable): Use backquote.
10695 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10696 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10697 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10698 rather than speedbar- aliases.
10699 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10700 (speedbar-make-specialized-keymap, speedbar-insert-button)
10701 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10702 (speedbar-do-function-pointer): Declare.
10703 (rmail-speedbar-button, rmail-speedbar-find-file)
10704 (rmail-speedbar-move-message):
10705 Use dframe-with-attached-buffer rather than speedbar- alias.
10706 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10707 (dframe-message, speedbar-make-specialized-keymap)
10708 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10709 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10710 (speedbar-insert-button, dframe-select-attached-frame)
10711 (dframe-maybee-jump-to-attached-frame)
10712 (speedbar-change-initial-expansion-list)
10713 (speedbar-previously-used-expansion-list-name): Declare.
10714 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10715 Use dframe-message, dframe-with-attached-buffer rather than
10716 speedbar- aliases.
10717 (gud-sentinel): Silence compiler.
10718 * progmodes/vhdl-mode.el (speedbar-refresh)
10719 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10720 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10721 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10722 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10723 (speedbar-file-lists, speedbar-make-tag-line)
10724 (speedbar-line-directory, speedbar-goto-this-file)
10725 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10726 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10727 (speedbar-make-button, speedbar-reset-scanners)
10728 (speedbar-files-item-info, speedbar-line-text)
10729 (speedbar-find-file-in-frame, speedbar-set-timer)
10730 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10731 (speedbar-with-writable): Do not (re)define it.
10732 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10733 rather than speedbar- alias.
10734
10735 2013-05-21 Leo Liu <sdl.web@gmail.com>
10736
10737 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10738 menu items.
10739 (octave-mode): Tweak fill-nobreak-predicate.
10740 (inferior-octave-startup): Check process to avoid infinite loop.
10741 (inferior-octave): Pop to buffer first to show abornmal process
10742 exit information.
10743
10744 2013-05-21 Glenn Morris <rgm@gnu.org>
10745
10746 * printing.el (pr-menu-bar): Define when compiling.
10747
10748 2013-05-21 Leo Liu <sdl.web@gmail.com>
10749
10750 * progmodes/octave.el (octave-auto-fill): Remove.
10751 (octave-indent-new-comment-line): Improve.
10752 (octave-mode): Use auto fill mode through
10753 comment-line-break-function and fill-nobreak-predicate.
10754 (octave-goto-function-definition): Support DEFUN_DLD.
10755 (octave-beginning-of-defun): Small tweak.
10756 (octave-help): Show parent directory.
10757
10758 2013-05-21 Glenn Morris <rgm@gnu.org>
10759
10760 * files.el (dired-unmark):
10761 * progmodes/gud.el (gdb-input): Update declarations.
10762
10763 * calculator.el (electric, ehelp): No need to load when compiling.
10764 (Electric-command-loop, electric-describe-mode): Declare.
10765
10766 * doc-view.el (doc-view-current-converter-processes): Move before use.
10767
10768 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10769 Move MODE-set-explicitly definition before use.
10770
10771 * international/mule-diag.el (mule-diag):
10772 Don't use obsolete window-system-version.
10773
10774 * mail/feedmail.el (smtpmail): No need to load when compiling.
10775 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10776
10777 * mail/mail-utils.el (rfc822): No need to load when compiling.
10778 (rfc822-addresses): Autoload it.
10779 (mail-strip-quoted-names): Trivial simplification.
10780
10781 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10782 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10783
10784 * net/snmp-mode.el (tempo): Don't duplicate requires.
10785
10786 * progmodes/prolog.el (info): No need to load when compiling.
10787 (comint): Require before shell requires it.
10788 (Info-goto-node): Autoload it.
10789 (Info-follow-nearest-node): Declare.
10790 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10791
10792 * textmodes/artist.el (picture-mode-exit): Declare.
10793
10794 * textmodes/reftex-parse.el (reftex-parse-from-file):
10795 Trivial rewrite so the compiler can parse it better.
10796
10797 2013-05-20 Leo Liu <sdl.web@gmail.com>
10798
10799 * progmodes/octave.el (octave-help-mode-map)
10800 (octave-help-mode-finish-hook): New variables.
10801 (octave-help-mode, octave-help-mode-finish): New functions.
10802 (octave-help): Use octave-help-mode.
10803
10804 2013-05-20 Glenn Morris <rgm@gnu.org>
10805
10806 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10807
10808 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10809
10810 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10811 start at point, so that expansion starting right after opening
10812 slash in a regexp is recognized.
10813 (ruby-syntax-before-regexp-re): New defvar, extracted from
10814 ruby-syntax-propertize-function. Since the value of this regexp
10815 is looked up at runtime now, we should be able to turn
10816 `ruby-syntax-methods-before-regexp' into a defcustom later.
10817 (ruby-syntax-propertize-function): Split regexp matching into two
10818 parts, for opening and closing slashes. That allows us to skip
10819 over string interpolations and support multiline regexps.
10820 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10821 for them, which calls `ruby-syntax-propertize-expansion'.
10822 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10823 call to `ruby-syntax-propertize-function'.
10824 (ruby-syntax-propertize-expansion): Extracted from
10825 `ruby-syntax-propertize-expansions'. Handles one expansion.
10826 (ruby-syntax-propertize-percent-literal): Leave point right after
10827 the percent symbol, so that the expression expansion rule can
10828 propertize the contents.
10829 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10830 heredoc openers.
10831 (ruby-syntax-propertize-expansions): Remove.
10832
10833 2013-05-18 Juri Linkov <juri@jurta.org>
10834
10835 * man.el (Man-default-man-entry): Remove `-' from the end
10836 of the default value. (Bug#14400)
10837
10838 2013-05-18 Glenn Morris <rgm@gnu.org>
10839
10840 * comint.el (comint-password-prompt-regexp):
10841 Allow "password for XXX" where XXX contains colons (eg https://...).
10842
10843 2013-05-18 Leo Liu <sdl.web@gmail.com>
10844
10845 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10846 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10847 (octave-source-directories): Don't check process.
10848 (octave-source-directories, octave-find-definition): Doc fix.
10849
10850 2013-05-18 Glenn Morris <rgm@gnu.org>
10851
10852 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10853 Remove backspace/delete bindings. (Bug#14392)
10854
10855 * cus-dep.el (custom-make-dependencies): Sort the output.
10856 (custom-versions-load-alist): Convert comment to doc.
10857
10858 2013-05-17 Leo Liu <sdl.web@gmail.com>
10859
10860 * newcomment.el (comment-search-backward): Stricter in finding
10861 comment start. (Bug#14303)
10862
10863 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10864 (octave-comment-start-skip): Properly anchored.
10865
10866 2013-05-17 Leo Liu <sdl.web@gmail.com>
10867
10868 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10869 Clean up when turned off. (Bug#14395)
10870 (smie--highlight-matching-block-overlay): No longer buffer-local.
10871 (smie-highlight-matching-block): Adjust.
10872
10873 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10874
10875 Doc string fix for "nanoseconds" (Bug#14406).
10876 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10877 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10878
10879 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10880
10881 * calc/calc-units.el (math-extract-units): Preserve powers
10882 of units.
10883
10884 2013-05-17 Leo Liu <sdl.web@gmail.com>
10885
10886 * subr.el (delete-consecutive-dups): New function.
10887 * ido.el (ido-set-matches-1): Use it.
10888 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10889 * ido.el (ido-remove-consecutive-dups): Remove.
10890
10891 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10894 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10895 regexp-opt's `words'.
10896
10897 2013-05-16 Leo Liu <sdl.web@gmail.com>
10898
10899 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10900 (smie--highlight-matching-block-overlay)
10901 (smie--highlight-matching-block-lastpos)
10902 (smie--highlight-matching-block-timer): New variables.
10903 (smie-highlight-matching-block): New function.
10904 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10905 (smie-setup): Conditionally enable smie-blink-matching-open.
10906
10907 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10908
10909 Sync with upstream verilog-mode r840.
10910 * progmodes/verilog-mode.el (verilog-mode-version)
10911 (verilog-mode-release-date): Update.
10912 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10913 (verilog-sig-tieoff): Fix string error on
10914 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10915 (verilog-read-decls): Fix parameters confusing
10916 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10917
10918 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10919
10920 * subr.el (reveal-filename): New function.
10921
10922 * loadup.el: Compute Emacs executable versions on MS-Windows,
10923 where executables have the .exe extension. Add a hard link
10924 emacs-XX.YY.ZZ.exe on MS-Windows.
10925
10926 * Makefile.in (XARGS_LIMIT): New variable.
10927 (custom-deps, finder-data, autoloads)
10928 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10929 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10930 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10931 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10932
10933 2013-05-16 Leo Liu <sdl.web@gmail.com>
10934
10935 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10936 (octave-mode-menu, octave-mode-map): Remove its uses.
10937
10938 2013-05-16 Reto Zimmermann <reto@gnu.org>
10939
10940 Sync with upstream vhdl mode v3.34.2.
10941 * progmodes/vhdl-mode.el: Use `push' throughout.
10942 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10943 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10944 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10945 (vhdl-actual-generic-name): New option to derive actual generic name.
10946 (vhdl-port-paste-signals): Replace formal by actual generics.
10947 (vhdl-beautify): New name for old group vhdl-align. Update users.
10948 (vhdl-beautify-options): New option.
10949 (vhdl-last-input-event): New compat alias. Use throughout.
10950 (vhdl-goto-line): Replace user level function `goto-line'.
10951 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10952 vhdl-fix-statement-buffer.
10953 (vhdl-create-mode-menu): Add some entries.
10954 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10955 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10956 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10957 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10958 to force statements on one line.
10959 (vhdl-remove-trailing-spaces-region):
10960 New, split from vhdl-remove-trailing-spaces.
10961 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10962 Respect vhdl-beautify-options.
10963 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10964 (vhdl-update-sensitivity-list): Not add with index if exists without.
10965 Not include array index with signal. Ignore keywords in comments.
10966 (vhdl-get-visible-signals): Regexp tweaks.
10967 (vhdl-template-component-inst): Handle empty library.
10968 (vhdl-template-type): Add template for 'enum' type.
10969 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10970 Use vhdl-replace-string.
10971 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10972 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10973 (vhdl-speedbar-initialize): Update for above name change.
10974 (vhdl-compose-wire-components): Fix in handling of constants.
10975 (vhdl-error-regexp-emacs-alist): New variable.
10976 (vhdl-error-regexp-add-emacs): New function;
10977 adds support for new compile.el (Emacs 22+)
10978 (vhdl-generate-makefile-1): Change target order for single lib. units.
10979 Allow use of absolute file names.
10980
10981 2013-05-16 Leo Liu <sdl.web@gmail.com>
10982
10983 * simple.el (prog-indent-sexp): Indent enclosing defun.
10984
10985 2013-05-15 Glenn Morris <rgm@gnu.org>
10986
10987 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10988 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10989 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10990 (whitespace-highlight): Move to whitespace group.
10991
10992 * comint.el (comint-source):
10993 * pcmpl-linux.el (pcmpl-linux):
10994 * shell.el (shell-faces):
10995 * eshell/esh-opt.el (eshell-opt):
10996 * international/ccl.el (ccl): Remove empty custom groups.
10997
10998 * completion.el (dynamic-completion-mode):
10999 * jit-lock.el (jit-lock-debug-mode):
11000 * minibuffer.el (completion-in-region-mode):
11001 * type-break.el (type-break-mode-line-message-mode)
11002 (type-break-query-mode):
11003 * emulation/tpu-edt.el (tpu-edt-mode):
11004 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11005 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11006 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11007
11008 * term/xterm.el (xterm): Change parent group to terminals.
11009
11010 * master.el (master): Remove empty custom group.
11011 (master-mode): Remove unused :group argument.
11012 * textmodes/refill.el (refill): Remove empty custom group.
11013 (refill-mode): Remove unused :group argument.
11014
11015 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11016
11017 * cus-dep.el: Provide a feature.
11018 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11019 Don't mistakenly ignore files whose basenames match a basename
11020 from preloaded-file-list (eg cedet/ede/simple.el).
11021 Add a fallback method for getting :group.
11022
11023 2013-05-15 Juri Linkov <juri@jurta.org>
11024
11025 * isearch.el (isearch-char-by-name): Rename from
11026 `isearch-insert-char-by-name'. Doc fix.
11027 (isearch-forward): Mention `isearch-char-by-name' in
11028 the docstring. (Bug#13348)
11029
11030 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11031 `exit-minibuffer' instead of
11032 `isearch-nonincremental-exit-minibuffer'.
11033 (isearch-edit-string): Remove mention of
11034 `isearch-nonincremental-exit-minibuffer' from docstring.
11035 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11036 (isearch-forward-exit-minibuffer)
11037 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11038
11039 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * loadup.el: Just use unversioned DOC.
11042
11043 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11044 literals as extending to EOB.
11045 (nxml-last-fontify-end): Remove unused variable.
11046 (nxml-after-change1): Use with-silent-modifications.
11047 (nxml-extend-after-change-region): Simplify.
11048 (nxml-extend-after-change-region1): Remove function.
11049 (nxml-after-change1): Don't adjust for dependent regions.
11050 (nxml-fontify-matcher): Simplify.
11051 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11052 (xmltok-add-dependent): Remove function.
11053 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11054 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11055 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11056 unclosed <[[, <?, comment, and other literals as extending to EOB.
11057 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11058 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11059 Remove functions.
11060 (rng-do-some-validation-1): Don't mark dependent regions.
11061 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11062 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11063 (nxml-clear-dependent-regions): Remove functions.
11064 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11065 (nxml-ensure-scan-up-to-date):
11066 Don't clear&mark dependent regions.
11067
11068 2013-05-15 Leo Liu <sdl.web@gmail.com>
11069
11070 * progmodes/octave.el (octave-goto-function-definition):
11071 Improve and fix callers.
11072
11073 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11076 the setter (bug#14387).
11077
11078 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11079 surrounding group (bug#14402).
11080
11081 2013-05-14 Juri Linkov <juri@jurta.org>
11082
11083 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11084 (Bug#14390)
11085
11086 2013-05-14 Glenn Morris <rgm@gnu.org>
11087
11088 * progmodes/f90.el (f90-imenu-generic-expression):
11089 Fix typo in 2013-05-08 change. (Bug#14402)
11090
11091 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11092
11093 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11094 Remove signals for which replies are never received.
11095
11096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11097
11098 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11099 (gdb-handler-alist, gdb-handler-number): Remove variables.
11100 (gdb-handler-list): New variable.
11101 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11102 (gdb-pending-handler-p, gdb-handle-reply)
11103 (gdb-remove-all-pending-triggers): New functions.
11104 (gdb-discard-unordered-replies): New defcustom.
11105 (gdb-handler): New defstruct.
11106 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11107 instead of gdb-pending-triggers. Update docstring.
11108 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11109 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11110 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11111 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11112 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11113 (gdb-frame-handler): Pending triggers are now automatically managed.
11114 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11115 Remove argument.
11116 (gdb-input): Automatically handles pending triggers. Update docstring.
11117 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11118 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11119 Update comments.
11120 (gdb-done-or-error): Now use gdb-handle-reply.
11121
11122 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11123
11124 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11125 gdb-debug-log.
11126
11127 2013-05-14 Glenn Morris <rgm@gnu.org>
11128
11129 * subr.el (user-emacs-directory-warning): New option.
11130 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11131
11132 2013-05-14 Leo Liu <sdl.web@gmail.com>
11133
11134 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11135 during redisplay.
11136 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11137 (octave-font-lock-texinfo-comment): Fix invalid search bound
11138 error: wrong side of point.
11139
11140 2013-05-14 Glenn Morris <rgm@gnu.org>
11141
11142 * progmodes/flymake.el (flymake-xml-program): New option.
11143 (flymake-xml-init): Use it.
11144
11145 * term/xterm.el: Provide a feature.
11146
11147 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11148
11149 2013-05-13 Glenn Morris <rgm@gnu.org>
11150
11151 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11152 Add compat aliases as a hack workaround. (Bug#14384)
11153
11154 2013-05-13 Leo Liu <sdl.web@gmail.com>
11155
11156 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11157 ###, and %!.
11158 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11159 C-M-q.
11160 (octave-comment-start-skip): Include %!.
11161 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11162
11163 2013-05-12 Leo Liu <sdl.web@gmail.com>
11164
11165 * progmodes/octave.el (inferior-octave-startup): Store the value
11166 of __octave_srcdir__ for octave-source-directories.
11167 (inferior-octave-check-process): New function refactored out of
11168 inferior-octave-send-list-and-digest.
11169 (octave-source-directories)
11170 (octave-find-definition-filename-function): New variables.
11171 (octave-source-directories)
11172 (octave-find-definition-default-filename): New functions.
11173 (octave-find-definition): Improve to find functions implemented in C++.
11174
11175 2013-05-12 Glenn Morris <rgm@gnu.org>
11176
11177 * calendar/diary-lib.el (diary-outlook-format-1):
11178 Don't include dayname in the output. (Bug#14349)
11179
11180 2013-05-11 Glenn Morris <rgm@gnu.org>
11181
11182 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11183
11184 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11185 Treat cc-provide like provide.
11186
11187 2013-05-11 Kevin Ryde <user42@zip.com.au>
11188
11189 * cus-dep.el (custom-make-dependencies):
11190 Use generated-autoload-load-name for the sake of files such
11191 such cedet/semantic/bovine/c.el, where the base file name
11192 is not in load-path. (Bug#5277)
11193
11194 2013-05-11 Glenn Morris <rgm@gnu.org>
11195
11196 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11197 Provide features.
11198
11199 2013-05-11 Leo Liu <sdl.web@gmail.com>
11200
11201 * progmodes/octave.el (octave-indent-comment): Improve.
11202 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11203 (octave-eldoc-function-signatures, octave-eldoc-function):
11204 New functions.
11205 (octave-mode, inferior-octave-mode): Add eldoc support.
11206
11207 2013-05-11 Richard Stallman <rms@gnu.org>
11208
11209 * epa.el (epa-decrypt-file): Take output file name as argument
11210 and read it using `interactive'.
11211
11212 2013-05-11 Leo Liu <sdl.web@gmail.com>
11213
11214 * progmodes/octave.el (octave-beginning-of-line)
11215 (octave-end-of-line): Check before using up-list because it jumps
11216 out of more syntactic contructs since moving to smie.
11217 (octave-indent-comment): New function.
11218 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11219 (octave-begin-keywords, octave-end-keywords)
11220 (octave-reserved-words, octave-smie-bnf-table)
11221 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11222
11223 2013-05-11 Glenn Morris <rgm@gnu.org>
11224
11225 * faces.el (internal-face-x-get-resource):
11226 * frame.el (ns-display-monitor-attributes-list):
11227 * calc/calc-aent.el (math-to-radians-2):
11228 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11229 Fix declarations.
11230
11231 * calc/calc-menu.el: Make it loadable in isolation.
11232
11233 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11234 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11235 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11236 (eudc-bbdb-query-internal): Require 'bbdb.
11237
11238 * lpr.el (lpr-headers-switches):
11239 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11240
11241 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11242
11243 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11244
11245 * term.el (term-set-escape-char): Make it idempotent.
11246
11247 2013-05-10 Leo Liu <sdl.web@gmail.com>
11248
11249 * progmodes/octave.el (inferior-octave-completion-table):
11250 No longer a function and all uses changed. Use cache to speed up
11251 completion due to bug#11906.
11252 (octave-beginning-of-defun): Re-write to be more general.
11253
11254 2013-05-10 Glenn Morris <rgm@gnu.org>
11255
11256 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11257
11258 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * comint.el (comint-redirect-send-command-to-process): Use :around
11261 rather than :override for comint-redirect-filter.
11262 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11263 Call it instead of comint-redirect-original-filter-function (which
11264 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11265
11266 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11267
11268 * frame.el (display-monitor-attributes-list): Add NS case.
11269 (ns-display-monitor-attributes-list): Declare.
11270
11271 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11272
11273 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11274
11275 2013-05-09 Glenn Morris <rgm@gnu.org>
11276
11277 * international/fontset.el (vertical-centering-font-regexp):
11278 Set standard-value.
11279
11280 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11281
11282 * bookmark.el (bookmark-search-delay):
11283 * cus-start.el (vertical-centering-font-regexp):
11284 * ps-mule.el (ps-mule-font-info-database-default):
11285 * ps-print.el (ps-default-fg, ps-default-bg):
11286 * type-break.el (type-break-good-break-interval):
11287 * whitespace.el (whitespace-indentation-regexp)
11288 (whitespace-space-after-tab-regexp):
11289 * emacs-lisp/testcover.el (testcover-1value-functions)
11290 (testcover-noreturn-functions, testcover-progn-functions)
11291 (testcover-prog1-functions):
11292 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11293 * eshell/em-glob.el (eshell-glob-translate-alist):
11294 * play/tetris.el (tetris-tty-colors):
11295 * progmodes/cpp.el (cpp-face-default-list):
11296 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11297 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11298 (idlwave-help-browser-generic-args):
11299 * progmodes/make-mode.el (makefile-special-targets-list):
11300 * progmodes/python.el (python-shell-virtualenv-path):
11301 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11302 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11303 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11304 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11305 * textmodes/reftex-vars.el (reftex-format-label-function):
11306 * textmodes/remember.el (remember-diary-file): Fix custom types.
11307
11308 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11309 Add :version.
11310
11311 2013-05-09 Leo Liu <sdl.web@gmail.com>
11312
11313 * progmodes/octave.el (inferior-octave-completion-at-point):
11314 Restore file completion. (Bug#14300)
11315 (inferior-octave-startup): Fix incorrect highlighting for the
11316 first prompt.
11317
11318 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * progmodes/ruby-mode.el: First cut at SMIE support.
11321 (ruby-use-smie): New var.
11322 (ruby-smie-grammar): New constant.
11323 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11324 (ruby-smie--forward-token, ruby-smie--backward-token)
11325 (ruby-smie-rules): New functions.
11326 (ruby-mode-variables): Setup SMIE if applicable.
11327
11328 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11329
11330 * simple.el (line-move-visual): Signal beginning/end of buffer
11331 only if vertical-motion moved less than it was requested. Avoids
11332 silly incorrect error messages when there are display strings with
11333 multiple newlines at EOL.
11334
11335 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11338 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11339 (prolog-char-quote-workaround):
11340 * progmodes/cperl-mode.el (cperl-under-as-char):
11341 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11342 Mark as obsolete.
11343 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11344 their declaration.
11345 (vhdl-mode-syntax-table-init): Remove.
11346
11347 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11348 last change.
11349
11350 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11351 syntax for "_".
11352 (ld-script-font-lock-keywords):
11353 Change regexps to use things like \_< and \_>.
11354
11355 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11356 Change all regexps to use things like \_< and \_>.
11357
11358 * progmodes/autoconf.el (autoconf-definition-regexp)
11359 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11360 Handle a _ with symbol syntax.
11361 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11362
11363 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11364 Consolidate declaration.
11365 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11366 the declaration.
11367 (ada-create-syntax-table): Remove.
11368 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11369 already has the right syntax nowadays.
11370 (ada-goto-next-word): Don't change the syntax of "_".
11371
11372 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11373 with-wrapper-hook.
11374
11375 2013-05-08 Sam Steingold <sds@gnu.org>
11376
11377 * thingatpt.el (thing-at-point): Accept optional second argument
11378 NO-PROPERTIES to strip the text properties from the return value.
11379 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11380 to `thing-at-point' instead of stripping the properties ourselves.
11381 Also, when `thing-at-point' fails to find a url, prepend "http://"
11382 to the filename at point on the assumption that the user is
11383 pointing at something like gnu.org/gnu.
11384
11385 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11386
11387 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11388 * faces.el (crm-separator):
11389 Silence byte-compiler.
11390
11391 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11392 (tool-bar-map): Remove unneeded defvars.
11393
11394 2013-05-08 Leo Liu <sdl.web@gmail.com>
11395
11396 Re-work a fix for bug#10994 based on Le Wang's patch.
11397 * ido.el (ido-remove-consecutive-dups): New helper.
11398 (ido-completing-read): Use it.
11399 (ido-chop): Revert fix for bug#10994.
11400
11401 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11402
11403 * cus-edit.el (custom-save-variables):
11404 Pretty-print long values. (Bug#14187)
11405
11406 2013-05-08 Glenn Morris <rgm@gnu.org>
11407
11408 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11409 (m4-mode-syntax-table): Init in the defvar.
11410 (m4-mode-abbrev-table): Let define-derived-mode define it.
11411
11412 2013-05-08 Tom Tromey <tromey@redhat.com>
11413
11414 * progmodes/m4-mode.el (m4-mode-syntax-table):
11415 Do not treat "_" as word constituent. (Bug#14167)
11416
11417 2013-05-07 Glenn Morris <rgm@gnu.org>
11418
11419 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11420 Remove explicit eshell-isearch-cancel-map.
11421
11422 * progmodes/f90.el (f90-smart-end-names): New option.
11423 (f90-smart-end): Doc fix.
11424 (f90-end-block-optional-name): New constant.
11425 (f90-block-match): Respect f90-smart-end-names.
11426
11427 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11430 about implicit semi-colons (bug#14218).
11431
11432 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11433
11434 * frame.el (display-monitor-attributes-list)
11435 (frame-monitor-attributes): New functions.
11436
11437 2013-05-06 Leo Liu <sdl.web@gmail.com>
11438
11439 * progmodes/octave.el (octave-syntax-propertize-function): Change
11440 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11441 (octave-font-lock-keywords): Use octave-operator-regexp.
11442 (octave-completion-at-point): Rename from
11443 octave-completion-at-point-function.
11444 (inferior-octave-directory-tracker): Robustify.
11445 (octave-text-functions): Remove and fix its uses. No such things
11446 any more.
11447
11448 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * emacs-lisp/trace.el (trace--display-buffer): New function.
11451 (trace-make-advice): Use it.
11452
11453 2013-05-06 Juri Linkov <juri@jurta.org>
11454
11455 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11456 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11457 Doc fix.
11458 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11459 in the help string. (Bug#12985)
11460
11461 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11462
11463 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11464
11465 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * progmodes/perl-mode.el: Add support for here documents.
11468 (perl-syntax-propertize-function): Match here-doc markers.
11469 (perl-syntax-propertize-special-constructs): Find their end.
11470 (perl-imenu-generic-expression): Use [:alnum:].
11471
11472 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11473 (advice--add-function): Refresh the advice if already present
11474 (bug#14317).
11475
11476 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11477
11478 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11479
11480 2013-05-06 Glenn Morris <rgm@gnu.org>
11481
11482 * w32-fns.el (w32-charset-info-alist): Declare.
11483
11484 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11485 of its defcustom properties.
11486 (eshell-cmpl-initialize): No need to load pcomplete.
11487
11488 * generic-x.el: No need to require comint when compiling.
11489
11490 * net/eudc-export.el: Make it loadable without bbdb.
11491 (top-level): Use require rather than load-library.
11492 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11493 (eudc-batch-export-records-to-bbdb)
11494 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11495 Require bbdb.
11496
11497 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11498
11499 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11500 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11501 some tweaks, instead.
11502
11503 2013-05-05 Leo Liu <sdl.web@gmail.com>
11504
11505 * progmodes/octave.el (octave-font-lock-keywords)
11506 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11507 (inferior-octave-send-list-and-digest): Improve error message.
11508 (octave-mode, inferior-octave-mode): Use setq-local.
11509 (octave-help): Set info-lookup-mode.
11510
11511 2013-05-05 Richard Stallman <rms@gnu.org>
11512
11513 * vc/compare-w.el (compare-windows-whitespace):
11514 Treat no-break space as whitespace.
11515
11516 * mail/rmailsum.el (rmail-summary-rmail-update):
11517 Detect empty summary and don't change selected message.
11518 (rmail-summary-goto-msg): Likewise.
11519
11520 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11521 Doc fixes, rename args.
11522
11523 2013-05-05 Alan Mackenzie <acm@muc.de>
11524
11525 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11526
11527 2013-05-05 Juri Linkov <juri@jurta.org>
11528
11529 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11530 to not add the length of the summary segment to the return value.
11531 (Bug#14125)
11532
11533 2013-05-05 Leo Liu <sdl.web@gmail.com>
11534
11535 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11536 (inferior-octave-output-filter): Remove.
11537 (octave-send-region, inferior-octave-startup): Fix callers.
11538 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11539 (octave-binary-file-extensions): New user variable.
11540 (octave-find-definition): Confirm if opening binary files.
11541 (octave-help-file): Use octave-find-definition to get the binary
11542 confirmation.
11543 (octave-help): Adjust for octave-help-file change.
11544
11545 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11548 Merge the two entries that handle function definitions.
11549 (pascal--syntax-propertize): New const.
11550 (pascal-mode): Use it. Use setq-local.
11551
11552 2013-05-04 Glenn Morris <rgm@gnu.org>
11553
11554 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11555 (diary-from-outlook): Respect diary-from-outlook-function.
11556
11557 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11560 Move the declaration from C.
11561 (read-minibuffer, eval-minibuffer): Move from C.
11562 (completion-setup-function): Avoid minibuffer-completion-contents.
11563
11564 2013-05-03 Leo Liu <sdl.web@gmail.com>
11565
11566 * progmodes/octave.el (octave-font-lock-keywords): Do not
11567 dehighlight 'end' in comments or strings.
11568 (octave-completing-read, octave-goto-function-definition):
11569 New helpers.
11570 (octave-help-buffer): New user variable.
11571 (octave-help-file, octave-help-function): New button types.
11572 (octave-help): New command and bind it to C-h ;.
11573 (octave-find-definition): New command and bind it to M-.
11574 (user-error): Alias to error if not defined.
11575
11576 2013-05-02 Leo Liu <sdl.web@gmail.com>
11577
11578 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11579 for \. (bug#14332)
11580 (octave-font-lock-keywords): Include [ and {.
11581
11582 2013-05-02 Leo Liu <sdl.web@gmail.com>
11583
11584 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11585 (inferior-octave): Remove calling comint-mode and return the buffer.
11586 (inferior-octave-startup): Cosmetic changes.
11587
11588 2013-05-02 Leo Liu <sdl.web@gmail.com>
11589
11590 * progmodes/octave.el (octave-syntax-propertize-function):
11591 Include the case when ' is at line beginning. (Bug#14336)
11592
11593 2013-05-02 Glenn Morris <rgm@gnu.org>
11594
11595 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11596 * desktop.el (vc-dir-mode): Just autoload it here.
11597
11598 2013-05-02 Alan Mackenzie <acm@muc.de>
11599
11600 Eliminate variable c-standard-font-lock-fontify-region-function.
11601 * progmodes/cc-mode.el
11602 (c-standard-font-lock-fontify-region-function): Remove.
11603 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11604
11605 2013-05-01 Leo Liu <sdl.web@gmail.com>
11606
11607 * progmodes/octave.el: Compatible with older emacs-24 releases.
11608 (inferior-octave-has-built-in-variables): Remove. Built-in
11609 variables were removed from Octave in 2007.
11610 (inferior-octave-startup): Fix uses.
11611 (comint-line-beginning-position): Remove compatibility code for
11612 emacs 21.
11613
11614 2013-05-01 Juri Linkov <juri@jurta.org>
11615
11616 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11617
11618 2013-05-01 Juri Linkov <juri@jurta.org>
11619
11620 * comint.el (comint-previous-matching-input): Don't print message
11621 "History item: %d" when `isearch-mode' is active.
11622 (comint-history-isearch-message): Print message "History item: %d"
11623 when `comint-input-ring-index' is not empty and this function is
11624 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11625
11626 2013-05-01 Leo Liu <sdl.web@gmail.com>
11627
11628 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11629 definitions. Use completion-at-point to insert keywords.
11630 (octave-abbrev-start): Remove.
11631 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11632
11633 2013-04-30 Leo Liu <sdl.web@gmail.com>
11634
11635 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11636 change.
11637
11638 2013-04-30 Alan Mackenzie <acm@muc.de>
11639
11640 Handle arbitrarily long C++ member initialisation lists.
11641 * progmodes/cc-engine.el (c-back-over-member-initializers):
11642 new function.
11643 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11644 (most) member init lists.
11645
11646 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11647
11648 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11649 variable.
11650
11651 2013-04-30 Leo Liu <sdl.web@gmail.com>
11652
11653 * progmodes/octave.el (octave-variables): Remove. No builtin
11654 variables any more. All converted to functions.
11655 (octave-font-lock-keywords, octave-completion-at-point-function):
11656 Fix uses.
11657 (octave-font-lock-texinfo-comment): New user variable.
11658 (octave-texinfo-font-lock-keywords): New variable for texinfo
11659 comment block.
11660 (octave-function-comment-block): New face.
11661 (octave-font-lock-texinfo-comment): New function.
11662 (octave-mode): Font lock texinfo comment block.
11663
11664 2013-04-29 Leo Liu <sdl.web@gmail.com>
11665
11666 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11667 indexing expression.
11668 (octave-continuation-string): Do not use \.
11669 (inferior-octave-complete-impossible): Remove.
11670 (inferior-octave-completion-table)
11671 (inferior-octave-completion-at-point): Remove its uses.
11672 (inferior-octave-startup): completion_matches was introduced to
11673 Octave in 1996 so safe to assume it.
11674 (octave-function-file-comment): Improve to follow how Octave does it.
11675 (octave-update-function-file-comment): Tweak.
11676
11677 2013-04-29 Leo Liu <sdl.web@gmail.com>
11678
11679 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11680 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11681 (octave-function-file-comment): Fix typo.
11682 (octave-sync-function-file-names): Use read-char-choice.
11683
11684 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11685
11686 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11687 to t for the less important warnings.
11688
11689 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11690
11691 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11692
11693 2013-04-27 Glenn Morris <rgm@gnu.org>
11694
11695 * vc/log-view.el (log-view-current-entry):
11696 Treat "---" separator lines as part of the following rev. (Bug#14169)
11697
11698 2013-04-27 Juri Linkov <juri@jurta.org>
11699
11700 * subr.el (read-number): Doc fix about using it by interactive
11701 code letter `n'. (Bug#14254)
11702
11703 2013-04-27 Juri Linkov <juri@jurta.org>
11704
11705 * desktop.el (desktop-auto-save-timeout): New option.
11706 (desktop-file-checksum): New variable.
11707 (desktop-save): Add optional arg `auto-save' and don't auto-save
11708 if nothing changed.
11709 (desktop-auto-save-timer): New variable.
11710 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11711 (after-init-hook): Call `desktop-auto-save-set-timer'.
11712 Suggested by Reuben Thomas <rrt@sc3d.org> in
11713 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11714
11715 2013-04-27 Leo Liu <sdl.web@gmail.com>
11716
11717 * progmodes/octave.el (octave-function-file-p)
11718 (octave-skip-comment-forward, octave-function-file-comment)
11719 (octave-update-function-file-comment): New functions.
11720 (octave-mode-map): Bind C-c ; to
11721 octave-update-function-file-comment.
11722 (octave-mode-menu): Add octave-update-function-file-comment.
11723 (octave-mode, inferior-octave-mode): Fix doc-string.
11724 (octave-insert-defun): Conform to Octave's coding convention.
11725 (Bug#14285)
11726
11727 * files.el (basic-save-buffer): Don't let errors in
11728 before-save-hook prevent saving buffer.
11729
11730 2013-04-20 Roland Winkler <winkler@gnu.org>
11731
11732 * faces.el (read-face-name): Use completing-read if arg multiple
11733 is nil.
11734
11735 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11736
11737 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11738 displayed, move point to after the totals line.
11739 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11740 for the details.
11741
11742 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11745 Add current dir to the load-path.
11746 (package-generate-autoloads): Don't rely on
11747 autoload-ensure-default-file.
11748
11749 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11750
11751 * textmodes/remember.el (remember-store-in-files): Document that
11752 the file name format is passed to `format-time-string'.
11753
11754 2013-04-26 Leo Liu <sdl.web@gmail.com>
11755
11756 * progmodes/octave.el (octave-sync-function-file-names): New function.
11757 (octave-mode): Use it in before-save-hook.
11758
11759 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11762 (bug#14274).
11763
11764 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11765 \n and comment, even if it's not an implicit ; (bug#14218).
11766
11767 2013-04-26 Glenn Morris <rgm@gnu.org>
11768
11769 * subr.el (read-number): Once more use `read' rather than
11770 `string-to-number', to trap non-numeric input. (Bug#14254)
11771
11772 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11773
11774 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11775 Use `syntax-multiline' text property consistently instead of
11776 `font-lock-multiline'. (Bug#14237)
11777
11778 2013-04-26 Glenn Morris <rgm@gnu.org>
11779
11780 * emacs-lisp/shadow.el (list-load-path-shadows):
11781 No longer necessary to check for duplicate simple.el, since
11782 2012-07-07 change to init_lread to not include installation lisp
11783 directories in load-path when running uninstalled. (Bug#14270)
11784
11785 2013-04-26 Leo Liu <sdl.web@gmail.com>
11786
11787 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11788 (octave-mode, inferior-octave-mode): Use setq-local.
11789 (octave-not-in-string-or-comment-p): Rename to
11790 octave-in-string-or-comment-p.
11791 (octave-in-comment-p, octave-in-string-p)
11792 (octave-in-string-or-comment-p): Replace defsubst with defun.
11793
11794 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11795
11796 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11797
11798 2013-04-25 Bastien Guerry <bzg@gnu.org>
11799
11800 * textmodes/remember.el (remember-data-directory)
11801 (remember-directory-file-name-format): Fix custom types.
11802
11803 2013-04-25 Leo Liu <sdl.web@gmail.com>
11804
11805 * progmodes/octave.el (octave-completion-at-point-function):
11806 Make use of inferior octave process.
11807 (octave-initialize-completions): Remove.
11808 (inferior-octave-completion-table): New function.
11809 (inferior-octave-completion-at-point): Use it.
11810 (octave-completion-alist): Remove.
11811
11812 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11813
11814 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11815 (opascal-mode-syntax-table): New var.
11816 (opascal-literal-kind, opascal-is-literal-end)
11817 (opascal-literal-token-at): Rewrite.
11818 (opascal--literal-start-re, opascal-font-lock-keywords)
11819 (opascal--syntax-propertize): New constants.
11820 (opascal-font-lock-defaults): Adjust.
11821 (opascal-mode): Use them. Set comment-<foo> variables as well.
11822 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11823 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11824 (delphi-other-face, opascal-other-face): Remove face variables.
11825 (opascal-save-state): Remove macro.
11826 (opascal-fontifying-progress-step): Remove constant.
11827 (opascal--ignore-changes): Remove var.
11828 (opascal-set-token-property, opascal-parse-next-literal)
11829 (opascal-is-stable-literal, opascal-complete-literal)
11830 (opascal-is-literal-start, opascal-face-of)
11831 (opascal-parse-region, opascal-parse-region-until-stable)
11832 (opascal-fontify-region, opascal-after-change)
11833 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11834 (opascal-debug-parse-region, opascal-debug-parse-window)
11835 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11836 (opascal-debug-fontify-buffer): Remove.
11837 (opascal-debug-mode-map): Adjust accordingly.
11838
11839 2013-04-25 Leo Liu <sdl.web@gmail.com>
11840
11841 Merge octave-mod.el and octave-inf.el into octave.el with some
11842 cleanups.
11843 * progmodes/octave.el: New file renamed from octave-mod.el.
11844 * progmodes/octave-inf.el: Merged into octave.el.
11845 * progmodes/octave-mod.el: Renamed to octave.el.
11846
11847 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11848
11849 * textmodes/reftex-vars.el
11850 (reftex-label-ignored-macros-and-environments): New defcustom.
11851
11852 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11853
11854 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11855
11856 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11857 (smie-indent-keyword): Improve the check to ensure that the next
11858 comment is really on the same line.
11859 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11860
11861 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11862 semi-colons if the line is not otherwise empty (bug#14218).
11863
11864 2013-04-25 Glenn Morris <rgm@gnu.org>
11865
11866 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11867
11868 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * progmodes/opascal.el (opascal-set-token-property): Rename from
11871 opascal-set-text-properties and only set `token' (bug#14134).
11872 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11873 (opascal-literal-text-properties): Remove.
11874 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11875 Adjust callers.
11876
11877 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11878
11879 * textmodes/remember.el (remember-handler-functions): Add an
11880 option for a new handler `remember-store-in-files'.
11881 (remember-data-directory, remember-directory-file-name-format):
11882 New options.
11883 (remember-store-in-files): New function to store remember notes
11884 as separate files within a directory.
11885
11886 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11887
11888 * progmodes/compile.el (compilation-next-error-function):
11889 Pass "formats" to compilation-find-file (bug#11777).
11890
11891 2013-04-24 Glenn Morris <rgm@gnu.org>
11892
11893 * vc/vc-bzr.el (vc-bzr-print-log):
11894 * vc/vc-hg.el (vc-hg-print-log):
11895 * vc/vc-svn.el (vc-svn-print-log):
11896 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11897
11898 * vc/vc-bzr.el (vc-bzr-print-log):
11899 * vc/vc-cvs.el (vc-cvs-print-log):
11900 * vc/vc-git.el (vc-git-print-log):
11901 * vc/vc-hg.el (vc-hg-print-log):
11902 * vc/vc-mtn.el (vc-mtn-print-log):
11903 * vc/vc-rcs.el (vc-rcs-print-log):
11904 * vc/vc-sccs.el (vc-sccs-print-log):
11905 * vc/vc-svn.el (vc-svn-print-log):
11906 * vc/vc.el (vc-print-log-internal): Doc fixes.
11907
11908 2013-04-23 Glenn Morris <rgm@gnu.org>
11909
11910 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11911 Remove venerable code attempting to avoid substitute-command-keys.
11912
11913 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11914
11915 * textmodes/reftex-vars.el (reftex-label-regexps):
11916 Call `reftex-compile-variables' after changes to this variable.
11917
11918 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11921 Use lexical-binding.
11922 (jit-lock-force-redisplay): Use markers, check buffer's continued
11923 existence and beware narrowed buffers.
11924 (jit-lock-fontify-now): Adjust call accordingly.
11925
11926 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11929 to avoid misleading the user.
11930
11931 2013-04-22 Leo Liu <sdl.web@gmail.com>
11932
11933 * info-look.el: Prefer latex2e.info. (Bug#14240)
11934
11935 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11936
11937 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11938
11939 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11940 * net/tramp.el (tramp-call-process): ... here.
11941 (tramp-set-completion-function, tramp-parse-putty):
11942 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11943 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11944 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11945 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11946 (tramp-call-local-coding-command): Use `tramp-call-process'
11947 instead of `tramp-compat-call-process'.
11948
11949 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11950 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11951 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11952 (tramp-find-inline-compress): Improve traces.
11953 (tramp-maybe-send-script): Check for Perl binary.
11954 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11955
11956 2013-04-22 Daiki Ueno <ueno@gnu.org>
11957
11958 * epg.el (epg-context-pinentry-mode): New function.
11959 (epg-context-set-pinentry-mode): New function.
11960 (epg--start): Pass --pinentry-mode option to gpg command.
11961
11962 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11963
11964 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11965 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11966 `completion-at-point'. (Bug#13774)
11967
11968 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11969 default key binding for `describe-distribution' has been moved to
11970 `C-h C-o'. (Bug#13970)
11971
11972 2013-04-21 Glenn Morris <rgm@gnu.org>
11973
11974 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11975 Add doc strings.
11976 (vc-print-log): Clarify interactive prompt.
11977
11978 2013-04-20 Glenn Morris <rgm@gnu.org>
11979
11980 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11981 No longer include timestamp etc information.
11982
11983 2013-04-20 Roland Winkler <winkler@gnu.org>
11984
11985 * faces.el (read-face-name): Bug fix, return just one face if arg
11986 multiple is nil. (Bug#14209)
11987
11988 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11991 (remove-function): Autoload.
11992
11993 * comint.el (comint-redirect-original-filter-function): Remove.
11994 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11995 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11996 (vc-cvs-annotate-command):
11997 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11998 * progmodes/prolog.el (prolog-consult-compile):
11999 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12000 Use add/remove-function instead.
12001 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12002 (gud-tooltip-process-output, gud-tooltip-tips):
12003 Use add/remove-function instead.
12004 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12005 (scheme-interaction-mode, exit-scheme-interaction-mode):
12006 Use add/remove-function instead.
12007
12008 * vc/vc-dispatcher.el: Use lexical-binding.
12009 (vc--process-sentinel): Rename from vc-process-sentinel.
12010 Change last arg to be the code to run. Don't use vc-previous-sentinel
12011 and vc-sentinel-commands any more.
12012 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12013 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12014
12015 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12016
12017 * progmodes/sh-script.el (sh-imenu-generic-expression):
12018 Handle function names with a single character. (Bug#14111)
12019
12020 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12021
12022 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12023 for subroutines defined in an eval (bug#14182).
12024
12025 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12026
12027 * bookmark.el (bookmark-completing-read): Improve handling of empty
12028 string (bug#14176).
12029
12030 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12033
12034 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12035
12036 New faster Imenu implementation (bug#14058).
12037 * progmodes/python.el:
12038 (python-imenu-prev-index-position):
12039 (python-imenu-format-item-label-function)
12040 (python-imenu-format-parent-item-label-function)
12041 (python-imenu-format-parent-item-jump-label-function):
12042 New vars.
12043 (python-imenu-format-item-label)
12044 (python-imenu-format-parent-item-label)
12045 (python-imenu-format-parent-item-jump-label)
12046 (python-imenu--put-parent, python-imenu--build-tree)
12047 (python-imenu-create-index, python-imenu-create-flat-index)
12048 (python-util-popn): New functions.
12049 (python-mode): Set imenu-create-index-function to
12050 python-imenu-create-index.
12051
12052 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * winner.el (winner-active-region): Use region-active-p, activate-mark
12055 and deactivate-mark (bug#14225).
12056
12057 * simple.el (deactivate-mark): Don't inline it.
12058
12059 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12060
12061 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12062
12063 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12064
12065 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12066 file extensions from the archive-mode entry in order to prefer
12067 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12068
12069 2013-04-18 Leo Liu <sdl.web@gmail.com>
12070
12071 * bindings.el (help-event-list): Add ?\?.
12072
12073 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * subr.el (with-wrapper-hook): Declare obsolete.
12076 * simple.el (filter-buffer-substring-function): New hook.
12077 (filter-buffer-substring): Use it.
12078 (filter-buffer-substring-functions): Mark obsolete.
12079 * minibuffer.el (completion-in-region-function): New hook.
12080 (completion-in-region): Use it.
12081 (completion-in-region-functions): Mark obsolete.
12082 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12083 * abbrev.el (abbrev-expand-function): New hook.
12084 (expand-abbrev): Use it.
12085 (abbrev-expand-functions): Mark obsolete.
12086 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12087 and :filter-return.
12088
12089 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12090
12091 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12092 and do not care about match data.
12093
12094 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12097 completion tables when completing error conditions and
12098 `declare' arguments.
12099 (lisp-complete-symbol, field-complete): Mark as obsolete.
12100 (check-parens): Unmatched parens are user errors.
12101 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12102
12103 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12104
12105 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12106 command changed buffer (ie. `flyspell-pre-buffer' is not current
12107 buffer), which prevents making decisions based on invalid value of
12108 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12109 cause an error when `flyspell-pre-point' was nil after switching
12110 buffers.
12111 (flyspell-post-command-hook): No longer needs to change buffers when
12112 checking pre-word. While at it remove unnecessary progn.
12113
12114 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12115
12116 * textmodes/ispell.el (ispell-add-per-file-word-list):
12117 Fix `flyspell-correct-word-before-point' error when accepting
12118 words and `coment-padding' is an integer by using
12119 `comment-normalize-vars' (Bug #14214).
12120
12121 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12122
12123 New defun movement commands.
12124 * progmodes/python.el (python-nav--syntactically)
12125 (python-nav--forward-defun, python-nav-backward-defun)
12126 (python-nav-forward-defun): New functions.
12127
12128 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12129
12130 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12131 (python-syntax-context): Use named compiler-macro for backwards
12132 compatibility with Emacs 24.x.
12133
12134 2013-04-17 Leo Liu <sdl.web@gmail.com>
12135
12136 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12137 octave-hide-process-buffer.
12138
12139 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12142 (bug#14216).
12143
12144 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12145
12146 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12147 Fix adjustment of offset when receiving incomplete responses from GDB
12148 (bug#14129).
12149
12150 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12151
12152 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12153 python-mode-abbrev-table.
12154 (python-skeleton-define): Adjust accordingly.
12155 (python-mode-abbrev-table): New table that inherits from it so that
12156 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12157
12158 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12159 (abbrev-symbol): Use it.
12160 (abbrev--before-point): Use it since we already handle inheritance.
12161
12162 2013-04-16 Leo Liu <sdl.web@gmail.com>
12163
12164 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12165 binding to info-lookup-symbol.
12166
12167 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12168
12169 * minibuffer.el (completion--twq-all):
12170 * term/ns-win.el (ns-initialize-window-system):
12171 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12172
12173 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12174
12175 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12176 global bindings.
12177
12178 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12179
12180 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12181
12182 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12183 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12184 to nil.
12185 (ruby-end-of-defun): Remove the unused arg, change the docstring
12186 to reflect that this function is only used as the value of
12187 `end-of-defun-function'.
12188 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12189 to reflect an earlier change that beginning/end-of-defun functions
12190 jump between methods in a class definition, as well as top-level
12191 functions.
12192
12193 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * minibuffer.el (minibuffer-complete): Don't just scroll
12196 a *Completions* that's been iconified.
12197 (minibuffer-force-complete): Make sure repetitions do cycle when going
12198 through completion-in-region -> minibuffer-complete.
12199
12200 2013-04-15 Alan Mackenzie <acm@muc.de>
12201
12202 Correct the placement of c-cpp-delimiters when there're #s not at
12203 col 0.
12204
12205 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12206 place a submatch around the #.
12207 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12208 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12209 on the #, not BOL.
12210
12211 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12212
12213 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12214 (advice--member-p): New arg `name'.
12215 (advice--add-function, advice-member-p): Use it (bug#14202).
12216
12217 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12218
12219 Reformulate java imenu-generic-expression.
12220 The old expression contained ill formed regexps.
12221
12222 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12223 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12224 (cc-imenu-java-method-arg-regexp): New defconsts.
12225 (cc-imenu-java-build-type-args-regex): New defun.
12226 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12227 handling of spaces in the regexp.
12228
12229 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12230
12231 * textmodes/ispell.el (ispell-command-loop): Remove
12232 flyspell highlight of a word when ispell accepts it (bug #14178).
12233
12234 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12235
12236 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12237 uses code from the previous `ange-ftp-run-real-handler'.
12238 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12239 only in case that function exist. This is needed for proper
12240 unloading of Tramp.
12241
12242 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12243
12244 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12245
12246 * textmodes/reftex.el (reftex-compile-variables): Use it.
12247
12248 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12249
12250 * files.el (normal-mode): Only use default major-mode if no other mode
12251 was specified.
12252
12253 * emacs-lisp/trace.el (trace-values): New function.
12254
12255 * files.el: Allow : in local variables (bug#14089).
12256 (hack-local-variable-regexp): New var.
12257 (hack-local-variables-prop-line, hack-local-variables): Use it.
12258
12259 2013-04-13 Roland Winkler <winkler@gnu.org>
12260
12261 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12262 data before it gets modified by bibtex-beginning-of-entry.
12263
12264 2013-04-13 Roland Winkler <winkler@gnu.org>
12265
12266 * textmodes/bibtex.el (bibtex-url): Doc fix.
12267
12268 2013-04-13 Roland Winkler <winkler@gnu.org>
12269
12270 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12271 does not visit a BibTeX file, exclude it from the list of buffers
12272 returned by bibtex-initialize.
12273
12274 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12275
12276 * window.el (split-window): Remove interactive form, since as a
12277 command this function is a special case of split-window-below.
12278 Correct doc string.
12279
12280 2013-04-12 Roland Winkler <winkler@gnu.org>
12281
12282 * faces.el (read-face-name): Do not override value of arg default.
12283 Allow single faces and strings as default values. Remove those
12284 elements from return value that are not faces.
12285 (describe-face): Simplify.
12286 (face-at-point): New optional args thing and multiple so that this
12287 function can provide the same functionality previously provided by
12288 read-face-name.
12289 (make-face-bold, make-face-unbold, make-face-italic)
12290 (make-face-unitalic, make-face-bold-italic, invert-face)
12291 (modify-face, read-face-and-attribute): Use face-at-point.
12292
12293 * cus-edit.el (customize-face, customize-face-other-window)
12294 * cus-theme.el (custom-theme-add-face)
12295 * face-remap.el (buffer-face-set)
12296 * facemenu.el (facemenu-set-face): Use face-at-point.
12297
12298 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12299
12300 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12301
12302 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12303
12304 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12305 off leading { and trailing } from field values.
12306
12307 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12308
12309 * emacs-lisp/timer.el (timer--check): New function.
12310 (timer--time, timer-set-function, timer-event-handler): Use it.
12311 (timer-set-idle-time): Simplify.
12312 (timer--activate): CSE.
12313 (timer-event-handler): Give more info in error message.
12314 (internal-timer-start-idle): New function, moved from C.
12315
12316 * mpc.el (mpc-proc): Add `restart' argument.
12317 (mpc-proc-cmd): Use it.
12318 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12319 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12320 less often.
12321
12322 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12323
12324 * progmodes/sh-script.el: Implement `sh-mode' own
12325 `add-log-current-defun-function' (bug#14112).
12326 (sh-current-defun-name): New function.
12327 (sh-mode): Use the function.
12328
12329 2013-04-09 Bastien Guerry <bzg@gnu.org>
12330
12331 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12332
12333 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12336
12337 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12338 timer (bug#14156).
12339
12340 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12341
12342 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12343 declaration.
12344
12345 2013-04-07 Leo Liu <sdl.web@gmail.com>
12346
12347 * pcmpl-x.el: New file.
12348
12349 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12350
12351 Do not set x-display-name until X connection is established.
12352 This is needed to prevent from weird situation described at
12353 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12354 * frame.el (make-frame): Set x-display-name after call to
12355 window system initialization function, not before.
12356 * term/x-win.el (x-initialize-window-system): Add optional
12357 display argument and use it.
12358 * term/w32-win.el (w32-initialize-window-system):
12359 * term/ns-win.el (ns-initialize-window-system):
12360 * term/pc-win.el (msdos-initialize-window-system):
12361 Add compatible optional display argument.
12362
12363 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12364
12365 * files.el (normal-backup-enable-predicate): On MS-Windows and
12366 MS-DOS compare truenames of temporary-file-directory and of the
12367 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12368 don't fail comparison by compare-strings. Also, compare file
12369 names case-insensitively on MS-Windows and MS-DOS.
12370
12371 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12374 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12375
12376 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12377
12378 * whitespace.el (whitespace-color-on, whitespace-color-off):
12379 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12380
12381 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12382
12383 * ispell.el (ispell-set-spellchecker-params):
12384 Really set `ispell-args' for all equivs.
12385
12386 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * ido.el (ido-completions): Use extra elements of ido-decorations
12389 (bug#14143).
12390 (ido-decorations): Update docstring.
12391
12392 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12393
12394 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12395 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12396 nil during initialization, in order not to miss changes since the
12397 file was opened. (Bug#14140)
12398
12399 2013-04-05 Leo Liu <sdl.web@gmail.com>
12400
12401 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12402
12403 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12404
12405 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12406
12407 2013-04-04 Glenn Morris <rgm@gnu.org>
12408
12409 * electric.el (electric-pair-inhibit-predicate): Add :version.
12410
12411 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12414 when a package is required several times (bug#14082).
12415
12416 2013-04-04 Roland Winkler <winkler@gnu.org>
12417
12418 * faces.el (read-face-name): Behave as promised by the docstring.
12419 Assume that arg default is a list of faces.
12420 (describe-face): Call read-face-name with list of default faces.
12421
12422 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12423
12424 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12425 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12426 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12427 the header.
12428 (bookmark-exit-hook-internal): Save even if list is empty.
12429
12430 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12431
12432 * emacs-lisp/package.el (package-pinned-packages): New var.
12433 (package--add-to-archive-contents): Obey it (bug#14118).
12434
12435 2013-04-03 Alan Mackenzie <acm@muc.de>
12436
12437 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12438 Also adapt to the new values of element 7 of a parse state.
12439
12440 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12441 parameter `not-in-delimiter'. Handle being inside comment opener.
12442 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12443 character in case we're typing a '*' after a '/'.
12444 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12445 instead by passing the parameter to c-state-pp-to-literal.
12446
12447 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12448 for elt. 7 of a parse state.
12449
12450 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12451
12452 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12453 * international/latin1-disp.el, international/mule-util.el:
12454 * language/cyril-util.el, language/european.el, language/ind-util.el:
12455 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12456 * language/tibetan.el, language/viet-util.el:
12457 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12458
12459 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12460
12461 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12462 (electric-pair-post-self-insert-function): Use it.
12463 (electric-pair-default-inhibit): New function, extracted from
12464 electric-pair-post-self-insert-function.
12465
12466 2013-03-31 Roland Winkler <winkler@gnu.org>
12467
12468 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12469
12470 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12471
12472 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12473
12474 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12475
12476 Un-indent after "pass" and "return" statements (Bug#13888)
12477 * progmodes/python.el (python-indent-block-enders): New var.
12478 (python-indent-calculate-indentation): Use it.
12479
12480 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12481
12482 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12483 defun. Defining it as defalias could introduce too eager
12484 byte-compiler optimization. (Bug#14030)
12485
12486 2013-03-30 Chong Yidong <cyd@gnu.org>
12487
12488 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12489
12490 2013-03-30 Leo Liu <sdl.web@gmail.com>
12491
12492 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12493 (kmacro-execute-from-register): Pass the keyboard macro to
12494 kmacro-call-macro or repeating won't work correctly.
12495
12496 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12497
12498 * progmodes/subword.el: Back to using `forward-symbol'.
12499
12500 * subr.el (forward-whitespace, forward-symbol)
12501 (forward-same-syntax): Move from thingatpt.el.
12502
12503 2013-03-29 Leo Liu <sdl.web@gmail.com>
12504
12505 * kmacro.el (kmacro-to-register): New command.
12506 (kmacro-execute-from-register): New function.
12507 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12508
12509 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * mpc.el: Use defvar-local and setq-local.
12512 (mpc--proc-connect): Connection failures are not bugs.
12513 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12514 (mpc-volume-map): Bind to the up-events.
12515
12516 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12517
12518 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12519 instead of `forward-symbol'.
12520
12521 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12522
12523 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12524 (edebug--recursive-edit): Use it.
12525 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12526 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12527
12528 2013-03-28 Leo Liu <sdl.web@gmail.com>
12529
12530 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12531
12532 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12533
12534 * facemenu.el (list-colors-callback): New defvar.
12535 (list-colors-redisplay): New function.
12536 (list-colors-display): Install list-colors-redisplay as the
12537 revert-buffer-function. (Bug#14063)
12538
12539 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12540
12541 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12542 and suffixes don't overlap (bug#14061).
12543
12544 * case-table.el: Use lexical-binding.
12545 (case-table-get-table): New function.
12546 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12547
12548 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12549
12550 * progmodes/subword.el: Add `superword-mode' to do word motion
12551 over symbol_words (parallels and leverages `subword-mode' which
12552 does word motion inside MixedCaseWords).
12553
12554 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12555
12556 * eshell/em-unix.el: Move su and sudo to...
12557 * eshell/em-tramp.el: ...Eshell tramp module.
12558
12559 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12560
12561 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12562 Change return value to be a sexp. Delay `get-buffer' to after
12563 restoring the desktop (bug#13951).
12564
12565 2013-03-26 Leo Liu <sdl.web@gmail.com>
12566
12567 * register.el: Move semantic tag handling back to
12568 cedet/semantic/senator.el. (Bug#14052)
12569
12570 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12573 into the prompt either (bug#13963).
12574
12575 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12578 part of "(error-foo)".
12579
12580 2013-03-24 Juri Linkov <juri@jurta.org>
12581
12582 * replace.el (list-matching-lines-prefix-face): New defcustom.
12583 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12584 `occur-engine' if `face-differs-from-default-p' returns t.
12585 (occur-engine): Add `,' inside backquote construct to evaluate
12586 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12587 Pass `prefix-face' to the functions `occur-context-lines' and
12588 `occur-engine-add-prefix'.
12589 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12590 `prefix-face' and propertize the prefix with `prefix-face'.
12591 (Bug#14017)
12592
12593 2013-03-24 Leo Liu <sdl.web@gmail.com>
12594
12595 * nxml/rng-valid.el (rng-validate-while-idle)
12596 (rng-validate-quick-while-idle): Guard against deleted buffer.
12597 (Bug#13999)
12598
12599 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12600 is the last entry in kill-buffer-hook.
12601
12602 * files.el (kill-buffer-hook): Doc fix.
12603
12604 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12605
12606 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12607 Make it safe-local.
12608
12609 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12610
12611 2013-03-23 Leo Liu <sdl.web@gmail.com>
12612
12613 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12614 Remove.
12615
12616 * nxml/rng-valid.el (rng-validate-mode)
12617 (rng-after-change-function, rng-do-some-validation):
12618 * nxml/rng-maint.el (rng-validate-buffer):
12619 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12620 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12621 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12622 (nxml-extend-after-change-region): Use with-silent-modifications.
12623
12624 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12625 timer-idle-list.
12626
12627 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12628 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12629 timer-idle-list. (Bug#13999)
12630
12631 2013-03-23 Juri Linkov <juri@jurta.org>
12632
12633 * info.el (info-index-match): New face.
12634 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12635 main pattern and add text properties with the new face to matches
12636 in index entries relative to the beginning of the index entry.
12637 (Bug#14015)
12638
12639 2013-03-21 Eric Ludlam <zappo@gnu.org>
12640
12641 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12642 Inhibit read only while inserting objects.
12643
12644 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12645
12646 * progmodes/cfengine.el: Update docs to mention
12647 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12648 symbol motion. Remove "_" from the word syntax.
12649
12650 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12651
12652 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12653 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12654
12655 2013-03-20 Juri Linkov <juri@jurta.org>
12656
12657 * info.el (Info-next-reference-or-link)
12658 (Info-prev-reference-or-link): New functions.
12659 (Info-next-reference, Info-prev-reference): Use them.
12660 (Info-try-follow-nearest-node): Handle footnote navigation.
12661 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12662
12663 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12666 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12667
12668 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12669
12670 Suppress unnecessary non-ASCII chatter during build process.
12671 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12672 (batch-skkdic-convert): Suppress most of the chatter.
12673 It's not needed so much now that machines are faster,
12674 and its non-ASCII component was confusing; see Dmitry Gutov in
12675 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12676
12677 2013-03-20 Leo Liu <sdl.web@gmail.com>
12678
12679 * ido.el (ido-chop): Fix bug#10994.
12680
12681 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12682
12683 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12684 Remove vars.
12685 (whitespace-color-on, whitespace-color-off):
12686 Use `font-lock-fontify-buffer' (Bug#13817).
12687
12688 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12689
12690 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12691 remapping in mode-line.
12692 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12693
12694 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12695
12696 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12697 value for `whitespace-line' face (Bug#13875).
12698 (whitespace-font-lock-keywords): Change description.
12699 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12700 the constructed keywords instead.
12701 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12702
12703 2013-03-19 Leo Liu <sdl.web@gmail.com>
12704
12705 * progmodes/compile.el (compilation-display-error): New command.
12706 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12707 C-o. (Bug#13992)
12708
12709 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12710
12711 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12712
12713 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12714
12715 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12716
12717 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12718
12719 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12720
12721 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12722 * net/tramp-gvfs.el (top):
12723 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12724 (tramp-handle-shell-command): Use it.
12725 (tramp-dissect-file-name): Raise an error when hostname is a
12726 method name, and neither method nor user is specified.
12727
12728 * net/trampver.el: Update release number.
12729
12730 2013-03-18 Leo Liu <sdl.web@gmail.com>
12731
12732 Make sure eldoc can be turned off properly.
12733 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12734 eldoc-mode.
12735 (eldoc-display-message-p): Revert last change.
12736 (eldoc-display-message-no-interference-p)
12737 (eldoc-print-current-symbol-info): Tweak.
12738
12739 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12740
12741 * doc-view.el (doc-view-new-window-function): Check the new window
12742 overlay's display property instead the char property of the
12743 buffer's first char. Use `with-selected-window' instead of
12744 `save-window-excursion' with `select-window'.
12745 (doc-view-document->bitmap): Check the current doc-view overlay's
12746 display property instead the char property of the buffer's first char.
12747
12748 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12749
12750 Automate the build of ja-dic.el (Bug#13984).
12751 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12752 from the input, rather than assume that it's been done for us by the
12753 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12754 the current date into a ja-dic.el comment, as that complicates
12755 regression testing.
12756
12757 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12758
12759 * whitespace.el: Fix double evaluation.
12760 (whitespace-space, whitespace-hspace, whitespace-tab)
12761 (whitespace-newline, whitespace-trailing, whitespace-line)
12762 (whitespace-space-before-tab, whitespace-indentation)
12763 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12764 obsolete defvars.
12765 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12766 (whitespace-color-on): Use a single font-lock-add-keywords call.
12767 Fix double-evaluation of face variables.
12768
12769 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12770
12771 * net/tramp-adb.el (tramp-adb-parse-device-names):
12772 Use `start-process' instead of `call-process'. Otherwise, the
12773 function might be blocked under MS Windows. (Bug#13299)
12774
12775 2013-03-17 Leo Liu <sdl.web@gmail.com>
12776
12777 Extend eldoc to display info in the mode-line. (Bug#13978)
12778 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12779 (eldoc-mode-line-string): New variable.
12780 (eldoc-minibuffer-message): New function.
12781 (eldoc-message-function): New variable.
12782 (eldoc-message): Use it.
12783 (eldoc-display-message-p)
12784 (eldoc-display-message-no-interference-p):
12785 Support eldoc-post-insert-mode.
12786
12787 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12788 (eval-expression): Run it.
12789
12790 2013-03-17 Roland Winkler <winkler@gnu.org>
12791
12792 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12793 strings in the list of return values.
12794
12795 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12796
12797 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12798 radix before checking for HMS forms.
12799
12800 2013-03-16 Leo Liu <sdl.web@gmail.com>
12801
12802 * progmodes/scheme.el: Add indentation and font-locking for λ.
12803 (Bug#13975)
12804
12805 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12808 token before point (bug#13942).
12809
12810 2013-03-16 Leo Liu <sdl.web@gmail.com>
12811
12812 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12813
12814 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12815
12816 * startup.el (command-line-normalize-file-name): Fix handling of
12817 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12818 <xfq.free@gmail.com> in
12819 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12820
12821 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12822
12823 Sync with Tramp 2.2.7.
12824
12825 * net/trampver.el: Update release number.
12826
12827 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12828
12829 * doc-view.el: Fix bug#13887.
12830 (doc-view-insert-image): Don't modify overlay associated to
12831 non-live windows, and implement horizontal centering of image in
12832 case it's smaller than the window.
12833 (doc-view-new-window-function): Force redisplay of new windows on
12834 doc-view buffers.
12835
12836 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12837
12838 * saveplace.el (save-place-alist-to-file): Don't sort
12839 `save-place-alist', just pretty-print it (bug#13882).
12840
12841 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12842
12843 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12844 Check whether `default-file-name-coding-system' is bound.
12845 It isn't in XEmacs.
12846
12847 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12850 backquotes for `obsolete' (bug#13929).
12851
12852 * international/mule.el (find-auto-coding): Include file name in
12853 obsolescence warning (bug#13922).
12854
12855 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12856
12857 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12858 for CFEngine 3-specific indentation.
12859 (cfengine3-indent-line): Use it. Fix up category regex.
12860 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12861
12862 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * type-break.el (type-break-file-name):
12865 * textmodes/remember.el (remember-data-file):
12866 * strokes.el (strokes-file):
12867 * shadowfile.el (shadow-initialize):
12868 * saveplace.el (save-place-file):
12869 * ps-bdf.el (bdf-cache-file):
12870 * progmodes/idlwave.el (idlwave-config-directory):
12871 * net/quickurl.el (quickurl-url-file):
12872 * international/kkc.el (kkc-init-file-name):
12873 * ido.el (ido-save-directory-list-file):
12874 * emulation/viper.el (viper-custom-file-name):
12875 * emulation/vip.el (vip-startup-file):
12876 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12877 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12878
12879 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12880
12881 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12882 * language/thai-word.el: Switch to UTF-8.
12883
12884 See ChangeLog.16 for earlier changes.
12885
12886 ;; Local Variables:
12887 ;; coding: utf-8
12888 ;; End:
12889
12890 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12891
12892 This file is part of GNU Emacs.
12893
12894 GNU Emacs is free software: you can redistribute it and/or modify
12895 it under the terms of the GNU General Public License as published by
12896 the Free Software Foundation, either version 3 of the License, or
12897 (at your option) any later version.
12898
12899 GNU Emacs is distributed in the hope that it will be useful,
12900 but WITHOUT ANY WARRANTY; without even the implied warranty of
12901 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12902 GNU General Public License for more details.
12903
12904 You should have received a copy of the GNU General Public License
12905 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.