* lisp/desktop.el (desktop-buffers-not-to-save): Change default from nil to "\\` ".
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-07 Juri Linkov <juri@jurta.org>
2
3 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4 to "\\` ". (Bug#16651)
5
6 2014-02-07 Juri Linkov <juri@jurta.org>
7
8 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
9 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
10 (desktop-auto-save-cancel-timer): New function with some code from
11 `desktop-auto-save-set-timer'.
12 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13 Instead of setting `desktop-save-mode' to nil, call
14 `desktop-save-mode' with arg 0. (Bug#16630)
15
16 2014-02-07 Glenn Morris <rgm@gnu.org>
17
18 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
19 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
20 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
21
22 * obsolete/iswitchb.el: Move to obsolete/.
23 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
24 since obsolete/ is not scanned for autoloads.
25 * emacs-lisp/authors.el (authors-valid-file-names):
26 Add iswitchb.el.
27
28 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
29 Disable now non-functional find-file-hook.
30
31 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
32
33 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
34 instead of ";" in order to avoid additional prompts. Let heredoc
35 scripts read from tty. (Bug#16582)
36 (tramp-send-command): No special handling of heredocs, it isn't
37 necessary anymore.
38
39 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
42 with a space (bug#16664). Limit the symbols considered to the ones
43 that are bound or fbound (bug#16646).
44
45 2014-02-06 Glenn Morris <rgm@gnu.org>
46
47 * epa.el (epa-mail-aliases): Doc fix.
48
49 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
50
51 * emacs-lisp/lisp.el (lisp-completion-at-point):
52 Use `completion-table-merge' instead of `completion-table-in-turn'
53 (bug#16604).
54
55 * minibuffer.el (completion-table-merge): New function.
56
57 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
58
59 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
60 (tramp-sh-handle-set-file-acl)
61 (tramp-sh-handle-start-file-process)
62 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
63 (tramp-find-executable, tramp-send-command): Use it.
64
65 2014-02-05 Glenn Morris <rgm@gnu.org>
66
67 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
68
69 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
70
71 * progmodes/python.el (python-shell-send-string):
72 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
73
74 2014-02-04 Anders Lindgren <andlind@gmail.com>
75
76 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
77 the names (bug#16620).
78
79 2014-02-03 Martin Rudalics <rudalics@gmx.at>
80
81 * faces.el (window-divider): New default value. Rewrite doc-string.
82 (window-divider-first-pixel, window-divider-last-pixel): New faces.
83
84 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
85
86 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
87 `protected' and `public' can also be called without arguments.
88
89 2014-02-03 Glenn Morris <rgm@gnu.org>
90
91 * register.el (window-configuration-to-register)
92 (frame-configuration-to-register): Unadvertise unused argument.
93 * frameset.el (frameset-to-register): Remove unused argument.
94
95 * frameset.el (frameset-to-register):
96 * kmacro.el (kmacro-to-register):
97 * register.el (increment-register):
98 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
99 (calc-append-to-register, calc-prepend-to-register):
100 * play/gametree.el (gametree-layout-to-register)
101 (gametree-apply-register-layout):
102 * textmodes/picture.el (picture-clear-rectangle-to-register)
103 (picture-yank-rectangle-from-register):
104 * vc/emerge.el (emerge-combine-versions-register):
105 Use register-read-with-preview to read registers.
106
107 2014-02-03 João Távora <joaotavora@gmail.com>
108
109 * elec-pair.el (electric-pair-backward-delete-char): Don't error
110 when at beginning of (possibly narrowed) buffer.
111
112 2014-02-02 Daniel Colascione <dancol@dancol.org>
113
114 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
115 Also try to display local help from just before point.
116
117 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
118
119 c-parse-state. Don't "append-lower-brace-pair" in certain
120 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
121 recognised as a comment.
122
123 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
124 as well as normal comment starter.
125 (c-parse-state-get-strategy): Extra return possibility
126 'back-and-forward.
127 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
128 return value list to indicate replacement of a brace-pair cons
129 with its car.
130 (c-parse-state-1): With 'back-and-forward, only call
131 c-append-lower-brace-pair-to state-cache when cons-separated.
132
133 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
134
135 * term/ns-win.el (ns-suspend-error): New function.
136 (ns-initialize-window-system): Add ns-suspend-error to
137 suspend-hook (Bug#16612).
138
139 2014-02-02 Daniel Colascione <dancol@dancol.org>
140
141 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
142
143 2014-02-02 Daniel Colascione <dancol@dancol.org>
144
145 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
146
147 2014-02-02 Glenn Morris <rgm@gnu.org>
148
149 * register.el (register-read-with-preview, point-to-register)
150 (window-configuration-to-register, frame-configuration-to-register)
151 (jump-to-register, number-to-register, view-register, insert-register)
152 (copy-to-register, append-to-register, prepend-to-register)
153 (copy-rectangle-to-register): Doc fixes.
154
155 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
158 * emacs-lisp/find-func.el (find-function-C-source): Idem.
159 * emacs-lisp/nadvice.el (advice--cd*r): New function.
160 * help-fns.el (describe-function-1): Use it.
161
162 2014-02-02 Glenn Morris <rgm@gnu.org>
163
164 * register.el (register-preview-default): New function,
165 split from register-preview.
166 (register-preview-function): Rename from register-preview-functions,
167 make it not a hook.
168 (register-preview): Use register-preview-function.
169 (register-read-with-preview): Error on non-character event. (Bug#16595)
170
171 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
172
173 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
174 `:' before binary operators (bug#16609). Don't check for `:'
175 before `[' and `(', or their syntax status. A percent literal
176 can't end with either.
177 (ruby-font-lock-keywords): For built-ins that require arguments,
178 check that they're followed by something that looks like argument
179 (bug#16610).
180
181 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
182
183 * subr.el (butlast): Document what an omitted N means (bug#13437).
184 (nbutlast): Ditto.
185
186 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
187
188 * net/shr.el (shr-generic): Make into a defsubst to make the stack
189 depth shallower (bug#16587).
190 (shr-tag-svg): Respect `shr-inhibit-images'.
191 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
192
193 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
194
195 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
196 (ruby-smie-grammar): Make "." right-associative. Make its priority
197 lower than the ternary and all binary operators.
198 (ruby-smie-rules): Indent "(" relative to the first non-"."
199 parent, or the first "." parent at indentation.
200 Use `ruby-align-chained-calls' for indentation of "." tokens.
201 (Bug#16593)
202
203 2014-01-31 Juri Linkov <juri@jurta.org>
204
205 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
206 from `make-hash-table'.
207
208 * textmodes/ispell.el (ispell-init-process): Change message format
209 to be consistent with other messages.
210
211 2014-01-31 Glenn Morris <rgm@gnu.org>
212
213 * delsel.el (delete-selection-mode): Doc fix.
214
215 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
216 (trace-function-background): Doc fixes.
217
218 * ido.el (ido-use-virtual-buffers): Doc fix.
219 Reset :version, since the default value has not changed.
220
221 * register.el (register-preview-delay, register-read-with-preview):
222 Doc fixes.
223
224 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
225 do not mess with mail-buffer position (fixes 2009-11-03 change).
226 * progmodes/cc-mode.el (c-submit-bug-report):
227 Check auto-fill-mode is bound. (Bug#16592)
228
229 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
230
231 * startup.el (fancy-splash-image-file): New function,
232 split from fancy-splash-head.
233 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
234 so that we are both using the same image. (Bug#16574)
235
236 2014-01-30 Glenn Morris <rgm@gnu.org>
237
238 * simple.el (eval-expression): Doc fix.
239
240 * hexl.el (hexl-mode-hook):
241 * ielm.el (ielm-mode-hook):
242 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
243 (lisp-interaction-mode-hook):
244 * progmodes/cfengine.e (cfengine3-documentation-function):
245 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
246
247 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
250 is a symbol (bug#16584).
251
252 2014-01-30 Glenn Morris <rgm@gnu.org>
253
254 * help.el (help-for-help-internal): Add "P" to text.
255
256 2014-01-29 Glenn Morris <rgm@gnu.org>
257
258 * simple.el (just-one-space, cycle-spacing): Doc fixes.
259
260 2014-01-28 Martin Rudalics <rudalics@gmx.at>
261
262 * window.el (fit-frame-to-buffer): Fix calculations for margins and
263 height constraints.
264
265 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
266
267 * progmodes/hideif.el: Extend to full CPP expression syntax.
268 (hif-token-alist): Add missing tokens.
269 (hif-token-regexp): Add support for float/octal/hex immediates.
270 (hif-string-literal-regexp): New const.
271 (hif-tokenize): Recognize strings and float/octal/hex immediates.
272 (hif-exprlist): New function.
273 (hif-parse-if-exp): Use it.
274 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
275 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
276 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
277 (hif-logxor, hif-comma): New functions.
278
279 2014-01-28 Glenn Morris <rgm@gnu.org>
280
281 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
282
283 * indent.el (tab-stop-list): Doc fix. Add :version.
284
285 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
286 (cvs-append-to-ignore): Add compatibility alias.
287
288 2014-01-27 Glenn Morris <rgm@gnu.org>
289
290 * dired.el (dired-hide-details-mode): Don't autoload it,
291 since it cannot be used outside Dired buffers anyway.
292
293 * emulation/cua-base.el (cua-mode): Doc fix.
294
295 * dired.el (dired-hide-details-hide-symlink-targets)
296 (dired-hide-details-hide-information-lines)
297 (dired-hide-details-mode): Doc fixes.
298
299 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
300 * strokes.el (strokes-file): Doc fix. Bump :version.
301 (strokes-help): Doc fix.
302 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
303 * emulation/viper.el (viper): Doc fix for custom group.
304 (top-level): Remove oh-so-no-longer-relevant text about vip.
305 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
306
307 * ido.el (ido-save-directory-list-file):
308 * saveplace.el (save-place-file):
309 * calendar/timeclock.el (timeclock-file):
310 * net/quickurl.el (quickurl-url-file):
311 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
312 * progmodes/idlwave.el (idlwave-config-directory):
313 * textmodes/remember.el (remember-data-file):
314 Bump :version.
315
316 2014-01-26 Glenn Morris <rgm@gnu.org>
317
318 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
319 Doc fix. Make obsolete.
320 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
321
322 * sort.el (delete-duplicate-lines): Doc fix.
323
324 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
325
326 * progmodes/ada-mode.el (ada):
327 * woman.el (woman): Link to info manual and Commentary section.
328
329 * progmodes/flymake.el (flymake):
330 * nxml/nxml-mode.el (nxml):
331 * net/eww.el (eww):
332 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
333 * htmlfontify.el (htmlfontify):
334 * ses.el (ses):
335 * epa.el (epa):
336 * ido.el (ido): Link to info manual.
337
338 2014-01-25 Leo Liu <sdl.web@gmail.com>
339
340 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
341
342 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
343
344 * net/shr.el (shr-tag-img): Prefer the title over the alt text
345 (bug#16537).
346
347 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
348
349 * net/eww.el (eww-download-callback):
350 Fix reference to eww-download-directory.
351
352 * emacs-lisp/bytecomp.el (byte-compile-file):
353 Remove unused local variable `file-name'.
354
355 2014-01-24 Glenn Morris <rgm@gnu.org>
356
357 * woman.el (woman-default-faces, woman-monochrome-faces):
358 Fix obsolescence specification.
359
360 * subr.el (with-demoted-errors): Doc fix.
361
362 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
365 (cl--macroexp-fboundp): New function.
366 (cl--make-type-test): Use it.
367
368 2014-01-23 Glenn Morris <rgm@gnu.org>
369
370 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
371 * simple.el (eval-expression): Doc fixes.
372
373 2014-01-22 Glenn Morris <rgm@gnu.org>
374
375 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
376
377 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * emacs-lisp/package.el: Write files silently.
380 (package-autoload-ensure-default-file, package--write-file-no-coding)
381 (package-generate-description-file, package--download-one-archive)
382 (package-install-from-archive): Tell `write-region' to stay quiet.
383 (package-menu-mode, package-menu--print-info): Omit the Archive column
384 if there's only one archive.
385 (package-all-keywords, package--has-keyword-p): Remove dead code.
386
387 2014-01-22 Glenn Morris <rgm@gnu.org>
388
389 * version.el (emacs-bzr-version-bzr): Fix typo.
390
391 * version.el (emacs-repository-get-version):
392 Check either .bzr or .git, but not both.
393 Make the git case actually use the DIR argument, and return nil
394 rather than the empty string.
395 Avoid error if .git exists but the git executable is not found.
396
397 2014-01-22 Martin Rudalics <rudalics@gmx.at>
398
399 Fixes in window size functions around Bug#16430 and Bug#16470.
400 * window.el (window-total-size, window-size): New argument ROUND.
401 (window--min-delta-1, window-min-delta, window--max-delta-1):
402 Be more conservative when calculating the numbers of lines or
403 columns a window can shrink (Bug#16430).
404 (fit-window-to-buffer): Simplify code.
405 * term.el (term-window-width): Call window-body-width again.
406
407 2014-01-22 Glenn Morris <rgm@gnu.org>
408
409 * image.el (image-format-suffixes): Doc fix.
410
411 * international/quail.el (quail-define-package): Doc fix.
412
413 * emacs-lisp/authors.el (authors-valid-file-names):
414 (authors-renamed-files-alist): Additions.
415
416 * vc/vc-git.el (vc-git-print-log): Remove --follow;
417 reverts 2014-01-09 change. (Bug#16422)
418
419 * calc/calc-embed.el (thing-at-point-looking-at):
420 * emacs-lisp/map-ynp.el (x-popup-dialog):
421 * obsolete/lmenu.el (x-popup-dialog):
422 * emacs-lisp/package.el (url-recreate-url):
423 * mail/mailclient.el (clipboard-kill-ring-save):
424 * subr.el (x-popup-dialog): Update declaration.
425 * mail/rmail.el (rmail-mime-message-p):
426 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
427
428 2014-01-21 Daniel Colascione <dancol@dancol.org>
429
430 * progmodes/sh-script.el (sh--inside-noncommand-expression):
431 Correctly detect when we're inside an arithmetic expansion form
432 containing nested parenthesis.
433 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
434 to detect cases where we shouldn't expand "<<" to a heredoc
435 skeleton.
436
437 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
440 (eldoc--message-command-p): New function.
441 (eldoc-display-message-p): Use it.
442 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
443 message is not automatically erased for us.
444 (eldoc-print-current-symbol-info): Erase previous message, if any.
445
446 2014-01-21 Tassilo Horn <tsdh@gnu.org>
447
448 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
449 specify it's an interactive function.
450
451 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
452 Fix regex used for scanning for citation keys which failed for
453 citations with optional arguments.
454
455 2014-01-21 Leo Liu <sdl.web@gmail.com>
456
457 * simple.el (read--expression): Don't enable eldoc-mode.
458
459 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * simple.el (move-beginning-of-line): Make sure we don't move forward
462 (bug#16497).
463
464 2014-01-20 Juri Linkov <juri@jurta.org>
465
466 * saveplace.el (toggle-save-place, save-place-to-alist)
467 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
468 'dired-mode) before checking for dired-directory. (Bug#16477)
469
470 2014-01-20 Juri Linkov <juri@jurta.org>
471
472 * indent.el (indent-line-to): Use backward-to-indentation
473 instead of back-to-indentation. (Bug#16461)
474
475 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
476
477 Revert some of the CANNOT_DUMP fix (Bug#16494).
478 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
479 but fixing this can wait until after the next release.
480 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
481
482 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
483
484 * eshell/esh-mode.el (eshell-password-prompt-regexp):
485 Use `password-word-equivalents'.
486 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
487 to t. (Bug#5664, Bug#13124)
488
489 2014-01-19 Alan Mackenzie <acm@muc.de>
490
491 Bind open-paren-in-column-0-is-defun-start to nil at some entry
492 points.
493 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
494 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
495 * progmodes/cc-mode.el (c-before-change, c-after-change)
496 (c-font-lock-fontify-region): Bind it here.
497
498 2014-01-19 Martin Rudalics <rudalics@gmx.at>
499
500 * term.el (term-window-width): Call window-text-width instead of
501 window-width (Bug#16470).
502
503 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
504
505 * simple.el (password-word-equivalents): Remove duplicates.
506 Sort, to make this easier next time.
507 Downcase. Omit ": " after "jelszó".
508
509 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
510
511 * term/common-win.el (saved-region-selection): Defvar it.
512 (x-select-text): Set saved-region-selection (Bug#16382).
513
514 2014-01-18 Glenn Morris <rgm@gnu.org>
515
516 * emacs-lisp/authors.el (authors-aliases)
517 (authors-renamed-files-alist): Add some entries.
518
519 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
520
521 * net/tramp.el (tramp-password-prompt-regexp):
522 Use `password-word-equivalents' if available.
523 (tramp-action-password, tramp-process-one-action)
524 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
525
526 2014-01-17 Chong Yidong <cyd@gnu.org>
527
528 * simple.el (password-word-equivalents): New defcustom.
529 * comint.el (comint-password-prompt-regexp): Use it. Bump version
530 to 24.4.
531 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
532 to t. (Bug#13124)
533
534 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
535
536 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
537 (ruby-align-to-stmt-keywords): Change the default value.
538 Use `ruby-alignable-keywords' to generate the possible customization
539 choices.
540 (ruby-smie-rules): Instead of using a hardcoded list of alignable
541 keywords, check against the value of `ruby-alignable-keywords'
542 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
543
544 2014-01-17 Glenn Morris <rgm@gnu.org>
545
546 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
547
548 Make M-x authors return zero *Authors Errors* from current logs.
549 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
550 (authors-ignored-files): Add some entries, remove others.
551 (authors-ambiguous-files, authors-valid-file-names):
552 Add some entries.
553 (authors-renamed-files-alist): Add, remove, and adjust entries.
554 (authors-renamed-files-regexps): Add some entries.
555 Remove some very broad ones. Make some entries `lax'.
556 (authors-lax-changelogs): New constant.
557 (authors-disambiguate-file-name): Treat top-level specially.
558 (authors-lax-changelog-p): New function.
559 (authors-canonical-file-name): Check file as written against
560 authors-valid-file-names. Do not special-case etc/.
561 Handle `lax' logs and authors-renamed-files-regexps elements.
562
563 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
564
565 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
566 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
567 callers.
568
569 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
572 Assume we're already in the proper buffer.
573 Inspired by Anders Lindgren <andlind@gmail.com>.
574 (follow-post-command-hook): Call it from the right buffer.
575 (follow-comint-scroll-to-bottom): Adjust call.
576 (follow-all-followers): Use get-buffer-window-list.
577
578 2014-01-15 Daniel Colascione <dancol@dancol.org>
579
580 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
581 `buffer-file-name' in interactive-form so that we don't leave
582 pathless file names in `file-name-history'.
583
584 2014-01-15 Juri Linkov <juri@jurta.org>
585
586 * indent.el (indent-rigidly): Set deactivate-mark to nil
587 in transient indentation mode. (Bug#16438)
588
589 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
590
591 * emacs-lisp/package.el (package-desc-keywords): New function
592 (Bug#16222).
593 (describe-package-1, package-all-keywords)
594 (package--has-keyword-p): Use it.
595
596 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
597
598 * simple.el (define-alternatives): When creating the
599 COMMAND-alternatives variable, assign COMMAND as its definition
600 name so that `describe-variable' can relocate it.
601
602 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
603
604 * font-lock.el (font-lock-keywords): Fix typo in docstring
605 (bug#16307).
606
607 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
608
609 * ispell.el (ispell-region): Reset `in-comment' for new line
610 instead of wrongly reset `add-coment' (bug#13577).
611
612 2014-01-14 Daiki Ueno <ueno@gnu.org>
613
614 * epa-file.el (epa-file-write-region): Encode the region according
615 to `buffer-file-format'. Problem reported at:
616 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
617
618 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
621 so it applies in the right buffer (bug#16410).
622
623 2014-01-13 Daniel Colascione <dancol@dancol.org>
624
625 * textmodes/rst.el (rst-define-key): Provide deprecated
626 keybindings through named functions instead of anonymous ones so
627 that "??" doesn't appear in describe-mode output.
628
629 2014-01-13 Bastien Guerry <bzg@gnu.org>
630
631 * simple.el (define-alternatives): Call the selected command
632 interactively. When setting `COMMAND--implementation' for the
633 first time, tell the user how to chose another implementation.
634 Enhance the docstring.
635
636 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
639 (log-edit--match-first-line): New function.
640 (log-edit-font-lock-keywords): Use it.
641 (log-edit-mode): Make jit-lock-defer-multiline work.
642
643 2014-01-13 Bastien Guerry <bzg@gnu.org>
644
645 * rect.el (rectangle-mark-mode): When the region is not active,
646 display a message saying that the mark as been set and that
647 rectangle mode is in use.
648 (rectangle--highlight-for-redisplay): Only put an overlay with a
649 visible vertical bar when (display-graphic-p) is non-nil.
650 This partially fixes Bug#16403.
651
652 2014-01-13 Juri Linkov <juri@jurta.org>
653
654 * info.el (Info-find-file): Go to DIR before displaying the error
655 about a nonexistent file if no previous Info file is visited.
656 Use `user-error' instead of `error' for "Info file %s does not exist".
657 (Info-find-node-2): In case of a nonexistent node in unwind forms
658 go to the Top node if there is no previous node to revert to.
659 (Bug#16405)
660
661 2014-01-13 Martin Rudalics <rudalics@gmx.at>
662
663 fit-frame/window-to-buffer code fixes including one for Bug#14096.
664 * window.el (fit-frame-to-buffer): Fix doc-string.
665 Respect window-min-height/-width. Fit pixelwise when
666 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
667 when avoiding that frame goes partially off-screen.
668 (fit-window-to-buffer): Respect window-min-height/-width
669 (Bug#14096).
670
671 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
674 after an empty line.
675
676 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * net/shr.el (shr-render-region): Autoload.
679
680 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
681
682 * net/eww.el (eww-download-directory): Rename from
683 `eww-download-path' (Bug#16419).
684
685 2014-01-12 Leo Liu <sdl.web@gmail.com>
686
687 * dired-x.el (dired-mode-map): Fix last change.
688
689 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
690
691 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
692
693 Spelling fixes.
694 * emacs-lisp/generic.el (generic--normalize-comments):
695 Rename from generic--normalise-comments. All uses changed.
696 * play/bubbles.el (bubbles--neighborhood-score):
697 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
698 (bubbles--neighborhood-available)
699 (bubbles--update-neighborhood-score):
700 Rename from names with 'neighbourhood'. All uses changed.
701
702 2014-01-12 Leo Liu <sdl.web@gmail.com>
703
704 Re-implement the feature of showing eldoc info after editing.
705 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
706 (eldoc-edit-message-commands): New function.
707 (eldoc-print-after-edit): New variable.
708 (eldoc-pre-command-refresh-echo-area): Emit message only by
709 eldoc-message-commands.
710 (eldoc-mode): Restrict eldoc-message-commands to editing commands
711 if eldoc-print-after-edit is set. (Bug#16346)
712 * simple.el (read--expression): Enable eldoc-mode.
713 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
714
715 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
716 Eric S. Raymond <esr@thyrsus.com>
717
718 * version.el (emacs-repository-get-version): Enhance so the
719 function works correctly in either a Bazaar or Git repo.
720
721 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
722
723 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
724 Goes with removal of the joke manpages from /etc.
725
726 2014-01-10 K. Handa <handa@gnu.org>
727
728 * mail/rmail.el (rmail-get-coding-system):
729 Check rmail-get-coding-function before "funcall"ing it.
730
731 2014-01-10 Glenn Morris <rgm@gnu.org>
732
733 * emacs-lisp/authors.el (authors-fixed-entries):
734 Update for files that no longer exist.
735
736 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
737
738 * version.el (emacs-bzr-get-version): Restore compatibilty with
739 24.3 (Tested).
740
741 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
742
743 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
744 and Podfile.
745
746 2014-01-10 Eli Zaretskii <eliz@gnu.org>
747
748 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
749
750 2014-01-10 Chong Yidong <cyd@gnu.org>
751
752 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
753
754 2014-01-10 Anders Lindgren <andlind@gmail.com>
755
756 * follow.el (follow-cache-command-list): Include right-char and
757 left-char.
758
759 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
760
761 Spelling fixes.
762 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
763 * woman.el (woman-mark-horizontal-position):
764 Rename from woman-mark-horizonal-position. Use changed.
765
766 2014-01-10 Glenn Morris <rgm@gnu.org>
767
768 * info.el (info-initialize): If running uninstalled, ensure our
769 own info files are always found first, even if INFOPATH is set.
770
771 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
772
773 2014-01-09 David Engster <deng@randomsample.de>
774
775 * emacs-lisp/eieio-custom.el:
776 * emacs-lisp/eieio-opt.el: Set generated autoload file to
777 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
778 * emacs-lisp/eieio.el: Regenerate autoloads.
779
780 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
781
782 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
783 following renames. (Bug#8756)
784
785 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
788 (bug#16382).
789 (activate-mark): Add `no-tmm' argument.
790 (set-mark, push-mark-command): Use it instead of running
791 activate-mark-hook by hand.
792
793 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
794
795 In preparation for the move to git, sanitize out some
796 Bazaar-specific names.
797
798 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
799
800 * version.el (emacs-bzr-version): Name changed to
801 emacs-repository-version. Obsolete-variable alias made.
802 * loadup.el: Follow through on this name change.
803 * mail/emacsbug.el (report-emacs-bug): Factor out any
804 assumption about the version control system in use.
805
806 2014-01-08 David Engster <deng@randomsample.de>
807
808 * help-fns.el (help-fns-describe-function-functions):
809 New variable to call functions for augmenting help buffers.
810 (describe-function-1): Remove explicit calls to
811 `help-fns--compiler-macro', `help-fns--parent-mode' and
812 `help-fns--obsolete'. Put them in above new variable instead, and
813 call them through `run-hook-with-args'.
814 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
815 `eieio-describe-class'. Not meant for interactive use anymore,
816 but to augment existing help buffers. Remove optional second
817 argument. Create proper button for file location.
818 Rewrite function to use `insert' instead of `princ' and `prin1' where
819 possible.
820 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
821 (eieio-method-def, eieio-class-def): Move further up.
822 (describe-method, describe-generic, eieio-describe-method):
823 Remove aliases.
824 (eieio-help-constructor, eieio-help-generic): Rename from
825 `eieio-describe-constructor' and `eieio-describe-generic', resp.
826 Rewrite to use `insert' in the current buffer and use proper help
827 buttons.
828 (eieio-help-find-method-definition)
829 (eieio-help-find-class-definition): Also accept symbols as
830 arguments.
831 (eieio-help-mode-augmentation-maybee): Remove.
832 (eieio-describe-class-sb): Use `describe-function'.
833 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
834 Add `eieio-help-generic' and `eieio-help-constructor'.
835
836 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
837
838 Spelling fixes.
839 * language/china-util.el (hz-ascii-designation):
840 Rename from hz-ascii-designnation.
841 (hz-ascii-designation): Rename from hz-ascii-designnation.
842 All uses changed.
843
844 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
847 package-alist.
848
849 2014-01-08 Bastien Guerry <bzg@gnu.org>
850
851 * emacs-lisp/package.el (package-delete):
852 Correctly delete the package from package-alist.
853
854 2014-01-08 Daiki Ueno <ueno@gnu.org>
855
856 * emacs-lisp/package.el (url-recreate-url): Declare.
857 (url-http-target-url): Declare.
858 (package-handle-response): Include requested URL in the error message.
859 (package--check-signature): Don't re-signal errors from
860 package--with-work-buffer. Suggested by Stefan Monnier.
861
862 2014-01-07 Bastien Guerry <bzg@gnu.org>
863
864 * minibuffer.el (completion--try-word-completion): When both a
865 hyphen and a space are possible candidates for the character
866 following a word, display both candidates. (Bug#15980)
867
868 2014-01-07 Martin Rudalics <rudalics@gmx.at>
869
870 * window.el (balance-windows-2): While rounding don't give a
871 window more than the remainder. Bug#16351, Bug#16383.
872
873 2014-01-07 Glenn Morris <rgm@gnu.org>
874
875 * menu-bar.el (menu-bar-help-extra-packages): Remove.
876 (menu-bar-help-menu): Use view-external-packages instead.
877
878 2014-01-07 Bastien Guerry <bzg@gnu.org>
879
880 * emacs-lisp/package.el (package-delete): Also delete the package
881 name from `package-alist', not its description only.
882
883 2014-01-07 Glenn Morris <rgm@gnu.org>
884
885 * help.el (view-external-packages):
886 * menu-bar.el (menu-bar-help-extra-packages):
887 Visit efaq.info rather than etc/MORE.STUFF.
888
889 2014-01-07 Juri Linkov <juri@jurta.org>
890
891 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
892 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
893
894 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
895 that shadows RET. (Bug#16342)
896
897 2014-01-07 Chong Yidong <cyd@gnu.org>
898
899 * isearch.el (isearch-yank-char, isearch-yank-word)
900 (isearch-yank-line): Doc fix.
901
902 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
905 * emacs-lisp/elint.el (elint-find-builtins):
906 * emacs-lisp/eldoc.el (eldoc-symbol-function):
907 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
908 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
909 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
910 * apropos.el (apropos-safe-documentation):
911 * subr.el (symbol-file): Remove redundant fboundp.
912 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
913
914 2014-01-06 Bastien Guerry <bzg@gnu.org>
915
916 * hl-line.el (global-hl-line-overlay): Make a local variable.
917 (global-hl-line-overlays): New variable to store all overlays.
918 (global-hl-line-mode): Don't delete overlays from the current
919 buffer when `global-hl-line-sticky-flag' is non-nil.
920 (global-hl-line-highlight): Add new overlays to
921 `global-hl-line-overlays'.
922 (global-hl-line-unhighlight-all): New function to delete all
923 overlays when turning off `global-hl-line-mode'.
924 This fixes Bug#16183.
925
926 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * subr.el (set-transient-map): Fix nested case and docstring.
929
930 2014-01-06 Tassilo Horn <tsdh@gnu.org>
931
932 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
933 `Texinfo' entry.
934
935 2014-01-06 Daniel Colascione <dancol@dancol.org>
936
937 Fix defun navigation in vc log view.
938
939 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
940 like `beginning-of-defun'.
941 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
942 log-view-end-of-defun to log-view-end-of-defun-1. Replace
943 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
944 (log-view-extract-comment): Call `log-view-current-entry' directly
945 instead of relying on broken `log-view-beginning-of-defun' behavior.
946
947 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
948
949 Spelling fixes.
950 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
951 * emacs-lisp/debug.el (cancel-debug-on-entry):
952 * epg.el (epg-error-to-string):
953 * files.el (recover-file):
954 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
955 * mail/emacsbug.el (report-emacs-bug-hook):
956 * mail/sendmail.el (mail-recover):
957 * ses.el (ses-yank-resize):
958 * term/ns-win.el (ns-print-buffer):
959 Spelling fixes in diagnostics, mostly for "canceled" with one L.
960 * epg.el (epg-key-capability-alist): Rename from misspelled version.
961 All uses changed.
962 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
963
964 2014-01-06 Leo Liu <sdl.web@gmail.com>
965
966 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
967 to avoid shadowing global key. (Bug#16354)
968
969 2014-01-06 Daniel Colascione <dancol@dancol.org>
970
971 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
972 rst-mode.
973
974 2014-01-05 Martin Rudalics <rudalics@gmx.at>
975
976 * window.el (balance-windows): Add mising t to fix Bug#16351.
977
978 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
979
980 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
981 (bug#16285).
982 (shr-insert): If we have a word that's longer than `shr-width',
983 break after it anyway. Otherwise we'll do no breaking once we get
984 such a long word.
985
986 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
987
988 * net/eww.el (eww): Support single/double quote for search.
989 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
990 (eww-history-quit): Delete and use quit-window.
991 (eww-history-kill): Delete, because it doesn't work well and
992 not necessary.
993 (eww-history-mode-map): Delete some keys and add easy-menu.
994
995 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
996
997 Fix misspelling of 'chinese' in rx (Bug#16237).
998 * emacs-lisp/rx.el (rx-categories): Correct spelling of
999 chinese-two-byte.
1000
1001 Change subword regexps back to vars (Bug#16296).
1002 * progmodes/subword.el (subword-forward-regexp)
1003 (subword-backward-regexp): Change these back to variables.
1004
1005 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1008 syntax-begin-function (bug#16247).
1009
1010 2014-01-03 Chong Yidong <cyd@gnu.org>
1011
1012 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1013 (advice--docstring): Delete variable.
1014 (advice--make-1): Leave the docstring empty.
1015 (advice-add): Use function-documentation for advised docstring.
1016
1017 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1018 Ignore function-documentation property when getting documentation.
1019 (ad-activate-advised-definition): Use function-documentation
1020 generate the docstring.
1021 (ad-make-advised-definition): Don't call
1022 ad-make-advised-definition-docstring.
1023 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1024 Delete functions.
1025
1026 * progmodes/sql.el (sql-help): Use function-documentation instead
1027 of dynamic-docstring-function property. No need to autoload now.
1028 (sql--help-docstring): New variable.
1029 (sql--make-help-docstring): Use it.
1030
1031 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * ielm.el (ielm-tab): Retarget.
1034 (ielm-map): Use ielm-tab for tab.
1035 (ielm-complete-filename): Use comint-filename-completion.
1036 (ielm-complete-symbol): Remove.
1037 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1038 remove ielm-tab from completion-at-point-functions (bug#16224).
1039
1040 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1041 Beware signals raised by predicates (bug#16201).
1042
1043 2014-01-02 Richard Stallman <rms@gnu.org>
1044
1045 * dired-aux.el (dired-do-print): Handle printer-name.
1046
1047 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1048 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1049 (rmail-epa-decrypt): Turn off mime processing.
1050
1051 * mail/rmail.el (rmail-make-in-reply-to-field):
1052 Add parens in message-id.
1053
1054 * mail/rmail.el (rmail-get-coding-function): Variable.
1055 (rmail-get-coding-system): Use it.
1056
1057 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1058
1059 * international/mule-conf.el: Unify the charset indian-is13194.
1060 (indian-is13194): Specify unify-map.
1061
1062 2013-12-31 Leo Liu <sdl.web@gmail.com>
1063
1064 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1065
1066 2013-12-30 Daniel Colascione <dancol@dancol.org>
1067
1068 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1069 of printing a useless when we resume from sleep.
1070
1071 * progmodes/sh-script.el
1072 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1073 in indentation code. (Bug#16233)
1074
1075 2013-12-28 João Távora <joaotavora@gmail.com>
1076
1077 * elec-pair.el (electric-pair-post-self-insert-function):
1078 Don't open extra newlines at beginning of buffer. (Bug#16272)
1079
1080 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1081
1082 * frame.el (window-system-for-display): Don't allow to create a
1083 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1084
1085 2013-12-28 Glenn Morris <rgm@gnu.org>
1086
1087 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1088 Update callers.
1089
1090 * apropos.el (apropos-match-face):
1091 * calculator.el (calculator-displayer):
1092 * dabbrev.el (dabbrev-search-these-buffers-only):
1093 * face-remap.el (buffer-face-mode-face):
1094 * simple.el (yank-handled-properties):
1095 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1096 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1097 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1098 (hashcash-double-spend-database):
1099 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1100 (ruby-deep-indent-paren-style):
1101 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1102 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1103 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1104 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1105 Specify custom types.
1106
1107 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1108 * bookmark.el (bookmark-bmenu-use-header-line):
1109 * doc-view.el (doc-view-scale-internally):
1110 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1111 * register.el (register-preview-delay):
1112 * net/shr.el (shr-bullet):
1113 * progmodes/cfengine.el (cfengine-cf-promises)
1114 (cfengine-parameters-indent):
1115 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1116 * textmodes/reftex-vars.el (reftex-label-regexps):
1117 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1118
1119 * net/tls.el (tls-certtool-program): Fix default value.
1120
1121 * desktop.el (desktop-restore-in-current-display):
1122 * newcomment.el (comment-empty-lines):
1123 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1124 (idlwave-pad-keyword):
1125 * progmodes/tcl.el (tcl-tab-always-indent):
1126 * textmodes/reftex-vars.el (reftex-index-default-tag):
1127 * elec-pair.el (electric-pair-skip-whitespace):
1128 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1129
1130 * emacs-lisp/authors.el (authors-ignored-files)
1131 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1132
1133 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1134
1135 * shell.el (shell-dynamic-complete-command): Doc fix.
1136 (shell--command-completion-data): Shell completion now matches
1137 executable filenames from the current buffer's directory, on
1138 systems in which this behavior is the default (windows-nt, ms-dos).
1139
1140 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1141
1142 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1143
1144 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1147 (bug#16251).
1148
1149 * electric.el: Move all electric-pair-* to elec-pair.el.
1150 * elec-pair.el: New file, split from electric.el.
1151
1152 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1153
1154 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1155 indentation level is larger than the width, because that will
1156 infloop.
1157 (shr-insert): Fill repeatedly long texts, so that Japanese is
1158 formatted correctly (bug#16263).
1159 (shr-find-fill-point): Off by one error in comparison with the
1160 indentation.
1161
1162 2013-12-26 João Távora <joaotavora@gmail.com>
1163
1164 * electric.el (electric-pair-mode): More flexible engine for skip-
1165 and inhibit predicates, new options for pairing-related functionality.
1166 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1167 if that keeps or improves their balance in buffers.
1168 (electric-pair-delete-adjacent-pairs): Delete the pair when
1169 backspacing over adjacent matched delimiters.
1170 (electric-pair-open-extra-newline): Open extra newline when
1171 inserting newlines between adjacent matched delimiters.
1172 (electric--sort-post-self-insertion-hook):
1173 Sort post-self-insert-hook according to priority values when
1174 minor-modes are activated.
1175 * simple.el (newline-and-indent): Call newline with interactive
1176 set to t.
1177 (blink-paren-post-self-insert-function): Set priority to 100.
1178 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1179 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1180 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1181 electric-pair-open-newline-between-pairs to nil.
1182
1183 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1184
1185 * progmodes/python.el: Use lexical-binding.
1186 (python-nav-beginning-of-defun): Stop searching ASAP.
1187
1188 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1189
1190 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1191 Fix interactive spec. Doc fix. (Bug#15754)
1192
1193 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1194
1195 * emacs-lisp/byte-run.el (eval-when-compile):
1196 * progmodes/cc-defs.el (cc-eval-when-compile):
1197 Fix edebug spec (bug#16184).
1198
1199 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1200
1201 * net/shr.el (shr-visit-file): Remove debugging function.
1202 (shr-insert): Don't infloop if we can't find a good place to break
1203 the line (bug#16256).
1204
1205 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1206
1207 * progmodes/python.el:
1208 (python-nav--lisp-forward-sexp): New function.
1209 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1210 python-nav-lisp-forward-sexp-safe.
1211 (python-nav--forward-sexp): New argument SAFE allows switching
1212 forward sexp movement behavior for parens.
1213 (python-nav-forward-sexp): Throw errors on unterminated parens
1214 (Bug#16191).
1215 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1216 (python-nav-backward-sexp-safe): New functions.
1217 (python-shell-buffer-substring):
1218 Use `python-nav-forward-sexp-safe'.
1219
1220 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1221
1222 * net/shr.el (shr-find-fill-point): Don't break lines before a
1223 quotation mark.
1224 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1225 (shr-find-fill-point): Remove the special checks for the quotation
1226 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1227
1228 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1229
1230 * net/eww.el (eww-form-textarea): Use a different face for
1231 textareas than text input since they have different keymaps
1232 (bug#16142).
1233
1234 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1235
1236 * progmodes/python.el (python-nav-beginning-of-statement):
1237 Speed up (Bug#15295).
1238
1239 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1240
1241 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1242 the window configuration.
1243
1244 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1245
1246 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1247 we run on MS-Windows or MS-DOS.
1248
1249 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1250
1251 * window.el (balance-windows-area): Call window-size instead of
1252 window-height and window-width. Bug#16241.
1253
1254 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1255
1256 * net/eww.el (eww-bookmark-quit): Remove.
1257 (eww-bookmark-browse): Restore the window configuration when you
1258 choose a bookmark (bug#16144).
1259
1260 2013-12-24 Daniel Colascione <dancol@dancol.org>
1261
1262 * icomplete.el: Remove redundant :group arguments to `defcustom'
1263 throughout.
1264 (icomplete-show-matches-on-no-input): New customizable variable.
1265 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1266 we have something to show.
1267 (icomplete-exhibit): Compute completions even if we have no user input.
1268
1269 2013-12-23 Daniel Colascione <dancol@dancol.org>
1270
1271 * icomplete.el: Move `provide' to end of file.
1272
1273 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1274
1275 * net/gnutls.el (gnutls-verify-error): Add version tag.
1276
1277 2013-12-23 Chong Yidong <cyd@gnu.org>
1278
1279 * subr.el (set-transient-map): Rename from
1280 set-temporary-overlay-map. Doc fix.
1281
1282 * face-remap.el (text-scale-adjust):
1283 * indent.el (indent-rigidly):
1284 * kmacro.el (kmacro-call-macro):
1285 * minibuffer.el (minibuffer-force-complete):
1286 * repeat.el (repeat):
1287 * simple.el (universal-argument--mode):
1288 * calendar/todo-mode.el (todo-insert-item--next-param):
1289 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1290
1291 * indent.el (indent-rigidly): Use substitute-command-keys.
1292
1293 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1294
1295 * net/eww.el (eww-tag-select): Add text-property to jump to next
1296 select field.
1297 (eww): Add non-supported ftp error.
1298
1299 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1300
1301 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1302 comments. Handle electric indent after typing `?' and `!'.
1303
1304 2013-12-22 Chong Yidong <cyd@gnu.org>
1305
1306 * faces.el (face-spec-recalc): If the theme specs are not
1307 applicable to a frame, fall back on the defface spec.
1308 This prevents themes from obliterating faces on low-color terminals.
1309
1310 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1311
1312 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1313 after `{'. We need it after block openers, and it doesn't seem
1314 to hurt after hash openers.
1315
1316 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1317
1318 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1319 extracted from `ruby-smie-rules'.
1320 (ruby--electric-indent-chars): New variable.
1321 (ruby--electric-indent-p): New function.
1322 (ruby-mode): Use `electric-indent-functions' instead of
1323 `electric-indent-chars'.
1324
1325 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1326
1327 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1328 docstring.
1329 (ruby-smie-rules): Indent plus one level after `=>'.
1330
1331 2013-12-21 Richard Stallman <rms@gnu.org>
1332
1333 * simple.el (newline): Doc fix.
1334
1335 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1336
1337 * net/eww.el (eww-list-histories, eww-list-histories)
1338 (eww-history-browse, eww-history-quit, eww-history-kill)
1339 (eww-history-mode-map, eww-history-mode): New command and
1340 functions to list browser histories.
1341 (eww-form-text): Support text form with disabled
1342 and readonly attributes.
1343 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1344
1345 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1346
1347 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1348 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1349 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1350 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1351 Use `user-error'.
1352 (eww-bookmark-mode-map): Add menu.
1353 (eww-render, eww-mode): Use `setq-local'.
1354 (eww-tool-bar-map): New variable.
1355 (eww-mode): Set `tool-bar-map'.
1356 (eww-view-source): Check for `html-mode' with `fboundp'.
1357
1358 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1359
1360 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1361 elements with text inside. Also remove debugging.
1362
1363 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1364
1365 * cus-start.el (all): Add ns-use-srgb-colorspace.
1366
1367 2013-12-21 Chong Yidong <cyd@gnu.org>
1368
1369 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1370 undefined. Thus, theme settings for undefined faces do not take
1371 effect until the faces are defined with defface, the same as with
1372 theme variables.
1373
1374 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1375 (face-spec-reset-face): Don't assign extra properties in temacs.
1376 (face-spec-recalc): Apply X resources too.
1377
1378 2013-12-21 Chong Yidong <cyd@gnu.org>
1379
1380 * faces.el (face-spec-set):
1381 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1382 * custom.el (defface): Doc fixes (Bug#16203).
1383
1384 * indent.el (indent-rigidly-map): Add docstring, and move commands
1385 into named functions.
1386 (indent-rigidly-left, indent-rigidly-right)
1387 (indent-rigidly-left-to-tab-stop)
1388 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1389 indentation direction based on bidi direction, and accumulate
1390 sequential commands in a single undo boundary.
1391 (indent-rigidly--pop-undo): New utility function.
1392
1393 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1394
1395 * faces.el (read-face-name): Require crm.el when using crm-separator.
1396
1397 2013-12-20 Daniel Colascione <dancol@dancol.org>
1398
1399 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1400 so that we don't reflow comments into the shebang line.
1401
1402 2013-12-20 Juri Linkov <juri@jurta.org>
1403
1404 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1405 a position when `dired-directory' is non-nil. Check integer
1406 positions with `integerp'.
1407 (toggle-save-place, save-places-to-alist): Add check for
1408 `dired-directory'.
1409 (save-place-find-file-hook): Check integer positions with
1410 `integerp'.
1411 (save-place-dired-hook): Use `dired-goto-file' when
1412 `dired-filename' is found in the assoc list. Check integer
1413 positions with `integerp'.
1414 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1415
1416 * dired.el (dired-initial-position-hook): Rename back from
1417 `dired-initial-point-hook'.
1418 (dired-initial-position): Rename `dired-initial-point-hook' to
1419 `dired-initial-position-hook'.
1420 (dired-file-name-at-point): Doc fix. (Bug#15329)
1421
1422 2013-12-20 Juri Linkov <juri@jurta.org>
1423
1424 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1425 (read-regexp-suggestions): New function.
1426 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1427 Use `read-regexp-suggestions'. Add non-empty default to history
1428 for empty input.
1429 (occur-read-regexp-defaults-function): Remove function.
1430 (occur-read-primary-args): Use `regexp-history-last' instead of
1431 `occur-read-regexp-defaults-function'.
1432
1433 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1434 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1435 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1436 `hi-lock-read-regexp-defaults-function'. Doc fix.
1437 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1438 with `find-tag-default-as-symbol-regexp'. Doc fix.
1439 (hi-lock-read-regexp-defaults): Remove function.
1440 (hi-lock-regexp-okay): Add check for null.
1441
1442 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1443 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1444
1445 * subr.el (find-tag-default-as-symbol-regexp): New function.
1446 (find-tag-default-as-regexp): Move symbol regexp formatting to
1447 `find-tag-default-as-symbol-regexp'.
1448
1449 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1450
1451 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1452 (Bug#14179)
1453
1454 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1455
1456 * calendar/todo-mode.el: New implementation of item insertion
1457 commands and key bindings.
1458 (todo-key-prompt): New face.
1459 (todo-insert-item): New command.
1460 (todo-insert-item--parameters): New defconst, replacing defvar
1461 todo-insertion-commands-args-genlist.
1462 (todo-insert-item--param-key-alist): New defconst, replacing
1463 defvar todo-insertion-commands-arg-key-list.
1464 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1465 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1466 (todo-insert-item--next-param): New functions.
1467 (todo-insert-item--args, todo-insert-item--argleft)
1468 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1469 New variables.
1470 (todo-key-bindings-t): Change binding of "i" from
1471 todo-insertion-map to todo-insert-item.
1472 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1473 (todo-insertion-command-name, todo-insertion-commands-names)
1474 (todo-define-insertion-command, todo-insertion-commands)
1475 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1476
1477 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1478
1479 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1480 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1481 eval-when-compile.
1482 (todo-move-category): Allow choosing a non-existing todo file to
1483 move the category to, and create that file.
1484 (todo-default-priority): New user option.
1485 (todo-set-item-priority): Use it.
1486 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1487 (desktop-restore-file-buffer): Declare.
1488 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1489 (todo-modes-set-2): Locally set desktop-save-buffer to
1490 todo-desktop-save-buffer.
1491 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1492 (auto-mode-alist): Add autoload cookie.
1493
1494 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1495
1496 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1497 helpers.el was a poor choice of name.
1498 (string-remove-prefix): New function.
1499 (string-remove-suffix): New function.
1500
1501 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1502
1503 Fix assignment for new window total sizes.
1504 * window.el (window--pixel-to-size): Remove function.
1505 (window--pixel-to-total-1, window--pixel-to-total):
1506 Fix calculation of new total sizes.
1507
1508 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1509
1510 * comint.el (comint-output-filter): Fix rear-nonsticky property
1511 placement (Bug#16010).
1512
1513 2013-12-20 Chong Yidong <cyd@gnu.org>
1514
1515 * faces.el (read-color): Minor fix for completion function.
1516
1517 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1518
1519 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1520 New option. (Bug#16182)
1521 (ruby-smie--indent-to-stmt-p): Use it.
1522 (ruby-smie-rules): Revert the logic in the handling of `when'.
1523 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1524 (ruby-deep-arglist, ruby-deep-indent-paren)
1525 (ruby-deep-indent-paren-style): Update docstrings to note that the
1526 vars don't have any effect with SMIE.
1527
1528 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1529
1530 * calc/calc.el (calc-enter, calc-pop): Use the variable
1531 `calc-context-sensitive-enter'.
1532
1533 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1534
1535 * net/shr.el (shr-insert): Protect against infloops in degenerate
1536 tables.
1537
1538 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1539
1540 * progmodes/octave.el (octave): Add link to manual and octave
1541 homepage.
1542 (octave-mode-menu): Link to octave-mode manual.
1543
1544 2013-12-20 Leo Liu <sdl.web@gmail.com>
1545
1546 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1547 insertion using skeleton-end-newline. (Bug#16138)
1548
1549 2013-12-20 Juri Linkov <juri@jurta.org>
1550
1551 * replace.el (occur-engine): Use `add-face-text-property'
1552 to add the face property to matches and titles. (Bug#14645)
1553
1554 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1555 the palette of other hi-lock colors.
1556 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1557
1558 2013-12-19 Juri Linkov <juri@jurta.org>
1559
1560 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1561 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1562 (minibuffer-history-symbol): Move variable declaration closer to
1563 its usage.
1564
1565 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1566 (Bug#14785)
1567
1568 2013-12-19 Juri Linkov <juri@jurta.org>
1569
1570 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1571 New function.
1572 (log-edit-hook): Add it to :options. (Bug#16170)
1573
1574 2013-12-19 Juri Linkov <juri@jurta.org>
1575
1576 * simple.el (eval-expression-print-format): Don't check for
1577 command names and the last command. Always display additional
1578 formats of the integer result in the echo area, and insert them
1579 to the current buffer only with a zero prefix arg.
1580 Display character when char-displayable-p is non-nil.
1581 (eval-expression): With a zero prefix arg, set `print-length' and
1582 `print-level' to nil, and insert the integer values from
1583 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1584
1585 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1586 `eval-last-sexp-arg-internal'. Doc fix.
1587 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1588 `eval-last-sexp-print-value'. Doc fix.
1589 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1590 Set `print-length' and `print-level' to nil when arg is zero.
1591 (eval-last-sexp): Doc fix.
1592 (eval-defun-2): Print the integer values from
1593 `eval-expression-print-format' at the end.
1594
1595 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1596 values from `eval-expression-print-format' at the end.
1597
1598 * ielm.el (ielm-eval-input): Print the integer
1599 values from `eval-expression-print-format' at the end.
1600
1601 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1602
1603 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1604 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1605
1606 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1609 (hl-line-highlight, global-hl-line-highlight): Use it.
1610 (hl-line-overlay): Use defvar-local.
1611
1612 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1613
1614 * term/ns-win.el: Require dnd.
1615 (global-map): Remove drag items.
1616 (ns-insert-text, ns-set-foreground-at-mouse)
1617 (ns-set-background-at-mouse):
1618 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1619 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1620 New functions.
1621
1622 2013-12-19 Glenn Morris <rgm@gnu.org>
1623
1624 * emacs-lisp/ert.el (ert-select-tests):
1625 Fix string/symbol mixup. (Bug#16121)
1626
1627 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1628
1629 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1630 keywords to their parent.
1631
1632 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1633
1634 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1635 first arg to be a string (fixed dead code), or an operator symbol.
1636 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1637 operator symbols.
1638 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1639 did nothing. Don't respond to `(:after ".")', it will be called
1640 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1641 change anything. Only return indentation for binary operators
1642 when they are hanging. De-dent opening paren when its parent is
1643 `.', otherwise it looks bad when the dot is not at bol or eol
1644 (bug#16182).
1645
1646 2013-12-19 Juri Linkov <juri@jurta.org>
1647
1648 * replace.el (query-replace-read-args): Split a non-negative arg
1649 and a negative arg into separate elements.
1650 (query-replace, query-replace-regexp, replace-string)
1651 (replace-regexp): Add arg `backward'. Doc fix.
1652 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1653 move point to the beginning of the match.
1654 (replace-search, replace-highlight): Use new arg `backward'
1655 to set the value of `isearch-forward'.
1656 (perform-replace): Add arg `backward' and use it to perform
1657 replacement backward. (Bug#14979)
1658
1659 * isearch.el (isearch-query-replace): Use a negative prefix arg
1660 to call `perform-replace' with a non-nil arg `backward'.
1661
1662 2013-12-18 Juri Linkov <juri@jurta.org>
1663
1664 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1665 to the default list. Move `log-edit-show-files' to the end.
1666 Add more available functions to options.
1667 (log-edit): Move default specific settings to
1668 `log-edit-insert-message-template'. Don't move point.
1669 (log-edit-insert-message-template): New function.
1670 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1671 (Bug#16170)
1672
1673 2013-12-18 Juri Linkov <juri@jurta.org>
1674
1675 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1676 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1677
1678 2013-12-18 Leo Liu <sdl.web@gmail.com>
1679
1680 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1681 (Bug#16186)
1682
1683 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1684
1685 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1686 formats for displaying file sizes when the -s switch is given.
1687 Instead, compute a separate format for displaying the size in
1688 blocks, which is displayed in addition to the "regular" size.
1689 When -h is given in addition to -s, produce size in blocks in
1690 human-readable form as well. (Bug#16179)
1691
1692 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1693
1694 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1695 Reference tables with ~\ref{...} instead of only \ref{...}.
1696
1697 2013-12-18 Chong Yidong <cyd@gnu.org>
1698
1699 * cus-edit.el (custom-magic-alist): Fix "themed" description
1700 (Bug#14348).
1701
1702 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1703 is non-nil, do not create a new entry in the symbol's theme-value
1704 or theme-face property; update theme-settings only (Bug#14664).
1705 (custom-available-themes): Doc fix.
1706
1707 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1708 (Bug#15674).
1709
1710 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1711
1712 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1713
1714 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1715 (Bug#13914).
1716
1717 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1718
1719 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1720
1721 2013-12-18 Glenn Morris <rgm@gnu.org>
1722
1723 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1724 * cus-start.el (load-prefer-newer): New option.
1725
1726 2013-12-18 Le Wang <l26wang@gmail.com>
1727
1728 * comint.el (comint-previous-matching-input-from-input):
1729 Retain point (Bug#13404).
1730
1731 2013-12-18 Chong Yidong <cyd@gnu.org>
1732
1733 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1734
1735 2013-12-18 Glenn Morris <rgm@gnu.org>
1736
1737 * mail/emacsbug.el (report-emacs-bug):
1738 Only mention enable-multibyte-characters if non-standard.
1739
1740 2013-12-17 Juri Linkov <juri@jurta.org>
1741
1742 * arc-mode.el (archive-extract-by-file): Check if directory exists
1743 before deletion to not show irrelevant errors if it doesn't exist.
1744
1745 2013-12-17 Juri Linkov <juri@jurta.org>
1746
1747 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1748 (Bug#14751)
1749
1750 * net/eww.el (browse-web): Add alias to `eww'.
1751 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1752 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1753
1754 * net/browse-url.el (browse-url-browser-function): Move `eww'
1755 closer to similar functions.
1756
1757 * startup.el (fancy-startup-screen, fancy-about-screen):
1758 Set browse-url-browser-function to eww-browse-url locally.
1759 (Bug#14751)
1760
1761 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1762
1763 * window.el (window--pixel-to-total): Remove unused `mini' var.
1764 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1765 (split-window): Remove unused `new' var.
1766 (window--display-buffer): Remove unused `frame' and `delta' vars.
1767 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1768 and display-width'.
1769
1770 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1771
1772 * dired.el (dired-mark-pop-up):
1773 * register.el (register-preview): Don't bind
1774 split-height-threshold here since it's now done in
1775 display-buffer-below-selected.
1776
1777 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1778
1779 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1780 xterm-rgb-convert-to-16bit.
1781 (rxvt-register-default-colors): Standardize with
1782 xterm-register-default-colors (Bug#14078).
1783
1784 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1785
1786 * simple.el (kill-region): Pass mark first, then point, so that
1787 kill-append works right (Bug#12819).
1788 (copy-region-as-kill, kill-ring-save): Likewise.
1789
1790 2013-12-17 Leo Liu <sdl.web@gmail.com>
1791
1792 * net/rcirc.el (rcirc-add-face):
1793 * eshell/em-prompt.el (eshell-emit-prompt):
1794 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1795 (Bug#16167)
1796
1797 2013-12-17 Chong Yidong <cyd@gnu.org>
1798
1799 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1800 Suggested by Xue Fuqiao.
1801
1802 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1805
1806 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * net/shr.el (shr-insert-document): Remove unused var
1809 `shr-preliminary-table-render'.
1810 (shr-rescale-image): Remove unused arg `force'.
1811 (shr-put-image): Update calls accordingly.
1812 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1813
1814 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1815
1816 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1817 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1818 :close-all, to see which indentation method to use (Bug#16116).
1819 (smie-rules-function): Document the method :close-all.
1820
1821 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1822
1823 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1824
1825 * net/eww.el (eww-display-html): If we can't find the anchor we're
1826 looking for, then go to point-min.
1827
1828 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1829
1830 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1831 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1832 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1833 Expand dir too, in case it's relative.
1834
1835 2013-12-16 Juri Linkov <juri@jurta.org>
1836
1837 * desktop.el (desktop-auto-save-timeout): Change default to
1838 `auto-save-timeout'. Doc fix.
1839 (desktop-save): Skip the timestamp in desktop-saved-frameset
1840 when checking for auto-save changes.
1841 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1842 `desktop-auto-save' is called repeatedly by the idle timer.
1843 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1844 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1845 (Bug#15331)
1846
1847 2013-12-16 Juri Linkov <juri@jurta.org>
1848
1849 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1850 (Bug#16035)
1851 (isearch-pre-command-hook): Check `this-command' for symbolp.
1852
1853 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1856
1857 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1858
1859 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1860 (cfengine3--current-function): Bring in the current-function
1861 functionality from `cfengine3--current-word'.
1862 (cfengine3-completion-function): Bring in the
1863 bounds-of-current-word functionality from
1864 `cfengine3--current-word'.
1865
1866 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1867
1868 * window.el (display-buffer-below-selected):
1869 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1870
1871 2013-12-16 Leo Liu <sdl.web@gmail.com>
1872
1873 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1874 Remove NOMSG arg and all uses changed.
1875
1876 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1879 (cua--deactivate-rectangle): Don't deactivate the mark.
1880 (cua-set-rectangle-mark): Don't set mark-active since
1881 cua--activate-rectangle already does it for us.
1882 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1883 non-rectangular region.
1884
1885 * emulation/cua-base.el (cua-repeat-replace-region):
1886 Use with-current-buffer.
1887
1888 * net/gnutls.el: Use cl-lib.
1889 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1890
1891 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1892
1893 * emacs-lisp/package.el (package-built-in-p): Support both
1894 built-in and the package.el converted package descriptions.
1895 (package-show-package-list): Allow keywords.
1896 (package-keyword-button-action): Use it instead of
1897 `finder-list-matches'.
1898 (package-menu-filter-interactive): Interactive filtering (by
1899 keyword) function.
1900 (package-menu--generate): Support keywords and change keymappings
1901 and headers when they are given.
1902 (package--has-keyword-p): Helper function.
1903 (package-menu--refresh): Use it.
1904 (package--mapc): Helper function.
1905 (package-all-keywords): Use it.
1906 (package-menu-mode-map): Set up menu items and keybindings to
1907 provide a filtering UI.
1908
1909 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1910
1911 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1912 the behavior when a certificate fails validation. Defaults to
1913 old behavior: never abort, just warn.
1914 (gnutls-negotiate): Use it.
1915
1916 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1917
1918 * window.el (display-buffer-below-selected): Never split window
1919 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1920
1921 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1922
1923 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1924 (package-buffer-info): Use it (bug#15108).
1925
1926 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * icomplete.el (icomplete-completions): Make sure the prefix is already
1929 displayed elsewhere before hiding it (bug#16219).
1930
1931 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1932
1933 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1934 open-paren tokens when preceded by a open-paren, too.
1935 (ruby-smie-rules): Handle virtual indentation after open-paren
1936 tokens specially. If there is code between it and eol, return the
1937 column where is starts (Bug#16118).
1938
1939 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1940
1941 * progmodes/cfengine.el: Fix `add-hook' doc.
1942 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1943 (cfengine3--current-word): Fix parameters.
1944 (cfengine3-make-syntax-cache): Simplify further.
1945 (cfengine3-completion-function, cfengine3--current-function):
1946 Use `assq' for symbols.
1947 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1948
1949 2013-12-13 Glenn Morris <rgm@gnu.org>
1950
1951 * loadup.el (load-path): Warn if site-load or site-init changes it.
1952 No more need to reset it when bootstrapping.
1953
1954 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1955
1956 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1957 locations for cf-promises.
1958 (cfengine-mode-syntax-functions-regex): New caching variable.
1959 (cfengine3-fallback-syntax): Fallback syntax for cases where
1960 cf-promises doesn't run.
1961 (cfengine3--current-word): Reimplement using
1962 `cfengine-mode-syntax-functions-regex'.
1963 (cfengine3-completion-function, cfengine3--current-function):
1964 Use `cfengine3-make-syntax-cache' directly.
1965 (cfengine3-clear-syntax-cache): New function.
1966 (cfengine3-make-syntax-cache): Simplify and create
1967 `cfengine-mode-syntax-functions-regex' on demand.
1968 (cfengine3-format-function-docstring): Don't call
1969 `cfengine3-make-syntax-cache' explicitly.
1970
1971 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1972
1973 Fix windmove-find-other-window broken after pixelwise resizing
1974 (Bug#16017).
1975 * windmove.el (windmove-other-window-loc): Revert change from
1976 2013-12-04.
1977 (windmove-find-other-window): Call window-in-direction.
1978 * window.el (window-in-direction): New arguments SIGN, WRAP and
1979 MINI to emulate original windmove-find-other-window behavior.
1980
1981 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1982
1983 * simple.el (blink-matching--overlay): New variable.
1984 (blink-matching-open): Instead of moving point, highlight the
1985 matching paren with an overlay
1986 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1987
1988 * faces.el (paren-showing-faces, show-paren-match)
1989 (show-paren-mismatch): Move from paren.el.
1990
1991 2013-12-13 Leo Liu <sdl.web@gmail.com>
1992
1993 * indent.el (indent-region): Disable progress reporter in
1994 minibuffer. (Bug#16108)
1995
1996 * bindings.el (visual-order-cursor-movement): Fix version.
1997
1998 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1999
2000 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2001 Also match after beginning of line.
2002 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2003 files. Thanks to Russell Sim. (Bug#15378)
2004
2005 2013-12-13 Juri Linkov <juri@jurta.org>
2006
2007 * simple.el <Keypad support>: Remove key bindings duplicated
2008 with bindings.el. (Bug#14397)
2009
2010 2013-12-13 Juri Linkov <juri@jurta.org>
2011
2012 * comint.el (comint-mode-map): Replace `delete-char' with
2013 `delete-forward-char'. (Bug#16109)
2014
2015 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2016
2017 * progmodes/python.el (python-indent-calculate-indentation):
2018 Fix de-denters cornercase. (Bug#15731)
2019
2020 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2023 (advice--make): Pay attention to `depth'.
2024 (advice--make-1): Don't autoload commands eagerly.
2025 * emacs-lisp/elp.el (elp-instrument-function):
2026 * emacs-lisp/trace.el (trace-function-internal):
2027 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2028
2029 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2030
2031 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2032
2033 * term/w32-win.el (w32-handle-dropped-file):
2034 * startup.el (normal-top-level):
2035 * net/browse-url.el (browse-url-file-url):
2036 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2037 decode file names using 'utf-8' rather than
2038 file-name-coding-system.
2039
2040 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2041
2042 * progmodes/python.el (python-indent-context)
2043 (python-indent-calculate-indentation): Fix auto-identation
2044 behavior for comment blocks. (Bug#15916)
2045
2046 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2047
2048 * progmodes/python.el (python-indent-calculate-indentation):
2049 When determining indentation, don't treat "return", "pass", etc., as
2050 operators when they are just string constituents. (Bug#15812)
2051
2052 2013-12-12 Juri Linkov <juri@jurta.org>
2053
2054 * uniquify.el (uniquify-buffer-name-style): Change default to
2055 `post-forward-angle-brackets'.
2056
2057 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2058 `uniquify'. Change default to `post-forward-angle-brackets'.
2059
2060 2013-12-11 Glenn Morris <rgm@gnu.org>
2061
2062 * emacs-lisp/package.el (finder-list-matches):
2063 Autoload rather than falsely declaring.
2064
2065 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2066
2067 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2068 (eww-mode-map): Use them.
2069
2070 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2071
2072 * window.el (display-buffer-in-side-window): Fix doc-string
2073 (Bug#16115).
2074
2075 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2076
2077 * vc/vc-git.el: Silence byte-compiler warnings.
2078 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2079 (log-edit-set-header): Declare.
2080
2081 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2082
2083 * Makefile.in (custom-deps, finder-data): Run output file names
2084 through unmsys--file-name. (Bug#16099)
2085
2086 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2089 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2090
2091 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2092 instead of deleting the selection "by hand" (bug#16098).
2093 Rely on insert-for-yank to yank rectangles.
2094 (cua-highlight-region-shift-only): Mark obsolete.
2095 (cua-mode): Don't enable/disable transient-mark-mode,
2096 shift-select-mode (cua-mode works both with and without them), and
2097 pc-selection-mode (obsolete).
2098 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2099 (cua--deactivate-rectangle): Deactivate it.
2100
2101 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2102 (delete-selection-helper): Make sure yank starts at the top of the
2103 deleted region.
2104 (minibuffer-keyboard-quit): Use region-active-p.
2105
2106 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2107
2108 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2109 to `delete' (bug#16109).
2110
2111 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2112
2113 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2114 info manual and show keybindings and set `:group' keyword.
2115
2116 2013-12-11 Juri Linkov <juri@jurta.org>
2117
2118 * delsel.el (delete-active-region): Let-bind `this-command'
2119 to prevent `kill-region' from changing its original value.
2120 (delete-selection-helper): Handle `overwrite-mode' for the type
2121 `kill' exactly the same way as for the type `t'.
2122 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2123 Support more commands. (Bug#13312)
2124
2125 2013-12-11 Juri Linkov <juri@jurta.org>
2126
2127 * bindings.el: Map kp keys to non-kp keys systematically
2128 with basic modifiers control, meta and shift. (Bug#14397)
2129
2130 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2131
2132 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2133 "Close browser" menu items. Fix wrong function of "List
2134 bookmarks".
2135
2136 2013-12-11 Juri Linkov <juri@jurta.org>
2137
2138 * misearch.el (multi-isearch-buffers): Set the value of
2139 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2140 arg of isearch-forward to t.
2141 (multi-isearch-buffers-regexp): Set the value of
2142 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2143 arg of isearch-forward-regexp to t.
2144 (multi-isearch-files): Set the value of
2145 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2146 arg of isearch-forward to t.
2147 (multi-isearch-files-regexp): Set the value of
2148 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2149 arg of isearch-forward-regexp to t. (Bug#16035)
2150
2151 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2152 arg of isearch-forward to t.
2153 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2154 arg of isearch-forward-regexp to t.
2155 (dired-isearch-filter-filenames): Remove unnecessary check for
2156 `dired-isearch-filenames'.
2157
2158 * comint.el (comint-history-isearch-backward):
2159 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2160 (comint-history-isearch-backward-regexp):
2161 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2162
2163 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2164
2165 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2166 unmsys--file-name. (Bug#16099)
2167
2168 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2169
2170 * emacs-lisp/package.el (package-keyword-button-action):
2171 Remove finder.el require dependency.
2172
2173 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2174
2175 * emacs-lisp/package.el: Require finder.el.
2176 (describe-package-1): Add keyword buttons.
2177 (package-make-button): New convenience function.
2178 (package-keyword-button-action): Keyword button action using
2179 `finder-list-matches'.
2180
2181 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2182
2183 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2184 last commit.
2185
2186 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2187
2188 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2189 symlinked files.
2190
2191 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2192
2193 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2194 after the end of a percent literal.
2195
2196 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2197
2198 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2199 Handle caret-delimited strings (Bug#16079).
2200
2201 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2202
2203 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2204 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2205 `ruby-parse-partial' (Bug#16078).
2206
2207 2013-12-09 Leo Liu <sdl.web@gmail.com>
2208
2209 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2210
2211 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2212
2213 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2214 (js-switch-indent-offset): New option.
2215 (js--proper-indentation): Use it. And handle the case when
2216 "default" is actually a key in an object literal.
2217 (js--same-line): New function.
2218 (js--multi-line-declaration-indentation): Use it.
2219 (js--indent-in-array-comp, js--array-comp-indentation):
2220 New functions.
2221 (js--proper-indentation): Use them, to handle array comprehension
2222 continuations.
2223
2224 2013-12-08 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2227 (flymake-make-overlay): Remove arg MOUSE-FACE.
2228 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2229
2230 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2233 New function.
2234 (redisplay-highlight-region-function): Use it.
2235
2236 * emulation/cua-base.el (cua--explicit-region-start)
2237 (cua--last-region-shifted): Remove.
2238 (cua--deactivate): Use deactivate-mark.
2239 (cua--pre-command-handler-1): Don't handle shift-selection.
2240 (cua--post-command-handler-1): Don't change transient-mark-mode.
2241 (cua--select-keymaps): Use region-active-p rather than
2242 cua--explicit-region-start or cua--last-region-shifted.
2243 (cua-mode): Enable shift-select-mode.
2244
2245 2013-12-08 Leo Liu <sdl.web@gmail.com>
2246
2247 * progmodes/flymake.el (flymake-popup-current-error-menu):
2248 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2249 (flymake-posn-at-point-as-event, flymake-popup-menu)
2250 (flymake-make-emacs-menu): Remove. (Bug#16077)
2251
2252 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * rect.el (rectangle-mark-mode): Activate mark even if
2255 transient-mark-mode is off (bug#16066).
2256 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2257 is > mark and at bolp.
2258
2259 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2260 (region-extract-function): Use it.
2261 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2262 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2263 Delete functions.
2264 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2265 kill-ring-save, kill-region, delete-char, delete-forward-char.
2266 Ignore self-insert-iso.
2267
2268 * emulation/cua-gmrk.el (cua--init-global-mark):
2269 Ignore `self-insert-iso'.
2270
2271 * emulation/cua-base.el (cua--prefix-copy-handler)
2272 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2273 checking cua--rectangle.
2274 (cua-delete-region): Use region-extract-function.
2275 (cua-replace-region): Delete function.
2276 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2277 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2278 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2279 (cua--init-keymaps): Don't remap delete-selection commands.
2280 (cua-mode): Use delete-selection-mode instead of rolling our own
2281 (bug#16085).
2282
2283 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2284 Obey region-extract-function.
2285
2286 Make registers and delete-selection-mode work on rectangles.
2287 * register.el (describe-register-1): Don't modify the register's value.
2288 (copy-to-register): Obey region-extract-function.
2289 * delsel.el (delete-active-region): Obey region-extract-function.
2290
2291 2013-12-08 Leo Liu <sdl.web@gmail.com>
2292
2293 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2294 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2295 (flymake-compilation-prevents-syntax-check)
2296 (flymake-start-syntax-check-on-newline)
2297 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2298 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2299 (flymake-xml-program, flymake-master-file-dirs)
2300 (flymake-master-file-count-limit)
2301 (flymake-allowed-file-name-masks): Relocate.
2302 (flymake-makehash, flymake-float-time)
2303 (flymake-replace-regexp-in-string, flymake-split-string)
2304 (flymake-get-temp-dir): Remove.
2305 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2306 (flymake-current-row, flymake-selected-frame)
2307 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2308 related functions. (Bug#16077)
2309
2310 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2311
2312 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2313
2314 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2315
2316 * help-fns.el (describe-function-1): Use new advice-* functions
2317 rather than old ad-* functions. Fix function type description and
2318 source links for advised functions and subrs.
2319
2320 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2321
2322 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2323
2324 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2325
2326 * progmodes/compile.el (compilation-start):
2327 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2328
2329 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2330 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2331
2332 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2333
2334 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2335 Touch up the last change.
2336
2337 2013-12-06 Leo Liu <sdl.web@gmail.com>
2338
2339 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2340 (inferior-octave-startup): Always use "octave> " for prompt.
2341 (octave-goto-function-definition)
2342 (octave-sync-function-file-names)
2343 (octave-find-definition-default-filename): Remove redundant backquotes.
2344
2345 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2346
2347 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2348 syntax for `?'.
2349 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2350 where appropriate already.
2351 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2352 end of method names (Bug#15874).
2353
2354 2013-12-06 Juri Linkov <juri@jurta.org>
2355
2356 * isearch.el (isearch--saved-overriding-local-map):
2357 New internal variable.
2358 (isearch-mode): Set it to the initial value of
2359 `overriding-terminal-local-map'.
2360 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2361 with `isearch--saved-overriding-local-map'. (Bug#16035)
2362
2363 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2364
2365 * progmodes/octave.el (inferior-octave-completion-table):
2366 Turn back into function, use `completion-table-with-cache'
2367 (Bug#11906). Update all references.
2368
2369 * minibuffer.el (completion-table-with-cache): New function.
2370
2371 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2372
2373 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2374
2375 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2376
2377 * net/eww.el (eww-current-source): New variable to store page
2378 source.
2379 (eww-display-html, eww-mode, eww-save-history)
2380 (eww-restore-history): Use it.
2381 (eww-view-source): New command to view page source.
2382 Opportunistically uses `html-mode' to highlight the buffer.
2383 (eww-mode-map): Install it.
2384
2385 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2386
2387 * net/dbus.el (dbus-unregister-service)
2388 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2389 Fix docstring.
2390 (dbus-unregister-service): Skip :serial entries in
2391 `dbus-registered-objects-table'.
2392 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2393
2394 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2395
2396 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2397 around keywords with extra `split-string' argument.
2398
2399 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2400
2401 * windmove.el (windmove-other-window-loc): Handle navigation
2402 between windows (excluding the minibuffer window - Bug#16017).
2403
2404 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2405
2406 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2407 in D-Bus type syntax.
2408 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2409 preserve unibyte strings. (Bug#16048)
2410
2411 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2414 Call force-mode-line-update is the proper buffer (bug#16042).
2415
2416 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2419 `log-edit-remember-comment', make argument optional. Adjust all
2420 callers.
2421 (log-edit-mode): Add `log-edit-remember-comment' to
2422 `kill-buffer-hook' locally.
2423 (log-edit-kill-buffer): Don't remember comment explicitly since
2424 the buffer is killed anyway.
2425
2426 2013-12-04 Juri Linkov <juri@jurta.org>
2427
2428 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2429 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2430
2431 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2432
2433 * notifications.el (notifications-close-notification): Call the
2434 D-Bus method with ID being a `:uint32'. (Bug#16030)
2435
2436 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2437
2438 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2439
2440 2013-12-03 Juri Linkov <juri@jurta.org>
2441
2442 * progmodes/compile.el (compilation-start): Rename window alist
2443 entry `no-display-ok' to `allow-no-window'.
2444
2445 * simple.el (shell-command): Add window alist entry
2446 `allow-no-window' to `display-buffer'.
2447 (async-shell-command): Doc fix.
2448
2449 * window.el (display-buffer-no-window): New action function.
2450 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2451
2452 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * vc/log-edit.el (log-edit-set-header): Extract from
2455 `log-edit-toggle-header'.
2456 (log-edit-extract-headers): Separate the summary, when extracted
2457 from header, from the rest of the message with an empty line.
2458
2459 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2460 line, if present, to the Summary header.
2461
2462 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2465 in current-buffer (bug#16029).
2466
2467 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2468
2469 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2470 (debugger-mode-map): Bind it.
2471 (debugger--backtrace-base): New function.
2472 (debugger-eval-expression): Use it.
2473 (debugger-frame-number): Skip local vars when present.
2474 (debugger--locals-visible-p, debugger--insert-locals)
2475 (debugger--show-locals, debugger--hide-locals): New functions.
2476
2477 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2478
2479 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2480 "LC_ALL".
2481 (tramp-get-remote-locale): New defun.
2482 (tramp-open-connection-setup-interactive-shell): Use it.
2483
2484 2013-12-02 Leo Liu <sdl.web@gmail.com>
2485
2486 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2487
2488 * progmodes/sh-script.el (sh-shell-process):
2489 * progmodes/octave.el (inferior-octave-process-live-p):
2490 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2491 (gdb-inferior-io-sentinel):
2492 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2493
2494 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2495
2496 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2497 `save-selected-window' to `log-edit-hide-buf'. This makes
2498 `log-edit-show-files' idempotent.
2499 (log-edit-show-files): Mark the new window as dedicated.
2500
2501 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2502
2503 * vc/log-edit.el (log-edit-mode-map): Add binding for
2504 `log-edit-kill-biffer'.
2505 (log-edit-hide-buf): Add a FIXME comment.
2506 (log-edit-add-new-comment): New function, extracted from
2507 `log-edit-done'.
2508 (log-edit-done, log-edit-add-to-changelog): Use it.
2509 (log-edit-kill-buffer): New command.
2510
2511 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2512
2513 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2514 instead of killing the buffer.
2515
2516 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2519
2520 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2521
2522 * net/eww.el (eww-form-checkbox-selected-symbol)
2523 (eww-form-checkbox-symbol): New customizable variable.
2524 (eww-form-checkbox, eww-toggle-checkbox):
2525 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2526
2527 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2528 (shr--get-media-pref, shr--extract-best-source): New function.
2529 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2530 no :src tag was specified.
2531
2532 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2533 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2534 Use \\` to match beginning of string instead of ^.
2535 (eww-browse-with-external-browser): Provide optional URL parameter.
2536 (eww-render): Set `eww-current-title' back to "".
2537
2538 * net/shr.el (shr-tag-video): Display content for video if no
2539 poster is available.
2540 (shr-tag-audio): Add support for <audio> tag.
2541
2542 * net/eww.el (eww-text-input-types): New const.
2543 (eww-process-text-input): Treat input types in
2544 `eww-text-input-types' as text.
2545
2546 * net/shr.el (shr-tag-table): Fix comment typo.
2547
2548 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2549
2550 * net/eww.el (eww-follow-link): New command to avoid reloading
2551 pages when we follow #target links (bug#15243).
2552 (eww-quit): Special mode buffers shouldn't query before exiting.
2553
2554 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2555
2556 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2557 forms.
2558
2559 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2560
2561 * net/eww.el (eww-restore-history): Update the window title after
2562 moving in the history.
2563 (eww-current-dom): New variable used to save the current DOM.
2564
2565 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2566
2567 * vc/log-edit.el (log-edit-mode-map): Add binding for
2568 `log-edit-beginning-of-line'.
2569 (log-edit-setup-add-author): New user option.
2570 (log-edit-beginning-of-line): New command.
2571 (log-edit): Move major mode call above the contents setup so that
2572 the local variable values are already applied.
2573 (log-edit): Only insert "Author: " when
2574 `log-edit-setup-add-author' is non-nil.
2575 (log-edit): When SETUP is non-nil, position point after ": "
2576 instead of point-min.
2577
2578 2013-12-01 Glenn Morris <rgm@gnu.org>
2579
2580 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2581
2582 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2583
2584 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2585 redisplay to make sure the initial frame gets a chance to become
2586 visible. (Bug#16014)
2587
2588 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2589
2590 Support resizing frames and windows pixelwise.
2591 * cus-start.el (frame-resize-pixelwise)
2592 (window-resize-pixelwise): New entries.
2593 * emacs-lisp/debug.el (debug): Use window-total-height instead
2594 of window-total-size.
2595 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2596 * help.el (describe-bindings-internal): Call help-buffer
2597 (temp-buffer-max-width): New option.
2598 (resize-temp-buffer-window, help-window-setup)
2599 (with-help-window): Rewrite.
2600 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2601 dragging dividers.
2602 * window.el (frame-char-size, window-min-pixel-height)
2603 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2604 (window-min-pixel-width, window-safe-min-pixel-size)
2605 (window-combination-p, window-safe-min-size)
2606 (window-resizable-p, window--size-to-pixel)
2607 (window--pixel-to-size, window--resize-apply-p): New functions.
2608 (window-safe-min-height): Fix doc-string.
2609 (window-size, window-min-size, window--min-size-1)
2610 (window-sizable, window-sizable-p, window--min-delta-1)
2611 (window-min-delta, window--max-delta-1, window-max-delta)
2612 (window--resizable, window--resizable-p, window-resizable)
2613 (window-full-height-p, window-full-width-p, window-at-side-p)
2614 (window--in-direction-2, window-in-direction)
2615 (window--resize-reset-1, window--resize-mini-window)
2616 (window-resize, window-resize-no-error)
2617 (window--resize-child-windows-normal)
2618 (window--resize-child-windows, window--resize-siblings)
2619 (window--resize-this-window, window--resize-root-window)
2620 (window--resize-root-window-vertically)
2621 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2622 (maximize-window, minimize-window, delete-window)
2623 (quit-restore-window, window-split-min-size, split-window)
2624 (balance-windows-2, balance-windows)
2625 (balance-windows-area-adjust, balance-windows-area)
2626 (window--state-get-1, window-state-get, window--state-put-1)
2627 (window--state-put-2, window-state-put)
2628 (display-buffer-record-window, window--display-buffer):
2629 Make functions handle pixelwise sizing of windows.
2630 (display-buffer--action-function-custom-type)
2631 (display-buffer-fallback-action):
2632 Add display-buffer-in-previous-window.
2633 (display-buffer-use-some-window): Resize window to height it had
2634 before.
2635 (fit-window-to-buffer-horizontally): New option.
2636 (fit-frame-to-buffer): Describe new values.
2637 (fit-frame-to-buffer-bottom-margin): Replace with
2638 fit-frame-to-buffer-margins.
2639 (window--sanitize-margin): New function.
2640 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2641 using window-text-pixel-size.
2642
2643 2013-11-30 Glenn Morris <rgm@gnu.org>
2644
2645 * emacs-lisp/bytecomp.el (byte-compile-form):
2646 Make the `interactive-only' warning like the `obsolete' one.
2647 * comint.el (comint-run):
2648 * files.el (insert-file-literally, insert-file):
2649 * replace.el (replace-string, replace-regexp):
2650 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2651 (goto-line, insert-buffer, next-line, previous-line):
2652 Tweak `interactive-only' spec.
2653
2654 Stop keeping (most) generated cedet grammar files in the repository.
2655 * Makefile.in (semantic): New.
2656 (compile-main): Depend on semantic.
2657
2658 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2659
2660 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2661 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2662
2663 * uniquify.el (uniquify-buffer-name-style): Change default.
2664
2665 * loadup.el: Preload "uniquify".
2666
2667 * time.el (display-time-update): Update all mode lines (bug#15999).
2668
2669 * electric.el (electric-indent-mode): Enable by default.
2670 * loadup.el: Preload "electric".
2671
2672 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2673
2674 * emacs-lisp/helpers.el (string-empty-p): New function.
2675 (string-blank-p): New function.
2676
2677 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2678
2679 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2680 (Bug#14029).
2681
2682 2013-11-29 Andreas Politz <politza@fh-trier.de>
2683 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2684 allow non-lambda lists as functions.
2685 (imenu--in-alist): Don't recurse into non-subalists.
2686 (imenu): Don't pass function itself as an argument (Bug#14029).
2687
2688 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * progmodes/python.el (python-mode-map): Remove binding for ":".
2691 (python-indent-electric-colon): Remove command.
2692 (python-indent-post-self-insert-function): Integrate the previous code
2693 of python-indent-electric-colon. Make it conditional on
2694 electric-indent-mode.
2695 (python-mode): Add ?: to electric-indent-chars.
2696 Move python-indent-post-self-insert-function to the end of
2697 post-self-insert-hook.
2698
2699 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * doc-view.el (doc-view-goto-page): Update mode-line.
2702
2703 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2704
2705 2013-11-27 Glenn Morris <rgm@gnu.org>
2706
2707 * international/charprop.el, international/uni-bidi.el:
2708 * international/uni-category.el, international/uni-combining.el:
2709 * international/uni-comment.el, international/uni-decimal.el:
2710 * international/uni-decomposition.el, international/uni-digit.el:
2711 * international/uni-lowercase.el, international/uni-mirrored.el:
2712 * international/uni-name.el, international/uni-numeric.el:
2713 * international/uni-old-name.el, international/uni-titlecase.el:
2714 * international/uni-uppercase.el:
2715 Remove generated files from VCS repository.
2716
2717 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2718
2719 * filenotify.el (file-notify-add-watch): Don't special-case
2720 w32notify when computing the directory to watch.
2721
2722 2013-11-27 Glenn Morris <rgm@gnu.org>
2723
2724 Make bootstrap without generated uni-*.el files possible again.
2725 * loadup.el: Update command-line-args checking for unidata-gen.
2726 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2727 * composite.el, international/characters.el:
2728 Handle unicode tables being undefined.
2729
2730 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2731 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2732 (compile-main): Depend on leim rule.
2733 (leim): New rule.
2734 * loadup.el: Move leim-list.el to leim/ subdirectory.
2735 * startup.el (normal-top-level): No more leim directory.
2736 * international/ja-dic-cnv.el (skkdic-convert):
2737 Disable version-control and autoloads in output files.
2738 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2739 Disable version-control and autoloads in output files.
2740 * leim/quail: Move here from ../leim.
2741 * leim/quail/hangul.el (hangul-input-method-activate):
2742 Add autoload cookie.
2743 (generated-autoload-load-name): Set file-local value.
2744 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2745 (generated-autoload-load-name): Set file-local value.
2746
2747 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2748
2749 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2750 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2751 (eww-quit): Ask confirmation before quitting eww.
2752
2753 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2754
2755 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2756 reading output from Diff on MS-Windows and MS-DOS.
2757
2758 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2759
2760 * emacs-lisp/helpers.el (string-reverse): New function.
2761
2762 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2765 names on MS Windows, like "/[::1]:".
2766
2767 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2768 SWITCHES.
2769
2770 2013-11-26 Glenn Morris <rgm@gnu.org>
2771
2772 * progmodes/python.el (python-indent-guess-indent-offset):
2773 Avoid corner-case error. (Bug#15975)
2774
2775 Preload leim-list.el. (Bug#4789)
2776 * loadup.el: Load leim-list.el when found.
2777 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2778
2779 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2780
2781 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2782
2783 * emacs-lisp/helpers.el (string-join): New function.
2784
2785 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2786
2787 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2788 Mark as obsolete and replace it with a symbol property.
2789 (byte-compile-form): Use new 'interactive-only property.
2790 * comint.el, files.el, replace.el, simple.el:
2791 Apply new 'interactive-only properly.
2792
2793 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2794
2795 * window.el (display-buffer-at-bottom): Make sure that
2796 split-window-sensibly creates the new window on bottom
2797 (Bug#15961).
2798
2799 2013-11-23 David Kastrup <dak@gnu.org>
2800
2801 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2802 on the conflict markers when available.
2803 (smerge--get-marker): New function.
2804 (smerge-end-re, smerge-base-re): Add subgroup.
2805
2806 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * frame.el (handle-focus-in, handle-focus-out): Add missing
2809 interactive spec.
2810
2811 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2814 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2815
2816 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2819 (gomoku--last-pos): New var.
2820 (gomoku--intangible-chars): New const.
2821 (gomoku--intangible): New function.
2822 (gomoku-mode): Use it. Derive from special-mode.
2823 (gomoku-move-up): Adjust line count.
2824 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2825 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2826 Simplify accordingly.
2827
2828 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2829 Remove blink-cursor code.
2830 (blink-cursor-timer-function, blink-cursor-suspend):
2831 Don't special-case GUIs.
2832 (blink-cursor-mode): Use focus-in/out-hook.
2833
2834 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2835
2836 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2837 work when annotation is invisible (Bug#13886).
2838
2839 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2840
2841 * json.el (json-alist-p): Only return non-nil if the alist has
2842 simple keys (Bug#13518).
2843
2844 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2845
2846 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2847 when control-statement is the first statement in a buffer (Bug#15956).
2848
2849 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2850
2851 * imenu.el (imenu-generic-skip-comments-and-strings):
2852 New option (Bug#15560).
2853 (imenu--generic-function): Use it.
2854
2855 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2856
2857 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2858 (Bug#13898)
2859
2860 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2861
2862 * emacs-lisp/helpers.el: Add some string helpers.
2863 (string-trim-left): Removes leading whitespace.
2864 (string-trim-right): Removes trailing whitespace.
2865 (string-trim): Removes leading and trailing whitespace.
2866
2867 * subr.el (string-suffix-p): New function.
2868
2869 2013-11-23 Glenn Morris <rgm@gnu.org>
2870
2871 * progmodes/python.el (python-shell-send-file):
2872 Add option to delete file when done. (Bug#15647)
2873 (python-shell-send-string, python-shell-send-region): Use it.
2874
2875 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2876
2877 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2878 to set buffer-read-only to t, never to nil. (Bug#15938)
2879
2880 * textmodes/tex-mode.el (latex-noindent-environments):
2881 Add safe-local-variable property. (Bug#15936)
2882
2883 2013-11-23 Glenn Morris <rgm@gnu.org>
2884
2885 * textmodes/enriched.el (enriched-mode): Doc fix.
2886 * emacs-lisp/authors.el (authors-renamed-files-alist):
2887 Add enriched.doc -> enriched.txt.
2888
2889 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2890
2891 2013-11-22 Leo Liu <sdl.web@gmail.com>
2892
2893 * progmodes/octave.el (inferior-octave-startup): Spit out error
2894 message.
2895
2896 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2897
2898 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2899 Improve docstring.
2900 Add :version.
2901 (ruby-encoding-magic-comment-style): Add :version.
2902
2903 2013-11-22 Leo Liu <sdl.web@gmail.com>
2904
2905 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2906 (Bug#15076)
2907 (octave-help-mode): Adapt to change to help-mode-finish to use
2908 derived-mode-p on 2013-09-17.
2909 (inferior-octave-prompt): Also match octave-gui.
2910 (octave-kill-process): Don't ask twice. (Bug#10564)
2911
2912 2013-11-22 Leo Liu <sdl.web@gmail.com>
2913
2914 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2915 (inferior-octave-startup, inferior-octave-check-process)
2916 (inferior-octave-track-window-width-change)
2917 (octave-completion-at-point, octave-eldoc-function): Use it.
2918 (octave-kill-process): Provide confirmation. (Bug#10564)
2919
2920 2013-11-21 Leo Liu <sdl.web@gmail.com>
2921
2922 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2923 Fix obsolete variable comment-use-global-state.
2924
2925 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2926
2927 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2928 Add `octave-source-file'.
2929 (octave-source-file): New function. (Bug#15935)
2930
2931 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2932
2933 * net/eww.el (eww-local-regex): New variable.
2934 (eww): Use it to detect localhost and similar.
2935
2936 2013-11-21 Leo Liu <sdl.web@gmail.com>
2937
2938 Add completion for command `ag'.
2939 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2940 (pcomplete/ag): New function.
2941 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2942
2943 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2946 (bug#14646).
2947 (make-obsolete): Remove interactive spec.
2948
2949 2013-11-21 Glenn Morris <rgm@gnu.org>
2950
2951 * startup.el (command-line-1): Use path-separator with -L.
2952
2953 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2954
2955 * emacs-lisp/package.el (describe-package-1): Add package archive
2956 to shown fields.
2957
2958 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2959
2960 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2961 Change default to "# encoding: %s" to differentiate it from the
2962 default Ruby encoding comment template.
2963
2964 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2965
2966 * ses.el (ses-mode): Doc fix. (Bug#14748)
2967
2968 2013-11-20 Leo Liu <sdl.web@gmail.com>
2969
2970 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2971
2972 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2973
2974 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2975 when rebase or bisect are in progress.
2976
2977 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2978
2979 * filenotify.el (file-notify-add-watch): Doc fix.
2980
2981 2013-11-19 Leo Liu <sdl.web@gmail.com>
2982
2983 * obsolete/rcompile.el: Mark obsolete.
2984
2985 * progmodes/compile.el (compilation-start)
2986 (compilation-goto-locus, compilation-find-file):
2987 Pass no-display-ok and handle nil value from display-buffer.
2988 (Bug#13594)
2989
2990 * window.el (display-buffer-alist, display-buffer): Document the
2991 new parameter no-display-ok. Return either a window or nil
2992 but never a non-window value.
2993
2994 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * electric.el (electric-indent-mode-map): Remove.
2997 (electric-indent-mode): Change the global-map instead (bug#15915).
2998
2999 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3000 Use add-function.
3001
3002 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * emacs-lisp/nadvice.el (remove-function): Align with
3005 add-function's behavior.
3006
3007 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3008 (gdb--string-regexp): New constant.
3009 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3010 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3011 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3012 submatch 1.
3013 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3014 Adjust use accordingly.
3015 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3016
3017 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3018
3019 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3020 interpolation curlies (Bug#15914).
3021
3022 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3023
3024 * calc/calc.el (calc-context-sensitive-enter): New variable.
3025 (calc-enter): Use `calc-context-sensitive-enter'.
3026
3027 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3028
3029 * progmodes/cfengine.el: Version bump.
3030 (cfengine-cf-promises): New defcustom to locate cf-promises.
3031 (cfengine3-vartypes): Add new "data" type.
3032 (cfengine3--current-word): New function to get current name-like
3033 word or its bounds.
3034 (cfengine3--current-function): New function to look up a CFEngine
3035 function's definition.
3036 (cfengine3-format-function-docstring): New function.
3037 (cfengine3-make-syntax-cache): New function.
3038 (cfengine3-documentation-function): New function: ElDoc glue.
3039 (cfengine3-completion-function): New function: completion glue.
3040 (cfengine3-mode): Set `compile-command',
3041 `eldoc-documentation-function', and add to
3042 `completion-at-point-functions'.
3043
3044 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3047 `tramp-current-connection'.
3048
3049 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3050
3051 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3052 nil/self/true/false with "end of symbol".
3053
3054 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3055
3056 * subr.el (version-regexp-alist): Fix a typo.
3057
3058 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3059
3060 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3061 "en_US.utf8" and "LC_CTYPE" to "".
3062 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3063 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3064
3065 2013-11-15 Leo Liu <sdl.web@gmail.com>
3066
3067 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3068
3069 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * progmodes/gud.el (ctl-x-map):
3072 Remove C-x SPC binding. (Bug#12342)
3073 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3074
3075 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3076
3077 * subr.el (version-regexp-alist):
3078 Recognize hg, svn and darcs versions as snapshot versions.
3079
3080 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3081 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3082 (ruby--encoding-comment-required-p): Extract from
3083 `ruby-mode-set-encoding'.
3084 (ruby-mode-set-encoding): Add the ability to always insert an
3085 utf-8 encoding comment. Fix and simplify coding comment update
3086 logic.
3087
3088 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3089
3090 * net/tramp-gvfs.el (top): Run init code only when
3091 `tramp-gvfs-enabled' is not nil.
3092 (tramp-gvfs-enabled): Check also :system bus.
3093
3094 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 Sync with upstream verilog-mode revision 78e66ba.
3097 * progmodes/verilog-mode.el (verilog-end-of-defun)
3098 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3099 (verilog-get-end-of-defun): Remove unused argument.
3100 (verilog-comment-depth): Remove unused local `e'.
3101 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3102 Don't pass arg to verilog-get-end-of-defun.
3103
3104 2013-11-14 Glenn Morris <rgm@gnu.org>
3105
3106 * obsolete/assoc.el (aget): Prefix dynamic variable.
3107
3108 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3109
3110 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3111
3112 * widget.el, hfy-cmap.el: Remove bogus package version number.
3113
3114 2013-11-13 Glenn Morris <rgm@gnu.org>
3115
3116 * replace.el (replace-eval-replacement):
3117 Try to give more helpful error message. (Bug#15836)
3118
3119 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3120 (archive-7z-update): Avoid custom type mismatches.
3121
3122 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3123
3124 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3125
3126 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3127 address can be empty.
3128
3129 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3130 Accept nil SWITCHES.
3131 (tramp-gvfs-handle-write-region): Implement APPEND.
3132
3133 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3134
3135 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3136 binary "|" operator and closing block args delimiter.
3137 Remove FIXME comment referring to Ruby 1.8-only syntax.
3138 (ruby-smie--implicit-semi-p): Not after "|" operator.
3139 (ruby-smie--closing-pipe-p): New function.
3140 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3141 (ruby-smie-rules): Indent after "|".
3142
3143 2013-11-12 Glenn Morris <rgm@gnu.org>
3144
3145 * ps-print.el (ps-face-attribute-list):
3146 Handle anonymous faces. (Bug#15827)
3147
3148 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3149
3150 * window.el (display-buffer-other-frame): Fix doc-string.
3151 (Bug#15868)
3152
3153 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3156
3157 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3158
3159 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3160 (tramp-sh-handle-file-local-copy): Don't write a message when
3161 saving temporary files.
3162
3163 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3164 both directories are remote.
3165 (tramp-smb-handle-directory-files): Do not return double entries.
3166 Do not expand full file names.
3167 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3168 (tramp-smb-handle-write-region): Implement APPEND.
3169 (tramp-smb-get-stat-capability): Fix a stupid bug.
3170
3171 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3174
3175 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3176
3177 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3178 throwing error over malformed let/let* (bug#15814).
3179
3180 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * iswitchb.el (iswitchb-mode): Mark obsolete.
3183
3184 2013-11-11 Glenn Morris <rgm@gnu.org>
3185
3186 * international/uni-bidi.el, international/uni-category.el:
3187 * international/uni-name.el, international/uni-numeric.el:
3188 Regenerate for Unicode 6.3.0.
3189
3190 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3191
3192 * net/tramp.el (tramp-methods):
3193 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3194 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3195
3196 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3197
3198 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3199 Force highlighting text after Summary keyword in doc face for rpm.
3200
3201 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3202
3203 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3204 available and the word has no wildcards, append one to the grep pattern.
3205 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3206 (ispell-complete-word): Call `ispell-lookup-words' with the value
3207 independent of `ispell-look-p'.
3208
3209 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3210
3211 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3212 Not after "||".
3213 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3214 their parent.
3215
3216 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3219 (ruby-font-lock-keywords): Use backquote.
3220
3221 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3222
3223 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3224 (ruby-smie--backward-token): Only consider full-string matches.
3225
3226 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3227
3228 * faces.el (describe-face): Add distant-foreground.
3229
3230 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3231
3232 * progmodes/ruby-mode.el: Improve encoding comment handling.
3233 (ruby-encoding-magic-comment-style): New option.
3234 (ruby-custom-encoding-magic-comment-template): New option.
3235 (ruby--insert-coding-comment, ruby--detect-encoding):
3236 New functions extracted from `ruby-mode-set-encoding'.
3237 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3238 to control the style of the auto-inserted encoding comment.
3239
3240 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3241
3242 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3243 Use `smie-backward-sexp' with token argument.
3244
3245 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3246
3247 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3248 Remove instrumentation code.
3249
3250 2013-11-08 Glenn Morris <rgm@gnu.org>
3251
3252 * progmodes/autoconf.el (autoconf-mode):
3253 Tweak comment-start-skip. (Bug#15822)
3254
3255 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3258 at bobp (bug#15826).
3259 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3260
3261 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3262
3263 * man.el (Man-start-calling): New macro, extracted from
3264 Man-getpage-in-background.
3265 (Man-getpage-in-background): Use it.
3266 (Man-update-manpage): New command.
3267 (Man-mode-map): Bind it.
3268
3269 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3270
3271 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3272 of "and", "or", "&&" and "||".
3273 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3274 argument. Prohibit opening curly brace because it could only be a
3275 block opener in that position.
3276 (ruby-smie--forward-token, ruby-smie--backward-token):
3277 Separate "|" from "&" or "*" going after it. That can happen in block
3278 arguments.
3279 (ruby-smie--indent-to-stmt): New function, seeks the end of
3280 previous statement or beginning of buffer.
3281 (ruby-smie-rules): Use it.
3282 (ruby-smie-rules): Check if there's a ":" before a curly block
3283 opener candidate; if there is, it's a hash.
3284
3285 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3286
3287 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3288 (cl--block-wrapper): Fix last accidental change.
3289
3290 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3291
3292 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3293 Instrument, in order to hunt failure on hydra.
3294
3295 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3296
3297 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3298 malformed bindings form (bug#15814).
3299
3300 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3301
3302 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3303 "." compared to " @ ". This incidentally fixes some indentation
3304 examples with "do".
3305 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3306 (ruby-smie-grammar): New tokens: "and" and "or".
3307 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3308 Exclude "and" and "or". Remove "do" in order to work around token
3309 priorities.
3310 (ruby-smie-rules): Add all infix tokens. Handle the case of
3311 beginning-of-buffer.
3312
3313 2013-11-06 Glenn Morris <rgm@gnu.org>
3314
3315 * Makefile.in (setwins_almost, setwins_for_subdirs):
3316 Avoid accidental matches.
3317
3318 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * menu-bar.el (popup-menu): Use key-binding.
3321
3322 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3323
3324 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3325 menus, support also the menus produced by minor modes.
3326 (Bug#15817)
3327
3328 2013-11-06 Leo Liu <sdl.web@gmail.com>
3329
3330 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3331 DISTANCE to bound the search. All uses changed. (Bug#15808)
3332
3333 2013-11-06 Glenn Morris <rgm@gnu.org>
3334
3335 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3336 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3337 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3338
3339 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3340
3341 * electric.el (electric-indent-just-newline): New command.
3342 (electric-indent-mode-map): New keymap.
3343 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3344 Re-add :group which weren't redundant.
3345
3346 * electric.el (electric-indent-local-mode): New minor mode.
3347 (electric-indent-functions-without-reindent): New var.
3348 (electric-indent-post-self-insert-function): Use it.
3349 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3350
3351 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3352
3353 * international/quail.el (quail-help): Be more explicit about the
3354 meaning of the labels shown on the keys. (Bug#15800)
3355
3356 * startup.el (normal-top-level): Load the subdirs.el files before
3357 setting the locale environment. (Bug#15805)
3358
3359 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3362 via arguments so as to get the right ones (bug#15418).
3363
3364 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3365
3366 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3367
3368 Fix problems found while writing a test suite.
3369
3370 * net/tramp-compat.el (tramp-compat-load): New defun.
3371 * net/tramp.el (tramp-handle-load): Use it.
3372
3373 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3374 "(numberp ok-if-already-exists)" correctly.
3375
3376 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3377
3378 * international/characters.el (glyphless-char-display-control):
3379 Add usage note.
3380
3381 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3382
3383 * progmodes/python.el (python-mode):
3384 * progmodes/scheme.el (scheme-mode):
3385 * progmodes/prolog.el (prolog-mode):
3386 * progmodes/ruby-mode.el (ruby-mode):
3387 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3388 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3389
3390 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * rect.el (rectangle--highlight-for-redisplay):
3393 * emacs-lisp/smie.el (smie--next-indent-change):
3394 Use buffer-chars-modified-tick.
3395
3396 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3397
3398 * electric.el (electric-indent-post-self-insert-function):
3399 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3400
3401 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3402
3403 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3404
3405 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3406
3407 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3408 (bug#15786).
3409
3410 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3413
3414 * progmodes/python.el: Fix up last change.
3415 (python-shell--save-temp-file): New function.
3416 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3417 `string' comes from the current buffer.
3418 (python-shell-send-string-no-output): Remove `msg' arg.
3419 (python--use-fake-loc): New var.
3420 (python-shell-buffer-substring): Obey it. Try to compensate for the
3421 extra coding line added by python-shell--save-temp-file.
3422 (python-shell-send-region): Use python-shell--save-temp-file and
3423 python-shell-send-file directly. Add `nomain' argument.
3424 (python-shell-send-buffer): Use python-shell-send-region.
3425 (python-electric-pair-string-delimiter): New function.
3426 (python-mode): Use it.
3427
3428 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3429
3430 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3431 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3432 environment and decoding all of the default-directory's to here
3433 from command-line.
3434 (command-line): Decode also argv[0].
3435
3436 * loadup.el: Error out if default-directory is a multibyte string
3437 when we are dumping.
3438
3439 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3440
3441 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3442
3443 * emacs-lisp/package.el (package-menu-mode)
3444 (package-menu--print-info, package-menu--archive-predicate):
3445 Add Archive column to package list.
3446
3447 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3448
3449 Fix problems found while writing a test suite.
3450
3451 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3452 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3453 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3454 to nil when running original file name handler. Otherwise,
3455 there are problems with constructs like "$$FOO".
3456
3457 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3458 for `localname'.
3459
3460 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3461
3462 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3463
3464 * subr.el (version<, version<=, version=):
3465 Update docstrings with information for snapshot versions.
3466
3467 * helpers.el: New library for misc helper functions.
3468 (hash-table-keys): New function returning a list of hash keys.
3469 (hash-table-values): New function returning a list of hash values.
3470
3471 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3472
3473 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3474 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3475
3476 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3477
3478 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3479 checking whether point is after a 1-letter word.
3480
3481 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3482
3483 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3484 Don't infloop when expanding region over `multiline' syntax-type that
3485 begins a line (bug#15778).
3486
3487 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3488
3489 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3490 Make it into a proper minor mode.
3491 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3492 (rectangle-mark-mode-map): New keymap.
3493 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3494
3495 2013-11-04 Glenn Morris <rgm@gnu.org>
3496
3497 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3498
3499 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3502 (ruby-smie-rules): Use smie-rule-parent instead.
3503
3504 * emacs-lisp/smie.el (smie-rule-parent): Always call
3505 smie-indent-virtual rather than only for hanging tokens.
3506 (smie--next-indent-change): New helper command.
3507
3508 2013-11-03 Glenn Morris <rgm@gnu.org>
3509
3510 * Makefile.in (abs_srcdir): Remove.
3511 (emacs): Unset EMACSLOADPATH.
3512
3513 2013-11-02 Glenn Morris <rgm@gnu.org>
3514
3515 * Makefile.in (EMACS): Use a relative filename.
3516 (abs_top_builddir): Remove.
3517 (custom-deps, finder-data, autoloads): Use --chdir.
3518
3519 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3520
3521 Use relative filenames in TAGS files.
3522 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3523 (lisptagsfiles4, TAGS): Use relative file names.
3524 (TAGS-LISP): Remove.
3525 (maintainer-clean): No more TAGS-LISP file.
3526
3527 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3528 (lisptagsfiles4): Use absolute filenames again.
3529 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3530 Remove all *loaddefs files, not just the first. Remove esh-groups.
3531 (maintainer-clean): Delete TAGS, TAGS-LISP.
3532
3533 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3534
3535 * emacs-lisp/package.el (package-version-join):
3536 Recognize snapshot versions.
3537
3538 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3539
3540 * subr.el (version-regexp-alist): Add support for snapshot versions.
3541
3542 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3543
3544 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3545 New function, replacement for `smie-rule-parent' for when we want to
3546 skip over our direct parent if it's an assignment token..
3547 (ruby-smie-rules): Use it.
3548
3549 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3550
3551 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3552 unconditionally. Remove now unnecessary forward declarations.
3553 Remove XEmacs-specific setup.
3554 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3555 (ruby-font-lock-syntactic-keywords)
3556 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3557 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3558 (ruby-here-doc-end-syntax): Remove.
3559 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3560 defined as function.
3561
3562 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3563
3564 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3565
3566 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3567
3568 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3569 table and abbrev table, `define-derived-mode' does that for us
3570 anyway.
3571
3572 2013-11-01 Glenn Morris <rgm@gnu.org>
3573
3574 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3575 files is atomic for some time, so no parallel compilation issues).
3576
3577 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3578
3579 * faces.el (face-x-resources): Add :distant-foreground.
3580 (region): Use :distant-foreground for gtk and ns.
3581
3582 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3583
3584 Allow multiple bibliographies when BibLaTeX is used rather than
3585 BibTeX.
3586 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3587 (reftex-locate-bibliography-files): Us it.
3588
3589 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3590
3591 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3592 allow comments in pbm files.
3593
3594 * term/w32-win.el (dynamic-library-alist): Support newer versions
3595 of libjpeg starting with v7: look only for the DLL from the
3596 version against which Emacs was built.
3597 Support versions of libpng beyond 1.4.x.
3598 Support libtiff v4.x.
3599
3600 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3601
3602 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3603 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3604 Add property :safe.
3605 (ruby-deep-arglist): Add property :type.
3606
3607 2013-10-31 Glenn Morris <rgm@gnu.org>
3608
3609 * Makefile.in (custom-deps, finder-data): No need to setq the target
3610 variables, we are in the right directory and the defaults work fine.
3611
3612 2013-10-30 Glenn Morris <rgm@gnu.org>
3613
3614 * Makefile.in (autoloads): Do not use abs_lisp.
3615
3616 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3617 `newline' does not respect `standard-output', so use `princ'.
3618
3619 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3620
3621 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3622 * buff-menu.el (Buffer-menu--unmark): New function.
3623 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3624
3625 2013-10-30 Glenn Morris <rgm@gnu.org>
3626
3627 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3628
3629 * emacs-lisp/package.el (lm-homepage): Declare.
3630
3631 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3632 Fix doc typos.
3633
3634 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3635
3636 * Makefile.in (finder-data, autoloads, update-subdirs)
3637 (compile-main, compile-clean, compile-always, bootstrap-clean):
3638 Check return value of cd.
3639 (compile-calc): Remove.
3640
3641 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3644
3645 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3646 (byte-compile-and-folded): New function.
3647 (=, <, >, <=, >=): Use it.
3648
3649 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3650 (path-separator, null-device, buffer-file-coding-system)
3651 (lpr-headers-switches): Check system-type before modifying them.
3652 (find-buffer-file-type-coding-system): Mark obsolete.
3653 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3654 find-file-not-found-set-buffer-file-coding-system.
3655 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3656 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3657 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3658 (w32-direct-print-region-helper, w32-direct-print-region-function)
3659 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3660 * startup.el (normal-top-level-add-subdirs-to-load-path):
3661 * ps-print.el (ps-print-region-function):
3662 * lpr.el (print-region-function): Use new name.
3663
3664 * subr.el (custom-declare-variable-early): Remove function.
3665 (custom-declare-variable-list): Remove var.
3666 (error, user-error): Remove `while' loop.
3667 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3668 (user-emacs-directory-warning, locate-user-emacs-file):
3669 Move to files.el.
3670 * simple.el (read-quoted-char-radix, read-quoted-char):
3671 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3672 Move from subr.el.
3673 * custom.el (custom-declare-variable-list): Don't process
3674 custom-declare-variable-list.
3675
3676 * progmodes/python.el (python-shell-get-buffer): New function.
3677 (python-shell-get-process): Use it.
3678 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3679 Python which encoding was used. Don't split-string since we only care
3680 about the first line. Return the temp-file, if applicable.
3681 (python-shell-send-region): Tell compile.el how to turn locations in
3682 the temp-file into locations in the source buffer.
3683
3684 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * subr.el (undefined): Add missing behavior from the C code for
3687 unbound keys.
3688
3689 * rect.el: Use lexical-binding. Add new rectangular region support.
3690 (rectangle-mark): New command.
3691 (rectangle--region): New var.
3692 (deactivate-mark-hook): Reset rectangle--region.
3693 (rectangle--extract-region, rectangle--insert-for-yank)
3694 (rectangle--highlight-for-redisplay)
3695 (rectangle--unhighlight-for-redisplay): New functions.
3696 (region-extract-function, redisplay-unhighlight-region-function)
3697 (redisplay-highlight-region-function): Use them to handle
3698 rectangular region.
3699 * simple.el (region-extract-function): New var.
3700 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3701 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3702 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3703 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3704 (redisplay-unhighlight-region-function)
3705 (redisplay-highlight-region-function): New vars.
3706 (redisplay--update-region-highlight): New function.
3707 (pre-redisplay-function): Use it.
3708 (exchange-point-and-mark): Don't deactivate the mark before
3709 reactivate-it anyway.
3710 * comint.el (comint-kill-region): Remove yank-handler argument.
3711 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3712 (delete-char): Remove property, since it's now part of their
3713 default behavior.
3714 (self-insert-iso): Remove property since this command doesn't exist.
3715
3716 * emacs-lisp/package.el (package--download-one-archive)
3717 (describe-package-1): Don't query the user about final newline.
3718
3719 2013-10-29 Daniel Colascione <dancol@dancol.org>
3720
3721 * net/tramp.el (tramp-methods): Document new functionality.
3722 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3723 tramp-hostname-checker if method provides one instead of scanning
3724 argument list for "%h" to decide hostname acceptability.
3725
3726 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3727
3728 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3729 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3730 Handle COPY-CONTENTS. (Bug#15737)
3731
3732 2013-10-28 Daiki Ueno <ueno@gnu.org>
3733
3734 * epa-file.el
3735 (epa-file-cache-passphrase-for-symmetric-encryption):
3736 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3737
3738 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3739
3740 * image.el (defimage):
3741 (image-load-path): Doc fixes.
3742
3743 2013-10-27 Alan Mackenzie <acm@muc.de>
3744
3745 Indent statements in macros following "##" correctly.
3746 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3747 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3748
3749 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3750
3751 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3752
3753 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3754
3755 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3756 after `=' is probably a new expression.
3757
3758 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3759
3760 * man.el (man-imenu-title): New option.
3761 (Man-mode-map): Add menu. (Bug#15722)
3762 (Man-mode): Add imenu to menu.
3763
3764 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3765
3766 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3767 specific in what the first arg can be: a non-keyword word,
3768 string/regexp/percent literal opener, opening paren, or unary
3769 operator followed directly by word.
3770
3771 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3774 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3775 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3776 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3777 Remove vars, they do not apply any more.
3778 (prolog-mode-abbrev-table): Remove redundant declaration.
3779 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3780 (prolog-use-smie): Remove.
3781 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3782 supported by prolog-electric-if-then-else-flag.
3783 (prolog-mode-variables, prolog-menu): Use setq-local.
3784 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3785 Remove binding to `Backspace' since this key doesn't exist anyway.
3786 Remove bindings for electric self-inserting keys.
3787 (prog-mode): Assume it's defined.
3788 (prolog-post-self-insert): New function.
3789 (prolog-mode): Use it.
3790 (prolog-indent-line, prolog-indent-level)
3791 (prolog-find-indent-of-matching-paren)
3792 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3793 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3794 (prolog-goto-next-paren, prolog-in-string-or-comment)
3795 (prolog-tokenize, prolog-inside-mline-comment)
3796 (prolog-find-start-of-mline-comment): Remove functions.
3797 (prolog-find-unmatched-paren, prolog-clause-end)
3798 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3799 (prolog-electric--if-then-else): Rename from
3800 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3801 (prolog-tokenize-searchkey): Remove const.
3802 (prolog-clause-info): Use forward-sexp.
3803 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3804 (prolog-electric-if-then-else): Remove commands.
3805 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3806 for use in post-self-insert-hook.
3807 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3808 for use in post-self-insert-hook.
3809 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3810 for use in post-self-insert-hook.
3811 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3812 adapt it for use in post-self-insert-hook.
3813
3814 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3815
3816 * emacs-lisp/ert.el (ert-run-tests-interactively):
3817 Use `completing-read'. (Bug#9756)
3818
3819 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3820
3821 * simple.el (line-move): Call line-move-1 instead of
3822 line-move-visual when the current window hscroll is zero, but
3823 temporary-goal-column indicates we will need to hscroll as result
3824 of the movement. (Bug#15712)
3825
3826 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3827
3828 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3829 capitalization. Use :visible instead of :active.
3830 Fix `ruby-indent-exp' reference. Add menu items for the generic
3831 commands that are used with SMIE.
3832 (ruby-do-end-to-brace): Insert space after `{'.
3833
3834 2013-10-25 John Anthony <john@jo.hnanthony.com>
3835
3836 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3837
3838 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3839
3840 2013-10-25 Glenn Morris <rgm@gnu.org>
3841
3842 * vc/vc.el (vc-print-log): Don't use a working revision unless
3843 one was explicitly specified. (Bug#15322)
3844
3845 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * subr.el (add-to-list): Preserve return value in compiler-macro
3848 (bug#15692).
3849
3850 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3851
3852 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3853 result. Ask user to retry using '-all' flag. (Bug#15701)
3854
3855 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * emacs-lisp/smie.el: New smie-config system.
3858 (smie-config): New defcustom.
3859 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3860 (smie-config-guess, smie-config-save): New commands.
3861 (smie-config--mode-local, smie-config--buffer-local)
3862 (smie-config--trace, smie-config--modefuns): New vars.
3863 (smie-config--advice, smie-config--mode-hook)
3864 (smie-config--setter, smie-config-local, smie-config--get-trace)
3865 (smie-config--guess-value, smie-config--guess): New functions.
3866 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3867 text properties. Treat "string fence" syntax like string syntax.
3868
3869 * progmodes/sh-script.el (sh-use-smie): Change default.
3870 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3871 (sh-var-value): Simplify by CSE.
3872 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3873 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3874 is used.
3875 (sh-guess-basic-offset): Use cl-incf.
3876 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3877
3878 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3879
3880 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3881 (bug#15699).
3882
3883 2013-10-24 Glenn Morris <rgm@gnu.org>
3884
3885 * Makefile.in (abs_top_srcdir): Remove.
3886 (update-subdirs): Use relative path to update-subdirs.
3887
3888 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3889
3890 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3891 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3892 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3893 Call unmsys--file-name before expand-file-name, not after it.
3894
3895 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3896
3897 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3898 (ert-test-skipped): New error.
3899 (ert-skip, ert-stats-skipped): New defuns.
3900 (ert--skip-unless): New macro.
3901 (ert-test-skipped): New struct.
3902 (ert--run-test-debugger, ert-test-result-type-p)
3903 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3904 (ert--stats-set-test-and-result, ert-char-for-test-result)
3905 (ert-string-for-test-result, ert-run-tests-batch)
3906 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3907 Handle skipped tests. (Bug#9803)
3908
3909 2013-10-24 Glenn Morris <rgm@gnu.org>
3910
3911 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3912
3913 * Makefile.in (abs_top_srcdir): New, set by configure.
3914 (update-subdirs): Correct build-aux location.
3915
3916 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3917
3918 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3919 value, whether we could auto-deduce `backend', or not.
3920
3921 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3922 with parameters" example. Simplify the "is it block or is it
3923 hash" check, but also make it more thorough.
3924
3925 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3926
3927 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3928
3929 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3932 { if it is hanging.
3933
3934 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3935 :before ";".
3936
3937 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3938
3939 * progmodes/compile.el (compilation-directory-matcher)
3940 (compilation-page-delimiter):
3941 Support GNU Make-4.0 directory quoting. (Bug#15678)
3942
3943 2013-10-23 Leo Liu <sdl.web@gmail.com>
3944
3945 * ido.el (ido-tidy): Handle read-only text.
3946
3947 2013-10-23 Glenn Morris <rgm@gnu.org>
3948
3949 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3950 (emacs, compile, compile-always):
3951 Quote entities that might contain whitespace.
3952 (custom-deps, finder-data, autoloads): Use abs_lisp.
3953 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3954 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3955 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3956
3957 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3958
3959 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3960 Use `following-char'.
3961
3962 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3965 * progmodes/ruby-mode.el (ruby-smie-rules):
3966 Remove corresponding workaround. Fix indentation rule of ";" so it
3967 also applies when ";" is the parent.
3968
3969 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3970
3971 * frame.el (display-screens, display-pixel-height)
3972 (display-pixel-width, display-mm-width, display-backing-store)
3973 (display-save-under, display-planes, display-color-cells)
3974 (display-visual-class, display-monitor-attributes-list):
3975 Mention the optional ‘display’ argument in doc strings.
3976
3977 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3978
3979 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3980 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3981
3982 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3983
3984 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3985 TODO. Add "." after " @ ".
3986 (ruby-smie--at-dot-call): New function. Checks if point at method
3987 call with explicit target.
3988 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3989 to the method name tokens when it precedes them.
3990 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3991 (ruby-smie-rules): Add rule for indentation before and after "."
3992 token.
3993
3994 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * textmodes/remember.el (remember-diary-extract-entries):
3997 Avoid add-to-list.
3998
3999 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4000 an instruction.
4001
4002 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4003
4004 * progmodes/ruby-mode.el (ruby-smie-grammar):
4005 Add (almost) all infix operators.
4006 (ruby-smie--implicit-semi-p): Add new operator chars.
4007
4008 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4009 `smie-down-list'.
4010 (ruby-smie--args-separator-p): Check that there's no newline
4011 between method call and its arguments.
4012
4013 2013-10-20 Alan Mackenzie <acm@muc.de>
4014
4015 Allow comma separated lists after Java "implements".
4016
4017 * progmodes/cc-engine.el (c-backward-over-enum-header):
4018 Parse commas.
4019 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4020 from a "disallowed" list in enum fontification.
4021
4022 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4023
4024 * startup.el (default-frame-background-mode): Remove unused defvar.
4025
4026 * progmodes/verilog-mode.el (verilog-mode): Don't set
4027 comment-indent-function globally.
4028
4029 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4030
4031 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4032 Move Info menu item creation to ns-win.el.
4033
4034 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4035 in menu bar.
4036
4037 * menu-bar.el: Move GNUstep specific menus...
4038
4039 * term/ns-win.el (ns-initialize-window-system): ... to here.
4040
4041 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * simple.el (newline): Only run post-self-insert-hook when
4044 called interactively.
4045
4046 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4047
4048 * icomplete.el (icomplete-with-completion-tables): Add :version.
4049
4050 2013-10-19 Alan Mackenzie <acm@muc.de>
4051
4052 Fix fontification bugs with constructors and const.
4053
4054 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4055 CASE 2) Remove the check for the absence of a suffix construct
4056 after a function declaration with only types (no identifiers) in
4057 the parentheses. Also, accept a function declaration with just a
4058 type inside the parentheses, if this type can be positively
4059 recognised as such, or if a prefix keyword like "explicit" nails
4060 down the construct as a declaration.
4061
4062 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4063
4064 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4065 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4066 the problem whereby selecting a menu item that leads to a
4067 minibuffer prompt moves the cursor out of the minibuffer window,
4068 making it hard to type at the prompt. Suggested by Stefan Monnier
4069 <monnier@iro.umontreal.ca>.
4070
4071 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4072
4073 * menu-bar.el: Don't make Services menu.
4074
4075 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4076
4077 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4078 (ffap-alist): Use ffap-c++-mode for c++-mode.
4079 (ffap-c++-path): New variable.
4080 (ffap-c++-mode): New function.
4081
4082 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4083
4084 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4085
4086 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4087
4088 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4089 introduced on 2013-09-08, which results in an infinite loop
4090 requesting a password.
4091
4092 2013-10-18 Glenn Morris <rgm@gnu.org>
4093
4094 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4095
4096 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4097
4098 Sync with upstream verilog-mode revision 1a6ecec7.
4099 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4100 (verilog-mode-release-date): Remove.
4101 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4102 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4103 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4104 (verilog-auto-tieoff-ignore-regexp)
4105 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4106 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4107 (verilog-signals-with, verilog-dir-cache-preserving)
4108 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4109 Doc fixes.
4110 (verilog-case-fold): New option, to control case folding in
4111 regexp searches, bug597.
4112 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4113 (verilog-string-match-fold, verilog-in-paren-count)
4114 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4115 (verilog-at-close-struct-p): New functions.
4116 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4117 (verilog-forward-sexp, verilog-set-auto-endcomments):
4118 (verilog-leap-to-case-head): Handle "unique0" case.
4119 (verilog-in-constraint-re): New constant.
4120 (verilog-keywords, verilog-type-font-keywords):
4121 Add some SystemVerilog 1800-2012 keywords.
4122 (verilog-label-be): Remove unimplemented argument, bug669.
4123 (verilog-batch-execute-func): When batch expanding clear
4124 create-lockfiles to prevent spurious user locks when a file ends
4125 up not changing.
4126 (verilog-calculate-indent, verilog-calc-1)
4127 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4128 (verilog-do-indent): Fix indentation of nested constraints
4129 and structures.
4130 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4131 (verilog-auto-inst-param): Use verilog-string-match-fold.
4132 (verilog-read-inst-module-matcher):
4133 Fix AUTOINST on gate primitives with #1.
4134 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4135 Reads all user-defined typed variables.
4136 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4137 (verilog-signals-matching-regexp)
4138 (verilog-signals-not-matching-regexp, verilog-auto):
4139 Respect verilog-case-fold.
4140 (verilog-diff-report): Fix line count.
4141 (verilog-auto-assign-modport): Remove unused local `modi'.
4142 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4143 better handle multidimensional arrays.
4144 Fix packed array ports misadding bit index in AUTOINST, bug637.
4145 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4146 to not double-declare existing outputs and inputs, respectively.
4147 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4148 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4149 (verilog-sk-uvm-component): New skeleton.
4150 (verilog-submit-bug-report): Add verilog-case-fold,
4151 remove verilog-mode-release-date.
4152
4153 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4154
4155 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4156 as before.
4157
4158 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4159
4160 * textmodes/remember.el (remember): Set buffer-offer-save in
4161 remember buffers (bug#13566).
4162
4163 2013-10-18 Daniel Colascione <dancol@dancol.org>
4164
4165 When evaluating forms in ielm, direct standard output to ielm
4166 buffer. Add new ielm-return-for-effect command. Remove trailing
4167 whitespace throughout.
4168
4169 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4170 (ielm-return-for-effect): New command.
4171 (ielm-send-input): Accept optional `for-effect' parameter.
4172 (ielm-eval-input): Accept optional `for-effect' parameter.
4173 Bind `standard-output' to stream we create using
4174 `ielm-standard-output-impl'. Suppress printing result when
4175 `for-effect'.
4176 (ielm-standard-output-impl): New function.
4177 (inferior-emacs-lisp-mode): Explain new features in documentation.
4178
4179 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4180
4181 Code cleanup.
4182
4183 * net/tramp.el (tramp-debug-message): Do not check for connection
4184 buffer.
4185 (tramp-message): Use "vector" connection property.
4186
4187 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4188 (tramp-equal-remote, tramp-eshell-directory-change)
4189 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4190 (tramp-adb-handle-rename-file)
4191 * net/tramp-cmds.el (tramp-list-remote-buffers)
4192 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4193 * net/tramp-compat.el (tramp-compat-process-running-p)
4194 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4195 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4196 (tramp-gvfs-handle-rename-file)
4197 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4198 (tramp-set-file-uid-gid)
4199 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4200 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4201 of `file-remote-p'.
4202
4203 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4204 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4205 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4206 (tramp-gw-open-network-stream): Suppress unrelated traces.
4207
4208 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4209 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4210 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4211 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4212 connection property.
4213
4214 * net/tramp-cache.el (top): Suppress traces when reading
4215 persistency file.
4216
4217 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4218 Refactor common code. Improve debug message.
4219 (tramp-maybe-open-connection)
4220 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4221 connection buffer too early.
4222
4223 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4224 from `tramp-smb-actions-with-acl'.
4225 (tramp-smb-actions-set-acl): New defconst.
4226 (tramp-smb-handle-copy-directory)
4227 (tramp-smb-action-get-acl): New defun, renamed from
4228 `tramp-smb-action-with-acl'.
4229 (tramp-smb-action-set-acl): New defun.
4230 (tramp-smb-handle-set-file-acl): Rewrite.
4231
4232 2013-10-17 Glenn Morris <rgm@gnu.org>
4233
4234 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4235
4236 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4237
4238 * skeleton.el (skeleton-newline): Remove.
4239 (skeleton-internal-1): Use (insert "\n") instead.
4240
4241 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4242 let-bindings.
4243
4244 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4245 forward-sexp-function while we redo its job (bug#15613).
4246
4247 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4248
4249 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4250 represented by lists.
4251
4252 2013-10-16 Glenn Morris <rgm@gnu.org>
4253
4254 * tmm.el (tmm--history): New dynamic variable.
4255 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4256
4257 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4258
4259 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4260 (tramp-smb-errors): Add error messages.
4261 (tramp-smb-actions-with-acl): New defconst.
4262 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4263 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4264 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4265 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4266 (tramp-smb-get-stat-capability): Fix tests.
4267
4268 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4269
4270 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4271 (bug#15580).
4272
4273 2013-10-16 Glenn Morris <rgm@gnu.org>
4274
4275 * ansi-color.el (ansi-color-drop-regexp):
4276 Add 1J, 1K, 2K. (Bug#15617)
4277
4278 * files.el (hack-local-variables--warned-lexical): New.
4279 (hack-local-variables):
4280 Warn about misplaced lexical-binding. (Bug#15616)
4281
4282 * net/eww.el (eww-render): Always set eww-current-url,
4283 and update header line. (Bug#15622)
4284 (eww-display-html): ... Rather than just doing it here.
4285
4286 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4287
4288 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4289 menu navigations commands.
4290
4291 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4292
4293 * progmodes/subword.el (subword-capitalize): Be careful when
4294 the search for [[:alpha:]] fails (bug#15580).
4295
4296 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4297
4298 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4299 to commands that scroll the menu.
4300
4301 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4302
4303 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4304 Handle methods ending with `?' and `!'.
4305
4306 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4307
4308 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4309 `japanese-cp932' to `cp932' to fix the problem where saving a
4310 source file written in Shift_JIS twice would end up having
4311 `coding: japanese-cp932' which Ruby could not recognize.
4312 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4313 in `ruby-encoding-map'.
4314 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4315 doesn't need to be explicitly declared in magic comment.
4316 (ruby-encoding-map): Add type declaration for better customize UI.
4317
4318 2013-10-13 Glenn Morris <rgm@gnu.org>
4319
4320 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4321 Occur buffers are read-only. http://bugs.debian.org/720775
4322
4323 * emacs-lisp/authors.el (authors-fixed-entries):
4324 Comment out old alpha stuff.
4325
4326 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4327
4328 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4329 to `after-save-hook' instead of `before-save-hook'.
4330 (ruby-mode-set-encoding): Use the value of coding system used to
4331 write the file. Call `basic-save-buffer-1' after modifying the
4332 buffer.
4333
4334 2013-10-13 Alan Mackenzie <acm@muc.de>
4335
4336 Fix indentation/fontification of Java enum with
4337 "implements"/generic.
4338
4339 * progmodes/cc-engine.el (c-backward-over-enum-header):
4340 Extracted from the three other places and enhanced to handle generics.
4341 (c-inside-bracelist-p): Uses new function above.
4342 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4343 function above.
4344 (c-font-lock-enum-tail): Uses new function above.
4345
4346 2013-10-13 Kenichi Handa <handa@gnu.org>
4347
4348 * international/mule-cmds.el (select-safe-coding-system): Remove a
4349 superfluous condition in chekcing whether a coding system is safe
4350 or not.
4351
4352 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4353
4354 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4355
4356 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4357
4358 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4359
4360 2013-10-13 Glenn Morris <rgm@gnu.org>
4361
4362 * menu-bar.el (menu-bar-update-buffers):
4363 Unify Buffers menu prompt string. (Bug#15576)
4364
4365 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4366
4367 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4368 Add some entries.
4369 (authors-fixed-entries): Use accented form of name.
4370
4371 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4374 method calls (bug#15594).
4375 (ruby-smie--args-separator-p): New function.
4376 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4377 recognize paren-free method calls.
4378
4379 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4380 internals of universal-argument.
4381
4382 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4383
4384 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4385 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4386 dropped menu on second mouse click on the menu bar.
4387
4388 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4391 (explicit-shell-file-name): Declare.
4392 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4393 (sh-completion-at-point-function): New function.
4394 (sh-mode): Use it.
4395 (sh-smie--keyword-p): Remove unused argument.
4396 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4397 vars.
4398 (sh-set-shell): Always setup SMIE, even if we use the
4399 old indentation code.
4400
4401 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4402
4403 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4404 cases of ? and =.
4405 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4406 predicate would return nil are almost non-existent.
4407 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4408
4409 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4410 cache also after commands that modify the buffer but don't move
4411 point.
4412
4413 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * env.el (substitute-env-in-file-name): New function.
4416 (substitute-env-vars): Extend the meaning of the optional arg.
4417
4418 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4419
4420 * term/w32-win.el (dynamic-library-alist): Define separate lists
4421 of GIF DLLs for versions before and after 5.0.0 of giflib.
4422 (Bug#15531)
4423
4424 2013-10-10 João Távora <joaotavora@gmail.com>
4425
4426 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4427 not locked, use last revision and current source as
4428 defaults. (Bug#15569)
4429
4430 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4431
4432 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4433 menu-bar is hidden.
4434
4435 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4436
4437 * window.el (pop-to-buffer-same-window): Fix doc-string.
4438 (Bug#15492)
4439
4440 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4443
4444 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4445
4446 * calendar/icalendar.el (icalendar-import-file):
4447 Fix interactive spec. (Bug#15482)
4448
4449 2013-10-10 Glenn Morris <rgm@gnu.org>
4450
4451 * desktop.el (desktop-save): Default to saving in .emacs.d,
4452 since PWD is no longer in desktop-path by default. (Bug#15319)
4453
4454 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4455 now that text mode has a menu with the same entry.
4456 (menu-bar-text-mode-auto-fill): Remove now unused func.
4457 * textmodes/text-mode.el (text-mode-map):
4458 Use auto-fill help text from menu-bar.el.
4459
4460 2013-10-10 John Anthony <john@jo.hnanthony.com>
4461
4462 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4463
4464 2013-10-09 Juri Linkov <juri@jurta.org>
4465
4466 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4467 instead of this-command-keys. Add universal-argument-more and
4468 universal-argument-minus to the list of prefix commands. (Bug#15568)
4469
4470 2013-10-09 Glenn Morris <rgm@gnu.org>
4471
4472 * vc/vc-svn.el (vc-svn-create-repo):
4473 Expand paths in file://... url. (Bug#15446)
4474
4475 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4476 Add some entries.
4477 (authors): Remove unused local variables.
4478
4479 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * profiler.el: Create a more coherent calltree from partial backtraces.
4482 (profiler-format): Hide the tail with `invisible' so that C-s can still
4483 find the hidden elements.
4484 (profiler-calltree-depth): Don't recurse so enthusiastically.
4485 (profiler-function-equal): New hash-table-test.
4486 (profiler-calltree-build-unified): New function.
4487 (profiler-calltree-build): Use it.
4488 (profiler-report-make-name-part): Indent the calltree less.
4489 (profiler-report-mode): Add visibility specs for profiler-format.
4490 (profiler-report-expand-entry, profiler-report-toggle-entry):
4491 Expand the whole subtree when provided with a prefix arg.
4492
4493 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4494
4495 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4496 iuwu-mod token.
4497 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4498 hanging iuwu-mod token.
4499 (ruby-smie--forward-token): Do not include a dot after a token in
4500 that token.
4501 (ruby-smie--backward-token): Likewise.
4502
4503 2013-10-08 Juri Linkov <juri@jurta.org>
4504
4505 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4506 to isearch-other-control-char.
4507 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4508 and isearch-post-command-hook to post-command-hook.
4509 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4510 and isearch-post-command-hook from post-command-hook.
4511 (isearch-unread-key-sequence)
4512 (isearch-reread-key-sequence-naturally)
4513 (isearch-lookup-scroll-key, isearch-other-control-char)
4514 (isearch-other-meta-char): Remove functions.
4515 (isearch-pre-command-hook, isearch-post-command-hook):
4516 New functions based on isearch-other-meta-char rewritten
4517 relying on the new behavior of overriding-terminal-local-map
4518 that does not replace the local keymaps any more. (Bug#15200)
4519
4520 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4521
4522 Support menus on text-mode terminals.
4523 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4524 functionality.
4525
4526 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4527
4528 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4529 Move here from mouse.el.
4530 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4531 and arrow keys.
4532 (tty-menu-navigation-map): New map for TTY menu navigation.
4533
4534 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4535
4536 * frame.el (display-mouse-p): Report text-mode mouse as available
4537 on w32.
4538 (display-popup-menus-p): Report availability if mouse is
4539 available; don't condition on window-system.
4540
4541 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4542 (tty-menu-selected-face): New faces.
4543
4544 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4547 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4548 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4549 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4550 New constants.
4551 (lisp-mode-variables): New `elisp' argument.
4552 (emacs-lisp-mode): Use it.
4553 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4554 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4555
4556 * indent.el: Use lexical-binding.
4557 (indent-region): Add progress reporter.
4558 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4559 last step.
4560 (indent--next-tab-stop): New function to implement this behavior.
4561 (tab-to-tab-stop, move-to-tab-stop): Use it.
4562
4563 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4564
4565 * indent.el (indent-rigidly--current-indentation): New function.
4566 (indent-rigidly-map): New var.
4567 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4568
4569 2013-10-08 Bastien Guerry <bzg@gnu.org>
4570
4571 * register.el (insert-register): Fix 2013-10-07 change.
4572
4573 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * progmodes/perl-mode.el: Use lexical-binding.
4576 Remove redundant :group args.
4577 (perl-nochange): Change default to be closer to other major modes's
4578 standard behavior.
4579 (perl-indent-line): Don't consider text on current line as a
4580 valid beginning of function from which to indent.
4581
4582 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4583 with more than one argument (bug#15538).
4584
4585 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4586
4587 * vc/pcvs.el: Use lexical-binding.
4588 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4589 environment of `eval'.
4590 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4591 than a list of expressions. Adjust callers.
4592 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4593
4594 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4595
4596 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4597 case of the dot in a chained method call being on the following line.
4598
4599 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * electric.el (electric-indent-inhibit): New var.
4602 (electric-indent-post-self-insert-function): Use it.
4603 * progmodes/python.el (python-mode): Set it.
4604
4605 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4606 open braces.
4607
4608 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4609
4610 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4611 (css-mode): Use electric-indent-chars.
4612
4613 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4614 (font-lock-beg, font-lock-end): Move before first use.
4615 (nxml-mode): Use syntax-propertize-function.
4616 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4617 (nxml-extend-after-change-region): Remove.
4618 * nxml/xmltok.el: Use lexical-binding.
4619 (xmltok-save): Use `declare'.
4620 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4621 * nxml/nxml-util.el: Use lexical-binding.
4622 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4623 Use `declare'.
4624 * nxml/nxml-ns.el: Use lexical-binding.
4625 (nxml-ns-save): Use `declare'.
4626 (nxml-ns-prefixes-for): Avoid add-to-list.
4627 * nxml/rng-match.el: Use lexical-binding.
4628 (rng--ipattern): Use cl-defstruct.
4629 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4630 (rng-cons-group-after, rng-subst-group-after)
4631 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4632 Use closures instead of `(lambda...).
4633
4634 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4637 of BEG and END.
4638
4639 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4640 Use `tramp-handle-insert-file-contents'.
4641 (tramp-gvfs-handle-insert-file-contents): Remove function.
4642
4643 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4644 Use `save-restriction' in order to keep markers.
4645
4646 * net/trampver.el: Update release number.
4647
4648 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * progmodes/compile.el (compilation-parse-errors):
4651 Use compilation--put-prop.
4652 (compilation--ensure-parse): Check compilation-multiline.
4653
4654 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4655
4656 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4657 lexical-binding.
4658
4659 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4660
4661 * progmodes/ruby-mode.el: Fix recently added tests.
4662 (ruby-smie-grammar): Add - and +.
4663 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4664 (ruby-smie--backward-id): New functions.
4665 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4666 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4667 any more.
4668
4669 2013-10-07 Leo Liu <sdl.web@gmail.com>
4670
4671 * register.el (register-preview-delay)
4672 (register-preview-functions): New variables.
4673 (register-read-with-preview, register-preview)
4674 (register-describe-oneline): New functions.
4675 (point-to-register, window-configuration-to-register)
4676 (frame-configuration-to-register, jump-to-register)
4677 (number-to-register, view-register, insert-register)
4678 (copy-to-register, append-to-register, prepend-to-register)
4679 (copy-rectangle-to-register): Use register-read-with-preview to
4680 read register. (Bug#15525)
4681
4682 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4683
4684 * net/network-stream.el (network-stream-open-starttls): Don't add
4685 --insecure if it's already present, because that gnutls-cli
4686 rejects getting that parameter twice.
4687
4688 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4689
4690 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4691 keyword, too.
4692
4693 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4694
4695 * newcomment.el (comment-use-global-state): Change default value
4696 to t, mark obsolete (Bug#15251).
4697 (comment-beginning): In addition to `comment-to-syntax', check the
4698 value of `comment-use-global-state'.
4699
4700 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4703 (ruby-comment-column): Follow the global default, by default.
4704 (ruby-smie-grammar): Add assignment syntax.
4705 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4706 open-paren, a comma, or a \.
4707 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4708 and line continuations.
4709 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4710 followed by implicit semi-colons. Add rule for string concatenation
4711 and for indentation at BOB.
4712 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4713
4714 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4715 calling next-sexp, since next-token may have skipped chars which
4716 next-sexp doesn't know should be skipped!
4717
4718 2013-10-05 Leo Liu <sdl.web@gmail.com>
4719
4720 * progmodes/octave.el (octave-send-region):
4721 Call compilation-forget-errors.
4722
4723 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4724
4725 * vc/vc-svn.el (vc-svn-find-admin-dir):
4726 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4727 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4728 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4729 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4730
4731 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4734
4735 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * subr.el (read-passwd): Hide chars even when called within a context
4738 where after-change-functions is disabled (bug#15501).
4739 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4740 until we removed ourself from overriding-terminal-local-map.
4741
4742 2013-10-04 Leo Liu <sdl.web@gmail.com>
4743
4744 * progmodes/octave.el (inferior-octave-mode):
4745 Call compilation-forget-errors.
4746
4747 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4748
4749 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4750
4751 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * net/secrets.el (secrets-create-collection): Add optional
4754 argument ALIAS. Use proper Label keyword. Append ALIAS as
4755 dbus-call-method argument. (Bug#15516)
4756
4757 2013-10-04 Leo Liu <sdl.web@gmail.com>
4758
4759 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4760 (inferior-octave-compilation-font-lock-keywords): New variables.
4761 (compilation-error-regexp-alist)
4762 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4763 (inferior-octave-mode): Use compilation-shell-minor-mode.
4764
4765 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4766
4767 * minibuffer.el (completion--replace): Be careful that `end' might be
4768 a marker.
4769
4770 2013-10-03 Daiki Ueno <ueno@gnu.org>
4771
4772 Add support for package signature checking.
4773 * emacs-lisp/package.el (url-http-file-exists-p)
4774 (epg-make-context, epg-context-set-home-directory)
4775 (epg-verify-string, epg-context-result-for)
4776 (epg-signature-status, epg-signature-to-string)
4777 (epg-check-configuration, epg-configuration)
4778 (epg-import-keys-from-file): Declare.
4779 (package-check-signature): New user option.
4780 (package-unsigned-archives): New user option.
4781 (package-desc): Add `signed' field.
4782 (package-load-descriptor): Set `signed' field if .signed file exists.
4783 (package--archive-file-exists-p): New function.
4784 (package--check-signature): New function.
4785 (package-install-from-archive): Check package signature.
4786 (package--download-one-archive): Check archive signature.
4787 (package-delete): Remove .signed file.
4788 (package-import-keyring): New command.
4789 (package-refresh-contents): Import default keyring.
4790 (package-desc-status): Add "unsigned" status.
4791 (describe-package-1, package-menu--print-info)
4792 (package-menu-mark-delete, package-menu--find-upgrades)
4793 (package-menu--status-predicate): Support "unsigned" status.
4794
4795 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4798 the new compilation scheme using the new byte-codes.
4799
4800 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4801 (byte-pophandler): New byte codes.
4802 (byte-goto-ops): Adjust accordingly.
4803 (byte-compile--use-old-handlers): New var.
4804 (byte-compile-catch): Use new byte codes depending on
4805 byte-compile--use-old-handlers.
4806 (byte-compile-condition-case--old): Rename from
4807 byte-compile-condition-case.
4808 (byte-compile-condition-case--new): New function.
4809 (byte-compile-condition-case): New function that dispatches depending
4810 on byte-compile--use-old-handlers.
4811 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4812 when we can.
4813
4814 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4815 Optimize under `condition-case' and `catch' if
4816 byte-compile--use-old-handlers is nil.
4817 (disassemble-offset): Handle new bytecodes.
4818
4819 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * subr.el (error): Use `declare'.
4822 (decode-char, encode-char): Use advertised-calling-convention instead
4823 of the docstring to discourage use of the `restriction' arg.
4824
4825 2013-10-03 Daiki Ueno <ueno@gnu.org>
4826
4827 * epg.el (epg-verify-file): Add a comment saying that it does not
4828 notify verification error as a return value nor a signal.
4829 (epg-verify-string): Ditto.
4830
4831 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4832
4833 * progmodes/compile.el (compilation-start): Try globbing the arg to
4834 `cd' (bug#15417).
4835
4836 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4837
4838 Sync with Tramp 2.2.8.
4839
4840 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4841 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4842 * net/trampver.el: Update release number.
4843
4844 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4845
4846 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4847 and default-process-coding-system for darwin only.
4848
4849 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4852
4853 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4854
4855 * vc/vc-git.el (vc-git-grep): Disable pager.
4856
4857 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4858
4859 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4860 Use :url instead of :homepage, as per
4861 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4862
4863 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4864 non-nil, use `syntax-ppss' (Bug#15251).
4865
4866 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4867
4868 * progmodes/octave.el (inferior-octave-startup-file):
4869 Prefer ~/.emacs.d/init_octave.m.
4870
4871 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4872
4873 * emacs-lisp/package.el (package-desc-from-define):
4874 Accept additional arguments as plist, convert them to an alist and store
4875 them in the `extras' slot.
4876 (package-generate-description-file): Convert extras alist back to
4877 plist and append to the `define-package' form arguments.
4878 (package--alist-to-plist): New function.
4879 (package--ac-desc): Add `extras' slot.
4880 (package--add-to-archive-contents): Check if the archive-contents
4881 vector is long enough, and if it is, pass its `extras' slot value
4882 to `package-desc-create'.
4883 (package-buffer-info): Call `lm-homepage', pass the returned value
4884 to `package-desc-from-define'.
4885 (describe-package-1): Render the homepage button (Bug#13291).
4886
4887 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4888 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4889
4890 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4891
4892 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4893 and default-process-coding-system to utf-8-unix (Bug#15402).
4894
4895 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4896
4897 * subr.el (looking-back): Do not recommend using looking-back.
4898
4899 2013-09-28 Alan Mackenzie <acm@muc.de>
4900
4901 Fix indentation/fontification of Java enum with "implements".
4902
4903 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4904 regexp which matches "implements", etc., in Java.
4905 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4906 specifier clauses coming after "enum".
4907 * progmodes/cc-fonts.el (c-font-lock-declarations)
4908 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4909 after "enum".
4910
4911 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4912
4913 * faces.el (region): Change ns_selection_color to
4914 ns_selection_fg_color, add ns_selection_bg_color.
4915
4916 2013-09-28 Leo Liu <sdl.web@gmail.com>
4917
4918 * progmodes/octave.el (inferior-octave-completion-table)
4919 (inferior-octave-completion-at-point): Minor tweaks.
4920
4921 * textmodes/ispell.el (ispell-lookup-words): Rename from
4922 lookup-words. (Bug#15460)
4923 (lookup-words): Obsolete.
4924 (ispell-complete-word, ispell-command-loop): All uses changed.
4925
4926 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4927
4928 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4929 (octave-mode-menu): Add octave-send-buffer.
4930 (octave-send-buffer): New function.
4931
4932 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4933
4934 * progmodes/octave.el (octave-mode-map): Add key binding for
4935 octave-lookfor.
4936 (octave-mode-menu): Add octave-lookfor.
4937 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4938 octave-lookfor.
4939 (octave-lookfor): New function.
4940
4941 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * emacs-lisp/cl-macs.el:
4944 (cl--loop-destr-temps): Remove.
4945 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4946 its convention.
4947 (cl--loop-set-iterator-function): New function.
4948 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4949 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4950 Bind `it' with `let' instead of substituting it with `cl-subst'.
4951 (cl--unused-var-p): New function.
4952 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4953 Eliminate some unused variable warnings (bug#15326).
4954
4955 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4956
4957 * doc-view.el (doc-view-scale-reset): Rename from
4958 `doc-view-reset-zoom-level'.
4959 (doc-view-scale-adjust): New command.
4960 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4961 `doc-view-scale-adjust'.
4962
4963 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4964
4965 * doc-view.el (doc-view-reset-zoom-level): New command.
4966 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4967 zoom commands (bug#15466).
4968
4969 2013-09-26 Kenichi Handa <handa@gnu.org>
4970
4971 * international/quail.el (quail-help): Make it not a command.
4972
4973 2013-09-26 Leo Liu <sdl.web@gmail.com>
4974
4975 * minibuffer.el (completion-all-sorted-completions): Make args
4976 optional as they are.
4977
4978 2013-09-25 Daniel Colascione <dancol@dancol.org>
4979
4980 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4981 specs are and that they're not evaluated.
4982
4983 2013-09-24 Sam Steingold <sds@gnu.org>
4984
4985 * midnight.el (clean-buffer-list-kill-regexps)
4986 (clean-buffer-list-kill-buffer-names): Update for the new Man
4987 buffer naming which includes the object name.
4988
4989 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4992 (eshell-parse-command, eshell-parse-pipeline): Use it since
4993 eshell-separate-commands requires a dynamic scoped var.
4994 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4995
4996 2013-09-23 Leo Liu <sdl.web@gmail.com>
4997
4998 * autoinsert.el (auto-insert-alist): Make the value of
4999 lexical-binding match its file setting.
5000
5001 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5004
5005 * autoarg.el (autoarg-kp-digit-argument):
5006 * electric.el (Electric-command-loop):
5007 * kmacro.el (kmacro-step-edit-insert):
5008 Do not set universal-argument-num-events.
5009
5010 2013-09-22 Leo Liu <sdl.web@gmail.com>
5011
5012 * files.el (interpreter-mode-alist): Add octave.
5013
5014 2013-09-21 Alan Mackenzie <acm@muc.de>
5015
5016 C++: fontify identifier in declaration following "public:" correctly.
5017 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5018 to match "public", etc.
5019 (c-decl-prefix-re): Add ":" into the C++ value.
5020 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5021 bit. Add a check for a ":" preceded by "public", etc.
5022
5023 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5024
5025 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5026 recognized by GDB 7.5 and later.
5027
5028 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5029
5030 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5031
5032 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * subr.el (internal--call-interactively): New const.
5035 (called-interactively-p): Use it (bug#3984).
5036
5037 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5038
5039 * vc/pcvs.el (cvs-mode-ignore):
5040 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5041 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5042
5043 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5046 (eshell-ls-orig-insert-directory): Remove.
5047 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5048 (eshell-ls-use-in-dired): Use advice-add/remove.
5049 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5050 Add `orig-fun' arg for use in :around advice.
5051 Make it check (redundantly) eshell-ls-use-in-dired.
5052
5053 2013-09-19 Glenn Morris <rgm@gnu.org>
5054
5055 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5056
5057 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5058
5059 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5060
5061 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5064 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5065 (tramp-get-remote-python): New defuns.
5066 (tramp-get-remote-uid-with-perl)
5067 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5068 contributed by yary <not.com@gmail.com> (tiny change).
5069 (tramp-get-remote-uid-with-python)
5070 (tramp-get-remote-gid-with-python): New defuns. Python code
5071 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5072 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5073
5074 2013-09-19 Glenn Morris <rgm@gnu.org>
5075
5076 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5077
5078 * eshell/em-unix.el (eshell-remove-entries):
5079 Rename argument to avoid name-clash with global `top-level'.
5080
5081 * eshell/esh-proc.el (eshell-kill-process-function):
5082 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5083 (eshell-reset-after-proc): Remove unused arg `proc'.
5084
5085 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5086 (directory-files-and-attributes): Mark unused arg.
5087
5088 * eshell/em-unix.el (eshell-remove-entries):
5089 Remove unused arg `path'. Update callers.
5090
5091 * eshell/em-hist.el (eshell-hist-parse-arguments):
5092 Remove unused arg `silent'. Update callers.
5093
5094 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5095 Fix (f)boundp mix-up.
5096
5097 * eshell/em-smart.el (eshell-smart-scroll-window)
5098 (eshell-disable-after-change):
5099 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5100
5101 2013-09-18 Alan Mackenzie <acm@muc.de>
5102
5103 Fix fontification of type when followed by "const".
5104 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5105 "known" types from fontification.
5106
5107 2013-09-18 Glenn Morris <rgm@gnu.org>
5108
5109 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5110 (chart-face-list): Drop Emacsen without display-color-p.
5111
5112 * net/eww.el (libxml-parse-html-region): Declare.
5113 (eww-display-html): Explicit error if no libxml2 support.
5114
5115 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5116
5117 * image.el (image-type-from-buffer, image-multi-frame-p):
5118 Remove --without-x warning/error.
5119
5120 * mouse.el (mouse-yank-primary):
5121 * term.el (term-mouse-paste):
5122 Reorder to silence --without-x compilation.
5123
5124 * mpc.el (doc-view-mode): Silence --without-x compilation.
5125
5126 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5127 Silence --without-x compilation.
5128
5129 * progmodes/gud.el (gud-find-file, gud-mode):
5130 Silence --without-x compilation.
5131 (tooltip-mode): Declare.
5132
5133 * wdired.el (dired-backup-overwrite): Remove declaration.
5134 (wdired-mode-map): Add doc string.
5135
5136 * custom.el (x-get-resource): Declare.
5137
5138 * eshell/em-glob.el (ange-cache):
5139 * eshell/em-unix.el (ange-cache): Declare.
5140
5141 * faces.el (x-display-list, x-open-connection, x-get-resource):
5142 Declare.
5143
5144 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5145 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5146 Declare.
5147
5148 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5149
5150 * net/gnutls.el (gnutls-log-level): Declare.
5151
5152 * net/shr.el (image-size, image-animate): Declare.
5153
5154 * simple.el (font-info): Declare.
5155
5156 * subr.el (x-popup-dialog): Declare.
5157
5158 * term/common-win.el (x-select-enable-primary)
5159 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5160 Declare.
5161
5162 * term/ns-win.el (x-handle-args): Declare.
5163
5164 * term/x-win.el (x-select-enable-clipboard): Declare.
5165
5166 * term/w32-win.el (create-default-fontset): Declare.
5167
5168 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5169 Declare.
5170
5171 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5172 (fit-frame-to-buffer): Explicit error if --without-x.
5173 (mouse-autoselect-window-select): Silence compiler.
5174
5175 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5176
5177 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5178 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5179 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5180 * eshell/esh-util.el (eshell-sublist):
5181 Remove unused local variables.
5182
5183 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5184
5185 * textmodes/two-column.el: Make 2C-split work for --without-x.
5186 (scroll-bar-columns): Autoload.
5187 (top-level): Require fringe when compiling.
5188
5189 2013-09-18 Leo Liu <sdl.web@gmail.com>
5190
5191 * subr.el (add-hook): Robustify to handle closure as well.
5192
5193 2013-09-17 Glenn Morris <rgm@gnu.org>
5194
5195 * simple.el (messages-buffer-mode-map): Unbind "g".
5196
5197 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 * help-mode.el (help-mode-finish): Use derived-mode-p.
5200 Remove obsolete highlighting.
5201
5202 * play/life.el (life-mode): Use define-derived-mode. Derive from
5203 special-mode.
5204 (life): Let-bind inhibit-read-only.
5205 (life-setup): Avoid `setq'. Use `life-mode'.
5206
5207 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5208 which should not be needed any more.
5209 (package-menu-refresh, package-menu-describe-package): Use user-error.
5210
5211 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5212 (eshell-post-rewrite-command-hook): Make obsolete.
5213 (eshell-parse-command): Simplify.
5214 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5215 (eshell--cmd): Declare.
5216 (eshell-parse-pipeline): Remove unused var `final-p'.
5217 Pass a dynvar to eshell-post-rewrite-command-hook.
5218 Implement the new eshell-post-rewrite-command-function.
5219 (eshell-invoke-directly): Remove unused arg `input'.
5220 * eshell/esh-io.el (eshell-io-initialize):
5221 Use eshell-post-rewrite-command-function (bug#15399).
5222 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5223 adjust to new calling convention.
5224 (eshell-create-handles): Rename args to avoid clashing with dynvar
5225 `standard-output'.
5226
5227 2013-09-17 Glenn Morris <rgm@gnu.org>
5228
5229 * simple.el (messages-buffer-mode): New major mode.
5230 (messages-buffer): New function.
5231 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5232 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5233 (ert-run-test): Use `messages-buffer' function.
5234 (ert--force-message-log-buffer-truncation): Ignore read-only.
5235 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5236 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5237
5238 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5241
5242 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5243
5244 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5245
5246 * icomplete.el (icomplete-in-buffer): New var.
5247 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5248 vars and replace them with functions.
5249 (icomplete-minibuffer-setup): Adjust accordingly.
5250 (icomplete--completion-table, icomplete--completion-predicate)
5251 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5252 New functions.
5253 (icomplete-forward-completions, icomplete-backward-completions)
5254 (icomplete-simple-completing-p, icomplete-exhibit)
5255 (icomplete-completions): Use them.
5256 (icomplete--in-region-buffer): New var.
5257 (icomplete--in-region-setup): New function.
5258 (icomplete-mode): Use it.
5259
5260 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5261 (bug#15379).
5262 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5263 return args and options.
5264 (eshell-eval-using-options): Use the new return value of
5265 eshell--do-opts to set the options's vars in their scope.
5266 (eshell--set-option): Rename from eshell-set-option.
5267 Add arg `opt-vals'.
5268 (eshell--process-option): Rename from eshell-process-option.
5269 Add arg `opt-vals'.
5270 (eshell--process-args): Use an `opt-vals' alist to store the options's
5271 values during their processing and return them additionally to the
5272 remaining args.
5273
5274 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5275
5276 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5277 continuation character an operator, as far as indentation is
5278 concerned (Bug#15369).
5279
5280 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5281
5282 * window.el (window--state-put-2): Don't process buffer state
5283 when buffer doesn't exist any more (Bug#15382).
5284
5285 2013-09-15 Glenn Morris <rgm@gnu.org>
5286
5287 * eshell/em-unix.el (eshell/rm):
5288 Make -f ignore missing files. (Bug#15373)
5289
5290 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5291 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5292 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5293
5294 2013-09-14 Glenn Morris <rgm@gnu.org>
5295
5296 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5297
5298 2013-09-13 Glenn Morris <rgm@gnu.org>
5299
5300 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5301 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5302
5303 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5304
5305 * frame.el (x-focus-frame): Mark as declared in frame.c.
5306
5307 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * ls-lisp.el: Use advice-add.
5310 (original-insert-directory): Remove.
5311 (ls-lisp--insert-directory): Rename from insert-directory; add
5312 `orig-fun' argument.
5313 (insert-directory): Advise.
5314
5315 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5316
5317 * term.el (term-emulate-terminal): Decode the command string
5318 before passing it to term-command-hook. (Bug#15337)
5319
5320 2013-09-13 Glenn Morris <rgm@gnu.org>
5321
5322 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5323
5324 * eshell/esh-ext.el (eshell-search-path): Declare.
5325
5326 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5327 Otherwise an error occurs if eshell-dirs module not loaded.
5328
5329 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5330
5331 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5332
5333 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5334 `tramp-check-proper-host'. Check for a valid method name.
5335
5336 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5337 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5338 * net/tramp-sh.el (tramp-maybe-open-connection):
5339 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5340
5341 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5342 also for hash values.
5343
5344 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * term/ns-win.el (parameters): Don't declare as dynamic.
5347 (before-make-frame-hook): Don't add ineffective function.
5348
5349 * eshell/*.el: Use lexical-binding (bug#15231).
5350
5351 2013-09-12 Kenichi Handa <handa@gnu.org>
5352
5353 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5354
5355 2013-09-12 Glenn Morris <rgm@gnu.org>
5356
5357 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5358 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5359
5360 * subr.el (do-after-load-evaluation): Also give compiler warnings
5361 when obsolete files are used (except by obsolete files).
5362
5363 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5364 in the status output, assume `filename' is the first. (Bug#15322)
5365
5366 * vc/vc.el (vc-deduce-fileset): Doc fix.
5367
5368 * calc/calc-help.el (Info-goto-node):
5369 * progmodes/cperl-mode.el (Info-find-node):
5370 * vc/ediff.el (Info-goto-node): Update declarations.
5371
5372 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5373
5374 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5375 (vc-bzr-pull): Require vc-dispatcher.
5376 * vc/vc-git.el (vc-compilation-mode): Declare.
5377 (vc-git-pull): Require vc-dispatcher.
5378
5379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5380
5381 * progmodes/octave.el (help-button-action): Declare.
5382
5383 * shell.el (shell-directory-tracker): Output error as a message
5384 rather than just returning it as a string.
5385 (shell-process-pushd): Remove useless use of message.
5386
5387 * dframe.el (dframe-timer-fn):
5388 * files.el (dir-locals-read-from-file):
5389 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5390 (mpc-format):
5391 * reveal.el (reveal-post-command):
5392 * saveplace.el (load-save-place-alist-from-file):
5393 * shell.el (shell-resync-dirs):
5394 * w32-common-fns.el (x-get-selection-value):
5395 * emacs-lisp/copyright.el (copyright-find-copyright):
5396 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5397 * emulation/tpu-edt.el (tpu-copy-keyfile):
5398 * play/bubbles.el (bubbles--mark-neighbourhood):
5399 * progmodes/executable.el
5400 (executable-make-buffer-file-executable-if-script-p):
5401 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5402
5403 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 Cleanup Eshell to rely less on dynamic scoping.
5406 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5407 last-value, and ext-command here. Bind `args' closer to `body'.
5408 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5409 (eshell--args): Declare new dynamic var.
5410 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5411 last-value, and ext-command. Pass `args' to `body'.
5412 (eshell-process-args): Bind eshell--args.
5413 (eshell-set-option): Use eshell--args.
5414 * eshell/eshell.el (eshell): Use derived-mode-p.
5415 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5416 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5417 (eshell-glob-function): Declare.
5418 * eshell/esh-util.el: Require cl-lib.
5419 (eshell-read-hosts-file): Avoid add-to-list.
5420 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5421 `err'.
5422 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5423 Declare.
5424 (eshell/diff): Remove unused var `err'.
5425 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5426 `killflag'.
5427 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5428 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5429 first use.
5430 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5431 Move declaration before first use.
5432 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5433 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5434 rely on cl-return.
5435
5436 2013-09-12 Glenn Morris <rgm@gnu.org>
5437
5438 * term/ns-win.el (global-map): Remove binding for ispell-next,
5439 deleted 1999-05-29. (Bug#15357)
5440
5441 2013-09-11 Glenn Morris <rgm@gnu.org>
5442
5443 * echistory.el (electric-command-history): Remove call to deleted func.
5444
5445 * play/landmark.el (landmark-mode): Fix typos.
5446
5447 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5448 Check cvs-sort-ignore-file is bound.
5449
5450 * savehist.el: No need for cl when compiling on Emacs.
5451
5452 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5455 (bug#15338).
5456 (eshell-self-insert-command, eshell-send-invisible):
5457 Remove unused argument.
5458 (eshell-handle-control-codes): Remove unused var `orig'.
5459 Avoid delete-backward-char.
5460
5461 * files.el (set-auto-mode): Simplify a bit further.
5462
5463 2013-09-11 Glenn Morris <rgm@gnu.org>
5464
5465 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5466 (set-auto-mode): Don't regexp-quote elements.
5467 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5468 * progmodes/cc-mode.el (interpreter-mode-alist):
5469 * progmodes/ruby-mode.el (interpreter-mode-alist):
5470 Revert previous change.
5471
5472 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * play/snake.el (snake-mode):
5475 * play/mpuz.el (mpuz-mode):
5476 * play/landmark.el (lm-mode):
5477 * play/blackbox.el (blackbox-mode):
5478 * play/5x5.el (5x5-mode):
5479 * obsolete/options.el (Edit-options-mode):
5480 * net/quickurl.el (quickurl-list-mode):
5481 * net/newst-treeview.el (newsticker-treeview-mode):
5482 * mail/rmailsum.el (rmail-summary-mode):
5483 * mail/mspools.el (mspools-mode):
5484 * locate.el (locate-mode):
5485 * ibuffer.el (ibuffer-mode):
5486 * emulation/ws-mode.el (wordstar-mode):
5487 * emacs-lisp/debug.el (debugger-mode):
5488 * array.el (array-mode):
5489 * net/eudc.el (eudc-mode): Use define-derived-mode.
5490 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5491 Move initialization into declaration.
5492 (mairix-searches-mode): Use define-derived-mode.
5493 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5494 (eudc-edit-hotlist): Use dolist.
5495 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5496 (Man-mode): Use define-derived-mode.
5497 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5498 (Info-edit-mode): Use define-derived-mode.
5499 (Info-cease-edit): Use Info-mode.
5500 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5501 into declaration.
5502 (eshell-mode): Use define-derived-mode.
5503 * chistory.el (command-history-mode-map): Rename from
5504 command-history-map.
5505 (command-history-mode): Use define-derived-mode.
5506 (Command-history-setup): Remove function.
5507 * calc/calc.el (calc-trail-mode-map): New var.
5508 (calc-trail-mode): Use define-derived-mode.
5509 (calc-trail-buffer): Set calc-main-buffer manually.
5510 * bookmark.el (bookmark-insert-annotation): New function.
5511 (bookmark-edit-annotation): Use it.
5512 (bookmark-edit-annotation-mode): Make it a proper major mode.
5513 (bookmark-send-edited-annotation): Use derived-mode-p.
5514 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5515 closer to its ideal place. Use \' to match EOS.
5516
5517 * profiler.el (profiler-calltree-find): Use function-equal.
5518
5519 2013-09-10 Glenn Morris <rgm@gnu.org>
5520
5521 * files.el (interpreter-mode-alist): Convert to regexps.
5522 (set-auto-mode): Adapt for this. (Bug#15306)
5523 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5524 Comment out unused variable.
5525 * progmodes/cc-mode.el (interpreter-mode-alist):
5526 * progmodes/python.el (interpreter-mode-alist):
5527 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5528 * progmodes/sh-script.el (sh-set-shell):
5529 No longer use interpreter-mode-alist to get list of shells.
5530
5531 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5532
5533 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * simple.el: Use set-temporary-overlay-map for universal-argument.
5536 (universal-argument-map): Don't use default-bindings (bug#15317).
5537 Bind switch-frame explicitly. Replace universal-argument-minus with
5538 a conditional binding.
5539 (universal-argument-num-events, saved-overriding-map): Remove.
5540 (restore-overriding-map): Remove.
5541 (universal-argument--mode): Rename from save&set-overriding-map,
5542 and rewrite.
5543 (universal-argument, universal-argument-more, negative-argument)
5544 (digit-argument): Adjust accordingly.
5545 (universal-argument-minus): Remove.
5546 (universal-argument-other-key): Remove.
5547
5548 * subr.el (with-demoted-errors): Add `format' argument.
5549
5550 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5551
5552 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5553 `tramp-cleanup-connection'.
5554
5555 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5556 parameters KEEP-DEBUG and KEEP-PASSWORD.
5557
5558 * net/tramp.el (tramp-file-name-handler):
5559 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5560 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5561 (tramp-maybe-open-connection):
5562 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5563 Use `tramp-cleanup-connection'.
5564
5565 * net/tramp-sh.el (tramp-maybe-open-connection):
5566 Catch 'uname-changed inside the progress reporter.
5567
5568 2013-09-10 Glenn Morris <rgm@gnu.org>
5569
5570 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5571
5572 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5573 returns "alternate access method" in mode (eg "-rw-r--r--.").
5574
5575 2013-09-08 Glenn Morris <rgm@gnu.org>
5576
5577 * saveplace.el (load-save-place-alist-from-file):
5578 Demote errors. (Bug#15305)
5579
5580 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5581
5582 Improve compatibility with older Emacsen, and XEmacs.
5583
5584 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5585 only if it is bound. It isn't for XEmacs.
5586 (with-tramp-progress-reporter): Do not let-bind `result'.
5587 This yields to scoping errors in XEmacs.
5588 (tramp-handle-make-auto-save-file-name): New function, moved from
5589 tramp-sh.el.
5590
5591 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5592 for `make-auto-save-file-name'.
5593 (tramp-adb--gnu-switches-to-ash):
5594 Use `tramp-compat-replace-regexp-in-string'.
5595
5596 * net/tramp-cache.el (tramp-cache-print): Call
5597 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5598
5599 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5600 bound. It isn't for XEmacs.
5601
5602 * net/tramp-compat.el (tramp-compat-copy-file):
5603 Catch `wrong-number-of-arguments' error.
5604 (tramp-compat-replace-regexp-in-string): New defun.
5605
5606 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5607 for `make-auto-save-file-name'.
5608 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5609 `copy-file'.
5610 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5611 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5612 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5613
5614 * net/tramp-gw.el (tramp-gw-open-network-stream):
5615 Use `tramp-compat-replace-regexp-in-string'.
5616
5617 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5618 Call `tramp-handle-make-auto-save-file-name'.
5619 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5620 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5621 (tramp-sh-file-inotifywait-process-filter):
5622 Use `tramp-compat-replace-regexp-in-string'.
5623 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5624
5625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5626 for `make-auto-save-file-name'.
5627 (tramp-smb-handle-copy-directory):
5628 Call `tramp-compat-replace-regexp-in-string'.
5629 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5630 (tramp-smb-handle-copy-file): Improve error message.
5631 (tramp-smb-handle-rename-file): Rename directly only in case
5632 `newname' does not exist yet. This is a restriction of smbclient.
5633 (tramp-smb-maybe-open-connection): Rerun the function only when
5634 `auth-sources' is non-nil.
5635
5636 2013-09-08 Kenichi Handa <handa@gnu.org>
5637
5638 * international/characters.el: Set category "^" (Combining) for
5639 more characters.
5640
5641 2013-09-07 Alan Mackenzie <acm@muc.de>
5642
5643 Correctly fontify Java class constructors.
5644 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5645 in Java Mode.
5646 (c-recognize-typeless-decls): Set the Java value to t.
5647 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5648 While handling a "(", add a check for, effectively, Java, and handle a
5649 "typeless" declaration there.
5650
5651 2013-09-07 Roland Winkler <winkler@gnu.org>
5652
5653 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5654 field subtitle for entry type book.
5655
5656 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * minibuffer.el: Make minibuffer-complete call completion-in-region
5659 rather than other way around.
5660 (completion--some, completion-pcm--find-all-completions):
5661 Don't delay signals when debugging.
5662 (minibuffer-completion-contents): Beware fields within the
5663 minibuffer contents.
5664 (completion-all-sorted-completions): Use defvar-local.
5665 (completion--do-completion, completion--cache-all-sorted-completions)
5666 (completion-all-sorted-completions, minibuffer-force-complete):
5667 Add args `beg' and `end'.
5668 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5669 (minibuffer-complete): Use completion-in-region.
5670 (completion-complete-and-exit): New fun, extracted from
5671 minibuffer-complete-and-exit.
5672 (minibuffer-complete-and-exit): Use it.
5673 (completion--complete-and-exit): Rename from
5674 minibuffer--complete-and-exit.
5675 (completion-in-region--single-word): New function, extracted from
5676 minibuffer-complete-word.
5677 (minibuffer-complete-word): Use it.
5678 (display-completion-list): Make `common-substring' argument obsolete.
5679 (completion--in-region): Call completion--in-region-1 instead of
5680 minibuffer-complete.
5681 (completion-help-at-point): Pass boundaries to
5682 minibuffer-completion-help as args rather than via an overlay.
5683 (completion-pcm--string->pattern): Use `any-delim'.
5684 (completion-pcm--optimize-pattern): New function.
5685 (completion-pcm--pattern->regex): Handle `any-delim'.
5686 * icomplete.el (icomplete-forward-completions)
5687 (icomplete-backward-completions, icomplete-completions):
5688 Adjust calls to completion-all-sorted-completions and
5689 completion--cache-all-sorted-completions.
5690 (icomplete-with-completion-tables): Default to t.
5691 * emacs-lisp/crm.el (crm--current-element): Rename from
5692 crm--select-current-element. Don't put an overlay but return the
5693 boundaries instead.
5694 (crm--completion-command): Take two new args to bind to the boundaries.
5695 (crm-completion-help): Adjust accordingly.
5696 (crm-complete): Use completion-in-region.
5697 (crm-complete-word): Use completion-in-region--single-word.
5698 (crm-complete-and-exit): Use completion-complete-and-exit.
5699
5700 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5703 than dynamically.
5704
5705 2013-09-06 Juri Linkov <juri@jurta.org>
5706
5707 * info.el (Info-display-images-node): When image file doesn't exist
5708 display text version of the image if it's provided in the Info file.
5709 Otherwise, display the location of missing image from SRC attribute.
5710 Add help-echo text property from ALT attribute. (Bug#15279)
5711
5712 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5715 (edit-abbrevs-mode): Use define-derived-mode.
5716
5717 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5718 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5719 that it's defined.
5720 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5721 Use define-derived-mode.
5722
5723 * epg.el (epg-start-encrypt): Minor CSE simplification.
5724
5725 2013-09-06 William Xu <william.xwl@gmail.com>
5726
5727 * arc-mode.el: Add support for 7za (bug#15264).
5728 (archive-7z-program): New var.
5729 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5730 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5731 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5732
5733 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5734
5735 Remove URL syntax.
5736
5737 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5738 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5739 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5740 (tramp-postfix-host-format, tramp-file-name-regexp)
5741 (tramp-completion-file-name-regexp)
5742 (tramp-completion-dissect-file-name)
5743 (tramp-handle-substitute-in-file-name): Remove 'url case.
5744 (tramp-file-name-regexp-url)
5745 (tramp-completion-file-name-regexp-url): Remove constants.
5746
5747 2013-09-06 Glenn Morris <rgm@gnu.org>
5748
5749 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5750
5751 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5752
5753 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5754 keywords" below "here-doc beginnings" (Bug#15270).
5755
5756 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 * subr.el (pop): Use `car-safe'.
5759 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5760 to detect unused `pop' return value.
5761
5762 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5763 var `block-regexp'.
5764 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5765 (python-fill-string): Remove unused var `marker'.
5766 (python-skeleton-add-menu-items): Remove unused var `items'.
5767
5768 * international/mule-cmds.el: Require CL.
5769 (find-coding-systems-for-charsets): Avoid add-to-list.
5770 (sanitize-coding-system-list): New function, extracted from
5771 select-safe-coding-system-interactively.
5772 (select-safe-coding-system-interactively): Use it.
5773 (read-input-method-name): Accept symbols for `default'.
5774
5775 * emacs-lisp/advice.el (defadvice): Add indent rule.
5776
5777 2013-09-05 Daniel Hackney <dan@haxney.org>
5778
5779 * dired-x.el:
5780 * net/ange-ftp.el:
5781 * net/browse-url.el:
5782 * net/dbus.el:
5783 * net/eudc.el:
5784 * net/eudcb-ldap.el:
5785 * net/eww.el:
5786 * net/imap.el:
5787 * printing.el:
5788 * vc/ediff-diff.el:
5789 * vc/ediff-init.el:
5790 * vc/ediff-merg.el:
5791 * vc/ediff-mult.el:
5792 * vc/ediff-util.el:
5793 * vc/ediff-wind.el:
5794 * vc/ediff.el:
5795 * vc/emerge.el:
5796 * vc/pcvs.el:
5797 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5798 byte compiler. Remove some unused let-bound variables.
5799
5800 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5803 a "ref-cell", since it gets better optimized (bug#14883).
5804
5805 2013-09-05 Glenn Morris <rgm@gnu.org>
5806
5807 * progmodes/cc-awk.el (c-forward-sws): Declare.
5808
5809 2013-09-04 Glenn Morris <rgm@gnu.org>
5810
5811 * generic-x.el [rul-generic-mode]: Require cc-mode.
5812 (c++-mode-syntax-table): Declare.
5813 (rul-generic-mode-syntax-table): Init in the defvar.
5814
5815 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5818 (vc-do-command, vc-set-async-update):
5819 * vc/vc-mtn.el (vc-mtn-dir-status):
5820 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5821 (vc-hg-pull, vc-hg-merge-branch):
5822 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5823 (vc-git-merge-branch):
5824 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5825 (vc-cvs-dir-status-files):
5826 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5827 (vc-bzr-dir-status-files):
5828 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5829 * vc/vc-annotate.el: Use lexical-binding.
5830 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5831 (vc-sentinel-movepoint): Declare.
5832 (vc-annotate): Don't use `goto-line'.
5833 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5834 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5835 (vc-sentinel-movepoint): Declare.
5836 * vc/vc-svn.el: Use lexical-binding.
5837 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5838 * vc/vc-sccs.el:
5839 * vc/vc-rcs.el: Use lexical-binding.
5840
5841 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5842 `deleted'. Don't drop errors silently.
5843
5844 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5845
5846 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5847
5848 * vc/vc.el (vc-ignore): Rewrite.
5849 (vc-default-ignore): New function.
5850 (vc-default-ignore-completion-table): Use find-ignore-file.
5851
5852 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5853 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5854 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5855 Remove. Most code moved to vc.el.
5856
5857 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5860 * net/tramp-smb.el (tramp-smb-get-file-entries):
5861 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5862 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5863
5864 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5865 Update call to it.
5866 (eww-change-select): Remove unused var `properties'.
5867 (eww-make-unique-file-name): Remove unused var `base'.
5868
5869 * finder.el (finder-compile-keywords): Don't mess with windows.
5870
5871 * calculator.el (calculator-funcall): Fix typo in last change.
5872
5873 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5874
5875 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5876 <pkg>-autoloads.el file stop us.
5877
5878 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5879 warnings, and factor out common code.
5880
5881 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5882
5883 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5884 two-character operators and whether the character preceding them
5885 changes their meaning (Bug#15208).
5886
5887 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5888
5889 Format code sent to Python shell for robustness.
5890 * progmodes/python.el (python-shell-buffer-substring):
5891 New function.
5892 (python-shell-send-region, python-shell-send-buffer): Use it.
5893
5894 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5895
5896 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5897 * net/tramp.el (tramp-user-error): ... here.
5898 (tramp-find-method, tramp-check-proper-host)
5899 (tramp-dissect-file-name, tramp-debug-message)
5900 (tramp-handle-shell-command):
5901 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5903
5904 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5905
5906 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5907
5908 * avoid.el (mouse-avoidance-point-position)
5909 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5910 returns nil.
5911
5912 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5913
5914 * progmodes/python.el (python-shell-completion-get-completions):
5915 Drop use of deleted `comint-last-prompt-overlay'.
5916 (python-nav-if-name-main): New command.
5917
5918 2013-09-01 Glenn Morris <rgm@gnu.org>
5919
5920 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5921 Avoid leading space in $wins. Otherwise the sed command used by
5922 eg compile-main ends up containing "/*.el". (Bug#15170)
5923
5924 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5925
5926 2013-08-30 Glenn Morris <rgm@gnu.org>
5927
5928 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5929 Fix is-this-a-directory logic. (Bug#15220)
5930
5931 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * textmodes/css-mode.el: Use SMIE.
5934 (css-smie-grammar): New var.
5935 (css-smie--forward-token, css-smie--backward-token)
5936 (css-smie-rules): New functions.
5937 (css-mode): Use them.
5938 (css-navigation-syntax-table): Remove var.
5939 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5940 (css-indent-calculate, css-indent-line): Remove functions.
5941
5942 Misc changes to reduce use of `(lambda...); and other cleanups.
5943 * cus-edit.el: Use lexical-binding.
5944 (customize-push-and-save, customize-apropos)
5945 (custom-buffer-create-internal): Use closures.
5946 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5947 * progmodes/ada-xref.el: Use setq.
5948 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5949 * dframe.el: Use lexical-binding.
5950 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5951 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5952 * descr-text.el: Use lexical-binding.
5953 (describe-text-widget, describe-text-sexp, describe-property-list):
5954 Use closures.
5955 * comint.el (comint-history-isearch-push-state): Use a closure.
5956 * calculator.el: Use lexical-binding.
5957 (calculator-number-to-string): Make it work with lexical-binding.
5958 (calculator-funcall): Same and use cl-letf.
5959
5960 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5961 (lisp--company-doc-string, lisp--company-location): New functions.
5962 (lisp-completion-at-point): Use them to improve Company support.
5963
5964 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5965 params of lambda expressions.
5966 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5967 (ruby-smie--opening-pipe-p): New function.
5968 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5969 symbols and matched |...| for formal params.
5970 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5971 from being treated as hanging. Handle "rescue".
5972
5973 2013-08-29 Glenn Morris <rgm@gnu.org>
5974
5975 * progmodes/cc-engine.el (c-pull-open-brace):
5976 Move definition before use.
5977
5978 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5981 are immutable. Don't use `unsafe' any more.
5982 (cl--defsubst-expand): Don't substitute at the same time as keeping
5983 a residual unused let-binding. Don't use `unsafe' any more.
5984
5985 2013-08-29 Glenn Morris <rgm@gnu.org>
5986
5987 * calendar/cal-china.el (calendar-chinese-year-cache):
5988 Recenter on 2015.
5989
5990 * nxml/nxml-util.el (nxml-debug-clear-inside):
5991 Use cl-loop rather than loop.
5992
5993 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5994
5995 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5996
5997 2013-08-28 Glenn Morris <rgm@gnu.org>
5998
5999 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6000
6001 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6002
6003 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6004
6005 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6006
6007 * simple.el (repeat-complex-command--called-interactively-skip):
6008 New function.
6009 (repeat-complex-command): Use it (bug#14136).
6010
6011 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6012 (c-define-abbrev-table): Add `doc' argument.
6013 (c-mode-abbrev-table, c++-mode-abbrev-table)
6014 (objc-mode-abbrev-table, java-mode-abbrev-table)
6015 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6016 (awk-mode-abbrev-table): Use it.
6017 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6018 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6019 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6020 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6021 Move initialization into the declaration; and remove any
6022 autoload cookie.
6023
6024 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6025 and dynamic let binding.
6026
6027 * vc/smerge-mode.el: Remove redundant :group args.
6028
6029 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6030 to load-path.
6031
6032 2013-08-28 Juri Linkov <juri@jurta.org>
6033
6034 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6035 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6036 (isearch-other-meta-char): Handle an undefined shifted printing
6037 character by downshifting it. (Bug#15200)
6038
6039 2013-08-28 Juri Linkov <juri@jurta.org>
6040
6041 * isearch.el (isearch-search): Change regexp error message for
6042 non-regexp searches. (Bug#15166)
6043
6044 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6045
6046 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6047 for portability to hosts where /bin/sh has problems.
6048
6049 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6052
6053 2013-08-27 Juri Linkov <juri@jurta.org>
6054
6055 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6056 in the keyboard macro. (Bug#15126)
6057
6058 2013-08-27 Juri Linkov <juri@jurta.org>
6059
6060 * isearch.el (isearch-quote-char): Comment out converting unibyte
6061 to multibyte, thus syncing with its `quoted-insert' counterpart.
6062 (Bug#15166)
6063
6064 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6065
6066 * window.el (display-buffer-use-some-window): Add missing
6067 argument in call of get-largest-window (Bug#15185).
6068 Reported by Stephen Leake.
6069
6070 2013-08-27 Glenn Morris <rgm@gnu.org>
6071
6072 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6073
6074 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6077 from a matcher-function unless there's no more matches (bug#15161).
6078
6079 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6080
6081 * minibuffer.el: Revert change from 2013-08-20.
6082
6083 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6084 with text property `tramp-default', if appropriate.
6085 (tramp-check-proper-host): New defun.
6086 (tramp-dissect-file-name): Do not check hostname. Revert change
6087 of 2013-03-18.
6088 (tramp-backtrace): Make VEC-OR-PROC optional.
6089
6090 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6091 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6092 * net/tramp-sh.el (tramp-maybe-open-connection):
6093 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6094 Apply `tramp-check-proper-host'.
6095
6096 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6097
6098 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6099 lambda expression in order to have `describe-variable' display it.
6100
6101 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6102
6103 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6104 BUF can be optional. (Bug#15186)
6105
6106 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6107
6108 * progmodes/flymake.el (flymake-get-real-file-name-function):
6109 Fix broken customization. (Bug#15184)
6110
6111 2013-08-25 Alan Mackenzie <acm@muc.de>
6112
6113 Improve indentation of bracelists defined by macros (without "=").
6114
6115 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6116 expansion begins with "{", regard it as bracelist when it doesn't
6117 contain a ";".
6118
6119 Parse C++ inher-intro when there's a template split over 2 lines.
6120
6121 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6122 rigorously the search for "class" etc. followed by ":".
6123
6124 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6125 random languages a regexp which never matches rather than nil.
6126
6127 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6128
6129 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6130 (c-awk-regexp-one-line-possibly-open-char-list-re)
6131 (c-awk-one-line-possibly-open-regexp-re)
6132 (c-awk-one-line-non-syn-ws*-re): Remove.
6133 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6134 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6135 (c-awk-space*-unclosed-regexp-/-re): New constants.
6136 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6137 aren't regexp delimiters.
6138
6139 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6140 handling for a rare situation in AWK Mode involving unterminated
6141 strings/regexps.
6142
6143 2013-08-23 Glenn Morris <rgm@gnu.org>
6144
6145 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6146
6147 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6148
6149 * files.el (create-file-buffer): If the result would begin with
6150 spaces, prepend a "|" instead of removing them. (Bug#15162)
6151
6152 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6155 text-properties (bug#15155).
6156
6157 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6158 exist any more.
6159 (calc-keypad-redraw): Remove unused var `pad'.
6160 (calc-keypad-press): Remove unused var `menu'.
6161
6162 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6163
6164 * window.el (display-buffer-pop-up-frame):
6165 Call pop-up-frame-function with BUFFER current so `make-frame' will
6166 use it as the new frame's buffer (Bug#15133).
6167
6168 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * calendar/timeclock.el: Minor cleanups.
6171 (timeclock-ask-before-exiting, timeclock-use-display-time):
6172 Use `symbol'.
6173 (timeclock-modeline-display): Define as alias before the
6174 actual definition.
6175 (timeclock-mode-line-display): Use define-minor-mode.
6176 (timeclock-day-list-template): Make it a function, add an argument.
6177 (timeclock-day-list-required, timeclock-day-list-length)
6178 (timeclock-day-list-debt, timeclock-day-list-span)
6179 (timeclock-day-list-break): Adjust calls accordingly.
6180
6181 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6184 Use read--expression so that completion works again.
6185
6186 2013-08-21 Sam Steingold <sds@gnu.org>
6187
6188 Add rudimentary inferior shell interaction
6189 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6190 (sh-set-shell): Reset it.
6191 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6192 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6193
6194 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * align.el: Use lexical-binding.
6197 (align-region): Simplify accordingly.
6198
6199 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6200
6201 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6202
6203 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6204 `non-essential' up.
6205
6206 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp.el:
6209 * net/tramp-adb.el:
6210 * net/tramp-cmds.el:
6211 * net/tramp-ftp.el:
6212 * net/tramp-gvfs.el:
6213 * net/tramp-gw.el:
6214 * net/tramp-sh.el: Don't wrap external variable declarations by
6215 `eval-when-compile'.
6216
6217 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6218
6219 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6220 now that Emacs supports ImageMagick animations.
6221
6222 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6223
6224 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6225 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6226
6227 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6228
6229 * window.el (mouse-autoselect-window-select): Do autoselect when
6230 mouse pointer is on margin.
6231
6232 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6233
6234 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6235
6236 2013-08-16 Glenn Morris <rgm@gnu.org>
6237
6238 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6239 Handle "Remote Directory" response of some clients. (Bug#15058)
6240
6241 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6242 Tweak warning. (Bug#14926)
6243
6244 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6245 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6246
6247 * image-mode.el (image-mode-map): Add menu items to reverse,
6248 increase, decrease, reset animation speed.
6249 (image--set-speed, image-increase-speed, image-decrease-speed)
6250 (image-reverse-speed, image-reset-speed): New functions.
6251 (image-mode-map): Add bindings for speed commands.
6252
6253 * image.el (image-animate-get-speed, image-animate-set-speed):
6254 New functions.
6255 (image-animate-timeout): Respect image :speed property.
6256
6257 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6260 previous line (bug#15101).
6261 (debugger-eval-expression, debugger-record-expression):
6262 Use read--expression (bug#15102).
6263
6264 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6265
6266 Remove byte compiler warnings, visible when compiling with
6267 `byte-compile-force-lexical-warnings' set to t.
6268
6269 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6270 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6271 (tramp-handle-unhandled-file-name-directory)
6272 (tramp-handle-file-notify-add-watch, tramp-action-login)
6273 (tramp-action-succeed, tramp-action-permission-denied)
6274 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6275 arguments with "_".
6276
6277 * net/tramp-adb.el (tramp-adb-parse-device-names)
6278 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6279 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6280 (tramp-adb-handle-file-truename): Remove unused arguments.
6281
6282 * net/tramp-cache.el (tramp-flush-directory-property)
6283 (tramp-flush-connection-property, tramp-list-connections)
6284 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6285
6286 * net/tramp-compat.el (tramp-compat-make-temp-file):
6287 Rename FILENAME to F.
6288
6289 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6290 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6291 (tramp-zeroconf-parse-workstation-device-names)
6292 (tramp-zeroconf-parse-webdav-device-names)
6293 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6294
6295 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6296 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6297
6298 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6299 arguments.
6300 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6301 (tramp-sh-handle-insert-file-contents-literally)
6302 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6303 with "_".
6304 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6305 Remove unused variables.
6306
6307 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6308 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6309 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6310
6311 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6312 Make them a defconst.
6313 (tramp-uuencode-region): Remove unused variable.
6314
6315 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6316
6317 * frameset.el (frameset--prop-setter): New function.
6318 (frameset-prop): Add gv-setter declaration.
6319 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6320 parameter was already set in FILTERED. Doc fix.
6321 (frameset--record-minibuffer-relationships): Allow saving a
6322 minibufferless frame without its corresponding minibuffer frame.
6323 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6324 frame, if the frame id matches.
6325 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6326 frames before orphaned ones.
6327 (frameset-restore): Warn about orphaned windows, instead of error out.
6328
6329 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6330
6331 * window.el (window-make-atom): Don't overwrite parameter
6332 already present.
6333 (display-buffer-in-atom-window): Handle special case where we
6334 split an already atomic window.
6335 (window--major-non-side-window, display-buffer-in-side-window)
6336 (window--side-check): Ignore minibuffer window when walking
6337 window tree.
6338 (window-deletable-p): Return 'frame only if no other frame uses
6339 our minibuffer window.
6340 (record-window-buffer): Run buffer-list-update-hook.
6341 (split-window): Make sure window--check-frame won't destroy an
6342 existing atomic window in case the new window gets nested
6343 inside.
6344 (display-buffer-at-bottom): Ignore minibuffer window when
6345 walking window tree. Don't split a side window.
6346 (pop-to-buffer): Don't set-buffer here, the select-window call
6347 should do that.
6348 (mouse-autoselect-window-select): Autoselect only if we are in the
6349 text portion of the window.
6350
6351 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6352
6353 * net/shr.el (shr-parse-image-data): New function to grab both the
6354 data itself and the Content-Type.
6355 (shr-put-image): Use it.
6356
6357 * net/eww.el (eww-display-image): Ditto.
6358
6359 * image.el (image-content-type-suffixes): New variable.
6360
6361 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6362
6363 * progmodes/python.el (python-imenu--build-tree)
6364 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6365
6366 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6367
6368 * simple.el (backward-word): Mention the optional argument.
6369
6370 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * frameset.el (frameset--make): Rename constructor from make-frameset.
6373 (frameset-p, frameset-valid-p): Don't autoload.
6374 (frameset-valid-p): Use normal accessors.
6375
6376 2013-08-13 Glenn Morris <rgm@gnu.org>
6377
6378 * progmodes/compile.el (compile-command): Tweak example in doc.
6379 * obsolete/scribe.el (scribe-mode):
6380 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6381
6382 * mail/feedmail.el (feedmail-confirm-outgoing)
6383 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6384
6385 * cus-start.el (truncate-partial-width-windows): Fix type.
6386
6387 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6388
6389 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6390
6391 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/timer.el (timer--time-setter): New function.
6394 (timer--time): Use it as gv-setter.
6395
6396 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6397 setter is not a symbol.
6398
6399 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6400
6401 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6402 if sending fails. This makes debugging easier.
6403
6404 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6405
6406 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6407 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6408 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6409
6410 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6411
6412 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6413
6414 2013-08-12 Glenn Morris <rgm@gnu.org>
6415
6416 * format.el (format-annotate-function):
6417 Handle read-only text properties in the source. (Bug#14887)
6418
6419 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6420
6421 * net/eww.el (eww-display-html): Ignore coding system errors.
6422 One web site uses "utf-8lias" as the coding system.
6423
6424 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6425
6426 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6427
6428 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6431 (tutorial--detailed-help): Remove unused local variables.
6432 (tutorial--save-tutorial-to): Use ignore-errors.
6433 (help-with-tutorial): Use looking-at-p.
6434
6435 * view.el (view-buffer-other-window, view-buffer-other-frame):
6436 Mark unused arguments.
6437
6438 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6439 (woman-select-symbol-fonts, woman, woman-find-file)
6440 (woman-insert-file-contents, woman-non-underline-faces):
6441 Use string-match-p.
6442 (woman1-unquote): Move declaration.
6443
6444 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6445 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6446 argument. Remove unused local variable.
6447 (xml-parse-elem-type): Use string-match-p.
6448 (xml-substitute-numeric-entities): Use ignore-errors.
6449
6450 * calculator.el (calculator): Mark unused argument.
6451 (calculator-paste, calculator-quit, calculator-integer-p):
6452 Use ignore-errors.
6453 (calculator-string-to-number, calculator-decimal, calculator-exp)
6454 (calculator-op-or-exp): Use string-match-p.
6455
6456 * dired.el (dired-buffer-more-recently-used-p): Declare.
6457 (dired-insert-set-properties, dired-insert-old-subdirs):
6458 Use ignore-errors.
6459
6460 * dired-aux.el (dired-compress): Use ignore-errors.
6461 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6462 (dired-do-async-shell-command, dired-do-shell-command)
6463 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6464 (dired-insert-subdir-validate): Use string-match-p.
6465 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6466 (dired-add-entry): Use string-match-p, looking-at-p.
6467 (dired-insert-subdir-newpos): Remove unused local variable.
6468
6469 * filenotify.el (file-notify-callback): Remove unused local variable.
6470
6471 * filesets.el (filesets-error): Mark unused argument.
6472 (filesets-which-command-p, filesets-filter-dir-names)
6473 (filesets-directory-files, filesets-get-external-viewer)
6474 (filesets-ingroup-get-data): Use string-match-p.
6475
6476 * find-file.el (ff-other-file-name, ff-other-file-name)
6477 (ff-find-the-other-file, ff-cc-hh-converter):
6478 Remove unused local variables.
6479 (ff-get-file-name): Use string-match-p.
6480 (ff-all-dirs-under): Use ignore-errors.
6481
6482 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6483 (follow-select-if-visible): Remove unused local variable.
6484
6485 * forms.el (read-file-filter): Move declaration.
6486 (forms--make-format, forms--make-parser, forms-insert-record):
6487 Quote function with #'.
6488 (forms--update): Use string-match-p. Quote function with #'.
6489
6490 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6491 (help-make-xrefs): Use looking-at-p.
6492 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6493
6494 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6495 (ibuffer-confirm-operation-on): Use string-match-p.
6496
6497 * msb.el (msb-item-handler, msb-dired-item-handler):
6498 Mark unused arguments.
6499
6500 * ses.el (ses-decode-cell-symbol)
6501 (ses-kill-override): Remove unused local variable.
6502 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6503 (ses-load): Use ignore-errors, looking-at-p.
6504 (ses-jump-safe): Use ignore-errors.
6505 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6506
6507 * tabify.el (untabify, tabify): Mark unused arguments.
6508
6509 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6510 Mark unused argument.
6511 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6512 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6513
6514 * emacs-lisp/timer.el (timer--time): Define setter with
6515 gv-define-setter to avoid deprecation warning.
6516
6517 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6518 (*record-cmpl-statistics-p*): Remove (was commented out).
6519 (cmpl-statistics-block): Remove (body was commented out).
6520 All callers changed.
6521 (add-completions-from-buffer, load-completions-from-file):
6522 Remove unused variables.
6523
6524 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6525
6526 * filecache.el (file-cache-delete-file-list):
6527 Print message only when told so.
6528 (file-cache-files-matching): Use #' in mapconcat argument.
6529
6530 * ffap.el (ffap-url-at-point): Fix reference to variable
6531 thing-at-point-default-mail-uri-scheme.
6532
6533 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * subr.el (define-error): New function.
6536 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6537 error-file-not-found and define with define-error.
6538 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6539 and define with define-error.
6540 * userlock.el (file-locked, file-supersession):
6541 * simple.el (mark-inactive):
6542 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6543 * progmodes/ada-mode.el (ada-mode-errors):
6544 * play/life.el (life-extinct):
6545 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6546 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6547 * nxml/rng-util.el (rng-error):
6548 * nxml/rng-uri.el (rng-uri-error):
6549 * nxml/rng-match.el (rng-compile-error):
6550 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6551 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6552 * nxml/nxml-rap.el (nxml-scan-error):
6553 * nxml/nxml-outln.el (nxml-outline-error):
6554 * net/soap-client.el (soap-error):
6555 * net/gnutls.el (gnutls-error):
6556 * net/ange-ftp.el (ftp-error):
6557 * mpc.el (mpc-proc-error):
6558 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6559 (json-number-format, json-string-escape, json-string-format)
6560 (json-key-format, json-object-format):
6561 * jka-compr.el (compression-error):
6562 * international/quail.el (quail-error):
6563 * international/kkc.el (kkc-error):
6564 * emacs-lisp/ert.el (ert-test-failed):
6565 * calc/calc.el (calc-error, inexact-result, math-overflow)
6566 (math-underflow):
6567 * bookmark.el (bookmark-error-no-filename):
6568 * epg.el (epg-error): Define with define-error.
6569
6570 * time.el (display-time-event-handler)
6571 (display-time-next-load-average): Don't call sit-for since it seems
6572 unnecessary (bug#15045).
6573
6574 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6575 Use #' instead of ' to quote functions.
6576 (checkdoc-output-mode): Use setq-local.
6577 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6578 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6579 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6580 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6581 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6582 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6583 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6584 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6585
6586 * ido.el (ido-completion-help): Fix up compiler warning.
6587
6588 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * frameset.el (frameset-p): Add autoload cookie.
6591 (frameset--jump-to-register): New function, based on code moved from
6592 register.el.
6593 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6594
6595 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6596 (frameset-restore, frameset-save, frameset-session-filter-alist):
6597 Remove declarations.
6598 (register-alist): Doc fix.
6599 (frameset-to-register): Move to frameset.el.
6600 (jump-to-register, describe-register-1): Remove frameset-specific code.
6601
6602 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * allout-widgets.el (allout-widgets-pre-command-business)
6605 (allout-widgets-post-command-business)
6606 (allout-widgets-after-change-handler)
6607 (allout-decorate-item-and-context, allout-set-boundary-marker)
6608 (allout-body-modification-handler)
6609 (allout-graphics-modification-handler): Mark ignored arguments.
6610 (allout-widgets-post-command-business)
6611 (allout-widgets-exposure-change-processor)
6612 (allout-widgets-exposure-undo-processor)
6613 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6614 (allout-parse-item-at-point, allout-decorate-item-guides)
6615 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6616 * allout.el (epa-passphrase-callback-function): Declare.
6617 (allout-overlay-insert-in-front-handler)
6618 (allout-overlay-interior-modification-handler)
6619 (allout-isearch-end-handler, allout-chart-siblings)
6620 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6621 (allout-yank-processing, allout-process-exposed)
6622 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6623 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6624 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6625 (lisp-indent-defform): Mark ignored arguments.
6626 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6627 (calculate-lisp-indent): Remove unused variables.
6628 * international/characters.el (indian-2-column, arabic-2-column)
6629 (tibetan): Mark ignored arguments.
6630 (use-cjk-char-width-table): Mark ignored arguments.
6631 Remove unused variables.
6632 * international/fontset.el (build-default-fontset-data)
6633 (x-compose-font-name, create-fontset-from-fontset-spec):
6634 Mark ignored arguments.
6635 (fontset-plain-name): Remove unused variables.
6636 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6637 (keyboard-coding-system): Mark ignored arguments.
6638 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6639 * help.el (resize-temp-buffer-window):
6640 * window.el (display-buffer-in-major-side-window)
6641 (display-buffer-in-side-window, display-buffer-in-previous-window):
6642 Remove unused variables.
6643 * isearch.el (isearch-forward-symbol):
6644 * version.el (emacs-bzr-version-bzr):
6645 * international/mule-cmds.el (current-language-environment):
6646 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6647 (x-handle-display):
6648 * term/pc-win.el (x-list-fonts, x-display-planes)
6649 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6650 (x-server-version, x-display-screens, x-display-mm-height)
6651 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6652 (x-selection-owner-p, x-own-selection-internal)
6653 (x-disown-selection-internal, x-get-selection-internal)
6654 (msdos-initialize-window-system):
6655 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6656 * term/x-win.el (x-handle-no-bitmap-icon):
6657 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6658 (vc-default-find-file-hook, vc-default-extra-menu):
6659 Mark ignored arguments.
6660
6661 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6664 break-condition in the context of the debugged code (bug#12685).
6665
6666 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6667
6668 * comint.el:
6669 Do not use an overlay to highlight the last prompt. (Bug#14744)
6670 (comint-mode): Make comint-last-prompt buffer local.
6671 (comint-last-prompt): New variable.
6672 (comint-last-prompt-overlay): Remove. Superseded by
6673 comint-last-prompt.
6674 (comint-snapshot-last-prompt, comint-output-filter):
6675 Use comint-last-prompt.
6676
6677 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6680 (frameset-save): Check validity of the resulting frameset.
6681
6682 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6683
6684 * ido.el (ido-record-command): Add doc string.
6685
6686 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * frameset.el (frameset): Do not disable creation of the default
6689 frameset-p predicate. Doc fix.
6690 (frameset-valid-p): New function, copied from the old predicate-p.
6691 Add additional checks.
6692 (frameset-restore): Check with frameset-valid-p.
6693 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6694 (frameset-name, frameset-description, frameset-properties)
6695 (frameset-states): Add docstring.
6696 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6697 (frameset-filter-alist): Doc fixes.
6698
6699 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6700
6701 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6702
6703 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6706 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6707 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6708 (byte-compile-normal-call): Remove obsolescence check.
6709
6710 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6711
6712 * frameset.el (frameset-restore): Doc fix.
6713
6714 * register.el (frameset-frame-id, frameset-frame-with-id)
6715 (frameset-p, frameset-restore, frameset-save): Declare.
6716 (register-alist): Document framesets.
6717 (frameset-session-filter-alist): Declare.
6718 (frameset-to-register): New function.
6719 (jump-to-register): Implement jumping to framesets. Doc fix.
6720 (describe-register-1): Describe framesets.
6721
6722 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6723
6724 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6727 Use lexical-binding.
6728
6729 * frameset.el (frameset): Use type vector, not list (incompatible
6730 change). Do not declare a new constructor, use the default one.
6731 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6732 `name' and `description', respectively, and add read-only slot
6733 `timestamp'. Doc fixes.
6734 (frameset-copy, frameset-persistent-filter-alist)
6735 (frameset-filter-alist, frameset-switch-to-gui-p)
6736 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6737 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6738 (frameset-filter-iconified, frameset-keep-original-display-p):
6739 Doc fixes.
6740 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6741 Rename from frameset-filter-(save|restore)-param. All callers changed.
6742 Doc fix.
6743 (frameset-p): Adapt to change to vector and be more thorough.
6744 Change arg name to OBJECT. Doc fix.
6745 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6746 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6747 All callers changed.
6748 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6749 All callers changed.
6750 (frameset--record-minibuffer-relationships): Rename from
6751 frameset--process-minibuffer-frames. All callers changed.
6752 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6753 Use new default constructor (again). Doc fix.
6754 (frameset--find-frame-if): Rename from `frameset--find-frame.
6755 All callers changed.
6756 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6757 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6758 Doc fix.
6759 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6760 PARAMETERS and WINDOW-STATE, respectively.
6761 (frameset-restore): Add new keyword argument PREDICATE.
6762 Reset frameset--target-display to nil. Doc fix.
6763
6764 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6767 (bat-mode): Use it.
6768 (bat-mode-syntax-table): Mark \n as end-of-comment.
6769 (bat-font-lock-keywords): Remove comment rule.
6770
6771 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6772 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6773
6774 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6775 (byte-compile-callargs-warn): Use `push'.
6776 (byte-compile-arglist-warn): Ignore higher-order "calls".
6777 (byte-compile-file-form-autoload): Use `pcase'.
6778 (byte-compile-function-form): If quoting a symbol, check that it exists.
6779
6780 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6781
6782 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6783 and add a few popular commands found in batch files.
6784 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6785 (dos-mode): Doc fixes.
6786
6787 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6790 (dos-mode): Use setq-local. Add space after "rem".
6791 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6792 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6793
6794 2013-08-07 Arni Magnusson <arnima@hafro.is>
6795
6796 * progmodes/dos.el: New file.
6797 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6798 dos-mode.
6799
6800 2013-08-06 Glenn Morris <rgm@gnu.org>
6801
6802 * calendar/calendar.el: Add new faces, and day-header-array.
6803 (calendar-weekday-header, calendar-weekend-header)
6804 (calendar-month-header): New faces.
6805 (calendar-day-header-construct): New function.
6806 (calendar-day-header-width): Also :set calendar-day-header-array.
6807 (calendar-american-month-header, calendar-european-month-header)
6808 (calendar-iso-month-header): Use calendar- faces.
6809 (calendar-generate-month):
6810 Use calendar-day-header-array for day headers; apply faces to them.
6811 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6812 (calendar-abbrev-construct): Add optional maxlen argument.
6813 (calendar-day-name-array): Doc fix.
6814 (calendar-day-name-array, calendar-abbrev-length)
6815 (calendar-day-abbrev-array):
6816 Also :set calendar-day-header-array, and maybe redraw.
6817 (calendar-day-header-array): New option. (Bug#15007)
6818 (calendar-font-lock-keywords): Set to nil and make obsolete.
6819 (calendar-day-name): Add option to use header array.
6820
6821 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6822
6823 * net/shr.el (shr-render-td): Remove debugging.
6824 (shr-render-td): Make width computation consistent by defaulting
6825 all zero-width columns to 10 characters. This may not be optimal,
6826 but it's at least consistent.
6827 (shr-make-table-1): Redo last change to fix the real problem in
6828 colspan handling.
6829
6830 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6831
6832 * files.el (cache-long-line-scans):
6833 Make obsolete alias to `cache-long-scans'.
6834
6835 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * frameset.el (frameset, frameset-filter-alist)
6838 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6839 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6840 (frameset-compute-pos): Rename from frameset--compute-pos,
6841 and add docstring.
6842 (frameset-move-onscreen): Use frameset-compute-pos.
6843 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6844
6845 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6846 Fix typos in docstrings.
6847
6848 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6849
6850 * frame.el (get-other-frame): Tiny cleanup.
6851
6852 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * vc/vc.el (vc-default-ignore-completion-table):
6855 Silence byte-compiler warning.
6856
6857 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6858 slot, which can indeed be nil.
6859 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6860 Move entry for `left' from persistent to live filter alist.
6861 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6862 Doc fixes.
6863 (frameset-filter-params): When restoring a frame, copy items added to
6864 `filtered', to avoid unwittingly modifying the original parameters.
6865 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6866 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6867
6868 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6869 to use looking-at-p instead of looking-at. (Bug#15028)
6870
6871 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 Revert introduction of isearch-filter-predicates (bug#14714).
6874 Rely on add-function instead.
6875 * isearch.el (isearch-filter-predicates): Rename it back to
6876 isearch-filter-predicate.
6877 (isearch-message-prefix): Use advice-function-mapc and advice
6878 properties to get the isearch-message-prefix.
6879 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6880 instead of run-hook-with-args-until-failure.
6881 (isearch-filter-visible): Not obsolete any more.
6882 * loadup.el: Preload nadvice.
6883 * replace.el (perform-replace): Revert to funcall
6884 instead of run-hook-with-args-until-failure.
6885 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6886 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6887 dired-isearch-filenames-toggle; make it into a proper minor mode.
6888 Use add/remove-function.
6889 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6890 Call the minor-mode rather than add/remove-hook.
6891 (dired-isearch-filter-filenames):
6892 Remove isearch-message-prefix property.
6893 * info.el (Info--search-loop): New function, extracted from Info-search.
6894 Funcall isearch-filter-predicate instead of
6895 run-hook-with-args-until-failure isearch-filter-predicates.
6896 (Info-search): Use it.
6897 (Info-mode): Use isearch-filter-predicate instead of
6898 isearch-filter-predicates.
6899
6900 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6901
6902 Do not call to `selected-window' where it is assumed by default.
6903 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6904 `window-hscroll', `window-width', `window-height', `window-buffer',
6905 `window-frame', `window-start', `window-point', `next-window'
6906 and `window-display-table'.
6907 * abbrev.el (abbrev--default-expand):
6908 * bs.el (bs--show-with-configuration):
6909 * buff-menu.el (Buffer-menu-mouse-select):
6910 * calc/calc.el (calc):
6911 * calendar/calendar.el (calendar-generate-window):
6912 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6913 (diary-make-entry):
6914 * comint.el (send-invisible, comint-dynamic-complete-filename)
6915 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6916 * completion.el (complete):
6917 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6918 * disp-table.el (describe-current-display-table):
6919 * doc-view.el (doc-view-insert-image):
6920 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6921 * ehelp.el (with-electric-help):
6922 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6923 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6924 * emacs-lisp/helper.el (Helper-help-scroller):
6925 * emulation/cua-base.el (cua--post-command-handler-1):
6926 * eshell/esh-mode.el (eshell-output-filter):
6927 * ffap.el (ffap-gnus-wrapper):
6928 * help-macro.el (make-help-screen):
6929 * hilit-chg.el (highlight-compare-buffers):
6930 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6931 * hl-line.el (global-hl-line-highlight):
6932 * icomplete.el (icomplete-simple-completing-p):
6933 * isearch.el (isearch-done):
6934 * jit-lock.el (jit-lock-stealth-fontify):
6935 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6936 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6937 * mpc.el (mpc-tagbrowser, mpc):
6938 * net/rcirc.el (rcirc-any-buffer):
6939 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6940 * play/landmark.el (landmark-max-width, landmark-max-height):
6941 * play/zone.el (zone):
6942 * progmodes/compile.el (compilation-goto-locus):
6943 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6944 * progmodes/etags.el (find-tag-other-window):
6945 * progmodes/fortran.el (fortran-column-ruler):
6946 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6947 * progmodes/verilog-mode.el (verilog-point-text):
6948 * reposition.el (reposition-window):
6949 * rot13.el (toggle-rot13-mode):
6950 * server.el (server-switch-buffer):
6951 * shell.el (shell-dynamic-complete-command)
6952 (shell-dynamic-complete-environment-variable):
6953 * simple.el (insert-buffer, set-selective-display)
6954 (delete-completion-window):
6955 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6956 (speedbar-recenter):
6957 * startup.el (fancy-splash-head):
6958 * textmodes/ispell.el (ispell-command-loop):
6959 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6960 * tutorial.el (help-with-tutorial):
6961 * vc/add-log.el (add-change-log-entry):
6962 * vc/compare-w.el (compare-windows):
6963 * vc/ediff-help.el (ediff-indent-help-message):
6964 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6965 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6966 (ediff-setup-control-frame):
6967 * vc/emerge.el (emerge-position-region):
6968 * vc/pcvs-util.el (cvs-bury-buffer):
6969 * window.el (walk-windows, mouse-autoselect-window-select):
6970 * winner.el (winner-set-conf, winner-undo): Related users changed.
6971
6972 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * frameset.el (frameset--set-id): Doc fix.
6975 (frameset-frame-id, frameset-frame-id-equal-p)
6976 (frameset-locate-frame-id): New functions.
6977 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6978 (frameset-restore): Use them.
6979
6980 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6981
6982 Do not call to `selected-frame' where it is assumed by default.
6983 Affected functions are `raise-frame', `redraw-frame',
6984 `frame-first-window', `frame-terminal' and `delete-frame'.
6985 * calendar/appt.el (appt-disp-window):
6986 * epg.el (epg-wait-for-completion):
6987 * follow.el (follow-delete-other-windows-and-split)
6988 (follow-avoid-tail-recenter):
6989 * international/mule.el (set-terminal-coding-system):
6990 * mail/rmail.el (rmail-mail-return):
6991 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6992 * progmodes/f90.el (f90-add-imenu-menu):
6993 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6994 * server.el (server-switch-buffer):
6995 * simple.el (delete-completion-window):
6996 * talk.el (talk):
6997 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6998 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6999 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7000 * vc/ediff.el (ediff-documentation): Related users changed.
7001 * frame.el (selected-terminal): Remove the leftover.
7002
7003 2013-08-05 Glenn Morris <rgm@gnu.org>
7004
7005 * calendar/calendar.el (calendar-generate-month):
7006 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7007 (calendar-generate-month, calendar-font-lock-keywords):
7008 Fix for calendar-day-header-width > length of any day name.
7009
7010 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * desktop.el (desktop-clear): Use new name of sort predicate.
7013
7014 * frameset.el (frameset): Add docstring. Move :version property to its
7015 own `version' slot.
7016 (frameset-copy): Rename from copy-frameset.
7017 (frameset-p): Check more thoroughly.
7018 (frameset-prop): Do not check for :version, which is no longer a prop.
7019 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7020 Use new :never value instead of t.
7021 (frameset-filter-alist): Expand and clarify docstring.
7022 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7023 (frameset-filter-minibuffer, frameset-filter-save-param)
7024 (frameset-filter-restore-param, frameset-filter-iconified):
7025 Add pointer to docstring of frameset-filter-alist.
7026 (frameset-filter-params): Rename filter values to be more meaningful:
7027 :never instead of t, and reverse the meanings of :save and :restore.
7028 (frameset--process-minibuffer-frames): Clarify error message.
7029 (frameset-save): Avoid unnecessary and confusing call to framep.
7030 Use new BOA constructor for framesets.
7031 (frameset--reuse-list): Doc fix.
7032 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7033 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7034 (frameset-minibufferless-first-p): Doc fix.
7035 Rename from frameset-sort-frames-for-deletion.
7036 (frameset-restore): Doc fixes. Use new function names.
7037 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7038
7039 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7040
7041 * desktop.el (desktop-restore-forces-onscreen)
7042 (desktop-restore-reuses-frames): Document :keyword constant values.
7043 (desktop-filter-parameters-alist): Remove, now identical to
7044 frameset-filter-alist.
7045 (desktop--filter-tty*): Remove, moved to frameset.el.
7046 (desktop-save-frameset, desktop-restore-frameset):
7047 Do not pass :filters argument.
7048
7049 * frameset.el (frameset-live-filter-alist)
7050 (frameset-persistent-filter-alist): New variables.
7051 (frameset-filter-alist): Use them. Add autoload cookie.
7052 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7053 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7054 `frameset--id' (it's supposed to be internal to frameset.el).
7055 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7056 (frameset--initial-params): New function.
7057 (frameset--get-frame): Use it. Doc fix.
7058 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7059 Accept :all, not 'all.
7060 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7061 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7062 with fbound symbols. Fix frame id matching, and remove matching ids if
7063 the frame being restored is deleted. Obey :delete.
7064
7065 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * subr.el (macrop): New function.
7068 (text-clone--maintaining): New var.
7069 (text-clone--maintain): Rename from text-clone-maintain. Use it
7070 instead of inhibit-modification-hooks.
7071
7072 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7073 a proxy, so as handle autoloads and redefinitions of the target.
7074 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7075
7076 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7077 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7078 (pcase--mutually-exclusive-p): New function.
7079 (pcase--split-consp): Use it.
7080 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7081 mutually exclusive with the current predicate.
7082
7083 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7084 (edebug-macrop): Remove. Use `macrop' instead.
7085 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7086 (ad-macro-p):
7087 * eshell/esh-cmd.el (eshell-macrop):
7088 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7089
7090 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7093 (advice-mapc): New function, using it.
7094 (advice-function-member-p): New function.
7095 (advice--normalize): Store the cdr in advice--saved-rewrite since
7096 that's the part that will be changed.
7097 (advice--symbol-function): New function.
7098 (advice-remove): Handle removal before the function is defined.
7099 Adjust to new advice--saved-rewrite.
7100 (advice-member-p): Use advice-function-member-p and
7101 advice--symbol-function.
7102
7103 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7104
7105 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7106 (frameset-filter-minibuffer): Doc fix.
7107 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7108 (frameset--set-id, frameset--process-minibuffer-frames)
7109 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7110 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7111
7112 * desktop.el (desktop-clear): Only delete frames when called
7113 interactively and desktop-restore-frames is non-nil. Doc fix.
7114 (desktop-read): Set desktop-saved-frameset to nil.
7115
7116 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7117
7118 * vc/vc.el (vc-ignore): Rewrite.
7119 (vc-default-ignore-completion-table):
7120 (vc--read-lines):
7121 (vc--add-line, vc--remove-regexp): New functions.
7122
7123 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7124 (vc-svn-ignore-completion-table): New function.
7125
7126 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7127 (vc-hg-ignore-completion-table):
7128 (vc-hg-find-ignore-file): New functions.
7129
7130 * vc/vc-git.el (vc-git-ignore): Rewrite.
7131 (vc-git-ignore-completion-table):
7132 (vc-git-find-ignore-file): New functions.
7133
7134 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7135
7136 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7137 (vc-bzr-ignore-completion-table):
7138 (vc-bzr-find-ignore-file): New functions.
7139
7140 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7141
7142 * frameset.el (frameset-prop): New function and setter.
7143 (frameset-save): Do not modify frame list passed by the caller.
7144
7145 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7148
7149 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7152 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7153
7154 * custom.el (custom-initialize-default, custom-initialize-set)
7155 (custom-initialize-reset, custom-initialize-changed): Affect the
7156 toplevel-default-value (bug#6275, bug#14586).
7157 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7158 for bug#6275.
7159
7160 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7161
7162 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7163 Add cl-def* expressions.
7164
7165 * frameset.el (frameset-filter-params): Fix order of arguments.
7166
7167 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7168
7169 Move code related to saving frames to frameset.el.
7170 * desktop.el: Require frameset.
7171 (desktop-restore-frames): Doc fix.
7172 (desktop-restore-reuses-frames): Rename from
7173 desktop-restoring-reuses-frames.
7174 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7175 (desktop-clear): Clear frames too.
7176 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7177 (desktop--filter-tty*, desktop-save, desktop-read):
7178 Use frameset functions.
7179 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7180 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7181 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7182 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7183 (desktop--process-minibuffer-frames, desktop-save-frames)
7184 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7185 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7186 (desktop--sort-states, desktop-restoring-frames-p)
7187 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7188 (desktop-restoring-frameset-p, desktop-restore-frameset)
7189 (desktop--check-dont-save, desktop-save-frameset): New functions.
7190 (desktop--app-id): New constant.
7191 (desktop-first-buffer, desktop-buffer-ok-count)
7192 (desktop-buffer-fail-count): Move before first use.
7193 * frameset.el: New file.
7194
7195 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * files.el: Use lexical-binding.
7198 (dir-locals-read-from-file): Remove unused `err' variable.
7199 (hack-dir-local-variables--warned-coding): New var.
7200 (hack-dir-local-variables): Use it to avoid repeated warnings.
7201 (make-backup-file-name--default-function): New function.
7202 (make-backup-file-name-function): Use it as default.
7203 (buffer-stale--default-function): New function.
7204 (buffer-stale-function): Use it as default.
7205 (revert-buffer-insert-file-contents--default-function): New function.
7206 (revert-buffer-insert-file-contents-function): Use it as default.
7207 (insert-directory): Avoid add-to-list.
7208
7209 * autorevert.el (auto-revert-handler): Simplify.
7210 Use buffer-stale--default-function.
7211
7212 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7213
7214 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7215
7216 * whitespace.el (whitespace-ensure-local-variables): New function.
7217 (whitespace-cleanup-region): Call it.
7218 (whitespace-turn-on): Call it.
7219
7220 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7221
7222 Complete file name handlers.
7223
7224 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7225 (tramp-handle-verify-visited-file-modtime)
7226 (tramp-handle-file-notify-rm-watch): New functions.
7227 (tramp-call-process): Do not bind `default-directory'.
7228
7229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7230 Order alphabetically.
7231 [access-file, add-name-to-file, dired-call-process]:
7232 [dired-compress-file, file-acl, file-notify-rm-watch]:
7233 [file-ownership-preserved-p, file-selinux-context]:
7234 [make-directory-internal, make-symbolic-link, set-file-acl]:
7235 [set-file-selinux-context, set-visited-file-modtime]:
7236 [verify-visited-file-modtime]: Add handler.
7237 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7238
7239 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7240 [file-notify-add-watch, file-notify-rm-watch]:
7241 [set-file-times, set-visited-file-modtime]:
7242 [verify-visited-file-modtime]: Add handler.
7243 (with-tramp-gvfs-error-message)
7244 (tramp-gvfs-handle-set-visited-file-modtime)
7245 (tramp-gvfs-fuse-file-name): Remove.
7246 (tramp-gvfs-handle-file-notify-add-watch)
7247 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7248 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7249
7250 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7251 Order alphabetically.
7252 [file-notify-rm-watch ]: Use default Tramp handler.
7253 [executable-find]: Remove private handler.
7254 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7255 `default-directory'.
7256 (tramp-sh-handle-executable-find)
7257 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7258 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7259 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7260 Do not use `format' in `tramp-message'.
7261
7262 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7263 [file-notify-rm-watch, set-visited-file-modtime]:
7264 [verify-visited-file-modtime]: Add handler.
7265 (tramp-smb-call-winexe): Do not bind `default-directory'.
7266
7267 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7268
7269 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7270
7271 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7272
7273 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7274 use it.
7275 (log-view-diff-changeset): Same.
7276 (log-view-diff-common): Call backend command `previous-revision'
7277 to find out the previous revision, in both cases. Swap the
7278 variables `to' and `fr', so that `fr' usually refers to the
7279 earlier revision (Bug#14989).
7280
7281 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7282
7283 * ibuf-ext.el (ibuffer-filter-by-filename):
7284 Make it work with dired buffers too.
7285
7286 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7287
7288 * emacs-lisp/re-builder.el (reb-color-display-p):
7289 * files.el (save-buffers-kill-terminal):
7290 * net/browse-url.el (browse-url):
7291 * server.el (server-save-buffers-kill-terminal):
7292 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7293 Prefer nil to selected-frame for the first arg of frame-parameter.
7294
7295 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7296
7297 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7298
7299 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7300
7301 * minibuffer.el (completion--twq-all): Try and preserve each
7302 completion's case choice (bug#14907).
7303
7304 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7305
7306 * net/network-stream.el (open-network-stream): Mention the new
7307 :nogreeting parameter.
7308 (network-stream-open-starttls): Use the :nogreeting parameter
7309 (bug#14938).
7310
7311 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7312
7313 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7314 more natural than popping.
7315
7316 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7317 (shr-urlify): Highlight under mouse.
7318
7319 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7320
7321 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7322
7323 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7324
7325 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7326 buffer for output.
7327
7328 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7329 point-min==1. Fix search string. Fix parentheses missing.
7330
7331 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7332 assume point-min==1. Fix search string. Fix parentheses missing.
7333
7334 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7335
7336 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7337 buffer for output.
7338
7339 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7340
7341 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7342 initial frame is minibuffer-less. (Bug#14841)
7343
7344 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7345
7346 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7347 option.
7348
7349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7350 (tramp-maybe-open-connection): Use it.
7351
7352 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7353
7354 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7355 minimal set of parameters passed when creating a frame, because
7356 the minibuffer status of a frame cannot be changed later.
7357
7358 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7359
7360 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7361 replace-regexp-in-string and inadvertent omissions in previous change.
7362 (todo-filter-items): Ensure only file names are comma-separated in
7363 name of filtered items buffer.
7364
7365 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * desktop.el: Optionally force offscreen frames back onscreen.
7368 (desktop-restoring-reuses-frames): New option.
7369 (desktop--compute-pos, desktop--move-onscreen): New functions.
7370 (desktop--make-frame): Use desktop--move-onscreen.
7371
7372 2013-07-27 Alan Mackenzie <acm@muc.de>
7373
7374 Fontify a Java generic method as a function.
7375 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7376 value to t.
7377
7378 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7379
7380 * calendar/todo-mode.el: Add command to rename todo files.
7381 (todo-rename-file): New command.
7382 (todo-key-bindings-t): Add key binding for it. Change the
7383 bindings of todo-filter-regexp-items(-multifile) to use `x'
7384 instead of `r', since the latter is better suited to the new
7385 renaming command.
7386
7387 2013-07-27 Alan Mackenzie <acm@muc.de>
7388
7389 Make Java try-with-resources statement parse properly.
7390 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7391 (c-block-stmt-1-2-key): New language constants/variables.
7392 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7393 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7394 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7395 with c-block-stmt-1-2-key.
7396
7397 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * desktop.el (desktop--make-frame): Apply most frame parameters after
7400 creating the frame to force (partially or totally) offscreen frames to
7401 be restored as such.
7402
7403 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7404
7405 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7406 (Bug#14948)
7407
7408 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7411 `base' arg of backtrace-frame.
7412
7413 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7414
7415 * simple.el (list-processes): Doc fix.
7416
7417 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7418
7419 * desktop.el (desktop--select-frame):
7420 Try harder to reuse existing frames.
7421
7422 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7425 (edebug-eval): Use backtrace-eval.
7426 (edebug--display, edebug--recursive-edit): Don't let-bind the
7427 edebug-outer-* vars that keep track of variables we locally let-bind.
7428 (edebug-outside-excursion): Don't restore outside values of locally
7429 let-bound vars.
7430 (edebug--display): Use user-error.
7431 (cl-lexical-debug, cl-debug-env): Remove.
7432
7433 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7434
7435 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7436 are restored to be sure that they are visible before deleting any
7437 remaining ones.
7438
7439 2013-07-26 Matthias Meulien <orontee@gmail.com>
7440
7441 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7442 vc-print-root-log. (Bug#14948)
7443
7444 2013-07-26 Richard Stallman <rms@gnu.org>
7445
7446 Add aliases for encrypting mail.
7447 * epa.el (epa-mail-aliases): New option.
7448 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7449 Bind inhibit-read-only so read-only text doesn't ruin everything.
7450 (epa-mail-default-recipients): New subroutine broken out.
7451 Handle epa-mail-aliases.
7452
7453 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 Add support for lexical variables to the debugger's `e' command.
7456 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7457 vars, except for debugger-outer-match-data.
7458 (debugger-frame-number): Move check for "on a function call" from
7459 callers into it. Add `skip-base' argument.
7460 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7461 (debugger-env-macro): Only reset the state stored in non-variables,
7462 i.e. current-buffer and match-data.
7463 (debugger-eval-expression): Rewrite using backtrace-eval.
7464 * subr.el (internal--called-interactively-p--get-frame): Remove.
7465 (called-interactively-p):
7466 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7467 `base' arg of backtrace-frame instead.
7468
7469 2013-07-26 Glenn Morris <rgm@gnu.org>
7470
7471 * align.el (align-regexp): Doc fix. (Bug#14857)
7472 (align-region): Explicit error if subexpression missing/does not match.
7473
7474 * simple.el (global-visual-line-mode):
7475 Do not duplicate the mode lighter. (Bug#14858)
7476
7477 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7478
7479 * window.el (display-buffer): In display-buffer bind
7480 split-window-keep-point to t, bug#14829.
7481
7482 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7483
7484 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7485 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7486 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7487 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7488 Change accordingly.
7489 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7490 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7491
7492 2013-07-25 Glenn Morris <rgm@gnu.org>
7493
7494 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7495
7496 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7497
7498 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7499 parameter to modify-frame-parameters if the value has not changed;
7500 this is a workaround for bug#14949.
7501 (desktop--make-frame): On cl-delete-if call, check parameter name,
7502 not full parameter.
7503
7504 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7505
7506 * vc/vc.el (vc-ignore): New function.
7507
7508 * vc/vc-svn.el (vc-svn-ignore): New function.
7509
7510 * vc/vc-hg.el (vc-hg-ignore): New function.
7511
7512 * vc/vc-git.el (vc-git-ignore): New function.
7513
7514 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7515 (vc-dir-ignore): New function.
7516
7517 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7518 (cvs-append-to-ignore): Move here from pcvs.el.
7519
7520 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7521
7522 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7523
7524 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7525
7526 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7527 (desktop-restore-frames): Warn when deleting an existing frame failed.
7528
7529 2013-07-24 Glenn Morris <rgm@gnu.org>
7530
7531 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7532
7533 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * filenotify.el (file-notify-supported-p):
7536 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7537 Remove functions.
7538
7539 * autorevert.el (auto-revert-use-notify):
7540 (auto-revert-notify-add-watch):
7541 * net/tramp.el (tramp-file-name-for-operation):
7542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7544 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7545 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7546 Remove `file-notify-supported-p' entry.
7547
7548 2013-07-24 Glenn Morris <rgm@gnu.org>
7549
7550 * printing.el: Replace all uses of deleted ps-windows-system,
7551 ps-lp-system, ps-flatten-list with lpr- versions.
7552
7553 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7556 checked with memq (bug#14935).
7557
7558 * files.el (revert-buffer-function): Use a non-nil default.
7559 (revert-buffer-preserve-modes): Declare var to
7560 provide access to the `preserve-modes' argument.
7561 (revert-buffer): Let-bind it.
7562 (revert-buffer--default): New function, extracted from revert-buffer.
7563
7564 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * lpr.el: Signal print errors more prominently.
7567 (print-region-function): Don't default to nil.
7568 (lpr-print-region): New function, extracted from print-region-1.
7569 Check lpr's return value and signal an error in case of problem.
7570 (print-region-1): Use it.
7571 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7572 versions instead.
7573 (ps-printer-name): Default to nil.
7574 (ps-printer-name-option): Default to lpr-printer-switch.
7575 (ps-print-region-function): Don't default to nil.
7576 (ps-postscript-code-directory): Simplify default.
7577 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7578 (ps-string-list, ps-eval-switch, ps-flatten-list)
7579 (ps-flatten-list-1): Remove.
7580 (ps-multibyte-buffer): Avoid setq.
7581 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7582 (print-region-function, ps-print-region-function): Don't set them here.
7583
7584 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7585
7586 * ido.el (ido-fractionp):
7587 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7588 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7589 (ido-max-directory-size, ido-max-dir-file-cache)
7590 (ido-decorations): Doc fix.
7591
7592 * ansi-color.el: Fix old URL.
7593
7594 2013-07-23 Michael R. Mauger <michael@mauger.com>
7595
7596 * progmodes/sql.el: Version 3.3
7597 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7598 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7599 (sql-interactive-remove-continuation-prompt): Rewrite, use
7600 functions above. Fix continuation prompt and complete output line
7601 handling.
7602 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7603 redirected output buffer.
7604 (sql-mode): Restore deleted code (Bug#13591).
7605
7606 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7607
7608 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7609
7610 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7611
7612 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7613
7614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7616 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7617
7618 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * desktop.el (desktop-clear): Simplify; remove useless checks
7621 against invalid buffer names.
7622 (desktop-list*): Use cl-list*.
7623 (desktop-buffer-info, desktop-create-buffer): Simplify.
7624
7625 2013-07-23 Leo Liu <sdl.web@gmail.com>
7626
7627 * bookmark.el (bookmark-make-record): Restore NAME as a default
7628 value. (Bug#14933)
7629
7630 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7633 extracted from autoload--insert-text.
7634 (autoload--insert-text): Remove.
7635 (autoload--print-cookie-text): New function, extracted from
7636 autoload--insert-cookie-text.
7637 (autoload--insert-cookie-text): Remove.
7638 (autoload-generate-file-autoloads): Adjust calls accordingly.
7639
7640 * winner.el (winner-hook-installed-p): Remove.
7641 (winner-mode): Simplify accordingly.
7642
7643 * subr.el (add-to-list): Fix compiler-macro when `append' is
7644 not constant. Don't use `cl-member' for the base case.
7645
7646 * progmodes/subword.el: Fix boundary case (bug#13758).
7647 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7648 own group.
7649 (subword-backward-regexp): Make it a constant.
7650 (subword-forward-internal): Don't treat a trailing capital as the
7651 beginning of a word.
7652
7653 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7654
7655 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7656 global value of tabulated-list-revert-hook (bug#14930).
7657
7658 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7659
7660 * desktop.el: Require 'cl-lib.
7661 (desktop-before-saving-frames-functions): New hook.
7662 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7663 for frames being saved. Rename from desktop--save-minibuffer-frames.
7664 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7665 Do not save frames with non-nil `desktop-dont-save' parameter.
7666 Filter out deleted frames.
7667 (desktop--find-frame): Use cl-find-if.
7668 (desktop--select-frame): Use cl-(first|second|third) to access values
7669 of desktop-mini.
7670 (desktop--make-frame): Use cl-delete-if.
7671 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7672 (desktop-restore-frames): Use cl-(first|second|third) to access values
7673 of desktop-mini. Look for visible frame at the end, not while
7674 restoring frames.
7675
7676 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7677 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7678 Use string-match-p, looking-at-p (bug#14927).
7679
7680 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * desktop.el (desktop-saved-frame-states):
7683 Rename from desktop--saved-states; all users changed.
7684 (desktop-save-frames): Rename from desktop--save-frames.
7685 Do not save state to desktop file.
7686 (desktop-save): Save desktop-saved-frame-states to desktop file
7687 and reset to nil.
7688 (desktop-restoring-frames-p): New function.
7689 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7690 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7691 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7692
7693 * desktop.el: Correctly restore iconified frames.
7694 (desktop--filter-iconified-position): New function.
7695 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7696
7697 2013-07-20 Glenn Morris <rgm@gnu.org>
7698
7699 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7700 Let `message' do the formatting.
7701 (def-gdb-preempt-display-buffer): Add explicit format.
7702
7703 * image-dired.el (image-dired-track-original-file):
7704 Use with-current-buffer.
7705 (image-dired-track-thumbnail): Use with-current-buffer.
7706 Avoid changing point of wrong window.
7707
7708 * image-dired.el (image-dired-track-original-file):
7709 Avoid changing point of wrong window. (Bug#14909)
7710
7711 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7712
7713 * progmodes/gdb-mi.el (gdb-done-or-error):
7714 Guard against "%" in gdb output. (Bug#14127)
7715
7716 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7717
7718 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7719 (Bug#14826)
7720
7721 * international/mule.el (coding-system-iso-2022-flags): Fix last
7722 change.
7723
7724 2013-07-20 Kenichi Handa <handa@gnu.org>
7725
7726 * international/mule.el (coding-system-iso-2022-flags):
7727 Add `8-bit-level-4'. (Bug#8522)
7728
7729 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7730
7731 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7732 (bug#14815).
7733
7734 * net/eww.el (eww-process-text-input): Allow inputting when the
7735 point is at the start of the line, as the properties aren't
7736 front-sticky.
7737
7738 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7739 degenerate widths.
7740
7741 2013-07-19 Richard Stallman <rms@gnu.org>
7742
7743 * epa.el (epa-popup-info-window): Doc fix.
7744
7745 * subr.el (split-string): New arg TRIM.
7746
7747 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7748
7749 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7750 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7751
7752 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7753
7754 * filenotify.el (file-notify--library): Rename from
7755 `file-notify-support'. Do not autoload. Adapt all uses.
7756 (file-notify-supported-p): New defun.
7757
7758 * autorevert.el (auto-revert-use-notify):
7759 Use `file-notify-supported-p' instead of `file-notify-support'.
7760 Adapt docstring.
7761 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7762
7763 * net/tramp.el (tramp-file-name-for-operation):
7764 Add `file-notify-supported-p'.
7765
7766 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7767 New defun.
7768 (tramp-sh-file-name-handler-alist): Add it as handler for
7769 `file-notify-supported-p '.
7770
7771 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7773 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7774 Add `ignore' as handler for `file-notify-*' functions.
7775
7776 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7777
7778 * simple.el (line-move-partial, line-move): Don't start vscroll or
7779 scroll-up if the current line is not taller than the window.
7780 (Bug#14881)
7781
7782 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7783
7784 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7785 highlight question marks in the method names as strings.
7786 (ruby-block-beg-keywords): Inline.
7787 (ruby-font-lock-keyword-beg-re): Extract from
7788 `ruby-font-lock-keywords'.
7789
7790 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7791
7792 * frame.el (blink-cursor-blinks): New defcustom.
7793 (blink-cursor-blinks-done): New defvar.
7794 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7795 (blink-cursor-timer-function): Check if number of blinks has been
7796 done on X and NS.
7797 (blink-cursor-suspend, blink-cursor-check): New defuns.
7798
7799 2013-07-15 Glenn Morris <rgm@gnu.org>
7800
7801 * edmacro.el (edmacro-format-keys): Fix previous change.
7802
7803 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7804
7805 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7806 The hack didn't work outside English locales anyway.
7807
7808 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7809
7810 * simple.el (define-alternatives): Rename from alternatives-define,
7811 per RMS' suggestion.
7812
7813 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7814
7815 * desktop.el (desktop-restore-frames): Change default to t.
7816 (desktop-restore-in-current-display): Now offer more options.
7817 (desktop-restoring-reuses-frames): New customization option.
7818 (desktop--saved-states): Doc fix.
7819 (desktop-filter-parameters-alist): New variable, renamed and expanded
7820 from desktop--excluded-frame-parameters.
7821 (desktop--target-display): New variable.
7822 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7823 (desktop--filter-tty*, desktop--filter-*-color)
7824 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7825 (desktop--filter-save-desktop-parm)
7826 (desktop-restore-in-original-display-p): New functions.
7827 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7828 (desktop--save-minibuffer-frames): New function, inspired by a similar
7829 function from Martin Rudalics.
7830 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7831 (desktop--restore-in-this-display-p): Remove.
7832 (desktop--find-frame): Rename from desktop--find-frame-in-display
7833 and add predicate argument.
7834 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7835 (desktop--reuse-list): New variable.
7836 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7837 New functions.
7838 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7839
7840 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7841
7842 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7843
7844 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7845
7846 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7847 Highlight conversion methods on Kernel.
7848
7849 2013-07-13 Alan Mackenzie <acm@muc.de>
7850
7851 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7852 and comment it out. This out-commenting enables certain C++
7853 declarations to be parsed correctly.
7854
7855 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7856
7857 * international/mule.el (define-coding-system): Doc fix.
7858
7859 * simple.el (default-font-height): Don't call font-info if the
7860 frame's default font didn't change since the frame was created.
7861 (Bug#14838)
7862
7863 2013-07-13 Leo Liu <sdl.web@gmail.com>
7864
7865 * ido.el (ido-read-file-name): Guard against non-symbol value.
7866
7867 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7868
7869 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7870 in nested defuns.
7871
7872 2013-07-13 Leo Liu <sdl.web@gmail.com>
7873
7874 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7875 ido-set-matches call. (Bug#6852)
7876
7877 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7878
7879 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7880 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7881 Ruby 2.0.
7882 (ruby-font-lock-keywords): Distinguish calls to functions with
7883 module-like names from module references. Highlight character
7884 literals.
7885
7886 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7887
7888 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7889 (gdb-send): Handle continued commands. (Bug#14847)
7890
7891 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7892
7893 * desktop.el (desktop--v2s): Remove unused local variable.
7894 (desktop-save-buffer): Make defvar-local; adjust docstring.
7895 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7896 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7897
7898 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7899
7900 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7901
7902 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7903
7904 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7905 (Bug#14842)
7906
7907 2013-07-12 Glenn Morris <rgm@gnu.org>
7908
7909 * doc-view.el: Require cl-lib at runtime too.
7910 (doc-view-remove-if): Remove.
7911 (doc-view-search-next-match, doc-view-search-previous-match):
7912 Use cl-remove-if.
7913
7914 * edmacro.el: Require cl-lib at runtime too.
7915 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7916 (edmacro-mismatch, edmacro-subseq): Remove.
7917
7918 * shadowfile.el: Require cl-lib.
7919 (shadow-remove-if): Remove.
7920 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7921 Use cl-remove-if.
7922
7923 * wid-edit.el: Require cl-lib.
7924 (widget-choose): Use cl-remove-if.
7925 (widget-remove-if): Remove.
7926
7927 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7928 (ebrowse-delete-if-not): Remove.
7929 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7930 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7931 Use cl-delete-if-not.
7932
7933 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7934
7935 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7936 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7937
7938 2013-07-12 Leo Liu <sdl.web@gmail.com>
7939
7940 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7941
7942 2013-07-11 Glenn Morris <rgm@gnu.org>
7943
7944 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7945 (edebug-gensym-index, edebug-gensym):
7946 Remove reimplementation of cl-gensym.
7947 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7948
7949 * thumbs.el: Require cl-lib at run-time too.
7950 (thumbs-gensym-counter, thumbs-gensym):
7951 Remove reimplementation of cl-gensym.
7952 (thumbs-temp-file): Use cl-gensym.
7953
7954 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7955 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7956 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7957 (ert--union, ert--gensym-counter, ert--gensym-counter)
7958 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7959 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7960 (ert-make-test-unbound, ert--expand-should-1)
7961 (ert--expand-should, ert--should-error-handle-error)
7962 (should-error, ert--explain-equal-rec)
7963 (ert--plist-difference-explanation, ert-select-tests)
7964 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7965 Use cl-lib functions rather than reimplementations.
7966
7967 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7968
7969 * net/tramp.el (tramp-methods): Extend docstring.
7970 (tramp-connection-timeout): New defcustom.
7971 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7972 (with-tramp-progress-reporter): Simplify.
7973 (tramp-process-actions): Improve messages.
7974
7975 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7976 * net/tramp-sh.el (tramp-maybe-open-connection):
7977 Use `tramp-connection-timeout'.
7978 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7979 (Bug#14808)
7980
7981 2013-07-11 Leo Liu <sdl.web@gmail.com>
7982
7983 * ido.el (ido-read-file-name): Conform to the requirements of
7984 read-file-name. (Bug#11861)
7985 (ido-read-directory-name): Conform to the requirements of
7986 read-directory-name.
7987
7988 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * subr.el (delay-warning): New function.
7991
7992 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7993
7994 * simple.el (default-line-height): New function.
7995 (line-move-partial, line-move): Use it instead of computing the
7996 line height inline.
7997 (line-move-partial): Always compute ROWH. If the last line is
7998 partially-visible, but its text is completely visible, allow
7999 cursor to enter such a partially-visible line.
8000
8001 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8002
8003 Improve error messages. (Bug#14808)
8004
8005 * net/tramp.el (tramp-current-connection): New defvar, moved from
8006 tramp-sh.el.
8007 (tramp-message-show-progress-reporter-message): Remove, not
8008 needed anymore.
8009 (tramp-error-with-buffer): Show message in minibuffer.
8010 Discard input before waiting. Reset connection timestamp.
8011 (with-tramp-progress-reporter): Improve messages.
8012 (tramp-process-actions): Use progress reporter. Delete process in
8013 case of error. Improve messages.
8014
8015 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8016 Call `tramp-error-with-buffer' with vector and buffer.
8017 (tramp-current-connection): Remove.
8018 (tramp-maybe-open-connection): The car of
8019 `tramp-current-connection' are the first 3 slots of the vector.
8020
8021 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8022
8023 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8024 inside continued strings.
8025
8026 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8027
8028 Timestamp fixes for undo (Bug#14824).
8029 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8030
8031 2013-07-10 Leo Liu <sdl.web@gmail.com>
8032
8033 * files.el (require-final-newline): Allow safe local value.
8034 (Bug#14834)
8035
8036 2013-07-09 Leo Liu <sdl.web@gmail.com>
8037
8038 * ido.el (ido-read-directory-name): Handle fallback.
8039 (ido-read-file-name): Update DIR to ido-current-directory.
8040 (Bug#1516)
8041 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8042
8043 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8044
8045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8046 "autoload". Remove "warn lower camel case" section, previously
8047 commented out. Highlight negation char. Do not highlight the
8048 target in singleton method definitions.
8049
8050 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8051
8052 * faces.el (tty-setup-hook): Declare the hook.
8053
8054 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8055 and detect when a guard/pred depends on local vars (bug#14773).
8056 (pcase--u1): Adjust caller.
8057
8058 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8059
8060 * simple.el (line-move-partial, line-move): Account for
8061 line-spacing.
8062 (line-move-partial): Avoid setting vscroll when the last
8063 partially-visible line in window is of default height.
8064
8065 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8066
8067 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8068 been used a while.
8069
8070 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * subr.el (read-quoted-char): Remove unused local variable `char'.
8073
8074 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8075
8076 * ediff.el (ediff-version): Version update.
8077 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8078 (ediff-merge-with-ancestor-command, ediff-directories-command)
8079 (ediff-directories3-command, ediff-merge-directories-command)
8080 (ediff-merge-directories-with-ancestor-command): New functions.
8081 All are command-line interfaces to ediff: to facilitate calling
8082 Emacs with the appropriate ediff functions invoked.
8083
8084 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8085 (viper-save-kill-buffer): Check if buffer is modified.
8086
8087 * viper.el (viper-version): Version update.
8088 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8089
8090 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8093 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8094 (viper-intercept-ESC-key): Simplify.
8095 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8096 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8097 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8098 (viper-setup-ESC-to-escape): New functions.
8099 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8100 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8101
8102 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8103
8104 * simple.el (default-font-height, window-screen-lines):
8105 New functions.
8106 (line-move, line-move-partial): Use them instead of
8107 frame-char-height and window-text-height. This makes scrolling
8108 text smoother when the buffer's default face uses a font that is
8109 different from the frame's default font.
8110
8111 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8112
8113 * files.el (write-file): Do not display confirm dialog for NS,
8114 it does its own dialog, which can't be canceled (Bug#14578).
8115
8116 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8117
8118 * simple.el (line-move-partial): Adjust the row returned by
8119 posn-at-point for the current window-vscroll. (Bug#14567)
8120
8121 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8124 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8125 spaces.
8126
8127 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8128
8129 * window.el (window-state-put-stale-windows): New variable.
8130 (window--state-put-2): Save list of windows without matching buffer.
8131 (window-state-put): Remove "bufferless" windows if possible.
8132
8133 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8134
8135 * simple.el (alternatives-define): Remove leftover :group keyword.
8136 Tweak docstring.
8137
8138 2013-07-06 Leo Liu <sdl.web@gmail.com>
8139
8140 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8141 (ido-enable-virtual-buffers): New variable.
8142 (ido-buffer-internal, ido-toggle-virtual-buffers)
8143 (ido-make-buffer-list): Use it.
8144 (ido-exhibit): Support turning on and off virtual buffers
8145 automatically.
8146
8147 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8148
8149 * simple.el (alternatives-define): New macro.
8150
8151 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * subr.el (read-quoted-char): Use read-key.
8154 (sit-for): Let read-event decode tty input (bug#14782).
8155
8156 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8157
8158 * calendar/todo-mode.el: Add handling of file deletion, both by
8159 mode command and externally. Fix various related bugs.
8160 Clarify Commentary and improve some documentation strings and code.
8161 (todo-delete-file): New command.
8162 (todo-check-file): New function.
8163 (todo-show): Handle external deletion of the file we're trying to
8164 show (bug#14688). Replace called-interactively-p by an optional
8165 prefix argument to avoid problematic interaction with catch form
8166 when byte compiled (bug#14702).
8167 (todo-quit): Handle external deletion of the archive's todo file.
8168 Make sure the buffer that was visiting the archive file is still
8169 live before trying to bury it.
8170 (todo-category-completions): Handle external deletion of any
8171 category completion files.
8172 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8173 of todo files, in case of external deletion.
8174 (todo-add-file): Replace unnecessary setq by let-binding.
8175 (todo-find-archive): Check whether there are any archives.
8176 Replace unnecessary setq by let-binding.
8177 (todo-archive-done-item): Use find-file-noselect to get the
8178 archive buffer whether or not the archive already exists.
8179 Remove superfluous code. Use file size instead of buffer-file-name to
8180 check if the archive is new; if it is, update list of archives.
8181 (todo-default-todo-file): Allow nil to be a valid value for when
8182 there are no todo files.
8183 (todo-reevaluate-default-file-defcustom): Use corrected definition
8184 of todo-default-todo-file.
8185 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8186 (todo-delete-category, todo-show-categories-table)
8187 (todo-category-number): Clarify comment.
8188 (todo-filter-items): Clarify documentation string.
8189 (todo-show-current-file, todo-display-as-todo-file)
8190 (todo-reset-and-enable-done-separator): Tweak documentation string.
8191 (todo-done-separator): Make separator length window-width, since
8192 bug#2749 is now fixed.
8193
8194 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8195
8196 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8197 Support both "gvfs-monitor-dir" and "inotifywait".
8198 (tramp-sh-file-inotifywait-process-filter): Rename from
8199 `tramp-sh-file-notify-process-filter'.
8200 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8201 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8202
8203 2013-07-05 Leo Liu <sdl.web@gmail.com>
8204
8205 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8206
8207 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8208
8209 * frame.el (display-pixel-height, display-pixel-width)
8210 (display-mm-height, display-mm-width): Mention behavior on
8211 multi-monitor setups in docstrings.
8212 (w32-display-monitor-attributes-list): Declare function.
8213 (display-monitor-attributes-list): Use it.
8214
8215 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8216
8217 * filenotify.el: New package.
8218
8219 * autorevert.el (top): Require filenotify.el.
8220 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8221 instead.
8222 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8223 (auto-revert-notify-handler): Use `file-notify-*' functions.
8224
8225 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8226
8227 * net/tramp.el (tramp-file-name-for-operation):
8228 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8229
8230 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8231 for `file-notify-add-watch' and `file-notify-rm-watch'.
8232 (tramp-process-sentinel): Improve trace.
8233 (tramp-sh-handle-file-notify-add-watch)
8234 (tramp-sh-file-notify-process-filter)
8235 (tramp-sh-handle-file-notify-rm-watch)
8236 (tramp-get-remote-inotifywait): New defuns.
8237
8238 2013-07-03 Juri Linkov <juri@jurta.org>
8239
8240 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8241 call of `occur-read-primary-args' to interactive spec.
8242
8243 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8244 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8245
8246 2013-07-03 Matthias Meulien <orontee@gmail.com>
8247
8248 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8249 `Buffer-menu-multi-occur'. Add it to the menu.
8250 (Buffer-menu-mode): Document it in docstring.
8251 (Buffer-menu-multi-occur): New command. (Bug#14673)
8252
8253 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8254
8255 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8256 keywords and built-ins.
8257
8258 2013-07-03 Glenn Morris <rgm@gnu.org>
8259
8260 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8261
8262 Make info-xref checks case-sensitive by default
8263 * info.el (Info-find-node, Info-find-in-tag-table)
8264 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8265 Add option for exact case matching of nodes.
8266 * info-xref.el (info-xref): New custom group.
8267 (info-xref-case-fold): New option.
8268 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8269
8270 2013-07-03 Leo Liu <sdl.web@gmail.com>
8271
8272 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8273
8274 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8275
8276 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8277 middle of block statement initially, lower the depth. Remove
8278 FIXME comment, not longer valid. Remove middle of block statement
8279 detection, no need to do that anymore since we've been using
8280 `ruby-parse-region' here.
8281
8282 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8283
8284 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8285
8286 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8287
8288 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8289
8290 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8291
8292 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8293 (desktop-restore-in-current-display): New customization option.
8294 (desktop--excluded-frame-parameters): Add `font'.
8295 (desktop--save-frames): Rename from desktop--save-windows.
8296 (desktop--restore-in-this-display-p): New function.
8297 (desktop--make-full-frame): Remove unwanted width/height from
8298 full(width|height) frames.
8299 (desktop--restore-frames): Rename from desktop--restore-windows.
8300 Obey desktop-restore-current-display. Do not delete old frames or
8301 select a new frame unless we were able to restore at least one frame.
8302
8303 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8304
8305 * files.el (find-file-noselect): Simplify conditional expression.
8306
8307 * textmodes/remember.el (remember-append-to-file):
8308 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8309
8310 Add `remember-notes' function to store random notes across Emacs
8311 restarts.
8312 * textmodes/remember.el (remember-data-file): Add :set callback to
8313 affect notes buffer (if any).
8314 (remember-notes): New command.
8315 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8316 New defcustoms for the `remember-notes' function.
8317 (remember-notes-save-and-bury-buffer): New command.
8318 (remember-notes-mode-map): New variable.
8319 (remember-mode): New minor mode.
8320 (remember-notes--kill-buffer-query): New function.
8321 * startup.el (initial-buffer-choice): Add notes to custom type.
8322
8323 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8324
8325 * bindings.el (right-char, left-char): Don't call sit-for, this is
8326 no longer needed. Use arithmetic comparison only for numerical
8327 arguments.
8328
8329 * international/mule-cmds.el (select-safe-coding-system):
8330 Handle the case of FROM being a string correctly. (Bug#14755)
8331
8332 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8333
8334 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8335 progression on degenerate tables.
8336 (shr-rescale-image): ImageMagick animated images currently don't work.
8337
8338 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8339
8340 Some fixes and improvements for desktop frame restoration.
8341 It is still experimental and disabled by default.
8342 * desktop.el (desktop--save-windows): Put the selected frame at
8343 the head of the list.
8344 (desktop--make-full-frame): New function.
8345 (desktop--restore-windows): Try to re-select the frame that was
8346 selected upon saving. Do not abort if some frames fail to restore,
8347 just show an error message and continue. Set up maximized frames
8348 so they have default non-maximized dimensions.
8349
8350 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8351
8352 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8353 Don't start heredoc inside a string or comment.
8354
8355 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8356
8357 * bindings.el (visual-order-cursor-movement): New defcustom.
8358 (right-char, left-char): Provide visual-order cursor motion by
8359 calling move-point-visually. Update the doc strings.
8360
8361 2013-06-28 Kenichi Handa <handa@gnu.org>
8362
8363 * international/mule.el (define-coding-system): New coding system
8364 properties :inhibit-null-byte-detection,
8365 :inhibit-iso-escape-detection, and :prefer-utf-8.
8366 (set-buffer-file-coding-system): If :charset-list property of
8367 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8368 appropriate for setting.
8369
8370 * international/mule-cmds.el (select-safe-coding-system):
8371 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8372 multibyte characters, return utf-8 (or one of its siblings).
8373
8374 * international/mule-conf.el (prefer-utf-8): New coding system.
8375 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8376 files.
8377
8378 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8379
8380 * net/shr.el (shr-render-region): New function.
8381
8382 * net/eww.el: Autoload `eww-browse-url'.
8383
8384 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8385
8386 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8387 Adapt to `package-desc-version' being a list.
8388 Use `package--ac-desc-version' to retrieve version from a package
8389 archive element.
8390
8391 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8392
8393 New experimental feature to save&restore window and frame setup.
8394 * desktop.el (desktop-save-windows): New defcustom.
8395 (desktop--saved-states): New var.
8396 (desktop--excluded-frame-parameters): New defconst.
8397 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8398 (desktop--restore-windows, desktop--save-windows): New functions.
8399 (desktop-save): Call `desktop--save-windows'.
8400 (desktop-read): Call `desktop--restore-windows'.
8401
8402 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8403
8404 * net/shr.el (add-face-text-property): Remove compat definition.
8405
8406 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8407
8408 * info.el (Info-try-follow-nearest-node): Move search for footnote
8409 above search for node name to prevent missing a footnote (bug#14717).
8410
8411 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8412
8413 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8414
8415 2013-06-27 Leo Liu <sdl.web@gmail.com>
8416
8417 * net/eww.el (eww-read-bookmarks): Check file size.
8418
8419 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8422 advice--pending if newdef is nil or an autoload (bug#13820).
8423 (advice-mapc): New function.
8424
8425 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8426
8427 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8428 probably.
8429 (eww-mode-map): Add a menu bar.
8430 (eww-add-bookmark): New command.
8431 (eww-bookmark-mode): New mode and commands.
8432 (eww-add-bookmark): Remove newlines from the title.
8433 (eww-bookmark-browse): Don't bug out if it's the only window.
8434
8435 2013-06-26 Glenn Morris <rgm@gnu.org>
8436
8437 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8438 (hfy-size): Handle ttys. (Bug#14668)
8439
8440 * info-xref.el: Update for Texinfo 5 change in *note format.
8441 (info-xref-node-re, info-xref-note-re): New constants.
8442 (info-xref-check-buffer): Use info-xref-note-re.
8443
8444 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8447
8448 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8449 nil terminate the loop (bug#14718).
8450
8451 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8452
8453 * net/eww.el: Rework history traversal. When going forward/back,
8454 put these actions into the history, too, so that they can be
8455 replayed.
8456 (eww-render): Move the history reset to the correct buffer.
8457
8458 2013-06-25 Juri Linkov <juri@jurta.org>
8459
8460 * files-x.el (modify-dir-local-variable): Change the header comment
8461 in the file with directory local variables. (Bug#14692)
8462
8463 * files-x.el (read-file-local-variable-value): Add `default'.
8464 (Bug#14710)
8465
8466 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8467
8468 * net/eww.el (eww-make-unique-file-name): Create a unique file
8469 name before saving to entering `y' accidentally asynchronously.
8470
8471 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8472
8473 * net/eww.el (eww-download): New command and keystroke.
8474
8475 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476
8477 * net/eww.el (eww-copy-page-url): Change name of command.
8478
8479 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8480 be more consistent with Info and dired.
8481
8482 * net/eww.el (eww-mode-map): Ditto.
8483
8484 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8487 packages from archives.
8488 (package-archive-contents): Change format; include obsolete packages.
8489 (package-desc): Use `dir' to mark builtin packages.
8490 (package--from-builtin): Set the `dir' field to `builtin'.
8491 (generated-autoload-file, version-control): Declare.
8492 (package-compute-transaction): Change first arg and return value to be
8493 lists of package-descs. Adjust to new package-archive-contents format.
8494 (package--add-to-archive-contents): Adjust to new
8495 package-archive-contents format.
8496 (package-download-transaction): Arg is now a list of package-descs.
8497 (package-install): If `pkg' is a package name, pass it as
8498 a requirement, so it is subject to the usual (e.g. disabled) checks.
8499 (describe-package): Accept package-desc as well.
8500 (describe-package-1): Describe a specific package-desc. Add links to
8501 other package-descs for the same package name.
8502 (package-menu-describe-package): Pass the actual package-desc.
8503 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8504 works correctly.
8505 (package-desc-status): New function.
8506 (package-menu--refresh): New function, extracted
8507 from package-menu--generate.
8508 (package-menu--generate): Use it.
8509 (package-delete): Update package-alist.
8510 (package-menu-execute): Don't call package-initialize.
8511
8512 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8513 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8514 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8515 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8516 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8517 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8518
8519 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8520
8521 * window.el (window--state-get-1): Workaround for bug#14527.
8522 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8523
8524 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8525
8526 * net/eww.el (eww-back-url): Implement the history by stashing all
8527 the data into a list.
8528 (eww-forward-url): Allow going forward in the history, too.
8529
8530 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8533 for values and use read--expression for expressions (bug#14710).
8534 (read-file-local-variable): Avoid setq.
8535 (read-file-local-variable-mode): Use minor-mode-list.
8536
8537 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8538
8539 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8540 for DOI URLs.
8541
8542 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8543
8544 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8545 Update imenu-support when dialect changes.
8546
8547 2013-06-25 Leo Liu <sdl.web@gmail.com>
8548
8549 * ido.el (ido-read-internal): Allow forward slash on windows.
8550
8551 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
8553 * net/eww.el (eww): Start of strings is \\`, not ^.
8554
8555 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8556
8557 * net/shr.el (shr-browse-url): Fix interactive spec.
8558
8559 * net/eww.el (eww): Add a trailing slash to domain names.
8560
8561 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8562
8563 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8564
8565 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8566
8567 * net/shr.el (shr-browse-url): Use an external browser if given a
8568 prefix.
8569
8570 * net/eww.el (eww-external-browser): Move to shr.
8571
8572 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8573
8574 * net/eww.el (eww): Work more correctly for file: URLs.
8575 (eww-detect-charset): Allow quoted charsets.
8576 (eww-yank-page-url): New command and keystroke.
8577
8578 2013-06-24 Daiki Ueno <ueno@gnu.org>
8579
8580 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8581 file name of gpg executable.
8582 (epg-context-program): New function.
8583 (epg-context-home-directory): New function.
8584 (epg-context-set-program): New function.
8585 (epg-context-set-home-directory): New function.
8586 (epg--start): Use `epg-context-program' instead of
8587 'epg-gpg-program'.
8588 (epg--list-keys-1): Likewise.
8589
8590 2013-06-24 Leo Liu <sdl.web@gmail.com>
8591
8592 * ido.el (ido-read-internal): Fix bug#14620.
8593
8594 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8595
8596 * faces.el (face-documentation): Simplify.
8597 (read-face-attribute, tty-find-type, x-resolve-font-name):
8598 Use `string-match-p'.
8599 (list-faces-display): Use `string-match-p'. Simplify.
8600 (face-spec-recalc): Check face to avoid face alias loops.
8601 (read-color): Use `string-match-p' and non-capturing parenthesis.
8602
8603 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8604
8605 * net/shr.el (shr-rescale-image): Use the new
8606 :max-width/:max-height functionality.
8607
8608 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8609
8610 * net/eww.el (eww-search-prefix): New variable.
8611 (eww): Use it.
8612 (eww-external-browser): New variable.
8613 (eww-mode-map): New keystroke.
8614 (eww-browse-with-external-browser): New command.
8615
8616 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8617
8618 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8619
8620 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8621 Don't skip aligning the next header field when padding is 0;
8622 otherwise, field width is not respected unless the title is as
8623 wide as the field.
8624
8625 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * emacs-lisp/package.el (package-el-version): Remove.
8628 (package-process-define-package): Fix inf-loop.
8629 (package-install): Allow symbols as arguments again.
8630
8631 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8632
8633 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8634 add some more keyword-like methods.
8635 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8636
8637 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8638
8639 * bs.el (bs-buffer-show-mark): Make defvar-local.
8640 (bs-mode): Use setq-local.
8641
8642 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8643 (emacs-lock--try-unlocking): Make defvar-local.
8644
8645 2013-06-22 Glenn Morris <rgm@gnu.org>
8646
8647 * play/cookie1.el (cookie-apropos): Minor simplification.
8648
8649 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8650
8651 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8652
8653 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8654 `regexp-opt', it breaks the build during dumping.
8655
8656 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8657
8658 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8659 Highlight keyword-like methods on Kernel and Module with
8660 font-lock-builtin-face.
8661 (auto-mode-alist): Consolidate different entries into one regexp
8662 and add more *file-s.
8663
8664 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8665
8666 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8667
8668 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8669 (diary-entry): Use it in the action of this button type instead of
8670 diary-goto-entry.
8671
8672 * calendar/todo-mode.el: New version.
8673 (todo-add-category): Append new category to end of file and give
8674 it the highest number, instead of putting it at the beginning and
8675 giving it 0. Incorporate noninteractive functionality.
8676 (todo-forward-category): Adapt to 1-based category numbering.
8677 Allow skipping over archived categories.
8678 (todo-backward-category): Derive from todo-forward-category.
8679 (todo-backward-item, todo-forward-item): Make noninteractive and
8680 delegate interactive part to new commands. Make sensitive to done items.
8681 (todo-categories): Make value an alist of category names and
8682 vectors of item counts.
8683 (todo-category-beg): Make a defconst.
8684 (todo-category-number): Use 1 instead of 0 as initial value.
8685 (todo-category-select): Make sensitive to overlays, optional item
8686 highlighting and done items.
8687 (todo-delete-item): Make sensitive to overlays and marked and done items.
8688 (todo-edit-item): Make sensitive to overlays and editing of
8689 date/time header optional. Add format checks.
8690 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8691 no-op if point is not on an item. Advertise using todo-edit-quit.
8692 (todo-edit-mode): Make sensitive to new format, font-locking, and
8693 multiple todo files.
8694 (todo-insert-item, todo-insert-item-here): Derive from
8695 todo-basic-insert-item and extend functionality.
8696 (todo-item-end, todo-item-start): Make sensitive to done items.
8697 (todo-item-string): Don't return text properties. Restore point.
8698 (todo-jump-to-category): Make sensitive to multiple todo files and
8699 todo archives. Use extended category completion.
8700 (todo-lower-item, todo-raise-item): Rename to *-priority and
8701 derive from todo-set-item-priority.
8702 (todo-mode): Derive from special-mode. Make sensitive to new
8703 format, font-locking and multiple todo files. Make read-only.
8704 (todo-mode-map): Don't suppress digit keys, so they can supply
8705 prefix arguments. Add many new key bindings.
8706 (todo-prefix): Insert as an overlay instead of file text.
8707 Change semantics from diary date expression to purely visual mark.
8708 (todo-print): Rename to todo-print-buffer. Make buffer display
8709 features printable. Remove option to restrict number of items
8710 printed. Add option to print to file.
8711 (todo-print-function): Rename to todo-print-buffer-function.
8712 (todo-quit): Extend to handle exiting new todo modes.
8713 (todo-remove-item): Make sensitive to overlays.
8714 (todo-save): Extend to buffers of filtered items.
8715 (todo-show): Make sensitive to done items, multiple todo files and
8716 new todo modes. Offer to convert legacy todo file before creating
8717 first new todo file.
8718 (todo-show-priorities): Rename to todo-top-priorities.
8719 Change semantics of value 0.
8720 (todo-top-priorities): Rename to todo-filter-top-priorities,
8721 derive from todo-filter-items and extend functionality.
8722 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8723 and extend functionality to other types of filtered items.
8724 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8725 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8726 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8727 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8728 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8729 (todo-edit-mode-hook, todo-entry-prefix-function)
8730 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8731 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8732 (todo-initials, todo-insert-threshold, todo-item-string-start)
8733 (todo-line-string, todo-menu, todo-mode-hook)
8734 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8735 (todo-print-priorities, todo-remove-separator)
8736 (todo-save-top-priorities-too, todo-string-count-lines)
8737 (todo-string-multiline-p, todo-time-string-format)
8738 (todo-tmp-buffer-name): Remove.
8739 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8740 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8741 (todo-edit-category-diary-inclusion)
8742 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8743 (todo-edit-file, todo-edit-item-date-day)
8744 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8745 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8746 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8747 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8748 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8749 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8750 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8751 (todo-filter-top-priorities-multifile, todo-find-archive)
8752 (todo-find-filtered-items-file, todo-go-to-source-item)
8753 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8754 (todo-jump-to-archive-category, todo-lower-category)
8755 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8756 (todo-move-category, todo-move-item, todo-next-button)
8757 (todo-next-item, todo-padded-string, todo-powerset)
8758 (todo-previous-button, todo-previous-item)
8759 (todo-print-buffer-to-file, todo-raise-category)
8760 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8761 (todo-set-category-number, todo-set-item-priority)
8762 (todo-set-top-priorities-in-category)
8763 (todo-set-top-priorities-in-file, todo-show-categories-table)
8764 (todo-sort-categories-alphabetically-or-numerically)
8765 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8766 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8767 (todo-toggle-item-header, todo-toggle-item-highlighting)
8768 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8769 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8770 (todo-unarchive-items, todo-unmark-category): New commands.
8771 (todo-absolute-file-name, todo-add-to-buffer-list)
8772 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8773 (todo-basic-insert-item, todo-category-completions)
8774 (todo-category-number, todo-category-string-matcher-1)
8775 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8776 (todo-check-format, todo-clear-matches)
8777 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8778 (todo-current-category, todo-date-string-matcher)
8779 (todo-define-insertion-command, todo-diary-expired-matcher)
8780 (todo-diary-goto-entry, todo-diary-item-p)
8781 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8782 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8783 (todo-done-item-section-p, todo-done-separator)
8784 (todo-done-string-matcher, todo-files, todo-filter-items)
8785 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8786 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8787 (todo-insert-category-line, todo-insert-item-from-calendar)
8788 (todo-insert-sort-button, todo-insert-with-overlays)
8789 (todo-insertion-command-name, todo-insertion-key-bindings)
8790 (todo-label-to-key, todo-longest-category-name-length)
8791 (todo-make-categories-list, todo-mode-external-set)
8792 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8793 (todo-modes-set-3, todo-multiple-filter-files)
8794 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8795 (todo-read-category, todo-read-date, todo-read-dayname)
8796 (todo-read-file-name, todo-read-time)
8797 (todo-reevaluate-category-completions-files-defcustom)
8798 (todo-reevaluate-default-file-defcustom)
8799 (todo-reevaluate-filelist-defcustoms)
8800 (todo-reevaluate-filter-files-defcustom)
8801 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8802 (todo-reset-done-separator, todo-reset-done-separator-string)
8803 (todo-reset-done-string, todo-reset-global-current-todo-file)
8804 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8805 (todo-reset-prefix, todo-set-categories)
8806 (todo-set-date-from-calendar, todo-set-show-current-file)
8807 (todo-set-top-priorities, todo-short-file-name)
8808 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8809 (todo-total-item-counts, todo-update-buffer-list)
8810 (todo-update-categories-display, todo-update-categories-sexp)
8811 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8812 New functions.
8813 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8814 New major modes.
8815 (todo-categories, todo-display, todo-edit, todo-faces)
8816 (todo-filtered): New defgroups.
8817 (todo-archived-only, todo-button, todo-category-string, todo-date)
8818 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8819 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8820 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8821 (todo-add-item-if-new-category, todo-always-add-time-string)
8822 (todo-categories-align, todo-categories-archived-label)
8823 (todo-categories-category-label, todo-categories-diary-label)
8824 (todo-categories-done-label, todo-categories-number-separator)
8825 (todo-categories-todo-label, todo-categories-totals-label)
8826 (todo-category-completions-files, todo-completion-ignore-case)
8827 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8828 (todo-done-separator-string, todo-done-string)
8829 (todo-files-function, todo-filter-done-items, todo-filter-files)
8830 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8831 (todo-initial-category, todo-initial-file, todo-item-mark)
8832 (todo-legacy-date-time-regexp, todo-mode-line-function)
8833 (todo-nondiary-marker, todo-number-prefix)
8834 (todo-print-buffer-function, todo-show-current-file)
8835 (todo-show-done-only, todo-show-first, todo-show-with-done)
8836 (todo-skip-archived-categories, todo-top-priorities-overrides)
8837 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8838 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8839 New defcustoms.
8840 (todo-category-done, todo-date-pattern, todo-date-string-start)
8841 (todo-diary-items-buffer, todo-done-string-start)
8842 (todo-filtered-items-buffer, todo-item-start)
8843 (todo-month-abbrev-array, todo-month-name-array)
8844 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8845 (todo-top-priorities-buffer): New defconsts.
8846 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8847 (todo-categories-with-marks, todo-category-string-face)
8848 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8849 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8850 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8851 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8852 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8853 (todo-font-lock-keywords, todo-global-current-todo-file)
8854 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8855 (todo-insertion-commands-args)
8856 (todo-insertion-commands-args-genlist)
8857 (todo-insertion-commands-names, todo-insertion-map)
8858 (todo-key-bindings-t, todo-key-bindings-t+a)
8859 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8860 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8861 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8862 (todo-visited): New variables.
8863
8864 2013-06-21 Glenn Morris <rgm@gnu.org>
8865
8866 * play/cookie1.el (cookie-apropos): Add optional display argument.
8867 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8868 (psychoanalyze-pinhead): Use cookie-doctor.
8869
8870 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8871
8872 * emacs-lisp/package.el (tar-get-file-descriptor)
8873 (tar--extract): Declare.
8874
8875 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8876
8877 Extend flymake's warning predicate to be a function (bug#14217).
8878 * progmodes/flymake.el (flymake-warning-predicate): New.
8879 (flymake-parse-line): Use it.
8880 (flymake-warning-re): Make obsolete alias to
8881 `flymake-warning-predicate'.
8882
8883 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8886 (package-obsolete-list): Remove.
8887 (package-activate): Remove min-version argument. Add `force' argument.
8888 Adjust to new package-alist format.
8889 (package-mark-obsolete): Remove.
8890 (package-unpack): Force reload of the package's autoloads.
8891 (package-installed-p): Check builtins if the installed package is not
8892 recent enough.
8893 (package-initialize): Don't reset package-obsolete-list.
8894 Don't specify which package version to activate.
8895 (package-process-define-package, describe-package-1)
8896 (package-menu--generate): Adjust to new package-alist format.
8897
8898 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8899
8900 * allout-widgets.el (allout-widgets-mode-off)
8901 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8902 (allout-widgets-post-command-business)
8903 (allout-widgets-after-copy-or-kill-function)
8904 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8905 (allout-decorate-item-and-context)
8906 (allout-graphics-modification-handler): Fix typos in docstrings.
8907 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8908
8909 * cmuscheme.el (scheme-start-file): Doc fix.
8910 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8911 (scheme-input-filter): Use `string-match-p'.
8912
8913 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8914
8915 * dired-x.el: Use Dired consistently in docstrings.
8916
8917 * dired.el: Use Dired consistently in docstrings.
8918 (dired-readin, dired-mode): Use `setq-local'.
8919 (dired-switches-alist): Make defvar-local.
8920 (dired-buffers-for-dir): Use `zerop'.
8921 (dired-safe-switches-p, dired-switches-escape-p)
8922 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8923 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8924 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8925 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8926 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8927 (dired-toggle-marks, dired-mark-files-containing-regexp)
8928 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8929 (dired-flag-auto-save-files, dired-flag-backup-files):
8930 Use `looking-at-p'.
8931 (dired-mark-files-regexp, dired-build-subdir-alist):
8932 Use `string-match-p', `looking-at-p'.
8933
8934 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8935 (direct-print-region-helper): Use `string-match-p'.
8936
8937 2013-06-21 Leo Liu <sdl.web@gmail.com>
8938
8939 * comint.el (comint-redirect-results-list-from-process):
8940 Fix infinite loop.
8941
8942 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8943
8944 * net/eww.el (eww-update-header-line-format): Quote % characters.
8945
8946 2013-06-21 Glenn Morris <rgm@gnu.org>
8947
8948 * play/cookie1.el (cookie): New custom group.
8949 (cookie-file): New option.
8950 (cookie-check-file): New function.
8951 (cookie): Make it interactive. Make start and end messages optional.
8952 Interactively, display the result. Default to cookie-file.
8953 (cookie-insert): Default to cookie-file.
8954 (cookie-snarf): Make start and end messages optional.
8955 Default to cookie-file. Use with-temp-buffer.
8956 (cookie-read): Rename from read-cookie.
8957 Make start and end messages optional. Default to cookie-file.
8958 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8959 Do not autoload it.
8960 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8961 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8962
8963 2013-06-21 Leo Liu <sdl.web@gmail.com>
8964
8965 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8966
8967 2013-06-21 Glenn Morris <rgm@gnu.org>
8968
8969 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8970
8971 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8972 Daniel Hackney <dan@haxney.org>
8973
8974 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8975 Consolidate the single-file vs tarball code.
8976 (package-desc-suffix): New function.
8977 (package-desc-full-name): Don't bother inlining it.
8978 (package-load-descriptor): Return the new package-desc.
8979 (package-mark-obsolete): Remove unused arg `package'.
8980 (package-unpack): Make it work for single files as well.
8981 Make it update package-alist.
8982 (package--make-autoloads-and-stuff): Rename from
8983 package--make-autoloads-and-compile. Don't compile any more.
8984 (package--compile): New function.
8985 (package-generate-description-file): New function, extracted from
8986 package-unpack-single.
8987 (package-unpack-single): Remove.
8988 (package--with-work-buffer): Add indentation and debugging info.
8989 (package-download-single): Remove.
8990 (package-install-from-archive): Rename from package-download-tar, make
8991 it take a pkg-desc, and make it work for single files as well.
8992 (package-download-transaction): Simplify.
8993 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8994 external tar program.
8995 (package-install-from-buffer): Remove `pkg-desc' argument.
8996 Use package-tar-file-info for tar-mode buffers.
8997 (package-install-file): Simplify accordingly.
8998 (package-archive-base): Change to take a pkg-desc.
8999 * tar-mode.el (tar--check-descriptor): New function, extracted from
9000 tar-get-descriptor.
9001 (tar-get-descriptor): Use it.
9002 (tar-get-file-descriptor): New function.
9003 (tar--extract): New function, extracted from tar-extract.
9004 (tar--extract): Use it.
9005 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9006 case the summary uses non-ascii. Adjust to new calling convention of
9007 package-tar-file-info.
9008
9009 2013-06-21 Leo Liu <sdl.web@gmail.com>
9010
9011 * comint.el (comint-redirect-results-list-from-process):
9012 Fix random delay. (Bug#14681)
9013
9014 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9015
9016 * profiler.el (profiler-format-number): Use log, not log10.
9017
9018 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9019
9020 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9021
9022 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9025 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9026 yet available.
9027 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9028 (AUTOGENEL): ... here.
9029 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9030 (cl--defsubst-expand): Use it.
9031
9032 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9033
9034 * subr.el (log10): Move here from C code, and declare as obsolete.
9035 All uses of (log10 X) replaced with (log X 10).
9036
9037 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9038
9039 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9040 Declare with `defvar-local'.
9041 (tabulated-list-use-header-line, tabulated-list-entries)
9042 (tabulated-list-padding, tabulated-list-printer)
9043 (tabulated-list-sort-key): Declare with `defvar-local'.
9044 (tabulated-list-init-header, tabulated-list-print-fake-header):
9045 Use `setq-local'.
9046
9047 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * arc-mode.el (archive-mode): Add `archive-write-file' to
9050 `write-contents-functions' also for remote files. (Bug#14652)
9051
9052 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * cus-edit.el (custom-commands): Fix typos.
9055 (custom-display): Fix tooltip text.
9056 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9057 Fix typos in docstrings.
9058 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9059 (custom-unlispify-menu-entry, custom-magic-value-create)
9060 (custom-add-see-also, custom-group-value-create): Use ?\s.
9061 (custom-guess-type, customize-apropos, editable-field)
9062 (custom-face-value-create): Use `string-match-p'.
9063 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9064
9065 * custom.el (custom-load-symbol): Use `string-match-p'.
9066
9067 * ansi-color.el: Convert to lexical binding.
9068 (ansi-colors): Fix URL.
9069 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9070 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9071 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9072
9073 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
9075 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9076
9077 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9078
9079 2013-06-19 Tom Tromey <tromey@redhat.com>
9080
9081 * net/eww.el (eww-top-url): Remove.
9082 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9083 (eww-render): Set new variables. Don't set eww-top-url.
9084 (eww-handle-link): Handle "prev", "home", and "contents".
9085 Downcase the rel text.
9086 (eww-top-url): Choose best top URL.
9087
9088 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9089
9090 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9091 relying in widget.el. Using widget.el leads to too many
9092 user interface inconsistencies.
9093 (eww-self-insert): Implement entering commands in text fields.
9094 (eww-process-text-input): New function to make text input field editing
9095 work.
9096 (eww-submit): Rewrite to use the new-style form methods.
9097 (eww-select-display): Display the correct selected item.
9098 (eww-change-select): Implement changing the select value.
9099 (eww-toggle-checkbox): Implement radio/checkboxes.
9100 (eww-update-field): Fix compilation error.
9101 (eww-tag-textarea): Implement <textarea>.
9102
9103 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9104 we don't shadow mode-specific bindings.
9105
9106 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9107 nothing to push.
9108
9109 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9110
9111 2013-06-19 Glenn Morris <rgm@gnu.org>
9112
9113 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9114
9115 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9116
9117 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9118 not needed.
9119
9120 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9121
9122 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9123
9124 * net/browse-url.el (browse-url-browser-function):
9125 `eww-browse-url' has the right calling signature, `eww' does not.
9126
9127 2013-06-19 Glenn Morris <rgm@gnu.org>
9128
9129 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9130 Only eval autoloaded macros.
9131 (byte-compile-autoload): Only give the macro warning for macros.
9132
9133 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9134 (ps-underlined-faces): Declare.
9135
9136 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9137 (speedbar-add-supported-extension): Declare.
9138
9139 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9140 Don't include a date stamp in the header of the generated file;
9141 it leads to needless differences between output files.
9142
9143 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9144
9145 * net/secrets.el (secrets-struct-secret-content-type):
9146 Replace check of introspection data by a test call of "CreateItem".
9147 Some servers do not offer introspection.
9148
9149 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * electric.el (electric-pair-mode): Improve interaction with
9152 electric-layout-mode.
9153 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9154 (electric-pair-syntax): Use text-mode-syntax-table in comments
9155 and strings.
9156 (electric-pair--insert): New function.
9157 (electric-pair-post-self-insert-function): Use it and
9158 electric--after-char-pos.
9159
9160 2013-06-19 Leo Liu <sdl.web@gmail.com>
9161
9162 * progmodes/octave.el (octave-help): Fix regexp.
9163
9164 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9165
9166 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9167 (shr-table-horizontal-line): Allow nil as a value, and change the
9168 default.
9169 (shr-insert-table-ruler): Respect the nil value.
9170
9171 2013-06-18 Tom Tromey <tromey@barimba>
9172
9173 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9174 New defvars.
9175 (eww-open-file): New defun.
9176 (eww-render): Initialize new variables.
9177 (eww-display-html): Handle "link" and "a".
9178 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9179 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9180 (eww-back-url): Rename from eww-previous-url.
9181 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9182 New defuns.
9183
9184 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9185
9186 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9187 Distinguish ternary operator tokens from slash symbol and slash
9188 char literal.
9189
9190 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9191
9192 Convert symbol prettification into minor mode and global minor mode.
9193
9194 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9195 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9196 (prettify-symbols--keywords): Rename from
9197 `prog-prettify-symbols-alist' and make a local defvar.
9198 (prettify-symbols--compose-symbol): Rename from
9199 `prog--prettify-font-lock-compose-symbol'.
9200 (prettify-symbols--make-keywords): Rename from
9201 `prog-prettify-font-lock-symbols-keywords' and simplify.
9202 (prog-prettify-install): Remove.
9203 (prettify-symbols-mode): New minor mode, based on
9204 `prog-prettify-install'.
9205 (turn-on-prettify-symbols-mode): New function.
9206 (global-prettify-symbols-mode): New globalized minor mode.
9207
9208 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9209 * progmodes/cfengine.el (cfengine3-mode):
9210 * progmodes/perl-mode.el (perl-mode): Don't call
9211 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9212
9213 2013-06-18 Juri Linkov <juri@jurta.org>
9214
9215 * files-x.el (modify-file-local-variable-message): New function.
9216 (modify-file-local-variable)
9217 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9218 and call `modify-file-local-variable-message' when it's non-nil.
9219 (add-file-local-variable, delete-file-local-variable)
9220 (add-file-local-variable-prop-line)
9221 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9222 and use it. (Bug#9820)
9223
9224 2013-06-18 Juri Linkov <juri@jurta.org>
9225
9226 * emulation/vi.el (vi-shell-op):
9227 * emulation/vip.el (vip-execute-com, ex-command):
9228 * emulation/viper-cmd.el (viper-exec-bang):
9229 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9230 the call of `shell-command-on-region'. (Bug#14637)
9231
9232 * simple.el (shell-command-on-region): Doc fix.
9233
9234 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9237 (bug#14633).
9238
9239 2013-06-18 Glenn Morris <rgm@gnu.org>
9240
9241 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9242
9243 * newcomment.el (comment-search-forward, comment-search-backward):
9244 Doc fix. (Bug#14376)
9245
9246 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9247
9248 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9249 (buffer-face-mode-invoke): Doc fix.
9250
9251 2013-06-18 Matthias Meulien <orontee@gmail.com>
9252
9253 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9254 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9255
9256 2013-06-18 Glenn Morris <rgm@gnu.org>
9257
9258 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9259 Replace obsolete function generic-make-keywords with its expansion.
9260
9261 * progmodes/python.el (ffap-alist): Declare.
9262
9263 * textmodes/reftex.el (bibtex-mode-map): Declare.
9264
9265 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9268 (package-unpack, package-unpack-single): Return the pkg-dir.
9269 (package-download-transaction): Use it to update package-alist.
9270
9271 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9272
9273 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9274 possible choice.
9275
9276 2013-06-17 Juri Linkov <juri@jurta.org>
9277
9278 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9279
9280 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9281
9282 * emacs-lisp/package.el (package-load-descriptor):
9283 Remove `with-syntax-table' call, `read' doesn't need it.
9284 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9285
9286 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9287
9288 * startup.el (command-line): Expand package name returned by
9289 `package--description-file' (bug#14639).
9290
9291 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9292
9293 * emacs-lisp/package.el (package-load-descriptor): Do not call
9294 `emacs-lisp-mode', just use its syntax table.
9295
9296 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9299 `font-lock-extra-managed-props' if any prettifying keyword is added.
9300 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9301 (prog-mode): Use `setq-local'.
9302
9303 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * international/characters.el (standard-case-table): Set syntax of ?»
9306 and ?« to punctuation.
9307
9308 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9309
9310 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9311 Save relevant match data before calling `syntax-ppss' (bug#14595).
9312
9313 2013-06-15 Juri Linkov <juri@jurta.org>
9314
9315 * files-x.el (modify-file-local-variable-prop-line): Add local
9316 variables to the end of the existing comment on the first line.
9317 Use `file-auto-mode-skip' to skip interpreter magic line,
9318 and also skip XML declaration.
9319
9320 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * startup.el (package--builtin-versions): New var.
9323 (package-subdirectory-regexp): Remove.
9324 (package--description-file): Hard code its value instead.
9325
9326 * emacs-lisp/package.el: Don't activate packages older than builtin.
9327 (package-obsolete-list): Rename from package-obsolete-alist, and make
9328 it into a simple list of package-desc.
9329 (package-strip-version): Remove.
9330 (package-built-in-p): Use package--builtin-versions.
9331 (package-mark-obsolete): Simplify.
9332 (package-process-define-package): Mark it obsolete if older than the
9333 builtin version.
9334 (package-handle-response): Use line-end-position.
9335 (package-read-archive-contents, package--download-one-archive):
9336 Simplify.
9337 (package--add-to-archive-contents): Skip if older than the builtin or
9338 installed version.
9339 (package-menu-describe-package): Fix last change.
9340 (package-list-unversioned): New var.
9341 (package-menu--generate): Use it.
9342
9343 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9344 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9345 (autoload-builtin-package-versions): New variable.
9346 (autoload-generate-file-autoloads): Use them.
9347 Remove the list of autoloaded functions/macros from the
9348 (autoload...) comments.
9349
9350 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9351
9352 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9353
9354 * simple.el (line-move-partial): Don't jump to the next screen
9355 line as soon as it becomes visible. Instead, continue enlarging
9356 the vscroll until the portion of a tall screen line that's left on
9357 display is about the height of the frame's default font.
9358 (Bug#14567)
9359
9360 2013-06-15 Glenn Morris <rgm@gnu.org>
9361
9362 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9363 compilation-error-regexp-alist void, or local while let-bound.
9364
9365 * progmodes/make-mode.el (makefile-mode-syntax-table):
9366 Treat "=" as punctuation. (Bug#14614)
9367
9368 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9369
9370 * help-fns.el (describe-variable):
9371 Add extra line for permanent-local variables.
9372
9373 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9374
9375 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9376 Add export, import, library. (Bug#9164)
9377 (library): Set indent function.
9378
9379 2013-06-14 Glenn Morris <rgm@gnu.org>
9380
9381 * term/xterm.el (xterm--query):
9382 Stop after first matching handler. (Bug#14615)
9383
9384 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9385
9386 Add support for dired in saveplace.
9387 * dired.el (dired-initial-position-hook): New variable.
9388 (dired-initial-position): Call hook to place cursor position.
9389 * saveplace.el (save-place-to-alist): Add dired position.
9390 (save-place-dired-hook): New function.
9391
9392 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9395 through a symbol rather than letrec.
9396
9397 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9398 (package-desc): Add `dir' field.
9399 (package-desc-full-name): New function.
9400 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9401 (package-maybe-load-descriptor): Remove.
9402 (package-load-all-descriptors): Just call package-load-descriptor.
9403 (package--disabled-p): New function.
9404 (package-desc-vers, package-desc-doc): Remove aliases.
9405 (package--dir): Remove function.
9406 (package-activate): Check if a package is disabled.
9407 (package-process-define-package): New function, extracted from
9408 define-package.
9409 (define-package): Turn into a place holder.
9410 (package-unpack-single, package-tar-file-info):
9411 Use package--description-file.
9412 (package-compute-transaction): Use package--disabled-p.
9413 (package-download-transaction): Don't call
9414 package-maybe-load-descriptor since they're all loaded anyway.
9415 (package-install): Change argument to be a pkg-desc.
9416 (package-delete): Use a single pkg-desc argument.
9417 (describe-package-1): Use package-desc-dir instead of package--dir.
9418 Use package-desc property instead of package-symbol.
9419 (package-install-button-action): Adjust accordingly.
9420 (package--push): Rewrite.
9421 (package-menu--print-info): Adjust accordingly. Change the ID format
9422 to be a pkg-desc.
9423 (package-menu-describe-package, package-menu-get-status)
9424 (package-menu--find-upgrades, package-menu-mark-upgrades)
9425 (package-menu-execute, package-menu--name-predicate):
9426 Adjust accordingly.
9427 * startup.el (package--description-file): New function.
9428 (command-line): Use it.
9429 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9430 Use package-desc-version.
9431
9432 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9433 (byte-compile-preprocess): Use it.
9434 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9435 can't quite recognize.
9436 (byte-compile-add-to-list): Remove.
9437 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9438 (cconv-closure-convert): Add assertion.
9439
9440 * emacs-lisp/map-ynp.el: Use lexical-binding.
9441 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9442 Factor out some repeated code.
9443
9444 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * subr.el (with-eval-after-load): New macro.
9447 (eval-after-load): Allow form to be a function.
9448 take advantage of lexical-binding.
9449 (do-after-load-evaluation): Use dolist and adjust to new format.
9450 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9451
9452 2013-06-13 Juri Linkov <juri@jurta.org>
9453
9454 * replace.el (perform-replace): Display "symbol " and other search
9455 modes from `isearch-message-prefix' in the *Help* buffer.
9456
9457 * isearch.el (isearch-query-replace): Add " symbol" and other
9458 possible search modes from `isearch-message-prefix' to the prompt.
9459 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9460 when reading a regexp to collect.
9461
9462 2013-06-13 Juri Linkov <juri@jurta.org>
9463
9464 * isearch.el (word-search-regexp): Match whitespace if the search
9465 string begins or ends in whitespace. The LAX arg is applied to
9466 both ends of the search string. Use `regexp-quote' and explicit
9467 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9468 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9469 boundaries are replaced with symbol boundaries, and characters
9470 between symbols match non-word non-symbol syntax. (Bug#14602)
9471
9472 2013-06-13 Juri Linkov <juri@jurta.org>
9473
9474 * isearch.el (isearch-del-char): Don't exceed the length of
9475 `isearch-string' by the prefix arg. (Bug#14563)
9476
9477 2013-06-13 Juri Linkov <juri@jurta.org>
9478
9479 * isearch.el (isearch-yank-word, isearch-yank-line)
9480 (isearch-char-by-name, isearch-quote-char)
9481 (isearch-printing-char, isearch-process-search-char):
9482 Add optional count prefix arg. (Bug#14563)
9483
9484 * international/isearch-x.el
9485 (isearch-process-search-multibyte-characters):
9486 Add optional count prefix arg.
9487
9488 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9491 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9492 lexical-binding.
9493
9494 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9495
9496 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9497
9498 2013-06-13 Glenn Morris <rgm@gnu.org>
9499
9500 * startup.el (tty-handle-args):
9501 Don't just discard "--" and anything after. (Bug#14608)
9502
9503 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9504
9505 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9506
9507 Implement changes in Secret Service API. Make it backward compatible.
9508 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9509 (secrets-create-item): Use it. Prefix properties with interface.
9510
9511 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9512
9513 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9514 (term-emulate-terminal): Respect term-suppress-hard-newline.
9515
9516 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9517
9518 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9519 Only remove a `thumb-file' overlay. (Bug#14548)
9520
9521 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9522
9523 * mail/reporter.el (reporter-submit-bug-report):
9524 Handle missing package-name. (Bug#14600)
9525
9526 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9527
9528 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9529 (reftex-citation-prompt, reftex-default-bibliography)
9530 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9531 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9532 (reftex-bib-sort-author, reftex-bib-sort-year)
9533 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9534 (reftex-extract-bib-entries-from-thebibliography)
9535 (reftex-get-bibkey-default, reftex-get-bib-names)
9536 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9537 (reftex-format-bib-entry, reftex-parse-bibitem)
9538 (reftex-format-bibitem, reftex-do-citation)
9539 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9540 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9541 (reftex-insert-bib-matches, reftex-format-citation)
9542 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9543 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9544 existing comments into docstrings.
9545
9546 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9547
9548 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9549
9550 2013-06-12 Andreas Schwab <schwab@suse.de>
9551
9552 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9553 for auto-save files.
9554
9555 2013-06-12 Glenn Morris <rgm@gnu.org>
9556
9557 * ido.el (ido-delete-ignored-files): Remove.
9558 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9559 Go back to calling ido-ignore-item-p directly.
9560
9561 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9562
9563 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9564
9565 * ido.el (ido-delete-ignored-files): New function,
9566 split from ido-make-file-list-1.
9567 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9568 (ido-make-file-list-1): Use ido-delete-ignored-files.
9569
9570 2013-06-12 Leo Liu <sdl.web@gmail.com>
9571
9572 * progmodes/octave.el (inferior-octave-startup)
9573 (inferior-octave-completion-table)
9574 (inferior-octave-track-window-width-change)
9575 (octave-eldoc-function-signatures, octave-help)
9576 (octave-find-definition): Use single quoted strings.
9577 (inferior-octave-startup-args): Change default value.
9578 (inferior-octave-startup): Do not hard code "-i" and
9579 "--no-line-editing".
9580 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9581 (inferior-octave-directory-tracker): Use it.
9582 (octave-goto-function-definition): Robustify.
9583 (octave-help): Support highlighting operators in 'See also'.
9584 (octave-find-definition): Find subfunctions only in Octave mode.
9585
9586 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * help-fns.el (help-fns--compiler-macro): If the handler function is
9589 named, then put a link to it.
9590 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9591 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9592 (cl-typep): Use it.
9593 (cl-eval-when): Simplify debug spec.
9594 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9595 compiler-macro function instead of setting `compiler-macro-file'.
9596
9597 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9598
9599 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9600 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9601
9602 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9603 Daniel Hackney <dan@haxney.org>
9604
9605 First part of Daniel Hackney's patch to package.el.
9606 * emacs-lisp/package.el: Use defstruct.
9607 (package-desc): New, main struct.
9608 (package--bi-desc, package--ac-desc): New structs, used to describe the
9609 format in external files.
9610 (package-desc-vers): Replace with package-desc-version accessor.
9611 (package-desc-doc): Replace with package-desc-summary accessor.
9612 (package-activate-1): Remove `package' arg since the pkg-vec now
9613 includes the name.
9614 (define-package): Use package-desc-from-define.
9615 (package-unpack-single): Change file-name arg to be a symbol.
9616 (package--add-to-archive-contents): Use package-desc-create and new
9617 accessor functions to package--ac-desc.
9618 (package-buffer-info, package-tar-file-info): Return a package-desc.
9619 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9620 arg to be a package-desc.
9621 (package-install-file): Adjust accordingly. Use \' to match EOS.
9622 (package--from-builtin): New function.
9623 (describe-package-1, package-menu--generate): Use it.
9624 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9625 (package-generate-autoloads): Idem and return the name of the file.
9626 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9627 Change pkg-info arg to be a package-desc.
9628 Use package-make-ac-desc.
9629 (package-upload-file): Use \' to match EOS.
9630 * finder.el (finder-compile-keywords): Use package-make-builtin.
9631
9632 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9633
9634 * vc/vc.el (vc-deduce-fileset): Change error message.
9635 (vc-read-backend): New function.
9636 (vc-next-action): Use it.
9637
9638 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9639
9640 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9641 (prolog-font-lock-keywords): Use regexp-opt instead.
9642 Don't manually highlight strings.
9643 (prolog-mode-variables): Simplify comment-start-skip.
9644 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9645
9646 * emacs-lisp/generic.el (generic--normalise-comments)
9647 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9648 (generic-mode-set-comments): Use them.
9649 (generic-bracket-support): Use setq-local.
9650 (generic-make-keywords-list): Declare obsolete.
9651
9652 2013-06-11 Glenn Morris <rgm@gnu.org>
9653
9654 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9655 Prettify after setting font-lock-defaults. (Bug#14574)
9656
9657 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * replace.el (query-replace, occur-read-regexp-defaults-function)
9660 (replace-search):
9661 * subr.el (declare-function, number-sequence, local-set-key)
9662 (substitute-key-definition, locate-user-emacs-file)
9663 (with-silent-modifications, split-string, eval-after-load):
9664 Fix typos, remove unneeded backslashes and reflow some docstrings.
9665
9666 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9669 default for Elisp files.
9670
9671 2013-06-11 Glenn Morris <rgm@gnu.org>
9672
9673 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9674 although define-derived-mode was doing this anyway. (Bug#14583)
9675
9676 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9677
9678 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9679 Fix make-variable-buffer-local call to refer to the correct variable.
9680
9681 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9682
9683 * eshell/em-term.el (eshell-visual-commands)
9684 (eshell-visual-subcommands, eshell-visual-options):
9685 Add summary line to docstrings. Add cross-references.
9686
9687 2013-06-10 Glenn Morris <rgm@gnu.org>
9688
9689 * epa.el (epa-read-file-name): New function. (Bug#14510)
9690 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9691
9692 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9693
9694 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9695 output redirection to be ignored with visual commands.
9696
9697 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9698
9699 * eshell/em-term.el (eshell-visual-command-p): New function.
9700 (eshell-term-initialize): Move long lambda to separate function
9701 eshell-visual-command-p.
9702 * eshell/em-dirs.el (eshell-dirs-initialise):
9703 * eshell/em-script.el (eshell-script-initialize):
9704 Add missing #' to lambda.
9705
9706 2013-06-08 Leo Liu <sdl.web@gmail.com>
9707
9708 * progmodes/octave.el (octave-add-log-current-defun): New function.
9709 (octave-mode): Set add-log-current-defun-function.
9710 (octave-goto-function-definition): Do not move point if not found.
9711 (octave-find-definition): Enhance to try subfunctions first.
9712
9713 2013-06-08 Glenn Morris <rgm@gnu.org>
9714
9715 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9716 (byte-compile-backward-char, byte-compile-backward-word):
9717 Improve previous change, to handle non-explicit nil.
9718
9719 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9722 (smie--opener/closer-at-point): New function.
9723 (smie--matching-block-data): Use it. Don't match from right after an
9724 opener or right before a closer. Obey smie-blink-matching-inners.
9725 Don't signal a mismatch for repeated inners like "switch..case..case".
9726
9727 2013-06-07 Leo Liu <sdl.web@gmail.com>
9728
9729 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9730 to t. (Bug#14303)
9731 (octave-function-header-regexp): Fix. (Bug#14570)
9732 (octave-help-mode-finish-hook, octave-help-mode-finish):
9733 Remove. Just use temp-buffer-show-hook.
9734
9735 * newcomment.el (comment-search-backward): Revert last change.
9736 (Bug#14434)
9737
9738 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9739
9740 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9741
9742 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9743 through xargs, to avoid failure due to MS-Windows limitations on
9744 command-line length.
9745
9746 2013-06-06 Glenn Morris <rgm@gnu.org>
9747
9748 * font-lock.el (lisp-font-lock-keywords-2):
9749 Treat user-error like error.
9750
9751 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9752 (byte-compile-backward-char, byte-compile-backward-word):
9753 Handle explicit nil arguments. (Bug#14565)
9754
9755 2013-06-05 Alan Mackenzie <acm@muc.de>
9756
9757 * isearch.el (isearch-allow-prefix): New user option.
9758 (isearch-other-meta-char): Don't exit isearch when a prefix
9759 argument is typed whilst `isearch-allow-prefix' is non-nil.
9760 (Bug#9706)
9761
9762 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * autorevert.el (auto-revert-notify-handler): Use memq.
9765 Hide assertion failure.
9766
9767 * skeleton.el: Use cl-lib.
9768 (skeleton-further-elements): Use defvar-local.
9769 (skeleton-insert): Use cl-progv.
9770
9771 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9772
9773 * progmodes/prog-mode.el (prog-prettify-symbols)
9774 (prog-prettify-install): Update docstrings.
9775
9776 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * simple.el: Move all the prog-mode code to prog-mode.el.
9779 * progmodes/prog-mode.el: New file.
9780 * loadup.el: Add prog-mode.el.
9781
9782 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9783
9784 * simple.el (prog-prettify-symbols): Add version.
9785 (prog-prettify-install): Add convenience function to prettify symbols.
9786
9787 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9788 (perl--augmented-font-lock-keywords-1)
9789 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9790 variables and use it.
9791
9792 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9793 (cfengine3-mode): Remove unneeded variable and use it.
9794
9795 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9796 (lisp--augmented-font-lock-keywords-1)
9797 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9798 Remove unneeded variables and use it.
9799
9800 2013-06-05 João Távora <joaotavora@gmail.com>
9801
9802 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9803 to point when opening the connection. (Bug#14380)
9804
9805 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * subr.el (load-history-regexp, load-history-filename-element)
9808 (eval-after-load, after-load-functions, do-after-load-evaluation)
9809 (eval-next-after-load, display-delayed-warnings)
9810 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9811 definition of save-match-data.
9812 (overriding-local-map): Remove accidental obsolescence declaration.
9813
9814 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9815
9816 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9817
9818 Generalize symbol prettify support to prog-mode and implement it
9819 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9820 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9821 (prog--prettify-font-lock-compose-symbol)
9822 (prog-prettify-font-lock-symbols-keywords): New variables and
9823 functions to support symbol prettification.
9824 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9825 (lisp--augmented-font-lock-keywords-1)
9826 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9827 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9828 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9829 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9830 Implement prettify of -> => :: strings.
9831 * progmodes/perl-mode.el (perl-prettify-symbols)
9832 (perl--font-lock-compose-symbol)
9833 (perl--font-lock-symbols-keywords): Move to prog-mode.
9834 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9835 (perl-font-lock-keywords-1)
9836 (perl-font-lock-keywords-2): Remove explicit prettify support.
9837 (perl--augmented-font-lock-keywords)
9838 (perl--augmented-font-lock-keywords-1)
9839 (perl--augmented-font-lock-keywords-2, perl-mode):
9840 Implement prettify support.
9841
9842 2013-06-05 Leo Liu <sdl.web@gmail.com>
9843
9844 Re-implement smie matching block highlight using
9845 show-paren-data-function. (Bug#14395)
9846 * emacs-lisp/smie.el (smie-matching-block-highlight)
9847 (smie--highlight-matching-block-overlay)
9848 (smie--highlight-matching-block-lastpos)
9849 (smie-highlight-matching-block)
9850 (smie-highlight-matching-block-mode): Remove.
9851 (smie--matching-block-data-cache): New variable.
9852 (smie--matching-block-data): New function.
9853 (smie-setup): Use smie--matching-block-data for
9854 show-paren-data-function.
9855
9856 * progmodes/octave.el (octave-mode-menu): Fix.
9857 (octave-find-definition): Skip garbage lines.
9858
9859 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 Fix compilation error with simultaneous dynamic+lexical scoping.
9862 Add warning when a defvar appears after the first let-binding.
9863 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9864 (byte-compile-close-variables): Initialize it.
9865 (byte-compile--declare-var): New function.
9866 (byte-compile-file-form-defvar)
9867 (byte-compile-file-form-define-abbrev-table)
9868 (byte-compile-file-form-custom-declare-variable): Use it.
9869 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9870 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9871 (byte-compile-bind): Handle dynamic bindings that shadow
9872 lexical bindings.
9873 (byte-compile-unbind): Make arg non-optional.
9874 (byte-compile-let): Simplify.
9875 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9876 (cconv--analyse-function, cconv-analyse-form): Populate it.
9877 Protect byte-compile-bound-variables to limit the scope of defvars.
9878 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9879 Remove unneeded rule for `declare'.
9880
9881 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9882 so as to avoid depending on cl-adjoin at run-time.
9883 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9884
9885 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9886 (macroexp--warn-and-return): Use it.
9887
9888 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9889
9890 * subr.el: Convert to lexical binding.
9891 (overriding-local-map): Make obsolete.
9892 (add-to-list): Doc fix. Add compiler macro.
9893 (read-key): Swap values of local maps.
9894
9895 2013-06-05 Leo Liu <sdl.web@gmail.com>
9896
9897 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9898
9899 2013-06-04 Leo Liu <sdl.web@gmail.com>
9900
9901 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9902 (compilation-auto-jump): Suppress the "Mark set" message to give
9903 way to exit message.
9904
9905 2013-06-04 Alan Mackenzie <acm@muc.de>
9906
9907 Remove faulty optimisation from indentation calculation.
9908 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9909 search limit based on 2000 characters back from indent-point.
9910
9911 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9912
9913 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9914
9915 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9916
9917 * emacs-lisp/lisp.el: Use lexical-binding.
9918 (lisp--local-variables-1, lisp--local-variables): New functions.
9919 (lisp--local-variables-completion-table): New var.
9920 (lisp-completion-at-point): Use it complete let-bound vars.
9921
9922 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9923 eagerly (bug#14422).
9924
9925 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9926
9927 * autorevert.el (auto-revert-notify-enabled)
9928 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9929 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9930 (auto-revert-notify-handler): Handle also gfilenotify.
9931
9932 * subr.el (file-notify-handle-event): New defun. Replacing ...
9933 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9934 Remove.
9935
9936 2013-06-03 Juri Linkov <juri@jurta.org>
9937
9938 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9939 `M-s h .'. (Bug#14427)
9940
9941 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9942 command `hi-lock-face-symbol-at-point'.
9943 (hi-lock-face-symbol-at-point): New command.
9944 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9945 (hi-lock-menu): Add `highlight-symbol-at-point'.
9946 (hi-lock-mode): Doc fix.
9947
9948 * isearch.el (isearch-forward-symbol-at-point): New command.
9949 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9950 (isearch-highlight-regexp): Add a regexp which matches
9951 words/symbols for word/symbol mode.
9952
9953 * subr.el (find-tag-default-bounds): New function with the body
9954 mostly moved from `find-tag-default'.
9955 (find-tag-default): Move most code to `find-tag-default-bounds',
9956 call it and apply `buffer-substring-no-properties' afterwards.
9957
9958 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9959
9960 * eshell/em-term.el (eshell-term-initialize):
9961 Use `cl-intersection' rather than `intersection'.
9962
9963 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9964
9965 * vc/log-view.el: Doc fix.
9966 (log-view-mode-map): Copy keymap from `special-mode-map'.
9967
9968 2013-06-02 Eric Ludlam <zappo@gnu.org>
9969
9970 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9971 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9972 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9973 (eieio-unbound, eieio-default-superclass)
9974 (eieio--define-field-accessors, method-static, method-before)
9975 (method-primary, method-after, method-num-lists)
9976 (method-generic-before, method-generic-primary)
9977 (method-generic-after, method-num-slots)
9978 (eieio-specialized-key-to-generic-key)
9979 (eieio--check-type, class-v, class-p)
9980 (eieio-class-name, define-obsolete-function-alias)
9981 (eieio-class-parents-fast, eieio-class-children-fast)
9982 (same-class-fast-p, class-constructor, generic-p)
9983 (generic-primary-only-p, generic-primary-only-one-p)
9984 (class-option-assoc, class-option, eieio-object-p)
9985 (class-abstract-p, class-method-invocation-order)
9986 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9987 (eieio-class-un-autoload, eieio-defclass)
9988 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9989 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9990 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9991 (eieio-defgeneric-reset-generic-form)
9992 (eieio-defgeneric-form-primary-only)
9993 (eieio-defgeneric-reset-generic-form-primary-only)
9994 (eieio-defgeneric-form-primary-only-one)
9995 (eieio-defgeneric-reset-generic-form-primary-only-one)
9996 (eieio-unbind-method-implementations)
9997 (eieio--defmethod, eieio--typep)
9998 (eieio-perform-slot-validation, eieio-validate-slot-value)
9999 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10000 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10001 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10002 (eieio-slot-name-index, eieio-class-slot-name-index)
10003 (eieio-set-defaults, eieio-initarg-to-attribute)
10004 (eieio-attribute-to-initarg, eieio-c3-candidate)
10005 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10006 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10007 (eieio-class-precedence-list, eieio-generic-call-methodname)
10008 (eieio-generic-call-arglst, eieio-generic-call-key)
10009 (eieio-generic-call-next-method-list)
10010 (eieio-pre-method-execution-functions, eieio-generic-call)
10011 (eieio-generic-call-primary-only, eieiomt-method-list)
10012 (eieiomt-optimizing-obarray, eieiomt-install)
10013 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10014 (eieio-generic-form, eieio-defmethod, make-obsolete)
10015 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10016 (defclass): Remove `eval-and-compile' from macro.
10017 (call-next-method, shared-initialize): Instead of using
10018 `scoped-class' variable, use new eieio--scoped-class, and
10019 eieio--with-scoped-class.
10020 (initialize-instance): Rename local variable 'scoped-class' to
10021 'this-class' to remove ambiguitity from old global.
10022
10023 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10024 eieio.el.
10025 (eieio--scoped-class-stack): New variable.
10026 (eieio--scoped-class): New fcn.
10027 (eieio--with-scoped-class): New scoping macro.
10028 (eieio-defclass): Use pushnew instead of add-to-list.
10029 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10030 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10031 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10032 `scoped-class' variable, use new eieio--scoped-class, and
10033 eieio--with-scoped-class.
10034
10035 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10036
10037 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10038
10039 * eshell/esh-ext.el (eshell-external-command): Pass args to
10040 `eshell-find-interpreter'.
10041 (eshell-find-interpreter): Add new second parameter ARGS.
10042
10043 * eshell/em-script.el (eshell-script-initialize): Add second arg
10044 to the function added as MATCH to `eshell-interpreter-alist'.
10045
10046 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10047 the function added as MATCH to `eshell-interpreter-alist'.
10048
10049 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10050 (eshell-visual-options): New defcustom.
10051 (eshell-escape-control-x): Adapt docstring.
10052 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10053 `eshell-visual-options' in addition to `eshell-visual-commands'.
10054 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10055
10056 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10057
10058 * progmodes/python.el (python-indent-block-enders): Add break,
10059 continue and raise keywords.
10060
10061 2013-06-01 Glenn Morris <rgm@gnu.org>
10062
10063 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10064
10065 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10066 * progmodes/cc-cmds.el (delete-forward-p):
10067 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10068 * progmodes/cc-engine.el (buffer-syntactic-context):
10069 * progmodes/cc-fonts.el (face-property-instance):
10070 * progmodes/cc-mode.el (set-keymap-parents):
10071 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10072 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10073 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10074 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10075 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10076
10077 * progmodes/cc-vars.el (other): Emacs has this widget since
10078 at least 21.1, so don't (re)define it.
10079
10080 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10081 Replace the obsolete alias pcomplete-arg-quote-list.
10082
10083 2013-06-01 Leo Liu <sdl.web@gmail.com>
10084
10085 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10086 punctuation syntax.
10087 (inferior-octave-minimal-columns)
10088 (inferior-octave-last-column-width): New variables.
10089 (inferior-octave-track-window-width-change): New function.
10090 (inferior-octave-mode): Adjust column width so that Octave output,
10091 for example from 'ls', can fit into the window nicely.
10092
10093 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10094
10095 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10096 Highlight expansions inside regexp literals.
10097
10098 2013-05-31 Glenn Morris <rgm@gnu.org>
10099
10100 * obsolete/sym-comp.el (symbol-complete):
10101 Replace obsolete completion-annotate-function.
10102
10103 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10104
10105 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10106
10107 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10108 New function, checks if point is inside a literal that allows
10109 expression expansion.
10110 (ruby-syntax-propertize-expansion): Use it.
10111 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10112 around the body.
10113
10114 2013-05-30 Juri Linkov <juri@jurta.org>
10115
10116 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10117 to "\M-si".
10118 (isearch-invisible): New variable.
10119 (isearch-forward): Doc fix.
10120 (isearch-mode): Set `isearch-invisible'
10121 to the value of `search-invisible'.
10122 (isearch-toggle-case-fold): Doc fix.
10123 (isearch-toggle-invisible): New command.
10124 (isearch-query-replace): Let-bind `search-invisible'
10125 to the value of `isearch-invisible'.
10126 (isearch-search): Use `isearch-invisible' instead of
10127 `search-invisible'. Let-bind `search-invisible'
10128 to the value of `isearch-invisible'. (Bug#11378)
10129
10130 2013-05-30 Juri Linkov <juri@jurta.org>
10131
10132 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10133 call when `query-flag' is nil and `search-invisible' is non-nil.
10134 (Bug#11746)
10135
10136 2013-05-30 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10139
10140 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10141 (cc-require): Suppress spurious "noruntime" warnings.
10142 (cc-require-when-compile): Use fboundp, for sake of compiler.
10143
10144 * progmodes/cc-mode.el: Move load of cc-vars before that of
10145 cc-langs (which in turn loads cc-vars), to quieten compiler.
10146
10147 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * paren.el: Simplify the code.
10150 (show-paren-mode): Always start the timer.
10151 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10152 (show-paren--overlay, show-paren--overlay-1): Rename from
10153 show-paren-overlay and show-paren-overlay-1, and initialize to an
10154 overlay rather than to nil.
10155 (show-paren-function): Misc cleanup and simplifications.
10156
10157 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * paren.el (show-paren-data-function): New hook.
10160 (show-paren--default): New function, extracted from show-paren-function.
10161 (show-paren-function): Use show-paren-data-function.
10162
10163 2013-05-30 Glenn Morris <rgm@gnu.org>
10164
10165 * ielm.el (ielm-map, ielm-complete-symbol):
10166 Use completion-at-point rather than obsolete functions.
10167 (inferior-emacs-lisp-mode): Doc fix.
10168 Set completion-at-point-functions, rather than
10169 comint-dynamic-complete-functions.
10170
10171 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10172 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10173 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10174
10175 * image.el (image-animated-p): Tweak definition.
10176
10177 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10178 (rlogin-process-connection-type): Tweak default. Add set-after.
10179 (rlogin-host): Doc fix.
10180 (rlogin): Tweak prompt.
10181 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10182
10183 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10184 * progmodes/tcl.el (inferior-tcl-mode-map):
10185 Use completion-at-point rather than obsolete alias.
10186
10187 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10188
10189 * minibuffer.el (read-file-name-completion-ignore-case):
10190 Move before completion--in-region, for eager macro expansion.
10191
10192 2013-05-29 Juri Linkov <juri@jurta.org>
10193
10194 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10195 for total count of matching lines. Add `global-matches' for total
10196 count of matches. Rename `matches' to `lines' for count of
10197 matching lines. Add `matches' for count of matches.
10198 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10199 to `prev-line' for line number of prev match endpt.
10200 Increment `matches' for every match. Print the number of
10201 matching lines in the header.
10202 (occur-context-lines): Rename `lines' to `curr-line'.
10203 Rename `prev-lines' to `prev-line'. (Bug#14017)
10204
10205 2013-05-29 Juri Linkov <juri@jurta.org>
10206
10207 * replace.el (perform-replace): Add `skip-read-only-count',
10208 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10209 Increment them for corresponding conditions and report the number
10210 of skipped occurrences in the final message. (Bug#11746)
10211 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10212 (replace-string, replace-regexp): Doc fix.
10213
10214 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10217
10218 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10219 prog-mode-map (bug#14504).
10220
10221 2013-05-29 Leo Liu <sdl.web@gmail.com>
10222
10223 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10224 (octave-help): Small simplification.
10225
10226 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10227 off the highlight first.
10228
10229 2013-05-29 Glenn Morris <rgm@gnu.org>
10230
10231 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10232 Handle idlwave-last-system-routine-info-cons-cell being nil.
10233
10234 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10235 (idlwave-write-paths): Simplify via with-temp-buffer.
10236
10237 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10238 * emulation/cua-rect.el: Also load cua-base at run time.
10239
10240 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10241 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10242 (cperl-imenu-on-info): Require imenu.
10243
10244 2013-05-28 Alan Mackenzie <acm@muc.de>
10245
10246 Handle "capitalised keywords" correctly.
10247 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10248
10249 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10250
10251 * eshell/em-unix.el: Add -r option to cp.
10252
10253 2013-05-28 Glenn Morris <rgm@gnu.org>
10254
10255 * vc/vc-arch.el (vc-exec-after): Declare.
10256 (vc-switches): Autoload.
10257 * vc/vc-bzr.el: No need to require vc when compiling.
10258 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10259 (vc-resynch-buffer, vc-dir-refresh): Declare.
10260 (vc-setup-buffer, vc-switches): Autoload.
10261 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10262 (vc-resynch-buffer): Declare.
10263 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10264 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10265 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10266 (grep-read-regexp, grep-read-files, grep-expand-template)
10267 (vc-dir-refresh): Declare.
10268 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10269 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10270 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10271 * vc/vc-mtn.el (vc-exec-after): Declare.
10272 (vc-switches): Autoload.
10273 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10274 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10275 (vc-file-tree-walk): Declare.
10276 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10277 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10278 (vc-tag-precondition, vc-rename-master): Autoload.
10279 * vc/vc-svn.el (vc-exec-after): Declare.
10280 (vc-switches, vc-setup-buffer): Autoload.
10281 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10282 Autoload.
10283 (vc-resynch-buffer): Declare.
10284
10285 * obsolete/fast-lock.el (byte-compile-warnings):
10286 Don't warn about obsolete features in this obsolete file.
10287
10288 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10289 Move definition before use.
10290
10291 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10292 (dun-unix-verbs): Remove dun-zippy.
10293 (dun-zippy): Remove function.
10294
10295 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10296
10297 2013-05-27 Juri Linkov <juri@jurta.org>
10298
10299 * replace.el (replace-search): New function with code moved out
10300 from `perform-replace'.
10301 (replace-highlight, replace-dehighlight): Move function definitions
10302 up closer to `replace-search'. (Bug#11746)
10303
10304 2013-05-27 Juri Linkov <juri@jurta.org>
10305
10306 * replace.el (perform-replace): Ignore invisible matches.
10307 In addition to checking `query-replace-skip-read-only', also
10308 filter out matches by calling `run-hook-with-args-until-failure'
10309 on `isearch-filter-predicates', and also check `search-invisible'
10310 for t or call `isearch-range-invisible'.
10311 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10312
10313 2013-05-27 Juri Linkov <juri@jurta.org>
10314
10315 * isearch.el (isearch-filter-predicates): Rename from
10316 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10317 (isearch-message-prefix): Display text from the property
10318 `isearch-message-prefix' of the currently active filters.
10319 (isearch-search): Don't compare `isearch-filter-predicate' with
10320 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10321 on `isearch-filter-predicates'. Also check `search-invisible' for t
10322 or call `isearch-range-invisible'.
10323 (isearch-filter-visible): Make obsolete.
10324 (isearch-lazy-highlight-search):
10325 Call `run-hook-with-args-until-failure' on
10326 `isearch-filter-predicates' and use `isearch-range-invisible'.
10327
10328 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10329 `isearch-filter-predicates' instead of `funcall'ing
10330 `isearch-filter-predicate'.
10331 (Info-mode): Set `Info-isearch-filter' to
10332 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10333
10334 * dired-aux.el (dired-isearch-filter-predicate-orig):
10335 Remove variable.
10336 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10337 (dired-isearch-filenames-end): Add and remove
10338 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10339 instead of changing the value of `isearch-filter-predicate'.
10340 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10341 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10342 Put property `isearch-message-prefix' to "filename " on
10343 `dired-isearch-filter-filenames'.
10344
10345 * wdired.el (wdired-change-to-wdired-mode):
10346 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10347 locally instead of changing `isearch-filter-predicate'.
10348 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10349
10350 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10351
10352 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10353 return the commit hash (Bug#14459). Also set the
10354 `vc-git-detached' property.
10355 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10356 (vc-git-mode-line-string): Use the same help-echo format whether
10357 in detached mode or not, because we know the actual revision now.
10358 When in detached mode, shorten the revision to 7 chars.
10359
10360 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * emacs-lisp/easy-mmode.el (define-minor-mode):
10363 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10364 mode hook and provide a docstring.
10365
10366 2013-05-27 Alan Mackenzie <acm@muc.de>
10367
10368 Remove spurious syntax-table text properties inserted by C-y.
10369 * progmodes/cc-mode.el (c-after-change): Also clear hard
10370 syntax-table property with value nil.
10371
10372 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10373
10374 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10375 when reading the events; the buffer layout shall not be changed.
10376
10377 2013-05-27 Leo Liu <sdl.web@gmail.com>
10378
10379 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10380 New variable.
10381 (inferior-octave-directory-tracker): Automatically re-sync
10382 default-directory.
10383 (octave-help): Improve handling of 'See also'.
10384
10385 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * doc-view.el: Minor naming convention tweaks.
10388 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10389
10390 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10391 even if there's no `display' property yet (bug#14435).
10392
10393 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10394
10395 * subr.el (unmsys--file-name): Rename from reveal-filename.
10396
10397 * Makefile.in (custom-deps, finder-data, autoloads)
10398 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10399 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10400 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10401
10402 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10403
10404 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10405 error-completion on the first 2 args of condition-case (bug#14446).
10406 Don't burp at EOB.
10407
10408 2013-05-25 Leo Liu <sdl.web@gmail.com>
10409
10410 * comint.el (comint-previous-matching-input): Do not flood the
10411 *Messages* buffer with trivial messages.
10412
10413 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10414
10415 * progmodes/flymake.el (flymake-nop): Don't return a string.
10416 (flymake-set-at): Fix typo.
10417
10418 * simple.el (read--expression): New function, extracted from
10419 eval-expression. Set completion-at-point-functions (bug#14465).
10420 (eval-expression, eval-minibuffer): Use it.
10421
10422 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10423
10424 * progmodes/flymake.el (flymake-save-buffer-in-file)
10425 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10426 (flymake-selected-frame, flymake-log, flymake-ins-after)
10427 (flymake-set-at, flymake-get-buildfile-from-cache)
10428 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10429 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10430 Refine the doc string.
10431 (flymake-get-file-name-mode-and-masks): Reformat.
10432 (flymake-get-real-file-name-function): Fix a minor bug.
10433
10434 2013-05-24 Juri Linkov <juri@jurta.org>
10435
10436 * progmodes/grep.el (grep-mode-font-lock-keywords):
10437 Support =linenumber= format used by git-grep for lines with
10438 function names. (Bug#13549)
10439
10440 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10443 0 after a semi-colon; it works better for smie-auto-fill.
10444 (octave--indent-new-comment-line): New function.
10445 (octave-indent-new-comment-line): Use it (indirectly).
10446 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10447 modify comment-line-break-function.
10448
10449 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10450 (smie-setup): Use add-function to set it.
10451
10452 2013-05-24 Sam Steingold <sds@gnu.org>
10453
10454 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10455 argument (before the `interactive' argument).
10456
10457 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10458
10459 * image-mode.el (image-mode-winprops): Add winprops to
10460 image-mode-winprops-alist before running
10461 image-mode-new-window-functions.
10462 * doc-view.el (doc-view-new-window-function): Don't delay
10463 doc-view-goto-page via timers (bug#14435).
10464
10465 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10466
10467 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10468 (doc-view-desktop-save-buffer): New function.
10469 (doc-view-restore-desktop-buffer): New function.
10470 (desktop-buffer-mode-handlers):
10471 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10472 handler.
10473 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10474 `desktop-save-buffer' function.
10475
10476 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10477
10478 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10479 (tramp-gvfs-file-name-handler): Raise a user error when
10480 `tramp-gvfs-enabled' is nil.
10481 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10482 Do not raise a user error when loading package. (Bug#14447)
10483
10484 * net/xesam.el: Move to obsolete/.
10485
10486 2013-05-24 Glenn Morris <rgm@gnu.org>
10487
10488 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10489
10490 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10491
10492 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10493 (Info-find-node, Man-getpage-in-background): Declare.
10494
10495 * mail/unrmail.el (unrmail):
10496 Replace obsolete detect-coding-with-priority.
10497
10498 * net/socks.el (socks-split-string): Use this rather than split-string.
10499 (socks-nslookup-host): Update for above change.
10500 (dynamic-choice, s5-dynamic-choice-match)
10501 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10502 Comment out unused code.
10503
10504 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10505 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10506 (gud-tooltip-echo-area): Make obsolete.
10507 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10508
10509 * progmodes/js.el (js--optimize-arglist): Declare.
10510
10511 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10512
10513 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10514 (ediff-window-C): Declare.
10515
10516 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10517 Tweak requires to silence compiler.
10518
10519 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10520 (he-search-string, he-tried-table, he-expand-list)
10521 (he-init-string, he-string-member, he-substitute-string)
10522 (he-reset-string): Declare.
10523
10524 * obsolete/options.el (list-options): Use custom-variable-p,
10525 rather than obsolete alias.
10526
10527 2013-05-23 Sam Steingold <sds@gnu.org>
10528
10529 * simple.el (shell-command-on-region): Pass the `replace' argument
10530 down to `call-process-region' to comply with the doc as reported on
10531 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10532
10533 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * emacs-lisp/smie.el (smie-indent-forward-token)
10536 (smie-indent-backward-token): Handle string tokens (bug#14381).
10537
10538 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10539
10540 * ielm.el (ielm-menu): New menu.
10541 (inferior-emacs-lisp-mode): Set comment-start.
10542
10543 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10544
10545 * textmodes/reftex.el (reftex-ref-style-toggle):
10546 Fix deactivate action.
10547
10548 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10549 Add cleveref macros.
10550
10551 * textmodes/reftex-parse.el
10552 (reftex-locate-bibliography-files): Accept options for
10553 bibliography commands.
10554 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10555 Add addbibresource. Basic Biblatex support.
10556
10557 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10558
10559 * net/tramp-gvfs.el (top):
10560 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10561 when loading package. (Bug#14447)
10562
10563 2013-05-23 Glenn Morris <rgm@gnu.org>
10564
10565 * progmodes/js.el: No need to load comint when compiling.
10566 (ring-insert, comint-send-string, comint-send-input)
10567 (comint-last-input-end, ido-chop): Declare.
10568
10569 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10570 * vc/ediff-mult.el: Adjust requires.
10571 (ediff-directories-internal, ediff-directory-revisions-internal)
10572 (ediff-patch-file-internal): Declare.
10573 * vc/ediff-ptch.el: Adjust requires.
10574 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10575 (ediff-find-file): Autoload.
10576 * vc/ediff-util.el: No need to load ediff when compiling.
10577 (ediff-regions-internal): Declare.
10578 * vc/ediff-wind.el: Adjust requires.
10579 (ediff-compute-toolbar-width): Define when compiling.
10580 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10581 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10582 (dired-get-filename, dired-get-marked-files)
10583 (ediff-last-dir-patch, ediff-patch-default-directory)
10584 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10585 (ediff-patch-buffer-internal): Declare.
10586
10587 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10588 (ispell-process, ispell-buffer-local-words, lm-summary)
10589 (lm-section-start, lm-section-end): Declare.
10590 (checkdoc-ispell-init): Simplify.
10591
10592 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10593 (he-string-member, he-reset-string, he-substitute-string): Declare.
10594
10595 * eshell/em-ls.el: Adjust requires.
10596 (eshell-glob-regexp): Declare.
10597 * eshell/em-tramp.el: Adjust requires.
10598 (eshell-parse-command): Autoload.
10599 * eshell/em-xtra.el: Adjust requires.
10600 (eshell-parse-command): Autoload.
10601 * eshell/esh-ext.el: Adjust requires.
10602 (eshell-parse-command, eshell-close-handles): Autoload.
10603 * eshell/esh-io.el: Adjust requires.
10604 (eshell-output-filter): Autoload.
10605 * eshell/esh-util.el: No need to load tramp when compiling.
10606 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10607 Declare.
10608 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10609 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10610 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10611 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10612 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10613 * eshell/esh-opt.el, eshell/esh-proc.el:
10614 * eshell/esh-var.el: Adjust requires.
10615 * eshell/eshell.el: Do not require esh-util twice.
10616 (eshell-add-input-to-history): Declare.
10617 (eshell-command): Check history module is active before using it.
10618
10619 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10620
10621 2013-05-22 Leo Liu <sdl.web@gmail.com>
10622
10623 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10624
10625 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * autorevert.el (auto-revert-notify-add-watch)
10628 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10629 it indicates changes in file modification time.
10630
10631 2013-05-22 Glenn Morris <rgm@gnu.org>
10632
10633 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10634 Always delete the autoloaded function from the noruntime and
10635 unresolved functions lists.
10636
10637 * allout.el: No need to load epa, epg, overlay when compiling.
10638 (epg-context-set-passphrase-callback, epg-list-keys)
10639 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10640 (epg-key-user-id-list): Declare.
10641
10642 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10643 (viper-set-parsing-style-toggling-macro)
10644 (viper-set-emacs-state-searchstyle-macros):
10645 Use called-interactively-p on Emacs.
10646 (viper-looking-back): Make it an obsolete alias. Update callers.
10647 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10648 Use looking-back rather than viper-looking-back.
10649 (viper-tmp-insert-at-eob, viper-enlarge-region)
10650 (viper-read-string-with-history, viper-register-to-point)
10651 (viper-append-to-register, viper-change-state-to-vi)
10652 (viper-backward-char-carefully, viper-forward-char-carefully)
10653 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10654 (viper-change-state-to-emacs): Declare.
10655 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10656 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10657 * emulation/viper-mous.el: Do not load viper-cmd.
10658 (viper-backward-char-carefully, viper-forward-char-carefully)
10659 (viper-forward-word, viper-adjust-window): Declare.
10660
10661 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10662
10663 * progmodes/idlw-help.el (idlwave-help-fontify):
10664 Use called-interactively-p.
10665
10666 * term/w32console.el (w32-get-console-codepage)
10667 (w32-get-console-output-codepage): Declare.
10668
10669 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10670 Remove unnecessary declarations.
10671 (dframe-message): Doc fix.
10672
10673 * info.el (dframe-select-attached-frame, dframe-current-frame):
10674 Declare.
10675
10676 * speedbar.el (speedbar-message): Make it an obsolete alias.
10677 Update all callers.
10678 (speedbar-with-attached-buffer)
10679 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10680 (speedbar-with-writable): Use backquote.
10681 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10682 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10683 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10684 rather than speedbar- aliases.
10685 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10686 (speedbar-make-specialized-keymap, speedbar-insert-button)
10687 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10688 (speedbar-do-function-pointer): Declare.
10689 (rmail-speedbar-button, rmail-speedbar-find-file)
10690 (rmail-speedbar-move-message):
10691 Use dframe-with-attached-buffer rather than speedbar- alias.
10692 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10693 (dframe-message, speedbar-make-specialized-keymap)
10694 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10695 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10696 (speedbar-insert-button, dframe-select-attached-frame)
10697 (dframe-maybee-jump-to-attached-frame)
10698 (speedbar-change-initial-expansion-list)
10699 (speedbar-previously-used-expansion-list-name): Declare.
10700 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10701 Use dframe-message, dframe-with-attached-buffer rather than
10702 speedbar- aliases.
10703 (gud-sentinel): Silence compiler.
10704 * progmodes/vhdl-mode.el (speedbar-refresh)
10705 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10706 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10707 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10708 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10709 (speedbar-file-lists, speedbar-make-tag-line)
10710 (speedbar-line-directory, speedbar-goto-this-file)
10711 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10712 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10713 (speedbar-make-button, speedbar-reset-scanners)
10714 (speedbar-files-item-info, speedbar-line-text)
10715 (speedbar-find-file-in-frame, speedbar-set-timer)
10716 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10717 (speedbar-with-writable): Do not (re)define it.
10718 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10719 rather than speedbar- alias.
10720
10721 2013-05-21 Leo Liu <sdl.web@gmail.com>
10722
10723 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10724 menu items.
10725 (octave-mode): Tweak fill-nobreak-predicate.
10726 (inferior-octave-startup): Check process to avoid infinite loop.
10727 (inferior-octave): Pop to buffer first to show abornmal process
10728 exit information.
10729
10730 2013-05-21 Glenn Morris <rgm@gnu.org>
10731
10732 * printing.el (pr-menu-bar): Define when compiling.
10733
10734 2013-05-21 Leo Liu <sdl.web@gmail.com>
10735
10736 * progmodes/octave.el (octave-auto-fill): Remove.
10737 (octave-indent-new-comment-line): Improve.
10738 (octave-mode): Use auto fill mode through
10739 comment-line-break-function and fill-nobreak-predicate.
10740 (octave-goto-function-definition): Support DEFUN_DLD.
10741 (octave-beginning-of-defun): Small tweak.
10742 (octave-help): Show parent directory.
10743
10744 2013-05-21 Glenn Morris <rgm@gnu.org>
10745
10746 * files.el (dired-unmark):
10747 * progmodes/gud.el (gdb-input): Update declarations.
10748
10749 * calculator.el (electric, ehelp): No need to load when compiling.
10750 (Electric-command-loop, electric-describe-mode): Declare.
10751
10752 * doc-view.el (doc-view-current-converter-processes): Move before use.
10753
10754 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10755 Move MODE-set-explicitly definition before use.
10756
10757 * international/mule-diag.el (mule-diag):
10758 Don't use obsolete window-system-version.
10759
10760 * mail/feedmail.el (smtpmail): No need to load when compiling.
10761 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10762
10763 * mail/mail-utils.el (rfc822): No need to load when compiling.
10764 (rfc822-addresses): Autoload it.
10765 (mail-strip-quoted-names): Trivial simplification.
10766
10767 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10768 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10769
10770 * net/snmp-mode.el (tempo): Don't duplicate requires.
10771
10772 * progmodes/prolog.el (info): No need to load when compiling.
10773 (comint): Require before shell requires it.
10774 (Info-goto-node): Autoload it.
10775 (Info-follow-nearest-node): Declare.
10776 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10777
10778 * textmodes/artist.el (picture-mode-exit): Declare.
10779
10780 * textmodes/reftex-parse.el (reftex-parse-from-file):
10781 Trivial rewrite so the compiler can parse it better.
10782
10783 2013-05-20 Leo Liu <sdl.web@gmail.com>
10784
10785 * progmodes/octave.el (octave-help-mode-map)
10786 (octave-help-mode-finish-hook): New variables.
10787 (octave-help-mode, octave-help-mode-finish): New functions.
10788 (octave-help): Use octave-help-mode.
10789
10790 2013-05-20 Glenn Morris <rgm@gnu.org>
10791
10792 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10793
10794 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10795
10796 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10797 start at point, so that expansion starting right after opening
10798 slash in a regexp is recognized.
10799 (ruby-syntax-before-regexp-re): New defvar, extracted from
10800 ruby-syntax-propertize-function. Since the value of this regexp
10801 is looked up at runtime now, we should be able to turn
10802 `ruby-syntax-methods-before-regexp' into a defcustom later.
10803 (ruby-syntax-propertize-function): Split regexp matching into two
10804 parts, for opening and closing slashes. That allows us to skip
10805 over string interpolations and support multiline regexps.
10806 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10807 for them, which calls `ruby-syntax-propertize-expansion'.
10808 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10809 call to `ruby-syntax-propertize-function'.
10810 (ruby-syntax-propertize-expansion): Extracted from
10811 `ruby-syntax-propertize-expansions'. Handles one expansion.
10812 (ruby-syntax-propertize-percent-literal): Leave point right after
10813 the percent symbol, so that the expression expansion rule can
10814 propertize the contents.
10815 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10816 heredoc openers.
10817 (ruby-syntax-propertize-expansions): Remove.
10818
10819 2013-05-18 Juri Linkov <juri@jurta.org>
10820
10821 * man.el (Man-default-man-entry): Remove `-' from the end
10822 of the default value. (Bug#14400)
10823
10824 2013-05-18 Glenn Morris <rgm@gnu.org>
10825
10826 * comint.el (comint-password-prompt-regexp):
10827 Allow "password for XXX" where XXX contains colons (eg https://...).
10828
10829 2013-05-18 Leo Liu <sdl.web@gmail.com>
10830
10831 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10832 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10833 (octave-source-directories): Don't check process.
10834 (octave-source-directories, octave-find-definition): Doc fix.
10835
10836 2013-05-18 Glenn Morris <rgm@gnu.org>
10837
10838 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10839 Remove backspace/delete bindings. (Bug#14392)
10840
10841 * cus-dep.el (custom-make-dependencies): Sort the output.
10842 (custom-versions-load-alist): Convert comment to doc.
10843
10844 2013-05-17 Leo Liu <sdl.web@gmail.com>
10845
10846 * newcomment.el (comment-search-backward): Stricter in finding
10847 comment start. (Bug#14303)
10848
10849 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10850 (octave-comment-start-skip): Properly anchored.
10851
10852 2013-05-17 Leo Liu <sdl.web@gmail.com>
10853
10854 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10855 Clean up when turned off. (Bug#14395)
10856 (smie--highlight-matching-block-overlay): No longer buffer-local.
10857 (smie-highlight-matching-block): Adjust.
10858
10859 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10860
10861 Doc string fix for "nanoseconds" (Bug#14406).
10862 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10863 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10864
10865 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10866
10867 * calc/calc-units.el (math-extract-units): Preserve powers
10868 of units.
10869
10870 2013-05-17 Leo Liu <sdl.web@gmail.com>
10871
10872 * subr.el (delete-consecutive-dups): New function.
10873 * ido.el (ido-set-matches-1): Use it.
10874 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10875 * ido.el (ido-remove-consecutive-dups): Remove.
10876
10877 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10880 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10881 regexp-opt's `words'.
10882
10883 2013-05-16 Leo Liu <sdl.web@gmail.com>
10884
10885 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10886 (smie--highlight-matching-block-overlay)
10887 (smie--highlight-matching-block-lastpos)
10888 (smie--highlight-matching-block-timer): New variables.
10889 (smie-highlight-matching-block): New function.
10890 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10891 (smie-setup): Conditionally enable smie-blink-matching-open.
10892
10893 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10894
10895 Sync with upstream verilog-mode r840.
10896 * progmodes/verilog-mode.el (verilog-mode-version)
10897 (verilog-mode-release-date): Update.
10898 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10899 (verilog-sig-tieoff): Fix string error on
10900 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10901 (verilog-read-decls): Fix parameters confusing
10902 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10903
10904 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10905
10906 * subr.el (reveal-filename): New function.
10907
10908 * loadup.el: Compute Emacs executable versions on MS-Windows,
10909 where executables have the .exe extension. Add a hard link
10910 emacs-XX.YY.ZZ.exe on MS-Windows.
10911
10912 * Makefile.in (XARGS_LIMIT): New variable.
10913 (custom-deps, finder-data, autoloads)
10914 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10915 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10916 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10917 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10918
10919 2013-05-16 Leo Liu <sdl.web@gmail.com>
10920
10921 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10922 (octave-mode-menu, octave-mode-map): Remove its uses.
10923
10924 2013-05-16 Reto Zimmermann <reto@gnu.org>
10925
10926 Sync with upstream vhdl mode v3.34.2.
10927 * progmodes/vhdl-mode.el: Use `push' throughout.
10928 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10929 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10930 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10931 (vhdl-actual-generic-name): New option to derive actual generic name.
10932 (vhdl-port-paste-signals): Replace formal by actual generics.
10933 (vhdl-beautify): New name for old group vhdl-align. Update users.
10934 (vhdl-beautify-options): New option.
10935 (vhdl-last-input-event): New compat alias. Use throughout.
10936 (vhdl-goto-line): Replace user level function `goto-line'.
10937 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10938 vhdl-fix-statement-buffer.
10939 (vhdl-create-mode-menu): Add some entries.
10940 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10941 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10942 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10943 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10944 to force statements on one line.
10945 (vhdl-remove-trailing-spaces-region):
10946 New, split from vhdl-remove-trailing-spaces.
10947 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10948 Respect vhdl-beautify-options.
10949 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10950 (vhdl-update-sensitivity-list): Not add with index if exists without.
10951 Not include array index with signal. Ignore keywords in comments.
10952 (vhdl-get-visible-signals): Regexp tweaks.
10953 (vhdl-template-component-inst): Handle empty library.
10954 (vhdl-template-type): Add template for 'enum' type.
10955 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10956 Use vhdl-replace-string.
10957 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10958 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10959 (vhdl-speedbar-initialize): Update for above name change.
10960 (vhdl-compose-wire-components): Fix in handling of constants.
10961 (vhdl-error-regexp-emacs-alist): New variable.
10962 (vhdl-error-regexp-add-emacs): New function;
10963 adds support for new compile.el (Emacs 22+)
10964 (vhdl-generate-makefile-1): Change target order for single lib. units.
10965 Allow use of absolute file names.
10966
10967 2013-05-16 Leo Liu <sdl.web@gmail.com>
10968
10969 * simple.el (prog-indent-sexp): Indent enclosing defun.
10970
10971 2013-05-15 Glenn Morris <rgm@gnu.org>
10972
10973 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10974 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10975 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10976 (whitespace-highlight): Move to whitespace group.
10977
10978 * comint.el (comint-source):
10979 * pcmpl-linux.el (pcmpl-linux):
10980 * shell.el (shell-faces):
10981 * eshell/esh-opt.el (eshell-opt):
10982 * international/ccl.el (ccl): Remove empty custom groups.
10983
10984 * completion.el (dynamic-completion-mode):
10985 * jit-lock.el (jit-lock-debug-mode):
10986 * minibuffer.el (completion-in-region-mode):
10987 * type-break.el (type-break-mode-line-message-mode)
10988 (type-break-query-mode):
10989 * emulation/tpu-edt.el (tpu-edt-mode):
10990 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10991 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10992 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10993
10994 * term/xterm.el (xterm): Change parent group to terminals.
10995
10996 * master.el (master): Remove empty custom group.
10997 (master-mode): Remove unused :group argument.
10998 * textmodes/refill.el (refill): Remove empty custom group.
10999 (refill-mode): Remove unused :group argument.
11000
11001 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11002
11003 * cus-dep.el: Provide a feature.
11004 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11005 Don't mistakenly ignore files whose basenames match a basename
11006 from preloaded-file-list (eg cedet/ede/simple.el).
11007 Add a fallback method for getting :group.
11008
11009 2013-05-15 Juri Linkov <juri@jurta.org>
11010
11011 * isearch.el (isearch-char-by-name): Rename from
11012 `isearch-insert-char-by-name'. Doc fix.
11013 (isearch-forward): Mention `isearch-char-by-name' in
11014 the docstring. (Bug#13348)
11015
11016 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11017 `exit-minibuffer' instead of
11018 `isearch-nonincremental-exit-minibuffer'.
11019 (isearch-edit-string): Remove mention of
11020 `isearch-nonincremental-exit-minibuffer' from docstring.
11021 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11022 (isearch-forward-exit-minibuffer)
11023 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11024
11025 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11026
11027 * loadup.el: Just use unversioned DOC.
11028
11029 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11030 literals as extending to EOB.
11031 (nxml-last-fontify-end): Remove unused variable.
11032 (nxml-after-change1): Use with-silent-modifications.
11033 (nxml-extend-after-change-region): Simplify.
11034 (nxml-extend-after-change-region1): Remove function.
11035 (nxml-after-change1): Don't adjust for dependent regions.
11036 (nxml-fontify-matcher): Simplify.
11037 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11038 (xmltok-add-dependent): Remove function.
11039 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11040 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11041 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11042 unclosed <[[, <?, comment, and other literals as extending to EOB.
11043 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11044 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11045 Remove functions.
11046 (rng-do-some-validation-1): Don't mark dependent regions.
11047 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11048 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11049 (nxml-clear-dependent-regions): Remove functions.
11050 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11051 (nxml-ensure-scan-up-to-date):
11052 Don't clear&mark dependent regions.
11053
11054 2013-05-15 Leo Liu <sdl.web@gmail.com>
11055
11056 * progmodes/octave.el (octave-goto-function-definition):
11057 Improve and fix callers.
11058
11059 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11062 the setter (bug#14387).
11063
11064 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11065 surrounding group (bug#14402).
11066
11067 2013-05-14 Juri Linkov <juri@jurta.org>
11068
11069 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11070 (Bug#14390)
11071
11072 2013-05-14 Glenn Morris <rgm@gnu.org>
11073
11074 * progmodes/f90.el (f90-imenu-generic-expression):
11075 Fix typo in 2013-05-08 change. (Bug#14402)
11076
11077 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11078
11079 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11080 Remove signals for which replies are never received.
11081
11082 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11083
11084 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11085 (gdb-handler-alist, gdb-handler-number): Remove variables.
11086 (gdb-handler-list): New variable.
11087 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11088 (gdb-pending-handler-p, gdb-handle-reply)
11089 (gdb-remove-all-pending-triggers): New functions.
11090 (gdb-discard-unordered-replies): New defcustom.
11091 (gdb-handler): New defstruct.
11092 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11093 instead of gdb-pending-triggers. Update docstring.
11094 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11095 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11096 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11097 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11098 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11099 (gdb-frame-handler): Pending triggers are now automatically managed.
11100 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11101 Remove argument.
11102 (gdb-input): Automatically handles pending triggers. Update docstring.
11103 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11104 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11105 Update comments.
11106 (gdb-done-or-error): Now use gdb-handle-reply.
11107
11108 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11109
11110 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11111 gdb-debug-log.
11112
11113 2013-05-14 Glenn Morris <rgm@gnu.org>
11114
11115 * subr.el (user-emacs-directory-warning): New option.
11116 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11117
11118 2013-05-14 Leo Liu <sdl.web@gmail.com>
11119
11120 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11121 during redisplay.
11122 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11123 (octave-font-lock-texinfo-comment): Fix invalid search bound
11124 error: wrong side of point.
11125
11126 2013-05-14 Glenn Morris <rgm@gnu.org>
11127
11128 * progmodes/flymake.el (flymake-xml-program): New option.
11129 (flymake-xml-init): Use it.
11130
11131 * term/xterm.el: Provide a feature.
11132
11133 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11134
11135 2013-05-13 Glenn Morris <rgm@gnu.org>
11136
11137 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11138 Add compat aliases as a hack workaround. (Bug#14384)
11139
11140 2013-05-13 Leo Liu <sdl.web@gmail.com>
11141
11142 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11143 ###, and %!.
11144 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11145 C-M-q.
11146 (octave-comment-start-skip): Include %!.
11147 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11148
11149 2013-05-12 Leo Liu <sdl.web@gmail.com>
11150
11151 * progmodes/octave.el (inferior-octave-startup): Store the value
11152 of __octave_srcdir__ for octave-source-directories.
11153 (inferior-octave-check-process): New function refactored out of
11154 inferior-octave-send-list-and-digest.
11155 (octave-source-directories)
11156 (octave-find-definition-filename-function): New variables.
11157 (octave-source-directories)
11158 (octave-find-definition-default-filename): New functions.
11159 (octave-find-definition): Improve to find functions implemented in C++.
11160
11161 2013-05-12 Glenn Morris <rgm@gnu.org>
11162
11163 * calendar/diary-lib.el (diary-outlook-format-1):
11164 Don't include dayname in the output. (Bug#14349)
11165
11166 2013-05-11 Glenn Morris <rgm@gnu.org>
11167
11168 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11169
11170 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11171 Treat cc-provide like provide.
11172
11173 2013-05-11 Kevin Ryde <user42@zip.com.au>
11174
11175 * cus-dep.el (custom-make-dependencies):
11176 Use generated-autoload-load-name for the sake of files such
11177 such cedet/semantic/bovine/c.el, where the base file name
11178 is not in load-path. (Bug#5277)
11179
11180 2013-05-11 Glenn Morris <rgm@gnu.org>
11181
11182 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11183 Provide features.
11184
11185 2013-05-11 Leo Liu <sdl.web@gmail.com>
11186
11187 * progmodes/octave.el (octave-indent-comment): Improve.
11188 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11189 (octave-eldoc-function-signatures, octave-eldoc-function):
11190 New functions.
11191 (octave-mode, inferior-octave-mode): Add eldoc support.
11192
11193 2013-05-11 Richard Stallman <rms@gnu.org>
11194
11195 * epa.el (epa-decrypt-file): Take output file name as argument
11196 and read it using `interactive'.
11197
11198 2013-05-11 Leo Liu <sdl.web@gmail.com>
11199
11200 * progmodes/octave.el (octave-beginning-of-line)
11201 (octave-end-of-line): Check before using up-list because it jumps
11202 out of more syntactic contructs since moving to smie.
11203 (octave-indent-comment): New function.
11204 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11205 (octave-begin-keywords, octave-end-keywords)
11206 (octave-reserved-words, octave-smie-bnf-table)
11207 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11208
11209 2013-05-11 Glenn Morris <rgm@gnu.org>
11210
11211 * faces.el (internal-face-x-get-resource):
11212 * frame.el (ns-display-monitor-attributes-list):
11213 * calc/calc-aent.el (math-to-radians-2):
11214 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11215 Fix declarations.
11216
11217 * calc/calc-menu.el: Make it loadable in isolation.
11218
11219 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11220 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11221 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11222 (eudc-bbdb-query-internal): Require 'bbdb.
11223
11224 * lpr.el (lpr-headers-switches):
11225 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11226
11227 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11228
11229 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11230
11231 * term.el (term-set-escape-char): Make it idempotent.
11232
11233 2013-05-10 Leo Liu <sdl.web@gmail.com>
11234
11235 * progmodes/octave.el (inferior-octave-completion-table):
11236 No longer a function and all uses changed. Use cache to speed up
11237 completion due to bug#11906.
11238 (octave-beginning-of-defun): Re-write to be more general.
11239
11240 2013-05-10 Glenn Morris <rgm@gnu.org>
11241
11242 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11243
11244 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11245
11246 * comint.el (comint-redirect-send-command-to-process): Use :around
11247 rather than :override for comint-redirect-filter.
11248 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11249 Call it instead of comint-redirect-original-filter-function (which
11250 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11251
11252 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11253
11254 * frame.el (display-monitor-attributes-list): Add NS case.
11255 (ns-display-monitor-attributes-list): Declare.
11256
11257 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11258
11259 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11260
11261 2013-05-09 Glenn Morris <rgm@gnu.org>
11262
11263 * international/fontset.el (vertical-centering-font-regexp):
11264 Set standard-value.
11265
11266 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11267
11268 * bookmark.el (bookmark-search-delay):
11269 * cus-start.el (vertical-centering-font-regexp):
11270 * ps-mule.el (ps-mule-font-info-database-default):
11271 * ps-print.el (ps-default-fg, ps-default-bg):
11272 * type-break.el (type-break-good-break-interval):
11273 * whitespace.el (whitespace-indentation-regexp)
11274 (whitespace-space-after-tab-regexp):
11275 * emacs-lisp/testcover.el (testcover-1value-functions)
11276 (testcover-noreturn-functions, testcover-progn-functions)
11277 (testcover-prog1-functions):
11278 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11279 * eshell/em-glob.el (eshell-glob-translate-alist):
11280 * play/tetris.el (tetris-tty-colors):
11281 * progmodes/cpp.el (cpp-face-default-list):
11282 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11283 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11284 (idlwave-help-browser-generic-args):
11285 * progmodes/make-mode.el (makefile-special-targets-list):
11286 * progmodes/python.el (python-shell-virtualenv-path):
11287 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11288 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11289 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11290 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11291 * textmodes/reftex-vars.el (reftex-format-label-function):
11292 * textmodes/remember.el (remember-diary-file): Fix custom types.
11293
11294 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11295 Add :version.
11296
11297 2013-05-09 Leo Liu <sdl.web@gmail.com>
11298
11299 * progmodes/octave.el (inferior-octave-completion-at-point):
11300 Restore file completion. (Bug#14300)
11301 (inferior-octave-startup): Fix incorrect highlighting for the
11302 first prompt.
11303
11304 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * progmodes/ruby-mode.el: First cut at SMIE support.
11307 (ruby-use-smie): New var.
11308 (ruby-smie-grammar): New constant.
11309 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11310 (ruby-smie--forward-token, ruby-smie--backward-token)
11311 (ruby-smie-rules): New functions.
11312 (ruby-mode-variables): Setup SMIE if applicable.
11313
11314 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11315
11316 * simple.el (line-move-visual): Signal beginning/end of buffer
11317 only if vertical-motion moved less than it was requested. Avoids
11318 silly incorrect error messages when there are display strings with
11319 multiple newlines at EOL.
11320
11321 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11324 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11325 (prolog-char-quote-workaround):
11326 * progmodes/cperl-mode.el (cperl-under-as-char):
11327 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11328 Mark as obsolete.
11329 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11330 their declaration.
11331 (vhdl-mode-syntax-table-init): Remove.
11332
11333 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11334 last change.
11335
11336 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11337 syntax for "_".
11338 (ld-script-font-lock-keywords):
11339 Change regexps to use things like \_< and \_>.
11340
11341 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11342 Change all regexps to use things like \_< and \_>.
11343
11344 * progmodes/autoconf.el (autoconf-definition-regexp)
11345 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11346 Handle a _ with symbol syntax.
11347 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11348
11349 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11350 Consolidate declaration.
11351 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11352 the declaration.
11353 (ada-create-syntax-table): Remove.
11354 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11355 already has the right syntax nowadays.
11356 (ada-goto-next-word): Don't change the syntax of "_".
11357
11358 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11359 with-wrapper-hook.
11360
11361 2013-05-08 Sam Steingold <sds@gnu.org>
11362
11363 * thingatpt.el (thing-at-point): Accept optional second argument
11364 NO-PROPERTIES to strip the text properties from the return value.
11365 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11366 to `thing-at-point' instead of stripping the properties ourselves.
11367 Also, when `thing-at-point' fails to find a url, prepend "http://"
11368 to the filename at point on the assumption that the user is
11369 pointing at something like gnu.org/gnu.
11370
11371 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11372
11373 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11374 * faces.el (crm-separator):
11375 Silence byte-compiler.
11376
11377 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11378 (tool-bar-map): Remove unneeded defvars.
11379
11380 2013-05-08 Leo Liu <sdl.web@gmail.com>
11381
11382 Re-work a fix for bug#10994 based on Le Wang's patch.
11383 * ido.el (ido-remove-consecutive-dups): New helper.
11384 (ido-completing-read): Use it.
11385 (ido-chop): Revert fix for bug#10994.
11386
11387 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11388
11389 * cus-edit.el (custom-save-variables):
11390 Pretty-print long values. (Bug#14187)
11391
11392 2013-05-08 Glenn Morris <rgm@gnu.org>
11393
11394 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11395 (m4-mode-syntax-table): Init in the defvar.
11396 (m4-mode-abbrev-table): Let define-derived-mode define it.
11397
11398 2013-05-08 Tom Tromey <tromey@redhat.com>
11399
11400 * progmodes/m4-mode.el (m4-mode-syntax-table):
11401 Do not treat "_" as word constituent. (Bug#14167)
11402
11403 2013-05-07 Glenn Morris <rgm@gnu.org>
11404
11405 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11406 Remove explicit eshell-isearch-cancel-map.
11407
11408 * progmodes/f90.el (f90-smart-end-names): New option.
11409 (f90-smart-end): Doc fix.
11410 (f90-end-block-optional-name): New constant.
11411 (f90-block-match): Respect f90-smart-end-names.
11412
11413 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11416 about implicit semi-colons (bug#14218).
11417
11418 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11419
11420 * frame.el (display-monitor-attributes-list)
11421 (frame-monitor-attributes): New functions.
11422
11423 2013-05-06 Leo Liu <sdl.web@gmail.com>
11424
11425 * progmodes/octave.el (octave-syntax-propertize-function): Change
11426 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11427 (octave-font-lock-keywords): Use octave-operator-regexp.
11428 (octave-completion-at-point): Rename from
11429 octave-completion-at-point-function.
11430 (inferior-octave-directory-tracker): Robustify.
11431 (octave-text-functions): Remove and fix its uses. No such things
11432 any more.
11433
11434 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11435
11436 * emacs-lisp/trace.el (trace--display-buffer): New function.
11437 (trace-make-advice): Use it.
11438
11439 2013-05-06 Juri Linkov <juri@jurta.org>
11440
11441 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11442 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11443 Doc fix.
11444 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11445 in the help string. (Bug#12985)
11446
11447 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11448
11449 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11450
11451 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * progmodes/perl-mode.el: Add support for here documents.
11454 (perl-syntax-propertize-function): Match here-doc markers.
11455 (perl-syntax-propertize-special-constructs): Find their end.
11456 (perl-imenu-generic-expression): Use [:alnum:].
11457
11458 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11459 (advice--add-function): Refresh the advice if already present
11460 (bug#14317).
11461
11462 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11463
11464 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11465
11466 2013-05-06 Glenn Morris <rgm@gnu.org>
11467
11468 * w32-fns.el (w32-charset-info-alist): Declare.
11469
11470 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11471 of its defcustom properties.
11472 (eshell-cmpl-initialize): No need to load pcomplete.
11473
11474 * generic-x.el: No need to require comint when compiling.
11475
11476 * net/eudc-export.el: Make it loadable without bbdb.
11477 (top-level): Use require rather than load-library.
11478 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11479 (eudc-batch-export-records-to-bbdb)
11480 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11481 Require bbdb.
11482
11483 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11486 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11487 some tweaks, instead.
11488
11489 2013-05-05 Leo Liu <sdl.web@gmail.com>
11490
11491 * progmodes/octave.el (octave-font-lock-keywords)
11492 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11493 (inferior-octave-send-list-and-digest): Improve error message.
11494 (octave-mode, inferior-octave-mode): Use setq-local.
11495 (octave-help): Set info-lookup-mode.
11496
11497 2013-05-05 Richard Stallman <rms@gnu.org>
11498
11499 * vc/compare-w.el (compare-windows-whitespace):
11500 Treat no-break space as whitespace.
11501
11502 * mail/rmailsum.el (rmail-summary-rmail-update):
11503 Detect empty summary and don't change selected message.
11504 (rmail-summary-goto-msg): Likewise.
11505
11506 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11507 Doc fixes, rename args.
11508
11509 2013-05-05 Alan Mackenzie <acm@muc.de>
11510
11511 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11512
11513 2013-05-05 Juri Linkov <juri@jurta.org>
11514
11515 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11516 to not add the length of the summary segment to the return value.
11517 (Bug#14125)
11518
11519 2013-05-05 Leo Liu <sdl.web@gmail.com>
11520
11521 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11522 (inferior-octave-output-filter): Remove.
11523 (octave-send-region, inferior-octave-startup): Fix callers.
11524 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11525 (octave-binary-file-extensions): New user variable.
11526 (octave-find-definition): Confirm if opening binary files.
11527 (octave-help-file): Use octave-find-definition to get the binary
11528 confirmation.
11529 (octave-help): Adjust for octave-help-file change.
11530
11531 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11534 Merge the two entries that handle function definitions.
11535 (pascal--syntax-propertize): New const.
11536 (pascal-mode): Use it. Use setq-local.
11537
11538 2013-05-04 Glenn Morris <rgm@gnu.org>
11539
11540 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11541 (diary-from-outlook): Respect diary-from-outlook-function.
11542
11543 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11546 Move the declaration from C.
11547 (read-minibuffer, eval-minibuffer): Move from C.
11548 (completion-setup-function): Avoid minibuffer-completion-contents.
11549
11550 2013-05-03 Leo Liu <sdl.web@gmail.com>
11551
11552 * progmodes/octave.el (octave-font-lock-keywords): Do not
11553 dehighlight 'end' in comments or strings.
11554 (octave-completing-read, octave-goto-function-definition):
11555 New helpers.
11556 (octave-help-buffer): New user variable.
11557 (octave-help-file, octave-help-function): New button types.
11558 (octave-help): New command and bind it to C-h ;.
11559 (octave-find-definition): New command and bind it to M-.
11560 (user-error): Alias to error if not defined.
11561
11562 2013-05-02 Leo Liu <sdl.web@gmail.com>
11563
11564 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11565 for \. (bug#14332)
11566 (octave-font-lock-keywords): Include [ and {.
11567
11568 2013-05-02 Leo Liu <sdl.web@gmail.com>
11569
11570 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11571 (inferior-octave): Remove calling comint-mode and return the buffer.
11572 (inferior-octave-startup): Cosmetic changes.
11573
11574 2013-05-02 Leo Liu <sdl.web@gmail.com>
11575
11576 * progmodes/octave.el (octave-syntax-propertize-function):
11577 Include the case when ' is at line beginning. (Bug#14336)
11578
11579 2013-05-02 Glenn Morris <rgm@gnu.org>
11580
11581 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11582 * desktop.el (vc-dir-mode): Just autoload it here.
11583
11584 2013-05-02 Alan Mackenzie <acm@muc.de>
11585
11586 Eliminate variable c-standard-font-lock-fontify-region-function.
11587 * progmodes/cc-mode.el
11588 (c-standard-font-lock-fontify-region-function): Remove.
11589 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11590
11591 2013-05-01 Leo Liu <sdl.web@gmail.com>
11592
11593 * progmodes/octave.el: Compatible with older emacs-24 releases.
11594 (inferior-octave-has-built-in-variables): Remove. Built-in
11595 variables were removed from Octave in 2007.
11596 (inferior-octave-startup): Fix uses.
11597 (comint-line-beginning-position): Remove compatibility code for
11598 emacs 21.
11599
11600 2013-05-01 Juri Linkov <juri@jurta.org>
11601
11602 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11603
11604 2013-05-01 Juri Linkov <juri@jurta.org>
11605
11606 * comint.el (comint-previous-matching-input): Don't print message
11607 "History item: %d" when `isearch-mode' is active.
11608 (comint-history-isearch-message): Print message "History item: %d"
11609 when `comint-input-ring-index' is not empty and this function is
11610 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11611
11612 2013-05-01 Leo Liu <sdl.web@gmail.com>
11613
11614 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11615 definitions. Use completion-at-point to insert keywords.
11616 (octave-abbrev-start): Remove.
11617 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11618
11619 2013-04-30 Leo Liu <sdl.web@gmail.com>
11620
11621 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11622 change.
11623
11624 2013-04-30 Alan Mackenzie <acm@muc.de>
11625
11626 Handle arbitrarily long C++ member initialisation lists.
11627 * progmodes/cc-engine.el (c-back-over-member-initializers):
11628 new function.
11629 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11630 (most) member init lists.
11631
11632 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11633
11634 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11635 variable.
11636
11637 2013-04-30 Leo Liu <sdl.web@gmail.com>
11638
11639 * progmodes/octave.el (octave-variables): Remove. No builtin
11640 variables any more. All converted to functions.
11641 (octave-font-lock-keywords, octave-completion-at-point-function):
11642 Fix uses.
11643 (octave-font-lock-texinfo-comment): New user variable.
11644 (octave-texinfo-font-lock-keywords): New variable for texinfo
11645 comment block.
11646 (octave-function-comment-block): New face.
11647 (octave-font-lock-texinfo-comment): New function.
11648 (octave-mode): Font lock texinfo comment block.
11649
11650 2013-04-29 Leo Liu <sdl.web@gmail.com>
11651
11652 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11653 indexing expression.
11654 (octave-continuation-string): Do not use \.
11655 (inferior-octave-complete-impossible): Remove.
11656 (inferior-octave-completion-table)
11657 (inferior-octave-completion-at-point): Remove its uses.
11658 (inferior-octave-startup): completion_matches was introduced to
11659 Octave in 1996 so safe to assume it.
11660 (octave-function-file-comment): Improve to follow how Octave does it.
11661 (octave-update-function-file-comment): Tweak.
11662
11663 2013-04-29 Leo Liu <sdl.web@gmail.com>
11664
11665 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11666 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11667 (octave-function-file-comment): Fix typo.
11668 (octave-sync-function-file-names): Use read-char-choice.
11669
11670 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11671
11672 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11673 to t for the less important warnings.
11674
11675 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11676
11677 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11678
11679 2013-04-27 Glenn Morris <rgm@gnu.org>
11680
11681 * vc/log-view.el (log-view-current-entry):
11682 Treat "---" separator lines as part of the following rev. (Bug#14169)
11683
11684 2013-04-27 Juri Linkov <juri@jurta.org>
11685
11686 * subr.el (read-number): Doc fix about using it by interactive
11687 code letter `n'. (Bug#14254)
11688
11689 2013-04-27 Juri Linkov <juri@jurta.org>
11690
11691 * desktop.el (desktop-auto-save-timeout): New option.
11692 (desktop-file-checksum): New variable.
11693 (desktop-save): Add optional arg `auto-save' and don't auto-save
11694 if nothing changed.
11695 (desktop-auto-save-timer): New variable.
11696 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11697 (after-init-hook): Call `desktop-auto-save-set-timer'.
11698 Suggested by Reuben Thomas <rrt@sc3d.org> in
11699 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11700
11701 2013-04-27 Leo Liu <sdl.web@gmail.com>
11702
11703 * progmodes/octave.el (octave-function-file-p)
11704 (octave-skip-comment-forward, octave-function-file-comment)
11705 (octave-update-function-file-comment): New functions.
11706 (octave-mode-map): Bind C-c ; to
11707 octave-update-function-file-comment.
11708 (octave-mode-menu): Add octave-update-function-file-comment.
11709 (octave-mode, inferior-octave-mode): Fix doc-string.
11710 (octave-insert-defun): Conform to Octave's coding convention.
11711 (Bug#14285)
11712
11713 * files.el (basic-save-buffer): Don't let errors in
11714 before-save-hook prevent saving buffer.
11715
11716 2013-04-20 Roland Winkler <winkler@gnu.org>
11717
11718 * faces.el (read-face-name): Use completing-read if arg multiple
11719 is nil.
11720
11721 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11722
11723 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11724 displayed, move point to after the totals line.
11725 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11726 for the details.
11727
11728 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11731 Add current dir to the load-path.
11732 (package-generate-autoloads): Don't rely on
11733 autoload-ensure-default-file.
11734
11735 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11736
11737 * textmodes/remember.el (remember-store-in-files): Document that
11738 the file name format is passed to `format-time-string'.
11739
11740 2013-04-26 Leo Liu <sdl.web@gmail.com>
11741
11742 * progmodes/octave.el (octave-sync-function-file-names): New function.
11743 (octave-mode): Use it in before-save-hook.
11744
11745 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11748 (bug#14274).
11749
11750 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11751 \n and comment, even if it's not an implicit ; (bug#14218).
11752
11753 2013-04-26 Glenn Morris <rgm@gnu.org>
11754
11755 * subr.el (read-number): Once more use `read' rather than
11756 `string-to-number', to trap non-numeric input. (Bug#14254)
11757
11758 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11759
11760 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11761 Use `syntax-multiline' text property consistently instead of
11762 `font-lock-multiline'. (Bug#14237)
11763
11764 2013-04-26 Glenn Morris <rgm@gnu.org>
11765
11766 * emacs-lisp/shadow.el (list-load-path-shadows):
11767 No longer necessary to check for duplicate simple.el, since
11768 2012-07-07 change to init_lread to not include installation lisp
11769 directories in load-path when running uninstalled. (Bug#14270)
11770
11771 2013-04-26 Leo Liu <sdl.web@gmail.com>
11772
11773 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11774 (octave-mode, inferior-octave-mode): Use setq-local.
11775 (octave-not-in-string-or-comment-p): Rename to
11776 octave-in-string-or-comment-p.
11777 (octave-in-comment-p, octave-in-string-p)
11778 (octave-in-string-or-comment-p): Replace defsubst with defun.
11779
11780 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11781
11782 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11783
11784 2013-04-25 Bastien Guerry <bzg@gnu.org>
11785
11786 * textmodes/remember.el (remember-data-directory)
11787 (remember-directory-file-name-format): Fix custom types.
11788
11789 2013-04-25 Leo Liu <sdl.web@gmail.com>
11790
11791 * progmodes/octave.el (octave-completion-at-point-function):
11792 Make use of inferior octave process.
11793 (octave-initialize-completions): Remove.
11794 (inferior-octave-completion-table): New function.
11795 (inferior-octave-completion-at-point): Use it.
11796 (octave-completion-alist): Remove.
11797
11798 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11799
11800 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11801 (opascal-mode-syntax-table): New var.
11802 (opascal-literal-kind, opascal-is-literal-end)
11803 (opascal-literal-token-at): Rewrite.
11804 (opascal--literal-start-re, opascal-font-lock-keywords)
11805 (opascal--syntax-propertize): New constants.
11806 (opascal-font-lock-defaults): Adjust.
11807 (opascal-mode): Use them. Set comment-<foo> variables as well.
11808 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11809 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11810 (delphi-other-face, opascal-other-face): Remove face variables.
11811 (opascal-save-state): Remove macro.
11812 (opascal-fontifying-progress-step): Remove constant.
11813 (opascal--ignore-changes): Remove var.
11814 (opascal-set-token-property, opascal-parse-next-literal)
11815 (opascal-is-stable-literal, opascal-complete-literal)
11816 (opascal-is-literal-start, opascal-face-of)
11817 (opascal-parse-region, opascal-parse-region-until-stable)
11818 (opascal-fontify-region, opascal-after-change)
11819 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11820 (opascal-debug-parse-region, opascal-debug-parse-window)
11821 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11822 (opascal-debug-fontify-buffer): Remove.
11823 (opascal-debug-mode-map): Adjust accordingly.
11824
11825 2013-04-25 Leo Liu <sdl.web@gmail.com>
11826
11827 Merge octave-mod.el and octave-inf.el into octave.el with some
11828 cleanups.
11829 * progmodes/octave.el: New file renamed from octave-mod.el.
11830 * progmodes/octave-inf.el: Merged into octave.el.
11831 * progmodes/octave-mod.el: Renamed to octave.el.
11832
11833 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11834
11835 * textmodes/reftex-vars.el
11836 (reftex-label-ignored-macros-and-environments): New defcustom.
11837
11838 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11839
11840 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11843 (smie-indent-keyword): Improve the check to ensure that the next
11844 comment is really on the same line.
11845 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11846
11847 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11848 semi-colons if the line is not otherwise empty (bug#14218).
11849
11850 2013-04-25 Glenn Morris <rgm@gnu.org>
11851
11852 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11853
11854 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11855
11856 * progmodes/opascal.el (opascal-set-token-property): Rename from
11857 opascal-set-text-properties and only set `token' (bug#14134).
11858 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11859 (opascal-literal-text-properties): Remove.
11860 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11861 Adjust callers.
11862
11863 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11864
11865 * textmodes/remember.el (remember-handler-functions): Add an
11866 option for a new handler `remember-store-in-files'.
11867 (remember-data-directory, remember-directory-file-name-format):
11868 New options.
11869 (remember-store-in-files): New function to store remember notes
11870 as separate files within a directory.
11871
11872 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11873
11874 * progmodes/compile.el (compilation-next-error-function):
11875 Pass "formats" to compilation-find-file (bug#11777).
11876
11877 2013-04-24 Glenn Morris <rgm@gnu.org>
11878
11879 * vc/vc-bzr.el (vc-bzr-print-log):
11880 * vc/vc-hg.el (vc-hg-print-log):
11881 * vc/vc-svn.el (vc-svn-print-log):
11882 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11883
11884 * vc/vc-bzr.el (vc-bzr-print-log):
11885 * vc/vc-cvs.el (vc-cvs-print-log):
11886 * vc/vc-git.el (vc-git-print-log):
11887 * vc/vc-hg.el (vc-hg-print-log):
11888 * vc/vc-mtn.el (vc-mtn-print-log):
11889 * vc/vc-rcs.el (vc-rcs-print-log):
11890 * vc/vc-sccs.el (vc-sccs-print-log):
11891 * vc/vc-svn.el (vc-svn-print-log):
11892 * vc/vc.el (vc-print-log-internal): Doc fixes.
11893
11894 2013-04-23 Glenn Morris <rgm@gnu.org>
11895
11896 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11897 Remove venerable code attempting to avoid substitute-command-keys.
11898
11899 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11900
11901 * textmodes/reftex-vars.el (reftex-label-regexps):
11902 Call `reftex-compile-variables' after changes to this variable.
11903
11904 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11905
11906 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11907 Use lexical-binding.
11908 (jit-lock-force-redisplay): Use markers, check buffer's continued
11909 existence and beware narrowed buffers.
11910 (jit-lock-fontify-now): Adjust call accordingly.
11911
11912 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11915 to avoid misleading the user.
11916
11917 2013-04-22 Leo Liu <sdl.web@gmail.com>
11918
11919 * info-look.el: Prefer latex2e.info. (Bug#14240)
11920
11921 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11922
11923 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11924
11925 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11926 * net/tramp.el (tramp-call-process): ... here.
11927 (tramp-set-completion-function, tramp-parse-putty):
11928 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11929 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11930 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11931 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11932 (tramp-call-local-coding-command): Use `tramp-call-process'
11933 instead of `tramp-compat-call-process'.
11934
11935 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11936 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11937 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11938 (tramp-find-inline-compress): Improve traces.
11939 (tramp-maybe-send-script): Check for Perl binary.
11940 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11941
11942 2013-04-22 Daiki Ueno <ueno@gnu.org>
11943
11944 * epg.el (epg-context-pinentry-mode): New function.
11945 (epg-context-set-pinentry-mode): New function.
11946 (epg--start): Pass --pinentry-mode option to gpg command.
11947
11948 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11949
11950 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11951 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11952 `completion-at-point'. (Bug#13774)
11953
11954 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11955 default key binding for `describe-distribution' has been moved to
11956 `C-h C-o'. (Bug#13970)
11957
11958 2013-04-21 Glenn Morris <rgm@gnu.org>
11959
11960 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11961 Add doc strings.
11962 (vc-print-log): Clarify interactive prompt.
11963
11964 2013-04-20 Glenn Morris <rgm@gnu.org>
11965
11966 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11967 No longer include timestamp etc information.
11968
11969 2013-04-20 Roland Winkler <winkler@gnu.org>
11970
11971 * faces.el (read-face-name): Bug fix, return just one face if arg
11972 multiple is nil. (Bug#14209)
11973
11974 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11975
11976 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11977 (remove-function): Autoload.
11978
11979 * comint.el (comint-redirect-original-filter-function): Remove.
11980 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11981 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11982 (vc-cvs-annotate-command):
11983 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11984 * progmodes/prolog.el (prolog-consult-compile):
11985 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11986 Use add/remove-function instead.
11987 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11988 (gud-tooltip-process-output, gud-tooltip-tips):
11989 Use add/remove-function instead.
11990 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11991 (scheme-interaction-mode, exit-scheme-interaction-mode):
11992 Use add/remove-function instead.
11993
11994 * vc/vc-dispatcher.el: Use lexical-binding.
11995 (vc--process-sentinel): Rename from vc-process-sentinel.
11996 Change last arg to be the code to run. Don't use vc-previous-sentinel
11997 and vc-sentinel-commands any more.
11998 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11999 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12000
12001 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12002
12003 * progmodes/sh-script.el (sh-imenu-generic-expression):
12004 Handle function names with a single character. (Bug#14111)
12005
12006 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12007
12008 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12009 for subroutines defined in an eval (bug#14182).
12010
12011 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12012
12013 * bookmark.el (bookmark-completing-read): Improve handling of empty
12014 string (bug#14176).
12015
12016 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12019
12020 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12021
12022 New faster Imenu implementation (bug#14058).
12023 * progmodes/python.el:
12024 (python-imenu-prev-index-position):
12025 (python-imenu-format-item-label-function)
12026 (python-imenu-format-parent-item-label-function)
12027 (python-imenu-format-parent-item-jump-label-function):
12028 New vars.
12029 (python-imenu-format-item-label)
12030 (python-imenu-format-parent-item-label)
12031 (python-imenu-format-parent-item-jump-label)
12032 (python-imenu--put-parent, python-imenu--build-tree)
12033 (python-imenu-create-index, python-imenu-create-flat-index)
12034 (python-util-popn): New functions.
12035 (python-mode): Set imenu-create-index-function to
12036 python-imenu-create-index.
12037
12038 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * winner.el (winner-active-region): Use region-active-p, activate-mark
12041 and deactivate-mark (bug#14225).
12042
12043 * simple.el (deactivate-mark): Don't inline it.
12044
12045 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12046
12047 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12048
12049 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12050
12051 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12052 file extensions from the archive-mode entry in order to prefer
12053 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12054
12055 2013-04-18 Leo Liu <sdl.web@gmail.com>
12056
12057 * bindings.el (help-event-list): Add ?\?.
12058
12059 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * subr.el (with-wrapper-hook): Declare obsolete.
12062 * simple.el (filter-buffer-substring-function): New hook.
12063 (filter-buffer-substring): Use it.
12064 (filter-buffer-substring-functions): Mark obsolete.
12065 * minibuffer.el (completion-in-region-function): New hook.
12066 (completion-in-region): Use it.
12067 (completion-in-region-functions): Mark obsolete.
12068 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12069 * abbrev.el (abbrev-expand-function): New hook.
12070 (expand-abbrev): Use it.
12071 (abbrev-expand-functions): Mark obsolete.
12072 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12073 and :filter-return.
12074
12075 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12076
12077 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12078 and do not care about match data.
12079
12080 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12081
12082 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12083 completion tables when completing error conditions and
12084 `declare' arguments.
12085 (lisp-complete-symbol, field-complete): Mark as obsolete.
12086 (check-parens): Unmatched parens are user errors.
12087 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12088
12089 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12090
12091 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12092 command changed buffer (ie. `flyspell-pre-buffer' is not current
12093 buffer), which prevents making decisions based on invalid value of
12094 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12095 cause an error when `flyspell-pre-point' was nil after switching
12096 buffers.
12097 (flyspell-post-command-hook): No longer needs to change buffers when
12098 checking pre-word. While at it remove unnecessary progn.
12099
12100 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12101
12102 * textmodes/ispell.el (ispell-add-per-file-word-list):
12103 Fix `flyspell-correct-word-before-point' error when accepting
12104 words and `coment-padding' is an integer by using
12105 `comment-normalize-vars' (Bug #14214).
12106
12107 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12108
12109 New defun movement commands.
12110 * progmodes/python.el (python-nav--syntactically)
12111 (python-nav--forward-defun, python-nav-backward-defun)
12112 (python-nav-forward-defun): New functions.
12113
12114 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12115
12116 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12117 (python-syntax-context): Use named compiler-macro for backwards
12118 compatibility with Emacs 24.x.
12119
12120 2013-04-17 Leo Liu <sdl.web@gmail.com>
12121
12122 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12123 octave-hide-process-buffer.
12124
12125 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12128 (bug#14216).
12129
12130 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12131
12132 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12133 Fix adjustment of offset when receiving incomplete responses from GDB
12134 (bug#14129).
12135
12136 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12137
12138 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12139 python-mode-abbrev-table.
12140 (python-skeleton-define): Adjust accordingly.
12141 (python-mode-abbrev-table): New table that inherits from it so that
12142 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12143
12144 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12145 (abbrev-symbol): Use it.
12146 (abbrev--before-point): Use it since we already handle inheritance.
12147
12148 2013-04-16 Leo Liu <sdl.web@gmail.com>
12149
12150 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12151 binding to info-lookup-symbol.
12152
12153 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12154
12155 * minibuffer.el (completion--twq-all):
12156 * term/ns-win.el (ns-initialize-window-system):
12157 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12158
12159 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12162 global bindings.
12163
12164 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12165
12166 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12167
12168 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12169 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12170 to nil.
12171 (ruby-end-of-defun): Remove the unused arg, change the docstring
12172 to reflect that this function is only used as the value of
12173 `end-of-defun-function'.
12174 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12175 to reflect an earlier change that beginning/end-of-defun functions
12176 jump between methods in a class definition, as well as top-level
12177 functions.
12178
12179 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * minibuffer.el (minibuffer-complete): Don't just scroll
12182 a *Completions* that's been iconified.
12183 (minibuffer-force-complete): Make sure repetitions do cycle when going
12184 through completion-in-region -> minibuffer-complete.
12185
12186 2013-04-15 Alan Mackenzie <acm@muc.de>
12187
12188 Correct the placement of c-cpp-delimiters when there're #s not at
12189 col 0.
12190
12191 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12192 place a submatch around the #.
12193 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12194 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12195 on the #, not BOL.
12196
12197 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12200 (advice--member-p): New arg `name'.
12201 (advice--add-function, advice-member-p): Use it (bug#14202).
12202
12203 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12204
12205 Reformulate java imenu-generic-expression.
12206 The old expression contained ill formed regexps.
12207
12208 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12209 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12210 (cc-imenu-java-method-arg-regexp): New defconsts.
12211 (cc-imenu-java-build-type-args-regex): New defun.
12212 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12213 handling of spaces in the regexp.
12214
12215 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12216
12217 * textmodes/ispell.el (ispell-command-loop): Remove
12218 flyspell highlight of a word when ispell accepts it (bug #14178).
12219
12220 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12221
12222 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12223 uses code from the previous `ange-ftp-run-real-handler'.
12224 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12225 only in case that function exist. This is needed for proper
12226 unloading of Tramp.
12227
12228 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12229
12230 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12231
12232 * textmodes/reftex.el (reftex-compile-variables): Use it.
12233
12234 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * files.el (normal-mode): Only use default major-mode if no other mode
12237 was specified.
12238
12239 * emacs-lisp/trace.el (trace-values): New function.
12240
12241 * files.el: Allow : in local variables (bug#14089).
12242 (hack-local-variable-regexp): New var.
12243 (hack-local-variables-prop-line, hack-local-variables): Use it.
12244
12245 2013-04-13 Roland Winkler <winkler@gnu.org>
12246
12247 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12248 data before it gets modified by bibtex-beginning-of-entry.
12249
12250 2013-04-13 Roland Winkler <winkler@gnu.org>
12251
12252 * textmodes/bibtex.el (bibtex-url): Doc fix.
12253
12254 2013-04-13 Roland Winkler <winkler@gnu.org>
12255
12256 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12257 does not visit a BibTeX file, exclude it from the list of buffers
12258 returned by bibtex-initialize.
12259
12260 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12261
12262 * window.el (split-window): Remove interactive form, since as a
12263 command this function is a special case of split-window-below.
12264 Correct doc string.
12265
12266 2013-04-12 Roland Winkler <winkler@gnu.org>
12267
12268 * faces.el (read-face-name): Do not override value of arg default.
12269 Allow single faces and strings as default values. Remove those
12270 elements from return value that are not faces.
12271 (describe-face): Simplify.
12272 (face-at-point): New optional args thing and multiple so that this
12273 function can provide the same functionality previously provided by
12274 read-face-name.
12275 (make-face-bold, make-face-unbold, make-face-italic)
12276 (make-face-unitalic, make-face-bold-italic, invert-face)
12277 (modify-face, read-face-and-attribute): Use face-at-point.
12278
12279 * cus-edit.el (customize-face, customize-face-other-window)
12280 * cus-theme.el (custom-theme-add-face)
12281 * face-remap.el (buffer-face-set)
12282 * facemenu.el (facemenu-set-face): Use face-at-point.
12283
12284 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12285
12286 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12287
12288 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12289
12290 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12291 off leading { and trailing } from field values.
12292
12293 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * emacs-lisp/timer.el (timer--check): New function.
12296 (timer--time, timer-set-function, timer-event-handler): Use it.
12297 (timer-set-idle-time): Simplify.
12298 (timer--activate): CSE.
12299 (timer-event-handler): Give more info in error message.
12300 (internal-timer-start-idle): New function, moved from C.
12301
12302 * mpc.el (mpc-proc): Add `restart' argument.
12303 (mpc-proc-cmd): Use it.
12304 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12305 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12306 less often.
12307
12308 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12309
12310 * progmodes/sh-script.el: Implement `sh-mode' own
12311 `add-log-current-defun-function' (bug#14112).
12312 (sh-current-defun-name): New function.
12313 (sh-mode): Use the function.
12314
12315 2013-04-09 Bastien Guerry <bzg@gnu.org>
12316
12317 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12318
12319 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12322
12323 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12324 timer (bug#14156).
12325
12326 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12327
12328 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12329 declaration.
12330
12331 2013-04-07 Leo Liu <sdl.web@gmail.com>
12332
12333 * pcmpl-x.el: New file.
12334
12335 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12336
12337 Do not set x-display-name until X connection is established.
12338 This is needed to prevent from weird situation described at
12339 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12340 * frame.el (make-frame): Set x-display-name after call to
12341 window system initialization function, not before.
12342 * term/x-win.el (x-initialize-window-system): Add optional
12343 display argument and use it.
12344 * term/w32-win.el (w32-initialize-window-system):
12345 * term/ns-win.el (ns-initialize-window-system):
12346 * term/pc-win.el (msdos-initialize-window-system):
12347 Add compatible optional display argument.
12348
12349 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12350
12351 * files.el (normal-backup-enable-predicate): On MS-Windows and
12352 MS-DOS compare truenames of temporary-file-directory and of the
12353 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12354 don't fail comparison by compare-strings. Also, compare file
12355 names case-insensitively on MS-Windows and MS-DOS.
12356
12357 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12360 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12361
12362 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12363
12364 * whitespace.el (whitespace-color-on, whitespace-color-off):
12365 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12366
12367 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12368
12369 * ispell.el (ispell-set-spellchecker-params):
12370 Really set `ispell-args' for all equivs.
12371
12372 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * ido.el (ido-completions): Use extra elements of ido-decorations
12375 (bug#14143).
12376 (ido-decorations): Update docstring.
12377
12378 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12379
12380 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12381 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12382 nil during initialization, in order not to miss changes since the
12383 file was opened. (Bug#14140)
12384
12385 2013-04-05 Leo Liu <sdl.web@gmail.com>
12386
12387 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12388
12389 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12390
12391 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12392
12393 2013-04-04 Glenn Morris <rgm@gnu.org>
12394
12395 * electric.el (electric-pair-inhibit-predicate): Add :version.
12396
12397 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12398
12399 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12400 when a package is required several times (bug#14082).
12401
12402 2013-04-04 Roland Winkler <winkler@gnu.org>
12403
12404 * faces.el (read-face-name): Behave as promised by the docstring.
12405 Assume that arg default is a list of faces.
12406 (describe-face): Call read-face-name with list of default faces.
12407
12408 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12409
12410 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12411 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12412 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12413 the header.
12414 (bookmark-exit-hook-internal): Save even if list is empty.
12415
12416 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12417
12418 * emacs-lisp/package.el (package-pinned-packages): New var.
12419 (package--add-to-archive-contents): Obey it (bug#14118).
12420
12421 2013-04-03 Alan Mackenzie <acm@muc.de>
12422
12423 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12424 Also adapt to the new values of element 7 of a parse state.
12425
12426 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12427 parameter `not-in-delimiter'. Handle being inside comment opener.
12428 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12429 character in case we're typing a '*' after a '/'.
12430 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12431 instead by passing the parameter to c-state-pp-to-literal.
12432
12433 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12434 for elt. 7 of a parse state.
12435
12436 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12437
12438 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12439 * international/latin1-disp.el, international/mule-util.el:
12440 * language/cyril-util.el, language/european.el, language/ind-util.el:
12441 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12442 * language/tibetan.el, language/viet-util.el:
12443 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12444
12445 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12446
12447 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12448 (electric-pair-post-self-insert-function): Use it.
12449 (electric-pair-default-inhibit): New function, extracted from
12450 electric-pair-post-self-insert-function.
12451
12452 2013-03-31 Roland Winkler <winkler@gnu.org>
12453
12454 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12455
12456 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12457
12458 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12459
12460 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12461
12462 Un-indent after "pass" and "return" statements (Bug#13888)
12463 * progmodes/python.el (python-indent-block-enders): New var.
12464 (python-indent-calculate-indentation): Use it.
12465
12466 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12467
12468 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12469 defun. Defining it as defalias could introduce too eager
12470 byte-compiler optimization. (Bug#14030)
12471
12472 2013-03-30 Chong Yidong <cyd@gnu.org>
12473
12474 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12475
12476 2013-03-30 Leo Liu <sdl.web@gmail.com>
12477
12478 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12479 (kmacro-execute-from-register): Pass the keyboard macro to
12480 kmacro-call-macro or repeating won't work correctly.
12481
12482 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12483
12484 * progmodes/subword.el: Back to using `forward-symbol'.
12485
12486 * subr.el (forward-whitespace, forward-symbol)
12487 (forward-same-syntax): Move from thingatpt.el.
12488
12489 2013-03-29 Leo Liu <sdl.web@gmail.com>
12490
12491 * kmacro.el (kmacro-to-register): New command.
12492 (kmacro-execute-from-register): New function.
12493 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12494
12495 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * mpc.el: Use defvar-local and setq-local.
12498 (mpc--proc-connect): Connection failures are not bugs.
12499 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12500 (mpc-volume-map): Bind to the up-events.
12501
12502 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12503
12504 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12505 instead of `forward-symbol'.
12506
12507 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12510 (edebug--recursive-edit): Use it.
12511 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12512 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12513
12514 2013-03-28 Leo Liu <sdl.web@gmail.com>
12515
12516 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12517
12518 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12519
12520 * facemenu.el (list-colors-callback): New defvar.
12521 (list-colors-redisplay): New function.
12522 (list-colors-display): Install list-colors-redisplay as the
12523 revert-buffer-function. (Bug#14063)
12524
12525 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12528 and suffixes don't overlap (bug#14061).
12529
12530 * case-table.el: Use lexical-binding.
12531 (case-table-get-table): New function.
12532 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12533
12534 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12535
12536 * progmodes/subword.el: Add `superword-mode' to do word motion
12537 over symbol_words (parallels and leverages `subword-mode' which
12538 does word motion inside MixedCaseWords).
12539
12540 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12541
12542 * eshell/em-unix.el: Move su and sudo to...
12543 * eshell/em-tramp.el: ...Eshell tramp module.
12544
12545 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12548 Change return value to be a sexp. Delay `get-buffer' to after
12549 restoring the desktop (bug#13951).
12550
12551 2013-03-26 Leo Liu <sdl.web@gmail.com>
12552
12553 * register.el: Move semantic tag handling back to
12554 cedet/semantic/senator.el. (Bug#14052)
12555
12556 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12559 into the prompt either (bug#13963).
12560
12561 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12564 part of "(error-foo)".
12565
12566 2013-03-24 Juri Linkov <juri@jurta.org>
12567
12568 * replace.el (list-matching-lines-prefix-face): New defcustom.
12569 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12570 `occur-engine' if `face-differs-from-default-p' returns t.
12571 (occur-engine): Add `,' inside backquote construct to evaluate
12572 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12573 Pass `prefix-face' to the functions `occur-context-lines' and
12574 `occur-engine-add-prefix'.
12575 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12576 `prefix-face' and propertize the prefix with `prefix-face'.
12577 (Bug#14017)
12578
12579 2013-03-24 Leo Liu <sdl.web@gmail.com>
12580
12581 * nxml/rng-valid.el (rng-validate-while-idle)
12582 (rng-validate-quick-while-idle): Guard against deleted buffer.
12583 (Bug#13999)
12584
12585 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12586 is the last entry in kill-buffer-hook.
12587
12588 * files.el (kill-buffer-hook): Doc fix.
12589
12590 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12591
12592 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12593 Make it safe-local.
12594
12595 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12596
12597 2013-03-23 Leo Liu <sdl.web@gmail.com>
12598
12599 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12600 Remove.
12601
12602 * nxml/rng-valid.el (rng-validate-mode)
12603 (rng-after-change-function, rng-do-some-validation):
12604 * nxml/rng-maint.el (rng-validate-buffer):
12605 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12606 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12607 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12608 (nxml-extend-after-change-region): Use with-silent-modifications.
12609
12610 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12611 timer-idle-list.
12612
12613 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12614 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12615 timer-idle-list. (Bug#13999)
12616
12617 2013-03-23 Juri Linkov <juri@jurta.org>
12618
12619 * info.el (info-index-match): New face.
12620 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12621 main pattern and add text properties with the new face to matches
12622 in index entries relative to the beginning of the index entry.
12623 (Bug#14015)
12624
12625 2013-03-21 Eric Ludlam <zappo@gnu.org>
12626
12627 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12628 Inhibit read only while inserting objects.
12629
12630 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12631
12632 * progmodes/cfengine.el: Update docs to mention
12633 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12634 symbol motion. Remove "_" from the word syntax.
12635
12636 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12637
12638 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12639 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12640
12641 2013-03-20 Juri Linkov <juri@jurta.org>
12642
12643 * info.el (Info-next-reference-or-link)
12644 (Info-prev-reference-or-link): New functions.
12645 (Info-next-reference, Info-prev-reference): Use them.
12646 (Info-try-follow-nearest-node): Handle footnote navigation.
12647 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12648
12649 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12652 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12653
12654 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12655
12656 Suppress unnecessary non-ASCII chatter during build process.
12657 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12658 (batch-skkdic-convert): Suppress most of the chatter.
12659 It's not needed so much now that machines are faster,
12660 and its non-ASCII component was confusing; see Dmitry Gutov in
12661 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12662
12663 2013-03-20 Leo Liu <sdl.web@gmail.com>
12664
12665 * ido.el (ido-chop): Fix bug#10994.
12666
12667 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12668
12669 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12670 Remove vars.
12671 (whitespace-color-on, whitespace-color-off):
12672 Use `font-lock-fontify-buffer' (Bug#13817).
12673
12674 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12677 remapping in mode-line.
12678 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12679
12680 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12681
12682 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12683 value for `whitespace-line' face (Bug#13875).
12684 (whitespace-font-lock-keywords): Change description.
12685 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12686 the constructed keywords instead.
12687 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12688
12689 2013-03-19 Leo Liu <sdl.web@gmail.com>
12690
12691 * progmodes/compile.el (compilation-display-error): New command.
12692 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12693 C-o. (Bug#13992)
12694
12695 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12696
12697 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12698
12699 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12700
12701 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12702
12703 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12704
12705 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12706
12707 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12708 * net/tramp-gvfs.el (top):
12709 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12710 (tramp-handle-shell-command): Use it.
12711 (tramp-dissect-file-name): Raise an error when hostname is a
12712 method name, and neither method nor user is specified.
12713
12714 * net/trampver.el: Update release number.
12715
12716 2013-03-18 Leo Liu <sdl.web@gmail.com>
12717
12718 Make sure eldoc can be turned off properly.
12719 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12720 eldoc-mode.
12721 (eldoc-display-message-p): Revert last change.
12722 (eldoc-display-message-no-interference-p)
12723 (eldoc-print-current-symbol-info): Tweak.
12724
12725 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12726
12727 * doc-view.el (doc-view-new-window-function): Check the new window
12728 overlay's display property instead the char property of the
12729 buffer's first char. Use `with-selected-window' instead of
12730 `save-window-excursion' with `select-window'.
12731 (doc-view-document->bitmap): Check the current doc-view overlay's
12732 display property instead the char property of the buffer's first char.
12733
12734 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12735
12736 Automate the build of ja-dic.el (Bug#13984).
12737 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12738 from the input, rather than assume that it's been done for us by the
12739 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12740 the current date into a ja-dic.el comment, as that complicates
12741 regression testing.
12742
12743 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * whitespace.el: Fix double evaluation.
12746 (whitespace-space, whitespace-hspace, whitespace-tab)
12747 (whitespace-newline, whitespace-trailing, whitespace-line)
12748 (whitespace-space-before-tab, whitespace-indentation)
12749 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12750 obsolete defvars.
12751 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12752 (whitespace-color-on): Use a single font-lock-add-keywords call.
12753 Fix double-evaluation of face variables.
12754
12755 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12756
12757 * net/tramp-adb.el (tramp-adb-parse-device-names):
12758 Use `start-process' instead of `call-process'. Otherwise, the
12759 function might be blocked under MS Windows. (Bug#13299)
12760
12761 2013-03-17 Leo Liu <sdl.web@gmail.com>
12762
12763 Extend eldoc to display info in the mode-line. (Bug#13978)
12764 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12765 (eldoc-mode-line-string): New variable.
12766 (eldoc-minibuffer-message): New function.
12767 (eldoc-message-function): New variable.
12768 (eldoc-message): Use it.
12769 (eldoc-display-message-p)
12770 (eldoc-display-message-no-interference-p):
12771 Support eldoc-post-insert-mode.
12772
12773 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12774 (eval-expression): Run it.
12775
12776 2013-03-17 Roland Winkler <winkler@gnu.org>
12777
12778 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12779 strings in the list of return values.
12780
12781 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12782
12783 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12784 radix before checking for HMS forms.
12785
12786 2013-03-16 Leo Liu <sdl.web@gmail.com>
12787
12788 * progmodes/scheme.el: Add indentation and font-locking for λ.
12789 (Bug#13975)
12790
12791 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12794 token before point (bug#13942).
12795
12796 2013-03-16 Leo Liu <sdl.web@gmail.com>
12797
12798 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12799
12800 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12801
12802 * startup.el (command-line-normalize-file-name): Fix handling of
12803 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12804 <xfq.free@gmail.com> in
12805 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12806
12807 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12808
12809 Sync with Tramp 2.2.7.
12810
12811 * net/trampver.el: Update release number.
12812
12813 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12814
12815 * doc-view.el: Fix bug#13887.
12816 (doc-view-insert-image): Don't modify overlay associated to
12817 non-live windows, and implement horizontal centering of image in
12818 case it's smaller than the window.
12819 (doc-view-new-window-function): Force redisplay of new windows on
12820 doc-view buffers.
12821
12822 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12823
12824 * saveplace.el (save-place-alist-to-file): Don't sort
12825 `save-place-alist', just pretty-print it (bug#13882).
12826
12827 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12828
12829 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12830 Check whether `default-file-name-coding-system' is bound.
12831 It isn't in XEmacs.
12832
12833 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12834
12835 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12836 backquotes for `obsolete' (bug#13929).
12837
12838 * international/mule.el (find-auto-coding): Include file name in
12839 obsolescence warning (bug#13922).
12840
12841 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12842
12843 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12844 for CFEngine 3-specific indentation.
12845 (cfengine3-indent-line): Use it. Fix up category regex.
12846 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12847
12848 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * type-break.el (type-break-file-name):
12851 * textmodes/remember.el (remember-data-file):
12852 * strokes.el (strokes-file):
12853 * shadowfile.el (shadow-initialize):
12854 * saveplace.el (save-place-file):
12855 * ps-bdf.el (bdf-cache-file):
12856 * progmodes/idlwave.el (idlwave-config-directory):
12857 * net/quickurl.el (quickurl-url-file):
12858 * international/kkc.el (kkc-init-file-name):
12859 * ido.el (ido-save-directory-list-file):
12860 * emulation/viper.el (viper-custom-file-name):
12861 * emulation/vip.el (vip-startup-file):
12862 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12863 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12864
12865 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12866
12867 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12868 * language/thai-word.el: Switch to UTF-8.
12869
12870 See ChangeLog.16 for earlier changes.
12871
12872 ;; Local Variables:
12873 ;; coding: utf-8
12874 ;; End:
12875
12876 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12877
12878 This file is part of GNU Emacs.
12879
12880 GNU Emacs is free software: you can redistribute it and/or modify
12881 it under the terms of the GNU General Public License as published by
12882 the Free Software Foundation, either version 3 of the License, or
12883 (at your option) any later version.
12884
12885 GNU Emacs is distributed in the hope that it will be useful,
12886 but WITHOUT ANY WARRANTY; without even the implied warranty of
12887 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12888 GNU General Public License for more details.
12889
12890 You should have received a copy of the GNU General Public License
12891 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.