]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* files.el (find-file-noselect): Clarify prompt when changing readedness.
[gnu-emacs] / lisp / ChangeLog
1 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * files.el (find-file-noselect): Clarify prompt when changing
4 readedness (bug#13261).
5
6 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
7 before we actually start to delete things (bug#16331).
8
9 * subr.el (event-start): Doc fix (bug#14228).
10 (event-end): Ditto.
11
12 2014-02-09 Glenn Morris <rgm@gnu.org>
13
14 * emacs-lisp/warnings.el (lwarn):
15 Empower help-enable-auto-load. (Bug#15940)
16
17 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18
19 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
20 (Bug#16690)
21
22 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
23
24 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
25 Insert output at end of buffer. (Bug#16120)
26
27 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
28
29 * simple.el (choose-completion-string-functions): Document new
30 calling convention (bug#14153).
31 (execute-extended-command): Clarify doc string (bug#13373).
32
33 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
34
35 * find-dired.el (find-name-dired): Doc fix (bug#14290).
36 (find-grep-dired): Doc fix (bug#14288).
37
38 2014-02-08 Juri Linkov <juri@jurta.org>
39
40 * isearch.el (isearch-quote-char): Check character validity
41 like in `quoted-insert' (bug#16677).
42
43 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
44
45 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
46
47 * isearch.el (isearch-hide-immediately): Doc clarification
48 (bug#14723).
49
50 * simple.el (line-move): Document utility function used many
51 places in the Emacs sources (bug#14843).
52
53 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
54 (dired-prev-marked-file): Doc fix (bug#14855).
55 (dired-up-directory): Doc fix (bug#14848).
56
57 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
58
59 * files.el (file-relative-name): Doc fix (bug#15159).
60
61 * fringe.el (fringe-styles): Doc fix (bug#15239).
62
63 * isearch.el (isearch-filter-predicate): Documentation typo fix
64 (bug#15474).
65
66 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
67
68 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
69
70 * replace.el (replace-match-maybe-edit): Doc clarification
71 (bug#15632).
72
73 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
74
75 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
76
77 2014-02-08 Glenn Morris <rgm@gnu.org>
78
79 * help-fns.el (describe-variable):
80 Check {file,dir}-local-variables-alist, and buffer-file-name,
81 in the correct buffer.
82
83 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
84
85 * help-fns.el (describe-variable): Fix the case where
86 a value is directory-local with no dir-locals file. (Bug#16635)
87
88 2014-02-08 Glenn Morris <rgm@gnu.org>
89
90 * abbrev.el (edit-abbrevs-mode):
91 Derive from fundamental-mode. (Bug#16682)
92
93 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
94
95 * simple.el (quoted-insert): Check character validity (bug#16677).
96
97 2014-02-07 Juri Linkov <juri@jurta.org>
98
99 * desktop.el (desktop-read): Claim the lock when the owner is not
100 the current process. (Bug#16157)
101
102 2014-02-07 Juri Linkov <juri@jurta.org>
103
104 * desktop.el (desktop-buffers-not-to-save): Change default from nil
105 to "\\` ". (Bug#16651)
106
107 2014-02-07 Juri Linkov <juri@jurta.org>
108
109 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
110 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
111 (desktop-auto-save-cancel-timer): New function with some code from
112 `desktop-auto-save-set-timer'.
113 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
114 Instead of setting `desktop-save-mode' to nil, call
115 `desktop-save-mode' with arg 0. (Bug#16630)
116
117 2014-02-07 Glenn Morris <rgm@gnu.org>
118
119 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
120 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
121 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
122
123 * obsolete/iswitchb.el: Move to obsolete/.
124 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
125 since obsolete/ is not scanned for autoloads.
126 * emacs-lisp/authors.el (authors-valid-file-names):
127 Add iswitchb.el.
128
129 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
130 Disable now non-functional find-file-hook.
131
132 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
135 instead of ";" in order to avoid additional prompts. Let heredoc
136 scripts read from tty. (Bug#16582)
137 (tramp-send-command): No special handling of heredocs, it isn't
138 necessary anymore.
139
140 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
143 with a space (bug#16664). Limit the symbols considered to the ones
144 that are bound or fbound (bug#16646).
145
146 2014-02-06 Glenn Morris <rgm@gnu.org>
147
148 * epa.el (epa-mail-aliases): Doc fix.
149
150 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
151
152 * emacs-lisp/lisp.el (lisp-completion-at-point):
153 Use `completion-table-merge' instead of `completion-table-in-turn'
154 (bug#16604).
155
156 * minibuffer.el (completion-table-merge): New function.
157
158 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
159
160 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
161 (tramp-sh-handle-set-file-acl)
162 (tramp-sh-handle-start-file-process)
163 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
164 (tramp-find-executable, tramp-send-command): Use it.
165
166 2014-02-05 Glenn Morris <rgm@gnu.org>
167
168 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
169
170 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
171
172 * progmodes/python.el (python-shell-send-string):
173 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
174
175 2014-02-04 Anders Lindgren <andlind@gmail.com>
176
177 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
178 the names (bug#16620).
179
180 2014-02-03 Martin Rudalics <rudalics@gmx.at>
181
182 * faces.el (window-divider): New default value. Rewrite doc-string.
183 (window-divider-first-pixel, window-divider-last-pixel): New faces.
184
185 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
186
187 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
188 `protected' and `public' can also be called without arguments.
189
190 2014-02-03 Glenn Morris <rgm@gnu.org>
191
192 * register.el (window-configuration-to-register)
193 (frame-configuration-to-register): Unadvertise unused argument.
194 * frameset.el (frameset-to-register): Remove unused argument.
195
196 * frameset.el (frameset-to-register):
197 * kmacro.el (kmacro-to-register):
198 * register.el (increment-register):
199 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
200 (calc-append-to-register, calc-prepend-to-register):
201 * play/gametree.el (gametree-layout-to-register)
202 (gametree-apply-register-layout):
203 * textmodes/picture.el (picture-clear-rectangle-to-register)
204 (picture-yank-rectangle-from-register):
205 * vc/emerge.el (emerge-combine-versions-register):
206 Use register-read-with-preview to read registers.
207
208 2014-02-03 João Távora <joaotavora@gmail.com>
209
210 * elec-pair.el (electric-pair-backward-delete-char): Don't error
211 when at beginning of (possibly narrowed) buffer.
212
213 2014-02-02 Daniel Colascione <dancol@dancol.org>
214
215 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
216 Also try to display local help from just before point.
217
218 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
219
220 c-parse-state. Don't "append-lower-brace-pair" in certain
221 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
222 recognised as a comment.
223
224 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
225 as well as normal comment starter.
226 (c-parse-state-get-strategy): Extra return possibility
227 'back-and-forward.
228 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
229 return value list to indicate replacement of a brace-pair cons
230 with its car.
231 (c-parse-state-1): With 'back-and-forward, only call
232 c-append-lower-brace-pair-to state-cache when cons-separated.
233
234 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
235
236 * term/ns-win.el (ns-suspend-error): New function.
237 (ns-initialize-window-system): Add ns-suspend-error to
238 suspend-hook (Bug#16612).
239
240 2014-02-02 Daniel Colascione <dancol@dancol.org>
241
242 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
243
244 2014-02-02 Daniel Colascione <dancol@dancol.org>
245
246 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
247
248 2014-02-02 Glenn Morris <rgm@gnu.org>
249
250 * register.el (register-read-with-preview, point-to-register)
251 (window-configuration-to-register, frame-configuration-to-register)
252 (jump-to-register, number-to-register, view-register, insert-register)
253 (copy-to-register, append-to-register, prepend-to-register)
254 (copy-rectangle-to-register): Doc fixes.
255
256 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
259 * emacs-lisp/find-func.el (find-function-C-source): Idem.
260 * emacs-lisp/nadvice.el (advice--cd*r): New function.
261 * help-fns.el (describe-function-1): Use it.
262
263 2014-02-02 Glenn Morris <rgm@gnu.org>
264
265 * register.el (register-preview-default): New function,
266 split from register-preview.
267 (register-preview-function): Rename from register-preview-functions,
268 make it not a hook.
269 (register-preview): Use register-preview-function.
270 (register-read-with-preview): Error on non-character event. (Bug#16595)
271
272 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
273
274 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
275 `:' before binary operators (bug#16609). Don't check for `:'
276 before `[' and `(', or their syntax status. A percent literal
277 can't end with either.
278 (ruby-font-lock-keywords): For built-ins that require arguments,
279 check that they're followed by something that looks like argument
280 (bug#16610).
281
282 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
283
284 * subr.el (butlast): Document what an omitted N means (bug#13437).
285 (nbutlast): Ditto.
286
287 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
288
289 * net/shr.el (shr-generic): Make into a defsubst to make the stack
290 depth shallower (bug#16587).
291 (shr-tag-svg): Respect `shr-inhibit-images'.
292 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
293
294 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
297 (ruby-smie-grammar): Make "." right-associative. Make its priority
298 lower than the ternary and all binary operators.
299 (ruby-smie-rules): Indent "(" relative to the first non-"."
300 parent, or the first "." parent at indentation.
301 Use `ruby-align-chained-calls' for indentation of "." tokens.
302 (Bug#16593)
303
304 2014-01-31 Juri Linkov <juri@jurta.org>
305
306 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
307 from `make-hash-table'.
308
309 * textmodes/ispell.el (ispell-init-process): Change message format
310 to be consistent with other messages.
311
312 2014-01-31 Glenn Morris <rgm@gnu.org>
313
314 * delsel.el (delete-selection-mode): Doc fix.
315
316 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
317 (trace-function-background): Doc fixes.
318
319 * ido.el (ido-use-virtual-buffers): Doc fix.
320 Reset :version, since the default value has not changed.
321
322 * register.el (register-preview-delay, register-read-with-preview):
323 Doc fixes.
324
325 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
326 do not mess with mail-buffer position (fixes 2009-11-03 change).
327 * progmodes/cc-mode.el (c-submit-bug-report):
328 Check auto-fill-mode is bound. (Bug#16592)
329
330 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
331
332 * startup.el (fancy-splash-image-file): New function,
333 split from fancy-splash-head.
334 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
335 so that we are both using the same image. (Bug#16574)
336
337 2014-01-30 Glenn Morris <rgm@gnu.org>
338
339 * simple.el (eval-expression): Doc fix.
340
341 * hexl.el (hexl-mode-hook):
342 * ielm.el (ielm-mode-hook):
343 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
344 (lisp-interaction-mode-hook):
345 * progmodes/cfengine.e (cfengine3-documentation-function):
346 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
347
348 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
351 is a symbol (bug#16584).
352
353 2014-01-30 Glenn Morris <rgm@gnu.org>
354
355 * help.el (help-for-help-internal): Add "P" to text.
356
357 2014-01-29 Glenn Morris <rgm@gnu.org>
358
359 * simple.el (just-one-space, cycle-spacing): Doc fixes.
360
361 2014-01-28 Martin Rudalics <rudalics@gmx.at>
362
363 * window.el (fit-frame-to-buffer): Fix calculations for margins and
364 height constraints.
365
366 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
367
368 * progmodes/hideif.el: Extend to full CPP expression syntax.
369 (hif-token-alist): Add missing tokens.
370 (hif-token-regexp): Add support for float/octal/hex immediates.
371 (hif-string-literal-regexp): New const.
372 (hif-tokenize): Recognize strings and float/octal/hex immediates.
373 (hif-exprlist): New function.
374 (hif-parse-if-exp): Use it.
375 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
376 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
377 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
378 (hif-logxor, hif-comma): New functions.
379
380 2014-01-28 Glenn Morris <rgm@gnu.org>
381
382 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
383
384 * indent.el (tab-stop-list): Doc fix. Add :version.
385
386 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
387 (cvs-append-to-ignore): Add compatibility alias.
388
389 2014-01-27 Glenn Morris <rgm@gnu.org>
390
391 * dired.el (dired-hide-details-mode): Don't autoload it,
392 since it cannot be used outside Dired buffers anyway.
393
394 * emulation/cua-base.el (cua-mode): Doc fix.
395
396 * dired.el (dired-hide-details-hide-symlink-targets)
397 (dired-hide-details-hide-information-lines)
398 (dired-hide-details-mode): Doc fixes.
399
400 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
401 * strokes.el (strokes-file): Doc fix. Bump :version.
402 (strokes-help): Doc fix.
403 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
404 * emulation/viper.el (viper): Doc fix for custom group.
405 (top-level): Remove oh-so-no-longer-relevant text about vip.
406 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
407
408 * ido.el (ido-save-directory-list-file):
409 * saveplace.el (save-place-file):
410 * calendar/timeclock.el (timeclock-file):
411 * net/quickurl.el (quickurl-url-file):
412 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
413 * progmodes/idlwave.el (idlwave-config-directory):
414 * textmodes/remember.el (remember-data-file):
415 Bump :version.
416
417 2014-01-26 Glenn Morris <rgm@gnu.org>
418
419 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
420 Doc fix. Make obsolete.
421 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
422
423 * sort.el (delete-duplicate-lines): Doc fix.
424
425 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
426
427 * progmodes/ada-mode.el (ada):
428 * woman.el (woman): Link to info manual and Commentary section.
429
430 * progmodes/flymake.el (flymake):
431 * nxml/nxml-mode.el (nxml):
432 * net/eww.el (eww):
433 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
434 * htmlfontify.el (htmlfontify):
435 * ses.el (ses):
436 * epa.el (epa):
437 * ido.el (ido): Link to info manual.
438
439 2014-01-25 Leo Liu <sdl.web@gmail.com>
440
441 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
442
443 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
444
445 * net/shr.el (shr-tag-img): Prefer the title over the alt text
446 (bug#16537).
447
448 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
449
450 * net/eww.el (eww-download-callback):
451 Fix reference to eww-download-directory.
452
453 * emacs-lisp/bytecomp.el (byte-compile-file):
454 Remove unused local variable `file-name'.
455
456 2014-01-24 Glenn Morris <rgm@gnu.org>
457
458 * woman.el (woman-default-faces, woman-monochrome-faces):
459 Fix obsolescence specification.
460
461 * subr.el (with-demoted-errors): Doc fix.
462
463 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
466 (cl--macroexp-fboundp): New function.
467 (cl--make-type-test): Use it.
468
469 2014-01-23 Glenn Morris <rgm@gnu.org>
470
471 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
472 * simple.el (eval-expression): Doc fixes.
473
474 2014-01-22 Glenn Morris <rgm@gnu.org>
475
476 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
477
478 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/package.el: Write files silently.
481 (package-autoload-ensure-default-file, package--write-file-no-coding)
482 (package-generate-description-file, package--download-one-archive)
483 (package-install-from-archive): Tell `write-region' to stay quiet.
484 (package-menu-mode, package-menu--print-info): Omit the Archive column
485 if there's only one archive.
486 (package-all-keywords, package--has-keyword-p): Remove dead code.
487
488 2014-01-22 Glenn Morris <rgm@gnu.org>
489
490 * version.el (emacs-bzr-version-bzr): Fix typo.
491
492 * version.el (emacs-repository-get-version):
493 Check either .bzr or .git, but not both.
494 Make the git case actually use the DIR argument, and return nil
495 rather than the empty string.
496 Avoid error if .git exists but the git executable is not found.
497
498 2014-01-22 Martin Rudalics <rudalics@gmx.at>
499
500 Fixes in window size functions around Bug#16430 and Bug#16470.
501 * window.el (window-total-size, window-size): New argument ROUND.
502 (window--min-delta-1, window-min-delta, window--max-delta-1):
503 Be more conservative when calculating the numbers of lines or
504 columns a window can shrink (Bug#16430).
505 (fit-window-to-buffer): Simplify code.
506 * term.el (term-window-width): Call window-body-width again.
507
508 2014-01-22 Glenn Morris <rgm@gnu.org>
509
510 * image.el (image-format-suffixes): Doc fix.
511
512 * international/quail.el (quail-define-package): Doc fix.
513
514 * emacs-lisp/authors.el (authors-valid-file-names):
515 (authors-renamed-files-alist): Additions.
516
517 * vc/vc-git.el (vc-git-print-log): Remove --follow;
518 reverts 2014-01-09 change. (Bug#16422)
519
520 * calc/calc-embed.el (thing-at-point-looking-at):
521 * emacs-lisp/map-ynp.el (x-popup-dialog):
522 * obsolete/lmenu.el (x-popup-dialog):
523 * emacs-lisp/package.el (url-recreate-url):
524 * mail/mailclient.el (clipboard-kill-ring-save):
525 * subr.el (x-popup-dialog): Update declaration.
526 * mail/rmail.el (rmail-mime-message-p):
527 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
528
529 2014-01-21 Daniel Colascione <dancol@dancol.org>
530
531 * progmodes/sh-script.el (sh--inside-noncommand-expression):
532 Correctly detect when we're inside an arithmetic expansion form
533 containing nested parenthesis.
534 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
535 to detect cases where we shouldn't expand "<<" to a heredoc
536 skeleton.
537
538 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
541 (eldoc--message-command-p): New function.
542 (eldoc-display-message-p): Use it.
543 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
544 message is not automatically erased for us.
545 (eldoc-print-current-symbol-info): Erase previous message, if any.
546
547 2014-01-21 Tassilo Horn <tsdh@gnu.org>
548
549 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
550 specify it's an interactive function.
551
552 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
553 Fix regex used for scanning for citation keys which failed for
554 citations with optional arguments.
555
556 2014-01-21 Leo Liu <sdl.web@gmail.com>
557
558 * simple.el (read--expression): Don't enable eldoc-mode.
559
560 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * simple.el (move-beginning-of-line): Make sure we don't move forward
563 (bug#16497).
564
565 2014-01-20 Juri Linkov <juri@jurta.org>
566
567 * saveplace.el (toggle-save-place, save-place-to-alist)
568 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
569 'dired-mode) before checking for dired-directory. (Bug#16477)
570
571 2014-01-20 Juri Linkov <juri@jurta.org>
572
573 * indent.el (indent-line-to): Use backward-to-indentation
574 instead of back-to-indentation. (Bug#16461)
575
576 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
577
578 Revert some of the CANNOT_DUMP fix (Bug#16494).
579 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
580 but fixing this can wait until after the next release.
581 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
582
583 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
584
585 * eshell/esh-mode.el (eshell-password-prompt-regexp):
586 Use `password-word-equivalents'.
587 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
588 to t. (Bug#5664, Bug#13124)
589
590 2014-01-19 Alan Mackenzie <acm@muc.de>
591
592 Bind open-paren-in-column-0-is-defun-start to nil at some entry
593 points.
594 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
595 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
596 * progmodes/cc-mode.el (c-before-change, c-after-change)
597 (c-font-lock-fontify-region): Bind it here.
598
599 2014-01-19 Martin Rudalics <rudalics@gmx.at>
600
601 * term.el (term-window-width): Call window-text-width instead of
602 window-width (Bug#16470).
603
604 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
605
606 * simple.el (password-word-equivalents): Remove duplicates.
607 Sort, to make this easier next time.
608 Downcase. Omit ": " after "jelszó".
609
610 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
611
612 * term/common-win.el (saved-region-selection): Defvar it.
613 (x-select-text): Set saved-region-selection (Bug#16382).
614
615 2014-01-18 Glenn Morris <rgm@gnu.org>
616
617 * emacs-lisp/authors.el (authors-aliases)
618 (authors-renamed-files-alist): Add some entries.
619
620 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
621
622 * net/tramp.el (tramp-password-prompt-regexp):
623 Use `password-word-equivalents' if available.
624 (tramp-action-password, tramp-process-one-action)
625 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
626
627 2014-01-17 Chong Yidong <cyd@gnu.org>
628
629 * simple.el (password-word-equivalents): New defcustom.
630 * comint.el (comint-password-prompt-regexp): Use it. Bump version
631 to 24.4.
632 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
633 to t. (Bug#13124)
634
635 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
636
637 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
638 (ruby-align-to-stmt-keywords): Change the default value.
639 Use `ruby-alignable-keywords' to generate the possible customization
640 choices.
641 (ruby-smie-rules): Instead of using a hardcoded list of alignable
642 keywords, check against the value of `ruby-alignable-keywords'
643 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
644
645 2014-01-17 Glenn Morris <rgm@gnu.org>
646
647 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
648
649 Make M-x authors return zero *Authors Errors* from current logs.
650 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
651 (authors-ignored-files): Add some entries, remove others.
652 (authors-ambiguous-files, authors-valid-file-names):
653 Add some entries.
654 (authors-renamed-files-alist): Add, remove, and adjust entries.
655 (authors-renamed-files-regexps): Add some entries.
656 Remove some very broad ones. Make some entries `lax'.
657 (authors-lax-changelogs): New constant.
658 (authors-disambiguate-file-name): Treat top-level specially.
659 (authors-lax-changelog-p): New function.
660 (authors-canonical-file-name): Check file as written against
661 authors-valid-file-names. Do not special-case etc/.
662 Handle `lax' logs and authors-renamed-files-regexps elements.
663
664 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
665
666 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
667 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
668 callers.
669
670 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
673 Assume we're already in the proper buffer.
674 Inspired by Anders Lindgren <andlind@gmail.com>.
675 (follow-post-command-hook): Call it from the right buffer.
676 (follow-comint-scroll-to-bottom): Adjust call.
677 (follow-all-followers): Use get-buffer-window-list.
678
679 2014-01-15 Daniel Colascione <dancol@dancol.org>
680
681 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
682 `buffer-file-name' in interactive-form so that we don't leave
683 pathless file names in `file-name-history'.
684
685 2014-01-15 Juri Linkov <juri@jurta.org>
686
687 * indent.el (indent-rigidly): Set deactivate-mark to nil
688 in transient indentation mode. (Bug#16438)
689
690 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
691
692 * emacs-lisp/package.el (package-desc-keywords): New function
693 (Bug#16222).
694 (describe-package-1, package-all-keywords)
695 (package--has-keyword-p): Use it.
696
697 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
698
699 * simple.el (define-alternatives): When creating the
700 COMMAND-alternatives variable, assign COMMAND as its definition
701 name so that `describe-variable' can relocate it.
702
703 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
704
705 * font-lock.el (font-lock-keywords): Fix typo in docstring
706 (bug#16307).
707
708 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
709
710 * ispell.el (ispell-region): Reset `in-comment' for new line
711 instead of wrongly reset `add-coment' (bug#13577).
712
713 2014-01-14 Daiki Ueno <ueno@gnu.org>
714
715 * epa-file.el (epa-file-write-region): Encode the region according
716 to `buffer-file-format'. Problem reported at:
717 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
718
719 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
722 so it applies in the right buffer (bug#16410).
723
724 2014-01-13 Daniel Colascione <dancol@dancol.org>
725
726 * textmodes/rst.el (rst-define-key): Provide deprecated
727 keybindings through named functions instead of anonymous ones so
728 that "??" doesn't appear in describe-mode output.
729
730 2014-01-13 Bastien Guerry <bzg@gnu.org>
731
732 * simple.el (define-alternatives): Call the selected command
733 interactively. When setting `COMMAND--implementation' for the
734 first time, tell the user how to chose another implementation.
735 Enhance the docstring.
736
737 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
740 (log-edit--match-first-line): New function.
741 (log-edit-font-lock-keywords): Use it.
742 (log-edit-mode): Make jit-lock-defer-multiline work.
743
744 2014-01-13 Bastien Guerry <bzg@gnu.org>
745
746 * rect.el (rectangle-mark-mode): When the region is not active,
747 display a message saying that the mark as been set and that
748 rectangle mode is in use.
749 (rectangle--highlight-for-redisplay): Only put an overlay with a
750 visible vertical bar when (display-graphic-p) is non-nil.
751 This partially fixes Bug#16403.
752
753 2014-01-13 Juri Linkov <juri@jurta.org>
754
755 * info.el (Info-find-file): Go to DIR before displaying the error
756 about a nonexistent file if no previous Info file is visited.
757 Use `user-error' instead of `error' for "Info file %s does not exist".
758 (Info-find-node-2): In case of a nonexistent node in unwind forms
759 go to the Top node if there is no previous node to revert to.
760 (Bug#16405)
761
762 2014-01-13 Martin Rudalics <rudalics@gmx.at>
763
764 fit-frame/window-to-buffer code fixes including one for Bug#14096.
765 * window.el (fit-frame-to-buffer): Fix doc-string.
766 Respect window-min-height/-width. Fit pixelwise when
767 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
768 when avoiding that frame goes partially off-screen.
769 (fit-window-to-buffer): Respect window-min-height/-width
770 (Bug#14096).
771
772 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
775 after an empty line.
776
777 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * net/shr.el (shr-render-region): Autoload.
780
781 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
782
783 * net/eww.el (eww-download-directory): Rename from
784 `eww-download-path' (Bug#16419).
785
786 2014-01-12 Leo Liu <sdl.web@gmail.com>
787
788 * dired-x.el (dired-mode-map): Fix last change.
789
790 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
791
792 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
793
794 Spelling fixes.
795 * emacs-lisp/generic.el (generic--normalize-comments):
796 Rename from generic--normalise-comments. All uses changed.
797 * play/bubbles.el (bubbles--neighborhood-score):
798 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
799 (bubbles--neighborhood-available)
800 (bubbles--update-neighborhood-score):
801 Rename from names with 'neighbourhood'. All uses changed.
802
803 2014-01-12 Leo Liu <sdl.web@gmail.com>
804
805 Re-implement the feature of showing eldoc info after editing.
806 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
807 (eldoc-edit-message-commands): New function.
808 (eldoc-print-after-edit): New variable.
809 (eldoc-pre-command-refresh-echo-area): Emit message only by
810 eldoc-message-commands.
811 (eldoc-mode): Restrict eldoc-message-commands to editing commands
812 if eldoc-print-after-edit is set. (Bug#16346)
813 * simple.el (read--expression): Enable eldoc-mode.
814 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
815
816 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
817 Eric S. Raymond <esr@thyrsus.com>
818
819 * version.el (emacs-repository-get-version): Enhance so the
820 function works correctly in either a Bazaar or Git repo.
821
822 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
823
824 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
825 Goes with removal of the joke manpages from /etc.
826
827 2014-01-10 K. Handa <handa@gnu.org>
828
829 * mail/rmail.el (rmail-get-coding-system):
830 Check rmail-get-coding-function before "funcall"ing it.
831
832 2014-01-10 Glenn Morris <rgm@gnu.org>
833
834 * emacs-lisp/authors.el (authors-fixed-entries):
835 Update for files that no longer exist.
836
837 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
838
839 * version.el (emacs-bzr-get-version): Restore compatibilty with
840 24.3 (Tested).
841
842 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
843
844 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
845 and Podfile.
846
847 2014-01-10 Eli Zaretskii <eliz@gnu.org>
848
849 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
850
851 2014-01-10 Chong Yidong <cyd@gnu.org>
852
853 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
854
855 2014-01-10 Anders Lindgren <andlind@gmail.com>
856
857 * follow.el (follow-cache-command-list): Include right-char and
858 left-char.
859
860 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
861
862 Spelling fixes.
863 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
864 * woman.el (woman-mark-horizontal-position):
865 Rename from woman-mark-horizonal-position. Use changed.
866
867 2014-01-10 Glenn Morris <rgm@gnu.org>
868
869 * info.el (info-initialize): If running uninstalled, ensure our
870 own info files are always found first, even if INFOPATH is set.
871
872 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
873
874 2014-01-09 David Engster <deng@randomsample.de>
875
876 * emacs-lisp/eieio-custom.el:
877 * emacs-lisp/eieio-opt.el: Set generated autoload file to
878 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
879 * emacs-lisp/eieio.el: Regenerate autoloads.
880
881 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
882
883 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
884 following renames. (Bug#8756)
885
886 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
889 (bug#16382).
890 (activate-mark): Add `no-tmm' argument.
891 (set-mark, push-mark-command): Use it instead of running
892 activate-mark-hook by hand.
893
894 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
895
896 In preparation for the move to git, sanitize out some
897 Bazaar-specific names.
898
899 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
900
901 * version.el (emacs-bzr-version): Name changed to
902 emacs-repository-version. Obsolete-variable alias made.
903 * loadup.el: Follow through on this name change.
904 * mail/emacsbug.el (report-emacs-bug): Factor out any
905 assumption about the version control system in use.
906
907 2014-01-08 David Engster <deng@randomsample.de>
908
909 * help-fns.el (help-fns-describe-function-functions):
910 New variable to call functions for augmenting help buffers.
911 (describe-function-1): Remove explicit calls to
912 `help-fns--compiler-macro', `help-fns--parent-mode' and
913 `help-fns--obsolete'. Put them in above new variable instead, and
914 call them through `run-hook-with-args'.
915 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
916 `eieio-describe-class'. Not meant for interactive use anymore,
917 but to augment existing help buffers. Remove optional second
918 argument. Create proper button for file location.
919 Rewrite function to use `insert' instead of `princ' and `prin1' where
920 possible.
921 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
922 (eieio-method-def, eieio-class-def): Move further up.
923 (describe-method, describe-generic, eieio-describe-method):
924 Remove aliases.
925 (eieio-help-constructor, eieio-help-generic): Rename from
926 `eieio-describe-constructor' and `eieio-describe-generic', resp.
927 Rewrite to use `insert' in the current buffer and use proper help
928 buttons.
929 (eieio-help-find-method-definition)
930 (eieio-help-find-class-definition): Also accept symbols as
931 arguments.
932 (eieio-help-mode-augmentation-maybee): Remove.
933 (eieio-describe-class-sb): Use `describe-function'.
934 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
935 Add `eieio-help-generic' and `eieio-help-constructor'.
936
937 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
938
939 Spelling fixes.
940 * language/china-util.el (hz-ascii-designation):
941 Rename from hz-ascii-designnation.
942 (hz-ascii-designation): Rename from hz-ascii-designnation.
943 All uses changed.
944
945 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
948 package-alist.
949
950 2014-01-08 Bastien Guerry <bzg@gnu.org>
951
952 * emacs-lisp/package.el (package-delete):
953 Correctly delete the package from package-alist.
954
955 2014-01-08 Daiki Ueno <ueno@gnu.org>
956
957 * emacs-lisp/package.el (url-recreate-url): Declare.
958 (url-http-target-url): Declare.
959 (package-handle-response): Include requested URL in the error message.
960 (package--check-signature): Don't re-signal errors from
961 package--with-work-buffer. Suggested by Stefan Monnier.
962
963 2014-01-07 Bastien Guerry <bzg@gnu.org>
964
965 * minibuffer.el (completion--try-word-completion): When both a
966 hyphen and a space are possible candidates for the character
967 following a word, display both candidates. (Bug#15980)
968
969 2014-01-07 Martin Rudalics <rudalics@gmx.at>
970
971 * window.el (balance-windows-2): While rounding don't give a
972 window more than the remainder. Bug#16351, Bug#16383.
973
974 2014-01-07 Glenn Morris <rgm@gnu.org>
975
976 * menu-bar.el (menu-bar-help-extra-packages): Remove.
977 (menu-bar-help-menu): Use view-external-packages instead.
978
979 2014-01-07 Bastien Guerry <bzg@gnu.org>
980
981 * emacs-lisp/package.el (package-delete): Also delete the package
982 name from `package-alist', not its description only.
983
984 2014-01-07 Glenn Morris <rgm@gnu.org>
985
986 * help.el (view-external-packages):
987 * menu-bar.el (menu-bar-help-extra-packages):
988 Visit efaq.info rather than etc/MORE.STUFF.
989
990 2014-01-07 Juri Linkov <juri@jurta.org>
991
992 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
993 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
994
995 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
996 that shadows RET. (Bug#16342)
997
998 2014-01-07 Chong Yidong <cyd@gnu.org>
999
1000 * isearch.el (isearch-yank-char, isearch-yank-word)
1001 (isearch-yank-line): Doc fix.
1002
1003 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1006 * emacs-lisp/elint.el (elint-find-builtins):
1007 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1008 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1009 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1010 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1011 * apropos.el (apropos-safe-documentation):
1012 * subr.el (symbol-file): Remove redundant fboundp.
1013 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1014
1015 2014-01-06 Bastien Guerry <bzg@gnu.org>
1016
1017 * hl-line.el (global-hl-line-overlay): Make a local variable.
1018 (global-hl-line-overlays): New variable to store all overlays.
1019 (global-hl-line-mode): Don't delete overlays from the current
1020 buffer when `global-hl-line-sticky-flag' is non-nil.
1021 (global-hl-line-highlight): Add new overlays to
1022 `global-hl-line-overlays'.
1023 (global-hl-line-unhighlight-all): New function to delete all
1024 overlays when turning off `global-hl-line-mode'.
1025 This fixes Bug#16183.
1026
1027 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * subr.el (set-transient-map): Fix nested case and docstring.
1030
1031 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1032
1033 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1034 `Texinfo' entry.
1035
1036 2014-01-06 Daniel Colascione <dancol@dancol.org>
1037
1038 Fix defun navigation in vc log view.
1039
1040 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1041 like `beginning-of-defun'.
1042 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1043 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1044 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1045 (log-view-extract-comment): Call `log-view-current-entry' directly
1046 instead of relying on broken `log-view-beginning-of-defun' behavior.
1047
1048 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1049
1050 Spelling fixes.
1051 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1052 * emacs-lisp/debug.el (cancel-debug-on-entry):
1053 * epg.el (epg-error-to-string):
1054 * files.el (recover-file):
1055 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1056 * mail/emacsbug.el (report-emacs-bug-hook):
1057 * mail/sendmail.el (mail-recover):
1058 * ses.el (ses-yank-resize):
1059 * term/ns-win.el (ns-print-buffer):
1060 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1061 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1062 All uses changed.
1063 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1064
1065 2014-01-06 Leo Liu <sdl.web@gmail.com>
1066
1067 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1068 to avoid shadowing global key. (Bug#16354)
1069
1070 2014-01-06 Daniel Colascione <dancol@dancol.org>
1071
1072 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1073 rst-mode.
1074
1075 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1076
1077 * window.el (balance-windows): Add mising t to fix Bug#16351.
1078
1079 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1080
1081 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1082 (bug#16285).
1083 (shr-insert): If we have a word that's longer than `shr-width',
1084 break after it anyway. Otherwise we'll do no breaking once we get
1085 such a long word.
1086
1087 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1088
1089 * net/eww.el (eww): Support single/double quote for search.
1090 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1091 (eww-history-quit): Delete and use quit-window.
1092 (eww-history-kill): Delete, because it doesn't work well and
1093 not necessary.
1094 (eww-history-mode-map): Delete some keys and add easy-menu.
1095
1096 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1097
1098 Fix misspelling of 'chinese' in rx (Bug#16237).
1099 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1100 chinese-two-byte.
1101
1102 Change subword regexps back to vars (Bug#16296).
1103 * progmodes/subword.el (subword-forward-regexp)
1104 (subword-backward-regexp): Change these back to variables.
1105
1106 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1109 syntax-begin-function (bug#16247).
1110
1111 2014-01-03 Chong Yidong <cyd@gnu.org>
1112
1113 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1114 (advice--docstring): Delete variable.
1115 (advice--make-1): Leave the docstring empty.
1116 (advice-add): Use function-documentation for advised docstring.
1117
1118 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1119 Ignore function-documentation property when getting documentation.
1120 (ad-activate-advised-definition): Use function-documentation
1121 generate the docstring.
1122 (ad-make-advised-definition): Don't call
1123 ad-make-advised-definition-docstring.
1124 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1125 Delete functions.
1126
1127 * progmodes/sql.el (sql-help): Use function-documentation instead
1128 of dynamic-docstring-function property. No need to autoload now.
1129 (sql--help-docstring): New variable.
1130 (sql--make-help-docstring): Use it.
1131
1132 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * ielm.el (ielm-tab): Retarget.
1135 (ielm-map): Use ielm-tab for tab.
1136 (ielm-complete-filename): Use comint-filename-completion.
1137 (ielm-complete-symbol): Remove.
1138 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1139 remove ielm-tab from completion-at-point-functions (bug#16224).
1140
1141 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1142 Beware signals raised by predicates (bug#16201).
1143
1144 2014-01-02 Richard Stallman <rms@gnu.org>
1145
1146 * dired-aux.el (dired-do-print): Handle printer-name.
1147
1148 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1149 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1150 (rmail-epa-decrypt): Turn off mime processing.
1151
1152 * mail/rmail.el (rmail-make-in-reply-to-field):
1153 Add parens in message-id.
1154
1155 * mail/rmail.el (rmail-get-coding-function): Variable.
1156 (rmail-get-coding-system): Use it.
1157
1158 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1159
1160 * international/mule-conf.el: Unify the charset indian-is13194.
1161 (indian-is13194): Specify unify-map.
1162
1163 2013-12-31 Leo Liu <sdl.web@gmail.com>
1164
1165 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1166
1167 2013-12-30 Daniel Colascione <dancol@dancol.org>
1168
1169 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1170 of printing a useless when we resume from sleep.
1171
1172 * progmodes/sh-script.el
1173 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1174 in indentation code. (Bug#16233)
1175
1176 2013-12-28 João Távora <joaotavora@gmail.com>
1177
1178 * elec-pair.el (electric-pair-post-self-insert-function):
1179 Don't open extra newlines at beginning of buffer. (Bug#16272)
1180
1181 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1182
1183 * frame.el (window-system-for-display): Don't allow to create a
1184 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1185
1186 2013-12-28 Glenn Morris <rgm@gnu.org>
1187
1188 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1189 Update callers.
1190
1191 * apropos.el (apropos-match-face):
1192 * calculator.el (calculator-displayer):
1193 * dabbrev.el (dabbrev-search-these-buffers-only):
1194 * face-remap.el (buffer-face-mode-face):
1195 * simple.el (yank-handled-properties):
1196 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1197 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1198 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1199 (hashcash-double-spend-database):
1200 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1201 (ruby-deep-indent-paren-style):
1202 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1203 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1204 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1205 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1206 Specify custom types.
1207
1208 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1209 * bookmark.el (bookmark-bmenu-use-header-line):
1210 * doc-view.el (doc-view-scale-internally):
1211 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1212 * register.el (register-preview-delay):
1213 * net/shr.el (shr-bullet):
1214 * progmodes/cfengine.el (cfengine-cf-promises)
1215 (cfengine-parameters-indent):
1216 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1217 * textmodes/reftex-vars.el (reftex-label-regexps):
1218 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1219
1220 * net/tls.el (tls-certtool-program): Fix default value.
1221
1222 * desktop.el (desktop-restore-in-current-display):
1223 * newcomment.el (comment-empty-lines):
1224 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1225 (idlwave-pad-keyword):
1226 * progmodes/tcl.el (tcl-tab-always-indent):
1227 * textmodes/reftex-vars.el (reftex-index-default-tag):
1228 * elec-pair.el (electric-pair-skip-whitespace):
1229 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1230
1231 * emacs-lisp/authors.el (authors-ignored-files)
1232 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1233
1234 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1235
1236 * shell.el (shell-dynamic-complete-command): Doc fix.
1237 (shell--command-completion-data): Shell completion now matches
1238 executable filenames from the current buffer's directory, on
1239 systems in which this behavior is the default (windows-nt, ms-dos).
1240
1241 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1242
1243 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1244
1245 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1248 (bug#16251).
1249
1250 * electric.el: Move all electric-pair-* to elec-pair.el.
1251 * elec-pair.el: New file, split from electric.el.
1252
1253 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1254
1255 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1256 indentation level is larger than the width, because that will
1257 infloop.
1258 (shr-insert): Fill repeatedly long texts, so that Japanese is
1259 formatted correctly (bug#16263).
1260 (shr-find-fill-point): Off by one error in comparison with the
1261 indentation.
1262
1263 2013-12-26 João Távora <joaotavora@gmail.com>
1264
1265 * electric.el (electric-pair-mode): More flexible engine for skip-
1266 and inhibit predicates, new options for pairing-related functionality.
1267 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1268 if that keeps or improves their balance in buffers.
1269 (electric-pair-delete-adjacent-pairs): Delete the pair when
1270 backspacing over adjacent matched delimiters.
1271 (electric-pair-open-extra-newline): Open extra newline when
1272 inserting newlines between adjacent matched delimiters.
1273 (electric--sort-post-self-insertion-hook):
1274 Sort post-self-insert-hook according to priority values when
1275 minor-modes are activated.
1276 * simple.el (newline-and-indent): Call newline with interactive
1277 set to t.
1278 (blink-paren-post-self-insert-function): Set priority to 100.
1279 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1280 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1281 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1282 electric-pair-open-newline-between-pairs to nil.
1283
1284 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1285
1286 * progmodes/python.el: Use lexical-binding.
1287 (python-nav-beginning-of-defun): Stop searching ASAP.
1288
1289 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1290
1291 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1292 Fix interactive spec. Doc fix. (Bug#15754)
1293
1294 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1295
1296 * emacs-lisp/byte-run.el (eval-when-compile):
1297 * progmodes/cc-defs.el (cc-eval-when-compile):
1298 Fix edebug spec (bug#16184).
1299
1300 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1301
1302 * net/shr.el (shr-visit-file): Remove debugging function.
1303 (shr-insert): Don't infloop if we can't find a good place to break
1304 the line (bug#16256).
1305
1306 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1307
1308 * progmodes/python.el:
1309 (python-nav--lisp-forward-sexp): New function.
1310 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1311 python-nav-lisp-forward-sexp-safe.
1312 (python-nav--forward-sexp): New argument SAFE allows switching
1313 forward sexp movement behavior for parens.
1314 (python-nav-forward-sexp): Throw errors on unterminated parens
1315 (Bug#16191).
1316 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1317 (python-nav-backward-sexp-safe): New functions.
1318 (python-shell-buffer-substring):
1319 Use `python-nav-forward-sexp-safe'.
1320
1321 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1322
1323 * net/shr.el (shr-find-fill-point): Don't break lines before a
1324 quotation mark.
1325 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1326 (shr-find-fill-point): Remove the special checks for the quotation
1327 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1328
1329 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1330
1331 * net/eww.el (eww-form-textarea): Use a different face for
1332 textareas than text input since they have different keymaps
1333 (bug#16142).
1334
1335 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1336
1337 * progmodes/python.el (python-nav-beginning-of-statement):
1338 Speed up (Bug#15295).
1339
1340 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1341
1342 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1343 the window configuration.
1344
1345 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1346
1347 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1348 we run on MS-Windows or MS-DOS.
1349
1350 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1351
1352 * window.el (balance-windows-area): Call window-size instead of
1353 window-height and window-width. Bug#16241.
1354
1355 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1356
1357 * net/eww.el (eww-bookmark-quit): Remove.
1358 (eww-bookmark-browse): Restore the window configuration when you
1359 choose a bookmark (bug#16144).
1360
1361 2013-12-24 Daniel Colascione <dancol@dancol.org>
1362
1363 * icomplete.el: Remove redundant :group arguments to `defcustom'
1364 throughout.
1365 (icomplete-show-matches-on-no-input): New customizable variable.
1366 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1367 we have something to show.
1368 (icomplete-exhibit): Compute completions even if we have no user input.
1369
1370 2013-12-23 Daniel Colascione <dancol@dancol.org>
1371
1372 * icomplete.el: Move `provide' to end of file.
1373
1374 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1375
1376 * net/gnutls.el (gnutls-verify-error): Add version tag.
1377
1378 2013-12-23 Chong Yidong <cyd@gnu.org>
1379
1380 * subr.el (set-transient-map): Rename from
1381 set-temporary-overlay-map. Doc fix.
1382
1383 * face-remap.el (text-scale-adjust):
1384 * indent.el (indent-rigidly):
1385 * kmacro.el (kmacro-call-macro):
1386 * minibuffer.el (minibuffer-force-complete):
1387 * repeat.el (repeat):
1388 * simple.el (universal-argument--mode):
1389 * calendar/todo-mode.el (todo-insert-item--next-param):
1390 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1391
1392 * indent.el (indent-rigidly): Use substitute-command-keys.
1393
1394 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1395
1396 * net/eww.el (eww-tag-select): Add text-property to jump to next
1397 select field.
1398 (eww): Add non-supported ftp error.
1399
1400 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1401
1402 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1403 comments. Handle electric indent after typing `?' and `!'.
1404
1405 2013-12-22 Chong Yidong <cyd@gnu.org>
1406
1407 * faces.el (face-spec-recalc): If the theme specs are not
1408 applicable to a frame, fall back on the defface spec.
1409 This prevents themes from obliterating faces on low-color terminals.
1410
1411 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1412
1413 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1414 after `{'. We need it after block openers, and it doesn't seem
1415 to hurt after hash openers.
1416
1417 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1418
1419 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1420 extracted from `ruby-smie-rules'.
1421 (ruby--electric-indent-chars): New variable.
1422 (ruby--electric-indent-p): New function.
1423 (ruby-mode): Use `electric-indent-functions' instead of
1424 `electric-indent-chars'.
1425
1426 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1427
1428 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1429 docstring.
1430 (ruby-smie-rules): Indent plus one level after `=>'.
1431
1432 2013-12-21 Richard Stallman <rms@gnu.org>
1433
1434 * simple.el (newline): Doc fix.
1435
1436 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1437
1438 * net/eww.el (eww-list-histories, eww-list-histories)
1439 (eww-history-browse, eww-history-quit, eww-history-kill)
1440 (eww-history-mode-map, eww-history-mode): New command and
1441 functions to list browser histories.
1442 (eww-form-text): Support text form with disabled
1443 and readonly attributes.
1444 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1445
1446 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1447
1448 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1449 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1450 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1451 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1452 Use `user-error'.
1453 (eww-bookmark-mode-map): Add menu.
1454 (eww-render, eww-mode): Use `setq-local'.
1455 (eww-tool-bar-map): New variable.
1456 (eww-mode): Set `tool-bar-map'.
1457 (eww-view-source): Check for `html-mode' with `fboundp'.
1458
1459 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1460
1461 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1462 elements with text inside. Also remove debugging.
1463
1464 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1465
1466 * cus-start.el (all): Add ns-use-srgb-colorspace.
1467
1468 2013-12-21 Chong Yidong <cyd@gnu.org>
1469
1470 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1471 undefined. Thus, theme settings for undefined faces do not take
1472 effect until the faces are defined with defface, the same as with
1473 theme variables.
1474
1475 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1476 (face-spec-reset-face): Don't assign extra properties in temacs.
1477 (face-spec-recalc): Apply X resources too.
1478
1479 2013-12-21 Chong Yidong <cyd@gnu.org>
1480
1481 * faces.el (face-spec-set):
1482 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1483 * custom.el (defface): Doc fixes (Bug#16203).
1484
1485 * indent.el (indent-rigidly-map): Add docstring, and move commands
1486 into named functions.
1487 (indent-rigidly-left, indent-rigidly-right)
1488 (indent-rigidly-left-to-tab-stop)
1489 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1490 indentation direction based on bidi direction, and accumulate
1491 sequential commands in a single undo boundary.
1492 (indent-rigidly--pop-undo): New utility function.
1493
1494 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1495
1496 * faces.el (read-face-name): Require crm.el when using crm-separator.
1497
1498 2013-12-20 Daniel Colascione <dancol@dancol.org>
1499
1500 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1501 so that we don't reflow comments into the shebang line.
1502
1503 2013-12-20 Juri Linkov <juri@jurta.org>
1504
1505 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1506 a position when `dired-directory' is non-nil. Check integer
1507 positions with `integerp'.
1508 (toggle-save-place, save-places-to-alist): Add check for
1509 `dired-directory'.
1510 (save-place-find-file-hook): Check integer positions with
1511 `integerp'.
1512 (save-place-dired-hook): Use `dired-goto-file' when
1513 `dired-filename' is found in the assoc list. Check integer
1514 positions with `integerp'.
1515 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1516
1517 * dired.el (dired-initial-position-hook): Rename back from
1518 `dired-initial-point-hook'.
1519 (dired-initial-position): Rename `dired-initial-point-hook' to
1520 `dired-initial-position-hook'.
1521 (dired-file-name-at-point): Doc fix. (Bug#15329)
1522
1523 2013-12-20 Juri Linkov <juri@jurta.org>
1524
1525 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1526 (read-regexp-suggestions): New function.
1527 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1528 Use `read-regexp-suggestions'. Add non-empty default to history
1529 for empty input.
1530 (occur-read-regexp-defaults-function): Remove function.
1531 (occur-read-primary-args): Use `regexp-history-last' instead of
1532 `occur-read-regexp-defaults-function'.
1533
1534 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1535 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1536 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1537 `hi-lock-read-regexp-defaults-function'. Doc fix.
1538 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1539 with `find-tag-default-as-symbol-regexp'. Doc fix.
1540 (hi-lock-read-regexp-defaults): Remove function.
1541 (hi-lock-regexp-okay): Add check for null.
1542
1543 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1544 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1545
1546 * subr.el (find-tag-default-as-symbol-regexp): New function.
1547 (find-tag-default-as-regexp): Move symbol regexp formatting to
1548 `find-tag-default-as-symbol-regexp'.
1549
1550 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1551
1552 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1553 (Bug#14179)
1554
1555 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1556
1557 * calendar/todo-mode.el: New implementation of item insertion
1558 commands and key bindings.
1559 (todo-key-prompt): New face.
1560 (todo-insert-item): New command.
1561 (todo-insert-item--parameters): New defconst, replacing defvar
1562 todo-insertion-commands-args-genlist.
1563 (todo-insert-item--param-key-alist): New defconst, replacing
1564 defvar todo-insertion-commands-arg-key-list.
1565 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1566 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1567 (todo-insert-item--next-param): New functions.
1568 (todo-insert-item--args, todo-insert-item--argleft)
1569 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1570 New variables.
1571 (todo-key-bindings-t): Change binding of "i" from
1572 todo-insertion-map to todo-insert-item.
1573 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1574 (todo-insertion-command-name, todo-insertion-commands-names)
1575 (todo-define-insertion-command, todo-insertion-commands)
1576 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1577
1578 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1579
1580 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1581 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1582 eval-when-compile.
1583 (todo-move-category): Allow choosing a non-existing todo file to
1584 move the category to, and create that file.
1585 (todo-default-priority): New user option.
1586 (todo-set-item-priority): Use it.
1587 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1588 (desktop-restore-file-buffer): Declare.
1589 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1590 (todo-modes-set-2): Locally set desktop-save-buffer to
1591 todo-desktop-save-buffer.
1592 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1593 (auto-mode-alist): Add autoload cookie.
1594
1595 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1596
1597 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1598 helpers.el was a poor choice of name.
1599 (string-remove-prefix): New function.
1600 (string-remove-suffix): New function.
1601
1602 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1603
1604 Fix assignment for new window total sizes.
1605 * window.el (window--pixel-to-size): Remove function.
1606 (window--pixel-to-total-1, window--pixel-to-total):
1607 Fix calculation of new total sizes.
1608
1609 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1610
1611 * comint.el (comint-output-filter): Fix rear-nonsticky property
1612 placement (Bug#16010).
1613
1614 2013-12-20 Chong Yidong <cyd@gnu.org>
1615
1616 * faces.el (read-color): Minor fix for completion function.
1617
1618 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1619
1620 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1621 New option. (Bug#16182)
1622 (ruby-smie--indent-to-stmt-p): Use it.
1623 (ruby-smie-rules): Revert the logic in the handling of `when'.
1624 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1625 (ruby-deep-arglist, ruby-deep-indent-paren)
1626 (ruby-deep-indent-paren-style): Update docstrings to note that the
1627 vars don't have any effect with SMIE.
1628
1629 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1630
1631 * calc/calc.el (calc-enter, calc-pop): Use the variable
1632 `calc-context-sensitive-enter'.
1633
1634 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1635
1636 * net/shr.el (shr-insert): Protect against infloops in degenerate
1637 tables.
1638
1639 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1640
1641 * progmodes/octave.el (octave): Add link to manual and octave
1642 homepage.
1643 (octave-mode-menu): Link to octave-mode manual.
1644
1645 2013-12-20 Leo Liu <sdl.web@gmail.com>
1646
1647 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1648 insertion using skeleton-end-newline. (Bug#16138)
1649
1650 2013-12-20 Juri Linkov <juri@jurta.org>
1651
1652 * replace.el (occur-engine): Use `add-face-text-property'
1653 to add the face property to matches and titles. (Bug#14645)
1654
1655 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1656 the palette of other hi-lock colors.
1657 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1658
1659 2013-12-19 Juri Linkov <juri@jurta.org>
1660
1661 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1662 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1663 (minibuffer-history-symbol): Move variable declaration closer to
1664 its usage.
1665
1666 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1667 (Bug#14785)
1668
1669 2013-12-19 Juri Linkov <juri@jurta.org>
1670
1671 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1672 New function.
1673 (log-edit-hook): Add it to :options. (Bug#16170)
1674
1675 2013-12-19 Juri Linkov <juri@jurta.org>
1676
1677 * simple.el (eval-expression-print-format): Don't check for
1678 command names and the last command. Always display additional
1679 formats of the integer result in the echo area, and insert them
1680 to the current buffer only with a zero prefix arg.
1681 Display character when char-displayable-p is non-nil.
1682 (eval-expression): With a zero prefix arg, set `print-length' and
1683 `print-level' to nil, and insert the integer values from
1684 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1685
1686 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1687 `eval-last-sexp-arg-internal'. Doc fix.
1688 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1689 `eval-last-sexp-print-value'. Doc fix.
1690 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1691 Set `print-length' and `print-level' to nil when arg is zero.
1692 (eval-last-sexp): Doc fix.
1693 (eval-defun-2): Print the integer values from
1694 `eval-expression-print-format' at the end.
1695
1696 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1697 values from `eval-expression-print-format' at the end.
1698
1699 * ielm.el (ielm-eval-input): Print the integer
1700 values from `eval-expression-print-format' at the end.
1701
1702 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1703
1704 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1705 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1706
1707 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1710 (hl-line-highlight, global-hl-line-highlight): Use it.
1711 (hl-line-overlay): Use defvar-local.
1712
1713 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1714
1715 * term/ns-win.el: Require dnd.
1716 (global-map): Remove drag items.
1717 (ns-insert-text, ns-set-foreground-at-mouse)
1718 (ns-set-background-at-mouse):
1719 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1720 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1721 New functions.
1722
1723 2013-12-19 Glenn Morris <rgm@gnu.org>
1724
1725 * emacs-lisp/ert.el (ert-select-tests):
1726 Fix string/symbol mixup. (Bug#16121)
1727
1728 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1729
1730 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1731 keywords to their parent.
1732
1733 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1734
1735 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1736 first arg to be a string (fixed dead code), or an operator symbol.
1737 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1738 operator symbols.
1739 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1740 did nothing. Don't respond to `(:after ".")', it will be called
1741 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1742 change anything. Only return indentation for binary operators
1743 when they are hanging. De-dent opening paren when its parent is
1744 `.', otherwise it looks bad when the dot is not at bol or eol
1745 (bug#16182).
1746
1747 2013-12-19 Juri Linkov <juri@jurta.org>
1748
1749 * replace.el (query-replace-read-args): Split a non-negative arg
1750 and a negative arg into separate elements.
1751 (query-replace, query-replace-regexp, replace-string)
1752 (replace-regexp): Add arg `backward'. Doc fix.
1753 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1754 move point to the beginning of the match.
1755 (replace-search, replace-highlight): Use new arg `backward'
1756 to set the value of `isearch-forward'.
1757 (perform-replace): Add arg `backward' and use it to perform
1758 replacement backward. (Bug#14979)
1759
1760 * isearch.el (isearch-query-replace): Use a negative prefix arg
1761 to call `perform-replace' with a non-nil arg `backward'.
1762
1763 2013-12-18 Juri Linkov <juri@jurta.org>
1764
1765 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1766 to the default list. Move `log-edit-show-files' to the end.
1767 Add more available functions to options.
1768 (log-edit): Move default specific settings to
1769 `log-edit-insert-message-template'. Don't move point.
1770 (log-edit-insert-message-template): New function.
1771 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1772 (Bug#16170)
1773
1774 2013-12-18 Juri Linkov <juri@jurta.org>
1775
1776 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1777 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1778
1779 2013-12-18 Leo Liu <sdl.web@gmail.com>
1780
1781 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1782 (Bug#16186)
1783
1784 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1785
1786 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1787 formats for displaying file sizes when the -s switch is given.
1788 Instead, compute a separate format for displaying the size in
1789 blocks, which is displayed in addition to the "regular" size.
1790 When -h is given in addition to -s, produce size in blocks in
1791 human-readable form as well. (Bug#16179)
1792
1793 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1794
1795 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1796 Reference tables with ~\ref{...} instead of only \ref{...}.
1797
1798 2013-12-18 Chong Yidong <cyd@gnu.org>
1799
1800 * cus-edit.el (custom-magic-alist): Fix "themed" description
1801 (Bug#14348).
1802
1803 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1804 is non-nil, do not create a new entry in the symbol's theme-value
1805 or theme-face property; update theme-settings only (Bug#14664).
1806 (custom-available-themes): Doc fix.
1807
1808 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1809 (Bug#15674).
1810
1811 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1812
1813 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1814
1815 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1816 (Bug#13914).
1817
1818 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1819
1820 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1821
1822 2013-12-18 Glenn Morris <rgm@gnu.org>
1823
1824 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1825 * cus-start.el (load-prefer-newer): New option.
1826
1827 2013-12-18 Le Wang <l26wang@gmail.com>
1828
1829 * comint.el (comint-previous-matching-input-from-input):
1830 Retain point (Bug#13404).
1831
1832 2013-12-18 Chong Yidong <cyd@gnu.org>
1833
1834 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1835
1836 2013-12-18 Glenn Morris <rgm@gnu.org>
1837
1838 * mail/emacsbug.el (report-emacs-bug):
1839 Only mention enable-multibyte-characters if non-standard.
1840
1841 2013-12-17 Juri Linkov <juri@jurta.org>
1842
1843 * arc-mode.el (archive-extract-by-file): Check if directory exists
1844 before deletion to not show irrelevant errors if it doesn't exist.
1845
1846 2013-12-17 Juri Linkov <juri@jurta.org>
1847
1848 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1849 (Bug#14751)
1850
1851 * net/eww.el (browse-web): Add alias to `eww'.
1852 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1853 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1854
1855 * net/browse-url.el (browse-url-browser-function): Move `eww'
1856 closer to similar functions.
1857
1858 * startup.el (fancy-startup-screen, fancy-about-screen):
1859 Set browse-url-browser-function to eww-browse-url locally.
1860 (Bug#14751)
1861
1862 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * window.el (window--pixel-to-total): Remove unused `mini' var.
1865 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1866 (split-window): Remove unused `new' var.
1867 (window--display-buffer): Remove unused `frame' and `delta' vars.
1868 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1869 and display-width'.
1870
1871 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1872
1873 * dired.el (dired-mark-pop-up):
1874 * register.el (register-preview): Don't bind
1875 split-height-threshold here since it's now done in
1876 display-buffer-below-selected.
1877
1878 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1879
1880 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1881 xterm-rgb-convert-to-16bit.
1882 (rxvt-register-default-colors): Standardize with
1883 xterm-register-default-colors (Bug#14078).
1884
1885 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1886
1887 * simple.el (kill-region): Pass mark first, then point, so that
1888 kill-append works right (Bug#12819).
1889 (copy-region-as-kill, kill-ring-save): Likewise.
1890
1891 2013-12-17 Leo Liu <sdl.web@gmail.com>
1892
1893 * net/rcirc.el (rcirc-add-face):
1894 * eshell/em-prompt.el (eshell-emit-prompt):
1895 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1896 (Bug#16167)
1897
1898 2013-12-17 Chong Yidong <cyd@gnu.org>
1899
1900 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1901 Suggested by Xue Fuqiao.
1902
1903 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1904
1905 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1906
1907 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * net/shr.el (shr-insert-document): Remove unused var
1910 `shr-preliminary-table-render'.
1911 (shr-rescale-image): Remove unused arg `force'.
1912 (shr-put-image): Update calls accordingly.
1913 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1914
1915 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1918 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1919 :close-all, to see which indentation method to use (Bug#16116).
1920 (smie-rules-function): Document the method :close-all.
1921
1922 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1923
1924 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1925
1926 * net/eww.el (eww-display-html): If we can't find the anchor we're
1927 looking for, then go to point-min.
1928
1929 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1930
1931 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1932 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1933 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1934 Expand dir too, in case it's relative.
1935
1936 2013-12-16 Juri Linkov <juri@jurta.org>
1937
1938 * desktop.el (desktop-auto-save-timeout): Change default to
1939 `auto-save-timeout'. Doc fix.
1940 (desktop-save): Skip the timestamp in desktop-saved-frameset
1941 when checking for auto-save changes.
1942 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1943 `desktop-auto-save' is called repeatedly by the idle timer.
1944 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1945 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1946 (Bug#15331)
1947
1948 2013-12-16 Juri Linkov <juri@jurta.org>
1949
1950 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1951 (Bug#16035)
1952 (isearch-pre-command-hook): Check `this-command' for symbolp.
1953
1954 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1957
1958 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1959
1960 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1961 (cfengine3--current-function): Bring in the current-function
1962 functionality from `cfengine3--current-word'.
1963 (cfengine3-completion-function): Bring in the
1964 bounds-of-current-word functionality from
1965 `cfengine3--current-word'.
1966
1967 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1968
1969 * window.el (display-buffer-below-selected):
1970 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1971
1972 2013-12-16 Leo Liu <sdl.web@gmail.com>
1973
1974 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1975 Remove NOMSG arg and all uses changed.
1976
1977 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1980 (cua--deactivate-rectangle): Don't deactivate the mark.
1981 (cua-set-rectangle-mark): Don't set mark-active since
1982 cua--activate-rectangle already does it for us.
1983 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1984 non-rectangular region.
1985
1986 * emulation/cua-base.el (cua-repeat-replace-region):
1987 Use with-current-buffer.
1988
1989 * net/gnutls.el: Use cl-lib.
1990 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1991
1992 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1993
1994 * emacs-lisp/package.el (package-built-in-p): Support both
1995 built-in and the package.el converted package descriptions.
1996 (package-show-package-list): Allow keywords.
1997 (package-keyword-button-action): Use it instead of
1998 `finder-list-matches'.
1999 (package-menu-filter-interactive): Interactive filtering (by
2000 keyword) function.
2001 (package-menu--generate): Support keywords and change keymappings
2002 and headers when they are given.
2003 (package--has-keyword-p): Helper function.
2004 (package-menu--refresh): Use it.
2005 (package--mapc): Helper function.
2006 (package-all-keywords): Use it.
2007 (package-menu-mode-map): Set up menu items and keybindings to
2008 provide a filtering UI.
2009
2010 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2011
2012 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2013 the behavior when a certificate fails validation. Defaults to
2014 old behavior: never abort, just warn.
2015 (gnutls-negotiate): Use it.
2016
2017 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2018
2019 * window.el (display-buffer-below-selected): Never split window
2020 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2021
2022 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2023
2024 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2025 (package-buffer-info): Use it (bug#15108).
2026
2027 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * icomplete.el (icomplete-completions): Make sure the prefix is already
2030 displayed elsewhere before hiding it (bug#16219).
2031
2032 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2035 open-paren tokens when preceded by a open-paren, too.
2036 (ruby-smie-rules): Handle virtual indentation after open-paren
2037 tokens specially. If there is code between it and eol, return the
2038 column where is starts (Bug#16118).
2039
2040 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2041
2042 * progmodes/cfengine.el: Fix `add-hook' doc.
2043 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2044 (cfengine3--current-word): Fix parameters.
2045 (cfengine3-make-syntax-cache): Simplify further.
2046 (cfengine3-completion-function, cfengine3--current-function):
2047 Use `assq' for symbols.
2048 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2049
2050 2013-12-13 Glenn Morris <rgm@gnu.org>
2051
2052 * loadup.el (load-path): Warn if site-load or site-init changes it.
2053 No more need to reset it when bootstrapping.
2054
2055 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2056
2057 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2058 locations for cf-promises.
2059 (cfengine-mode-syntax-functions-regex): New caching variable.
2060 (cfengine3-fallback-syntax): Fallback syntax for cases where
2061 cf-promises doesn't run.
2062 (cfengine3--current-word): Reimplement using
2063 `cfengine-mode-syntax-functions-regex'.
2064 (cfengine3-completion-function, cfengine3--current-function):
2065 Use `cfengine3-make-syntax-cache' directly.
2066 (cfengine3-clear-syntax-cache): New function.
2067 (cfengine3-make-syntax-cache): Simplify and create
2068 `cfengine-mode-syntax-functions-regex' on demand.
2069 (cfengine3-format-function-docstring): Don't call
2070 `cfengine3-make-syntax-cache' explicitly.
2071
2072 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2073
2074 Fix windmove-find-other-window broken after pixelwise resizing
2075 (Bug#16017).
2076 * windmove.el (windmove-other-window-loc): Revert change from
2077 2013-12-04.
2078 (windmove-find-other-window): Call window-in-direction.
2079 * window.el (window-in-direction): New arguments SIGN, WRAP and
2080 MINI to emulate original windmove-find-other-window behavior.
2081
2082 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * simple.el (blink-matching--overlay): New variable.
2085 (blink-matching-open): Instead of moving point, highlight the
2086 matching paren with an overlay
2087 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2088
2089 * faces.el (paren-showing-faces, show-paren-match)
2090 (show-paren-mismatch): Move from paren.el.
2091
2092 2013-12-13 Leo Liu <sdl.web@gmail.com>
2093
2094 * indent.el (indent-region): Disable progress reporter in
2095 minibuffer. (Bug#16108)
2096
2097 * bindings.el (visual-order-cursor-movement): Fix version.
2098
2099 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2100
2101 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2102 Also match after beginning of line.
2103 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2104 files. Thanks to Russell Sim. (Bug#15378)
2105
2106 2013-12-13 Juri Linkov <juri@jurta.org>
2107
2108 * simple.el <Keypad support>: Remove key bindings duplicated
2109 with bindings.el. (Bug#14397)
2110
2111 2013-12-13 Juri Linkov <juri@jurta.org>
2112
2113 * comint.el (comint-mode-map): Replace `delete-char' with
2114 `delete-forward-char'. (Bug#16109)
2115
2116 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2117
2118 * progmodes/python.el (python-indent-calculate-indentation):
2119 Fix de-denters cornercase. (Bug#15731)
2120
2121 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2124 (advice--make): Pay attention to `depth'.
2125 (advice--make-1): Don't autoload commands eagerly.
2126 * emacs-lisp/elp.el (elp-instrument-function):
2127 * emacs-lisp/trace.el (trace-function-internal):
2128 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2129
2130 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2131
2132 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2133
2134 * term/w32-win.el (w32-handle-dropped-file):
2135 * startup.el (normal-top-level):
2136 * net/browse-url.el (browse-url-file-url):
2137 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2138 decode file names using 'utf-8' rather than
2139 file-name-coding-system.
2140
2141 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2142
2143 * progmodes/python.el (python-indent-context)
2144 (python-indent-calculate-indentation): Fix auto-identation
2145 behavior for comment blocks. (Bug#15916)
2146
2147 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2148
2149 * progmodes/python.el (python-indent-calculate-indentation):
2150 When determining indentation, don't treat "return", "pass", etc., as
2151 operators when they are just string constituents. (Bug#15812)
2152
2153 2013-12-12 Juri Linkov <juri@jurta.org>
2154
2155 * uniquify.el (uniquify-buffer-name-style): Change default to
2156 `post-forward-angle-brackets'.
2157
2158 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2159 `uniquify'. Change default to `post-forward-angle-brackets'.
2160
2161 2013-12-11 Glenn Morris <rgm@gnu.org>
2162
2163 * emacs-lisp/package.el (finder-list-matches):
2164 Autoload rather than falsely declaring.
2165
2166 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2167
2168 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2169 (eww-mode-map): Use them.
2170
2171 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2172
2173 * window.el (display-buffer-in-side-window): Fix doc-string
2174 (Bug#16115).
2175
2176 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2177
2178 * vc/vc-git.el: Silence byte-compiler warnings.
2179 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2180 (log-edit-set-header): Declare.
2181
2182 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2183
2184 * Makefile.in (custom-deps, finder-data): Run output file names
2185 through unmsys--file-name. (Bug#16099)
2186
2187 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2190 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2191
2192 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2193 instead of deleting the selection "by hand" (bug#16098).
2194 Rely on insert-for-yank to yank rectangles.
2195 (cua-highlight-region-shift-only): Mark obsolete.
2196 (cua-mode): Don't enable/disable transient-mark-mode,
2197 shift-select-mode (cua-mode works both with and without them), and
2198 pc-selection-mode (obsolete).
2199 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2200 (cua--deactivate-rectangle): Deactivate it.
2201
2202 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2203 (delete-selection-helper): Make sure yank starts at the top of the
2204 deleted region.
2205 (minibuffer-keyboard-quit): Use region-active-p.
2206
2207 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2208
2209 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2210 to `delete' (bug#16109).
2211
2212 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2213
2214 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2215 info manual and show keybindings and set `:group' keyword.
2216
2217 2013-12-11 Juri Linkov <juri@jurta.org>
2218
2219 * delsel.el (delete-active-region): Let-bind `this-command'
2220 to prevent `kill-region' from changing its original value.
2221 (delete-selection-helper): Handle `overwrite-mode' for the type
2222 `kill' exactly the same way as for the type `t'.
2223 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2224 Support more commands. (Bug#13312)
2225
2226 2013-12-11 Juri Linkov <juri@jurta.org>
2227
2228 * bindings.el: Map kp keys to non-kp keys systematically
2229 with basic modifiers control, meta and shift. (Bug#14397)
2230
2231 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2232
2233 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2234 "Close browser" menu items. Fix wrong function of "List
2235 bookmarks".
2236
2237 2013-12-11 Juri Linkov <juri@jurta.org>
2238
2239 * misearch.el (multi-isearch-buffers): Set the value of
2240 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2241 arg of isearch-forward to t.
2242 (multi-isearch-buffers-regexp): Set the value of
2243 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2244 arg of isearch-forward-regexp to t.
2245 (multi-isearch-files): Set the value of
2246 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2247 arg of isearch-forward to t.
2248 (multi-isearch-files-regexp): Set the value of
2249 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2250 arg of isearch-forward-regexp to t. (Bug#16035)
2251
2252 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2253 arg of isearch-forward to t.
2254 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2255 arg of isearch-forward-regexp to t.
2256 (dired-isearch-filter-filenames): Remove unnecessary check for
2257 `dired-isearch-filenames'.
2258
2259 * comint.el (comint-history-isearch-backward):
2260 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2261 (comint-history-isearch-backward-regexp):
2262 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2263
2264 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2265
2266 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2267 unmsys--file-name. (Bug#16099)
2268
2269 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2270
2271 * emacs-lisp/package.el (package-keyword-button-action):
2272 Remove finder.el require dependency.
2273
2274 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2275
2276 * emacs-lisp/package.el: Require finder.el.
2277 (describe-package-1): Add keyword buttons.
2278 (package-make-button): New convenience function.
2279 (package-keyword-button-action): Keyword button action using
2280 `finder-list-matches'.
2281
2282 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2283
2284 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2285 last commit.
2286
2287 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2288
2289 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2290 symlinked files.
2291
2292 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2293
2294 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2295 after the end of a percent literal.
2296
2297 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2298
2299 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2300 Handle caret-delimited strings (Bug#16079).
2301
2302 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2303
2304 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2305 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2306 `ruby-parse-partial' (Bug#16078).
2307
2308 2013-12-09 Leo Liu <sdl.web@gmail.com>
2309
2310 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2311
2312 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2313
2314 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2315 (js-switch-indent-offset): New option.
2316 (js--proper-indentation): Use it. And handle the case when
2317 "default" is actually a key in an object literal.
2318 (js--same-line): New function.
2319 (js--multi-line-declaration-indentation): Use it.
2320 (js--indent-in-array-comp, js--array-comp-indentation):
2321 New functions.
2322 (js--proper-indentation): Use them, to handle array comprehension
2323 continuations.
2324
2325 2013-12-08 Leo Liu <sdl.web@gmail.com>
2326
2327 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2328 (flymake-make-overlay): Remove arg MOUSE-FACE.
2329 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2330
2331 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2334 New function.
2335 (redisplay-highlight-region-function): Use it.
2336
2337 * emulation/cua-base.el (cua--explicit-region-start)
2338 (cua--last-region-shifted): Remove.
2339 (cua--deactivate): Use deactivate-mark.
2340 (cua--pre-command-handler-1): Don't handle shift-selection.
2341 (cua--post-command-handler-1): Don't change transient-mark-mode.
2342 (cua--select-keymaps): Use region-active-p rather than
2343 cua--explicit-region-start or cua--last-region-shifted.
2344 (cua-mode): Enable shift-select-mode.
2345
2346 2013-12-08 Leo Liu <sdl.web@gmail.com>
2347
2348 * progmodes/flymake.el (flymake-popup-current-error-menu):
2349 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2350 (flymake-posn-at-point-as-event, flymake-popup-menu)
2351 (flymake-make-emacs-menu): Remove. (Bug#16077)
2352
2353 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * rect.el (rectangle-mark-mode): Activate mark even if
2356 transient-mark-mode is off (bug#16066).
2357 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2358 is > mark and at bolp.
2359
2360 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2361 (region-extract-function): Use it.
2362 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2363 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2364 Delete functions.
2365 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2366 kill-ring-save, kill-region, delete-char, delete-forward-char.
2367 Ignore self-insert-iso.
2368
2369 * emulation/cua-gmrk.el (cua--init-global-mark):
2370 Ignore `self-insert-iso'.
2371
2372 * emulation/cua-base.el (cua--prefix-copy-handler)
2373 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2374 checking cua--rectangle.
2375 (cua-delete-region): Use region-extract-function.
2376 (cua-replace-region): Delete function.
2377 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2378 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2379 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2380 (cua--init-keymaps): Don't remap delete-selection commands.
2381 (cua-mode): Use delete-selection-mode instead of rolling our own
2382 (bug#16085).
2383
2384 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2385 Obey region-extract-function.
2386
2387 Make registers and delete-selection-mode work on rectangles.
2388 * register.el (describe-register-1): Don't modify the register's value.
2389 (copy-to-register): Obey region-extract-function.
2390 * delsel.el (delete-active-region): Obey region-extract-function.
2391
2392 2013-12-08 Leo Liu <sdl.web@gmail.com>
2393
2394 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2395 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2396 (flymake-compilation-prevents-syntax-check)
2397 (flymake-start-syntax-check-on-newline)
2398 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2399 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2400 (flymake-xml-program, flymake-master-file-dirs)
2401 (flymake-master-file-count-limit)
2402 (flymake-allowed-file-name-masks): Relocate.
2403 (flymake-makehash, flymake-float-time)
2404 (flymake-replace-regexp-in-string, flymake-split-string)
2405 (flymake-get-temp-dir): Remove.
2406 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2407 (flymake-current-row, flymake-selected-frame)
2408 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2409 related functions. (Bug#16077)
2410
2411 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2412
2413 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2414
2415 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2416
2417 * help-fns.el (describe-function-1): Use new advice-* functions
2418 rather than old ad-* functions. Fix function type description and
2419 source links for advised functions and subrs.
2420
2421 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2422
2423 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2424
2425 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2426
2427 * progmodes/compile.el (compilation-start):
2428 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2429
2430 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2431 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2432
2433 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2434
2435 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2436 Touch up the last change.
2437
2438 2013-12-06 Leo Liu <sdl.web@gmail.com>
2439
2440 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2441 (inferior-octave-startup): Always use "octave> " for prompt.
2442 (octave-goto-function-definition)
2443 (octave-sync-function-file-names)
2444 (octave-find-definition-default-filename): Remove redundant backquotes.
2445
2446 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2447
2448 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2449 syntax for `?'.
2450 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2451 where appropriate already.
2452 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2453 end of method names (Bug#15874).
2454
2455 2013-12-06 Juri Linkov <juri@jurta.org>
2456
2457 * isearch.el (isearch--saved-overriding-local-map):
2458 New internal variable.
2459 (isearch-mode): Set it to the initial value of
2460 `overriding-terminal-local-map'.
2461 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2462 with `isearch--saved-overriding-local-map'. (Bug#16035)
2463
2464 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2465
2466 * progmodes/octave.el (inferior-octave-completion-table):
2467 Turn back into function, use `completion-table-with-cache'
2468 (Bug#11906). Update all references.
2469
2470 * minibuffer.el (completion-table-with-cache): New function.
2471
2472 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2473
2474 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2475
2476 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2477
2478 * net/eww.el (eww-current-source): New variable to store page
2479 source.
2480 (eww-display-html, eww-mode, eww-save-history)
2481 (eww-restore-history): Use it.
2482 (eww-view-source): New command to view page source.
2483 Opportunistically uses `html-mode' to highlight the buffer.
2484 (eww-mode-map): Install it.
2485
2486 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2487
2488 * net/dbus.el (dbus-unregister-service)
2489 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2490 Fix docstring.
2491 (dbus-unregister-service): Skip :serial entries in
2492 `dbus-registered-objects-table'.
2493 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2494
2495 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2496
2497 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2498 around keywords with extra `split-string' argument.
2499
2500 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2501
2502 * windmove.el (windmove-other-window-loc): Handle navigation
2503 between windows (excluding the minibuffer window - Bug#16017).
2504
2505 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2506
2507 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2508 in D-Bus type syntax.
2509 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2510 preserve unibyte strings. (Bug#16048)
2511
2512 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2515 Call force-mode-line-update is the proper buffer (bug#16042).
2516
2517 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2518
2519 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2520 `log-edit-remember-comment', make argument optional. Adjust all
2521 callers.
2522 (log-edit-mode): Add `log-edit-remember-comment' to
2523 `kill-buffer-hook' locally.
2524 (log-edit-kill-buffer): Don't remember comment explicitly since
2525 the buffer is killed anyway.
2526
2527 2013-12-04 Juri Linkov <juri@jurta.org>
2528
2529 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2530 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2531
2532 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2533
2534 * notifications.el (notifications-close-notification): Call the
2535 D-Bus method with ID being a `:uint32'. (Bug#16030)
2536
2537 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2538
2539 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2540
2541 2013-12-03 Juri Linkov <juri@jurta.org>
2542
2543 * progmodes/compile.el (compilation-start): Rename window alist
2544 entry `no-display-ok' to `allow-no-window'.
2545
2546 * simple.el (shell-command): Add window alist entry
2547 `allow-no-window' to `display-buffer'.
2548 (async-shell-command): Doc fix.
2549
2550 * window.el (display-buffer-no-window): New action function.
2551 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2552
2553 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2554
2555 * vc/log-edit.el (log-edit-set-header): Extract from
2556 `log-edit-toggle-header'.
2557 (log-edit-extract-headers): Separate the summary, when extracted
2558 from header, from the rest of the message with an empty line.
2559
2560 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2561 line, if present, to the Summary header.
2562
2563 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2566 in current-buffer (bug#16029).
2567
2568 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2569
2570 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2571 (debugger-mode-map): Bind it.
2572 (debugger--backtrace-base): New function.
2573 (debugger-eval-expression): Use it.
2574 (debugger-frame-number): Skip local vars when present.
2575 (debugger--locals-visible-p, debugger--insert-locals)
2576 (debugger--show-locals, debugger--hide-locals): New functions.
2577
2578 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2579
2580 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2581 "LC_ALL".
2582 (tramp-get-remote-locale): New defun.
2583 (tramp-open-connection-setup-interactive-shell): Use it.
2584
2585 2013-12-02 Leo Liu <sdl.web@gmail.com>
2586
2587 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2588
2589 * progmodes/sh-script.el (sh-shell-process):
2590 * progmodes/octave.el (inferior-octave-process-live-p):
2591 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2592 (gdb-inferior-io-sentinel):
2593 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2594
2595 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2596
2597 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2598 `save-selected-window' to `log-edit-hide-buf'. This makes
2599 `log-edit-show-files' idempotent.
2600 (log-edit-show-files): Mark the new window as dedicated.
2601
2602 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2603
2604 * vc/log-edit.el (log-edit-mode-map): Add binding for
2605 `log-edit-kill-biffer'.
2606 (log-edit-hide-buf): Add a FIXME comment.
2607 (log-edit-add-new-comment): New function, extracted from
2608 `log-edit-done'.
2609 (log-edit-done, log-edit-add-to-changelog): Use it.
2610 (log-edit-kill-buffer): New command.
2611
2612 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2613
2614 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2615 instead of killing the buffer.
2616
2617 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2620
2621 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2622
2623 * net/eww.el (eww-form-checkbox-selected-symbol)
2624 (eww-form-checkbox-symbol): New customizable variable.
2625 (eww-form-checkbox, eww-toggle-checkbox):
2626 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2627
2628 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2629 (shr--get-media-pref, shr--extract-best-source): New function.
2630 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2631 no :src tag was specified.
2632
2633 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2634 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2635 Use \\` to match beginning of string instead of ^.
2636 (eww-browse-with-external-browser): Provide optional URL parameter.
2637 (eww-render): Set `eww-current-title' back to "".
2638
2639 * net/shr.el (shr-tag-video): Display content for video if no
2640 poster is available.
2641 (shr-tag-audio): Add support for <audio> tag.
2642
2643 * net/eww.el (eww-text-input-types): New const.
2644 (eww-process-text-input): Treat input types in
2645 `eww-text-input-types' as text.
2646
2647 * net/shr.el (shr-tag-table): Fix comment typo.
2648
2649 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2650
2651 * net/eww.el (eww-follow-link): New command to avoid reloading
2652 pages when we follow #target links (bug#15243).
2653 (eww-quit): Special mode buffers shouldn't query before exiting.
2654
2655 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2656
2657 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2658 forms.
2659
2660 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * net/eww.el (eww-restore-history): Update the window title after
2663 moving in the history.
2664 (eww-current-dom): New variable used to save the current DOM.
2665
2666 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2667
2668 * vc/log-edit.el (log-edit-mode-map): Add binding for
2669 `log-edit-beginning-of-line'.
2670 (log-edit-setup-add-author): New user option.
2671 (log-edit-beginning-of-line): New command.
2672 (log-edit): Move major mode call above the contents setup so that
2673 the local variable values are already applied.
2674 (log-edit): Only insert "Author: " when
2675 `log-edit-setup-add-author' is non-nil.
2676 (log-edit): When SETUP is non-nil, position point after ": "
2677 instead of point-min.
2678
2679 2013-12-01 Glenn Morris <rgm@gnu.org>
2680
2681 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2682
2683 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2684
2685 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2686 redisplay to make sure the initial frame gets a chance to become
2687 visible. (Bug#16014)
2688
2689 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2690
2691 Support resizing frames and windows pixelwise.
2692 * cus-start.el (frame-resize-pixelwise)
2693 (window-resize-pixelwise): New entries.
2694 * emacs-lisp/debug.el (debug): Use window-total-height instead
2695 of window-total-size.
2696 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2697 * help.el (describe-bindings-internal): Call help-buffer
2698 (temp-buffer-max-width): New option.
2699 (resize-temp-buffer-window, help-window-setup)
2700 (with-help-window): Rewrite.
2701 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2702 dragging dividers.
2703 * window.el (frame-char-size, window-min-pixel-height)
2704 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2705 (window-min-pixel-width, window-safe-min-pixel-size)
2706 (window-combination-p, window-safe-min-size)
2707 (window-resizable-p, window--size-to-pixel)
2708 (window--pixel-to-size, window--resize-apply-p): New functions.
2709 (window-safe-min-height): Fix doc-string.
2710 (window-size, window-min-size, window--min-size-1)
2711 (window-sizable, window-sizable-p, window--min-delta-1)
2712 (window-min-delta, window--max-delta-1, window-max-delta)
2713 (window--resizable, window--resizable-p, window-resizable)
2714 (window-full-height-p, window-full-width-p, window-at-side-p)
2715 (window--in-direction-2, window-in-direction)
2716 (window--resize-reset-1, window--resize-mini-window)
2717 (window-resize, window-resize-no-error)
2718 (window--resize-child-windows-normal)
2719 (window--resize-child-windows, window--resize-siblings)
2720 (window--resize-this-window, window--resize-root-window)
2721 (window--resize-root-window-vertically)
2722 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2723 (maximize-window, minimize-window, delete-window)
2724 (quit-restore-window, window-split-min-size, split-window)
2725 (balance-windows-2, balance-windows)
2726 (balance-windows-area-adjust, balance-windows-area)
2727 (window--state-get-1, window-state-get, window--state-put-1)
2728 (window--state-put-2, window-state-put)
2729 (display-buffer-record-window, window--display-buffer):
2730 Make functions handle pixelwise sizing of windows.
2731 (display-buffer--action-function-custom-type)
2732 (display-buffer-fallback-action):
2733 Add display-buffer-in-previous-window.
2734 (display-buffer-use-some-window): Resize window to height it had
2735 before.
2736 (fit-window-to-buffer-horizontally): New option.
2737 (fit-frame-to-buffer): Describe new values.
2738 (fit-frame-to-buffer-bottom-margin): Replace with
2739 fit-frame-to-buffer-margins.
2740 (window--sanitize-margin): New function.
2741 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2742 using window-text-pixel-size.
2743
2744 2013-11-30 Glenn Morris <rgm@gnu.org>
2745
2746 * emacs-lisp/bytecomp.el (byte-compile-form):
2747 Make the `interactive-only' warning like the `obsolete' one.
2748 * comint.el (comint-run):
2749 * files.el (insert-file-literally, insert-file):
2750 * replace.el (replace-string, replace-regexp):
2751 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2752 (goto-line, insert-buffer, next-line, previous-line):
2753 Tweak `interactive-only' spec.
2754
2755 Stop keeping (most) generated cedet grammar files in the repository.
2756 * Makefile.in (semantic): New.
2757 (compile-main): Depend on semantic.
2758
2759 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2762 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2763
2764 * uniquify.el (uniquify-buffer-name-style): Change default.
2765
2766 * loadup.el: Preload "uniquify".
2767
2768 * time.el (display-time-update): Update all mode lines (bug#15999).
2769
2770 * electric.el (electric-indent-mode): Enable by default.
2771 * loadup.el: Preload "electric".
2772
2773 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2774
2775 * emacs-lisp/helpers.el (string-empty-p): New function.
2776 (string-blank-p): New function.
2777
2778 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2779
2780 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2781 (Bug#14029).
2782
2783 2013-11-29 Andreas Politz <politza@fh-trier.de>
2784 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2785 allow non-lambda lists as functions.
2786 (imenu--in-alist): Don't recurse into non-subalists.
2787 (imenu): Don't pass function itself as an argument (Bug#14029).
2788
2789 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * progmodes/python.el (python-mode-map): Remove binding for ":".
2792 (python-indent-electric-colon): Remove command.
2793 (python-indent-post-self-insert-function): Integrate the previous code
2794 of python-indent-electric-colon. Make it conditional on
2795 electric-indent-mode.
2796 (python-mode): Add ?: to electric-indent-chars.
2797 Move python-indent-post-self-insert-function to the end of
2798 post-self-insert-hook.
2799
2800 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * doc-view.el (doc-view-goto-page): Update mode-line.
2803
2804 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2805
2806 2013-11-27 Glenn Morris <rgm@gnu.org>
2807
2808 * international/charprop.el, international/uni-bidi.el:
2809 * international/uni-category.el, international/uni-combining.el:
2810 * international/uni-comment.el, international/uni-decimal.el:
2811 * international/uni-decomposition.el, international/uni-digit.el:
2812 * international/uni-lowercase.el, international/uni-mirrored.el:
2813 * international/uni-name.el, international/uni-numeric.el:
2814 * international/uni-old-name.el, international/uni-titlecase.el:
2815 * international/uni-uppercase.el:
2816 Remove generated files from VCS repository.
2817
2818 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2819
2820 * filenotify.el (file-notify-add-watch): Don't special-case
2821 w32notify when computing the directory to watch.
2822
2823 2013-11-27 Glenn Morris <rgm@gnu.org>
2824
2825 Make bootstrap without generated uni-*.el files possible again.
2826 * loadup.el: Update command-line-args checking for unidata-gen.
2827 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2828 * composite.el, international/characters.el:
2829 Handle unicode tables being undefined.
2830
2831 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2832 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2833 (compile-main): Depend on leim rule.
2834 (leim): New rule.
2835 * loadup.el: Move leim-list.el to leim/ subdirectory.
2836 * startup.el (normal-top-level): No more leim directory.
2837 * international/ja-dic-cnv.el (skkdic-convert):
2838 Disable version-control and autoloads in output files.
2839 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2840 Disable version-control and autoloads in output files.
2841 * leim/quail: Move here from ../leim.
2842 * leim/quail/hangul.el (hangul-input-method-activate):
2843 Add autoload cookie.
2844 (generated-autoload-load-name): Set file-local value.
2845 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2846 (generated-autoload-load-name): Set file-local value.
2847
2848 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2849
2850 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2851 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2852 (eww-quit): Ask confirmation before quitting eww.
2853
2854 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2855
2856 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2857 reading output from Diff on MS-Windows and MS-DOS.
2858
2859 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2860
2861 * emacs-lisp/helpers.el (string-reverse): New function.
2862
2863 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2866 names on MS Windows, like "/[::1]:".
2867
2868 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2869 SWITCHES.
2870
2871 2013-11-26 Glenn Morris <rgm@gnu.org>
2872
2873 * progmodes/python.el (python-indent-guess-indent-offset):
2874 Avoid corner-case error. (Bug#15975)
2875
2876 Preload leim-list.el. (Bug#4789)
2877 * loadup.el: Load leim-list.el when found.
2878 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2879
2880 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2881
2882 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2883
2884 * emacs-lisp/helpers.el (string-join): New function.
2885
2886 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2887
2888 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2889 Mark as obsolete and replace it with a symbol property.
2890 (byte-compile-form): Use new 'interactive-only property.
2891 * comint.el, files.el, replace.el, simple.el:
2892 Apply new 'interactive-only properly.
2893
2894 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2895
2896 * window.el (display-buffer-at-bottom): Make sure that
2897 split-window-sensibly creates the new window on bottom
2898 (Bug#15961).
2899
2900 2013-11-23 David Kastrup <dak@gnu.org>
2901
2902 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2903 on the conflict markers when available.
2904 (smerge--get-marker): New function.
2905 (smerge-end-re, smerge-base-re): Add subgroup.
2906
2907 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * frame.el (handle-focus-in, handle-focus-out): Add missing
2910 interactive spec.
2911
2912 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2913
2914 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2915 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2916
2917 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2920 (gomoku--last-pos): New var.
2921 (gomoku--intangible-chars): New const.
2922 (gomoku--intangible): New function.
2923 (gomoku-mode): Use it. Derive from special-mode.
2924 (gomoku-move-up): Adjust line count.
2925 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2926 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2927 Simplify accordingly.
2928
2929 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2930 Remove blink-cursor code.
2931 (blink-cursor-timer-function, blink-cursor-suspend):
2932 Don't special-case GUIs.
2933 (blink-cursor-mode): Use focus-in/out-hook.
2934
2935 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2936
2937 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2938 work when annotation is invisible (Bug#13886).
2939
2940 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2941
2942 * json.el (json-alist-p): Only return non-nil if the alist has
2943 simple keys (Bug#13518).
2944
2945 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2946
2947 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2948 when control-statement is the first statement in a buffer (Bug#15956).
2949
2950 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2951
2952 * imenu.el (imenu-generic-skip-comments-and-strings):
2953 New option (Bug#15560).
2954 (imenu--generic-function): Use it.
2955
2956 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2957
2958 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2959 (Bug#13898)
2960
2961 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2962
2963 * emacs-lisp/helpers.el: Add some string helpers.
2964 (string-trim-left): Removes leading whitespace.
2965 (string-trim-right): Removes trailing whitespace.
2966 (string-trim): Removes leading and trailing whitespace.
2967
2968 * subr.el (string-suffix-p): New function.
2969
2970 2013-11-23 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/python.el (python-shell-send-file):
2973 Add option to delete file when done. (Bug#15647)
2974 (python-shell-send-string, python-shell-send-region): Use it.
2975
2976 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2977
2978 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2979 to set buffer-read-only to t, never to nil. (Bug#15938)
2980
2981 * textmodes/tex-mode.el (latex-noindent-environments):
2982 Add safe-local-variable property. (Bug#15936)
2983
2984 2013-11-23 Glenn Morris <rgm@gnu.org>
2985
2986 * textmodes/enriched.el (enriched-mode): Doc fix.
2987 * emacs-lisp/authors.el (authors-renamed-files-alist):
2988 Add enriched.doc -> enriched.txt.
2989
2990 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2991
2992 2013-11-22 Leo Liu <sdl.web@gmail.com>
2993
2994 * progmodes/octave.el (inferior-octave-startup): Spit out error
2995 message.
2996
2997 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2998
2999 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3000 Improve docstring.
3001 Add :version.
3002 (ruby-encoding-magic-comment-style): Add :version.
3003
3004 2013-11-22 Leo Liu <sdl.web@gmail.com>
3005
3006 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3007 (Bug#15076)
3008 (octave-help-mode): Adapt to change to help-mode-finish to use
3009 derived-mode-p on 2013-09-17.
3010 (inferior-octave-prompt): Also match octave-gui.
3011 (octave-kill-process): Don't ask twice. (Bug#10564)
3012
3013 2013-11-22 Leo Liu <sdl.web@gmail.com>
3014
3015 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3016 (inferior-octave-startup, inferior-octave-check-process)
3017 (inferior-octave-track-window-width-change)
3018 (octave-completion-at-point, octave-eldoc-function): Use it.
3019 (octave-kill-process): Provide confirmation. (Bug#10564)
3020
3021 2013-11-21 Leo Liu <sdl.web@gmail.com>
3022
3023 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3024 Fix obsolete variable comment-use-global-state.
3025
3026 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3027
3028 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3029 Add `octave-source-file'.
3030 (octave-source-file): New function. (Bug#15935)
3031
3032 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3033
3034 * net/eww.el (eww-local-regex): New variable.
3035 (eww): Use it to detect localhost and similar.
3036
3037 2013-11-21 Leo Liu <sdl.web@gmail.com>
3038
3039 Add completion for command `ag'.
3040 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3041 (pcomplete/ag): New function.
3042 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3043
3044 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3047 (bug#14646).
3048 (make-obsolete): Remove interactive spec.
3049
3050 2013-11-21 Glenn Morris <rgm@gnu.org>
3051
3052 * startup.el (command-line-1): Use path-separator with -L.
3053
3054 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3055
3056 * emacs-lisp/package.el (describe-package-1): Add package archive
3057 to shown fields.
3058
3059 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3060
3061 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3062 Change default to "# encoding: %s" to differentiate it from the
3063 default Ruby encoding comment template.
3064
3065 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3066
3067 * ses.el (ses-mode): Doc fix. (Bug#14748)
3068
3069 2013-11-20 Leo Liu <sdl.web@gmail.com>
3070
3071 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3072
3073 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3074
3075 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3076 when rebase or bisect are in progress.
3077
3078 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3079
3080 * filenotify.el (file-notify-add-watch): Doc fix.
3081
3082 2013-11-19 Leo Liu <sdl.web@gmail.com>
3083
3084 * obsolete/rcompile.el: Mark obsolete.
3085
3086 * progmodes/compile.el (compilation-start)
3087 (compilation-goto-locus, compilation-find-file):
3088 Pass no-display-ok and handle nil value from display-buffer.
3089 (Bug#13594)
3090
3091 * window.el (display-buffer-alist, display-buffer): Document the
3092 new parameter no-display-ok. Return either a window or nil
3093 but never a non-window value.
3094
3095 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * electric.el (electric-indent-mode-map): Remove.
3098 (electric-indent-mode): Change the global-map instead (bug#15915).
3099
3100 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3101 Use add-function.
3102
3103 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * emacs-lisp/nadvice.el (remove-function): Align with
3106 add-function's behavior.
3107
3108 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3109 (gdb--string-regexp): New constant.
3110 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3111 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3112 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3113 submatch 1.
3114 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3115 Adjust use accordingly.
3116 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3117
3118 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3119
3120 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3121 interpolation curlies (Bug#15914).
3122
3123 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3124
3125 * calc/calc.el (calc-context-sensitive-enter): New variable.
3126 (calc-enter): Use `calc-context-sensitive-enter'.
3127
3128 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3129
3130 * progmodes/cfengine.el: Version bump.
3131 (cfengine-cf-promises): New defcustom to locate cf-promises.
3132 (cfengine3-vartypes): Add new "data" type.
3133 (cfengine3--current-word): New function to get current name-like
3134 word or its bounds.
3135 (cfengine3--current-function): New function to look up a CFEngine
3136 function's definition.
3137 (cfengine3-format-function-docstring): New function.
3138 (cfengine3-make-syntax-cache): New function.
3139 (cfengine3-documentation-function): New function: ElDoc glue.
3140 (cfengine3-completion-function): New function: completion glue.
3141 (cfengine3-mode): Set `compile-command',
3142 `eldoc-documentation-function', and add to
3143 `completion-at-point-functions'.
3144
3145 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3148 `tramp-current-connection'.
3149
3150 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3151
3152 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3153 nil/self/true/false with "end of symbol".
3154
3155 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3156
3157 * subr.el (version-regexp-alist): Fix a typo.
3158
3159 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3160
3161 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3162 "en_US.utf8" and "LC_CTYPE" to "".
3163 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3164 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3165
3166 2013-11-15 Leo Liu <sdl.web@gmail.com>
3167
3168 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3169
3170 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * progmodes/gud.el (ctl-x-map):
3173 Remove C-x SPC binding. (Bug#12342)
3174 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3175
3176 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3177
3178 * subr.el (version-regexp-alist):
3179 Recognize hg, svn and darcs versions as snapshot versions.
3180
3181 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3182 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3183 (ruby--encoding-comment-required-p): Extract from
3184 `ruby-mode-set-encoding'.
3185 (ruby-mode-set-encoding): Add the ability to always insert an
3186 utf-8 encoding comment. Fix and simplify coding comment update
3187 logic.
3188
3189 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * net/tramp-gvfs.el (top): Run init code only when
3192 `tramp-gvfs-enabled' is not nil.
3193 (tramp-gvfs-enabled): Check also :system bus.
3194
3195 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 Sync with upstream verilog-mode revision 78e66ba.
3198 * progmodes/verilog-mode.el (verilog-end-of-defun)
3199 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3200 (verilog-get-end-of-defun): Remove unused argument.
3201 (verilog-comment-depth): Remove unused local `e'.
3202 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3203 Don't pass arg to verilog-get-end-of-defun.
3204
3205 2013-11-14 Glenn Morris <rgm@gnu.org>
3206
3207 * obsolete/assoc.el (aget): Prefix dynamic variable.
3208
3209 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3210
3211 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3212
3213 * widget.el, hfy-cmap.el: Remove bogus package version number.
3214
3215 2013-11-13 Glenn Morris <rgm@gnu.org>
3216
3217 * replace.el (replace-eval-replacement):
3218 Try to give more helpful error message. (Bug#15836)
3219
3220 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3221 (archive-7z-update): Avoid custom type mismatches.
3222
3223 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3224
3225 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3228 address can be empty.
3229
3230 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3231 Accept nil SWITCHES.
3232 (tramp-gvfs-handle-write-region): Implement APPEND.
3233
3234 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3235
3236 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3237 binary "|" operator and closing block args delimiter.
3238 Remove FIXME comment referring to Ruby 1.8-only syntax.
3239 (ruby-smie--implicit-semi-p): Not after "|" operator.
3240 (ruby-smie--closing-pipe-p): New function.
3241 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3242 (ruby-smie-rules): Indent after "|".
3243
3244 2013-11-12 Glenn Morris <rgm@gnu.org>
3245
3246 * ps-print.el (ps-face-attribute-list):
3247 Handle anonymous faces. (Bug#15827)
3248
3249 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3250
3251 * window.el (display-buffer-other-frame): Fix doc-string.
3252 (Bug#15868)
3253
3254 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3257
3258 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3259
3260 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3261 (tramp-sh-handle-file-local-copy): Don't write a message when
3262 saving temporary files.
3263
3264 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3265 both directories are remote.
3266 (tramp-smb-handle-directory-files): Do not return double entries.
3267 Do not expand full file names.
3268 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3269 (tramp-smb-handle-write-region): Implement APPEND.
3270 (tramp-smb-get-stat-capability): Fix a stupid bug.
3271
3272 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3275
3276 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3277
3278 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3279 throwing error over malformed let/let* (bug#15814).
3280
3281 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * iswitchb.el (iswitchb-mode): Mark obsolete.
3284
3285 2013-11-11 Glenn Morris <rgm@gnu.org>
3286
3287 * international/uni-bidi.el, international/uni-category.el:
3288 * international/uni-name.el, international/uni-numeric.el:
3289 Regenerate for Unicode 6.3.0.
3290
3291 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/tramp.el (tramp-methods):
3294 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3295 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3296
3297 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3298
3299 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3300 Force highlighting text after Summary keyword in doc face for rpm.
3301
3302 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3303
3304 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3305 available and the word has no wildcards, append one to the grep pattern.
3306 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3307 (ispell-complete-word): Call `ispell-lookup-words' with the value
3308 independent of `ispell-look-p'.
3309
3310 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3311
3312 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3313 Not after "||".
3314 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3315 their parent.
3316
3317 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3320 (ruby-font-lock-keywords): Use backquote.
3321
3322 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3325 (ruby-smie--backward-token): Only consider full-string matches.
3326
3327 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3328
3329 * faces.el (describe-face): Add distant-foreground.
3330
3331 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3332
3333 * progmodes/ruby-mode.el: Improve encoding comment handling.
3334 (ruby-encoding-magic-comment-style): New option.
3335 (ruby-custom-encoding-magic-comment-template): New option.
3336 (ruby--insert-coding-comment, ruby--detect-encoding):
3337 New functions extracted from `ruby-mode-set-encoding'.
3338 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3339 to control the style of the auto-inserted encoding comment.
3340
3341 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3344 Use `smie-backward-sexp' with token argument.
3345
3346 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3347
3348 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3349 Remove instrumentation code.
3350
3351 2013-11-08 Glenn Morris <rgm@gnu.org>
3352
3353 * progmodes/autoconf.el (autoconf-mode):
3354 Tweak comment-start-skip. (Bug#15822)
3355
3356 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3359 at bobp (bug#15826).
3360 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3361
3362 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3363
3364 * man.el (Man-start-calling): New macro, extracted from
3365 Man-getpage-in-background.
3366 (Man-getpage-in-background): Use it.
3367 (Man-update-manpage): New command.
3368 (Man-mode-map): Bind it.
3369
3370 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3371
3372 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3373 of "and", "or", "&&" and "||".
3374 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3375 argument. Prohibit opening curly brace because it could only be a
3376 block opener in that position.
3377 (ruby-smie--forward-token, ruby-smie--backward-token):
3378 Separate "|" from "&" or "*" going after it. That can happen in block
3379 arguments.
3380 (ruby-smie--indent-to-stmt): New function, seeks the end of
3381 previous statement or beginning of buffer.
3382 (ruby-smie-rules): Use it.
3383 (ruby-smie-rules): Check if there's a ":" before a curly block
3384 opener candidate; if there is, it's a hash.
3385
3386 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3389 (cl--block-wrapper): Fix last accidental change.
3390
3391 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3394 Instrument, in order to hunt failure on hydra.
3395
3396 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3397
3398 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3399 malformed bindings form (bug#15814).
3400
3401 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3402
3403 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3404 "." compared to " @ ". This incidentally fixes some indentation
3405 examples with "do".
3406 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3407 (ruby-smie-grammar): New tokens: "and" and "or".
3408 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3409 Exclude "and" and "or". Remove "do" in order to work around token
3410 priorities.
3411 (ruby-smie-rules): Add all infix tokens. Handle the case of
3412 beginning-of-buffer.
3413
3414 2013-11-06 Glenn Morris <rgm@gnu.org>
3415
3416 * Makefile.in (setwins_almost, setwins_for_subdirs):
3417 Avoid accidental matches.
3418
3419 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * menu-bar.el (popup-menu): Use key-binding.
3422
3423 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3424
3425 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3426 menus, support also the menus produced by minor modes.
3427 (Bug#15817)
3428
3429 2013-11-06 Leo Liu <sdl.web@gmail.com>
3430
3431 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3432 DISTANCE to bound the search. All uses changed. (Bug#15808)
3433
3434 2013-11-06 Glenn Morris <rgm@gnu.org>
3435
3436 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3437 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3438 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3439
3440 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3441
3442 * electric.el (electric-indent-just-newline): New command.
3443 (electric-indent-mode-map): New keymap.
3444 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3445 Re-add :group which weren't redundant.
3446
3447 * electric.el (electric-indent-local-mode): New minor mode.
3448 (electric-indent-functions-without-reindent): New var.
3449 (electric-indent-post-self-insert-function): Use it.
3450 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3451
3452 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3453
3454 * international/quail.el (quail-help): Be more explicit about the
3455 meaning of the labels shown on the keys. (Bug#15800)
3456
3457 * startup.el (normal-top-level): Load the subdirs.el files before
3458 setting the locale environment. (Bug#15805)
3459
3460 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3463 via arguments so as to get the right ones (bug#15418).
3464
3465 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3466
3467 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3468
3469 Fix problems found while writing a test suite.
3470
3471 * net/tramp-compat.el (tramp-compat-load): New defun.
3472 * net/tramp.el (tramp-handle-load): Use it.
3473
3474 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3475 "(numberp ok-if-already-exists)" correctly.
3476
3477 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3478
3479 * international/characters.el (glyphless-char-display-control):
3480 Add usage note.
3481
3482 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3483
3484 * progmodes/python.el (python-mode):
3485 * progmodes/scheme.el (scheme-mode):
3486 * progmodes/prolog.el (prolog-mode):
3487 * progmodes/ruby-mode.el (ruby-mode):
3488 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3489 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3490
3491 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3492
3493 * rect.el (rectangle--highlight-for-redisplay):
3494 * emacs-lisp/smie.el (smie--next-indent-change):
3495 Use buffer-chars-modified-tick.
3496
3497 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3498
3499 * electric.el (electric-indent-post-self-insert-function):
3500 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3501
3502 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3503
3504 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3505
3506 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3507
3508 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3509 (bug#15786).
3510
3511 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3514
3515 * progmodes/python.el: Fix up last change.
3516 (python-shell--save-temp-file): New function.
3517 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3518 `string' comes from the current buffer.
3519 (python-shell-send-string-no-output): Remove `msg' arg.
3520 (python--use-fake-loc): New var.
3521 (python-shell-buffer-substring): Obey it. Try to compensate for the
3522 extra coding line added by python-shell--save-temp-file.
3523 (python-shell-send-region): Use python-shell--save-temp-file and
3524 python-shell-send-file directly. Add `nomain' argument.
3525 (python-shell-send-buffer): Use python-shell-send-region.
3526 (python-electric-pair-string-delimiter): New function.
3527 (python-mode): Use it.
3528
3529 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3530
3531 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3532 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3533 environment and decoding all of the default-directory's to here
3534 from command-line.
3535 (command-line): Decode also argv[0].
3536
3537 * loadup.el: Error out if default-directory is a multibyte string
3538 when we are dumping.
3539
3540 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3541
3542 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3543
3544 * emacs-lisp/package.el (package-menu-mode)
3545 (package-menu--print-info, package-menu--archive-predicate):
3546 Add Archive column to package list.
3547
3548 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3549
3550 Fix problems found while writing a test suite.
3551
3552 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3553 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3554 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3555 to nil when running original file name handler. Otherwise,
3556 there are problems with constructs like "$$FOO".
3557
3558 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3559 for `localname'.
3560
3561 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3562
3563 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3564
3565 * subr.el (version<, version<=, version=):
3566 Update docstrings with information for snapshot versions.
3567
3568 * helpers.el: New library for misc helper functions.
3569 (hash-table-keys): New function returning a list of hash keys.
3570 (hash-table-values): New function returning a list of hash values.
3571
3572 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3573
3574 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3575 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3576
3577 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3578
3579 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3580 checking whether point is after a 1-letter word.
3581
3582 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3583
3584 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3585 Don't infloop when expanding region over `multiline' syntax-type that
3586 begins a line (bug#15778).
3587
3588 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3591 Make it into a proper minor mode.
3592 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3593 (rectangle-mark-mode-map): New keymap.
3594 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3595
3596 2013-11-04 Glenn Morris <rgm@gnu.org>
3597
3598 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3599
3600 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3603 (ruby-smie-rules): Use smie-rule-parent instead.
3604
3605 * emacs-lisp/smie.el (smie-rule-parent): Always call
3606 smie-indent-virtual rather than only for hanging tokens.
3607 (smie--next-indent-change): New helper command.
3608
3609 2013-11-03 Glenn Morris <rgm@gnu.org>
3610
3611 * Makefile.in (abs_srcdir): Remove.
3612 (emacs): Unset EMACSLOADPATH.
3613
3614 2013-11-02 Glenn Morris <rgm@gnu.org>
3615
3616 * Makefile.in (EMACS): Use a relative filename.
3617 (abs_top_builddir): Remove.
3618 (custom-deps, finder-data, autoloads): Use --chdir.
3619
3620 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3621
3622 Use relative filenames in TAGS files.
3623 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3624 (lisptagsfiles4, TAGS): Use relative file names.
3625 (TAGS-LISP): Remove.
3626 (maintainer-clean): No more TAGS-LISP file.
3627
3628 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3629 (lisptagsfiles4): Use absolute filenames again.
3630 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3631 Remove all *loaddefs files, not just the first. Remove esh-groups.
3632 (maintainer-clean): Delete TAGS, TAGS-LISP.
3633
3634 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3635
3636 * emacs-lisp/package.el (package-version-join):
3637 Recognize snapshot versions.
3638
3639 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3640
3641 * subr.el (version-regexp-alist): Add support for snapshot versions.
3642
3643 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3644
3645 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3646 New function, replacement for `smie-rule-parent' for when we want to
3647 skip over our direct parent if it's an assignment token..
3648 (ruby-smie-rules): Use it.
3649
3650 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3651
3652 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3653 unconditionally. Remove now unnecessary forward declarations.
3654 Remove XEmacs-specific setup.
3655 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3656 (ruby-font-lock-syntactic-keywords)
3657 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3658 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3659 (ruby-here-doc-end-syntax): Remove.
3660 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3661 defined as function.
3662
3663 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3664
3665 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3666
3667 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3668
3669 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3670 table and abbrev table, `define-derived-mode' does that for us
3671 anyway.
3672
3673 2013-11-01 Glenn Morris <rgm@gnu.org>
3674
3675 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3676 files is atomic for some time, so no parallel compilation issues).
3677
3678 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3679
3680 * faces.el (face-x-resources): Add :distant-foreground.
3681 (region): Use :distant-foreground for gtk and ns.
3682
3683 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3684
3685 Allow multiple bibliographies when BibLaTeX is used rather than
3686 BibTeX.
3687 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3688 (reftex-locate-bibliography-files): Us it.
3689
3690 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3691
3692 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3693 allow comments in pbm files.
3694
3695 * term/w32-win.el (dynamic-library-alist): Support newer versions
3696 of libjpeg starting with v7: look only for the DLL from the
3697 version against which Emacs was built.
3698 Support versions of libpng beyond 1.4.x.
3699 Support libtiff v4.x.
3700
3701 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3702
3703 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3704 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3705 Add property :safe.
3706 (ruby-deep-arglist): Add property :type.
3707
3708 2013-10-31 Glenn Morris <rgm@gnu.org>
3709
3710 * Makefile.in (custom-deps, finder-data): No need to setq the target
3711 variables, we are in the right directory and the defaults work fine.
3712
3713 2013-10-30 Glenn Morris <rgm@gnu.org>
3714
3715 * Makefile.in (autoloads): Do not use abs_lisp.
3716
3717 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3718 `newline' does not respect `standard-output', so use `princ'.
3719
3720 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3721
3722 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3723 * buff-menu.el (Buffer-menu--unmark): New function.
3724 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3725
3726 2013-10-30 Glenn Morris <rgm@gnu.org>
3727
3728 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3729
3730 * emacs-lisp/package.el (lm-homepage): Declare.
3731
3732 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3733 Fix doc typos.
3734
3735 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3736
3737 * Makefile.in (finder-data, autoloads, update-subdirs)
3738 (compile-main, compile-clean, compile-always, bootstrap-clean):
3739 Check return value of cd.
3740 (compile-calc): Remove.
3741
3742 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3745
3746 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3747 (byte-compile-and-folded): New function.
3748 (=, <, >, <=, >=): Use it.
3749
3750 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3751 (path-separator, null-device, buffer-file-coding-system)
3752 (lpr-headers-switches): Check system-type before modifying them.
3753 (find-buffer-file-type-coding-system): Mark obsolete.
3754 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3755 find-file-not-found-set-buffer-file-coding-system.
3756 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3757 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3758 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3759 (w32-direct-print-region-helper, w32-direct-print-region-function)
3760 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3761 * startup.el (normal-top-level-add-subdirs-to-load-path):
3762 * ps-print.el (ps-print-region-function):
3763 * lpr.el (print-region-function): Use new name.
3764
3765 * subr.el (custom-declare-variable-early): Remove function.
3766 (custom-declare-variable-list): Remove var.
3767 (error, user-error): Remove `while' loop.
3768 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3769 (user-emacs-directory-warning, locate-user-emacs-file):
3770 Move to files.el.
3771 * simple.el (read-quoted-char-radix, read-quoted-char):
3772 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3773 Move from subr.el.
3774 * custom.el (custom-declare-variable-list): Don't process
3775 custom-declare-variable-list.
3776
3777 * progmodes/python.el (python-shell-get-buffer): New function.
3778 (python-shell-get-process): Use it.
3779 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3780 Python which encoding was used. Don't split-string since we only care
3781 about the first line. Return the temp-file, if applicable.
3782 (python-shell-send-region): Tell compile.el how to turn locations in
3783 the temp-file into locations in the source buffer.
3784
3785 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * subr.el (undefined): Add missing behavior from the C code for
3788 unbound keys.
3789
3790 * rect.el: Use lexical-binding. Add new rectangular region support.
3791 (rectangle-mark): New command.
3792 (rectangle--region): New var.
3793 (deactivate-mark-hook): Reset rectangle--region.
3794 (rectangle--extract-region, rectangle--insert-for-yank)
3795 (rectangle--highlight-for-redisplay)
3796 (rectangle--unhighlight-for-redisplay): New functions.
3797 (region-extract-function, redisplay-unhighlight-region-function)
3798 (redisplay-highlight-region-function): Use them to handle
3799 rectangular region.
3800 * simple.el (region-extract-function): New var.
3801 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3802 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3803 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3804 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3805 (redisplay-unhighlight-region-function)
3806 (redisplay-highlight-region-function): New vars.
3807 (redisplay--update-region-highlight): New function.
3808 (pre-redisplay-function): Use it.
3809 (exchange-point-and-mark): Don't deactivate the mark before
3810 reactivate-it anyway.
3811 * comint.el (comint-kill-region): Remove yank-handler argument.
3812 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3813 (delete-char): Remove property, since it's now part of their
3814 default behavior.
3815 (self-insert-iso): Remove property since this command doesn't exist.
3816
3817 * emacs-lisp/package.el (package--download-one-archive)
3818 (describe-package-1): Don't query the user about final newline.
3819
3820 2013-10-29 Daniel Colascione <dancol@dancol.org>
3821
3822 * net/tramp.el (tramp-methods): Document new functionality.
3823 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3824 tramp-hostname-checker if method provides one instead of scanning
3825 argument list for "%h" to decide hostname acceptability.
3826
3827 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3830 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3831 Handle COPY-CONTENTS. (Bug#15737)
3832
3833 2013-10-28 Daiki Ueno <ueno@gnu.org>
3834
3835 * epa-file.el
3836 (epa-file-cache-passphrase-for-symmetric-encryption):
3837 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3838
3839 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3840
3841 * image.el (defimage):
3842 (image-load-path): Doc fixes.
3843
3844 2013-10-27 Alan Mackenzie <acm@muc.de>
3845
3846 Indent statements in macros following "##" correctly.
3847 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3848 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3849
3850 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3851
3852 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3853
3854 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3855
3856 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3857 after `=' is probably a new expression.
3858
3859 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3860
3861 * man.el (man-imenu-title): New option.
3862 (Man-mode-map): Add menu. (Bug#15722)
3863 (Man-mode): Add imenu to menu.
3864
3865 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3868 specific in what the first arg can be: a non-keyword word,
3869 string/regexp/percent literal opener, opening paren, or unary
3870 operator followed directly by word.
3871
3872 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3875 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3876 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3877 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3878 Remove vars, they do not apply any more.
3879 (prolog-mode-abbrev-table): Remove redundant declaration.
3880 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3881 (prolog-use-smie): Remove.
3882 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3883 supported by prolog-electric-if-then-else-flag.
3884 (prolog-mode-variables, prolog-menu): Use setq-local.
3885 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3886 Remove binding to `Backspace' since this key doesn't exist anyway.
3887 Remove bindings for electric self-inserting keys.
3888 (prog-mode): Assume it's defined.
3889 (prolog-post-self-insert): New function.
3890 (prolog-mode): Use it.
3891 (prolog-indent-line, prolog-indent-level)
3892 (prolog-find-indent-of-matching-paren)
3893 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3894 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3895 (prolog-goto-next-paren, prolog-in-string-or-comment)
3896 (prolog-tokenize, prolog-inside-mline-comment)
3897 (prolog-find-start-of-mline-comment): Remove functions.
3898 (prolog-find-unmatched-paren, prolog-clause-end)
3899 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3900 (prolog-electric--if-then-else): Rename from
3901 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3902 (prolog-tokenize-searchkey): Remove const.
3903 (prolog-clause-info): Use forward-sexp.
3904 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3905 (prolog-electric-if-then-else): Remove commands.
3906 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3907 for use in post-self-insert-hook.
3908 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3909 for use in post-self-insert-hook.
3910 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3911 for use in post-self-insert-hook.
3912 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3913 adapt it for use in post-self-insert-hook.
3914
3915 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * emacs-lisp/ert.el (ert-run-tests-interactively):
3918 Use `completing-read'. (Bug#9756)
3919
3920 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3921
3922 * simple.el (line-move): Call line-move-1 instead of
3923 line-move-visual when the current window hscroll is zero, but
3924 temporary-goal-column indicates we will need to hscroll as result
3925 of the movement. (Bug#15712)
3926
3927 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3928
3929 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3930 capitalization. Use :visible instead of :active.
3931 Fix `ruby-indent-exp' reference. Add menu items for the generic
3932 commands that are used with SMIE.
3933 (ruby-do-end-to-brace): Insert space after `{'.
3934
3935 2013-10-25 John Anthony <john@jo.hnanthony.com>
3936
3937 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3938
3939 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3940
3941 2013-10-25 Glenn Morris <rgm@gnu.org>
3942
3943 * vc/vc.el (vc-print-log): Don't use a working revision unless
3944 one was explicitly specified. (Bug#15322)
3945
3946 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * subr.el (add-to-list): Preserve return value in compiler-macro
3949 (bug#15692).
3950
3951 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3952
3953 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3954 result. Ask user to retry using '-all' flag. (Bug#15701)
3955
3956 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 * emacs-lisp/smie.el: New smie-config system.
3959 (smie-config): New defcustom.
3960 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3961 (smie-config-guess, smie-config-save): New commands.
3962 (smie-config--mode-local, smie-config--buffer-local)
3963 (smie-config--trace, smie-config--modefuns): New vars.
3964 (smie-config--advice, smie-config--mode-hook)
3965 (smie-config--setter, smie-config-local, smie-config--get-trace)
3966 (smie-config--guess-value, smie-config--guess): New functions.
3967 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3968 text properties. Treat "string fence" syntax like string syntax.
3969
3970 * progmodes/sh-script.el (sh-use-smie): Change default.
3971 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3972 (sh-var-value): Simplify by CSE.
3973 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3974 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3975 is used.
3976 (sh-guess-basic-offset): Use cl-incf.
3977 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3978
3979 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3980
3981 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3982 (bug#15699).
3983
3984 2013-10-24 Glenn Morris <rgm@gnu.org>
3985
3986 * Makefile.in (abs_top_srcdir): Remove.
3987 (update-subdirs): Use relative path to update-subdirs.
3988
3989 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3990
3991 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3992 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3993 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3994 Call unmsys--file-name before expand-file-name, not after it.
3995
3996 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3997
3998 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3999 (ert-test-skipped): New error.
4000 (ert-skip, ert-stats-skipped): New defuns.
4001 (ert--skip-unless): New macro.
4002 (ert-test-skipped): New struct.
4003 (ert--run-test-debugger, ert-test-result-type-p)
4004 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4005 (ert--stats-set-test-and-result, ert-char-for-test-result)
4006 (ert-string-for-test-result, ert-run-tests-batch)
4007 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4008 Handle skipped tests. (Bug#9803)
4009
4010 2013-10-24 Glenn Morris <rgm@gnu.org>
4011
4012 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4013
4014 * Makefile.in (abs_top_srcdir): New, set by configure.
4015 (update-subdirs): Correct build-aux location.
4016
4017 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4018
4019 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4020 value, whether we could auto-deduce `backend', or not.
4021
4022 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4023 with parameters" example. Simplify the "is it block or is it
4024 hash" check, but also make it more thorough.
4025
4026 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4027
4028 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4029
4030 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4033 { if it is hanging.
4034
4035 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4036 :before ";".
4037
4038 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4039
4040 * progmodes/compile.el (compilation-directory-matcher)
4041 (compilation-page-delimiter):
4042 Support GNU Make-4.0 directory quoting. (Bug#15678)
4043
4044 2013-10-23 Leo Liu <sdl.web@gmail.com>
4045
4046 * ido.el (ido-tidy): Handle read-only text.
4047
4048 2013-10-23 Glenn Morris <rgm@gnu.org>
4049
4050 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4051 (emacs, compile, compile-always):
4052 Quote entities that might contain whitespace.
4053 (custom-deps, finder-data, autoloads): Use abs_lisp.
4054 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4055 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4056 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4057
4058 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4059
4060 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4061 Use `following-char'.
4062
4063 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4066 * progmodes/ruby-mode.el (ruby-smie-rules):
4067 Remove corresponding workaround. Fix indentation rule of ";" so it
4068 also applies when ";" is the parent.
4069
4070 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4071
4072 * frame.el (display-screens, display-pixel-height)
4073 (display-pixel-width, display-mm-width, display-backing-store)
4074 (display-save-under, display-planes, display-color-cells)
4075 (display-visual-class, display-monitor-attributes-list):
4076 Mention the optional ‘display’ argument in doc strings.
4077
4078 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4079
4080 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4081 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4082
4083 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4084
4085 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4086 TODO. Add "." after " @ ".
4087 (ruby-smie--at-dot-call): New function. Checks if point at method
4088 call with explicit target.
4089 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4090 to the method name tokens when it precedes them.
4091 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4092 (ruby-smie-rules): Add rule for indentation before and after "."
4093 token.
4094
4095 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * textmodes/remember.el (remember-diary-extract-entries):
4098 Avoid add-to-list.
4099
4100 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4101 an instruction.
4102
4103 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4104
4105 * progmodes/ruby-mode.el (ruby-smie-grammar):
4106 Add (almost) all infix operators.
4107 (ruby-smie--implicit-semi-p): Add new operator chars.
4108
4109 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4110 `smie-down-list'.
4111 (ruby-smie--args-separator-p): Check that there's no newline
4112 between method call and its arguments.
4113
4114 2013-10-20 Alan Mackenzie <acm@muc.de>
4115
4116 Allow comma separated lists after Java "implements".
4117
4118 * progmodes/cc-engine.el (c-backward-over-enum-header):
4119 Parse commas.
4120 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4121 from a "disallowed" list in enum fontification.
4122
4123 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4124
4125 * startup.el (default-frame-background-mode): Remove unused defvar.
4126
4127 * progmodes/verilog-mode.el (verilog-mode): Don't set
4128 comment-indent-function globally.
4129
4130 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4131
4132 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4133 Move Info menu item creation to ns-win.el.
4134
4135 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4136 in menu bar.
4137
4138 * menu-bar.el: Move GNUstep specific menus...
4139
4140 * term/ns-win.el (ns-initialize-window-system): ... to here.
4141
4142 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4143
4144 * simple.el (newline): Only run post-self-insert-hook when
4145 called interactively.
4146
4147 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4148
4149 * icomplete.el (icomplete-with-completion-tables): Add :version.
4150
4151 2013-10-19 Alan Mackenzie <acm@muc.de>
4152
4153 Fix fontification bugs with constructors and const.
4154
4155 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4156 CASE 2) Remove the check for the absence of a suffix construct
4157 after a function declaration with only types (no identifiers) in
4158 the parentheses. Also, accept a function declaration with just a
4159 type inside the parentheses, if this type can be positively
4160 recognised as such, or if a prefix keyword like "explicit" nails
4161 down the construct as a declaration.
4162
4163 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4164
4165 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4166 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4167 the problem whereby selecting a menu item that leads to a
4168 minibuffer prompt moves the cursor out of the minibuffer window,
4169 making it hard to type at the prompt. Suggested by Stefan Monnier
4170 <monnier@iro.umontreal.ca>.
4171
4172 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4173
4174 * menu-bar.el: Don't make Services menu.
4175
4176 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4177
4178 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4179 (ffap-alist): Use ffap-c++-mode for c++-mode.
4180 (ffap-c++-path): New variable.
4181 (ffap-c++-mode): New function.
4182
4183 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4184
4185 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4186
4187 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4188
4189 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4190 introduced on 2013-09-08, which results in an infinite loop
4191 requesting a password.
4192
4193 2013-10-18 Glenn Morris <rgm@gnu.org>
4194
4195 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4196
4197 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4198
4199 Sync with upstream verilog-mode revision 1a6ecec7.
4200 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4201 (verilog-mode-release-date): Remove.
4202 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4203 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4204 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4205 (verilog-auto-tieoff-ignore-regexp)
4206 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4207 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4208 (verilog-signals-with, verilog-dir-cache-preserving)
4209 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4210 Doc fixes.
4211 (verilog-case-fold): New option, to control case folding in
4212 regexp searches, bug597.
4213 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4214 (verilog-string-match-fold, verilog-in-paren-count)
4215 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4216 (verilog-at-close-struct-p): New functions.
4217 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4218 (verilog-forward-sexp, verilog-set-auto-endcomments):
4219 (verilog-leap-to-case-head): Handle "unique0" case.
4220 (verilog-in-constraint-re): New constant.
4221 (verilog-keywords, verilog-type-font-keywords):
4222 Add some SystemVerilog 1800-2012 keywords.
4223 (verilog-label-be): Remove unimplemented argument, bug669.
4224 (verilog-batch-execute-func): When batch expanding clear
4225 create-lockfiles to prevent spurious user locks when a file ends
4226 up not changing.
4227 (verilog-calculate-indent, verilog-calc-1)
4228 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4229 (verilog-do-indent): Fix indentation of nested constraints
4230 and structures.
4231 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4232 (verilog-auto-inst-param): Use verilog-string-match-fold.
4233 (verilog-read-inst-module-matcher):
4234 Fix AUTOINST on gate primitives with #1.
4235 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4236 Reads all user-defined typed variables.
4237 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4238 (verilog-signals-matching-regexp)
4239 (verilog-signals-not-matching-regexp, verilog-auto):
4240 Respect verilog-case-fold.
4241 (verilog-diff-report): Fix line count.
4242 (verilog-auto-assign-modport): Remove unused local `modi'.
4243 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4244 better handle multidimensional arrays.
4245 Fix packed array ports misadding bit index in AUTOINST, bug637.
4246 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4247 to not double-declare existing outputs and inputs, respectively.
4248 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4249 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4250 (verilog-sk-uvm-component): New skeleton.
4251 (verilog-submit-bug-report): Add verilog-case-fold,
4252 remove verilog-mode-release-date.
4253
4254 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4255
4256 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4257 as before.
4258
4259 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4260
4261 * textmodes/remember.el (remember): Set buffer-offer-save in
4262 remember buffers (bug#13566).
4263
4264 2013-10-18 Daniel Colascione <dancol@dancol.org>
4265
4266 When evaluating forms in ielm, direct standard output to ielm
4267 buffer. Add new ielm-return-for-effect command. Remove trailing
4268 whitespace throughout.
4269
4270 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4271 (ielm-return-for-effect): New command.
4272 (ielm-send-input): Accept optional `for-effect' parameter.
4273 (ielm-eval-input): Accept optional `for-effect' parameter.
4274 Bind `standard-output' to stream we create using
4275 `ielm-standard-output-impl'. Suppress printing result when
4276 `for-effect'.
4277 (ielm-standard-output-impl): New function.
4278 (inferior-emacs-lisp-mode): Explain new features in documentation.
4279
4280 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4281
4282 Code cleanup.
4283
4284 * net/tramp.el (tramp-debug-message): Do not check for connection
4285 buffer.
4286 (tramp-message): Use "vector" connection property.
4287
4288 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4289 (tramp-equal-remote, tramp-eshell-directory-change)
4290 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4291 (tramp-adb-handle-rename-file)
4292 * net/tramp-cmds.el (tramp-list-remote-buffers)
4293 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4294 * net/tramp-compat.el (tramp-compat-process-running-p)
4295 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4296 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4297 (tramp-gvfs-handle-rename-file)
4298 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4299 (tramp-set-file-uid-gid)
4300 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4301 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4302 of `file-remote-p'.
4303
4304 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4305 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4306 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4307 (tramp-gw-open-network-stream): Suppress unrelated traces.
4308
4309 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4310 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4311 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4312 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4313 connection property.
4314
4315 * net/tramp-cache.el (top): Suppress traces when reading
4316 persistency file.
4317
4318 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4319 Refactor common code. Improve debug message.
4320 (tramp-maybe-open-connection)
4321 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4322 connection buffer too early.
4323
4324 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4325 from `tramp-smb-actions-with-acl'.
4326 (tramp-smb-actions-set-acl): New defconst.
4327 (tramp-smb-handle-copy-directory)
4328 (tramp-smb-action-get-acl): New defun, renamed from
4329 `tramp-smb-action-with-acl'.
4330 (tramp-smb-action-set-acl): New defun.
4331 (tramp-smb-handle-set-file-acl): Rewrite.
4332
4333 2013-10-17 Glenn Morris <rgm@gnu.org>
4334
4335 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4336
4337 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * skeleton.el (skeleton-newline): Remove.
4340 (skeleton-internal-1): Use (insert "\n") instead.
4341
4342 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4343 let-bindings.
4344
4345 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4346 forward-sexp-function while we redo its job (bug#15613).
4347
4348 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4349
4350 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4351 represented by lists.
4352
4353 2013-10-16 Glenn Morris <rgm@gnu.org>
4354
4355 * tmm.el (tmm--history): New dynamic variable.
4356 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4357
4358 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4359
4360 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4361 (tramp-smb-errors): Add error messages.
4362 (tramp-smb-actions-with-acl): New defconst.
4363 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4364 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4365 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4366 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4367 (tramp-smb-get-stat-capability): Fix tests.
4368
4369 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4370
4371 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4372 (bug#15580).
4373
4374 2013-10-16 Glenn Morris <rgm@gnu.org>
4375
4376 * ansi-color.el (ansi-color-drop-regexp):
4377 Add 1J, 1K, 2K. (Bug#15617)
4378
4379 * files.el (hack-local-variables--warned-lexical): New.
4380 (hack-local-variables):
4381 Warn about misplaced lexical-binding. (Bug#15616)
4382
4383 * net/eww.el (eww-render): Always set eww-current-url,
4384 and update header line. (Bug#15622)
4385 (eww-display-html): ... Rather than just doing it here.
4386
4387 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4388
4389 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4390 menu navigations commands.
4391
4392 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4393
4394 * progmodes/subword.el (subword-capitalize): Be careful when
4395 the search for [[:alpha:]] fails (bug#15580).
4396
4397 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4398
4399 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4400 to commands that scroll the menu.
4401
4402 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4403
4404 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4405 Handle methods ending with `?' and `!'.
4406
4407 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4408
4409 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4410 `japanese-cp932' to `cp932' to fix the problem where saving a
4411 source file written in Shift_JIS twice would end up having
4412 `coding: japanese-cp932' which Ruby could not recognize.
4413 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4414 in `ruby-encoding-map'.
4415 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4416 doesn't need to be explicitly declared in magic comment.
4417 (ruby-encoding-map): Add type declaration for better customize UI.
4418
4419 2013-10-13 Glenn Morris <rgm@gnu.org>
4420
4421 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4422 Occur buffers are read-only. http://bugs.debian.org/720775
4423
4424 * emacs-lisp/authors.el (authors-fixed-entries):
4425 Comment out old alpha stuff.
4426
4427 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4428
4429 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4430 to `after-save-hook' instead of `before-save-hook'.
4431 (ruby-mode-set-encoding): Use the value of coding system used to
4432 write the file. Call `basic-save-buffer-1' after modifying the
4433 buffer.
4434
4435 2013-10-13 Alan Mackenzie <acm@muc.de>
4436
4437 Fix indentation/fontification of Java enum with
4438 "implements"/generic.
4439
4440 * progmodes/cc-engine.el (c-backward-over-enum-header):
4441 Extracted from the three other places and enhanced to handle generics.
4442 (c-inside-bracelist-p): Uses new function above.
4443 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4444 function above.
4445 (c-font-lock-enum-tail): Uses new function above.
4446
4447 2013-10-13 Kenichi Handa <handa@gnu.org>
4448
4449 * international/mule-cmds.el (select-safe-coding-system): Remove a
4450 superfluous condition in chekcing whether a coding system is safe
4451 or not.
4452
4453 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4454
4455 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4456
4457 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4458
4459 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4460
4461 2013-10-13 Glenn Morris <rgm@gnu.org>
4462
4463 * menu-bar.el (menu-bar-update-buffers):
4464 Unify Buffers menu prompt string. (Bug#15576)
4465
4466 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4467
4468 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4469 Add some entries.
4470 (authors-fixed-entries): Use accented form of name.
4471
4472 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4473
4474 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4475 method calls (bug#15594).
4476 (ruby-smie--args-separator-p): New function.
4477 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4478 recognize paren-free method calls.
4479
4480 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4481 internals of universal-argument.
4482
4483 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4484
4485 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4486 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4487 dropped menu on second mouse click on the menu bar.
4488
4489 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4492 (explicit-shell-file-name): Declare.
4493 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4494 (sh-completion-at-point-function): New function.
4495 (sh-mode): Use it.
4496 (sh-smie--keyword-p): Remove unused argument.
4497 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4498 vars.
4499 (sh-set-shell): Always setup SMIE, even if we use the
4500 old indentation code.
4501
4502 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4503
4504 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4505 cases of ? and =.
4506 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4507 predicate would return nil are almost non-existent.
4508 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4509
4510 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4511 cache also after commands that modify the buffer but don't move
4512 point.
4513
4514 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * env.el (substitute-env-in-file-name): New function.
4517 (substitute-env-vars): Extend the meaning of the optional arg.
4518
4519 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4520
4521 * term/w32-win.el (dynamic-library-alist): Define separate lists
4522 of GIF DLLs for versions before and after 5.0.0 of giflib.
4523 (Bug#15531)
4524
4525 2013-10-10 João Távora <joaotavora@gmail.com>
4526
4527 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4528 not locked, use last revision and current source as
4529 defaults. (Bug#15569)
4530
4531 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4532
4533 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4534 menu-bar is hidden.
4535
4536 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4537
4538 * window.el (pop-to-buffer-same-window): Fix doc-string.
4539 (Bug#15492)
4540
4541 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4542
4543 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4544
4545 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4546
4547 * calendar/icalendar.el (icalendar-import-file):
4548 Fix interactive spec. (Bug#15482)
4549
4550 2013-10-10 Glenn Morris <rgm@gnu.org>
4551
4552 * desktop.el (desktop-save): Default to saving in .emacs.d,
4553 since PWD is no longer in desktop-path by default. (Bug#15319)
4554
4555 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4556 now that text mode has a menu with the same entry.
4557 (menu-bar-text-mode-auto-fill): Remove now unused func.
4558 * textmodes/text-mode.el (text-mode-map):
4559 Use auto-fill help text from menu-bar.el.
4560
4561 2013-10-10 John Anthony <john@jo.hnanthony.com>
4562
4563 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4564
4565 2013-10-09 Juri Linkov <juri@jurta.org>
4566
4567 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4568 instead of this-command-keys. Add universal-argument-more and
4569 universal-argument-minus to the list of prefix commands. (Bug#15568)
4570
4571 2013-10-09 Glenn Morris <rgm@gnu.org>
4572
4573 * vc/vc-svn.el (vc-svn-create-repo):
4574 Expand paths in file://... url. (Bug#15446)
4575
4576 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4577 Add some entries.
4578 (authors): Remove unused local variables.
4579
4580 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * profiler.el: Create a more coherent calltree from partial backtraces.
4583 (profiler-format): Hide the tail with `invisible' so that C-s can still
4584 find the hidden elements.
4585 (profiler-calltree-depth): Don't recurse so enthusiastically.
4586 (profiler-function-equal): New hash-table-test.
4587 (profiler-calltree-build-unified): New function.
4588 (profiler-calltree-build): Use it.
4589 (profiler-report-make-name-part): Indent the calltree less.
4590 (profiler-report-mode): Add visibility specs for profiler-format.
4591 (profiler-report-expand-entry, profiler-report-toggle-entry):
4592 Expand the whole subtree when provided with a prefix arg.
4593
4594 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4595
4596 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4597 iuwu-mod token.
4598 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4599 hanging iuwu-mod token.
4600 (ruby-smie--forward-token): Do not include a dot after a token in
4601 that token.
4602 (ruby-smie--backward-token): Likewise.
4603
4604 2013-10-08 Juri Linkov <juri@jurta.org>
4605
4606 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4607 to isearch-other-control-char.
4608 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4609 and isearch-post-command-hook to post-command-hook.
4610 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4611 and isearch-post-command-hook from post-command-hook.
4612 (isearch-unread-key-sequence)
4613 (isearch-reread-key-sequence-naturally)
4614 (isearch-lookup-scroll-key, isearch-other-control-char)
4615 (isearch-other-meta-char): Remove functions.
4616 (isearch-pre-command-hook, isearch-post-command-hook):
4617 New functions based on isearch-other-meta-char rewritten
4618 relying on the new behavior of overriding-terminal-local-map
4619 that does not replace the local keymaps any more. (Bug#15200)
4620
4621 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4622
4623 Support menus on text-mode terminals.
4624 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4625 functionality.
4626
4627 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4628
4629 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4630 Move here from mouse.el.
4631 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4632 and arrow keys.
4633 (tty-menu-navigation-map): New map for TTY menu navigation.
4634
4635 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4636
4637 * frame.el (display-mouse-p): Report text-mode mouse as available
4638 on w32.
4639 (display-popup-menus-p): Report availability if mouse is
4640 available; don't condition on window-system.
4641
4642 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4643 (tty-menu-selected-face): New faces.
4644
4645 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4648 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4649 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4650 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4651 New constants.
4652 (lisp-mode-variables): New `elisp' argument.
4653 (emacs-lisp-mode): Use it.
4654 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4655 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4656
4657 * indent.el: Use lexical-binding.
4658 (indent-region): Add progress reporter.
4659 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4660 last step.
4661 (indent--next-tab-stop): New function to implement this behavior.
4662 (tab-to-tab-stop, move-to-tab-stop): Use it.
4663
4664 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4665
4666 * indent.el (indent-rigidly--current-indentation): New function.
4667 (indent-rigidly-map): New var.
4668 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4669
4670 2013-10-08 Bastien Guerry <bzg@gnu.org>
4671
4672 * register.el (insert-register): Fix 2013-10-07 change.
4673
4674 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * progmodes/perl-mode.el: Use lexical-binding.
4677 Remove redundant :group args.
4678 (perl-nochange): Change default to be closer to other major modes's
4679 standard behavior.
4680 (perl-indent-line): Don't consider text on current line as a
4681 valid beginning of function from which to indent.
4682
4683 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4684 with more than one argument (bug#15538).
4685
4686 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4687
4688 * vc/pcvs.el: Use lexical-binding.
4689 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4690 environment of `eval'.
4691 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4692 than a list of expressions. Adjust callers.
4693 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4694
4695 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4696
4697 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4698 case of the dot in a chained method call being on the following line.
4699
4700 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * electric.el (electric-indent-inhibit): New var.
4703 (electric-indent-post-self-insert-function): Use it.
4704 * progmodes/python.el (python-mode): Set it.
4705
4706 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4707 open braces.
4708
4709 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4710
4711 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4712 (css-mode): Use electric-indent-chars.
4713
4714 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4715 (font-lock-beg, font-lock-end): Move before first use.
4716 (nxml-mode): Use syntax-propertize-function.
4717 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4718 (nxml-extend-after-change-region): Remove.
4719 * nxml/xmltok.el: Use lexical-binding.
4720 (xmltok-save): Use `declare'.
4721 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4722 * nxml/nxml-util.el: Use lexical-binding.
4723 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4724 Use `declare'.
4725 * nxml/nxml-ns.el: Use lexical-binding.
4726 (nxml-ns-save): Use `declare'.
4727 (nxml-ns-prefixes-for): Avoid add-to-list.
4728 * nxml/rng-match.el: Use lexical-binding.
4729 (rng--ipattern): Use cl-defstruct.
4730 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4731 (rng-cons-group-after, rng-subst-group-after)
4732 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4733 Use closures instead of `(lambda...).
4734
4735 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4738 of BEG and END.
4739
4740 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4741 Use `tramp-handle-insert-file-contents'.
4742 (tramp-gvfs-handle-insert-file-contents): Remove function.
4743
4744 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4745 Use `save-restriction' in order to keep markers.
4746
4747 * net/trampver.el: Update release number.
4748
4749 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * progmodes/compile.el (compilation-parse-errors):
4752 Use compilation--put-prop.
4753 (compilation--ensure-parse): Check compilation-multiline.
4754
4755 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4756
4757 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4758 lexical-binding.
4759
4760 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4761
4762 * progmodes/ruby-mode.el: Fix recently added tests.
4763 (ruby-smie-grammar): Add - and +.
4764 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4765 (ruby-smie--backward-id): New functions.
4766 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4767 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4768 any more.
4769
4770 2013-10-07 Leo Liu <sdl.web@gmail.com>
4771
4772 * register.el (register-preview-delay)
4773 (register-preview-functions): New variables.
4774 (register-read-with-preview, register-preview)
4775 (register-describe-oneline): New functions.
4776 (point-to-register, window-configuration-to-register)
4777 (frame-configuration-to-register, jump-to-register)
4778 (number-to-register, view-register, insert-register)
4779 (copy-to-register, append-to-register, prepend-to-register)
4780 (copy-rectangle-to-register): Use register-read-with-preview to
4781 read register. (Bug#15525)
4782
4783 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4784
4785 * net/network-stream.el (network-stream-open-starttls): Don't add
4786 --insecure if it's already present, because that gnutls-cli
4787 rejects getting that parameter twice.
4788
4789 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4790
4791 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4792 keyword, too.
4793
4794 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4795
4796 * newcomment.el (comment-use-global-state): Change default value
4797 to t, mark obsolete (Bug#15251).
4798 (comment-beginning): In addition to `comment-to-syntax', check the
4799 value of `comment-use-global-state'.
4800
4801 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4804 (ruby-comment-column): Follow the global default, by default.
4805 (ruby-smie-grammar): Add assignment syntax.
4806 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4807 open-paren, a comma, or a \.
4808 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4809 and line continuations.
4810 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4811 followed by implicit semi-colons. Add rule for string concatenation
4812 and for indentation at BOB.
4813 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4814
4815 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4816 calling next-sexp, since next-token may have skipped chars which
4817 next-sexp doesn't know should be skipped!
4818
4819 2013-10-05 Leo Liu <sdl.web@gmail.com>
4820
4821 * progmodes/octave.el (octave-send-region):
4822 Call compilation-forget-errors.
4823
4824 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4825
4826 * vc/vc-svn.el (vc-svn-find-admin-dir):
4827 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4828 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4829 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4830 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4831
4832 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4835
4836 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * subr.el (read-passwd): Hide chars even when called within a context
4839 where after-change-functions is disabled (bug#15501).
4840 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4841 until we removed ourself from overriding-terminal-local-map.
4842
4843 2013-10-04 Leo Liu <sdl.web@gmail.com>
4844
4845 * progmodes/octave.el (inferior-octave-mode):
4846 Call compilation-forget-errors.
4847
4848 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4849
4850 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4851
4852 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * net/secrets.el (secrets-create-collection): Add optional
4855 argument ALIAS. Use proper Label keyword. Append ALIAS as
4856 dbus-call-method argument. (Bug#15516)
4857
4858 2013-10-04 Leo Liu <sdl.web@gmail.com>
4859
4860 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4861 (inferior-octave-compilation-font-lock-keywords): New variables.
4862 (compilation-error-regexp-alist)
4863 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4864 (inferior-octave-mode): Use compilation-shell-minor-mode.
4865
4866 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4867
4868 * minibuffer.el (completion--replace): Be careful that `end' might be
4869 a marker.
4870
4871 2013-10-03 Daiki Ueno <ueno@gnu.org>
4872
4873 Add support for package signature checking.
4874 * emacs-lisp/package.el (url-http-file-exists-p)
4875 (epg-make-context, epg-context-set-home-directory)
4876 (epg-verify-string, epg-context-result-for)
4877 (epg-signature-status, epg-signature-to-string)
4878 (epg-check-configuration, epg-configuration)
4879 (epg-import-keys-from-file): Declare.
4880 (package-check-signature): New user option.
4881 (package-unsigned-archives): New user option.
4882 (package-desc): Add `signed' field.
4883 (package-load-descriptor): Set `signed' field if .signed file exists.
4884 (package--archive-file-exists-p): New function.
4885 (package--check-signature): New function.
4886 (package-install-from-archive): Check package signature.
4887 (package--download-one-archive): Check archive signature.
4888 (package-delete): Remove .signed file.
4889 (package-import-keyring): New command.
4890 (package-refresh-contents): Import default keyring.
4891 (package-desc-status): Add "unsigned" status.
4892 (describe-package-1, package-menu--print-info)
4893 (package-menu-mark-delete, package-menu--find-upgrades)
4894 (package-menu--status-predicate): Support "unsigned" status.
4895
4896 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4899 the new compilation scheme using the new byte-codes.
4900
4901 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4902 (byte-pophandler): New byte codes.
4903 (byte-goto-ops): Adjust accordingly.
4904 (byte-compile--use-old-handlers): New var.
4905 (byte-compile-catch): Use new byte codes depending on
4906 byte-compile--use-old-handlers.
4907 (byte-compile-condition-case--old): Rename from
4908 byte-compile-condition-case.
4909 (byte-compile-condition-case--new): New function.
4910 (byte-compile-condition-case): New function that dispatches depending
4911 on byte-compile--use-old-handlers.
4912 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4913 when we can.
4914
4915 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4916 Optimize under `condition-case' and `catch' if
4917 byte-compile--use-old-handlers is nil.
4918 (disassemble-offset): Handle new bytecodes.
4919
4920 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * subr.el (error): Use `declare'.
4923 (decode-char, encode-char): Use advertised-calling-convention instead
4924 of the docstring to discourage use of the `restriction' arg.
4925
4926 2013-10-03 Daiki Ueno <ueno@gnu.org>
4927
4928 * epg.el (epg-verify-file): Add a comment saying that it does not
4929 notify verification error as a return value nor a signal.
4930 (epg-verify-string): Ditto.
4931
4932 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4933
4934 * progmodes/compile.el (compilation-start): Try globbing the arg to
4935 `cd' (bug#15417).
4936
4937 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4938
4939 Sync with Tramp 2.2.8.
4940
4941 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4942 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4943 * net/trampver.el: Update release number.
4944
4945 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4946
4947 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4948 and default-process-coding-system for darwin only.
4949
4950 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4953
4954 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4955
4956 * vc/vc-git.el (vc-git-grep): Disable pager.
4957
4958 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4959
4960 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4961 Use :url instead of :homepage, as per
4962 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4963
4964 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4965 non-nil, use `syntax-ppss' (Bug#15251).
4966
4967 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4968
4969 * progmodes/octave.el (inferior-octave-startup-file):
4970 Prefer ~/.emacs.d/init_octave.m.
4971
4972 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4973
4974 * emacs-lisp/package.el (package-desc-from-define):
4975 Accept additional arguments as plist, convert them to an alist and store
4976 them in the `extras' slot.
4977 (package-generate-description-file): Convert extras alist back to
4978 plist and append to the `define-package' form arguments.
4979 (package--alist-to-plist): New function.
4980 (package--ac-desc): Add `extras' slot.
4981 (package--add-to-archive-contents): Check if the archive-contents
4982 vector is long enough, and if it is, pass its `extras' slot value
4983 to `package-desc-create'.
4984 (package-buffer-info): Call `lm-homepage', pass the returned value
4985 to `package-desc-from-define'.
4986 (describe-package-1): Render the homepage button (Bug#13291).
4987
4988 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4989 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4990
4991 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4992
4993 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4994 and default-process-coding-system to utf-8-unix (Bug#15402).
4995
4996 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4997
4998 * subr.el (looking-back): Do not recommend using looking-back.
4999
5000 2013-09-28 Alan Mackenzie <acm@muc.de>
5001
5002 Fix indentation/fontification of Java enum with "implements".
5003
5004 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5005 regexp which matches "implements", etc., in Java.
5006 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5007 specifier clauses coming after "enum".
5008 * progmodes/cc-fonts.el (c-font-lock-declarations)
5009 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5010 after "enum".
5011
5012 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5013
5014 * faces.el (region): Change ns_selection_color to
5015 ns_selection_fg_color, add ns_selection_bg_color.
5016
5017 2013-09-28 Leo Liu <sdl.web@gmail.com>
5018
5019 * progmodes/octave.el (inferior-octave-completion-table)
5020 (inferior-octave-completion-at-point): Minor tweaks.
5021
5022 * textmodes/ispell.el (ispell-lookup-words): Rename from
5023 lookup-words. (Bug#15460)
5024 (lookup-words): Obsolete.
5025 (ispell-complete-word, ispell-command-loop): All uses changed.
5026
5027 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5028
5029 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5030 (octave-mode-menu): Add octave-send-buffer.
5031 (octave-send-buffer): New function.
5032
5033 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5034
5035 * progmodes/octave.el (octave-mode-map): Add key binding for
5036 octave-lookfor.
5037 (octave-mode-menu): Add octave-lookfor.
5038 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5039 octave-lookfor.
5040 (octave-lookfor): New function.
5041
5042 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * emacs-lisp/cl-macs.el:
5045 (cl--loop-destr-temps): Remove.
5046 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5047 its convention.
5048 (cl--loop-set-iterator-function): New function.
5049 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5050 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5051 Bind `it' with `let' instead of substituting it with `cl-subst'.
5052 (cl--unused-var-p): New function.
5053 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5054 Eliminate some unused variable warnings (bug#15326).
5055
5056 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5057
5058 * doc-view.el (doc-view-scale-reset): Rename from
5059 `doc-view-reset-zoom-level'.
5060 (doc-view-scale-adjust): New command.
5061 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5062 `doc-view-scale-adjust'.
5063
5064 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5065
5066 * doc-view.el (doc-view-reset-zoom-level): New command.
5067 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5068 zoom commands (bug#15466).
5069
5070 2013-09-26 Kenichi Handa <handa@gnu.org>
5071
5072 * international/quail.el (quail-help): Make it not a command.
5073
5074 2013-09-26 Leo Liu <sdl.web@gmail.com>
5075
5076 * minibuffer.el (completion-all-sorted-completions): Make args
5077 optional as they are.
5078
5079 2013-09-25 Daniel Colascione <dancol@dancol.org>
5080
5081 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5082 specs are and that they're not evaluated.
5083
5084 2013-09-24 Sam Steingold <sds@gnu.org>
5085
5086 * midnight.el (clean-buffer-list-kill-regexps)
5087 (clean-buffer-list-kill-buffer-names): Update for the new Man
5088 buffer naming which includes the object name.
5089
5090 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5093 (eshell-parse-command, eshell-parse-pipeline): Use it since
5094 eshell-separate-commands requires a dynamic scoped var.
5095 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5096
5097 2013-09-23 Leo Liu <sdl.web@gmail.com>
5098
5099 * autoinsert.el (auto-insert-alist): Make the value of
5100 lexical-binding match its file setting.
5101
5102 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5105
5106 * autoarg.el (autoarg-kp-digit-argument):
5107 * electric.el (Electric-command-loop):
5108 * kmacro.el (kmacro-step-edit-insert):
5109 Do not set universal-argument-num-events.
5110
5111 2013-09-22 Leo Liu <sdl.web@gmail.com>
5112
5113 * files.el (interpreter-mode-alist): Add octave.
5114
5115 2013-09-21 Alan Mackenzie <acm@muc.de>
5116
5117 C++: fontify identifier in declaration following "public:" correctly.
5118 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5119 to match "public", etc.
5120 (c-decl-prefix-re): Add ":" into the C++ value.
5121 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5122 bit. Add a check for a ":" preceded by "public", etc.
5123
5124 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5125
5126 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5127 recognized by GDB 7.5 and later.
5128
5129 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5130
5131 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5132
5133 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * subr.el (internal--call-interactively): New const.
5136 (called-interactively-p): Use it (bug#3984).
5137
5138 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5139
5140 * vc/pcvs.el (cvs-mode-ignore):
5141 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5142 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5143
5144 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5147 (eshell-ls-orig-insert-directory): Remove.
5148 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5149 (eshell-ls-use-in-dired): Use advice-add/remove.
5150 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5151 Add `orig-fun' arg for use in :around advice.
5152 Make it check (redundantly) eshell-ls-use-in-dired.
5153
5154 2013-09-19 Glenn Morris <rgm@gnu.org>
5155
5156 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5157
5158 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5159
5160 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5161
5162 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5163
5164 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5165 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5166 (tramp-get-remote-python): New defuns.
5167 (tramp-get-remote-uid-with-perl)
5168 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5169 contributed by yary <not.com@gmail.com> (tiny change).
5170 (tramp-get-remote-uid-with-python)
5171 (tramp-get-remote-gid-with-python): New defuns. Python code
5172 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5173 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5174
5175 2013-09-19 Glenn Morris <rgm@gnu.org>
5176
5177 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5178
5179 * eshell/em-unix.el (eshell-remove-entries):
5180 Rename argument to avoid name-clash with global `top-level'.
5181
5182 * eshell/esh-proc.el (eshell-kill-process-function):
5183 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5184 (eshell-reset-after-proc): Remove unused arg `proc'.
5185
5186 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5187 (directory-files-and-attributes): Mark unused arg.
5188
5189 * eshell/em-unix.el (eshell-remove-entries):
5190 Remove unused arg `path'. Update callers.
5191
5192 * eshell/em-hist.el (eshell-hist-parse-arguments):
5193 Remove unused arg `silent'. Update callers.
5194
5195 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5196 Fix (f)boundp mix-up.
5197
5198 * eshell/em-smart.el (eshell-smart-scroll-window)
5199 (eshell-disable-after-change):
5200 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5201
5202 2013-09-18 Alan Mackenzie <acm@muc.de>
5203
5204 Fix fontification of type when followed by "const".
5205 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5206 "known" types from fontification.
5207
5208 2013-09-18 Glenn Morris <rgm@gnu.org>
5209
5210 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5211 (chart-face-list): Drop Emacsen without display-color-p.
5212
5213 * net/eww.el (libxml-parse-html-region): Declare.
5214 (eww-display-html): Explicit error if no libxml2 support.
5215
5216 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5217
5218 * image.el (image-type-from-buffer, image-multi-frame-p):
5219 Remove --without-x warning/error.
5220
5221 * mouse.el (mouse-yank-primary):
5222 * term.el (term-mouse-paste):
5223 Reorder to silence --without-x compilation.
5224
5225 * mpc.el (doc-view-mode): Silence --without-x compilation.
5226
5227 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5228 Silence --without-x compilation.
5229
5230 * progmodes/gud.el (gud-find-file, gud-mode):
5231 Silence --without-x compilation.
5232 (tooltip-mode): Declare.
5233
5234 * wdired.el (dired-backup-overwrite): Remove declaration.
5235 (wdired-mode-map): Add doc string.
5236
5237 * custom.el (x-get-resource): Declare.
5238
5239 * eshell/em-glob.el (ange-cache):
5240 * eshell/em-unix.el (ange-cache): Declare.
5241
5242 * faces.el (x-display-list, x-open-connection, x-get-resource):
5243 Declare.
5244
5245 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5246 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5247 Declare.
5248
5249 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5250
5251 * net/gnutls.el (gnutls-log-level): Declare.
5252
5253 * net/shr.el (image-size, image-animate): Declare.
5254
5255 * simple.el (font-info): Declare.
5256
5257 * subr.el (x-popup-dialog): Declare.
5258
5259 * term/common-win.el (x-select-enable-primary)
5260 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5261 Declare.
5262
5263 * term/ns-win.el (x-handle-args): Declare.
5264
5265 * term/x-win.el (x-select-enable-clipboard): Declare.
5266
5267 * term/w32-win.el (create-default-fontset): Declare.
5268
5269 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5270 Declare.
5271
5272 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5273 (fit-frame-to-buffer): Explicit error if --without-x.
5274 (mouse-autoselect-window-select): Silence compiler.
5275
5276 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5277
5278 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5279 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5280 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5281 * eshell/esh-util.el (eshell-sublist):
5282 Remove unused local variables.
5283
5284 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5285
5286 * textmodes/two-column.el: Make 2C-split work for --without-x.
5287 (scroll-bar-columns): Autoload.
5288 (top-level): Require fringe when compiling.
5289
5290 2013-09-18 Leo Liu <sdl.web@gmail.com>
5291
5292 * subr.el (add-hook): Robustify to handle closure as well.
5293
5294 2013-09-17 Glenn Morris <rgm@gnu.org>
5295
5296 * simple.el (messages-buffer-mode-map): Unbind "g".
5297
5298 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * help-mode.el (help-mode-finish): Use derived-mode-p.
5301 Remove obsolete highlighting.
5302
5303 * play/life.el (life-mode): Use define-derived-mode. Derive from
5304 special-mode.
5305 (life): Let-bind inhibit-read-only.
5306 (life-setup): Avoid `setq'. Use `life-mode'.
5307
5308 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5309 which should not be needed any more.
5310 (package-menu-refresh, package-menu-describe-package): Use user-error.
5311
5312 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5313 (eshell-post-rewrite-command-hook): Make obsolete.
5314 (eshell-parse-command): Simplify.
5315 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5316 (eshell--cmd): Declare.
5317 (eshell-parse-pipeline): Remove unused var `final-p'.
5318 Pass a dynvar to eshell-post-rewrite-command-hook.
5319 Implement the new eshell-post-rewrite-command-function.
5320 (eshell-invoke-directly): Remove unused arg `input'.
5321 * eshell/esh-io.el (eshell-io-initialize):
5322 Use eshell-post-rewrite-command-function (bug#15399).
5323 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5324 adjust to new calling convention.
5325 (eshell-create-handles): Rename args to avoid clashing with dynvar
5326 `standard-output'.
5327
5328 2013-09-17 Glenn Morris <rgm@gnu.org>
5329
5330 * simple.el (messages-buffer-mode): New major mode.
5331 (messages-buffer): New function.
5332 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5333 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5334 (ert-run-test): Use `messages-buffer' function.
5335 (ert--force-message-log-buffer-truncation): Ignore read-only.
5336 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5337 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5338
5339 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5342
5343 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5344
5345 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 * icomplete.el (icomplete-in-buffer): New var.
5348 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5349 vars and replace them with functions.
5350 (icomplete-minibuffer-setup): Adjust accordingly.
5351 (icomplete--completion-table, icomplete--completion-predicate)
5352 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5353 New functions.
5354 (icomplete-forward-completions, icomplete-backward-completions)
5355 (icomplete-simple-completing-p, icomplete-exhibit)
5356 (icomplete-completions): Use them.
5357 (icomplete--in-region-buffer): New var.
5358 (icomplete--in-region-setup): New function.
5359 (icomplete-mode): Use it.
5360
5361 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5362 (bug#15379).
5363 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5364 return args and options.
5365 (eshell-eval-using-options): Use the new return value of
5366 eshell--do-opts to set the options's vars in their scope.
5367 (eshell--set-option): Rename from eshell-set-option.
5368 Add arg `opt-vals'.
5369 (eshell--process-option): Rename from eshell-process-option.
5370 Add arg `opt-vals'.
5371 (eshell--process-args): Use an `opt-vals' alist to store the options's
5372 values during their processing and return them additionally to the
5373 remaining args.
5374
5375 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5376
5377 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5378 continuation character an operator, as far as indentation is
5379 concerned (Bug#15369).
5380
5381 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5382
5383 * window.el (window--state-put-2): Don't process buffer state
5384 when buffer doesn't exist any more (Bug#15382).
5385
5386 2013-09-15 Glenn Morris <rgm@gnu.org>
5387
5388 * eshell/em-unix.el (eshell/rm):
5389 Make -f ignore missing files. (Bug#15373)
5390
5391 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5392 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5393 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5394
5395 2013-09-14 Glenn Morris <rgm@gnu.org>
5396
5397 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5398
5399 2013-09-13 Glenn Morris <rgm@gnu.org>
5400
5401 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5402 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5403
5404 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5405
5406 * frame.el (x-focus-frame): Mark as declared in frame.c.
5407
5408 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * ls-lisp.el: Use advice-add.
5411 (original-insert-directory): Remove.
5412 (ls-lisp--insert-directory): Rename from insert-directory; add
5413 `orig-fun' argument.
5414 (insert-directory): Advise.
5415
5416 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5417
5418 * term.el (term-emulate-terminal): Decode the command string
5419 before passing it to term-command-hook. (Bug#15337)
5420
5421 2013-09-13 Glenn Morris <rgm@gnu.org>
5422
5423 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5424
5425 * eshell/esh-ext.el (eshell-search-path): Declare.
5426
5427 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5428 Otherwise an error occurs if eshell-dirs module not loaded.
5429
5430 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5431
5432 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5435 `tramp-check-proper-host'. Check for a valid method name.
5436
5437 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5438 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5439 * net/tramp-sh.el (tramp-maybe-open-connection):
5440 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5441
5442 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5443 also for hash values.
5444
5445 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * term/ns-win.el (parameters): Don't declare as dynamic.
5448 (before-make-frame-hook): Don't add ineffective function.
5449
5450 * eshell/*.el: Use lexical-binding (bug#15231).
5451
5452 2013-09-12 Kenichi Handa <handa@gnu.org>
5453
5454 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5455
5456 2013-09-12 Glenn Morris <rgm@gnu.org>
5457
5458 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5459 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5460
5461 * subr.el (do-after-load-evaluation): Also give compiler warnings
5462 when obsolete files are used (except by obsolete files).
5463
5464 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5465 in the status output, assume `filename' is the first. (Bug#15322)
5466
5467 * vc/vc.el (vc-deduce-fileset): Doc fix.
5468
5469 * calc/calc-help.el (Info-goto-node):
5470 * progmodes/cperl-mode.el (Info-find-node):
5471 * vc/ediff.el (Info-goto-node): Update declarations.
5472
5473 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5474
5475 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5476 (vc-bzr-pull): Require vc-dispatcher.
5477 * vc/vc-git.el (vc-compilation-mode): Declare.
5478 (vc-git-pull): Require vc-dispatcher.
5479
5480 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5481
5482 * progmodes/octave.el (help-button-action): Declare.
5483
5484 * shell.el (shell-directory-tracker): Output error as a message
5485 rather than just returning it as a string.
5486 (shell-process-pushd): Remove useless use of message.
5487
5488 * dframe.el (dframe-timer-fn):
5489 * files.el (dir-locals-read-from-file):
5490 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5491 (mpc-format):
5492 * reveal.el (reveal-post-command):
5493 * saveplace.el (load-save-place-alist-from-file):
5494 * shell.el (shell-resync-dirs):
5495 * w32-common-fns.el (x-get-selection-value):
5496 * emacs-lisp/copyright.el (copyright-find-copyright):
5497 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5498 * emulation/tpu-edt.el (tpu-copy-keyfile):
5499 * play/bubbles.el (bubbles--mark-neighbourhood):
5500 * progmodes/executable.el
5501 (executable-make-buffer-file-executable-if-script-p):
5502 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5503
5504 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 Cleanup Eshell to rely less on dynamic scoping.
5507 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5508 last-value, and ext-command here. Bind `args' closer to `body'.
5509 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5510 (eshell--args): Declare new dynamic var.
5511 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5512 last-value, and ext-command. Pass `args' to `body'.
5513 (eshell-process-args): Bind eshell--args.
5514 (eshell-set-option): Use eshell--args.
5515 * eshell/eshell.el (eshell): Use derived-mode-p.
5516 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5517 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5518 (eshell-glob-function): Declare.
5519 * eshell/esh-util.el: Require cl-lib.
5520 (eshell-read-hosts-file): Avoid add-to-list.
5521 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5522 `err'.
5523 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5524 Declare.
5525 (eshell/diff): Remove unused var `err'.
5526 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5527 `killflag'.
5528 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5529 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5530 first use.
5531 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5532 Move declaration before first use.
5533 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5534 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5535 rely on cl-return.
5536
5537 2013-09-12 Glenn Morris <rgm@gnu.org>
5538
5539 * term/ns-win.el (global-map): Remove binding for ispell-next,
5540 deleted 1999-05-29. (Bug#15357)
5541
5542 2013-09-11 Glenn Morris <rgm@gnu.org>
5543
5544 * echistory.el (electric-command-history): Remove call to deleted func.
5545
5546 * play/landmark.el (landmark-mode): Fix typos.
5547
5548 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5549 Check cvs-sort-ignore-file is bound.
5550
5551 * savehist.el: No need for cl when compiling on Emacs.
5552
5553 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5556 (bug#15338).
5557 (eshell-self-insert-command, eshell-send-invisible):
5558 Remove unused argument.
5559 (eshell-handle-control-codes): Remove unused var `orig'.
5560 Avoid delete-backward-char.
5561
5562 * files.el (set-auto-mode): Simplify a bit further.
5563
5564 2013-09-11 Glenn Morris <rgm@gnu.org>
5565
5566 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5567 (set-auto-mode): Don't regexp-quote elements.
5568 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5569 * progmodes/cc-mode.el (interpreter-mode-alist):
5570 * progmodes/ruby-mode.el (interpreter-mode-alist):
5571 Revert previous change.
5572
5573 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * play/snake.el (snake-mode):
5576 * play/mpuz.el (mpuz-mode):
5577 * play/landmark.el (lm-mode):
5578 * play/blackbox.el (blackbox-mode):
5579 * play/5x5.el (5x5-mode):
5580 * obsolete/options.el (Edit-options-mode):
5581 * net/quickurl.el (quickurl-list-mode):
5582 * net/newst-treeview.el (newsticker-treeview-mode):
5583 * mail/rmailsum.el (rmail-summary-mode):
5584 * mail/mspools.el (mspools-mode):
5585 * locate.el (locate-mode):
5586 * ibuffer.el (ibuffer-mode):
5587 * emulation/ws-mode.el (wordstar-mode):
5588 * emacs-lisp/debug.el (debugger-mode):
5589 * array.el (array-mode):
5590 * net/eudc.el (eudc-mode): Use define-derived-mode.
5591 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5592 Move initialization into declaration.
5593 (mairix-searches-mode): Use define-derived-mode.
5594 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5595 (eudc-edit-hotlist): Use dolist.
5596 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5597 (Man-mode): Use define-derived-mode.
5598 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5599 (Info-edit-mode): Use define-derived-mode.
5600 (Info-cease-edit): Use Info-mode.
5601 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5602 into declaration.
5603 (eshell-mode): Use define-derived-mode.
5604 * chistory.el (command-history-mode-map): Rename from
5605 command-history-map.
5606 (command-history-mode): Use define-derived-mode.
5607 (Command-history-setup): Remove function.
5608 * calc/calc.el (calc-trail-mode-map): New var.
5609 (calc-trail-mode): Use define-derived-mode.
5610 (calc-trail-buffer): Set calc-main-buffer manually.
5611 * bookmark.el (bookmark-insert-annotation): New function.
5612 (bookmark-edit-annotation): Use it.
5613 (bookmark-edit-annotation-mode): Make it a proper major mode.
5614 (bookmark-send-edited-annotation): Use derived-mode-p.
5615 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5616 closer to its ideal place. Use \' to match EOS.
5617
5618 * profiler.el (profiler-calltree-find): Use function-equal.
5619
5620 2013-09-10 Glenn Morris <rgm@gnu.org>
5621
5622 * files.el (interpreter-mode-alist): Convert to regexps.
5623 (set-auto-mode): Adapt for this. (Bug#15306)
5624 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5625 Comment out unused variable.
5626 * progmodes/cc-mode.el (interpreter-mode-alist):
5627 * progmodes/python.el (interpreter-mode-alist):
5628 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5629 * progmodes/sh-script.el (sh-set-shell):
5630 No longer use interpreter-mode-alist to get list of shells.
5631
5632 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5633
5634 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * simple.el: Use set-temporary-overlay-map for universal-argument.
5637 (universal-argument-map): Don't use default-bindings (bug#15317).
5638 Bind switch-frame explicitly. Replace universal-argument-minus with
5639 a conditional binding.
5640 (universal-argument-num-events, saved-overriding-map): Remove.
5641 (restore-overriding-map): Remove.
5642 (universal-argument--mode): Rename from save&set-overriding-map,
5643 and rewrite.
5644 (universal-argument, universal-argument-more, negative-argument)
5645 (digit-argument): Adjust accordingly.
5646 (universal-argument-minus): Remove.
5647 (universal-argument-other-key): Remove.
5648
5649 * subr.el (with-demoted-errors): Add `format' argument.
5650
5651 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5652
5653 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5654 `tramp-cleanup-connection'.
5655
5656 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5657 parameters KEEP-DEBUG and KEEP-PASSWORD.
5658
5659 * net/tramp.el (tramp-file-name-handler):
5660 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5661 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5662 (tramp-maybe-open-connection):
5663 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5664 Use `tramp-cleanup-connection'.
5665
5666 * net/tramp-sh.el (tramp-maybe-open-connection):
5667 Catch 'uname-changed inside the progress reporter.
5668
5669 2013-09-10 Glenn Morris <rgm@gnu.org>
5670
5671 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5672
5673 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5674 returns "alternate access method" in mode (eg "-rw-r--r--.").
5675
5676 2013-09-08 Glenn Morris <rgm@gnu.org>
5677
5678 * saveplace.el (load-save-place-alist-from-file):
5679 Demote errors. (Bug#15305)
5680
5681 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5682
5683 Improve compatibility with older Emacsen, and XEmacs.
5684
5685 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5686 only if it is bound. It isn't for XEmacs.
5687 (with-tramp-progress-reporter): Do not let-bind `result'.
5688 This yields to scoping errors in XEmacs.
5689 (tramp-handle-make-auto-save-file-name): New function, moved from
5690 tramp-sh.el.
5691
5692 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5693 for `make-auto-save-file-name'.
5694 (tramp-adb--gnu-switches-to-ash):
5695 Use `tramp-compat-replace-regexp-in-string'.
5696
5697 * net/tramp-cache.el (tramp-cache-print): Call
5698 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5699
5700 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5701 bound. It isn't for XEmacs.
5702
5703 * net/tramp-compat.el (tramp-compat-copy-file):
5704 Catch `wrong-number-of-arguments' error.
5705 (tramp-compat-replace-regexp-in-string): New defun.
5706
5707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5708 for `make-auto-save-file-name'.
5709 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5710 `copy-file'.
5711 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5712 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5713 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5714
5715 * net/tramp-gw.el (tramp-gw-open-network-stream):
5716 Use `tramp-compat-replace-regexp-in-string'.
5717
5718 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5719 Call `tramp-handle-make-auto-save-file-name'.
5720 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5721 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5722 (tramp-sh-file-inotifywait-process-filter):
5723 Use `tramp-compat-replace-regexp-in-string'.
5724 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5725
5726 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5727 for `make-auto-save-file-name'.
5728 (tramp-smb-handle-copy-directory):
5729 Call `tramp-compat-replace-regexp-in-string'.
5730 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5731 (tramp-smb-handle-copy-file): Improve error message.
5732 (tramp-smb-handle-rename-file): Rename directly only in case
5733 `newname' does not exist yet. This is a restriction of smbclient.
5734 (tramp-smb-maybe-open-connection): Rerun the function only when
5735 `auth-sources' is non-nil.
5736
5737 2013-09-08 Kenichi Handa <handa@gnu.org>
5738
5739 * international/characters.el: Set category "^" (Combining) for
5740 more characters.
5741
5742 2013-09-07 Alan Mackenzie <acm@muc.de>
5743
5744 Correctly fontify Java class constructors.
5745 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5746 in Java Mode.
5747 (c-recognize-typeless-decls): Set the Java value to t.
5748 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5749 While handling a "(", add a check for, effectively, Java, and handle a
5750 "typeless" declaration there.
5751
5752 2013-09-07 Roland Winkler <winkler@gnu.org>
5753
5754 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5755 field subtitle for entry type book.
5756
5757 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * minibuffer.el: Make minibuffer-complete call completion-in-region
5760 rather than other way around.
5761 (completion--some, completion-pcm--find-all-completions):
5762 Don't delay signals when debugging.
5763 (minibuffer-completion-contents): Beware fields within the
5764 minibuffer contents.
5765 (completion-all-sorted-completions): Use defvar-local.
5766 (completion--do-completion, completion--cache-all-sorted-completions)
5767 (completion-all-sorted-completions, minibuffer-force-complete):
5768 Add args `beg' and `end'.
5769 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5770 (minibuffer-complete): Use completion-in-region.
5771 (completion-complete-and-exit): New fun, extracted from
5772 minibuffer-complete-and-exit.
5773 (minibuffer-complete-and-exit): Use it.
5774 (completion--complete-and-exit): Rename from
5775 minibuffer--complete-and-exit.
5776 (completion-in-region--single-word): New function, extracted from
5777 minibuffer-complete-word.
5778 (minibuffer-complete-word): Use it.
5779 (display-completion-list): Make `common-substring' argument obsolete.
5780 (completion--in-region): Call completion--in-region-1 instead of
5781 minibuffer-complete.
5782 (completion-help-at-point): Pass boundaries to
5783 minibuffer-completion-help as args rather than via an overlay.
5784 (completion-pcm--string->pattern): Use `any-delim'.
5785 (completion-pcm--optimize-pattern): New function.
5786 (completion-pcm--pattern->regex): Handle `any-delim'.
5787 * icomplete.el (icomplete-forward-completions)
5788 (icomplete-backward-completions, icomplete-completions):
5789 Adjust calls to completion-all-sorted-completions and
5790 completion--cache-all-sorted-completions.
5791 (icomplete-with-completion-tables): Default to t.
5792 * emacs-lisp/crm.el (crm--current-element): Rename from
5793 crm--select-current-element. Don't put an overlay but return the
5794 boundaries instead.
5795 (crm--completion-command): Take two new args to bind to the boundaries.
5796 (crm-completion-help): Adjust accordingly.
5797 (crm-complete): Use completion-in-region.
5798 (crm-complete-word): Use completion-in-region--single-word.
5799 (crm-complete-and-exit): Use completion-complete-and-exit.
5800
5801 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5804 than dynamically.
5805
5806 2013-09-06 Juri Linkov <juri@jurta.org>
5807
5808 * info.el (Info-display-images-node): When image file doesn't exist
5809 display text version of the image if it's provided in the Info file.
5810 Otherwise, display the location of missing image from SRC attribute.
5811 Add help-echo text property from ALT attribute. (Bug#15279)
5812
5813 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5816 (edit-abbrevs-mode): Use define-derived-mode.
5817
5818 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5819 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5820 that it's defined.
5821 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5822 Use define-derived-mode.
5823
5824 * epg.el (epg-start-encrypt): Minor CSE simplification.
5825
5826 2013-09-06 William Xu <william.xwl@gmail.com>
5827
5828 * arc-mode.el: Add support for 7za (bug#15264).
5829 (archive-7z-program): New var.
5830 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5831 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5832 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5833
5834 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5835
5836 Remove URL syntax.
5837
5838 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5839 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5840 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5841 (tramp-postfix-host-format, tramp-file-name-regexp)
5842 (tramp-completion-file-name-regexp)
5843 (tramp-completion-dissect-file-name)
5844 (tramp-handle-substitute-in-file-name): Remove 'url case.
5845 (tramp-file-name-regexp-url)
5846 (tramp-completion-file-name-regexp-url): Remove constants.
5847
5848 2013-09-06 Glenn Morris <rgm@gnu.org>
5849
5850 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5851
5852 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5853
5854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5855 keywords" below "here-doc beginnings" (Bug#15270).
5856
5857 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * subr.el (pop): Use `car-safe'.
5860 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5861 to detect unused `pop' return value.
5862
5863 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5864 var `block-regexp'.
5865 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5866 (python-fill-string): Remove unused var `marker'.
5867 (python-skeleton-add-menu-items): Remove unused var `items'.
5868
5869 * international/mule-cmds.el: Require CL.
5870 (find-coding-systems-for-charsets): Avoid add-to-list.
5871 (sanitize-coding-system-list): New function, extracted from
5872 select-safe-coding-system-interactively.
5873 (select-safe-coding-system-interactively): Use it.
5874 (read-input-method-name): Accept symbols for `default'.
5875
5876 * emacs-lisp/advice.el (defadvice): Add indent rule.
5877
5878 2013-09-05 Daniel Hackney <dan@haxney.org>
5879
5880 * dired-x.el:
5881 * net/ange-ftp.el:
5882 * net/browse-url.el:
5883 * net/dbus.el:
5884 * net/eudc.el:
5885 * net/eudcb-ldap.el:
5886 * net/eww.el:
5887 * net/imap.el:
5888 * printing.el:
5889 * vc/ediff-diff.el:
5890 * vc/ediff-init.el:
5891 * vc/ediff-merg.el:
5892 * vc/ediff-mult.el:
5893 * vc/ediff-util.el:
5894 * vc/ediff-wind.el:
5895 * vc/ediff.el:
5896 * vc/emerge.el:
5897 * vc/pcvs.el:
5898 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5899 byte compiler. Remove some unused let-bound variables.
5900
5901 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5904 a "ref-cell", since it gets better optimized (bug#14883).
5905
5906 2013-09-05 Glenn Morris <rgm@gnu.org>
5907
5908 * progmodes/cc-awk.el (c-forward-sws): Declare.
5909
5910 2013-09-04 Glenn Morris <rgm@gnu.org>
5911
5912 * generic-x.el [rul-generic-mode]: Require cc-mode.
5913 (c++-mode-syntax-table): Declare.
5914 (rul-generic-mode-syntax-table): Init in the defvar.
5915
5916 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5919 (vc-do-command, vc-set-async-update):
5920 * vc/vc-mtn.el (vc-mtn-dir-status):
5921 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5922 (vc-hg-pull, vc-hg-merge-branch):
5923 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5924 (vc-git-merge-branch):
5925 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5926 (vc-cvs-dir-status-files):
5927 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5928 (vc-bzr-dir-status-files):
5929 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5930 * vc/vc-annotate.el: Use lexical-binding.
5931 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5932 (vc-sentinel-movepoint): Declare.
5933 (vc-annotate): Don't use `goto-line'.
5934 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5935 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5936 (vc-sentinel-movepoint): Declare.
5937 * vc/vc-svn.el: Use lexical-binding.
5938 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5939 * vc/vc-sccs.el:
5940 * vc/vc-rcs.el: Use lexical-binding.
5941
5942 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5943 `deleted'. Don't drop errors silently.
5944
5945 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5946
5947 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5948
5949 * vc/vc.el (vc-ignore): Rewrite.
5950 (vc-default-ignore): New function.
5951 (vc-default-ignore-completion-table): Use find-ignore-file.
5952
5953 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5954 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5955 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5956 Remove. Most code moved to vc.el.
5957
5958 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5961 * net/tramp-smb.el (tramp-smb-get-file-entries):
5962 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5963 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5964
5965 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5966 Update call to it.
5967 (eww-change-select): Remove unused var `properties'.
5968 (eww-make-unique-file-name): Remove unused var `base'.
5969
5970 * finder.el (finder-compile-keywords): Don't mess with windows.
5971
5972 * calculator.el (calculator-funcall): Fix typo in last change.
5973
5974 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5975
5976 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5977 <pkg>-autoloads.el file stop us.
5978
5979 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5980 warnings, and factor out common code.
5981
5982 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5983
5984 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5985 two-character operators and whether the character preceding them
5986 changes their meaning (Bug#15208).
5987
5988 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5989
5990 Format code sent to Python shell for robustness.
5991 * progmodes/python.el (python-shell-buffer-substring):
5992 New function.
5993 (python-shell-send-region, python-shell-send-buffer): Use it.
5994
5995 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5996
5997 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5998 * net/tramp.el (tramp-user-error): ... here.
5999 (tramp-find-method, tramp-check-proper-host)
6000 (tramp-dissect-file-name, tramp-debug-message)
6001 (tramp-handle-shell-command):
6002 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6004
6005 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6006
6007 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6008
6009 * avoid.el (mouse-avoidance-point-position)
6010 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6011 returns nil.
6012
6013 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6014
6015 * progmodes/python.el (python-shell-completion-get-completions):
6016 Drop use of deleted `comint-last-prompt-overlay'.
6017 (python-nav-if-name-main): New command.
6018
6019 2013-09-01 Glenn Morris <rgm@gnu.org>
6020
6021 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6022 Avoid leading space in $wins. Otherwise the sed command used by
6023 eg compile-main ends up containing "/*.el". (Bug#15170)
6024
6025 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6026
6027 2013-08-30 Glenn Morris <rgm@gnu.org>
6028
6029 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6030 Fix is-this-a-directory logic. (Bug#15220)
6031
6032 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * textmodes/css-mode.el: Use SMIE.
6035 (css-smie-grammar): New var.
6036 (css-smie--forward-token, css-smie--backward-token)
6037 (css-smie-rules): New functions.
6038 (css-mode): Use them.
6039 (css-navigation-syntax-table): Remove var.
6040 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6041 (css-indent-calculate, css-indent-line): Remove functions.
6042
6043 Misc changes to reduce use of `(lambda...); and other cleanups.
6044 * cus-edit.el: Use lexical-binding.
6045 (customize-push-and-save, customize-apropos)
6046 (custom-buffer-create-internal): Use closures.
6047 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6048 * progmodes/ada-xref.el: Use setq.
6049 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6050 * dframe.el: Use lexical-binding.
6051 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6052 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6053 * descr-text.el: Use lexical-binding.
6054 (describe-text-widget, describe-text-sexp, describe-property-list):
6055 Use closures.
6056 * comint.el (comint-history-isearch-push-state): Use a closure.
6057 * calculator.el: Use lexical-binding.
6058 (calculator-number-to-string): Make it work with lexical-binding.
6059 (calculator-funcall): Same and use cl-letf.
6060
6061 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6062 (lisp--company-doc-string, lisp--company-location): New functions.
6063 (lisp-completion-at-point): Use them to improve Company support.
6064
6065 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6066 params of lambda expressions.
6067 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6068 (ruby-smie--opening-pipe-p): New function.
6069 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6070 symbols and matched |...| for formal params.
6071 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6072 from being treated as hanging. Handle "rescue".
6073
6074 2013-08-29 Glenn Morris <rgm@gnu.org>
6075
6076 * progmodes/cc-engine.el (c-pull-open-brace):
6077 Move definition before use.
6078
6079 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6080
6081 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6082 are immutable. Don't use `unsafe' any more.
6083 (cl--defsubst-expand): Don't substitute at the same time as keeping
6084 a residual unused let-binding. Don't use `unsafe' any more.
6085
6086 2013-08-29 Glenn Morris <rgm@gnu.org>
6087
6088 * calendar/cal-china.el (calendar-chinese-year-cache):
6089 Recenter on 2015.
6090
6091 * nxml/nxml-util.el (nxml-debug-clear-inside):
6092 Use cl-loop rather than loop.
6093
6094 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6095
6096 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6097
6098 2013-08-28 Glenn Morris <rgm@gnu.org>
6099
6100 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6101
6102 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6103
6104 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6105
6106 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * simple.el (repeat-complex-command--called-interactively-skip):
6109 New function.
6110 (repeat-complex-command): Use it (bug#14136).
6111
6112 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6113 (c-define-abbrev-table): Add `doc' argument.
6114 (c-mode-abbrev-table, c++-mode-abbrev-table)
6115 (objc-mode-abbrev-table, java-mode-abbrev-table)
6116 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6117 (awk-mode-abbrev-table): Use it.
6118 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6119 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6120 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6121 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6122 Move initialization into the declaration; and remove any
6123 autoload cookie.
6124
6125 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6126 and dynamic let binding.
6127
6128 * vc/smerge-mode.el: Remove redundant :group args.
6129
6130 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6131 to load-path.
6132
6133 2013-08-28 Juri Linkov <juri@jurta.org>
6134
6135 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6136 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6137 (isearch-other-meta-char): Handle an undefined shifted printing
6138 character by downshifting it. (Bug#15200)
6139
6140 2013-08-28 Juri Linkov <juri@jurta.org>
6141
6142 * isearch.el (isearch-search): Change regexp error message for
6143 non-regexp searches. (Bug#15166)
6144
6145 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6146
6147 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6148 for portability to hosts where /bin/sh has problems.
6149
6150 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6153
6154 2013-08-27 Juri Linkov <juri@jurta.org>
6155
6156 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6157 in the keyboard macro. (Bug#15126)
6158
6159 2013-08-27 Juri Linkov <juri@jurta.org>
6160
6161 * isearch.el (isearch-quote-char): Comment out converting unibyte
6162 to multibyte, thus syncing with its `quoted-insert' counterpart.
6163 (Bug#15166)
6164
6165 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6166
6167 * window.el (display-buffer-use-some-window): Add missing
6168 argument in call of get-largest-window (Bug#15185).
6169 Reported by Stephen Leake.
6170
6171 2013-08-27 Glenn Morris <rgm@gnu.org>
6172
6173 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6174
6175 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6178 from a matcher-function unless there's no more matches (bug#15161).
6179
6180 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6181
6182 * minibuffer.el: Revert change from 2013-08-20.
6183
6184 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6185 with text property `tramp-default', if appropriate.
6186 (tramp-check-proper-host): New defun.
6187 (tramp-dissect-file-name): Do not check hostname. Revert change
6188 of 2013-03-18.
6189 (tramp-backtrace): Make VEC-OR-PROC optional.
6190
6191 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6192 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6193 * net/tramp-sh.el (tramp-maybe-open-connection):
6194 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6195 Apply `tramp-check-proper-host'.
6196
6197 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6198
6199 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6200 lambda expression in order to have `describe-variable' display it.
6201
6202 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6203
6204 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6205 BUF can be optional. (Bug#15186)
6206
6207 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6208
6209 * progmodes/flymake.el (flymake-get-real-file-name-function):
6210 Fix broken customization. (Bug#15184)
6211
6212 2013-08-25 Alan Mackenzie <acm@muc.de>
6213
6214 Improve indentation of bracelists defined by macros (without "=").
6215
6216 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6217 expansion begins with "{", regard it as bracelist when it doesn't
6218 contain a ";".
6219
6220 Parse C++ inher-intro when there's a template split over 2 lines.
6221
6222 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6223 rigorously the search for "class" etc. followed by ":".
6224
6225 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6226 random languages a regexp which never matches rather than nil.
6227
6228 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6229
6230 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6231 (c-awk-regexp-one-line-possibly-open-char-list-re)
6232 (c-awk-one-line-possibly-open-regexp-re)
6233 (c-awk-one-line-non-syn-ws*-re): Remove.
6234 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6235 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6236 (c-awk-space*-unclosed-regexp-/-re): New constants.
6237 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6238 aren't regexp delimiters.
6239
6240 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6241 handling for a rare situation in AWK Mode involving unterminated
6242 strings/regexps.
6243
6244 2013-08-23 Glenn Morris <rgm@gnu.org>
6245
6246 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6247
6248 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6249
6250 * files.el (create-file-buffer): If the result would begin with
6251 spaces, prepend a "|" instead of removing them. (Bug#15162)
6252
6253 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6256 text-properties (bug#15155).
6257
6258 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6259 exist any more.
6260 (calc-keypad-redraw): Remove unused var `pad'.
6261 (calc-keypad-press): Remove unused var `menu'.
6262
6263 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6264
6265 * window.el (display-buffer-pop-up-frame):
6266 Call pop-up-frame-function with BUFFER current so `make-frame' will
6267 use it as the new frame's buffer (Bug#15133).
6268
6269 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * calendar/timeclock.el: Minor cleanups.
6272 (timeclock-ask-before-exiting, timeclock-use-display-time):
6273 Use `symbol'.
6274 (timeclock-modeline-display): Define as alias before the
6275 actual definition.
6276 (timeclock-mode-line-display): Use define-minor-mode.
6277 (timeclock-day-list-template): Make it a function, add an argument.
6278 (timeclock-day-list-required, timeclock-day-list-length)
6279 (timeclock-day-list-debt, timeclock-day-list-span)
6280 (timeclock-day-list-break): Adjust calls accordingly.
6281
6282 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6283
6284 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6285 Use read--expression so that completion works again.
6286
6287 2013-08-21 Sam Steingold <sds@gnu.org>
6288
6289 Add rudimentary inferior shell interaction
6290 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6291 (sh-set-shell): Reset it.
6292 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6293 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6294
6295 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * align.el: Use lexical-binding.
6298 (align-region): Simplify accordingly.
6299
6300 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6301
6302 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6303
6304 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6305 `non-essential' up.
6306
6307 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6308
6309 * net/tramp.el:
6310 * net/tramp-adb.el:
6311 * net/tramp-cmds.el:
6312 * net/tramp-ftp.el:
6313 * net/tramp-gvfs.el:
6314 * net/tramp-gw.el:
6315 * net/tramp-sh.el: Don't wrap external variable declarations by
6316 `eval-when-compile'.
6317
6318 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6319
6320 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6321 now that Emacs supports ImageMagick animations.
6322
6323 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6324
6325 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6326 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6327
6328 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (mouse-autoselect-window-select): Do autoselect when
6331 mouse pointer is on margin.
6332
6333 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6334
6335 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6336
6337 2013-08-16 Glenn Morris <rgm@gnu.org>
6338
6339 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6340 Handle "Remote Directory" response of some clients. (Bug#15058)
6341
6342 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6343 Tweak warning. (Bug#14926)
6344
6345 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6346 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6347
6348 * image-mode.el (image-mode-map): Add menu items to reverse,
6349 increase, decrease, reset animation speed.
6350 (image--set-speed, image-increase-speed, image-decrease-speed)
6351 (image-reverse-speed, image-reset-speed): New functions.
6352 (image-mode-map): Add bindings for speed commands.
6353
6354 * image.el (image-animate-get-speed, image-animate-set-speed):
6355 New functions.
6356 (image-animate-timeout): Respect image :speed property.
6357
6358 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6361 previous line (bug#15101).
6362 (debugger-eval-expression, debugger-record-expression):
6363 Use read--expression (bug#15102).
6364
6365 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6366
6367 Remove byte compiler warnings, visible when compiling with
6368 `byte-compile-force-lexical-warnings' set to t.
6369
6370 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6371 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6372 (tramp-handle-unhandled-file-name-directory)
6373 (tramp-handle-file-notify-add-watch, tramp-action-login)
6374 (tramp-action-succeed, tramp-action-permission-denied)
6375 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6376 arguments with "_".
6377
6378 * net/tramp-adb.el (tramp-adb-parse-device-names)
6379 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6380 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6381 (tramp-adb-handle-file-truename): Remove unused arguments.
6382
6383 * net/tramp-cache.el (tramp-flush-directory-property)
6384 (tramp-flush-connection-property, tramp-list-connections)
6385 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6386
6387 * net/tramp-compat.el (tramp-compat-make-temp-file):
6388 Rename FILENAME to F.
6389
6390 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6391 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6392 (tramp-zeroconf-parse-workstation-device-names)
6393 (tramp-zeroconf-parse-webdav-device-names)
6394 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6395
6396 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6397 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6398
6399 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6400 arguments.
6401 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6402 (tramp-sh-handle-insert-file-contents-literally)
6403 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6404 with "_".
6405 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6406 Remove unused variables.
6407
6408 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6409 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6410 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6411
6412 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6413 Make them a defconst.
6414 (tramp-uuencode-region): Remove unused variable.
6415
6416 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * frameset.el (frameset--prop-setter): New function.
6419 (frameset-prop): Add gv-setter declaration.
6420 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6421 parameter was already set in FILTERED. Doc fix.
6422 (frameset--record-minibuffer-relationships): Allow saving a
6423 minibufferless frame without its corresponding minibuffer frame.
6424 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6425 frame, if the frame id matches.
6426 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6427 frames before orphaned ones.
6428 (frameset-restore): Warn about orphaned windows, instead of error out.
6429
6430 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6431
6432 * window.el (window-make-atom): Don't overwrite parameter
6433 already present.
6434 (display-buffer-in-atom-window): Handle special case where we
6435 split an already atomic window.
6436 (window--major-non-side-window, display-buffer-in-side-window)
6437 (window--side-check): Ignore minibuffer window when walking
6438 window tree.
6439 (window-deletable-p): Return 'frame only if no other frame uses
6440 our minibuffer window.
6441 (record-window-buffer): Run buffer-list-update-hook.
6442 (split-window): Make sure window--check-frame won't destroy an
6443 existing atomic window in case the new window gets nested
6444 inside.
6445 (display-buffer-at-bottom): Ignore minibuffer window when
6446 walking window tree. Don't split a side window.
6447 (pop-to-buffer): Don't set-buffer here, the select-window call
6448 should do that.
6449 (mouse-autoselect-window-select): Autoselect only if we are in the
6450 text portion of the window.
6451
6452 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6453
6454 * net/shr.el (shr-parse-image-data): New function to grab both the
6455 data itself and the Content-Type.
6456 (shr-put-image): Use it.
6457
6458 * net/eww.el (eww-display-image): Ditto.
6459
6460 * image.el (image-content-type-suffixes): New variable.
6461
6462 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6463
6464 * progmodes/python.el (python-imenu--build-tree)
6465 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6466
6467 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6468
6469 * simple.el (backward-word): Mention the optional argument.
6470
6471 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * frameset.el (frameset--make): Rename constructor from make-frameset.
6474 (frameset-p, frameset-valid-p): Don't autoload.
6475 (frameset-valid-p): Use normal accessors.
6476
6477 2013-08-13 Glenn Morris <rgm@gnu.org>
6478
6479 * progmodes/compile.el (compile-command): Tweak example in doc.
6480 * obsolete/scribe.el (scribe-mode):
6481 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6482
6483 * mail/feedmail.el (feedmail-confirm-outgoing)
6484 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6485
6486 * cus-start.el (truncate-partial-width-windows): Fix type.
6487
6488 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6489
6490 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6491
6492 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * emacs-lisp/timer.el (timer--time-setter): New function.
6495 (timer--time): Use it as gv-setter.
6496
6497 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6498 setter is not a symbol.
6499
6500 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6501
6502 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6503 if sending fails. This makes debugging easier.
6504
6505 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6506
6507 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6508 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6509 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6510
6511 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6512
6513 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6514
6515 2013-08-12 Glenn Morris <rgm@gnu.org>
6516
6517 * format.el (format-annotate-function):
6518 Handle read-only text properties in the source. (Bug#14887)
6519
6520 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521
6522 * net/eww.el (eww-display-html): Ignore coding system errors.
6523 One web site uses "utf-8lias" as the coding system.
6524
6525 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6528
6529 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6532 (tutorial--detailed-help): Remove unused local variables.
6533 (tutorial--save-tutorial-to): Use ignore-errors.
6534 (help-with-tutorial): Use looking-at-p.
6535
6536 * view.el (view-buffer-other-window, view-buffer-other-frame):
6537 Mark unused arguments.
6538
6539 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6540 (woman-select-symbol-fonts, woman, woman-find-file)
6541 (woman-insert-file-contents, woman-non-underline-faces):
6542 Use string-match-p.
6543 (woman1-unquote): Move declaration.
6544
6545 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6546 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6547 argument. Remove unused local variable.
6548 (xml-parse-elem-type): Use string-match-p.
6549 (xml-substitute-numeric-entities): Use ignore-errors.
6550
6551 * calculator.el (calculator): Mark unused argument.
6552 (calculator-paste, calculator-quit, calculator-integer-p):
6553 Use ignore-errors.
6554 (calculator-string-to-number, calculator-decimal, calculator-exp)
6555 (calculator-op-or-exp): Use string-match-p.
6556
6557 * dired.el (dired-buffer-more-recently-used-p): Declare.
6558 (dired-insert-set-properties, dired-insert-old-subdirs):
6559 Use ignore-errors.
6560
6561 * dired-aux.el (dired-compress): Use ignore-errors.
6562 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6563 (dired-do-async-shell-command, dired-do-shell-command)
6564 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6565 (dired-insert-subdir-validate): Use string-match-p.
6566 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6567 (dired-add-entry): Use string-match-p, looking-at-p.
6568 (dired-insert-subdir-newpos): Remove unused local variable.
6569
6570 * filenotify.el (file-notify-callback): Remove unused local variable.
6571
6572 * filesets.el (filesets-error): Mark unused argument.
6573 (filesets-which-command-p, filesets-filter-dir-names)
6574 (filesets-directory-files, filesets-get-external-viewer)
6575 (filesets-ingroup-get-data): Use string-match-p.
6576
6577 * find-file.el (ff-other-file-name, ff-other-file-name)
6578 (ff-find-the-other-file, ff-cc-hh-converter):
6579 Remove unused local variables.
6580 (ff-get-file-name): Use string-match-p.
6581 (ff-all-dirs-under): Use ignore-errors.
6582
6583 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6584 (follow-select-if-visible): Remove unused local variable.
6585
6586 * forms.el (read-file-filter): Move declaration.
6587 (forms--make-format, forms--make-parser, forms-insert-record):
6588 Quote function with #'.
6589 (forms--update): Use string-match-p. Quote function with #'.
6590
6591 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6592 (help-make-xrefs): Use looking-at-p.
6593 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6594
6595 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6596 (ibuffer-confirm-operation-on): Use string-match-p.
6597
6598 * msb.el (msb-item-handler, msb-dired-item-handler):
6599 Mark unused arguments.
6600
6601 * ses.el (ses-decode-cell-symbol)
6602 (ses-kill-override): Remove unused local variable.
6603 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6604 (ses-load): Use ignore-errors, looking-at-p.
6605 (ses-jump-safe): Use ignore-errors.
6606 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6607
6608 * tabify.el (untabify, tabify): Mark unused arguments.
6609
6610 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6611 Mark unused argument.
6612 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6613 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6614
6615 * emacs-lisp/timer.el (timer--time): Define setter with
6616 gv-define-setter to avoid deprecation warning.
6617
6618 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6619 (*record-cmpl-statistics-p*): Remove (was commented out).
6620 (cmpl-statistics-block): Remove (body was commented out).
6621 All callers changed.
6622 (add-completions-from-buffer, load-completions-from-file):
6623 Remove unused variables.
6624
6625 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * filecache.el (file-cache-delete-file-list):
6628 Print message only when told so.
6629 (file-cache-files-matching): Use #' in mapconcat argument.
6630
6631 * ffap.el (ffap-url-at-point): Fix reference to variable
6632 thing-at-point-default-mail-uri-scheme.
6633
6634 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * subr.el (define-error): New function.
6637 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6638 error-file-not-found and define with define-error.
6639 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6640 and define with define-error.
6641 * userlock.el (file-locked, file-supersession):
6642 * simple.el (mark-inactive):
6643 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6644 * progmodes/ada-mode.el (ada-mode-errors):
6645 * play/life.el (life-extinct):
6646 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6647 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6648 * nxml/rng-util.el (rng-error):
6649 * nxml/rng-uri.el (rng-uri-error):
6650 * nxml/rng-match.el (rng-compile-error):
6651 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6652 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6653 * nxml/nxml-rap.el (nxml-scan-error):
6654 * nxml/nxml-outln.el (nxml-outline-error):
6655 * net/soap-client.el (soap-error):
6656 * net/gnutls.el (gnutls-error):
6657 * net/ange-ftp.el (ftp-error):
6658 * mpc.el (mpc-proc-error):
6659 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6660 (json-number-format, json-string-escape, json-string-format)
6661 (json-key-format, json-object-format):
6662 * jka-compr.el (compression-error):
6663 * international/quail.el (quail-error):
6664 * international/kkc.el (kkc-error):
6665 * emacs-lisp/ert.el (ert-test-failed):
6666 * calc/calc.el (calc-error, inexact-result, math-overflow)
6667 (math-underflow):
6668 * bookmark.el (bookmark-error-no-filename):
6669 * epg.el (epg-error): Define with define-error.
6670
6671 * time.el (display-time-event-handler)
6672 (display-time-next-load-average): Don't call sit-for since it seems
6673 unnecessary (bug#15045).
6674
6675 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6676 Use #' instead of ' to quote functions.
6677 (checkdoc-output-mode): Use setq-local.
6678 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6679 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6680 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6681 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6682 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6683 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6684 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6685 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6686
6687 * ido.el (ido-completion-help): Fix up compiler warning.
6688
6689 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6690
6691 * frameset.el (frameset-p): Add autoload cookie.
6692 (frameset--jump-to-register): New function, based on code moved from
6693 register.el.
6694 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6695
6696 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6697 (frameset-restore, frameset-save, frameset-session-filter-alist):
6698 Remove declarations.
6699 (register-alist): Doc fix.
6700 (frameset-to-register): Move to frameset.el.
6701 (jump-to-register, describe-register-1): Remove frameset-specific code.
6702
6703 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6704
6705 * allout-widgets.el (allout-widgets-pre-command-business)
6706 (allout-widgets-post-command-business)
6707 (allout-widgets-after-change-handler)
6708 (allout-decorate-item-and-context, allout-set-boundary-marker)
6709 (allout-body-modification-handler)
6710 (allout-graphics-modification-handler): Mark ignored arguments.
6711 (allout-widgets-post-command-business)
6712 (allout-widgets-exposure-change-processor)
6713 (allout-widgets-exposure-undo-processor)
6714 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6715 (allout-parse-item-at-point, allout-decorate-item-guides)
6716 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6717 * allout.el (epa-passphrase-callback-function): Declare.
6718 (allout-overlay-insert-in-front-handler)
6719 (allout-overlay-interior-modification-handler)
6720 (allout-isearch-end-handler, allout-chart-siblings)
6721 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6722 (allout-yank-processing, allout-process-exposed)
6723 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6724 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6725 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6726 (lisp-indent-defform): Mark ignored arguments.
6727 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6728 (calculate-lisp-indent): Remove unused variables.
6729 * international/characters.el (indian-2-column, arabic-2-column)
6730 (tibetan): Mark ignored arguments.
6731 (use-cjk-char-width-table): Mark ignored arguments.
6732 Remove unused variables.
6733 * international/fontset.el (build-default-fontset-data)
6734 (x-compose-font-name, create-fontset-from-fontset-spec):
6735 Mark ignored arguments.
6736 (fontset-plain-name): Remove unused variables.
6737 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6738 (keyboard-coding-system): Mark ignored arguments.
6739 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6740 * help.el (resize-temp-buffer-window):
6741 * window.el (display-buffer-in-major-side-window)
6742 (display-buffer-in-side-window, display-buffer-in-previous-window):
6743 Remove unused variables.
6744 * isearch.el (isearch-forward-symbol):
6745 * version.el (emacs-bzr-version-bzr):
6746 * international/mule-cmds.el (current-language-environment):
6747 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6748 (x-handle-display):
6749 * term/pc-win.el (x-list-fonts, x-display-planes)
6750 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6751 (x-server-version, x-display-screens, x-display-mm-height)
6752 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6753 (x-selection-owner-p, x-own-selection-internal)
6754 (x-disown-selection-internal, x-get-selection-internal)
6755 (msdos-initialize-window-system):
6756 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6757 * term/x-win.el (x-handle-no-bitmap-icon):
6758 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6759 (vc-default-find-file-hook, vc-default-extra-menu):
6760 Mark ignored arguments.
6761
6762 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6765 break-condition in the context of the debugged code (bug#12685).
6766
6767 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6768
6769 * comint.el:
6770 Do not use an overlay to highlight the last prompt. (Bug#14744)
6771 (comint-mode): Make comint-last-prompt buffer local.
6772 (comint-last-prompt): New variable.
6773 (comint-last-prompt-overlay): Remove. Superseded by
6774 comint-last-prompt.
6775 (comint-snapshot-last-prompt, comint-output-filter):
6776 Use comint-last-prompt.
6777
6778 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6779
6780 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6781 (frameset-save): Check validity of the resulting frameset.
6782
6783 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6784
6785 * ido.el (ido-record-command): Add doc string.
6786
6787 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6788
6789 * frameset.el (frameset): Do not disable creation of the default
6790 frameset-p predicate. Doc fix.
6791 (frameset-valid-p): New function, copied from the old predicate-p.
6792 Add additional checks.
6793 (frameset-restore): Check with frameset-valid-p.
6794 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6795 (frameset-name, frameset-description, frameset-properties)
6796 (frameset-states): Add docstring.
6797 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6798 (frameset-filter-alist): Doc fixes.
6799
6800 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6801
6802 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6803
6804 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6807 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6808 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6809 (byte-compile-normal-call): Remove obsolescence check.
6810
6811 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * frameset.el (frameset-restore): Doc fix.
6814
6815 * register.el (frameset-frame-id, frameset-frame-with-id)
6816 (frameset-p, frameset-restore, frameset-save): Declare.
6817 (register-alist): Document framesets.
6818 (frameset-session-filter-alist): Declare.
6819 (frameset-to-register): New function.
6820 (jump-to-register): Implement jumping to framesets. Doc fix.
6821 (describe-register-1): Describe framesets.
6822
6823 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6824
6825 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6826
6827 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6828 Use lexical-binding.
6829
6830 * frameset.el (frameset): Use type vector, not list (incompatible
6831 change). Do not declare a new constructor, use the default one.
6832 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6833 `name' and `description', respectively, and add read-only slot
6834 `timestamp'. Doc fixes.
6835 (frameset-copy, frameset-persistent-filter-alist)
6836 (frameset-filter-alist, frameset-switch-to-gui-p)
6837 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6838 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6839 (frameset-filter-iconified, frameset-keep-original-display-p):
6840 Doc fixes.
6841 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6842 Rename from frameset-filter-(save|restore)-param. All callers changed.
6843 Doc fix.
6844 (frameset-p): Adapt to change to vector and be more thorough.
6845 Change arg name to OBJECT. Doc fix.
6846 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6847 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6848 All callers changed.
6849 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6850 All callers changed.
6851 (frameset--record-minibuffer-relationships): Rename from
6852 frameset--process-minibuffer-frames. All callers changed.
6853 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6854 Use new default constructor (again). Doc fix.
6855 (frameset--find-frame-if): Rename from `frameset--find-frame.
6856 All callers changed.
6857 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6858 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6859 Doc fix.
6860 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6861 PARAMETERS and WINDOW-STATE, respectively.
6862 (frameset-restore): Add new keyword argument PREDICATE.
6863 Reset frameset--target-display to nil. Doc fix.
6864
6865 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6868 (bat-mode): Use it.
6869 (bat-mode-syntax-table): Mark \n as end-of-comment.
6870 (bat-font-lock-keywords): Remove comment rule.
6871
6872 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6873 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6874
6875 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6876 (byte-compile-callargs-warn): Use `push'.
6877 (byte-compile-arglist-warn): Ignore higher-order "calls".
6878 (byte-compile-file-form-autoload): Use `pcase'.
6879 (byte-compile-function-form): If quoting a symbol, check that it exists.
6880
6881 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6882
6883 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6884 and add a few popular commands found in batch files.
6885 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6886 (dos-mode): Doc fixes.
6887
6888 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6891 (dos-mode): Use setq-local. Add space after "rem".
6892 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6893 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6894
6895 2013-08-07 Arni Magnusson <arnima@hafro.is>
6896
6897 * progmodes/dos.el: New file.
6898 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6899 dos-mode.
6900
6901 2013-08-06 Glenn Morris <rgm@gnu.org>
6902
6903 * calendar/calendar.el: Add new faces, and day-header-array.
6904 (calendar-weekday-header, calendar-weekend-header)
6905 (calendar-month-header): New faces.
6906 (calendar-day-header-construct): New function.
6907 (calendar-day-header-width): Also :set calendar-day-header-array.
6908 (calendar-american-month-header, calendar-european-month-header)
6909 (calendar-iso-month-header): Use calendar- faces.
6910 (calendar-generate-month):
6911 Use calendar-day-header-array for day headers; apply faces to them.
6912 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6913 (calendar-abbrev-construct): Add optional maxlen argument.
6914 (calendar-day-name-array): Doc fix.
6915 (calendar-day-name-array, calendar-abbrev-length)
6916 (calendar-day-abbrev-array):
6917 Also :set calendar-day-header-array, and maybe redraw.
6918 (calendar-day-header-array): New option. (Bug#15007)
6919 (calendar-font-lock-keywords): Set to nil and make obsolete.
6920 (calendar-day-name): Add option to use header array.
6921
6922 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6923
6924 * net/shr.el (shr-render-td): Remove debugging.
6925 (shr-render-td): Make width computation consistent by defaulting
6926 all zero-width columns to 10 characters. This may not be optimal,
6927 but it's at least consistent.
6928 (shr-make-table-1): Redo last change to fix the real problem in
6929 colspan handling.
6930
6931 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6932
6933 * files.el (cache-long-line-scans):
6934 Make obsolete alias to `cache-long-scans'.
6935
6936 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6937
6938 * frameset.el (frameset, frameset-filter-alist)
6939 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6940 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6941 (frameset-compute-pos): Rename from frameset--compute-pos,
6942 and add docstring.
6943 (frameset-move-onscreen): Use frameset-compute-pos.
6944 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6945
6946 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6947 Fix typos in docstrings.
6948
6949 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6950
6951 * frame.el (get-other-frame): Tiny cleanup.
6952
6953 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6954
6955 * vc/vc.el (vc-default-ignore-completion-table):
6956 Silence byte-compiler warning.
6957
6958 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6959 slot, which can indeed be nil.
6960 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6961 Move entry for `left' from persistent to live filter alist.
6962 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6963 Doc fixes.
6964 (frameset-filter-params): When restoring a frame, copy items added to
6965 `filtered', to avoid unwittingly modifying the original parameters.
6966 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6967 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6968
6969 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6970 to use looking-at-p instead of looking-at. (Bug#15028)
6971
6972 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 Revert introduction of isearch-filter-predicates (bug#14714).
6975 Rely on add-function instead.
6976 * isearch.el (isearch-filter-predicates): Rename it back to
6977 isearch-filter-predicate.
6978 (isearch-message-prefix): Use advice-function-mapc and advice
6979 properties to get the isearch-message-prefix.
6980 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6981 instead of run-hook-with-args-until-failure.
6982 (isearch-filter-visible): Not obsolete any more.
6983 * loadup.el: Preload nadvice.
6984 * replace.el (perform-replace): Revert to funcall
6985 instead of run-hook-with-args-until-failure.
6986 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6987 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6988 dired-isearch-filenames-toggle; make it into a proper minor mode.
6989 Use add/remove-function.
6990 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6991 Call the minor-mode rather than add/remove-hook.
6992 (dired-isearch-filter-filenames):
6993 Remove isearch-message-prefix property.
6994 * info.el (Info--search-loop): New function, extracted from Info-search.
6995 Funcall isearch-filter-predicate instead of
6996 run-hook-with-args-until-failure isearch-filter-predicates.
6997 (Info-search): Use it.
6998 (Info-mode): Use isearch-filter-predicate instead of
6999 isearch-filter-predicates.
7000
7001 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7002
7003 Do not call to `selected-window' where it is assumed by default.
7004 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7005 `window-hscroll', `window-width', `window-height', `window-buffer',
7006 `window-frame', `window-start', `window-point', `next-window'
7007 and `window-display-table'.
7008 * abbrev.el (abbrev--default-expand):
7009 * bs.el (bs--show-with-configuration):
7010 * buff-menu.el (Buffer-menu-mouse-select):
7011 * calc/calc.el (calc):
7012 * calendar/calendar.el (calendar-generate-window):
7013 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7014 (diary-make-entry):
7015 * comint.el (send-invisible, comint-dynamic-complete-filename)
7016 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7017 * completion.el (complete):
7018 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7019 * disp-table.el (describe-current-display-table):
7020 * doc-view.el (doc-view-insert-image):
7021 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7022 * ehelp.el (with-electric-help):
7023 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7024 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7025 * emacs-lisp/helper.el (Helper-help-scroller):
7026 * emulation/cua-base.el (cua--post-command-handler-1):
7027 * eshell/esh-mode.el (eshell-output-filter):
7028 * ffap.el (ffap-gnus-wrapper):
7029 * help-macro.el (make-help-screen):
7030 * hilit-chg.el (highlight-compare-buffers):
7031 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7032 * hl-line.el (global-hl-line-highlight):
7033 * icomplete.el (icomplete-simple-completing-p):
7034 * isearch.el (isearch-done):
7035 * jit-lock.el (jit-lock-stealth-fontify):
7036 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7037 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7038 * mpc.el (mpc-tagbrowser, mpc):
7039 * net/rcirc.el (rcirc-any-buffer):
7040 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7041 * play/landmark.el (landmark-max-width, landmark-max-height):
7042 * play/zone.el (zone):
7043 * progmodes/compile.el (compilation-goto-locus):
7044 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7045 * progmodes/etags.el (find-tag-other-window):
7046 * progmodes/fortran.el (fortran-column-ruler):
7047 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7048 * progmodes/verilog-mode.el (verilog-point-text):
7049 * reposition.el (reposition-window):
7050 * rot13.el (toggle-rot13-mode):
7051 * server.el (server-switch-buffer):
7052 * shell.el (shell-dynamic-complete-command)
7053 (shell-dynamic-complete-environment-variable):
7054 * simple.el (insert-buffer, set-selective-display)
7055 (delete-completion-window):
7056 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7057 (speedbar-recenter):
7058 * startup.el (fancy-splash-head):
7059 * textmodes/ispell.el (ispell-command-loop):
7060 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7061 * tutorial.el (help-with-tutorial):
7062 * vc/add-log.el (add-change-log-entry):
7063 * vc/compare-w.el (compare-windows):
7064 * vc/ediff-help.el (ediff-indent-help-message):
7065 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7066 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7067 (ediff-setup-control-frame):
7068 * vc/emerge.el (emerge-position-region):
7069 * vc/pcvs-util.el (cvs-bury-buffer):
7070 * window.el (walk-windows, mouse-autoselect-window-select):
7071 * winner.el (winner-set-conf, winner-undo): Related users changed.
7072
7073 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7074
7075 * frameset.el (frameset--set-id): Doc fix.
7076 (frameset-frame-id, frameset-frame-id-equal-p)
7077 (frameset-locate-frame-id): New functions.
7078 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7079 (frameset-restore): Use them.
7080
7081 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7082
7083 Do not call to `selected-frame' where it is assumed by default.
7084 Affected functions are `raise-frame', `redraw-frame',
7085 `frame-first-window', `frame-terminal' and `delete-frame'.
7086 * calendar/appt.el (appt-disp-window):
7087 * epg.el (epg-wait-for-completion):
7088 * follow.el (follow-delete-other-windows-and-split)
7089 (follow-avoid-tail-recenter):
7090 * international/mule.el (set-terminal-coding-system):
7091 * mail/rmail.el (rmail-mail-return):
7092 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7093 * progmodes/f90.el (f90-add-imenu-menu):
7094 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7095 * server.el (server-switch-buffer):
7096 * simple.el (delete-completion-window):
7097 * talk.el (talk):
7098 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7099 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7100 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7101 * vc/ediff.el (ediff-documentation): Related users changed.
7102 * frame.el (selected-terminal): Remove the leftover.
7103
7104 2013-08-05 Glenn Morris <rgm@gnu.org>
7105
7106 * calendar/calendar.el (calendar-generate-month):
7107 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7108 (calendar-generate-month, calendar-font-lock-keywords):
7109 Fix for calendar-day-header-width > length of any day name.
7110
7111 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7112
7113 * desktop.el (desktop-clear): Use new name of sort predicate.
7114
7115 * frameset.el (frameset): Add docstring. Move :version property to its
7116 own `version' slot.
7117 (frameset-copy): Rename from copy-frameset.
7118 (frameset-p): Check more thoroughly.
7119 (frameset-prop): Do not check for :version, which is no longer a prop.
7120 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7121 Use new :never value instead of t.
7122 (frameset-filter-alist): Expand and clarify docstring.
7123 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7124 (frameset-filter-minibuffer, frameset-filter-save-param)
7125 (frameset-filter-restore-param, frameset-filter-iconified):
7126 Add pointer to docstring of frameset-filter-alist.
7127 (frameset-filter-params): Rename filter values to be more meaningful:
7128 :never instead of t, and reverse the meanings of :save and :restore.
7129 (frameset--process-minibuffer-frames): Clarify error message.
7130 (frameset-save): Avoid unnecessary and confusing call to framep.
7131 Use new BOA constructor for framesets.
7132 (frameset--reuse-list): Doc fix.
7133 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7134 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7135 (frameset-minibufferless-first-p): Doc fix.
7136 Rename from frameset-sort-frames-for-deletion.
7137 (frameset-restore): Doc fixes. Use new function names.
7138 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7139
7140 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7141
7142 * desktop.el (desktop-restore-forces-onscreen)
7143 (desktop-restore-reuses-frames): Document :keyword constant values.
7144 (desktop-filter-parameters-alist): Remove, now identical to
7145 frameset-filter-alist.
7146 (desktop--filter-tty*): Remove, moved to frameset.el.
7147 (desktop-save-frameset, desktop-restore-frameset):
7148 Do not pass :filters argument.
7149
7150 * frameset.el (frameset-live-filter-alist)
7151 (frameset-persistent-filter-alist): New variables.
7152 (frameset-filter-alist): Use them. Add autoload cookie.
7153 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7154 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7155 `frameset--id' (it's supposed to be internal to frameset.el).
7156 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7157 (frameset--initial-params): New function.
7158 (frameset--get-frame): Use it. Doc fix.
7159 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7160 Accept :all, not 'all.
7161 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7162 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7163 with fbound symbols. Fix frame id matching, and remove matching ids if
7164 the frame being restored is deleted. Obey :delete.
7165
7166 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * subr.el (macrop): New function.
7169 (text-clone--maintaining): New var.
7170 (text-clone--maintain): Rename from text-clone-maintain. Use it
7171 instead of inhibit-modification-hooks.
7172
7173 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7174 a proxy, so as handle autoloads and redefinitions of the target.
7175 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7176
7177 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7178 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7179 (pcase--mutually-exclusive-p): New function.
7180 (pcase--split-consp): Use it.
7181 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7182 mutually exclusive with the current predicate.
7183
7184 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7185 (edebug-macrop): Remove. Use `macrop' instead.
7186 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7187 (ad-macro-p):
7188 * eshell/esh-cmd.el (eshell-macrop):
7189 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7190
7191 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7194 (advice-mapc): New function, using it.
7195 (advice-function-member-p): New function.
7196 (advice--normalize): Store the cdr in advice--saved-rewrite since
7197 that's the part that will be changed.
7198 (advice--symbol-function): New function.
7199 (advice-remove): Handle removal before the function is defined.
7200 Adjust to new advice--saved-rewrite.
7201 (advice-member-p): Use advice-function-member-p and
7202 advice--symbol-function.
7203
7204 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7205
7206 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7207 (frameset-filter-minibuffer): Doc fix.
7208 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7209 (frameset--set-id, frameset--process-minibuffer-frames)
7210 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7211 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7212
7213 * desktop.el (desktop-clear): Only delete frames when called
7214 interactively and desktop-restore-frames is non-nil. Doc fix.
7215 (desktop-read): Set desktop-saved-frameset to nil.
7216
7217 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7218
7219 * vc/vc.el (vc-ignore): Rewrite.
7220 (vc-default-ignore-completion-table):
7221 (vc--read-lines):
7222 (vc--add-line, vc--remove-regexp): New functions.
7223
7224 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7225 (vc-svn-ignore-completion-table): New function.
7226
7227 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7228 (vc-hg-ignore-completion-table):
7229 (vc-hg-find-ignore-file): New functions.
7230
7231 * vc/vc-git.el (vc-git-ignore): Rewrite.
7232 (vc-git-ignore-completion-table):
7233 (vc-git-find-ignore-file): New functions.
7234
7235 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7236
7237 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7238 (vc-bzr-ignore-completion-table):
7239 (vc-bzr-find-ignore-file): New functions.
7240
7241 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * frameset.el (frameset-prop): New function and setter.
7244 (frameset-save): Do not modify frame list passed by the caller.
7245
7246 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7249
7250 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7253 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7254
7255 * custom.el (custom-initialize-default, custom-initialize-set)
7256 (custom-initialize-reset, custom-initialize-changed): Affect the
7257 toplevel-default-value (bug#6275, bug#14586).
7258 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7259 for bug#6275.
7260
7261 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7262
7263 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7264 Add cl-def* expressions.
7265
7266 * frameset.el (frameset-filter-params): Fix order of arguments.
7267
7268 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7269
7270 Move code related to saving frames to frameset.el.
7271 * desktop.el: Require frameset.
7272 (desktop-restore-frames): Doc fix.
7273 (desktop-restore-reuses-frames): Rename from
7274 desktop-restoring-reuses-frames.
7275 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7276 (desktop-clear): Clear frames too.
7277 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7278 (desktop--filter-tty*, desktop-save, desktop-read):
7279 Use frameset functions.
7280 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7281 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7282 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7283 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7284 (desktop--process-minibuffer-frames, desktop-save-frames)
7285 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7286 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7287 (desktop--sort-states, desktop-restoring-frames-p)
7288 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7289 (desktop-restoring-frameset-p, desktop-restore-frameset)
7290 (desktop--check-dont-save, desktop-save-frameset): New functions.
7291 (desktop--app-id): New constant.
7292 (desktop-first-buffer, desktop-buffer-ok-count)
7293 (desktop-buffer-fail-count): Move before first use.
7294 * frameset.el: New file.
7295
7296 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * files.el: Use lexical-binding.
7299 (dir-locals-read-from-file): Remove unused `err' variable.
7300 (hack-dir-local-variables--warned-coding): New var.
7301 (hack-dir-local-variables): Use it to avoid repeated warnings.
7302 (make-backup-file-name--default-function): New function.
7303 (make-backup-file-name-function): Use it as default.
7304 (buffer-stale--default-function): New function.
7305 (buffer-stale-function): Use it as default.
7306 (revert-buffer-insert-file-contents--default-function): New function.
7307 (revert-buffer-insert-file-contents-function): Use it as default.
7308 (insert-directory): Avoid add-to-list.
7309
7310 * autorevert.el (auto-revert-handler): Simplify.
7311 Use buffer-stale--default-function.
7312
7313 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7314
7315 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7316
7317 * whitespace.el (whitespace-ensure-local-variables): New function.
7318 (whitespace-cleanup-region): Call it.
7319 (whitespace-turn-on): Call it.
7320
7321 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7322
7323 Complete file name handlers.
7324
7325 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7326 (tramp-handle-verify-visited-file-modtime)
7327 (tramp-handle-file-notify-rm-watch): New functions.
7328 (tramp-call-process): Do not bind `default-directory'.
7329
7330 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7331 Order alphabetically.
7332 [access-file, add-name-to-file, dired-call-process]:
7333 [dired-compress-file, file-acl, file-notify-rm-watch]:
7334 [file-ownership-preserved-p, file-selinux-context]:
7335 [make-directory-internal, make-symbolic-link, set-file-acl]:
7336 [set-file-selinux-context, set-visited-file-modtime]:
7337 [verify-visited-file-modtime]: Add handler.
7338 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7339
7340 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7341 [file-notify-add-watch, file-notify-rm-watch]:
7342 [set-file-times, set-visited-file-modtime]:
7343 [verify-visited-file-modtime]: Add handler.
7344 (with-tramp-gvfs-error-message)
7345 (tramp-gvfs-handle-set-visited-file-modtime)
7346 (tramp-gvfs-fuse-file-name): Remove.
7347 (tramp-gvfs-handle-file-notify-add-watch)
7348 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7349 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7350
7351 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7352 Order alphabetically.
7353 [file-notify-rm-watch ]: Use default Tramp handler.
7354 [executable-find]: Remove private handler.
7355 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7356 `default-directory'.
7357 (tramp-sh-handle-executable-find)
7358 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7359 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7360 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7361 Do not use `format' in `tramp-message'.
7362
7363 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7364 [file-notify-rm-watch, set-visited-file-modtime]:
7365 [verify-visited-file-modtime]: Add handler.
7366 (tramp-smb-call-winexe): Do not bind `default-directory'.
7367
7368 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7369
7370 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7371
7372 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7373
7374 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7375 use it.
7376 (log-view-diff-changeset): Same.
7377 (log-view-diff-common): Call backend command `previous-revision'
7378 to find out the previous revision, in both cases. Swap the
7379 variables `to' and `fr', so that `fr' usually refers to the
7380 earlier revision (Bug#14989).
7381
7382 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7383
7384 * ibuf-ext.el (ibuffer-filter-by-filename):
7385 Make it work with dired buffers too.
7386
7387 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7388
7389 * emacs-lisp/re-builder.el (reb-color-display-p):
7390 * files.el (save-buffers-kill-terminal):
7391 * net/browse-url.el (browse-url):
7392 * server.el (server-save-buffers-kill-terminal):
7393 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7394 Prefer nil to selected-frame for the first arg of frame-parameter.
7395
7396 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7397
7398 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7399
7400 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7401
7402 * minibuffer.el (completion--twq-all): Try and preserve each
7403 completion's case choice (bug#14907).
7404
7405 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
7407 * net/network-stream.el (open-network-stream): Mention the new
7408 :nogreeting parameter.
7409 (network-stream-open-starttls): Use the :nogreeting parameter
7410 (bug#14938).
7411
7412 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7413
7414 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7415 more natural than popping.
7416
7417 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7418 (shr-urlify): Highlight under mouse.
7419
7420 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7421
7422 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7423
7424 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7425
7426 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7427 buffer for output.
7428
7429 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7430 point-min==1. Fix search string. Fix parentheses missing.
7431
7432 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7433 assume point-min==1. Fix search string. Fix parentheses missing.
7434
7435 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7436
7437 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7438 buffer for output.
7439
7440 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7441
7442 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7443 initial frame is minibuffer-less. (Bug#14841)
7444
7445 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7446
7447 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7448 option.
7449
7450 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7451 (tramp-maybe-open-connection): Use it.
7452
7453 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7454
7455 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7456 minimal set of parameters passed when creating a frame, because
7457 the minibuffer status of a frame cannot be changed later.
7458
7459 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7460
7461 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7462 replace-regexp-in-string and inadvertent omissions in previous change.
7463 (todo-filter-items): Ensure only file names are comma-separated in
7464 name of filtered items buffer.
7465
7466 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7467
7468 * desktop.el: Optionally force offscreen frames back onscreen.
7469 (desktop-restoring-reuses-frames): New option.
7470 (desktop--compute-pos, desktop--move-onscreen): New functions.
7471 (desktop--make-frame): Use desktop--move-onscreen.
7472
7473 2013-07-27 Alan Mackenzie <acm@muc.de>
7474
7475 Fontify a Java generic method as a function.
7476 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7477 value to t.
7478
7479 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7480
7481 * calendar/todo-mode.el: Add command to rename todo files.
7482 (todo-rename-file): New command.
7483 (todo-key-bindings-t): Add key binding for it. Change the
7484 bindings of todo-filter-regexp-items(-multifile) to use `x'
7485 instead of `r', since the latter is better suited to the new
7486 renaming command.
7487
7488 2013-07-27 Alan Mackenzie <acm@muc.de>
7489
7490 Make Java try-with-resources statement parse properly.
7491 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7492 (c-block-stmt-1-2-key): New language constants/variables.
7493 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7494 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7495 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7496 with c-block-stmt-1-2-key.
7497
7498 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * desktop.el (desktop--make-frame): Apply most frame parameters after
7501 creating the frame to force (partially or totally) offscreen frames to
7502 be restored as such.
7503
7504 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7505
7506 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7507 (Bug#14948)
7508
7509 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7510
7511 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7512 `base' arg of backtrace-frame.
7513
7514 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7515
7516 * simple.el (list-processes): Doc fix.
7517
7518 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7519
7520 * desktop.el (desktop--select-frame):
7521 Try harder to reuse existing frames.
7522
7523 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7526 (edebug-eval): Use backtrace-eval.
7527 (edebug--display, edebug--recursive-edit): Don't let-bind the
7528 edebug-outer-* vars that keep track of variables we locally let-bind.
7529 (edebug-outside-excursion): Don't restore outside values of locally
7530 let-bound vars.
7531 (edebug--display): Use user-error.
7532 (cl-lexical-debug, cl-debug-env): Remove.
7533
7534 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7537 are restored to be sure that they are visible before deleting any
7538 remaining ones.
7539
7540 2013-07-26 Matthias Meulien <orontee@gmail.com>
7541
7542 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7543 vc-print-root-log. (Bug#14948)
7544
7545 2013-07-26 Richard Stallman <rms@gnu.org>
7546
7547 Add aliases for encrypting mail.
7548 * epa.el (epa-mail-aliases): New option.
7549 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7550 Bind inhibit-read-only so read-only text doesn't ruin everything.
7551 (epa-mail-default-recipients): New subroutine broken out.
7552 Handle epa-mail-aliases.
7553
7554 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 Add support for lexical variables to the debugger's `e' command.
7557 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7558 vars, except for debugger-outer-match-data.
7559 (debugger-frame-number): Move check for "on a function call" from
7560 callers into it. Add `skip-base' argument.
7561 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7562 (debugger-env-macro): Only reset the state stored in non-variables,
7563 i.e. current-buffer and match-data.
7564 (debugger-eval-expression): Rewrite using backtrace-eval.
7565 * subr.el (internal--called-interactively-p--get-frame): Remove.
7566 (called-interactively-p):
7567 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7568 `base' arg of backtrace-frame instead.
7569
7570 2013-07-26 Glenn Morris <rgm@gnu.org>
7571
7572 * align.el (align-regexp): Doc fix. (Bug#14857)
7573 (align-region): Explicit error if subexpression missing/does not match.
7574
7575 * simple.el (global-visual-line-mode):
7576 Do not duplicate the mode lighter. (Bug#14858)
7577
7578 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (display-buffer): In display-buffer bind
7581 split-window-keep-point to t, bug#14829.
7582
7583 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7584
7585 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7586 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7587 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7588 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7589 Change accordingly.
7590 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7591 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7592
7593 2013-07-25 Glenn Morris <rgm@gnu.org>
7594
7595 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7596
7597 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7598
7599 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7600 parameter to modify-frame-parameters if the value has not changed;
7601 this is a workaround for bug#14949.
7602 (desktop--make-frame): On cl-delete-if call, check parameter name,
7603 not full parameter.
7604
7605 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7606
7607 * vc/vc.el (vc-ignore): New function.
7608
7609 * vc/vc-svn.el (vc-svn-ignore): New function.
7610
7611 * vc/vc-hg.el (vc-hg-ignore): New function.
7612
7613 * vc/vc-git.el (vc-git-ignore): New function.
7614
7615 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7616 (vc-dir-ignore): New function.
7617
7618 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7619 (cvs-append-to-ignore): Move here from pcvs.el.
7620
7621 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7622
7623 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7624
7625 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7628 (desktop-restore-frames): Warn when deleting an existing frame failed.
7629
7630 2013-07-24 Glenn Morris <rgm@gnu.org>
7631
7632 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7633
7634 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7635
7636 * filenotify.el (file-notify-supported-p):
7637 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7638 Remove functions.
7639
7640 * autorevert.el (auto-revert-use-notify):
7641 (auto-revert-notify-add-watch):
7642 * net/tramp.el (tramp-file-name-for-operation):
7643 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7645 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7646 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7647 Remove `file-notify-supported-p' entry.
7648
7649 2013-07-24 Glenn Morris <rgm@gnu.org>
7650
7651 * printing.el: Replace all uses of deleted ps-windows-system,
7652 ps-lp-system, ps-flatten-list with lpr- versions.
7653
7654 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7657 checked with memq (bug#14935).
7658
7659 * files.el (revert-buffer-function): Use a non-nil default.
7660 (revert-buffer-preserve-modes): Declare var to
7661 provide access to the `preserve-modes' argument.
7662 (revert-buffer): Let-bind it.
7663 (revert-buffer--default): New function, extracted from revert-buffer.
7664
7665 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * lpr.el: Signal print errors more prominently.
7668 (print-region-function): Don't default to nil.
7669 (lpr-print-region): New function, extracted from print-region-1.
7670 Check lpr's return value and signal an error in case of problem.
7671 (print-region-1): Use it.
7672 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7673 versions instead.
7674 (ps-printer-name): Default to nil.
7675 (ps-printer-name-option): Default to lpr-printer-switch.
7676 (ps-print-region-function): Don't default to nil.
7677 (ps-postscript-code-directory): Simplify default.
7678 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7679 (ps-string-list, ps-eval-switch, ps-flatten-list)
7680 (ps-flatten-list-1): Remove.
7681 (ps-multibyte-buffer): Avoid setq.
7682 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7683 (print-region-function, ps-print-region-function): Don't set them here.
7684
7685 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7686
7687 * ido.el (ido-fractionp):
7688 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7689 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7690 (ido-max-directory-size, ido-max-dir-file-cache)
7691 (ido-decorations): Doc fix.
7692
7693 * ansi-color.el: Fix old URL.
7694
7695 2013-07-23 Michael R. Mauger <michael@mauger.com>
7696
7697 * progmodes/sql.el: Version 3.3
7698 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7699 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7700 (sql-interactive-remove-continuation-prompt): Rewrite, use
7701 functions above. Fix continuation prompt and complete output line
7702 handling.
7703 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7704 redirected output buffer.
7705 (sql-mode): Restore deleted code (Bug#13591).
7706
7707 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7708
7709 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7710
7711 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7712
7713 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7714
7715 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7717 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7718
7719 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7720
7721 * desktop.el (desktop-clear): Simplify; remove useless checks
7722 against invalid buffer names.
7723 (desktop-list*): Use cl-list*.
7724 (desktop-buffer-info, desktop-create-buffer): Simplify.
7725
7726 2013-07-23 Leo Liu <sdl.web@gmail.com>
7727
7728 * bookmark.el (bookmark-make-record): Restore NAME as a default
7729 value. (Bug#14933)
7730
7731 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7734 extracted from autoload--insert-text.
7735 (autoload--insert-text): Remove.
7736 (autoload--print-cookie-text): New function, extracted from
7737 autoload--insert-cookie-text.
7738 (autoload--insert-cookie-text): Remove.
7739 (autoload-generate-file-autoloads): Adjust calls accordingly.
7740
7741 * winner.el (winner-hook-installed-p): Remove.
7742 (winner-mode): Simplify accordingly.
7743
7744 * subr.el (add-to-list): Fix compiler-macro when `append' is
7745 not constant. Don't use `cl-member' for the base case.
7746
7747 * progmodes/subword.el: Fix boundary case (bug#13758).
7748 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7749 own group.
7750 (subword-backward-regexp): Make it a constant.
7751 (subword-forward-internal): Don't treat a trailing capital as the
7752 beginning of a word.
7753
7754 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7755
7756 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7757 global value of tabulated-list-revert-hook (bug#14930).
7758
7759 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7760
7761 * desktop.el: Require 'cl-lib.
7762 (desktop-before-saving-frames-functions): New hook.
7763 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7764 for frames being saved. Rename from desktop--save-minibuffer-frames.
7765 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7766 Do not save frames with non-nil `desktop-dont-save' parameter.
7767 Filter out deleted frames.
7768 (desktop--find-frame): Use cl-find-if.
7769 (desktop--select-frame): Use cl-(first|second|third) to access values
7770 of desktop-mini.
7771 (desktop--make-frame): Use cl-delete-if.
7772 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7773 (desktop-restore-frames): Use cl-(first|second|third) to access values
7774 of desktop-mini. Look for visible frame at the end, not while
7775 restoring frames.
7776
7777 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7778 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7779 Use string-match-p, looking-at-p (bug#14927).
7780
7781 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7782
7783 * desktop.el (desktop-saved-frame-states):
7784 Rename from desktop--saved-states; all users changed.
7785 (desktop-save-frames): Rename from desktop--save-frames.
7786 Do not save state to desktop file.
7787 (desktop-save): Save desktop-saved-frame-states to desktop file
7788 and reset to nil.
7789 (desktop-restoring-frames-p): New function.
7790 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7791 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7792 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7793
7794 * desktop.el: Correctly restore iconified frames.
7795 (desktop--filter-iconified-position): New function.
7796 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7797
7798 2013-07-20 Glenn Morris <rgm@gnu.org>
7799
7800 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7801 Let `message' do the formatting.
7802 (def-gdb-preempt-display-buffer): Add explicit format.
7803
7804 * image-dired.el (image-dired-track-original-file):
7805 Use with-current-buffer.
7806 (image-dired-track-thumbnail): Use with-current-buffer.
7807 Avoid changing point of wrong window.
7808
7809 * image-dired.el (image-dired-track-original-file):
7810 Avoid changing point of wrong window. (Bug#14909)
7811
7812 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7813
7814 * progmodes/gdb-mi.el (gdb-done-or-error):
7815 Guard against "%" in gdb output. (Bug#14127)
7816
7817 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7818
7819 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7820 (Bug#14826)
7821
7822 * international/mule.el (coding-system-iso-2022-flags): Fix last
7823 change.
7824
7825 2013-07-20 Kenichi Handa <handa@gnu.org>
7826
7827 * international/mule.el (coding-system-iso-2022-flags):
7828 Add `8-bit-level-4'. (Bug#8522)
7829
7830 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7831
7832 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7833 (bug#14815).
7834
7835 * net/eww.el (eww-process-text-input): Allow inputting when the
7836 point is at the start of the line, as the properties aren't
7837 front-sticky.
7838
7839 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7840 degenerate widths.
7841
7842 2013-07-19 Richard Stallman <rms@gnu.org>
7843
7844 * epa.el (epa-popup-info-window): Doc fix.
7845
7846 * subr.el (split-string): New arg TRIM.
7847
7848 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7849
7850 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7851 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7852
7853 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7854
7855 * filenotify.el (file-notify--library): Rename from
7856 `file-notify-support'. Do not autoload. Adapt all uses.
7857 (file-notify-supported-p): New defun.
7858
7859 * autorevert.el (auto-revert-use-notify):
7860 Use `file-notify-supported-p' instead of `file-notify-support'.
7861 Adapt docstring.
7862 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7863
7864 * net/tramp.el (tramp-file-name-for-operation):
7865 Add `file-notify-supported-p'.
7866
7867 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7868 New defun.
7869 (tramp-sh-file-name-handler-alist): Add it as handler for
7870 `file-notify-supported-p '.
7871
7872 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7873 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7874 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7875 Add `ignore' as handler for `file-notify-*' functions.
7876
7877 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7878
7879 * simple.el (line-move-partial, line-move): Don't start vscroll or
7880 scroll-up if the current line is not taller than the window.
7881 (Bug#14881)
7882
7883 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7884
7885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7886 highlight question marks in the method names as strings.
7887 (ruby-block-beg-keywords): Inline.
7888 (ruby-font-lock-keyword-beg-re): Extract from
7889 `ruby-font-lock-keywords'.
7890
7891 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7892
7893 * frame.el (blink-cursor-blinks): New defcustom.
7894 (blink-cursor-blinks-done): New defvar.
7895 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7896 (blink-cursor-timer-function): Check if number of blinks has been
7897 done on X and NS.
7898 (blink-cursor-suspend, blink-cursor-check): New defuns.
7899
7900 2013-07-15 Glenn Morris <rgm@gnu.org>
7901
7902 * edmacro.el (edmacro-format-keys): Fix previous change.
7903
7904 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7905
7906 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7907 The hack didn't work outside English locales anyway.
7908
7909 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7910
7911 * simple.el (define-alternatives): Rename from alternatives-define,
7912 per RMS' suggestion.
7913
7914 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7915
7916 * desktop.el (desktop-restore-frames): Change default to t.
7917 (desktop-restore-in-current-display): Now offer more options.
7918 (desktop-restoring-reuses-frames): New customization option.
7919 (desktop--saved-states): Doc fix.
7920 (desktop-filter-parameters-alist): New variable, renamed and expanded
7921 from desktop--excluded-frame-parameters.
7922 (desktop--target-display): New variable.
7923 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7924 (desktop--filter-tty*, desktop--filter-*-color)
7925 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7926 (desktop--filter-save-desktop-parm)
7927 (desktop-restore-in-original-display-p): New functions.
7928 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7929 (desktop--save-minibuffer-frames): New function, inspired by a similar
7930 function from Martin Rudalics.
7931 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7932 (desktop--restore-in-this-display-p): Remove.
7933 (desktop--find-frame): Rename from desktop--find-frame-in-display
7934 and add predicate argument.
7935 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7936 (desktop--reuse-list): New variable.
7937 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7938 New functions.
7939 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7940
7941 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7942
7943 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7944
7945 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7946
7947 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7948 Highlight conversion methods on Kernel.
7949
7950 2013-07-13 Alan Mackenzie <acm@muc.de>
7951
7952 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7953 and comment it out. This out-commenting enables certain C++
7954 declarations to be parsed correctly.
7955
7956 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7957
7958 * international/mule.el (define-coding-system): Doc fix.
7959
7960 * simple.el (default-font-height): Don't call font-info if the
7961 frame's default font didn't change since the frame was created.
7962 (Bug#14838)
7963
7964 2013-07-13 Leo Liu <sdl.web@gmail.com>
7965
7966 * ido.el (ido-read-file-name): Guard against non-symbol value.
7967
7968 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7969
7970 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7971 in nested defuns.
7972
7973 2013-07-13 Leo Liu <sdl.web@gmail.com>
7974
7975 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7976 ido-set-matches call. (Bug#6852)
7977
7978 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7979
7980 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7981 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7982 Ruby 2.0.
7983 (ruby-font-lock-keywords): Distinguish calls to functions with
7984 module-like names from module references. Highlight character
7985 literals.
7986
7987 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7988
7989 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7990 (gdb-send): Handle continued commands. (Bug#14847)
7991
7992 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7993
7994 * desktop.el (desktop--v2s): Remove unused local variable.
7995 (desktop-save-buffer): Make defvar-local; adjust docstring.
7996 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7997 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7998
7999 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8000
8001 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8002
8003 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8004
8005 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8006 (Bug#14842)
8007
8008 2013-07-12 Glenn Morris <rgm@gnu.org>
8009
8010 * doc-view.el: Require cl-lib at runtime too.
8011 (doc-view-remove-if): Remove.
8012 (doc-view-search-next-match, doc-view-search-previous-match):
8013 Use cl-remove-if.
8014
8015 * edmacro.el: Require cl-lib at runtime too.
8016 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8017 (edmacro-mismatch, edmacro-subseq): Remove.
8018
8019 * shadowfile.el: Require cl-lib.
8020 (shadow-remove-if): Remove.
8021 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8022 Use cl-remove-if.
8023
8024 * wid-edit.el: Require cl-lib.
8025 (widget-choose): Use cl-remove-if.
8026 (widget-remove-if): Remove.
8027
8028 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8029 (ebrowse-delete-if-not): Remove.
8030 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8031 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8032 Use cl-delete-if-not.
8033
8034 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8035
8036 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8037 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8038
8039 2013-07-12 Leo Liu <sdl.web@gmail.com>
8040
8041 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8042
8043 2013-07-11 Glenn Morris <rgm@gnu.org>
8044
8045 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8046 (edebug-gensym-index, edebug-gensym):
8047 Remove reimplementation of cl-gensym.
8048 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8049
8050 * thumbs.el: Require cl-lib at run-time too.
8051 (thumbs-gensym-counter, thumbs-gensym):
8052 Remove reimplementation of cl-gensym.
8053 (thumbs-temp-file): Use cl-gensym.
8054
8055 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8056 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8057 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8058 (ert--union, ert--gensym-counter, ert--gensym-counter)
8059 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8060 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8061 (ert-make-test-unbound, ert--expand-should-1)
8062 (ert--expand-should, ert--should-error-handle-error)
8063 (should-error, ert--explain-equal-rec)
8064 (ert--plist-difference-explanation, ert-select-tests)
8065 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8066 Use cl-lib functions rather than reimplementations.
8067
8068 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8069
8070 * net/tramp.el (tramp-methods): Extend docstring.
8071 (tramp-connection-timeout): New defcustom.
8072 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8073 (with-tramp-progress-reporter): Simplify.
8074 (tramp-process-actions): Improve messages.
8075
8076 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8077 * net/tramp-sh.el (tramp-maybe-open-connection):
8078 Use `tramp-connection-timeout'.
8079 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8080 (Bug#14808)
8081
8082 2013-07-11 Leo Liu <sdl.web@gmail.com>
8083
8084 * ido.el (ido-read-file-name): Conform to the requirements of
8085 read-file-name. (Bug#11861)
8086 (ido-read-directory-name): Conform to the requirements of
8087 read-directory-name.
8088
8089 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8090
8091 * subr.el (delay-warning): New function.
8092
8093 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8094
8095 * simple.el (default-line-height): New function.
8096 (line-move-partial, line-move): Use it instead of computing the
8097 line height inline.
8098 (line-move-partial): Always compute ROWH. If the last line is
8099 partially-visible, but its text is completely visible, allow
8100 cursor to enter such a partially-visible line.
8101
8102 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8103
8104 Improve error messages. (Bug#14808)
8105
8106 * net/tramp.el (tramp-current-connection): New defvar, moved from
8107 tramp-sh.el.
8108 (tramp-message-show-progress-reporter-message): Remove, not
8109 needed anymore.
8110 (tramp-error-with-buffer): Show message in minibuffer.
8111 Discard input before waiting. Reset connection timestamp.
8112 (with-tramp-progress-reporter): Improve messages.
8113 (tramp-process-actions): Use progress reporter. Delete process in
8114 case of error. Improve messages.
8115
8116 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8117 Call `tramp-error-with-buffer' with vector and buffer.
8118 (tramp-current-connection): Remove.
8119 (tramp-maybe-open-connection): The car of
8120 `tramp-current-connection' are the first 3 slots of the vector.
8121
8122 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8123
8124 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8125 inside continued strings.
8126
8127 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8128
8129 Timestamp fixes for undo (Bug#14824).
8130 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8131
8132 2013-07-10 Leo Liu <sdl.web@gmail.com>
8133
8134 * files.el (require-final-newline): Allow safe local value.
8135 (Bug#14834)
8136
8137 2013-07-09 Leo Liu <sdl.web@gmail.com>
8138
8139 * ido.el (ido-read-directory-name): Handle fallback.
8140 (ido-read-file-name): Update DIR to ido-current-directory.
8141 (Bug#1516)
8142 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8143
8144 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8145
8146 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8147 "autoload". Remove "warn lower camel case" section, previously
8148 commented out. Highlight negation char. Do not highlight the
8149 target in singleton method definitions.
8150
8151 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * faces.el (tty-setup-hook): Declare the hook.
8154
8155 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8156 and detect when a guard/pred depends on local vars (bug#14773).
8157 (pcase--u1): Adjust caller.
8158
8159 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8160
8161 * simple.el (line-move-partial, line-move): Account for
8162 line-spacing.
8163 (line-move-partial): Avoid setting vscroll when the last
8164 partially-visible line in window is of default height.
8165
8166 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8167
8168 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8169 been used a while.
8170
8171 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * subr.el (read-quoted-char): Remove unused local variable `char'.
8174
8175 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8176
8177 * ediff.el (ediff-version): Version update.
8178 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8179 (ediff-merge-with-ancestor-command, ediff-directories-command)
8180 (ediff-directories3-command, ediff-merge-directories-command)
8181 (ediff-merge-directories-with-ancestor-command): New functions.
8182 All are command-line interfaces to ediff: to facilitate calling
8183 Emacs with the appropriate ediff functions invoked.
8184
8185 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8186 (viper-save-kill-buffer): Check if buffer is modified.
8187
8188 * viper.el (viper-version): Version update.
8189 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8190
8191 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8194 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8195 (viper-intercept-ESC-key): Simplify.
8196 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8197 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8198 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8199 (viper-setup-ESC-to-escape): New functions.
8200 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8201 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8202
8203 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8204
8205 * simple.el (default-font-height, window-screen-lines):
8206 New functions.
8207 (line-move, line-move-partial): Use them instead of
8208 frame-char-height and window-text-height. This makes scrolling
8209 text smoother when the buffer's default face uses a font that is
8210 different from the frame's default font.
8211
8212 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8213
8214 * files.el (write-file): Do not display confirm dialog for NS,
8215 it does its own dialog, which can't be canceled (Bug#14578).
8216
8217 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8218
8219 * simple.el (line-move-partial): Adjust the row returned by
8220 posn-at-point for the current window-vscroll. (Bug#14567)
8221
8222 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8223
8224 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8225 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8226 spaces.
8227
8228 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8229
8230 * window.el (window-state-put-stale-windows): New variable.
8231 (window--state-put-2): Save list of windows without matching buffer.
8232 (window-state-put): Remove "bufferless" windows if possible.
8233
8234 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8235
8236 * simple.el (alternatives-define): Remove leftover :group keyword.
8237 Tweak docstring.
8238
8239 2013-07-06 Leo Liu <sdl.web@gmail.com>
8240
8241 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8242 (ido-enable-virtual-buffers): New variable.
8243 (ido-buffer-internal, ido-toggle-virtual-buffers)
8244 (ido-make-buffer-list): Use it.
8245 (ido-exhibit): Support turning on and off virtual buffers
8246 automatically.
8247
8248 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * simple.el (alternatives-define): New macro.
8251
8252 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * subr.el (read-quoted-char): Use read-key.
8255 (sit-for): Let read-event decode tty input (bug#14782).
8256
8257 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8258
8259 * calendar/todo-mode.el: Add handling of file deletion, both by
8260 mode command and externally. Fix various related bugs.
8261 Clarify Commentary and improve some documentation strings and code.
8262 (todo-delete-file): New command.
8263 (todo-check-file): New function.
8264 (todo-show): Handle external deletion of the file we're trying to
8265 show (bug#14688). Replace called-interactively-p by an optional
8266 prefix argument to avoid problematic interaction with catch form
8267 when byte compiled (bug#14702).
8268 (todo-quit): Handle external deletion of the archive's todo file.
8269 Make sure the buffer that was visiting the archive file is still
8270 live before trying to bury it.
8271 (todo-category-completions): Handle external deletion of any
8272 category completion files.
8273 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8274 of todo files, in case of external deletion.
8275 (todo-add-file): Replace unnecessary setq by let-binding.
8276 (todo-find-archive): Check whether there are any archives.
8277 Replace unnecessary setq by let-binding.
8278 (todo-archive-done-item): Use find-file-noselect to get the
8279 archive buffer whether or not the archive already exists.
8280 Remove superfluous code. Use file size instead of buffer-file-name to
8281 check if the archive is new; if it is, update list of archives.
8282 (todo-default-todo-file): Allow nil to be a valid value for when
8283 there are no todo files.
8284 (todo-reevaluate-default-file-defcustom): Use corrected definition
8285 of todo-default-todo-file.
8286 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8287 (todo-delete-category, todo-show-categories-table)
8288 (todo-category-number): Clarify comment.
8289 (todo-filter-items): Clarify documentation string.
8290 (todo-show-current-file, todo-display-as-todo-file)
8291 (todo-reset-and-enable-done-separator): Tweak documentation string.
8292 (todo-done-separator): Make separator length window-width, since
8293 bug#2749 is now fixed.
8294
8295 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8296
8297 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8298 Support both "gvfs-monitor-dir" and "inotifywait".
8299 (tramp-sh-file-inotifywait-process-filter): Rename from
8300 `tramp-sh-file-notify-process-filter'.
8301 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8302 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8303
8304 2013-07-05 Leo Liu <sdl.web@gmail.com>
8305
8306 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8307
8308 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8309
8310 * frame.el (display-pixel-height, display-pixel-width)
8311 (display-mm-height, display-mm-width): Mention behavior on
8312 multi-monitor setups in docstrings.
8313 (w32-display-monitor-attributes-list): Declare function.
8314 (display-monitor-attributes-list): Use it.
8315
8316 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8317
8318 * filenotify.el: New package.
8319
8320 * autorevert.el (top): Require filenotify.el.
8321 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8322 instead.
8323 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8324 (auto-revert-notify-handler): Use `file-notify-*' functions.
8325
8326 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8327
8328 * net/tramp.el (tramp-file-name-for-operation):
8329 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8330
8331 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8332 for `file-notify-add-watch' and `file-notify-rm-watch'.
8333 (tramp-process-sentinel): Improve trace.
8334 (tramp-sh-handle-file-notify-add-watch)
8335 (tramp-sh-file-notify-process-filter)
8336 (tramp-sh-handle-file-notify-rm-watch)
8337 (tramp-get-remote-inotifywait): New defuns.
8338
8339 2013-07-03 Juri Linkov <juri@jurta.org>
8340
8341 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8342 call of `occur-read-primary-args' to interactive spec.
8343
8344 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8345 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8346
8347 2013-07-03 Matthias Meulien <orontee@gmail.com>
8348
8349 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8350 `Buffer-menu-multi-occur'. Add it to the menu.
8351 (Buffer-menu-mode): Document it in docstring.
8352 (Buffer-menu-multi-occur): New command. (Bug#14673)
8353
8354 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8355
8356 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8357 keywords and built-ins.
8358
8359 2013-07-03 Glenn Morris <rgm@gnu.org>
8360
8361 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8362
8363 Make info-xref checks case-sensitive by default
8364 * info.el (Info-find-node, Info-find-in-tag-table)
8365 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8366 Add option for exact case matching of nodes.
8367 * info-xref.el (info-xref): New custom group.
8368 (info-xref-case-fold): New option.
8369 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8370
8371 2013-07-03 Leo Liu <sdl.web@gmail.com>
8372
8373 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8374
8375 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8376
8377 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8378 middle of block statement initially, lower the depth. Remove
8379 FIXME comment, not longer valid. Remove middle of block statement
8380 detection, no need to do that anymore since we've been using
8381 `ruby-parse-region' here.
8382
8383 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8384
8385 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8386
8387 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8388
8389 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8390
8391 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8394 (desktop-restore-in-current-display): New customization option.
8395 (desktop--excluded-frame-parameters): Add `font'.
8396 (desktop--save-frames): Rename from desktop--save-windows.
8397 (desktop--restore-in-this-display-p): New function.
8398 (desktop--make-full-frame): Remove unwanted width/height from
8399 full(width|height) frames.
8400 (desktop--restore-frames): Rename from desktop--restore-windows.
8401 Obey desktop-restore-current-display. Do not delete old frames or
8402 select a new frame unless we were able to restore at least one frame.
8403
8404 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8405
8406 * files.el (find-file-noselect): Simplify conditional expression.
8407
8408 * textmodes/remember.el (remember-append-to-file):
8409 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8410
8411 Add `remember-notes' function to store random notes across Emacs
8412 restarts.
8413 * textmodes/remember.el (remember-data-file): Add :set callback to
8414 affect notes buffer (if any).
8415 (remember-notes): New command.
8416 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8417 New defcustoms for the `remember-notes' function.
8418 (remember-notes-save-and-bury-buffer): New command.
8419 (remember-notes-mode-map): New variable.
8420 (remember-mode): New minor mode.
8421 (remember-notes--kill-buffer-query): New function.
8422 * startup.el (initial-buffer-choice): Add notes to custom type.
8423
8424 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8425
8426 * bindings.el (right-char, left-char): Don't call sit-for, this is
8427 no longer needed. Use arithmetic comparison only for numerical
8428 arguments.
8429
8430 * international/mule-cmds.el (select-safe-coding-system):
8431 Handle the case of FROM being a string correctly. (Bug#14755)
8432
8433 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8434
8435 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8436 progression on degenerate tables.
8437 (shr-rescale-image): ImageMagick animated images currently don't work.
8438
8439 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8440
8441 Some fixes and improvements for desktop frame restoration.
8442 It is still experimental and disabled by default.
8443 * desktop.el (desktop--save-windows): Put the selected frame at
8444 the head of the list.
8445 (desktop--make-full-frame): New function.
8446 (desktop--restore-windows): Try to re-select the frame that was
8447 selected upon saving. Do not abort if some frames fail to restore,
8448 just show an error message and continue. Set up maximized frames
8449 so they have default non-maximized dimensions.
8450
8451 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8452
8453 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8454 Don't start heredoc inside a string or comment.
8455
8456 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8457
8458 * bindings.el (visual-order-cursor-movement): New defcustom.
8459 (right-char, left-char): Provide visual-order cursor motion by
8460 calling move-point-visually. Update the doc strings.
8461
8462 2013-06-28 Kenichi Handa <handa@gnu.org>
8463
8464 * international/mule.el (define-coding-system): New coding system
8465 properties :inhibit-null-byte-detection,
8466 :inhibit-iso-escape-detection, and :prefer-utf-8.
8467 (set-buffer-file-coding-system): If :charset-list property of
8468 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8469 appropriate for setting.
8470
8471 * international/mule-cmds.el (select-safe-coding-system):
8472 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8473 multibyte characters, return utf-8 (or one of its siblings).
8474
8475 * international/mule-conf.el (prefer-utf-8): New coding system.
8476 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8477 files.
8478
8479 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8480
8481 * net/shr.el (shr-render-region): New function.
8482
8483 * net/eww.el: Autoload `eww-browse-url'.
8484
8485 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8486
8487 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8488 Adapt to `package-desc-version' being a list.
8489 Use `package--ac-desc-version' to retrieve version from a package
8490 archive element.
8491
8492 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8493
8494 New experimental feature to save&restore window and frame setup.
8495 * desktop.el (desktop-save-windows): New defcustom.
8496 (desktop--saved-states): New var.
8497 (desktop--excluded-frame-parameters): New defconst.
8498 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8499 (desktop--restore-windows, desktop--save-windows): New functions.
8500 (desktop-save): Call `desktop--save-windows'.
8501 (desktop-read): Call `desktop--restore-windows'.
8502
8503 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8504
8505 * net/shr.el (add-face-text-property): Remove compat definition.
8506
8507 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8508
8509 * info.el (Info-try-follow-nearest-node): Move search for footnote
8510 above search for node name to prevent missing a footnote (bug#14717).
8511
8512 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8513
8514 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8515
8516 2013-06-27 Leo Liu <sdl.web@gmail.com>
8517
8518 * net/eww.el (eww-read-bookmarks): Check file size.
8519
8520 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8523 advice--pending if newdef is nil or an autoload (bug#13820).
8524 (advice-mapc): New function.
8525
8526 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8529 probably.
8530 (eww-mode-map): Add a menu bar.
8531 (eww-add-bookmark): New command.
8532 (eww-bookmark-mode): New mode and commands.
8533 (eww-add-bookmark): Remove newlines from the title.
8534 (eww-bookmark-browse): Don't bug out if it's the only window.
8535
8536 2013-06-26 Glenn Morris <rgm@gnu.org>
8537
8538 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8539 (hfy-size): Handle ttys. (Bug#14668)
8540
8541 * info-xref.el: Update for Texinfo 5 change in *note format.
8542 (info-xref-node-re, info-xref-note-re): New constants.
8543 (info-xref-check-buffer): Use info-xref-note-re.
8544
8545 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8548
8549 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8550 nil terminate the loop (bug#14718).
8551
8552 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8553
8554 * net/eww.el: Rework history traversal. When going forward/back,
8555 put these actions into the history, too, so that they can be
8556 replayed.
8557 (eww-render): Move the history reset to the correct buffer.
8558
8559 2013-06-25 Juri Linkov <juri@jurta.org>
8560
8561 * files-x.el (modify-dir-local-variable): Change the header comment
8562 in the file with directory local variables. (Bug#14692)
8563
8564 * files-x.el (read-file-local-variable-value): Add `default'.
8565 (Bug#14710)
8566
8567 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8568
8569 * net/eww.el (eww-make-unique-file-name): Create a unique file
8570 name before saving to entering `y' accidentally asynchronously.
8571
8572 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8573
8574 * net/eww.el (eww-download): New command and keystroke.
8575
8576 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8577
8578 * net/eww.el (eww-copy-page-url): Change name of command.
8579
8580 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8581 be more consistent with Info and dired.
8582
8583 * net/eww.el (eww-mode-map): Ditto.
8584
8585 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8586
8587 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8588 packages from archives.
8589 (package-archive-contents): Change format; include obsolete packages.
8590 (package-desc): Use `dir' to mark builtin packages.
8591 (package--from-builtin): Set the `dir' field to `builtin'.
8592 (generated-autoload-file, version-control): Declare.
8593 (package-compute-transaction): Change first arg and return value to be
8594 lists of package-descs. Adjust to new package-archive-contents format.
8595 (package--add-to-archive-contents): Adjust to new
8596 package-archive-contents format.
8597 (package-download-transaction): Arg is now a list of package-descs.
8598 (package-install): If `pkg' is a package name, pass it as
8599 a requirement, so it is subject to the usual (e.g. disabled) checks.
8600 (describe-package): Accept package-desc as well.
8601 (describe-package-1): Describe a specific package-desc. Add links to
8602 other package-descs for the same package name.
8603 (package-menu-describe-package): Pass the actual package-desc.
8604 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8605 works correctly.
8606 (package-desc-status): New function.
8607 (package-menu--refresh): New function, extracted
8608 from package-menu--generate.
8609 (package-menu--generate): Use it.
8610 (package-delete): Update package-alist.
8611 (package-menu-execute): Don't call package-initialize.
8612
8613 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8614 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8615 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8616 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8617 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8618 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8619
8620 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8621
8622 * window.el (window--state-get-1): Workaround for bug#14527.
8623 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8624
8625 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8626
8627 * net/eww.el (eww-back-url): Implement the history by stashing all
8628 the data into a list.
8629 (eww-forward-url): Allow going forward in the history, too.
8630
8631 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8634 for values and use read--expression for expressions (bug#14710).
8635 (read-file-local-variable): Avoid setq.
8636 (read-file-local-variable-mode): Use minor-mode-list.
8637
8638 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8639
8640 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8641 for DOI URLs.
8642
8643 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8644
8645 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8646 Update imenu-support when dialect changes.
8647
8648 2013-06-25 Leo Liu <sdl.web@gmail.com>
8649
8650 * ido.el (ido-read-internal): Allow forward slash on windows.
8651
8652 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8653
8654 * net/eww.el (eww): Start of strings is \\`, not ^.
8655
8656 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8657
8658 * net/shr.el (shr-browse-url): Fix interactive spec.
8659
8660 * net/eww.el (eww): Add a trailing slash to domain names.
8661
8662 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8663
8664 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8665
8666 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8667
8668 * net/shr.el (shr-browse-url): Use an external browser if given a
8669 prefix.
8670
8671 * net/eww.el (eww-external-browser): Move to shr.
8672
8673 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8674
8675 * net/eww.el (eww): Work more correctly for file: URLs.
8676 (eww-detect-charset): Allow quoted charsets.
8677 (eww-yank-page-url): New command and keystroke.
8678
8679 2013-06-24 Daiki Ueno <ueno@gnu.org>
8680
8681 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8682 file name of gpg executable.
8683 (epg-context-program): New function.
8684 (epg-context-home-directory): New function.
8685 (epg-context-set-program): New function.
8686 (epg-context-set-home-directory): New function.
8687 (epg--start): Use `epg-context-program' instead of
8688 'epg-gpg-program'.
8689 (epg--list-keys-1): Likewise.
8690
8691 2013-06-24 Leo Liu <sdl.web@gmail.com>
8692
8693 * ido.el (ido-read-internal): Fix bug#14620.
8694
8695 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8696
8697 * faces.el (face-documentation): Simplify.
8698 (read-face-attribute, tty-find-type, x-resolve-font-name):
8699 Use `string-match-p'.
8700 (list-faces-display): Use `string-match-p'. Simplify.
8701 (face-spec-recalc): Check face to avoid face alias loops.
8702 (read-color): Use `string-match-p' and non-capturing parenthesis.
8703
8704 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8705
8706 * net/shr.el (shr-rescale-image): Use the new
8707 :max-width/:max-height functionality.
8708
8709 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8710
8711 * net/eww.el (eww-search-prefix): New variable.
8712 (eww): Use it.
8713 (eww-external-browser): New variable.
8714 (eww-mode-map): New keystroke.
8715 (eww-browse-with-external-browser): New command.
8716
8717 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8718
8719 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8720
8721 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8722 Don't skip aligning the next header field when padding is 0;
8723 otherwise, field width is not respected unless the title is as
8724 wide as the field.
8725
8726 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * emacs-lisp/package.el (package-el-version): Remove.
8729 (package-process-define-package): Fix inf-loop.
8730 (package-install): Allow symbols as arguments again.
8731
8732 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8733
8734 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8735 add some more keyword-like methods.
8736 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8737
8738 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * bs.el (bs-buffer-show-mark): Make defvar-local.
8741 (bs-mode): Use setq-local.
8742
8743 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8744 (emacs-lock--try-unlocking): Make defvar-local.
8745
8746 2013-06-22 Glenn Morris <rgm@gnu.org>
8747
8748 * play/cookie1.el (cookie-apropos): Minor simplification.
8749
8750 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8751
8752 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8753
8754 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8755 `regexp-opt', it breaks the build during dumping.
8756
8757 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8758
8759 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8760 Highlight keyword-like methods on Kernel and Module with
8761 font-lock-builtin-face.
8762 (auto-mode-alist): Consolidate different entries into one regexp
8763 and add more *file-s.
8764
8765 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8766
8767 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8768
8769 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8770 (diary-entry): Use it in the action of this button type instead of
8771 diary-goto-entry.
8772
8773 * calendar/todo-mode.el: New version.
8774 (todo-add-category): Append new category to end of file and give
8775 it the highest number, instead of putting it at the beginning and
8776 giving it 0. Incorporate noninteractive functionality.
8777 (todo-forward-category): Adapt to 1-based category numbering.
8778 Allow skipping over archived categories.
8779 (todo-backward-category): Derive from todo-forward-category.
8780 (todo-backward-item, todo-forward-item): Make noninteractive and
8781 delegate interactive part to new commands. Make sensitive to done items.
8782 (todo-categories): Make value an alist of category names and
8783 vectors of item counts.
8784 (todo-category-beg): Make a defconst.
8785 (todo-category-number): Use 1 instead of 0 as initial value.
8786 (todo-category-select): Make sensitive to overlays, optional item
8787 highlighting and done items.
8788 (todo-delete-item): Make sensitive to overlays and marked and done items.
8789 (todo-edit-item): Make sensitive to overlays and editing of
8790 date/time header optional. Add format checks.
8791 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8792 no-op if point is not on an item. Advertise using todo-edit-quit.
8793 (todo-edit-mode): Make sensitive to new format, font-locking, and
8794 multiple todo files.
8795 (todo-insert-item, todo-insert-item-here): Derive from
8796 todo-basic-insert-item and extend functionality.
8797 (todo-item-end, todo-item-start): Make sensitive to done items.
8798 (todo-item-string): Don't return text properties. Restore point.
8799 (todo-jump-to-category): Make sensitive to multiple todo files and
8800 todo archives. Use extended category completion.
8801 (todo-lower-item, todo-raise-item): Rename to *-priority and
8802 derive from todo-set-item-priority.
8803 (todo-mode): Derive from special-mode. Make sensitive to new
8804 format, font-locking and multiple todo files. Make read-only.
8805 (todo-mode-map): Don't suppress digit keys, so they can supply
8806 prefix arguments. Add many new key bindings.
8807 (todo-prefix): Insert as an overlay instead of file text.
8808 Change semantics from diary date expression to purely visual mark.
8809 (todo-print): Rename to todo-print-buffer. Make buffer display
8810 features printable. Remove option to restrict number of items
8811 printed. Add option to print to file.
8812 (todo-print-function): Rename to todo-print-buffer-function.
8813 (todo-quit): Extend to handle exiting new todo modes.
8814 (todo-remove-item): Make sensitive to overlays.
8815 (todo-save): Extend to buffers of filtered items.
8816 (todo-show): Make sensitive to done items, multiple todo files and
8817 new todo modes. Offer to convert legacy todo file before creating
8818 first new todo file.
8819 (todo-show-priorities): Rename to todo-top-priorities.
8820 Change semantics of value 0.
8821 (todo-top-priorities): Rename to todo-filter-top-priorities,
8822 derive from todo-filter-items and extend functionality.
8823 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8824 and extend functionality to other types of filtered items.
8825 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8826 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8827 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8828 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8829 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8830 (todo-edit-mode-hook, todo-entry-prefix-function)
8831 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8832 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8833 (todo-initials, todo-insert-threshold, todo-item-string-start)
8834 (todo-line-string, todo-menu, todo-mode-hook)
8835 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8836 (todo-print-priorities, todo-remove-separator)
8837 (todo-save-top-priorities-too, todo-string-count-lines)
8838 (todo-string-multiline-p, todo-time-string-format)
8839 (todo-tmp-buffer-name): Remove.
8840 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8841 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8842 (todo-edit-category-diary-inclusion)
8843 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8844 (todo-edit-file, todo-edit-item-date-day)
8845 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8846 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8847 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8848 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8849 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8850 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8851 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8852 (todo-filter-top-priorities-multifile, todo-find-archive)
8853 (todo-find-filtered-items-file, todo-go-to-source-item)
8854 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8855 (todo-jump-to-archive-category, todo-lower-category)
8856 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8857 (todo-move-category, todo-move-item, todo-next-button)
8858 (todo-next-item, todo-padded-string, todo-powerset)
8859 (todo-previous-button, todo-previous-item)
8860 (todo-print-buffer-to-file, todo-raise-category)
8861 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8862 (todo-set-category-number, todo-set-item-priority)
8863 (todo-set-top-priorities-in-category)
8864 (todo-set-top-priorities-in-file, todo-show-categories-table)
8865 (todo-sort-categories-alphabetically-or-numerically)
8866 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8867 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8868 (todo-toggle-item-header, todo-toggle-item-highlighting)
8869 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8870 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8871 (todo-unarchive-items, todo-unmark-category): New commands.
8872 (todo-absolute-file-name, todo-add-to-buffer-list)
8873 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8874 (todo-basic-insert-item, todo-category-completions)
8875 (todo-category-number, todo-category-string-matcher-1)
8876 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8877 (todo-check-format, todo-clear-matches)
8878 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8879 (todo-current-category, todo-date-string-matcher)
8880 (todo-define-insertion-command, todo-diary-expired-matcher)
8881 (todo-diary-goto-entry, todo-diary-item-p)
8882 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8883 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8884 (todo-done-item-section-p, todo-done-separator)
8885 (todo-done-string-matcher, todo-files, todo-filter-items)
8886 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8887 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8888 (todo-insert-category-line, todo-insert-item-from-calendar)
8889 (todo-insert-sort-button, todo-insert-with-overlays)
8890 (todo-insertion-command-name, todo-insertion-key-bindings)
8891 (todo-label-to-key, todo-longest-category-name-length)
8892 (todo-make-categories-list, todo-mode-external-set)
8893 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8894 (todo-modes-set-3, todo-multiple-filter-files)
8895 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8896 (todo-read-category, todo-read-date, todo-read-dayname)
8897 (todo-read-file-name, todo-read-time)
8898 (todo-reevaluate-category-completions-files-defcustom)
8899 (todo-reevaluate-default-file-defcustom)
8900 (todo-reevaluate-filelist-defcustoms)
8901 (todo-reevaluate-filter-files-defcustom)
8902 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8903 (todo-reset-done-separator, todo-reset-done-separator-string)
8904 (todo-reset-done-string, todo-reset-global-current-todo-file)
8905 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8906 (todo-reset-prefix, todo-set-categories)
8907 (todo-set-date-from-calendar, todo-set-show-current-file)
8908 (todo-set-top-priorities, todo-short-file-name)
8909 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8910 (todo-total-item-counts, todo-update-buffer-list)
8911 (todo-update-categories-display, todo-update-categories-sexp)
8912 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8913 New functions.
8914 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8915 New major modes.
8916 (todo-categories, todo-display, todo-edit, todo-faces)
8917 (todo-filtered): New defgroups.
8918 (todo-archived-only, todo-button, todo-category-string, todo-date)
8919 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8920 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8921 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8922 (todo-add-item-if-new-category, todo-always-add-time-string)
8923 (todo-categories-align, todo-categories-archived-label)
8924 (todo-categories-category-label, todo-categories-diary-label)
8925 (todo-categories-done-label, todo-categories-number-separator)
8926 (todo-categories-todo-label, todo-categories-totals-label)
8927 (todo-category-completions-files, todo-completion-ignore-case)
8928 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8929 (todo-done-separator-string, todo-done-string)
8930 (todo-files-function, todo-filter-done-items, todo-filter-files)
8931 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8932 (todo-initial-category, todo-initial-file, todo-item-mark)
8933 (todo-legacy-date-time-regexp, todo-mode-line-function)
8934 (todo-nondiary-marker, todo-number-prefix)
8935 (todo-print-buffer-function, todo-show-current-file)
8936 (todo-show-done-only, todo-show-first, todo-show-with-done)
8937 (todo-skip-archived-categories, todo-top-priorities-overrides)
8938 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8939 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8940 New defcustoms.
8941 (todo-category-done, todo-date-pattern, todo-date-string-start)
8942 (todo-diary-items-buffer, todo-done-string-start)
8943 (todo-filtered-items-buffer, todo-item-start)
8944 (todo-month-abbrev-array, todo-month-name-array)
8945 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8946 (todo-top-priorities-buffer): New defconsts.
8947 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8948 (todo-categories-with-marks, todo-category-string-face)
8949 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8950 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8951 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8952 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8953 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8954 (todo-font-lock-keywords, todo-global-current-todo-file)
8955 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8956 (todo-insertion-commands-args)
8957 (todo-insertion-commands-args-genlist)
8958 (todo-insertion-commands-names, todo-insertion-map)
8959 (todo-key-bindings-t, todo-key-bindings-t+a)
8960 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8961 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8962 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8963 (todo-visited): New variables.
8964
8965 2013-06-21 Glenn Morris <rgm@gnu.org>
8966
8967 * play/cookie1.el (cookie-apropos): Add optional display argument.
8968 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8969 (psychoanalyze-pinhead): Use cookie-doctor.
8970
8971 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8972
8973 * emacs-lisp/package.el (tar-get-file-descriptor)
8974 (tar--extract): Declare.
8975
8976 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8977
8978 Extend flymake's warning predicate to be a function (bug#14217).
8979 * progmodes/flymake.el (flymake-warning-predicate): New.
8980 (flymake-parse-line): Use it.
8981 (flymake-warning-re): Make obsolete alias to
8982 `flymake-warning-predicate'.
8983
8984 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8987 (package-obsolete-list): Remove.
8988 (package-activate): Remove min-version argument. Add `force' argument.
8989 Adjust to new package-alist format.
8990 (package-mark-obsolete): Remove.
8991 (package-unpack): Force reload of the package's autoloads.
8992 (package-installed-p): Check builtins if the installed package is not
8993 recent enough.
8994 (package-initialize): Don't reset package-obsolete-list.
8995 Don't specify which package version to activate.
8996 (package-process-define-package, describe-package-1)
8997 (package-menu--generate): Adjust to new package-alist format.
8998
8999 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9000
9001 * allout-widgets.el (allout-widgets-mode-off)
9002 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9003 (allout-widgets-post-command-business)
9004 (allout-widgets-after-copy-or-kill-function)
9005 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9006 (allout-decorate-item-and-context)
9007 (allout-graphics-modification-handler): Fix typos in docstrings.
9008 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9009
9010 * cmuscheme.el (scheme-start-file): Doc fix.
9011 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9012 (scheme-input-filter): Use `string-match-p'.
9013
9014 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9015
9016 * dired-x.el: Use Dired consistently in docstrings.
9017
9018 * dired.el: Use Dired consistently in docstrings.
9019 (dired-readin, dired-mode): Use `setq-local'.
9020 (dired-switches-alist): Make defvar-local.
9021 (dired-buffers-for-dir): Use `zerop'.
9022 (dired-safe-switches-p, dired-switches-escape-p)
9023 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9024 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9025 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9026 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9027 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9028 (dired-toggle-marks, dired-mark-files-containing-regexp)
9029 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9030 (dired-flag-auto-save-files, dired-flag-backup-files):
9031 Use `looking-at-p'.
9032 (dired-mark-files-regexp, dired-build-subdir-alist):
9033 Use `string-match-p', `looking-at-p'.
9034
9035 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9036 (direct-print-region-helper): Use `string-match-p'.
9037
9038 2013-06-21 Leo Liu <sdl.web@gmail.com>
9039
9040 * comint.el (comint-redirect-results-list-from-process):
9041 Fix infinite loop.
9042
9043 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9044
9045 * net/eww.el (eww-update-header-line-format): Quote % characters.
9046
9047 2013-06-21 Glenn Morris <rgm@gnu.org>
9048
9049 * play/cookie1.el (cookie): New custom group.
9050 (cookie-file): New option.
9051 (cookie-check-file): New function.
9052 (cookie): Make it interactive. Make start and end messages optional.
9053 Interactively, display the result. Default to cookie-file.
9054 (cookie-insert): Default to cookie-file.
9055 (cookie-snarf): Make start and end messages optional.
9056 Default to cookie-file. Use with-temp-buffer.
9057 (cookie-read): Rename from read-cookie.
9058 Make start and end messages optional. Default to cookie-file.
9059 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9060 Do not autoload it.
9061 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9062 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9063
9064 2013-06-21 Leo Liu <sdl.web@gmail.com>
9065
9066 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9067
9068 2013-06-21 Glenn Morris <rgm@gnu.org>
9069
9070 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9071
9072 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9073 Daniel Hackney <dan@haxney.org>
9074
9075 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9076 Consolidate the single-file vs tarball code.
9077 (package-desc-suffix): New function.
9078 (package-desc-full-name): Don't bother inlining it.
9079 (package-load-descriptor): Return the new package-desc.
9080 (package-mark-obsolete): Remove unused arg `package'.
9081 (package-unpack): Make it work for single files as well.
9082 Make it update package-alist.
9083 (package--make-autoloads-and-stuff): Rename from
9084 package--make-autoloads-and-compile. Don't compile any more.
9085 (package--compile): New function.
9086 (package-generate-description-file): New function, extracted from
9087 package-unpack-single.
9088 (package-unpack-single): Remove.
9089 (package--with-work-buffer): Add indentation and debugging info.
9090 (package-download-single): Remove.
9091 (package-install-from-archive): Rename from package-download-tar, make
9092 it take a pkg-desc, and make it work for single files as well.
9093 (package-download-transaction): Simplify.
9094 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9095 external tar program.
9096 (package-install-from-buffer): Remove `pkg-desc' argument.
9097 Use package-tar-file-info for tar-mode buffers.
9098 (package-install-file): Simplify accordingly.
9099 (package-archive-base): Change to take a pkg-desc.
9100 * tar-mode.el (tar--check-descriptor): New function, extracted from
9101 tar-get-descriptor.
9102 (tar-get-descriptor): Use it.
9103 (tar-get-file-descriptor): New function.
9104 (tar--extract): New function, extracted from tar-extract.
9105 (tar--extract): Use it.
9106 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9107 case the summary uses non-ascii. Adjust to new calling convention of
9108 package-tar-file-info.
9109
9110 2013-06-21 Leo Liu <sdl.web@gmail.com>
9111
9112 * comint.el (comint-redirect-results-list-from-process):
9113 Fix random delay. (Bug#14681)
9114
9115 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9116
9117 * profiler.el (profiler-format-number): Use log, not log10.
9118
9119 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9120
9121 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9122
9123 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9124
9125 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9126 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9127 yet available.
9128 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9129 (AUTOGENEL): ... here.
9130 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9131 (cl--defsubst-expand): Use it.
9132
9133 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9134
9135 * subr.el (log10): Move here from C code, and declare as obsolete.
9136 All uses of (log10 X) replaced with (log X 10).
9137
9138 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9141 Declare with `defvar-local'.
9142 (tabulated-list-use-header-line, tabulated-list-entries)
9143 (tabulated-list-padding, tabulated-list-printer)
9144 (tabulated-list-sort-key): Declare with `defvar-local'.
9145 (tabulated-list-init-header, tabulated-list-print-fake-header):
9146 Use `setq-local'.
9147
9148 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9149
9150 * arc-mode.el (archive-mode): Add `archive-write-file' to
9151 `write-contents-functions' also for remote files. (Bug#14652)
9152
9153 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9154
9155 * cus-edit.el (custom-commands): Fix typos.
9156 (custom-display): Fix tooltip text.
9157 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9158 Fix typos in docstrings.
9159 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9160 (custom-unlispify-menu-entry, custom-magic-value-create)
9161 (custom-add-see-also, custom-group-value-create): Use ?\s.
9162 (custom-guess-type, customize-apropos, editable-field)
9163 (custom-face-value-create): Use `string-match-p'.
9164 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9165
9166 * custom.el (custom-load-symbol): Use `string-match-p'.
9167
9168 * ansi-color.el: Convert to lexical binding.
9169 (ansi-colors): Fix URL.
9170 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9171 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9172 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9173
9174 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9175
9176 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9177
9178 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9179
9180 2013-06-19 Tom Tromey <tromey@redhat.com>
9181
9182 * net/eww.el (eww-top-url): Remove.
9183 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9184 (eww-render): Set new variables. Don't set eww-top-url.
9185 (eww-handle-link): Handle "prev", "home", and "contents".
9186 Downcase the rel text.
9187 (eww-top-url): Choose best top URL.
9188
9189 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9190
9191 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9192 relying in widget.el. Using widget.el leads to too many
9193 user interface inconsistencies.
9194 (eww-self-insert): Implement entering commands in text fields.
9195 (eww-process-text-input): New function to make text input field editing
9196 work.
9197 (eww-submit): Rewrite to use the new-style form methods.
9198 (eww-select-display): Display the correct selected item.
9199 (eww-change-select): Implement changing the select value.
9200 (eww-toggle-checkbox): Implement radio/checkboxes.
9201 (eww-update-field): Fix compilation error.
9202 (eww-tag-textarea): Implement <textarea>.
9203
9204 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9205 we don't shadow mode-specific bindings.
9206
9207 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9208 nothing to push.
9209
9210 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9211
9212 2013-06-19 Glenn Morris <rgm@gnu.org>
9213
9214 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9215
9216 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9217
9218 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9219 not needed.
9220
9221 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9222
9223 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9224
9225 * net/browse-url.el (browse-url-browser-function):
9226 `eww-browse-url' has the right calling signature, `eww' does not.
9227
9228 2013-06-19 Glenn Morris <rgm@gnu.org>
9229
9230 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9231 Only eval autoloaded macros.
9232 (byte-compile-autoload): Only give the macro warning for macros.
9233
9234 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9235 (ps-underlined-faces): Declare.
9236
9237 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9238 (speedbar-add-supported-extension): Declare.
9239
9240 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9241 Don't include a date stamp in the header of the generated file;
9242 it leads to needless differences between output files.
9243
9244 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9245
9246 * net/secrets.el (secrets-struct-secret-content-type):
9247 Replace check of introspection data by a test call of "CreateItem".
9248 Some servers do not offer introspection.
9249
9250 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * electric.el (electric-pair-mode): Improve interaction with
9253 electric-layout-mode.
9254 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9255 (electric-pair-syntax): Use text-mode-syntax-table in comments
9256 and strings.
9257 (electric-pair--insert): New function.
9258 (electric-pair-post-self-insert-function): Use it and
9259 electric--after-char-pos.
9260
9261 2013-06-19 Leo Liu <sdl.web@gmail.com>
9262
9263 * progmodes/octave.el (octave-help): Fix regexp.
9264
9265 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9266
9267 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9268 (shr-table-horizontal-line): Allow nil as a value, and change the
9269 default.
9270 (shr-insert-table-ruler): Respect the nil value.
9271
9272 2013-06-18 Tom Tromey <tromey@barimba>
9273
9274 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9275 New defvars.
9276 (eww-open-file): New defun.
9277 (eww-render): Initialize new variables.
9278 (eww-display-html): Handle "link" and "a".
9279 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9280 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9281 (eww-back-url): Rename from eww-previous-url.
9282 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9283 New defuns.
9284
9285 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9286
9287 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9288 Distinguish ternary operator tokens from slash symbol and slash
9289 char literal.
9290
9291 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9292
9293 Convert symbol prettification into minor mode and global minor mode.
9294
9295 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9296 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9297 (prettify-symbols--keywords): Rename from
9298 `prog-prettify-symbols-alist' and make a local defvar.
9299 (prettify-symbols--compose-symbol): Rename from
9300 `prog--prettify-font-lock-compose-symbol'.
9301 (prettify-symbols--make-keywords): Rename from
9302 `prog-prettify-font-lock-symbols-keywords' and simplify.
9303 (prog-prettify-install): Remove.
9304 (prettify-symbols-mode): New minor mode, based on
9305 `prog-prettify-install'.
9306 (turn-on-prettify-symbols-mode): New function.
9307 (global-prettify-symbols-mode): New globalized minor mode.
9308
9309 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9310 * progmodes/cfengine.el (cfengine3-mode):
9311 * progmodes/perl-mode.el (perl-mode): Don't call
9312 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9313
9314 2013-06-18 Juri Linkov <juri@jurta.org>
9315
9316 * files-x.el (modify-file-local-variable-message): New function.
9317 (modify-file-local-variable)
9318 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9319 and call `modify-file-local-variable-message' when it's non-nil.
9320 (add-file-local-variable, delete-file-local-variable)
9321 (add-file-local-variable-prop-line)
9322 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9323 and use it. (Bug#9820)
9324
9325 2013-06-18 Juri Linkov <juri@jurta.org>
9326
9327 * emulation/vi.el (vi-shell-op):
9328 * emulation/vip.el (vip-execute-com, ex-command):
9329 * emulation/viper-cmd.el (viper-exec-bang):
9330 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9331 the call of `shell-command-on-region'. (Bug#14637)
9332
9333 * simple.el (shell-command-on-region): Doc fix.
9334
9335 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9338 (bug#14633).
9339
9340 2013-06-18 Glenn Morris <rgm@gnu.org>
9341
9342 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9343
9344 * newcomment.el (comment-search-forward, comment-search-backward):
9345 Doc fix. (Bug#14376)
9346
9347 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9348
9349 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9350 (buffer-face-mode-invoke): Doc fix.
9351
9352 2013-06-18 Matthias Meulien <orontee@gmail.com>
9353
9354 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9355 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9356
9357 2013-06-18 Glenn Morris <rgm@gnu.org>
9358
9359 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9360 Replace obsolete function generic-make-keywords with its expansion.
9361
9362 * progmodes/python.el (ffap-alist): Declare.
9363
9364 * textmodes/reftex.el (bibtex-mode-map): Declare.
9365
9366 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9367
9368 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9369 (package-unpack, package-unpack-single): Return the pkg-dir.
9370 (package-download-transaction): Use it to update package-alist.
9371
9372 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9373
9374 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9375 possible choice.
9376
9377 2013-06-17 Juri Linkov <juri@jurta.org>
9378
9379 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9380
9381 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9382
9383 * emacs-lisp/package.el (package-load-descriptor):
9384 Remove `with-syntax-table' call, `read' doesn't need it.
9385 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9386
9387 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9388
9389 * startup.el (command-line): Expand package name returned by
9390 `package--description-file' (bug#14639).
9391
9392 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9393
9394 * emacs-lisp/package.el (package-load-descriptor): Do not call
9395 `emacs-lisp-mode', just use its syntax table.
9396
9397 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9398
9399 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9400 `font-lock-extra-managed-props' if any prettifying keyword is added.
9401 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9402 (prog-mode): Use `setq-local'.
9403
9404 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * international/characters.el (standard-case-table): Set syntax of ?»
9407 and ?« to punctuation.
9408
9409 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9410
9411 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9412 Save relevant match data before calling `syntax-ppss' (bug#14595).
9413
9414 2013-06-15 Juri Linkov <juri@jurta.org>
9415
9416 * files-x.el (modify-file-local-variable-prop-line): Add local
9417 variables to the end of the existing comment on the first line.
9418 Use `file-auto-mode-skip' to skip interpreter magic line,
9419 and also skip XML declaration.
9420
9421 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * startup.el (package--builtin-versions): New var.
9424 (package-subdirectory-regexp): Remove.
9425 (package--description-file): Hard code its value instead.
9426
9427 * emacs-lisp/package.el: Don't activate packages older than builtin.
9428 (package-obsolete-list): Rename from package-obsolete-alist, and make
9429 it into a simple list of package-desc.
9430 (package-strip-version): Remove.
9431 (package-built-in-p): Use package--builtin-versions.
9432 (package-mark-obsolete): Simplify.
9433 (package-process-define-package): Mark it obsolete if older than the
9434 builtin version.
9435 (package-handle-response): Use line-end-position.
9436 (package-read-archive-contents, package--download-one-archive):
9437 Simplify.
9438 (package--add-to-archive-contents): Skip if older than the builtin or
9439 installed version.
9440 (package-menu-describe-package): Fix last change.
9441 (package-list-unversioned): New var.
9442 (package-menu--generate): Use it.
9443
9444 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9445 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9446 (autoload-builtin-package-versions): New variable.
9447 (autoload-generate-file-autoloads): Use them.
9448 Remove the list of autoloaded functions/macros from the
9449 (autoload...) comments.
9450
9451 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9452
9453 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9454
9455 * simple.el (line-move-partial): Don't jump to the next screen
9456 line as soon as it becomes visible. Instead, continue enlarging
9457 the vscroll until the portion of a tall screen line that's left on
9458 display is about the height of the frame's default font.
9459 (Bug#14567)
9460
9461 2013-06-15 Glenn Morris <rgm@gnu.org>
9462
9463 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9464 compilation-error-regexp-alist void, or local while let-bound.
9465
9466 * progmodes/make-mode.el (makefile-mode-syntax-table):
9467 Treat "=" as punctuation. (Bug#14614)
9468
9469 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9470
9471 * help-fns.el (describe-variable):
9472 Add extra line for permanent-local variables.
9473
9474 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9475
9476 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9477 Add export, import, library. (Bug#9164)
9478 (library): Set indent function.
9479
9480 2013-06-14 Glenn Morris <rgm@gnu.org>
9481
9482 * term/xterm.el (xterm--query):
9483 Stop after first matching handler. (Bug#14615)
9484
9485 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9486
9487 Add support for dired in saveplace.
9488 * dired.el (dired-initial-position-hook): New variable.
9489 (dired-initial-position): Call hook to place cursor position.
9490 * saveplace.el (save-place-to-alist): Add dired position.
9491 (save-place-dired-hook): New function.
9492
9493 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9496 through a symbol rather than letrec.
9497
9498 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9499 (package-desc): Add `dir' field.
9500 (package-desc-full-name): New function.
9501 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9502 (package-maybe-load-descriptor): Remove.
9503 (package-load-all-descriptors): Just call package-load-descriptor.
9504 (package--disabled-p): New function.
9505 (package-desc-vers, package-desc-doc): Remove aliases.
9506 (package--dir): Remove function.
9507 (package-activate): Check if a package is disabled.
9508 (package-process-define-package): New function, extracted from
9509 define-package.
9510 (define-package): Turn into a place holder.
9511 (package-unpack-single, package-tar-file-info):
9512 Use package--description-file.
9513 (package-compute-transaction): Use package--disabled-p.
9514 (package-download-transaction): Don't call
9515 package-maybe-load-descriptor since they're all loaded anyway.
9516 (package-install): Change argument to be a pkg-desc.
9517 (package-delete): Use a single pkg-desc argument.
9518 (describe-package-1): Use package-desc-dir instead of package--dir.
9519 Use package-desc property instead of package-symbol.
9520 (package-install-button-action): Adjust accordingly.
9521 (package--push): Rewrite.
9522 (package-menu--print-info): Adjust accordingly. Change the ID format
9523 to be a pkg-desc.
9524 (package-menu-describe-package, package-menu-get-status)
9525 (package-menu--find-upgrades, package-menu-mark-upgrades)
9526 (package-menu-execute, package-menu--name-predicate):
9527 Adjust accordingly.
9528 * startup.el (package--description-file): New function.
9529 (command-line): Use it.
9530 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9531 Use package-desc-version.
9532
9533 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9534 (byte-compile-preprocess): Use it.
9535 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9536 can't quite recognize.
9537 (byte-compile-add-to-list): Remove.
9538 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9539 (cconv-closure-convert): Add assertion.
9540
9541 * emacs-lisp/map-ynp.el: Use lexical-binding.
9542 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9543 Factor out some repeated code.
9544
9545 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * subr.el (with-eval-after-load): New macro.
9548 (eval-after-load): Allow form to be a function.
9549 take advantage of lexical-binding.
9550 (do-after-load-evaluation): Use dolist and adjust to new format.
9551 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9552
9553 2013-06-13 Juri Linkov <juri@jurta.org>
9554
9555 * replace.el (perform-replace): Display "symbol " and other search
9556 modes from `isearch-message-prefix' in the *Help* buffer.
9557
9558 * isearch.el (isearch-query-replace): Add " symbol" and other
9559 possible search modes from `isearch-message-prefix' to the prompt.
9560 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9561 when reading a regexp to collect.
9562
9563 2013-06-13 Juri Linkov <juri@jurta.org>
9564
9565 * isearch.el (word-search-regexp): Match whitespace if the search
9566 string begins or ends in whitespace. The LAX arg is applied to
9567 both ends of the search string. Use `regexp-quote' and explicit
9568 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9569 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9570 boundaries are replaced with symbol boundaries, and characters
9571 between symbols match non-word non-symbol syntax. (Bug#14602)
9572
9573 2013-06-13 Juri Linkov <juri@jurta.org>
9574
9575 * isearch.el (isearch-del-char): Don't exceed the length of
9576 `isearch-string' by the prefix arg. (Bug#14563)
9577
9578 2013-06-13 Juri Linkov <juri@jurta.org>
9579
9580 * isearch.el (isearch-yank-word, isearch-yank-line)
9581 (isearch-char-by-name, isearch-quote-char)
9582 (isearch-printing-char, isearch-process-search-char):
9583 Add optional count prefix arg. (Bug#14563)
9584
9585 * international/isearch-x.el
9586 (isearch-process-search-multibyte-characters):
9587 Add optional count prefix arg.
9588
9589 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9592 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9593 lexical-binding.
9594
9595 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9596
9597 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9598
9599 2013-06-13 Glenn Morris <rgm@gnu.org>
9600
9601 * startup.el (tty-handle-args):
9602 Don't just discard "--" and anything after. (Bug#14608)
9603
9604 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9605
9606 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9607
9608 Implement changes in Secret Service API. Make it backward compatible.
9609 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9610 (secrets-create-item): Use it. Prefix properties with interface.
9611
9612 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9613
9614 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9615 (term-emulate-terminal): Respect term-suppress-hard-newline.
9616
9617 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9618
9619 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9620 Only remove a `thumb-file' overlay. (Bug#14548)
9621
9622 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9623
9624 * mail/reporter.el (reporter-submit-bug-report):
9625 Handle missing package-name. (Bug#14600)
9626
9627 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9628
9629 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9630 (reftex-citation-prompt, reftex-default-bibliography)
9631 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9632 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9633 (reftex-bib-sort-author, reftex-bib-sort-year)
9634 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9635 (reftex-extract-bib-entries-from-thebibliography)
9636 (reftex-get-bibkey-default, reftex-get-bib-names)
9637 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9638 (reftex-format-bib-entry, reftex-parse-bibitem)
9639 (reftex-format-bibitem, reftex-do-citation)
9640 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9641 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9642 (reftex-insert-bib-matches, reftex-format-citation)
9643 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9644 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9645 existing comments into docstrings.
9646
9647 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9648
9649 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9650
9651 2013-06-12 Andreas Schwab <schwab@suse.de>
9652
9653 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9654 for auto-save files.
9655
9656 2013-06-12 Glenn Morris <rgm@gnu.org>
9657
9658 * ido.el (ido-delete-ignored-files): Remove.
9659 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9660 Go back to calling ido-ignore-item-p directly.
9661
9662 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9663
9664 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9665
9666 * ido.el (ido-delete-ignored-files): New function,
9667 split from ido-make-file-list-1.
9668 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9669 (ido-make-file-list-1): Use ido-delete-ignored-files.
9670
9671 2013-06-12 Leo Liu <sdl.web@gmail.com>
9672
9673 * progmodes/octave.el (inferior-octave-startup)
9674 (inferior-octave-completion-table)
9675 (inferior-octave-track-window-width-change)
9676 (octave-eldoc-function-signatures, octave-help)
9677 (octave-find-definition): Use single quoted strings.
9678 (inferior-octave-startup-args): Change default value.
9679 (inferior-octave-startup): Do not hard code "-i" and
9680 "--no-line-editing".
9681 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9682 (inferior-octave-directory-tracker): Use it.
9683 (octave-goto-function-definition): Robustify.
9684 (octave-help): Support highlighting operators in 'See also'.
9685 (octave-find-definition): Find subfunctions only in Octave mode.
9686
9687 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * help-fns.el (help-fns--compiler-macro): If the handler function is
9690 named, then put a link to it.
9691 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9692 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9693 (cl-typep): Use it.
9694 (cl-eval-when): Simplify debug spec.
9695 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9696 compiler-macro function instead of setting `compiler-macro-file'.
9697
9698 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9699
9700 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9701 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9702
9703 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9704 Daniel Hackney <dan@haxney.org>
9705
9706 First part of Daniel Hackney's patch to package.el.
9707 * emacs-lisp/package.el: Use defstruct.
9708 (package-desc): New, main struct.
9709 (package--bi-desc, package--ac-desc): New structs, used to describe the
9710 format in external files.
9711 (package-desc-vers): Replace with package-desc-version accessor.
9712 (package-desc-doc): Replace with package-desc-summary accessor.
9713 (package-activate-1): Remove `package' arg since the pkg-vec now
9714 includes the name.
9715 (define-package): Use package-desc-from-define.
9716 (package-unpack-single): Change file-name arg to be a symbol.
9717 (package--add-to-archive-contents): Use package-desc-create and new
9718 accessor functions to package--ac-desc.
9719 (package-buffer-info, package-tar-file-info): Return a package-desc.
9720 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9721 arg to be a package-desc.
9722 (package-install-file): Adjust accordingly. Use \' to match EOS.
9723 (package--from-builtin): New function.
9724 (describe-package-1, package-menu--generate): Use it.
9725 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9726 (package-generate-autoloads): Idem and return the name of the file.
9727 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9728 Change pkg-info arg to be a package-desc.
9729 Use package-make-ac-desc.
9730 (package-upload-file): Use \' to match EOS.
9731 * finder.el (finder-compile-keywords): Use package-make-builtin.
9732
9733 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * vc/vc.el (vc-deduce-fileset): Change error message.
9736 (vc-read-backend): New function.
9737 (vc-next-action): Use it.
9738
9739 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9740
9741 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9742 (prolog-font-lock-keywords): Use regexp-opt instead.
9743 Don't manually highlight strings.
9744 (prolog-mode-variables): Simplify comment-start-skip.
9745 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9746
9747 * emacs-lisp/generic.el (generic--normalise-comments)
9748 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9749 (generic-mode-set-comments): Use them.
9750 (generic-bracket-support): Use setq-local.
9751 (generic-make-keywords-list): Declare obsolete.
9752
9753 2013-06-11 Glenn Morris <rgm@gnu.org>
9754
9755 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9756 Prettify after setting font-lock-defaults. (Bug#14574)
9757
9758 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * replace.el (query-replace, occur-read-regexp-defaults-function)
9761 (replace-search):
9762 * subr.el (declare-function, number-sequence, local-set-key)
9763 (substitute-key-definition, locate-user-emacs-file)
9764 (with-silent-modifications, split-string, eval-after-load):
9765 Fix typos, remove unneeded backslashes and reflow some docstrings.
9766
9767 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9770 default for Elisp files.
9771
9772 2013-06-11 Glenn Morris <rgm@gnu.org>
9773
9774 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9775 although define-derived-mode was doing this anyway. (Bug#14583)
9776
9777 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9778
9779 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9780 Fix make-variable-buffer-local call to refer to the correct variable.
9781
9782 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9783
9784 * eshell/em-term.el (eshell-visual-commands)
9785 (eshell-visual-subcommands, eshell-visual-options):
9786 Add summary line to docstrings. Add cross-references.
9787
9788 2013-06-10 Glenn Morris <rgm@gnu.org>
9789
9790 * epa.el (epa-read-file-name): New function. (Bug#14510)
9791 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9792
9793 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9794
9795 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9796 output redirection to be ignored with visual commands.
9797
9798 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9799
9800 * eshell/em-term.el (eshell-visual-command-p): New function.
9801 (eshell-term-initialize): Move long lambda to separate function
9802 eshell-visual-command-p.
9803 * eshell/em-dirs.el (eshell-dirs-initialise):
9804 * eshell/em-script.el (eshell-script-initialize):
9805 Add missing #' to lambda.
9806
9807 2013-06-08 Leo Liu <sdl.web@gmail.com>
9808
9809 * progmodes/octave.el (octave-add-log-current-defun): New function.
9810 (octave-mode): Set add-log-current-defun-function.
9811 (octave-goto-function-definition): Do not move point if not found.
9812 (octave-find-definition): Enhance to try subfunctions first.
9813
9814 2013-06-08 Glenn Morris <rgm@gnu.org>
9815
9816 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9817 (byte-compile-backward-char, byte-compile-backward-word):
9818 Improve previous change, to handle non-explicit nil.
9819
9820 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9823 (smie--opener/closer-at-point): New function.
9824 (smie--matching-block-data): Use it. Don't match from right after an
9825 opener or right before a closer. Obey smie-blink-matching-inners.
9826 Don't signal a mismatch for repeated inners like "switch..case..case".
9827
9828 2013-06-07 Leo Liu <sdl.web@gmail.com>
9829
9830 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9831 to t. (Bug#14303)
9832 (octave-function-header-regexp): Fix. (Bug#14570)
9833 (octave-help-mode-finish-hook, octave-help-mode-finish):
9834 Remove. Just use temp-buffer-show-hook.
9835
9836 * newcomment.el (comment-search-backward): Revert last change.
9837 (Bug#14434)
9838
9839 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9840
9841 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9842
9843 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9844 through xargs, to avoid failure due to MS-Windows limitations on
9845 command-line length.
9846
9847 2013-06-06 Glenn Morris <rgm@gnu.org>
9848
9849 * font-lock.el (lisp-font-lock-keywords-2):
9850 Treat user-error like error.
9851
9852 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9853 (byte-compile-backward-char, byte-compile-backward-word):
9854 Handle explicit nil arguments. (Bug#14565)
9855
9856 2013-06-05 Alan Mackenzie <acm@muc.de>
9857
9858 * isearch.el (isearch-allow-prefix): New user option.
9859 (isearch-other-meta-char): Don't exit isearch when a prefix
9860 argument is typed whilst `isearch-allow-prefix' is non-nil.
9861 (Bug#9706)
9862
9863 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * autorevert.el (auto-revert-notify-handler): Use memq.
9866 Hide assertion failure.
9867
9868 * skeleton.el: Use cl-lib.
9869 (skeleton-further-elements): Use defvar-local.
9870 (skeleton-insert): Use cl-progv.
9871
9872 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9873
9874 * progmodes/prog-mode.el (prog-prettify-symbols)
9875 (prog-prettify-install): Update docstrings.
9876
9877 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * simple.el: Move all the prog-mode code to prog-mode.el.
9880 * progmodes/prog-mode.el: New file.
9881 * loadup.el: Add prog-mode.el.
9882
9883 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9884
9885 * simple.el (prog-prettify-symbols): Add version.
9886 (prog-prettify-install): Add convenience function to prettify symbols.
9887
9888 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9889 (perl--augmented-font-lock-keywords-1)
9890 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9891 variables and use it.
9892
9893 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9894 (cfengine3-mode): Remove unneeded variable and use it.
9895
9896 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9897 (lisp--augmented-font-lock-keywords-1)
9898 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9899 Remove unneeded variables and use it.
9900
9901 2013-06-05 João Távora <joaotavora@gmail.com>
9902
9903 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9904 to point when opening the connection. (Bug#14380)
9905
9906 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * subr.el (load-history-regexp, load-history-filename-element)
9909 (eval-after-load, after-load-functions, do-after-load-evaluation)
9910 (eval-next-after-load, display-delayed-warnings)
9911 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9912 definition of save-match-data.
9913 (overriding-local-map): Remove accidental obsolescence declaration.
9914
9915 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9916
9917 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9918
9919 Generalize symbol prettify support to prog-mode and implement it
9920 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9921 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9922 (prog--prettify-font-lock-compose-symbol)
9923 (prog-prettify-font-lock-symbols-keywords): New variables and
9924 functions to support symbol prettification.
9925 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9926 (lisp--augmented-font-lock-keywords-1)
9927 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9928 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9929 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9930 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9931 Implement prettify of -> => :: strings.
9932 * progmodes/perl-mode.el (perl-prettify-symbols)
9933 (perl--font-lock-compose-symbol)
9934 (perl--font-lock-symbols-keywords): Move to prog-mode.
9935 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9936 (perl-font-lock-keywords-1)
9937 (perl-font-lock-keywords-2): Remove explicit prettify support.
9938 (perl--augmented-font-lock-keywords)
9939 (perl--augmented-font-lock-keywords-1)
9940 (perl--augmented-font-lock-keywords-2, perl-mode):
9941 Implement prettify support.
9942
9943 2013-06-05 Leo Liu <sdl.web@gmail.com>
9944
9945 Re-implement smie matching block highlight using
9946 show-paren-data-function. (Bug#14395)
9947 * emacs-lisp/smie.el (smie-matching-block-highlight)
9948 (smie--highlight-matching-block-overlay)
9949 (smie--highlight-matching-block-lastpos)
9950 (smie-highlight-matching-block)
9951 (smie-highlight-matching-block-mode): Remove.
9952 (smie--matching-block-data-cache): New variable.
9953 (smie--matching-block-data): New function.
9954 (smie-setup): Use smie--matching-block-data for
9955 show-paren-data-function.
9956
9957 * progmodes/octave.el (octave-mode-menu): Fix.
9958 (octave-find-definition): Skip garbage lines.
9959
9960 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 Fix compilation error with simultaneous dynamic+lexical scoping.
9963 Add warning when a defvar appears after the first let-binding.
9964 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9965 (byte-compile-close-variables): Initialize it.
9966 (byte-compile--declare-var): New function.
9967 (byte-compile-file-form-defvar)
9968 (byte-compile-file-form-define-abbrev-table)
9969 (byte-compile-file-form-custom-declare-variable): Use it.
9970 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9971 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9972 (byte-compile-bind): Handle dynamic bindings that shadow
9973 lexical bindings.
9974 (byte-compile-unbind): Make arg non-optional.
9975 (byte-compile-let): Simplify.
9976 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9977 (cconv--analyse-function, cconv-analyse-form): Populate it.
9978 Protect byte-compile-bound-variables to limit the scope of defvars.
9979 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9980 Remove unneeded rule for `declare'.
9981
9982 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9983 so as to avoid depending on cl-adjoin at run-time.
9984 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9985
9986 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9987 (macroexp--warn-and-return): Use it.
9988
9989 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 * subr.el: Convert to lexical binding.
9992 (overriding-local-map): Make obsolete.
9993 (add-to-list): Doc fix. Add compiler macro.
9994 (read-key): Swap values of local maps.
9995
9996 2013-06-05 Leo Liu <sdl.web@gmail.com>
9997
9998 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9999
10000 2013-06-04 Leo Liu <sdl.web@gmail.com>
10001
10002 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10003 (compilation-auto-jump): Suppress the "Mark set" message to give
10004 way to exit message.
10005
10006 2013-06-04 Alan Mackenzie <acm@muc.de>
10007
10008 Remove faulty optimisation from indentation calculation.
10009 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10010 search limit based on 2000 characters back from indent-point.
10011
10012 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10013
10014 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10015
10016 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * emacs-lisp/lisp.el: Use lexical-binding.
10019 (lisp--local-variables-1, lisp--local-variables): New functions.
10020 (lisp--local-variables-completion-table): New var.
10021 (lisp-completion-at-point): Use it complete let-bound vars.
10022
10023 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10024 eagerly (bug#14422).
10025
10026 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10027
10028 * autorevert.el (auto-revert-notify-enabled)
10029 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10030 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10031 (auto-revert-notify-handler): Handle also gfilenotify.
10032
10033 * subr.el (file-notify-handle-event): New defun. Replacing ...
10034 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10035 Remove.
10036
10037 2013-06-03 Juri Linkov <juri@jurta.org>
10038
10039 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10040 `M-s h .'. (Bug#14427)
10041
10042 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10043 command `hi-lock-face-symbol-at-point'.
10044 (hi-lock-face-symbol-at-point): New command.
10045 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10046 (hi-lock-menu): Add `highlight-symbol-at-point'.
10047 (hi-lock-mode): Doc fix.
10048
10049 * isearch.el (isearch-forward-symbol-at-point): New command.
10050 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10051 (isearch-highlight-regexp): Add a regexp which matches
10052 words/symbols for word/symbol mode.
10053
10054 * subr.el (find-tag-default-bounds): New function with the body
10055 mostly moved from `find-tag-default'.
10056 (find-tag-default): Move most code to `find-tag-default-bounds',
10057 call it and apply `buffer-substring-no-properties' afterwards.
10058
10059 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10060
10061 * eshell/em-term.el (eshell-term-initialize):
10062 Use `cl-intersection' rather than `intersection'.
10063
10064 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10065
10066 * vc/log-view.el: Doc fix.
10067 (log-view-mode-map): Copy keymap from `special-mode-map'.
10068
10069 2013-06-02 Eric Ludlam <zappo@gnu.org>
10070
10071 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10072 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10073 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10074 (eieio-unbound, eieio-default-superclass)
10075 (eieio--define-field-accessors, method-static, method-before)
10076 (method-primary, method-after, method-num-lists)
10077 (method-generic-before, method-generic-primary)
10078 (method-generic-after, method-num-slots)
10079 (eieio-specialized-key-to-generic-key)
10080 (eieio--check-type, class-v, class-p)
10081 (eieio-class-name, define-obsolete-function-alias)
10082 (eieio-class-parents-fast, eieio-class-children-fast)
10083 (same-class-fast-p, class-constructor, generic-p)
10084 (generic-primary-only-p, generic-primary-only-one-p)
10085 (class-option-assoc, class-option, eieio-object-p)
10086 (class-abstract-p, class-method-invocation-order)
10087 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10088 (eieio-class-un-autoload, eieio-defclass)
10089 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10090 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10091 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10092 (eieio-defgeneric-reset-generic-form)
10093 (eieio-defgeneric-form-primary-only)
10094 (eieio-defgeneric-reset-generic-form-primary-only)
10095 (eieio-defgeneric-form-primary-only-one)
10096 (eieio-defgeneric-reset-generic-form-primary-only-one)
10097 (eieio-unbind-method-implementations)
10098 (eieio--defmethod, eieio--typep)
10099 (eieio-perform-slot-validation, eieio-validate-slot-value)
10100 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10101 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10102 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10103 (eieio-slot-name-index, eieio-class-slot-name-index)
10104 (eieio-set-defaults, eieio-initarg-to-attribute)
10105 (eieio-attribute-to-initarg, eieio-c3-candidate)
10106 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10107 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10108 (eieio-class-precedence-list, eieio-generic-call-methodname)
10109 (eieio-generic-call-arglst, eieio-generic-call-key)
10110 (eieio-generic-call-next-method-list)
10111 (eieio-pre-method-execution-functions, eieio-generic-call)
10112 (eieio-generic-call-primary-only, eieiomt-method-list)
10113 (eieiomt-optimizing-obarray, eieiomt-install)
10114 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10115 (eieio-generic-form, eieio-defmethod, make-obsolete)
10116 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10117 (defclass): Remove `eval-and-compile' from macro.
10118 (call-next-method, shared-initialize): Instead of using
10119 `scoped-class' variable, use new eieio--scoped-class, and
10120 eieio--with-scoped-class.
10121 (initialize-instance): Rename local variable 'scoped-class' to
10122 'this-class' to remove ambiguitity from old global.
10123
10124 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10125 eieio.el.
10126 (eieio--scoped-class-stack): New variable.
10127 (eieio--scoped-class): New fcn.
10128 (eieio--with-scoped-class): New scoping macro.
10129 (eieio-defclass): Use pushnew instead of add-to-list.
10130 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10131 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10132 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10133 `scoped-class' variable, use new eieio--scoped-class, and
10134 eieio--with-scoped-class.
10135
10136 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10137
10138 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10139
10140 * eshell/esh-ext.el (eshell-external-command): Pass args to
10141 `eshell-find-interpreter'.
10142 (eshell-find-interpreter): Add new second parameter ARGS.
10143
10144 * eshell/em-script.el (eshell-script-initialize): Add second arg
10145 to the function added as MATCH to `eshell-interpreter-alist'.
10146
10147 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10148 the function added as MATCH to `eshell-interpreter-alist'.
10149
10150 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10151 (eshell-visual-options): New defcustom.
10152 (eshell-escape-control-x): Adapt docstring.
10153 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10154 `eshell-visual-options' in addition to `eshell-visual-commands'.
10155 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10156
10157 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10158
10159 * progmodes/python.el (python-indent-block-enders): Add break,
10160 continue and raise keywords.
10161
10162 2013-06-01 Glenn Morris <rgm@gnu.org>
10163
10164 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10165
10166 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10167 * progmodes/cc-cmds.el (delete-forward-p):
10168 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10169 * progmodes/cc-engine.el (buffer-syntactic-context):
10170 * progmodes/cc-fonts.el (face-property-instance):
10171 * progmodes/cc-mode.el (set-keymap-parents):
10172 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10173 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10174 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10175 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10176 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10177
10178 * progmodes/cc-vars.el (other): Emacs has this widget since
10179 at least 21.1, so don't (re)define it.
10180
10181 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10182 Replace the obsolete alias pcomplete-arg-quote-list.
10183
10184 2013-06-01 Leo Liu <sdl.web@gmail.com>
10185
10186 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10187 punctuation syntax.
10188 (inferior-octave-minimal-columns)
10189 (inferior-octave-last-column-width): New variables.
10190 (inferior-octave-track-window-width-change): New function.
10191 (inferior-octave-mode): Adjust column width so that Octave output,
10192 for example from 'ls', can fit into the window nicely.
10193
10194 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10195
10196 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10197 Highlight expansions inside regexp literals.
10198
10199 2013-05-31 Glenn Morris <rgm@gnu.org>
10200
10201 * obsolete/sym-comp.el (symbol-complete):
10202 Replace obsolete completion-annotate-function.
10203
10204 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10205
10206 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10207
10208 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10209 New function, checks if point is inside a literal that allows
10210 expression expansion.
10211 (ruby-syntax-propertize-expansion): Use it.
10212 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10213 around the body.
10214
10215 2013-05-30 Juri Linkov <juri@jurta.org>
10216
10217 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10218 to "\M-si".
10219 (isearch-invisible): New variable.
10220 (isearch-forward): Doc fix.
10221 (isearch-mode): Set `isearch-invisible'
10222 to the value of `search-invisible'.
10223 (isearch-toggle-case-fold): Doc fix.
10224 (isearch-toggle-invisible): New command.
10225 (isearch-query-replace): Let-bind `search-invisible'
10226 to the value of `isearch-invisible'.
10227 (isearch-search): Use `isearch-invisible' instead of
10228 `search-invisible'. Let-bind `search-invisible'
10229 to the value of `isearch-invisible'. (Bug#11378)
10230
10231 2013-05-30 Juri Linkov <juri@jurta.org>
10232
10233 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10234 call when `query-flag' is nil and `search-invisible' is non-nil.
10235 (Bug#11746)
10236
10237 2013-05-30 Glenn Morris <rgm@gnu.org>
10238
10239 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10240
10241 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10242 (cc-require): Suppress spurious "noruntime" warnings.
10243 (cc-require-when-compile): Use fboundp, for sake of compiler.
10244
10245 * progmodes/cc-mode.el: Move load of cc-vars before that of
10246 cc-langs (which in turn loads cc-vars), to quieten compiler.
10247
10248 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * paren.el: Simplify the code.
10251 (show-paren-mode): Always start the timer.
10252 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10253 (show-paren--overlay, show-paren--overlay-1): Rename from
10254 show-paren-overlay and show-paren-overlay-1, and initialize to an
10255 overlay rather than to nil.
10256 (show-paren-function): Misc cleanup and simplifications.
10257
10258 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * paren.el (show-paren-data-function): New hook.
10261 (show-paren--default): New function, extracted from show-paren-function.
10262 (show-paren-function): Use show-paren-data-function.
10263
10264 2013-05-30 Glenn Morris <rgm@gnu.org>
10265
10266 * ielm.el (ielm-map, ielm-complete-symbol):
10267 Use completion-at-point rather than obsolete functions.
10268 (inferior-emacs-lisp-mode): Doc fix.
10269 Set completion-at-point-functions, rather than
10270 comint-dynamic-complete-functions.
10271
10272 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10273 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10274 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10275
10276 * image.el (image-animated-p): Tweak definition.
10277
10278 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10279 (rlogin-process-connection-type): Tweak default. Add set-after.
10280 (rlogin-host): Doc fix.
10281 (rlogin): Tweak prompt.
10282 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10283
10284 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10285 * progmodes/tcl.el (inferior-tcl-mode-map):
10286 Use completion-at-point rather than obsolete alias.
10287
10288 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10289
10290 * minibuffer.el (read-file-name-completion-ignore-case):
10291 Move before completion--in-region, for eager macro expansion.
10292
10293 2013-05-29 Juri Linkov <juri@jurta.org>
10294
10295 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10296 for total count of matching lines. Add `global-matches' for total
10297 count of matches. Rename `matches' to `lines' for count of
10298 matching lines. Add `matches' for count of matches.
10299 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10300 to `prev-line' for line number of prev match endpt.
10301 Increment `matches' for every match. Print the number of
10302 matching lines in the header.
10303 (occur-context-lines): Rename `lines' to `curr-line'.
10304 Rename `prev-lines' to `prev-line'. (Bug#14017)
10305
10306 2013-05-29 Juri Linkov <juri@jurta.org>
10307
10308 * replace.el (perform-replace): Add `skip-read-only-count',
10309 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10310 Increment them for corresponding conditions and report the number
10311 of skipped occurrences in the final message. (Bug#11746)
10312 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10313 (replace-string, replace-regexp): Doc fix.
10314
10315 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10318
10319 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10320 prog-mode-map (bug#14504).
10321
10322 2013-05-29 Leo Liu <sdl.web@gmail.com>
10323
10324 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10325 (octave-help): Small simplification.
10326
10327 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10328 off the highlight first.
10329
10330 2013-05-29 Glenn Morris <rgm@gnu.org>
10331
10332 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10333 Handle idlwave-last-system-routine-info-cons-cell being nil.
10334
10335 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10336 (idlwave-write-paths): Simplify via with-temp-buffer.
10337
10338 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10339 * emulation/cua-rect.el: Also load cua-base at run time.
10340
10341 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10342 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10343 (cperl-imenu-on-info): Require imenu.
10344
10345 2013-05-28 Alan Mackenzie <acm@muc.de>
10346
10347 Handle "capitalised keywords" correctly.
10348 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10349
10350 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10351
10352 * eshell/em-unix.el: Add -r option to cp.
10353
10354 2013-05-28 Glenn Morris <rgm@gnu.org>
10355
10356 * vc/vc-arch.el (vc-exec-after): Declare.
10357 (vc-switches): Autoload.
10358 * vc/vc-bzr.el: No need to require vc when compiling.
10359 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10360 (vc-resynch-buffer, vc-dir-refresh): Declare.
10361 (vc-setup-buffer, vc-switches): Autoload.
10362 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10363 (vc-resynch-buffer): Declare.
10364 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10365 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10366 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10367 (grep-read-regexp, grep-read-files, grep-expand-template)
10368 (vc-dir-refresh): Declare.
10369 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10370 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10371 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10372 * vc/vc-mtn.el (vc-exec-after): Declare.
10373 (vc-switches): Autoload.
10374 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10375 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10376 (vc-file-tree-walk): Declare.
10377 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10378 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10379 (vc-tag-precondition, vc-rename-master): Autoload.
10380 * vc/vc-svn.el (vc-exec-after): Declare.
10381 (vc-switches, vc-setup-buffer): Autoload.
10382 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10383 Autoload.
10384 (vc-resynch-buffer): Declare.
10385
10386 * obsolete/fast-lock.el (byte-compile-warnings):
10387 Don't warn about obsolete features in this obsolete file.
10388
10389 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10390 Move definition before use.
10391
10392 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10393 (dun-unix-verbs): Remove dun-zippy.
10394 (dun-zippy): Remove function.
10395
10396 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10397
10398 2013-05-27 Juri Linkov <juri@jurta.org>
10399
10400 * replace.el (replace-search): New function with code moved out
10401 from `perform-replace'.
10402 (replace-highlight, replace-dehighlight): Move function definitions
10403 up closer to `replace-search'. (Bug#11746)
10404
10405 2013-05-27 Juri Linkov <juri@jurta.org>
10406
10407 * replace.el (perform-replace): Ignore invisible matches.
10408 In addition to checking `query-replace-skip-read-only', also
10409 filter out matches by calling `run-hook-with-args-until-failure'
10410 on `isearch-filter-predicates', and also check `search-invisible'
10411 for t or call `isearch-range-invisible'.
10412 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10413
10414 2013-05-27 Juri Linkov <juri@jurta.org>
10415
10416 * isearch.el (isearch-filter-predicates): Rename from
10417 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10418 (isearch-message-prefix): Display text from the property
10419 `isearch-message-prefix' of the currently active filters.
10420 (isearch-search): Don't compare `isearch-filter-predicate' with
10421 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10422 on `isearch-filter-predicates'. Also check `search-invisible' for t
10423 or call `isearch-range-invisible'.
10424 (isearch-filter-visible): Make obsolete.
10425 (isearch-lazy-highlight-search):
10426 Call `run-hook-with-args-until-failure' on
10427 `isearch-filter-predicates' and use `isearch-range-invisible'.
10428
10429 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10430 `isearch-filter-predicates' instead of `funcall'ing
10431 `isearch-filter-predicate'.
10432 (Info-mode): Set `Info-isearch-filter' to
10433 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10434
10435 * dired-aux.el (dired-isearch-filter-predicate-orig):
10436 Remove variable.
10437 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10438 (dired-isearch-filenames-end): Add and remove
10439 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10440 instead of changing the value of `isearch-filter-predicate'.
10441 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10442 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10443 Put property `isearch-message-prefix' to "filename " on
10444 `dired-isearch-filter-filenames'.
10445
10446 * wdired.el (wdired-change-to-wdired-mode):
10447 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10448 locally instead of changing `isearch-filter-predicate'.
10449 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10450
10451 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10452
10453 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10454 return the commit hash (Bug#14459). Also set the
10455 `vc-git-detached' property.
10456 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10457 (vc-git-mode-line-string): Use the same help-echo format whether
10458 in detached mode or not, because we know the actual revision now.
10459 When in detached mode, shorten the revision to 7 chars.
10460
10461 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10462
10463 * emacs-lisp/easy-mmode.el (define-minor-mode):
10464 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10465 mode hook and provide a docstring.
10466
10467 2013-05-27 Alan Mackenzie <acm@muc.de>
10468
10469 Remove spurious syntax-table text properties inserted by C-y.
10470 * progmodes/cc-mode.el (c-after-change): Also clear hard
10471 syntax-table property with value nil.
10472
10473 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10474
10475 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10476 when reading the events; the buffer layout shall not be changed.
10477
10478 2013-05-27 Leo Liu <sdl.web@gmail.com>
10479
10480 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10481 New variable.
10482 (inferior-octave-directory-tracker): Automatically re-sync
10483 default-directory.
10484 (octave-help): Improve handling of 'See also'.
10485
10486 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * doc-view.el: Minor naming convention tweaks.
10489 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10490
10491 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10492 even if there's no `display' property yet (bug#14435).
10493
10494 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10495
10496 * subr.el (unmsys--file-name): Rename from reveal-filename.
10497
10498 * Makefile.in (custom-deps, finder-data, autoloads)
10499 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10500 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10501 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10502
10503 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10506 error-completion on the first 2 args of condition-case (bug#14446).
10507 Don't burp at EOB.
10508
10509 2013-05-25 Leo Liu <sdl.web@gmail.com>
10510
10511 * comint.el (comint-previous-matching-input): Do not flood the
10512 *Messages* buffer with trivial messages.
10513
10514 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * progmodes/flymake.el (flymake-nop): Don't return a string.
10517 (flymake-set-at): Fix typo.
10518
10519 * simple.el (read--expression): New function, extracted from
10520 eval-expression. Set completion-at-point-functions (bug#14465).
10521 (eval-expression, eval-minibuffer): Use it.
10522
10523 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10524
10525 * progmodes/flymake.el (flymake-save-buffer-in-file)
10526 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10527 (flymake-selected-frame, flymake-log, flymake-ins-after)
10528 (flymake-set-at, flymake-get-buildfile-from-cache)
10529 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10530 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10531 Refine the doc string.
10532 (flymake-get-file-name-mode-and-masks): Reformat.
10533 (flymake-get-real-file-name-function): Fix a minor bug.
10534
10535 2013-05-24 Juri Linkov <juri@jurta.org>
10536
10537 * progmodes/grep.el (grep-mode-font-lock-keywords):
10538 Support =linenumber= format used by git-grep for lines with
10539 function names. (Bug#13549)
10540
10541 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10542
10543 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10544 0 after a semi-colon; it works better for smie-auto-fill.
10545 (octave--indent-new-comment-line): New function.
10546 (octave-indent-new-comment-line): Use it (indirectly).
10547 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10548 modify comment-line-break-function.
10549
10550 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10551 (smie-setup): Use add-function to set it.
10552
10553 2013-05-24 Sam Steingold <sds@gnu.org>
10554
10555 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10556 argument (before the `interactive' argument).
10557
10558 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10559
10560 * image-mode.el (image-mode-winprops): Add winprops to
10561 image-mode-winprops-alist before running
10562 image-mode-new-window-functions.
10563 * doc-view.el (doc-view-new-window-function): Don't delay
10564 doc-view-goto-page via timers (bug#14435).
10565
10566 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10567
10568 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10569 (doc-view-desktop-save-buffer): New function.
10570 (doc-view-restore-desktop-buffer): New function.
10571 (desktop-buffer-mode-handlers):
10572 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10573 handler.
10574 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10575 `desktop-save-buffer' function.
10576
10577 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10578
10579 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10580 (tramp-gvfs-file-name-handler): Raise a user error when
10581 `tramp-gvfs-enabled' is nil.
10582 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10583 Do not raise a user error when loading package. (Bug#14447)
10584
10585 * net/xesam.el: Move to obsolete/.
10586
10587 2013-05-24 Glenn Morris <rgm@gnu.org>
10588
10589 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10590
10591 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10592
10593 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10594 (Info-find-node, Man-getpage-in-background): Declare.
10595
10596 * mail/unrmail.el (unrmail):
10597 Replace obsolete detect-coding-with-priority.
10598
10599 * net/socks.el (socks-split-string): Use this rather than split-string.
10600 (socks-nslookup-host): Update for above change.
10601 (dynamic-choice, s5-dynamic-choice-match)
10602 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10603 Comment out unused code.
10604
10605 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10606 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10607 (gud-tooltip-echo-area): Make obsolete.
10608 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10609
10610 * progmodes/js.el (js--optimize-arglist): Declare.
10611
10612 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10613
10614 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10615 (ediff-window-C): Declare.
10616
10617 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10618 Tweak requires to silence compiler.
10619
10620 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10621 (he-search-string, he-tried-table, he-expand-list)
10622 (he-init-string, he-string-member, he-substitute-string)
10623 (he-reset-string): Declare.
10624
10625 * obsolete/options.el (list-options): Use custom-variable-p,
10626 rather than obsolete alias.
10627
10628 2013-05-23 Sam Steingold <sds@gnu.org>
10629
10630 * simple.el (shell-command-on-region): Pass the `replace' argument
10631 down to `call-process-region' to comply with the doc as reported on
10632 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10633
10634 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * emacs-lisp/smie.el (smie-indent-forward-token)
10637 (smie-indent-backward-token): Handle string tokens (bug#14381).
10638
10639 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10640
10641 * ielm.el (ielm-menu): New menu.
10642 (inferior-emacs-lisp-mode): Set comment-start.
10643
10644 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10645
10646 * textmodes/reftex.el (reftex-ref-style-toggle):
10647 Fix deactivate action.
10648
10649 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10650 Add cleveref macros.
10651
10652 * textmodes/reftex-parse.el
10653 (reftex-locate-bibliography-files): Accept options for
10654 bibliography commands.
10655 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10656 Add addbibresource. Basic Biblatex support.
10657
10658 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10659
10660 * net/tramp-gvfs.el (top):
10661 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10662 when loading package. (Bug#14447)
10663
10664 2013-05-23 Glenn Morris <rgm@gnu.org>
10665
10666 * progmodes/js.el: No need to load comint when compiling.
10667 (ring-insert, comint-send-string, comint-send-input)
10668 (comint-last-input-end, ido-chop): Declare.
10669
10670 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10671 * vc/ediff-mult.el: Adjust requires.
10672 (ediff-directories-internal, ediff-directory-revisions-internal)
10673 (ediff-patch-file-internal): Declare.
10674 * vc/ediff-ptch.el: Adjust requires.
10675 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10676 (ediff-find-file): Autoload.
10677 * vc/ediff-util.el: No need to load ediff when compiling.
10678 (ediff-regions-internal): Declare.
10679 * vc/ediff-wind.el: Adjust requires.
10680 (ediff-compute-toolbar-width): Define when compiling.
10681 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10682 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10683 (dired-get-filename, dired-get-marked-files)
10684 (ediff-last-dir-patch, ediff-patch-default-directory)
10685 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10686 (ediff-patch-buffer-internal): Declare.
10687
10688 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10689 (ispell-process, ispell-buffer-local-words, lm-summary)
10690 (lm-section-start, lm-section-end): Declare.
10691 (checkdoc-ispell-init): Simplify.
10692
10693 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10694 (he-string-member, he-reset-string, he-substitute-string): Declare.
10695
10696 * eshell/em-ls.el: Adjust requires.
10697 (eshell-glob-regexp): Declare.
10698 * eshell/em-tramp.el: Adjust requires.
10699 (eshell-parse-command): Autoload.
10700 * eshell/em-xtra.el: Adjust requires.
10701 (eshell-parse-command): Autoload.
10702 * eshell/esh-ext.el: Adjust requires.
10703 (eshell-parse-command, eshell-close-handles): Autoload.
10704 * eshell/esh-io.el: Adjust requires.
10705 (eshell-output-filter): Autoload.
10706 * eshell/esh-util.el: No need to load tramp when compiling.
10707 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10708 Declare.
10709 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10710 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10711 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10712 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10713 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10714 * eshell/esh-opt.el, eshell/esh-proc.el:
10715 * eshell/esh-var.el: Adjust requires.
10716 * eshell/eshell.el: Do not require esh-util twice.
10717 (eshell-add-input-to-history): Declare.
10718 (eshell-command): Check history module is active before using it.
10719
10720 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10721
10722 2013-05-22 Leo Liu <sdl.web@gmail.com>
10723
10724 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10725
10726 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10727
10728 * autorevert.el (auto-revert-notify-add-watch)
10729 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10730 it indicates changes in file modification time.
10731
10732 2013-05-22 Glenn Morris <rgm@gnu.org>
10733
10734 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10735 Always delete the autoloaded function from the noruntime and
10736 unresolved functions lists.
10737
10738 * allout.el: No need to load epa, epg, overlay when compiling.
10739 (epg-context-set-passphrase-callback, epg-list-keys)
10740 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10741 (epg-key-user-id-list): Declare.
10742
10743 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10744 (viper-set-parsing-style-toggling-macro)
10745 (viper-set-emacs-state-searchstyle-macros):
10746 Use called-interactively-p on Emacs.
10747 (viper-looking-back): Make it an obsolete alias. Update callers.
10748 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10749 Use looking-back rather than viper-looking-back.
10750 (viper-tmp-insert-at-eob, viper-enlarge-region)
10751 (viper-read-string-with-history, viper-register-to-point)
10752 (viper-append-to-register, viper-change-state-to-vi)
10753 (viper-backward-char-carefully, viper-forward-char-carefully)
10754 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10755 (viper-change-state-to-emacs): Declare.
10756 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10757 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10758 * emulation/viper-mous.el: Do not load viper-cmd.
10759 (viper-backward-char-carefully, viper-forward-char-carefully)
10760 (viper-forward-word, viper-adjust-window): Declare.
10761
10762 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10763
10764 * progmodes/idlw-help.el (idlwave-help-fontify):
10765 Use called-interactively-p.
10766
10767 * term/w32console.el (w32-get-console-codepage)
10768 (w32-get-console-output-codepage): Declare.
10769
10770 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10771 Remove unnecessary declarations.
10772 (dframe-message): Doc fix.
10773
10774 * info.el (dframe-select-attached-frame, dframe-current-frame):
10775 Declare.
10776
10777 * speedbar.el (speedbar-message): Make it an obsolete alias.
10778 Update all callers.
10779 (speedbar-with-attached-buffer)
10780 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10781 (speedbar-with-writable): Use backquote.
10782 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10783 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10784 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10785 rather than speedbar- aliases.
10786 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10787 (speedbar-make-specialized-keymap, speedbar-insert-button)
10788 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10789 (speedbar-do-function-pointer): Declare.
10790 (rmail-speedbar-button, rmail-speedbar-find-file)
10791 (rmail-speedbar-move-message):
10792 Use dframe-with-attached-buffer rather than speedbar- alias.
10793 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10794 (dframe-message, speedbar-make-specialized-keymap)
10795 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10796 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10797 (speedbar-insert-button, dframe-select-attached-frame)
10798 (dframe-maybee-jump-to-attached-frame)
10799 (speedbar-change-initial-expansion-list)
10800 (speedbar-previously-used-expansion-list-name): Declare.
10801 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10802 Use dframe-message, dframe-with-attached-buffer rather than
10803 speedbar- aliases.
10804 (gud-sentinel): Silence compiler.
10805 * progmodes/vhdl-mode.el (speedbar-refresh)
10806 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10807 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10808 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10809 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10810 (speedbar-file-lists, speedbar-make-tag-line)
10811 (speedbar-line-directory, speedbar-goto-this-file)
10812 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10813 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10814 (speedbar-make-button, speedbar-reset-scanners)
10815 (speedbar-files-item-info, speedbar-line-text)
10816 (speedbar-find-file-in-frame, speedbar-set-timer)
10817 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10818 (speedbar-with-writable): Do not (re)define it.
10819 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10820 rather than speedbar- alias.
10821
10822 2013-05-21 Leo Liu <sdl.web@gmail.com>
10823
10824 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10825 menu items.
10826 (octave-mode): Tweak fill-nobreak-predicate.
10827 (inferior-octave-startup): Check process to avoid infinite loop.
10828 (inferior-octave): Pop to buffer first to show abornmal process
10829 exit information.
10830
10831 2013-05-21 Glenn Morris <rgm@gnu.org>
10832
10833 * printing.el (pr-menu-bar): Define when compiling.
10834
10835 2013-05-21 Leo Liu <sdl.web@gmail.com>
10836
10837 * progmodes/octave.el (octave-auto-fill): Remove.
10838 (octave-indent-new-comment-line): Improve.
10839 (octave-mode): Use auto fill mode through
10840 comment-line-break-function and fill-nobreak-predicate.
10841 (octave-goto-function-definition): Support DEFUN_DLD.
10842 (octave-beginning-of-defun): Small tweak.
10843 (octave-help): Show parent directory.
10844
10845 2013-05-21 Glenn Morris <rgm@gnu.org>
10846
10847 * files.el (dired-unmark):
10848 * progmodes/gud.el (gdb-input): Update declarations.
10849
10850 * calculator.el (electric, ehelp): No need to load when compiling.
10851 (Electric-command-loop, electric-describe-mode): Declare.
10852
10853 * doc-view.el (doc-view-current-converter-processes): Move before use.
10854
10855 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10856 Move MODE-set-explicitly definition before use.
10857
10858 * international/mule-diag.el (mule-diag):
10859 Don't use obsolete window-system-version.
10860
10861 * mail/feedmail.el (smtpmail): No need to load when compiling.
10862 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10863
10864 * mail/mail-utils.el (rfc822): No need to load when compiling.
10865 (rfc822-addresses): Autoload it.
10866 (mail-strip-quoted-names): Trivial simplification.
10867
10868 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10869 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10870
10871 * net/snmp-mode.el (tempo): Don't duplicate requires.
10872
10873 * progmodes/prolog.el (info): No need to load when compiling.
10874 (comint): Require before shell requires it.
10875 (Info-goto-node): Autoload it.
10876 (Info-follow-nearest-node): Declare.
10877 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10878
10879 * textmodes/artist.el (picture-mode-exit): Declare.
10880
10881 * textmodes/reftex-parse.el (reftex-parse-from-file):
10882 Trivial rewrite so the compiler can parse it better.
10883
10884 2013-05-20 Leo Liu <sdl.web@gmail.com>
10885
10886 * progmodes/octave.el (octave-help-mode-map)
10887 (octave-help-mode-finish-hook): New variables.
10888 (octave-help-mode, octave-help-mode-finish): New functions.
10889 (octave-help): Use octave-help-mode.
10890
10891 2013-05-20 Glenn Morris <rgm@gnu.org>
10892
10893 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10894
10895 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10896
10897 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10898 start at point, so that expansion starting right after opening
10899 slash in a regexp is recognized.
10900 (ruby-syntax-before-regexp-re): New defvar, extracted from
10901 ruby-syntax-propertize-function. Since the value of this regexp
10902 is looked up at runtime now, we should be able to turn
10903 `ruby-syntax-methods-before-regexp' into a defcustom later.
10904 (ruby-syntax-propertize-function): Split regexp matching into two
10905 parts, for opening and closing slashes. That allows us to skip
10906 over string interpolations and support multiline regexps.
10907 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10908 for them, which calls `ruby-syntax-propertize-expansion'.
10909 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10910 call to `ruby-syntax-propertize-function'.
10911 (ruby-syntax-propertize-expansion): Extracted from
10912 `ruby-syntax-propertize-expansions'. Handles one expansion.
10913 (ruby-syntax-propertize-percent-literal): Leave point right after
10914 the percent symbol, so that the expression expansion rule can
10915 propertize the contents.
10916 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10917 heredoc openers.
10918 (ruby-syntax-propertize-expansions): Remove.
10919
10920 2013-05-18 Juri Linkov <juri@jurta.org>
10921
10922 * man.el (Man-default-man-entry): Remove `-' from the end
10923 of the default value. (Bug#14400)
10924
10925 2013-05-18 Glenn Morris <rgm@gnu.org>
10926
10927 * comint.el (comint-password-prompt-regexp):
10928 Allow "password for XXX" where XXX contains colons (eg https://...).
10929
10930 2013-05-18 Leo Liu <sdl.web@gmail.com>
10931
10932 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10933 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10934 (octave-source-directories): Don't check process.
10935 (octave-source-directories, octave-find-definition): Doc fix.
10936
10937 2013-05-18 Glenn Morris <rgm@gnu.org>
10938
10939 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10940 Remove backspace/delete bindings. (Bug#14392)
10941
10942 * cus-dep.el (custom-make-dependencies): Sort the output.
10943 (custom-versions-load-alist): Convert comment to doc.
10944
10945 2013-05-17 Leo Liu <sdl.web@gmail.com>
10946
10947 * newcomment.el (comment-search-backward): Stricter in finding
10948 comment start. (Bug#14303)
10949
10950 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10951 (octave-comment-start-skip): Properly anchored.
10952
10953 2013-05-17 Leo Liu <sdl.web@gmail.com>
10954
10955 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10956 Clean up when turned off. (Bug#14395)
10957 (smie--highlight-matching-block-overlay): No longer buffer-local.
10958 (smie-highlight-matching-block): Adjust.
10959
10960 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10961
10962 Doc string fix for "nanoseconds" (Bug#14406).
10963 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10964 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10965
10966 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10967
10968 * calc/calc-units.el (math-extract-units): Preserve powers
10969 of units.
10970
10971 2013-05-17 Leo Liu <sdl.web@gmail.com>
10972
10973 * subr.el (delete-consecutive-dups): New function.
10974 * ido.el (ido-set-matches-1): Use it.
10975 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10976 * ido.el (ido-remove-consecutive-dups): Remove.
10977
10978 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10981 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10982 regexp-opt's `words'.
10983
10984 2013-05-16 Leo Liu <sdl.web@gmail.com>
10985
10986 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10987 (smie--highlight-matching-block-overlay)
10988 (smie--highlight-matching-block-lastpos)
10989 (smie--highlight-matching-block-timer): New variables.
10990 (smie-highlight-matching-block): New function.
10991 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10992 (smie-setup): Conditionally enable smie-blink-matching-open.
10993
10994 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10995
10996 Sync with upstream verilog-mode r840.
10997 * progmodes/verilog-mode.el (verilog-mode-version)
10998 (verilog-mode-release-date): Update.
10999 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11000 (verilog-sig-tieoff): Fix string error on
11001 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11002 (verilog-read-decls): Fix parameters confusing
11003 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11004
11005 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11006
11007 * subr.el (reveal-filename): New function.
11008
11009 * loadup.el: Compute Emacs executable versions on MS-Windows,
11010 where executables have the .exe extension. Add a hard link
11011 emacs-XX.YY.ZZ.exe on MS-Windows.
11012
11013 * Makefile.in (XARGS_LIMIT): New variable.
11014 (custom-deps, finder-data, autoloads)
11015 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11016 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11017 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11018 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11019
11020 2013-05-16 Leo Liu <sdl.web@gmail.com>
11021
11022 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11023 (octave-mode-menu, octave-mode-map): Remove its uses.
11024
11025 2013-05-16 Reto Zimmermann <reto@gnu.org>
11026
11027 Sync with upstream vhdl mode v3.34.2.
11028 * progmodes/vhdl-mode.el: Use `push' throughout.
11029 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11030 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11031 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11032 (vhdl-actual-generic-name): New option to derive actual generic name.
11033 (vhdl-port-paste-signals): Replace formal by actual generics.
11034 (vhdl-beautify): New name for old group vhdl-align. Update users.
11035 (vhdl-beautify-options): New option.
11036 (vhdl-last-input-event): New compat alias. Use throughout.
11037 (vhdl-goto-line): Replace user level function `goto-line'.
11038 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11039 vhdl-fix-statement-buffer.
11040 (vhdl-create-mode-menu): Add some entries.
11041 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11042 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11043 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11044 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11045 to force statements on one line.
11046 (vhdl-remove-trailing-spaces-region):
11047 New, split from vhdl-remove-trailing-spaces.
11048 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11049 Respect vhdl-beautify-options.
11050 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11051 (vhdl-update-sensitivity-list): Not add with index if exists without.
11052 Not include array index with signal. Ignore keywords in comments.
11053 (vhdl-get-visible-signals): Regexp tweaks.
11054 (vhdl-template-component-inst): Handle empty library.
11055 (vhdl-template-type): Add template for 'enum' type.
11056 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11057 Use vhdl-replace-string.
11058 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11059 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11060 (vhdl-speedbar-initialize): Update for above name change.
11061 (vhdl-compose-wire-components): Fix in handling of constants.
11062 (vhdl-error-regexp-emacs-alist): New variable.
11063 (vhdl-error-regexp-add-emacs): New function;
11064 adds support for new compile.el (Emacs 22+)
11065 (vhdl-generate-makefile-1): Change target order for single lib. units.
11066 Allow use of absolute file names.
11067
11068 2013-05-16 Leo Liu <sdl.web@gmail.com>
11069
11070 * simple.el (prog-indent-sexp): Indent enclosing defun.
11071
11072 2013-05-15 Glenn Morris <rgm@gnu.org>
11073
11074 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11075 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11076 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11077 (whitespace-highlight): Move to whitespace group.
11078
11079 * comint.el (comint-source):
11080 * pcmpl-linux.el (pcmpl-linux):
11081 * shell.el (shell-faces):
11082 * eshell/esh-opt.el (eshell-opt):
11083 * international/ccl.el (ccl): Remove empty custom groups.
11084
11085 * completion.el (dynamic-completion-mode):
11086 * jit-lock.el (jit-lock-debug-mode):
11087 * minibuffer.el (completion-in-region-mode):
11088 * type-break.el (type-break-mode-line-message-mode)
11089 (type-break-query-mode):
11090 * emulation/tpu-edt.el (tpu-edt-mode):
11091 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11092 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11093 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11094
11095 * term/xterm.el (xterm): Change parent group to terminals.
11096
11097 * master.el (master): Remove empty custom group.
11098 (master-mode): Remove unused :group argument.
11099 * textmodes/refill.el (refill): Remove empty custom group.
11100 (refill-mode): Remove unused :group argument.
11101
11102 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11103
11104 * cus-dep.el: Provide a feature.
11105 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11106 Don't mistakenly ignore files whose basenames match a basename
11107 from preloaded-file-list (eg cedet/ede/simple.el).
11108 Add a fallback method for getting :group.
11109
11110 2013-05-15 Juri Linkov <juri@jurta.org>
11111
11112 * isearch.el (isearch-char-by-name): Rename from
11113 `isearch-insert-char-by-name'. Doc fix.
11114 (isearch-forward): Mention `isearch-char-by-name' in
11115 the docstring. (Bug#13348)
11116
11117 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11118 `exit-minibuffer' instead of
11119 `isearch-nonincremental-exit-minibuffer'.
11120 (isearch-edit-string): Remove mention of
11121 `isearch-nonincremental-exit-minibuffer' from docstring.
11122 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11123 (isearch-forward-exit-minibuffer)
11124 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11125
11126 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * loadup.el: Just use unversioned DOC.
11129
11130 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11131 literals as extending to EOB.
11132 (nxml-last-fontify-end): Remove unused variable.
11133 (nxml-after-change1): Use with-silent-modifications.
11134 (nxml-extend-after-change-region): Simplify.
11135 (nxml-extend-after-change-region1): Remove function.
11136 (nxml-after-change1): Don't adjust for dependent regions.
11137 (nxml-fontify-matcher): Simplify.
11138 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11139 (xmltok-add-dependent): Remove function.
11140 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11141 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11142 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11143 unclosed <[[, <?, comment, and other literals as extending to EOB.
11144 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11145 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11146 Remove functions.
11147 (rng-do-some-validation-1): Don't mark dependent regions.
11148 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11149 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11150 (nxml-clear-dependent-regions): Remove functions.
11151 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11152 (nxml-ensure-scan-up-to-date):
11153 Don't clear&mark dependent regions.
11154
11155 2013-05-15 Leo Liu <sdl.web@gmail.com>
11156
11157 * progmodes/octave.el (octave-goto-function-definition):
11158 Improve and fix callers.
11159
11160 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11163 the setter (bug#14387).
11164
11165 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11166 surrounding group (bug#14402).
11167
11168 2013-05-14 Juri Linkov <juri@jurta.org>
11169
11170 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11171 (Bug#14390)
11172
11173 2013-05-14 Glenn Morris <rgm@gnu.org>
11174
11175 * progmodes/f90.el (f90-imenu-generic-expression):
11176 Fix typo in 2013-05-08 change. (Bug#14402)
11177
11178 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11179
11180 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11181 Remove signals for which replies are never received.
11182
11183 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11184
11185 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11186 (gdb-handler-alist, gdb-handler-number): Remove variables.
11187 (gdb-handler-list): New variable.
11188 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11189 (gdb-pending-handler-p, gdb-handle-reply)
11190 (gdb-remove-all-pending-triggers): New functions.
11191 (gdb-discard-unordered-replies): New defcustom.
11192 (gdb-handler): New defstruct.
11193 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11194 instead of gdb-pending-triggers. Update docstring.
11195 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11196 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11197 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11198 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11199 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11200 (gdb-frame-handler): Pending triggers are now automatically managed.
11201 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11202 Remove argument.
11203 (gdb-input): Automatically handles pending triggers. Update docstring.
11204 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11205 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11206 Update comments.
11207 (gdb-done-or-error): Now use gdb-handle-reply.
11208
11209 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11210
11211 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11212 gdb-debug-log.
11213
11214 2013-05-14 Glenn Morris <rgm@gnu.org>
11215
11216 * subr.el (user-emacs-directory-warning): New option.
11217 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11218
11219 2013-05-14 Leo Liu <sdl.web@gmail.com>
11220
11221 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11222 during redisplay.
11223 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11224 (octave-font-lock-texinfo-comment): Fix invalid search bound
11225 error: wrong side of point.
11226
11227 2013-05-14 Glenn Morris <rgm@gnu.org>
11228
11229 * progmodes/flymake.el (flymake-xml-program): New option.
11230 (flymake-xml-init): Use it.
11231
11232 * term/xterm.el: Provide a feature.
11233
11234 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11235
11236 2013-05-13 Glenn Morris <rgm@gnu.org>
11237
11238 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11239 Add compat aliases as a hack workaround. (Bug#14384)
11240
11241 2013-05-13 Leo Liu <sdl.web@gmail.com>
11242
11243 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11244 ###, and %!.
11245 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11246 C-M-q.
11247 (octave-comment-start-skip): Include %!.
11248 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11249
11250 2013-05-12 Leo Liu <sdl.web@gmail.com>
11251
11252 * progmodes/octave.el (inferior-octave-startup): Store the value
11253 of __octave_srcdir__ for octave-source-directories.
11254 (inferior-octave-check-process): New function refactored out of
11255 inferior-octave-send-list-and-digest.
11256 (octave-source-directories)
11257 (octave-find-definition-filename-function): New variables.
11258 (octave-source-directories)
11259 (octave-find-definition-default-filename): New functions.
11260 (octave-find-definition): Improve to find functions implemented in C++.
11261
11262 2013-05-12 Glenn Morris <rgm@gnu.org>
11263
11264 * calendar/diary-lib.el (diary-outlook-format-1):
11265 Don't include dayname in the output. (Bug#14349)
11266
11267 2013-05-11 Glenn Morris <rgm@gnu.org>
11268
11269 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11270
11271 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11272 Treat cc-provide like provide.
11273
11274 2013-05-11 Kevin Ryde <user42@zip.com.au>
11275
11276 * cus-dep.el (custom-make-dependencies):
11277 Use generated-autoload-load-name for the sake of files such
11278 such cedet/semantic/bovine/c.el, where the base file name
11279 is not in load-path. (Bug#5277)
11280
11281 2013-05-11 Glenn Morris <rgm@gnu.org>
11282
11283 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11284 Provide features.
11285
11286 2013-05-11 Leo Liu <sdl.web@gmail.com>
11287
11288 * progmodes/octave.el (octave-indent-comment): Improve.
11289 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11290 (octave-eldoc-function-signatures, octave-eldoc-function):
11291 New functions.
11292 (octave-mode, inferior-octave-mode): Add eldoc support.
11293
11294 2013-05-11 Richard Stallman <rms@gnu.org>
11295
11296 * epa.el (epa-decrypt-file): Take output file name as argument
11297 and read it using `interactive'.
11298
11299 2013-05-11 Leo Liu <sdl.web@gmail.com>
11300
11301 * progmodes/octave.el (octave-beginning-of-line)
11302 (octave-end-of-line): Check before using up-list because it jumps
11303 out of more syntactic contructs since moving to smie.
11304 (octave-indent-comment): New function.
11305 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11306 (octave-begin-keywords, octave-end-keywords)
11307 (octave-reserved-words, octave-smie-bnf-table)
11308 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11309
11310 2013-05-11 Glenn Morris <rgm@gnu.org>
11311
11312 * faces.el (internal-face-x-get-resource):
11313 * frame.el (ns-display-monitor-attributes-list):
11314 * calc/calc-aent.el (math-to-radians-2):
11315 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11316 Fix declarations.
11317
11318 * calc/calc-menu.el: Make it loadable in isolation.
11319
11320 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11321 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11322 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11323 (eudc-bbdb-query-internal): Require 'bbdb.
11324
11325 * lpr.el (lpr-headers-switches):
11326 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11327
11328 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11329
11330 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11331
11332 * term.el (term-set-escape-char): Make it idempotent.
11333
11334 2013-05-10 Leo Liu <sdl.web@gmail.com>
11335
11336 * progmodes/octave.el (inferior-octave-completion-table):
11337 No longer a function and all uses changed. Use cache to speed up
11338 completion due to bug#11906.
11339 (octave-beginning-of-defun): Re-write to be more general.
11340
11341 2013-05-10 Glenn Morris <rgm@gnu.org>
11342
11343 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11344
11345 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11346
11347 * comint.el (comint-redirect-send-command-to-process): Use :around
11348 rather than :override for comint-redirect-filter.
11349 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11350 Call it instead of comint-redirect-original-filter-function (which
11351 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11352
11353 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11354
11355 * frame.el (display-monitor-attributes-list): Add NS case.
11356 (ns-display-monitor-attributes-list): Declare.
11357
11358 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11359
11360 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11361
11362 2013-05-09 Glenn Morris <rgm@gnu.org>
11363
11364 * international/fontset.el (vertical-centering-font-regexp):
11365 Set standard-value.
11366
11367 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11368
11369 * bookmark.el (bookmark-search-delay):
11370 * cus-start.el (vertical-centering-font-regexp):
11371 * ps-mule.el (ps-mule-font-info-database-default):
11372 * ps-print.el (ps-default-fg, ps-default-bg):
11373 * type-break.el (type-break-good-break-interval):
11374 * whitespace.el (whitespace-indentation-regexp)
11375 (whitespace-space-after-tab-regexp):
11376 * emacs-lisp/testcover.el (testcover-1value-functions)
11377 (testcover-noreturn-functions, testcover-progn-functions)
11378 (testcover-prog1-functions):
11379 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11380 * eshell/em-glob.el (eshell-glob-translate-alist):
11381 * play/tetris.el (tetris-tty-colors):
11382 * progmodes/cpp.el (cpp-face-default-list):
11383 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11384 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11385 (idlwave-help-browser-generic-args):
11386 * progmodes/make-mode.el (makefile-special-targets-list):
11387 * progmodes/python.el (python-shell-virtualenv-path):
11388 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11389 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11390 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11391 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11392 * textmodes/reftex-vars.el (reftex-format-label-function):
11393 * textmodes/remember.el (remember-diary-file): Fix custom types.
11394
11395 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11396 Add :version.
11397
11398 2013-05-09 Leo Liu <sdl.web@gmail.com>
11399
11400 * progmodes/octave.el (inferior-octave-completion-at-point):
11401 Restore file completion. (Bug#14300)
11402 (inferior-octave-startup): Fix incorrect highlighting for the
11403 first prompt.
11404
11405 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * progmodes/ruby-mode.el: First cut at SMIE support.
11408 (ruby-use-smie): New var.
11409 (ruby-smie-grammar): New constant.
11410 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11411 (ruby-smie--forward-token, ruby-smie--backward-token)
11412 (ruby-smie-rules): New functions.
11413 (ruby-mode-variables): Setup SMIE if applicable.
11414
11415 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11416
11417 * simple.el (line-move-visual): Signal beginning/end of buffer
11418 only if vertical-motion moved less than it was requested. Avoids
11419 silly incorrect error messages when there are display strings with
11420 multiple newlines at EOL.
11421
11422 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11425 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11426 (prolog-char-quote-workaround):
11427 * progmodes/cperl-mode.el (cperl-under-as-char):
11428 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11429 Mark as obsolete.
11430 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11431 their declaration.
11432 (vhdl-mode-syntax-table-init): Remove.
11433
11434 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11435 last change.
11436
11437 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11438 syntax for "_".
11439 (ld-script-font-lock-keywords):
11440 Change regexps to use things like \_< and \_>.
11441
11442 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11443 Change all regexps to use things like \_< and \_>.
11444
11445 * progmodes/autoconf.el (autoconf-definition-regexp)
11446 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11447 Handle a _ with symbol syntax.
11448 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11449
11450 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11451 Consolidate declaration.
11452 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11453 the declaration.
11454 (ada-create-syntax-table): Remove.
11455 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11456 already has the right syntax nowadays.
11457 (ada-goto-next-word): Don't change the syntax of "_".
11458
11459 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11460 with-wrapper-hook.
11461
11462 2013-05-08 Sam Steingold <sds@gnu.org>
11463
11464 * thingatpt.el (thing-at-point): Accept optional second argument
11465 NO-PROPERTIES to strip the text properties from the return value.
11466 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11467 to `thing-at-point' instead of stripping the properties ourselves.
11468 Also, when `thing-at-point' fails to find a url, prepend "http://"
11469 to the filename at point on the assumption that the user is
11470 pointing at something like gnu.org/gnu.
11471
11472 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11473
11474 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11475 * faces.el (crm-separator):
11476 Silence byte-compiler.
11477
11478 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11479 (tool-bar-map): Remove unneeded defvars.
11480
11481 2013-05-08 Leo Liu <sdl.web@gmail.com>
11482
11483 Re-work a fix for bug#10994 based on Le Wang's patch.
11484 * ido.el (ido-remove-consecutive-dups): New helper.
11485 (ido-completing-read): Use it.
11486 (ido-chop): Revert fix for bug#10994.
11487
11488 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11489
11490 * cus-edit.el (custom-save-variables):
11491 Pretty-print long values. (Bug#14187)
11492
11493 2013-05-08 Glenn Morris <rgm@gnu.org>
11494
11495 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11496 (m4-mode-syntax-table): Init in the defvar.
11497 (m4-mode-abbrev-table): Let define-derived-mode define it.
11498
11499 2013-05-08 Tom Tromey <tromey@redhat.com>
11500
11501 * progmodes/m4-mode.el (m4-mode-syntax-table):
11502 Do not treat "_" as word constituent. (Bug#14167)
11503
11504 2013-05-07 Glenn Morris <rgm@gnu.org>
11505
11506 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11507 Remove explicit eshell-isearch-cancel-map.
11508
11509 * progmodes/f90.el (f90-smart-end-names): New option.
11510 (f90-smart-end): Doc fix.
11511 (f90-end-block-optional-name): New constant.
11512 (f90-block-match): Respect f90-smart-end-names.
11513
11514 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11517 about implicit semi-colons (bug#14218).
11518
11519 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11520
11521 * frame.el (display-monitor-attributes-list)
11522 (frame-monitor-attributes): New functions.
11523
11524 2013-05-06 Leo Liu <sdl.web@gmail.com>
11525
11526 * progmodes/octave.el (octave-syntax-propertize-function): Change
11527 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11528 (octave-font-lock-keywords): Use octave-operator-regexp.
11529 (octave-completion-at-point): Rename from
11530 octave-completion-at-point-function.
11531 (inferior-octave-directory-tracker): Robustify.
11532 (octave-text-functions): Remove and fix its uses. No such things
11533 any more.
11534
11535 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * emacs-lisp/trace.el (trace--display-buffer): New function.
11538 (trace-make-advice): Use it.
11539
11540 2013-05-06 Juri Linkov <juri@jurta.org>
11541
11542 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11543 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11544 Doc fix.
11545 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11546 in the help string. (Bug#12985)
11547
11548 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11549
11550 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11551
11552 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * progmodes/perl-mode.el: Add support for here documents.
11555 (perl-syntax-propertize-function): Match here-doc markers.
11556 (perl-syntax-propertize-special-constructs): Find their end.
11557 (perl-imenu-generic-expression): Use [:alnum:].
11558
11559 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11560 (advice--add-function): Refresh the advice if already present
11561 (bug#14317).
11562
11563 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11564
11565 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11566
11567 2013-05-06 Glenn Morris <rgm@gnu.org>
11568
11569 * w32-fns.el (w32-charset-info-alist): Declare.
11570
11571 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11572 of its defcustom properties.
11573 (eshell-cmpl-initialize): No need to load pcomplete.
11574
11575 * generic-x.el: No need to require comint when compiling.
11576
11577 * net/eudc-export.el: Make it loadable without bbdb.
11578 (top-level): Use require rather than load-library.
11579 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11580 (eudc-batch-export-records-to-bbdb)
11581 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11582 Require bbdb.
11583
11584 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11585
11586 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11587 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11588 some tweaks, instead.
11589
11590 2013-05-05 Leo Liu <sdl.web@gmail.com>
11591
11592 * progmodes/octave.el (octave-font-lock-keywords)
11593 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11594 (inferior-octave-send-list-and-digest): Improve error message.
11595 (octave-mode, inferior-octave-mode): Use setq-local.
11596 (octave-help): Set info-lookup-mode.
11597
11598 2013-05-05 Richard Stallman <rms@gnu.org>
11599
11600 * vc/compare-w.el (compare-windows-whitespace):
11601 Treat no-break space as whitespace.
11602
11603 * mail/rmailsum.el (rmail-summary-rmail-update):
11604 Detect empty summary and don't change selected message.
11605 (rmail-summary-goto-msg): Likewise.
11606
11607 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11608 Doc fixes, rename args.
11609
11610 2013-05-05 Alan Mackenzie <acm@muc.de>
11611
11612 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11613
11614 2013-05-05 Juri Linkov <juri@jurta.org>
11615
11616 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11617 to not add the length of the summary segment to the return value.
11618 (Bug#14125)
11619
11620 2013-05-05 Leo Liu <sdl.web@gmail.com>
11621
11622 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11623 (inferior-octave-output-filter): Remove.
11624 (octave-send-region, inferior-octave-startup): Fix callers.
11625 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11626 (octave-binary-file-extensions): New user variable.
11627 (octave-find-definition): Confirm if opening binary files.
11628 (octave-help-file): Use octave-find-definition to get the binary
11629 confirmation.
11630 (octave-help): Adjust for octave-help-file change.
11631
11632 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11635 Merge the two entries that handle function definitions.
11636 (pascal--syntax-propertize): New const.
11637 (pascal-mode): Use it. Use setq-local.
11638
11639 2013-05-04 Glenn Morris <rgm@gnu.org>
11640
11641 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11642 (diary-from-outlook): Respect diary-from-outlook-function.
11643
11644 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11647 Move the declaration from C.
11648 (read-minibuffer, eval-minibuffer): Move from C.
11649 (completion-setup-function): Avoid minibuffer-completion-contents.
11650
11651 2013-05-03 Leo Liu <sdl.web@gmail.com>
11652
11653 * progmodes/octave.el (octave-font-lock-keywords): Do not
11654 dehighlight 'end' in comments or strings.
11655 (octave-completing-read, octave-goto-function-definition):
11656 New helpers.
11657 (octave-help-buffer): New user variable.
11658 (octave-help-file, octave-help-function): New button types.
11659 (octave-help): New command and bind it to C-h ;.
11660 (octave-find-definition): New command and bind it to M-.
11661 (user-error): Alias to error if not defined.
11662
11663 2013-05-02 Leo Liu <sdl.web@gmail.com>
11664
11665 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11666 for \. (bug#14332)
11667 (octave-font-lock-keywords): Include [ and {.
11668
11669 2013-05-02 Leo Liu <sdl.web@gmail.com>
11670
11671 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11672 (inferior-octave): Remove calling comint-mode and return the buffer.
11673 (inferior-octave-startup): Cosmetic changes.
11674
11675 2013-05-02 Leo Liu <sdl.web@gmail.com>
11676
11677 * progmodes/octave.el (octave-syntax-propertize-function):
11678 Include the case when ' is at line beginning. (Bug#14336)
11679
11680 2013-05-02 Glenn Morris <rgm@gnu.org>
11681
11682 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11683 * desktop.el (vc-dir-mode): Just autoload it here.
11684
11685 2013-05-02 Alan Mackenzie <acm@muc.de>
11686
11687 Eliminate variable c-standard-font-lock-fontify-region-function.
11688 * progmodes/cc-mode.el
11689 (c-standard-font-lock-fontify-region-function): Remove.
11690 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11691
11692 2013-05-01 Leo Liu <sdl.web@gmail.com>
11693
11694 * progmodes/octave.el: Compatible with older emacs-24 releases.
11695 (inferior-octave-has-built-in-variables): Remove. Built-in
11696 variables were removed from Octave in 2007.
11697 (inferior-octave-startup): Fix uses.
11698 (comint-line-beginning-position): Remove compatibility code for
11699 emacs 21.
11700
11701 2013-05-01 Juri Linkov <juri@jurta.org>
11702
11703 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11704
11705 2013-05-01 Juri Linkov <juri@jurta.org>
11706
11707 * comint.el (comint-previous-matching-input): Don't print message
11708 "History item: %d" when `isearch-mode' is active.
11709 (comint-history-isearch-message): Print message "History item: %d"
11710 when `comint-input-ring-index' is not empty and this function is
11711 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11712
11713 2013-05-01 Leo Liu <sdl.web@gmail.com>
11714
11715 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11716 definitions. Use completion-at-point to insert keywords.
11717 (octave-abbrev-start): Remove.
11718 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11719
11720 2013-04-30 Leo Liu <sdl.web@gmail.com>
11721
11722 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11723 change.
11724
11725 2013-04-30 Alan Mackenzie <acm@muc.de>
11726
11727 Handle arbitrarily long C++ member initialisation lists.
11728 * progmodes/cc-engine.el (c-back-over-member-initializers):
11729 new function.
11730 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11731 (most) member init lists.
11732
11733 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11734
11735 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11736 variable.
11737
11738 2013-04-30 Leo Liu <sdl.web@gmail.com>
11739
11740 * progmodes/octave.el (octave-variables): Remove. No builtin
11741 variables any more. All converted to functions.
11742 (octave-font-lock-keywords, octave-completion-at-point-function):
11743 Fix uses.
11744 (octave-font-lock-texinfo-comment): New user variable.
11745 (octave-texinfo-font-lock-keywords): New variable for texinfo
11746 comment block.
11747 (octave-function-comment-block): New face.
11748 (octave-font-lock-texinfo-comment): New function.
11749 (octave-mode): Font lock texinfo comment block.
11750
11751 2013-04-29 Leo Liu <sdl.web@gmail.com>
11752
11753 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11754 indexing expression.
11755 (octave-continuation-string): Do not use \.
11756 (inferior-octave-complete-impossible): Remove.
11757 (inferior-octave-completion-table)
11758 (inferior-octave-completion-at-point): Remove its uses.
11759 (inferior-octave-startup): completion_matches was introduced to
11760 Octave in 1996 so safe to assume it.
11761 (octave-function-file-comment): Improve to follow how Octave does it.
11762 (octave-update-function-file-comment): Tweak.
11763
11764 2013-04-29 Leo Liu <sdl.web@gmail.com>
11765
11766 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11767 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11768 (octave-function-file-comment): Fix typo.
11769 (octave-sync-function-file-names): Use read-char-choice.
11770
11771 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11772
11773 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11774 to t for the less important warnings.
11775
11776 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11777
11778 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11779
11780 2013-04-27 Glenn Morris <rgm@gnu.org>
11781
11782 * vc/log-view.el (log-view-current-entry):
11783 Treat "---" separator lines as part of the following rev. (Bug#14169)
11784
11785 2013-04-27 Juri Linkov <juri@jurta.org>
11786
11787 * subr.el (read-number): Doc fix about using it by interactive
11788 code letter `n'. (Bug#14254)
11789
11790 2013-04-27 Juri Linkov <juri@jurta.org>
11791
11792 * desktop.el (desktop-auto-save-timeout): New option.
11793 (desktop-file-checksum): New variable.
11794 (desktop-save): Add optional arg `auto-save' and don't auto-save
11795 if nothing changed.
11796 (desktop-auto-save-timer): New variable.
11797 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11798 (after-init-hook): Call `desktop-auto-save-set-timer'.
11799 Suggested by Reuben Thomas <rrt@sc3d.org> in
11800 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11801
11802 2013-04-27 Leo Liu <sdl.web@gmail.com>
11803
11804 * progmodes/octave.el (octave-function-file-p)
11805 (octave-skip-comment-forward, octave-function-file-comment)
11806 (octave-update-function-file-comment): New functions.
11807 (octave-mode-map): Bind C-c ; to
11808 octave-update-function-file-comment.
11809 (octave-mode-menu): Add octave-update-function-file-comment.
11810 (octave-mode, inferior-octave-mode): Fix doc-string.
11811 (octave-insert-defun): Conform to Octave's coding convention.
11812 (Bug#14285)
11813
11814 * files.el (basic-save-buffer): Don't let errors in
11815 before-save-hook prevent saving buffer.
11816
11817 2013-04-20 Roland Winkler <winkler@gnu.org>
11818
11819 * faces.el (read-face-name): Use completing-read if arg multiple
11820 is nil.
11821
11822 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11823
11824 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11825 displayed, move point to after the totals line.
11826 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11827 for the details.
11828
11829 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11832 Add current dir to the load-path.
11833 (package-generate-autoloads): Don't rely on
11834 autoload-ensure-default-file.
11835
11836 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11837
11838 * textmodes/remember.el (remember-store-in-files): Document that
11839 the file name format is passed to `format-time-string'.
11840
11841 2013-04-26 Leo Liu <sdl.web@gmail.com>
11842
11843 * progmodes/octave.el (octave-sync-function-file-names): New function.
11844 (octave-mode): Use it in before-save-hook.
11845
11846 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11849 (bug#14274).
11850
11851 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11852 \n and comment, even if it's not an implicit ; (bug#14218).
11853
11854 2013-04-26 Glenn Morris <rgm@gnu.org>
11855
11856 * subr.el (read-number): Once more use `read' rather than
11857 `string-to-number', to trap non-numeric input. (Bug#14254)
11858
11859 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11860
11861 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11862 Use `syntax-multiline' text property consistently instead of
11863 `font-lock-multiline'. (Bug#14237)
11864
11865 2013-04-26 Glenn Morris <rgm@gnu.org>
11866
11867 * emacs-lisp/shadow.el (list-load-path-shadows):
11868 No longer necessary to check for duplicate simple.el, since
11869 2012-07-07 change to init_lread to not include installation lisp
11870 directories in load-path when running uninstalled. (Bug#14270)
11871
11872 2013-04-26 Leo Liu <sdl.web@gmail.com>
11873
11874 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11875 (octave-mode, inferior-octave-mode): Use setq-local.
11876 (octave-not-in-string-or-comment-p): Rename to
11877 octave-in-string-or-comment-p.
11878 (octave-in-comment-p, octave-in-string-p)
11879 (octave-in-string-or-comment-p): Replace defsubst with defun.
11880
11881 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11882
11883 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11884
11885 2013-04-25 Bastien Guerry <bzg@gnu.org>
11886
11887 * textmodes/remember.el (remember-data-directory)
11888 (remember-directory-file-name-format): Fix custom types.
11889
11890 2013-04-25 Leo Liu <sdl.web@gmail.com>
11891
11892 * progmodes/octave.el (octave-completion-at-point-function):
11893 Make use of inferior octave process.
11894 (octave-initialize-completions): Remove.
11895 (inferior-octave-completion-table): New function.
11896 (inferior-octave-completion-at-point): Use it.
11897 (octave-completion-alist): Remove.
11898
11899 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11902 (opascal-mode-syntax-table): New var.
11903 (opascal-literal-kind, opascal-is-literal-end)
11904 (opascal-literal-token-at): Rewrite.
11905 (opascal--literal-start-re, opascal-font-lock-keywords)
11906 (opascal--syntax-propertize): New constants.
11907 (opascal-font-lock-defaults): Adjust.
11908 (opascal-mode): Use them. Set comment-<foo> variables as well.
11909 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11910 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11911 (delphi-other-face, opascal-other-face): Remove face variables.
11912 (opascal-save-state): Remove macro.
11913 (opascal-fontifying-progress-step): Remove constant.
11914 (opascal--ignore-changes): Remove var.
11915 (opascal-set-token-property, opascal-parse-next-literal)
11916 (opascal-is-stable-literal, opascal-complete-literal)
11917 (opascal-is-literal-start, opascal-face-of)
11918 (opascal-parse-region, opascal-parse-region-until-stable)
11919 (opascal-fontify-region, opascal-after-change)
11920 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11921 (opascal-debug-parse-region, opascal-debug-parse-window)
11922 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11923 (opascal-debug-fontify-buffer): Remove.
11924 (opascal-debug-mode-map): Adjust accordingly.
11925
11926 2013-04-25 Leo Liu <sdl.web@gmail.com>
11927
11928 Merge octave-mod.el and octave-inf.el into octave.el with some
11929 cleanups.
11930 * progmodes/octave.el: New file renamed from octave-mod.el.
11931 * progmodes/octave-inf.el: Merged into octave.el.
11932 * progmodes/octave-mod.el: Renamed to octave.el.
11933
11934 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11935
11936 * textmodes/reftex-vars.el
11937 (reftex-label-ignored-macros-and-environments): New defcustom.
11938
11939 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11940
11941 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11942
11943 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11944 (smie-indent-keyword): Improve the check to ensure that the next
11945 comment is really on the same line.
11946 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11947
11948 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11949 semi-colons if the line is not otherwise empty (bug#14218).
11950
11951 2013-04-25 Glenn Morris <rgm@gnu.org>
11952
11953 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11954
11955 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * progmodes/opascal.el (opascal-set-token-property): Rename from
11958 opascal-set-text-properties and only set `token' (bug#14134).
11959 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11960 (opascal-literal-text-properties): Remove.
11961 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11962 Adjust callers.
11963
11964 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11965
11966 * textmodes/remember.el (remember-handler-functions): Add an
11967 option for a new handler `remember-store-in-files'.
11968 (remember-data-directory, remember-directory-file-name-format):
11969 New options.
11970 (remember-store-in-files): New function to store remember notes
11971 as separate files within a directory.
11972
11973 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11974
11975 * progmodes/compile.el (compilation-next-error-function):
11976 Pass "formats" to compilation-find-file (bug#11777).
11977
11978 2013-04-24 Glenn Morris <rgm@gnu.org>
11979
11980 * vc/vc-bzr.el (vc-bzr-print-log):
11981 * vc/vc-hg.el (vc-hg-print-log):
11982 * vc/vc-svn.el (vc-svn-print-log):
11983 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11984
11985 * vc/vc-bzr.el (vc-bzr-print-log):
11986 * vc/vc-cvs.el (vc-cvs-print-log):
11987 * vc/vc-git.el (vc-git-print-log):
11988 * vc/vc-hg.el (vc-hg-print-log):
11989 * vc/vc-mtn.el (vc-mtn-print-log):
11990 * vc/vc-rcs.el (vc-rcs-print-log):
11991 * vc/vc-sccs.el (vc-sccs-print-log):
11992 * vc/vc-svn.el (vc-svn-print-log):
11993 * vc/vc.el (vc-print-log-internal): Doc fixes.
11994
11995 2013-04-23 Glenn Morris <rgm@gnu.org>
11996
11997 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11998 Remove venerable code attempting to avoid substitute-command-keys.
11999
12000 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12001
12002 * textmodes/reftex-vars.el (reftex-label-regexps):
12003 Call `reftex-compile-variables' after changes to this variable.
12004
12005 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12008 Use lexical-binding.
12009 (jit-lock-force-redisplay): Use markers, check buffer's continued
12010 existence and beware narrowed buffers.
12011 (jit-lock-fontify-now): Adjust call accordingly.
12012
12013 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12016 to avoid misleading the user.
12017
12018 2013-04-22 Leo Liu <sdl.web@gmail.com>
12019
12020 * info-look.el: Prefer latex2e.info. (Bug#14240)
12021
12022 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12023
12024 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12025
12026 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12027 * net/tramp.el (tramp-call-process): ... here.
12028 (tramp-set-completion-function, tramp-parse-putty):
12029 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12030 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12031 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12032 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12033 (tramp-call-local-coding-command): Use `tramp-call-process'
12034 instead of `tramp-compat-call-process'.
12035
12036 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12037 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12038 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12039 (tramp-find-inline-compress): Improve traces.
12040 (tramp-maybe-send-script): Check for Perl binary.
12041 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12042
12043 2013-04-22 Daiki Ueno <ueno@gnu.org>
12044
12045 * epg.el (epg-context-pinentry-mode): New function.
12046 (epg-context-set-pinentry-mode): New function.
12047 (epg--start): Pass --pinentry-mode option to gpg command.
12048
12049 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12050
12051 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12052 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12053 `completion-at-point'. (Bug#13774)
12054
12055 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12056 default key binding for `describe-distribution' has been moved to
12057 `C-h C-o'. (Bug#13970)
12058
12059 2013-04-21 Glenn Morris <rgm@gnu.org>
12060
12061 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12062 Add doc strings.
12063 (vc-print-log): Clarify interactive prompt.
12064
12065 2013-04-20 Glenn Morris <rgm@gnu.org>
12066
12067 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12068 No longer include timestamp etc information.
12069
12070 2013-04-20 Roland Winkler <winkler@gnu.org>
12071
12072 * faces.el (read-face-name): Bug fix, return just one face if arg
12073 multiple is nil. (Bug#14209)
12074
12075 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12078 (remove-function): Autoload.
12079
12080 * comint.el (comint-redirect-original-filter-function): Remove.
12081 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12082 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12083 (vc-cvs-annotate-command):
12084 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12085 * progmodes/prolog.el (prolog-consult-compile):
12086 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12087 Use add/remove-function instead.
12088 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12089 (gud-tooltip-process-output, gud-tooltip-tips):
12090 Use add/remove-function instead.
12091 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12092 (scheme-interaction-mode, exit-scheme-interaction-mode):
12093 Use add/remove-function instead.
12094
12095 * vc/vc-dispatcher.el: Use lexical-binding.
12096 (vc--process-sentinel): Rename from vc-process-sentinel.
12097 Change last arg to be the code to run. Don't use vc-previous-sentinel
12098 and vc-sentinel-commands any more.
12099 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12100 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12101
12102 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12103
12104 * progmodes/sh-script.el (sh-imenu-generic-expression):
12105 Handle function names with a single character. (Bug#14111)
12106
12107 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12108
12109 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12110 for subroutines defined in an eval (bug#14182).
12111
12112 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12113
12114 * bookmark.el (bookmark-completing-read): Improve handling of empty
12115 string (bug#14176).
12116
12117 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12120
12121 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12122
12123 New faster Imenu implementation (bug#14058).
12124 * progmodes/python.el:
12125 (python-imenu-prev-index-position):
12126 (python-imenu-format-item-label-function)
12127 (python-imenu-format-parent-item-label-function)
12128 (python-imenu-format-parent-item-jump-label-function):
12129 New vars.
12130 (python-imenu-format-item-label)
12131 (python-imenu-format-parent-item-label)
12132 (python-imenu-format-parent-item-jump-label)
12133 (python-imenu--put-parent, python-imenu--build-tree)
12134 (python-imenu-create-index, python-imenu-create-flat-index)
12135 (python-util-popn): New functions.
12136 (python-mode): Set imenu-create-index-function to
12137 python-imenu-create-index.
12138
12139 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * winner.el (winner-active-region): Use region-active-p, activate-mark
12142 and deactivate-mark (bug#14225).
12143
12144 * simple.el (deactivate-mark): Don't inline it.
12145
12146 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12147
12148 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12149
12150 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12151
12152 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12153 file extensions from the archive-mode entry in order to prefer
12154 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12155
12156 2013-04-18 Leo Liu <sdl.web@gmail.com>
12157
12158 * bindings.el (help-event-list): Add ?\?.
12159
12160 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * subr.el (with-wrapper-hook): Declare obsolete.
12163 * simple.el (filter-buffer-substring-function): New hook.
12164 (filter-buffer-substring): Use it.
12165 (filter-buffer-substring-functions): Mark obsolete.
12166 * minibuffer.el (completion-in-region-function): New hook.
12167 (completion-in-region): Use it.
12168 (completion-in-region-functions): Mark obsolete.
12169 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12170 * abbrev.el (abbrev-expand-function): New hook.
12171 (expand-abbrev): Use it.
12172 (abbrev-expand-functions): Mark obsolete.
12173 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12174 and :filter-return.
12175
12176 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12177
12178 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12179 and do not care about match data.
12180
12181 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12184 completion tables when completing error conditions and
12185 `declare' arguments.
12186 (lisp-complete-symbol, field-complete): Mark as obsolete.
12187 (check-parens): Unmatched parens are user errors.
12188 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12189
12190 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12191
12192 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12193 command changed buffer (ie. `flyspell-pre-buffer' is not current
12194 buffer), which prevents making decisions based on invalid value of
12195 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12196 cause an error when `flyspell-pre-point' was nil after switching
12197 buffers.
12198 (flyspell-post-command-hook): No longer needs to change buffers when
12199 checking pre-word. While at it remove unnecessary progn.
12200
12201 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12202
12203 * textmodes/ispell.el (ispell-add-per-file-word-list):
12204 Fix `flyspell-correct-word-before-point' error when accepting
12205 words and `coment-padding' is an integer by using
12206 `comment-normalize-vars' (Bug #14214).
12207
12208 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12209
12210 New defun movement commands.
12211 * progmodes/python.el (python-nav--syntactically)
12212 (python-nav--forward-defun, python-nav-backward-defun)
12213 (python-nav-forward-defun): New functions.
12214
12215 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12216
12217 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12218 (python-syntax-context): Use named compiler-macro for backwards
12219 compatibility with Emacs 24.x.
12220
12221 2013-04-17 Leo Liu <sdl.web@gmail.com>
12222
12223 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12224 octave-hide-process-buffer.
12225
12226 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12229 (bug#14216).
12230
12231 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12232
12233 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12234 Fix adjustment of offset when receiving incomplete responses from GDB
12235 (bug#14129).
12236
12237 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12240 python-mode-abbrev-table.
12241 (python-skeleton-define): Adjust accordingly.
12242 (python-mode-abbrev-table): New table that inherits from it so that
12243 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12244
12245 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12246 (abbrev-symbol): Use it.
12247 (abbrev--before-point): Use it since we already handle inheritance.
12248
12249 2013-04-16 Leo Liu <sdl.web@gmail.com>
12250
12251 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12252 binding to info-lookup-symbol.
12253
12254 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12255
12256 * minibuffer.el (completion--twq-all):
12257 * term/ns-win.el (ns-initialize-window-system):
12258 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12259
12260 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12263 global bindings.
12264
12265 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12266
12267 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12268
12269 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12270 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12271 to nil.
12272 (ruby-end-of-defun): Remove the unused arg, change the docstring
12273 to reflect that this function is only used as the value of
12274 `end-of-defun-function'.
12275 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12276 to reflect an earlier change that beginning/end-of-defun functions
12277 jump between methods in a class definition, as well as top-level
12278 functions.
12279
12280 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * minibuffer.el (minibuffer-complete): Don't just scroll
12283 a *Completions* that's been iconified.
12284 (minibuffer-force-complete): Make sure repetitions do cycle when going
12285 through completion-in-region -> minibuffer-complete.
12286
12287 2013-04-15 Alan Mackenzie <acm@muc.de>
12288
12289 Correct the placement of c-cpp-delimiters when there're #s not at
12290 col 0.
12291
12292 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12293 place a submatch around the #.
12294 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12295 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12296 on the #, not BOL.
12297
12298 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12301 (advice--member-p): New arg `name'.
12302 (advice--add-function, advice-member-p): Use it (bug#14202).
12303
12304 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12305
12306 Reformulate java imenu-generic-expression.
12307 The old expression contained ill formed regexps.
12308
12309 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12310 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12311 (cc-imenu-java-method-arg-regexp): New defconsts.
12312 (cc-imenu-java-build-type-args-regex): New defun.
12313 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12314 handling of spaces in the regexp.
12315
12316 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12317
12318 * textmodes/ispell.el (ispell-command-loop): Remove
12319 flyspell highlight of a word when ispell accepts it (bug #14178).
12320
12321 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12322
12323 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12324 uses code from the previous `ange-ftp-run-real-handler'.
12325 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12326 only in case that function exist. This is needed for proper
12327 unloading of Tramp.
12328
12329 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12330
12331 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12332
12333 * textmodes/reftex.el (reftex-compile-variables): Use it.
12334
12335 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * files.el (normal-mode): Only use default major-mode if no other mode
12338 was specified.
12339
12340 * emacs-lisp/trace.el (trace-values): New function.
12341
12342 * files.el: Allow : in local variables (bug#14089).
12343 (hack-local-variable-regexp): New var.
12344 (hack-local-variables-prop-line, hack-local-variables): Use it.
12345
12346 2013-04-13 Roland Winkler <winkler@gnu.org>
12347
12348 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12349 data before it gets modified by bibtex-beginning-of-entry.
12350
12351 2013-04-13 Roland Winkler <winkler@gnu.org>
12352
12353 * textmodes/bibtex.el (bibtex-url): Doc fix.
12354
12355 2013-04-13 Roland Winkler <winkler@gnu.org>
12356
12357 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12358 does not visit a BibTeX file, exclude it from the list of buffers
12359 returned by bibtex-initialize.
12360
12361 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12362
12363 * window.el (split-window): Remove interactive form, since as a
12364 command this function is a special case of split-window-below.
12365 Correct doc string.
12366
12367 2013-04-12 Roland Winkler <winkler@gnu.org>
12368
12369 * faces.el (read-face-name): Do not override value of arg default.
12370 Allow single faces and strings as default values. Remove those
12371 elements from return value that are not faces.
12372 (describe-face): Simplify.
12373 (face-at-point): New optional args thing and multiple so that this
12374 function can provide the same functionality previously provided by
12375 read-face-name.
12376 (make-face-bold, make-face-unbold, make-face-italic)
12377 (make-face-unitalic, make-face-bold-italic, invert-face)
12378 (modify-face, read-face-and-attribute): Use face-at-point.
12379
12380 * cus-edit.el (customize-face, customize-face-other-window)
12381 * cus-theme.el (custom-theme-add-face)
12382 * face-remap.el (buffer-face-set)
12383 * facemenu.el (facemenu-set-face): Use face-at-point.
12384
12385 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12386
12387 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12388
12389 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12390
12391 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12392 off leading { and trailing } from field values.
12393
12394 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * emacs-lisp/timer.el (timer--check): New function.
12397 (timer--time, timer-set-function, timer-event-handler): Use it.
12398 (timer-set-idle-time): Simplify.
12399 (timer--activate): CSE.
12400 (timer-event-handler): Give more info in error message.
12401 (internal-timer-start-idle): New function, moved from C.
12402
12403 * mpc.el (mpc-proc): Add `restart' argument.
12404 (mpc-proc-cmd): Use it.
12405 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12406 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12407 less often.
12408
12409 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12410
12411 * progmodes/sh-script.el: Implement `sh-mode' own
12412 `add-log-current-defun-function' (bug#14112).
12413 (sh-current-defun-name): New function.
12414 (sh-mode): Use the function.
12415
12416 2013-04-09 Bastien Guerry <bzg@gnu.org>
12417
12418 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12419
12420 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12423
12424 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12425 timer (bug#14156).
12426
12427 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12428
12429 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12430 declaration.
12431
12432 2013-04-07 Leo Liu <sdl.web@gmail.com>
12433
12434 * pcmpl-x.el: New file.
12435
12436 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12437
12438 Do not set x-display-name until X connection is established.
12439 This is needed to prevent from weird situation described at
12440 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12441 * frame.el (make-frame): Set x-display-name after call to
12442 window system initialization function, not before.
12443 * term/x-win.el (x-initialize-window-system): Add optional
12444 display argument and use it.
12445 * term/w32-win.el (w32-initialize-window-system):
12446 * term/ns-win.el (ns-initialize-window-system):
12447 * term/pc-win.el (msdos-initialize-window-system):
12448 Add compatible optional display argument.
12449
12450 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12451
12452 * files.el (normal-backup-enable-predicate): On MS-Windows and
12453 MS-DOS compare truenames of temporary-file-directory and of the
12454 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12455 don't fail comparison by compare-strings. Also, compare file
12456 names case-insensitively on MS-Windows and MS-DOS.
12457
12458 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12461 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12462
12463 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12464
12465 * whitespace.el (whitespace-color-on, whitespace-color-off):
12466 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12467
12468 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12469
12470 * ispell.el (ispell-set-spellchecker-params):
12471 Really set `ispell-args' for all equivs.
12472
12473 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * ido.el (ido-completions): Use extra elements of ido-decorations
12476 (bug#14143).
12477 (ido-decorations): Update docstring.
12478
12479 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12480
12481 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12482 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12483 nil during initialization, in order not to miss changes since the
12484 file was opened. (Bug#14140)
12485
12486 2013-04-05 Leo Liu <sdl.web@gmail.com>
12487
12488 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12489
12490 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12491
12492 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12493
12494 2013-04-04 Glenn Morris <rgm@gnu.org>
12495
12496 * electric.el (electric-pair-inhibit-predicate): Add :version.
12497
12498 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12499
12500 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12501 when a package is required several times (bug#14082).
12502
12503 2013-04-04 Roland Winkler <winkler@gnu.org>
12504
12505 * faces.el (read-face-name): Behave as promised by the docstring.
12506 Assume that arg default is a list of faces.
12507 (describe-face): Call read-face-name with list of default faces.
12508
12509 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12510
12511 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12512 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12513 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12514 the header.
12515 (bookmark-exit-hook-internal): Save even if list is empty.
12516
12517 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12518
12519 * emacs-lisp/package.el (package-pinned-packages): New var.
12520 (package--add-to-archive-contents): Obey it (bug#14118).
12521
12522 2013-04-03 Alan Mackenzie <acm@muc.de>
12523
12524 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12525 Also adapt to the new values of element 7 of a parse state.
12526
12527 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12528 parameter `not-in-delimiter'. Handle being inside comment opener.
12529 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12530 character in case we're typing a '*' after a '/'.
12531 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12532 instead by passing the parameter to c-state-pp-to-literal.
12533
12534 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12535 for elt. 7 of a parse state.
12536
12537 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12538
12539 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12540 * international/latin1-disp.el, international/mule-util.el:
12541 * language/cyril-util.el, language/european.el, language/ind-util.el:
12542 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12543 * language/tibetan.el, language/viet-util.el:
12544 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12545
12546 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12547
12548 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12549 (electric-pair-post-self-insert-function): Use it.
12550 (electric-pair-default-inhibit): New function, extracted from
12551 electric-pair-post-self-insert-function.
12552
12553 2013-03-31 Roland Winkler <winkler@gnu.org>
12554
12555 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12556
12557 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12560
12561 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12562
12563 Un-indent after "pass" and "return" statements (Bug#13888)
12564 * progmodes/python.el (python-indent-block-enders): New var.
12565 (python-indent-calculate-indentation): Use it.
12566
12567 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12568
12569 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12570 defun. Defining it as defalias could introduce too eager
12571 byte-compiler optimization. (Bug#14030)
12572
12573 2013-03-30 Chong Yidong <cyd@gnu.org>
12574
12575 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12576
12577 2013-03-30 Leo Liu <sdl.web@gmail.com>
12578
12579 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12580 (kmacro-execute-from-register): Pass the keyboard macro to
12581 kmacro-call-macro or repeating won't work correctly.
12582
12583 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12584
12585 * progmodes/subword.el: Back to using `forward-symbol'.
12586
12587 * subr.el (forward-whitespace, forward-symbol)
12588 (forward-same-syntax): Move from thingatpt.el.
12589
12590 2013-03-29 Leo Liu <sdl.web@gmail.com>
12591
12592 * kmacro.el (kmacro-to-register): New command.
12593 (kmacro-execute-from-register): New function.
12594 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12595
12596 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * mpc.el: Use defvar-local and setq-local.
12599 (mpc--proc-connect): Connection failures are not bugs.
12600 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12601 (mpc-volume-map): Bind to the up-events.
12602
12603 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12604
12605 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12606 instead of `forward-symbol'.
12607
12608 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12611 (edebug--recursive-edit): Use it.
12612 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12613 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12614
12615 2013-03-28 Leo Liu <sdl.web@gmail.com>
12616
12617 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12618
12619 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12620
12621 * facemenu.el (list-colors-callback): New defvar.
12622 (list-colors-redisplay): New function.
12623 (list-colors-display): Install list-colors-redisplay as the
12624 revert-buffer-function. (Bug#14063)
12625
12626 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12629 and suffixes don't overlap (bug#14061).
12630
12631 * case-table.el: Use lexical-binding.
12632 (case-table-get-table): New function.
12633 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12634
12635 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12636
12637 * progmodes/subword.el: Add `superword-mode' to do word motion
12638 over symbol_words (parallels and leverages `subword-mode' which
12639 does word motion inside MixedCaseWords).
12640
12641 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12642
12643 * eshell/em-unix.el: Move su and sudo to...
12644 * eshell/em-tramp.el: ...Eshell tramp module.
12645
12646 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12649 Change return value to be a sexp. Delay `get-buffer' to after
12650 restoring the desktop (bug#13951).
12651
12652 2013-03-26 Leo Liu <sdl.web@gmail.com>
12653
12654 * register.el: Move semantic tag handling back to
12655 cedet/semantic/senator.el. (Bug#14052)
12656
12657 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12658
12659 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12660 into the prompt either (bug#13963).
12661
12662 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12665 part of "(error-foo)".
12666
12667 2013-03-24 Juri Linkov <juri@jurta.org>
12668
12669 * replace.el (list-matching-lines-prefix-face): New defcustom.
12670 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12671 `occur-engine' if `face-differs-from-default-p' returns t.
12672 (occur-engine): Add `,' inside backquote construct to evaluate
12673 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12674 Pass `prefix-face' to the functions `occur-context-lines' and
12675 `occur-engine-add-prefix'.
12676 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12677 `prefix-face' and propertize the prefix with `prefix-face'.
12678 (Bug#14017)
12679
12680 2013-03-24 Leo Liu <sdl.web@gmail.com>
12681
12682 * nxml/rng-valid.el (rng-validate-while-idle)
12683 (rng-validate-quick-while-idle): Guard against deleted buffer.
12684 (Bug#13999)
12685
12686 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12687 is the last entry in kill-buffer-hook.
12688
12689 * files.el (kill-buffer-hook): Doc fix.
12690
12691 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12692
12693 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12694 Make it safe-local.
12695
12696 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12697
12698 2013-03-23 Leo Liu <sdl.web@gmail.com>
12699
12700 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12701 Remove.
12702
12703 * nxml/rng-valid.el (rng-validate-mode)
12704 (rng-after-change-function, rng-do-some-validation):
12705 * nxml/rng-maint.el (rng-validate-buffer):
12706 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12707 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12708 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12709 (nxml-extend-after-change-region): Use with-silent-modifications.
12710
12711 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12712 timer-idle-list.
12713
12714 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12715 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12716 timer-idle-list. (Bug#13999)
12717
12718 2013-03-23 Juri Linkov <juri@jurta.org>
12719
12720 * info.el (info-index-match): New face.
12721 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12722 main pattern and add text properties with the new face to matches
12723 in index entries relative to the beginning of the index entry.
12724 (Bug#14015)
12725
12726 2013-03-21 Eric Ludlam <zappo@gnu.org>
12727
12728 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12729 Inhibit read only while inserting objects.
12730
12731 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12732
12733 * progmodes/cfengine.el: Update docs to mention
12734 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12735 symbol motion. Remove "_" from the word syntax.
12736
12737 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12738
12739 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12740 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12741
12742 2013-03-20 Juri Linkov <juri@jurta.org>
12743
12744 * info.el (Info-next-reference-or-link)
12745 (Info-prev-reference-or-link): New functions.
12746 (Info-next-reference, Info-prev-reference): Use them.
12747 (Info-try-follow-nearest-node): Handle footnote navigation.
12748 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12749
12750 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12751
12752 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12753 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12754
12755 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12756
12757 Suppress unnecessary non-ASCII chatter during build process.
12758 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12759 (batch-skkdic-convert): Suppress most of the chatter.
12760 It's not needed so much now that machines are faster,
12761 and its non-ASCII component was confusing; see Dmitry Gutov in
12762 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12763
12764 2013-03-20 Leo Liu <sdl.web@gmail.com>
12765
12766 * ido.el (ido-chop): Fix bug#10994.
12767
12768 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12769
12770 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12771 Remove vars.
12772 (whitespace-color-on, whitespace-color-off):
12773 Use `font-lock-fontify-buffer' (Bug#13817).
12774
12775 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12778 remapping in mode-line.
12779 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12780
12781 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12782
12783 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12784 value for `whitespace-line' face (Bug#13875).
12785 (whitespace-font-lock-keywords): Change description.
12786 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12787 the constructed keywords instead.
12788 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12789
12790 2013-03-19 Leo Liu <sdl.web@gmail.com>
12791
12792 * progmodes/compile.el (compilation-display-error): New command.
12793 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12794 C-o. (Bug#13992)
12795
12796 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12797
12798 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12799
12800 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12801
12802 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12803
12804 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12805
12806 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12807
12808 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12809 * net/tramp-gvfs.el (top):
12810 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12811 (tramp-handle-shell-command): Use it.
12812 (tramp-dissect-file-name): Raise an error when hostname is a
12813 method name, and neither method nor user is specified.
12814
12815 * net/trampver.el: Update release number.
12816
12817 2013-03-18 Leo Liu <sdl.web@gmail.com>
12818
12819 Make sure eldoc can be turned off properly.
12820 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12821 eldoc-mode.
12822 (eldoc-display-message-p): Revert last change.
12823 (eldoc-display-message-no-interference-p)
12824 (eldoc-print-current-symbol-info): Tweak.
12825
12826 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12827
12828 * doc-view.el (doc-view-new-window-function): Check the new window
12829 overlay's display property instead the char property of the
12830 buffer's first char. Use `with-selected-window' instead of
12831 `save-window-excursion' with `select-window'.
12832 (doc-view-document->bitmap): Check the current doc-view overlay's
12833 display property instead the char property of the buffer's first char.
12834
12835 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12836
12837 Automate the build of ja-dic.el (Bug#13984).
12838 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12839 from the input, rather than assume that it's been done for us by the
12840 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12841 the current date into a ja-dic.el comment, as that complicates
12842 regression testing.
12843
12844 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12845
12846 * whitespace.el: Fix double evaluation.
12847 (whitespace-space, whitespace-hspace, whitespace-tab)
12848 (whitespace-newline, whitespace-trailing, whitespace-line)
12849 (whitespace-space-before-tab, whitespace-indentation)
12850 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12851 obsolete defvars.
12852 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12853 (whitespace-color-on): Use a single font-lock-add-keywords call.
12854 Fix double-evaluation of face variables.
12855
12856 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12857
12858 * net/tramp-adb.el (tramp-adb-parse-device-names):
12859 Use `start-process' instead of `call-process'. Otherwise, the
12860 function might be blocked under MS Windows. (Bug#13299)
12861
12862 2013-03-17 Leo Liu <sdl.web@gmail.com>
12863
12864 Extend eldoc to display info in the mode-line. (Bug#13978)
12865 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12866 (eldoc-mode-line-string): New variable.
12867 (eldoc-minibuffer-message): New function.
12868 (eldoc-message-function): New variable.
12869 (eldoc-message): Use it.
12870 (eldoc-display-message-p)
12871 (eldoc-display-message-no-interference-p):
12872 Support eldoc-post-insert-mode.
12873
12874 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12875 (eval-expression): Run it.
12876
12877 2013-03-17 Roland Winkler <winkler@gnu.org>
12878
12879 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12880 strings in the list of return values.
12881
12882 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12883
12884 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12885 radix before checking for HMS forms.
12886
12887 2013-03-16 Leo Liu <sdl.web@gmail.com>
12888
12889 * progmodes/scheme.el: Add indentation and font-locking for λ.
12890 (Bug#13975)
12891
12892 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12893
12894 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12895 token before point (bug#13942).
12896
12897 2013-03-16 Leo Liu <sdl.web@gmail.com>
12898
12899 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12900
12901 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12902
12903 * startup.el (command-line-normalize-file-name): Fix handling of
12904 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12905 <xfq.free@gmail.com> in
12906 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12907
12908 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12909
12910 Sync with Tramp 2.2.7.
12911
12912 * net/trampver.el: Update release number.
12913
12914 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12915
12916 * doc-view.el: Fix bug#13887.
12917 (doc-view-insert-image): Don't modify overlay associated to
12918 non-live windows, and implement horizontal centering of image in
12919 case it's smaller than the window.
12920 (doc-view-new-window-function): Force redisplay of new windows on
12921 doc-view buffers.
12922
12923 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12924
12925 * saveplace.el (save-place-alist-to-file): Don't sort
12926 `save-place-alist', just pretty-print it (bug#13882).
12927
12928 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12929
12930 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12931 Check whether `default-file-name-coding-system' is bound.
12932 It isn't in XEmacs.
12933
12934 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12937 backquotes for `obsolete' (bug#13929).
12938
12939 * international/mule.el (find-auto-coding): Include file name in
12940 obsolescence warning (bug#13922).
12941
12942 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12943
12944 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12945 for CFEngine 3-specific indentation.
12946 (cfengine3-indent-line): Use it. Fix up category regex.
12947 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12948
12949 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12950
12951 * type-break.el (type-break-file-name):
12952 * textmodes/remember.el (remember-data-file):
12953 * strokes.el (strokes-file):
12954 * shadowfile.el (shadow-initialize):
12955 * saveplace.el (save-place-file):
12956 * ps-bdf.el (bdf-cache-file):
12957 * progmodes/idlwave.el (idlwave-config-directory):
12958 * net/quickurl.el (quickurl-url-file):
12959 * international/kkc.el (kkc-init-file-name):
12960 * ido.el (ido-save-directory-list-file):
12961 * emulation/viper.el (viper-custom-file-name):
12962 * emulation/vip.el (vip-startup-file):
12963 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12964 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12965
12966 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12967
12968 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12969 * language/thai-word.el: Switch to UTF-8.
12970
12971 See ChangeLog.16 for earlier changes.
12972
12973 ;; Local Variables:
12974 ;; coding: utf-8
12975 ;; End:
12976
12977 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12978
12979 This file is part of GNU Emacs.
12980
12981 GNU Emacs is free software: you can redistribute it and/or modify
12982 it under the terms of the GNU General Public License as published by
12983 the Free Software Foundation, either version 3 of the License, or
12984 (at your option) any later version.
12985
12986 GNU Emacs is distributed in the hope that it will be useful,
12987 but WITHOUT ANY WARRANTY; without even the implied warranty of
12988 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12989 GNU General Public License for more details.
12990
12991 You should have received a copy of the GNU General Public License
12992 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.