Fixes: debbugs:16690
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2
3 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4 (Bug#16690)
5
6 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9 Insert output at end of buffer. (Bug#16120)
10
11 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * simple.el (choose-completion-string-functions): Document new
14 calling convention (bug#14153).
15 (execute-extended-command): Clarify doc string (bug#13373).
16
17 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
18
19 * find-dired.el (find-name-dired): Doc fix (bug#14290).
20 (find-grep-dired): Doc fix (bug#14288).
21
22 2014-02-08 Juri Linkov <juri@jurta.org>
23
24 * isearch.el (isearch-quote-char): Check character validity
25 like in `quoted-insert' (bug#16677).
26
27 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
28
29 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
30
31 * isearch.el (isearch-hide-immediately): Doc clarification
32 (bug#14723).
33
34 * simple.el (line-move): Document utility function used many
35 places in the Emacs sources (bug#14843).
36
37 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
38 (dired-prev-marked-file): Doc fix (bug#14855).
39 (dired-up-directory): Doc fix (bug#14848).
40
41 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
42
43 * files.el (file-relative-name): Doc fix (bug#15159).
44
45 * fringe.el (fringe-styles): Doc fix (bug#15239).
46
47 * isearch.el (isearch-filter-predicate): Documentation typo fix
48 (bug#15474).
49
50 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
51
52 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
53
54 * replace.el (replace-match-maybe-edit): Doc clarification
55 (bug#15632).
56
57 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
58
59 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
60
61 2014-02-08 Glenn Morris <rgm@gnu.org>
62
63 * help-fns.el (describe-variable):
64 Check {file,dir}-local-variables-alist, and buffer-file-name,
65 in the correct buffer.
66
67 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
68
69 * help-fns.el (describe-variable): Fix the case where
70 a value is directory-local with no dir-locals file. (Bug#16635)
71
72 2014-02-08 Glenn Morris <rgm@gnu.org>
73
74 * abbrev.el (edit-abbrevs-mode):
75 Derive from fundamental-mode. (Bug#16682)
76
77 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
78
79 * simple.el (quoted-insert): Check character validity (bug#16677).
80
81 2014-02-07 Juri Linkov <juri@jurta.org>
82
83 * desktop.el (desktop-read): Claim the lock when the owner is not
84 the current process. (Bug#16157)
85
86 2014-02-07 Juri Linkov <juri@jurta.org>
87
88 * desktop.el (desktop-buffers-not-to-save): Change default from nil
89 to "\\` ". (Bug#16651)
90
91 2014-02-07 Juri Linkov <juri@jurta.org>
92
93 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
94 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
95 (desktop-auto-save-cancel-timer): New function with some code from
96 `desktop-auto-save-set-timer'.
97 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
98 Instead of setting `desktop-save-mode' to nil, call
99 `desktop-save-mode' with arg 0. (Bug#16630)
100
101 2014-02-07 Glenn Morris <rgm@gnu.org>
102
103 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
104 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
105 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
106
107 * obsolete/iswitchb.el: Move to obsolete/.
108 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
109 since obsolete/ is not scanned for autoloads.
110 * emacs-lisp/authors.el (authors-valid-file-names):
111 Add iswitchb.el.
112
113 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
114 Disable now non-functional find-file-hook.
115
116 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
117
118 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
119 instead of ";" in order to avoid additional prompts. Let heredoc
120 scripts read from tty. (Bug#16582)
121 (tramp-send-command): No special handling of heredocs, it isn't
122 necessary anymore.
123
124 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
127 with a space (bug#16664). Limit the symbols considered to the ones
128 that are bound or fbound (bug#16646).
129
130 2014-02-06 Glenn Morris <rgm@gnu.org>
131
132 * epa.el (epa-mail-aliases): Doc fix.
133
134 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
135
136 * emacs-lisp/lisp.el (lisp-completion-at-point):
137 Use `completion-table-merge' instead of `completion-table-in-turn'
138 (bug#16604).
139
140 * minibuffer.el (completion-table-merge): New function.
141
142 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
143
144 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
145 (tramp-sh-handle-set-file-acl)
146 (tramp-sh-handle-start-file-process)
147 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
148 (tramp-find-executable, tramp-send-command): Use it.
149
150 2014-02-05 Glenn Morris <rgm@gnu.org>
151
152 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
153
154 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
155
156 * progmodes/python.el (python-shell-send-string):
157 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
158
159 2014-02-04 Anders Lindgren <andlind@gmail.com>
160
161 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
162 the names (bug#16620).
163
164 2014-02-03 Martin Rudalics <rudalics@gmx.at>
165
166 * faces.el (window-divider): New default value. Rewrite doc-string.
167 (window-divider-first-pixel, window-divider-last-pixel): New faces.
168
169 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
170
171 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
172 `protected' and `public' can also be called without arguments.
173
174 2014-02-03 Glenn Morris <rgm@gnu.org>
175
176 * register.el (window-configuration-to-register)
177 (frame-configuration-to-register): Unadvertise unused argument.
178 * frameset.el (frameset-to-register): Remove unused argument.
179
180 * frameset.el (frameset-to-register):
181 * kmacro.el (kmacro-to-register):
182 * register.el (increment-register):
183 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
184 (calc-append-to-register, calc-prepend-to-register):
185 * play/gametree.el (gametree-layout-to-register)
186 (gametree-apply-register-layout):
187 * textmodes/picture.el (picture-clear-rectangle-to-register)
188 (picture-yank-rectangle-from-register):
189 * vc/emerge.el (emerge-combine-versions-register):
190 Use register-read-with-preview to read registers.
191
192 2014-02-03 João Távora <joaotavora@gmail.com>
193
194 * elec-pair.el (electric-pair-backward-delete-char): Don't error
195 when at beginning of (possibly narrowed) buffer.
196
197 2014-02-02 Daniel Colascione <dancol@dancol.org>
198
199 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
200 Also try to display local help from just before point.
201
202 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
203
204 c-parse-state. Don't "append-lower-brace-pair" in certain
205 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
206 recognised as a comment.
207
208 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
209 as well as normal comment starter.
210 (c-parse-state-get-strategy): Extra return possibility
211 'back-and-forward.
212 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
213 return value list to indicate replacement of a brace-pair cons
214 with its car.
215 (c-parse-state-1): With 'back-and-forward, only call
216 c-append-lower-brace-pair-to state-cache when cons-separated.
217
218 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
219
220 * term/ns-win.el (ns-suspend-error): New function.
221 (ns-initialize-window-system): Add ns-suspend-error to
222 suspend-hook (Bug#16612).
223
224 2014-02-02 Daniel Colascione <dancol@dancol.org>
225
226 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
227
228 2014-02-02 Daniel Colascione <dancol@dancol.org>
229
230 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
231
232 2014-02-02 Glenn Morris <rgm@gnu.org>
233
234 * register.el (register-read-with-preview, point-to-register)
235 (window-configuration-to-register, frame-configuration-to-register)
236 (jump-to-register, number-to-register, view-register, insert-register)
237 (copy-to-register, append-to-register, prepend-to-register)
238 (copy-rectangle-to-register): Doc fixes.
239
240 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
243 * emacs-lisp/find-func.el (find-function-C-source): Idem.
244 * emacs-lisp/nadvice.el (advice--cd*r): New function.
245 * help-fns.el (describe-function-1): Use it.
246
247 2014-02-02 Glenn Morris <rgm@gnu.org>
248
249 * register.el (register-preview-default): New function,
250 split from register-preview.
251 (register-preview-function): Rename from register-preview-functions,
252 make it not a hook.
253 (register-preview): Use register-preview-function.
254 (register-read-with-preview): Error on non-character event. (Bug#16595)
255
256 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
257
258 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
259 `:' before binary operators (bug#16609). Don't check for `:'
260 before `[' and `(', or their syntax status. A percent literal
261 can't end with either.
262 (ruby-font-lock-keywords): For built-ins that require arguments,
263 check that they're followed by something that looks like argument
264 (bug#16610).
265
266 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
267
268 * subr.el (butlast): Document what an omitted N means (bug#13437).
269 (nbutlast): Ditto.
270
271 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
272
273 * net/shr.el (shr-generic): Make into a defsubst to make the stack
274 depth shallower (bug#16587).
275 (shr-tag-svg): Respect `shr-inhibit-images'.
276 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
277
278 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
279
280 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
281 (ruby-smie-grammar): Make "." right-associative. Make its priority
282 lower than the ternary and all binary operators.
283 (ruby-smie-rules): Indent "(" relative to the first non-"."
284 parent, or the first "." parent at indentation.
285 Use `ruby-align-chained-calls' for indentation of "." tokens.
286 (Bug#16593)
287
288 2014-01-31 Juri Linkov <juri@jurta.org>
289
290 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
291 from `make-hash-table'.
292
293 * textmodes/ispell.el (ispell-init-process): Change message format
294 to be consistent with other messages.
295
296 2014-01-31 Glenn Morris <rgm@gnu.org>
297
298 * delsel.el (delete-selection-mode): Doc fix.
299
300 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
301 (trace-function-background): Doc fixes.
302
303 * ido.el (ido-use-virtual-buffers): Doc fix.
304 Reset :version, since the default value has not changed.
305
306 * register.el (register-preview-delay, register-read-with-preview):
307 Doc fixes.
308
309 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
310 do not mess with mail-buffer position (fixes 2009-11-03 change).
311 * progmodes/cc-mode.el (c-submit-bug-report):
312 Check auto-fill-mode is bound. (Bug#16592)
313
314 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
315
316 * startup.el (fancy-splash-image-file): New function,
317 split from fancy-splash-head.
318 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
319 so that we are both using the same image. (Bug#16574)
320
321 2014-01-30 Glenn Morris <rgm@gnu.org>
322
323 * simple.el (eval-expression): Doc fix.
324
325 * hexl.el (hexl-mode-hook):
326 * ielm.el (ielm-mode-hook):
327 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
328 (lisp-interaction-mode-hook):
329 * progmodes/cfengine.e (cfengine3-documentation-function):
330 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
331
332 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
335 is a symbol (bug#16584).
336
337 2014-01-30 Glenn Morris <rgm@gnu.org>
338
339 * help.el (help-for-help-internal): Add "P" to text.
340
341 2014-01-29 Glenn Morris <rgm@gnu.org>
342
343 * simple.el (just-one-space, cycle-spacing): Doc fixes.
344
345 2014-01-28 Martin Rudalics <rudalics@gmx.at>
346
347 * window.el (fit-frame-to-buffer): Fix calculations for margins and
348 height constraints.
349
350 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
351
352 * progmodes/hideif.el: Extend to full CPP expression syntax.
353 (hif-token-alist): Add missing tokens.
354 (hif-token-regexp): Add support for float/octal/hex immediates.
355 (hif-string-literal-regexp): New const.
356 (hif-tokenize): Recognize strings and float/octal/hex immediates.
357 (hif-exprlist): New function.
358 (hif-parse-if-exp): Use it.
359 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
360 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
361 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
362 (hif-logxor, hif-comma): New functions.
363
364 2014-01-28 Glenn Morris <rgm@gnu.org>
365
366 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
367
368 * indent.el (tab-stop-list): Doc fix. Add :version.
369
370 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
371 (cvs-append-to-ignore): Add compatibility alias.
372
373 2014-01-27 Glenn Morris <rgm@gnu.org>
374
375 * dired.el (dired-hide-details-mode): Don't autoload it,
376 since it cannot be used outside Dired buffers anyway.
377
378 * emulation/cua-base.el (cua-mode): Doc fix.
379
380 * dired.el (dired-hide-details-hide-symlink-targets)
381 (dired-hide-details-hide-information-lines)
382 (dired-hide-details-mode): Doc fixes.
383
384 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
385 * strokes.el (strokes-file): Doc fix. Bump :version.
386 (strokes-help): Doc fix.
387 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
388 * emulation/viper.el (viper): Doc fix for custom group.
389 (top-level): Remove oh-so-no-longer-relevant text about vip.
390 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
391
392 * ido.el (ido-save-directory-list-file):
393 * saveplace.el (save-place-file):
394 * calendar/timeclock.el (timeclock-file):
395 * net/quickurl.el (quickurl-url-file):
396 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
397 * progmodes/idlwave.el (idlwave-config-directory):
398 * textmodes/remember.el (remember-data-file):
399 Bump :version.
400
401 2014-01-26 Glenn Morris <rgm@gnu.org>
402
403 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
404 Doc fix. Make obsolete.
405 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
406
407 * sort.el (delete-duplicate-lines): Doc fix.
408
409 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
410
411 * progmodes/ada-mode.el (ada):
412 * woman.el (woman): Link to info manual and Commentary section.
413
414 * progmodes/flymake.el (flymake):
415 * nxml/nxml-mode.el (nxml):
416 * net/eww.el (eww):
417 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
418 * htmlfontify.el (htmlfontify):
419 * ses.el (ses):
420 * epa.el (epa):
421 * ido.el (ido): Link to info manual.
422
423 2014-01-25 Leo Liu <sdl.web@gmail.com>
424
425 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
426
427 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
428
429 * net/shr.el (shr-tag-img): Prefer the title over the alt text
430 (bug#16537).
431
432 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
433
434 * net/eww.el (eww-download-callback):
435 Fix reference to eww-download-directory.
436
437 * emacs-lisp/bytecomp.el (byte-compile-file):
438 Remove unused local variable `file-name'.
439
440 2014-01-24 Glenn Morris <rgm@gnu.org>
441
442 * woman.el (woman-default-faces, woman-monochrome-faces):
443 Fix obsolescence specification.
444
445 * subr.el (with-demoted-errors): Doc fix.
446
447 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
450 (cl--macroexp-fboundp): New function.
451 (cl--make-type-test): Use it.
452
453 2014-01-23 Glenn Morris <rgm@gnu.org>
454
455 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
456 * simple.el (eval-expression): Doc fixes.
457
458 2014-01-22 Glenn Morris <rgm@gnu.org>
459
460 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
461
462 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/package.el: Write files silently.
465 (package-autoload-ensure-default-file, package--write-file-no-coding)
466 (package-generate-description-file, package--download-one-archive)
467 (package-install-from-archive): Tell `write-region' to stay quiet.
468 (package-menu-mode, package-menu--print-info): Omit the Archive column
469 if there's only one archive.
470 (package-all-keywords, package--has-keyword-p): Remove dead code.
471
472 2014-01-22 Glenn Morris <rgm@gnu.org>
473
474 * version.el (emacs-bzr-version-bzr): Fix typo.
475
476 * version.el (emacs-repository-get-version):
477 Check either .bzr or .git, but not both.
478 Make the git case actually use the DIR argument, and return nil
479 rather than the empty string.
480 Avoid error if .git exists but the git executable is not found.
481
482 2014-01-22 Martin Rudalics <rudalics@gmx.at>
483
484 Fixes in window size functions around Bug#16430 and Bug#16470.
485 * window.el (window-total-size, window-size): New argument ROUND.
486 (window--min-delta-1, window-min-delta, window--max-delta-1):
487 Be more conservative when calculating the numbers of lines or
488 columns a window can shrink (Bug#16430).
489 (fit-window-to-buffer): Simplify code.
490 * term.el (term-window-width): Call window-body-width again.
491
492 2014-01-22 Glenn Morris <rgm@gnu.org>
493
494 * image.el (image-format-suffixes): Doc fix.
495
496 * international/quail.el (quail-define-package): Doc fix.
497
498 * emacs-lisp/authors.el (authors-valid-file-names):
499 (authors-renamed-files-alist): Additions.
500
501 * vc/vc-git.el (vc-git-print-log): Remove --follow;
502 reverts 2014-01-09 change. (Bug#16422)
503
504 * calc/calc-embed.el (thing-at-point-looking-at):
505 * emacs-lisp/map-ynp.el (x-popup-dialog):
506 * obsolete/lmenu.el (x-popup-dialog):
507 * emacs-lisp/package.el (url-recreate-url):
508 * mail/mailclient.el (clipboard-kill-ring-save):
509 * subr.el (x-popup-dialog): Update declaration.
510 * mail/rmail.el (rmail-mime-message-p):
511 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
512
513 2014-01-21 Daniel Colascione <dancol@dancol.org>
514
515 * progmodes/sh-script.el (sh--inside-noncommand-expression):
516 Correctly detect when we're inside an arithmetic expansion form
517 containing nested parenthesis.
518 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
519 to detect cases where we shouldn't expand "<<" to a heredoc
520 skeleton.
521
522 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
525 (eldoc--message-command-p): New function.
526 (eldoc-display-message-p): Use it.
527 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
528 message is not automatically erased for us.
529 (eldoc-print-current-symbol-info): Erase previous message, if any.
530
531 2014-01-21 Tassilo Horn <tsdh@gnu.org>
532
533 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
534 specify it's an interactive function.
535
536 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
537 Fix regex used for scanning for citation keys which failed for
538 citations with optional arguments.
539
540 2014-01-21 Leo Liu <sdl.web@gmail.com>
541
542 * simple.el (read--expression): Don't enable eldoc-mode.
543
544 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * simple.el (move-beginning-of-line): Make sure we don't move forward
547 (bug#16497).
548
549 2014-01-20 Juri Linkov <juri@jurta.org>
550
551 * saveplace.el (toggle-save-place, save-place-to-alist)
552 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
553 'dired-mode) before checking for dired-directory. (Bug#16477)
554
555 2014-01-20 Juri Linkov <juri@jurta.org>
556
557 * indent.el (indent-line-to): Use backward-to-indentation
558 instead of back-to-indentation. (Bug#16461)
559
560 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
561
562 Revert some of the CANNOT_DUMP fix (Bug#16494).
563 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
564 but fixing this can wait until after the next release.
565 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
566
567 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
568
569 * eshell/esh-mode.el (eshell-password-prompt-regexp):
570 Use `password-word-equivalents'.
571 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
572 to t. (Bug#5664, Bug#13124)
573
574 2014-01-19 Alan Mackenzie <acm@muc.de>
575
576 Bind open-paren-in-column-0-is-defun-start to nil at some entry
577 points.
578 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
579 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
580 * progmodes/cc-mode.el (c-before-change, c-after-change)
581 (c-font-lock-fontify-region): Bind it here.
582
583 2014-01-19 Martin Rudalics <rudalics@gmx.at>
584
585 * term.el (term-window-width): Call window-text-width instead of
586 window-width (Bug#16470).
587
588 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
589
590 * simple.el (password-word-equivalents): Remove duplicates.
591 Sort, to make this easier next time.
592 Downcase. Omit ": " after "jelszó".
593
594 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
595
596 * term/common-win.el (saved-region-selection): Defvar it.
597 (x-select-text): Set saved-region-selection (Bug#16382).
598
599 2014-01-18 Glenn Morris <rgm@gnu.org>
600
601 * emacs-lisp/authors.el (authors-aliases)
602 (authors-renamed-files-alist): Add some entries.
603
604 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
605
606 * net/tramp.el (tramp-password-prompt-regexp):
607 Use `password-word-equivalents' if available.
608 (tramp-action-password, tramp-process-one-action)
609 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
610
611 2014-01-17 Chong Yidong <cyd@gnu.org>
612
613 * simple.el (password-word-equivalents): New defcustom.
614 * comint.el (comint-password-prompt-regexp): Use it. Bump version
615 to 24.4.
616 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
617 to t. (Bug#13124)
618
619 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
620
621 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
622 (ruby-align-to-stmt-keywords): Change the default value.
623 Use `ruby-alignable-keywords' to generate the possible customization
624 choices.
625 (ruby-smie-rules): Instead of using a hardcoded list of alignable
626 keywords, check against the value of `ruby-alignable-keywords'
627 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
628
629 2014-01-17 Glenn Morris <rgm@gnu.org>
630
631 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
632
633 Make M-x authors return zero *Authors Errors* from current logs.
634 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
635 (authors-ignored-files): Add some entries, remove others.
636 (authors-ambiguous-files, authors-valid-file-names):
637 Add some entries.
638 (authors-renamed-files-alist): Add, remove, and adjust entries.
639 (authors-renamed-files-regexps): Add some entries.
640 Remove some very broad ones. Make some entries `lax'.
641 (authors-lax-changelogs): New constant.
642 (authors-disambiguate-file-name): Treat top-level specially.
643 (authors-lax-changelog-p): New function.
644 (authors-canonical-file-name): Check file as written against
645 authors-valid-file-names. Do not special-case etc/.
646 Handle `lax' logs and authors-renamed-files-regexps elements.
647
648 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
649
650 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
651 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
652 callers.
653
654 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
657 Assume we're already in the proper buffer.
658 Inspired by Anders Lindgren <andlind@gmail.com>.
659 (follow-post-command-hook): Call it from the right buffer.
660 (follow-comint-scroll-to-bottom): Adjust call.
661 (follow-all-followers): Use get-buffer-window-list.
662
663 2014-01-15 Daniel Colascione <dancol@dancol.org>
664
665 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
666 `buffer-file-name' in interactive-form so that we don't leave
667 pathless file names in `file-name-history'.
668
669 2014-01-15 Juri Linkov <juri@jurta.org>
670
671 * indent.el (indent-rigidly): Set deactivate-mark to nil
672 in transient indentation mode. (Bug#16438)
673
674 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
675
676 * emacs-lisp/package.el (package-desc-keywords): New function
677 (Bug#16222).
678 (describe-package-1, package-all-keywords)
679 (package--has-keyword-p): Use it.
680
681 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
682
683 * simple.el (define-alternatives): When creating the
684 COMMAND-alternatives variable, assign COMMAND as its definition
685 name so that `describe-variable' can relocate it.
686
687 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
688
689 * font-lock.el (font-lock-keywords): Fix typo in docstring
690 (bug#16307).
691
692 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
693
694 * ispell.el (ispell-region): Reset `in-comment' for new line
695 instead of wrongly reset `add-coment' (bug#13577).
696
697 2014-01-14 Daiki Ueno <ueno@gnu.org>
698
699 * epa-file.el (epa-file-write-region): Encode the region according
700 to `buffer-file-format'. Problem reported at:
701 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
702
703 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
706 so it applies in the right buffer (bug#16410).
707
708 2014-01-13 Daniel Colascione <dancol@dancol.org>
709
710 * textmodes/rst.el (rst-define-key): Provide deprecated
711 keybindings through named functions instead of anonymous ones so
712 that "??" doesn't appear in describe-mode output.
713
714 2014-01-13 Bastien Guerry <bzg@gnu.org>
715
716 * simple.el (define-alternatives): Call the selected command
717 interactively. When setting `COMMAND--implementation' for the
718 first time, tell the user how to chose another implementation.
719 Enhance the docstring.
720
721 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
724 (log-edit--match-first-line): New function.
725 (log-edit-font-lock-keywords): Use it.
726 (log-edit-mode): Make jit-lock-defer-multiline work.
727
728 2014-01-13 Bastien Guerry <bzg@gnu.org>
729
730 * rect.el (rectangle-mark-mode): When the region is not active,
731 display a message saying that the mark as been set and that
732 rectangle mode is in use.
733 (rectangle--highlight-for-redisplay): Only put an overlay with a
734 visible vertical bar when (display-graphic-p) is non-nil.
735 This partially fixes Bug#16403.
736
737 2014-01-13 Juri Linkov <juri@jurta.org>
738
739 * info.el (Info-find-file): Go to DIR before displaying the error
740 about a nonexistent file if no previous Info file is visited.
741 Use `user-error' instead of `error' for "Info file %s does not exist".
742 (Info-find-node-2): In case of a nonexistent node in unwind forms
743 go to the Top node if there is no previous node to revert to.
744 (Bug#16405)
745
746 2014-01-13 Martin Rudalics <rudalics@gmx.at>
747
748 fit-frame/window-to-buffer code fixes including one for Bug#14096.
749 * window.el (fit-frame-to-buffer): Fix doc-string.
750 Respect window-min-height/-width. Fit pixelwise when
751 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
752 when avoiding that frame goes partially off-screen.
753 (fit-window-to-buffer): Respect window-min-height/-width
754 (Bug#14096).
755
756 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
759 after an empty line.
760
761 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * net/shr.el (shr-render-region): Autoload.
764
765 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
766
767 * net/eww.el (eww-download-directory): Rename from
768 `eww-download-path' (Bug#16419).
769
770 2014-01-12 Leo Liu <sdl.web@gmail.com>
771
772 * dired-x.el (dired-mode-map): Fix last change.
773
774 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
775
776 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
777
778 Spelling fixes.
779 * emacs-lisp/generic.el (generic--normalize-comments):
780 Rename from generic--normalise-comments. All uses changed.
781 * play/bubbles.el (bubbles--neighborhood-score):
782 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
783 (bubbles--neighborhood-available)
784 (bubbles--update-neighborhood-score):
785 Rename from names with 'neighbourhood'. All uses changed.
786
787 2014-01-12 Leo Liu <sdl.web@gmail.com>
788
789 Re-implement the feature of showing eldoc info after editing.
790 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
791 (eldoc-edit-message-commands): New function.
792 (eldoc-print-after-edit): New variable.
793 (eldoc-pre-command-refresh-echo-area): Emit message only by
794 eldoc-message-commands.
795 (eldoc-mode): Restrict eldoc-message-commands to editing commands
796 if eldoc-print-after-edit is set. (Bug#16346)
797 * simple.el (read--expression): Enable eldoc-mode.
798 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
799
800 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
801 Eric S. Raymond <esr@thyrsus.com>
802
803 * version.el (emacs-repository-get-version): Enhance so the
804 function works correctly in either a Bazaar or Git repo.
805
806 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
807
808 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
809 Goes with removal of the joke manpages from /etc.
810
811 2014-01-10 K. Handa <handa@gnu.org>
812
813 * mail/rmail.el (rmail-get-coding-system):
814 Check rmail-get-coding-function before "funcall"ing it.
815
816 2014-01-10 Glenn Morris <rgm@gnu.org>
817
818 * emacs-lisp/authors.el (authors-fixed-entries):
819 Update for files that no longer exist.
820
821 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
822
823 * version.el (emacs-bzr-get-version): Restore compatibilty with
824 24.3 (Tested).
825
826 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
827
828 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
829 and Podfile.
830
831 2014-01-10 Eli Zaretskii <eliz@gnu.org>
832
833 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
834
835 2014-01-10 Chong Yidong <cyd@gnu.org>
836
837 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
838
839 2014-01-10 Anders Lindgren <andlind@gmail.com>
840
841 * follow.el (follow-cache-command-list): Include right-char and
842 left-char.
843
844 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
845
846 Spelling fixes.
847 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
848 * woman.el (woman-mark-horizontal-position):
849 Rename from woman-mark-horizonal-position. Use changed.
850
851 2014-01-10 Glenn Morris <rgm@gnu.org>
852
853 * info.el (info-initialize): If running uninstalled, ensure our
854 own info files are always found first, even if INFOPATH is set.
855
856 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
857
858 2014-01-09 David Engster <deng@randomsample.de>
859
860 * emacs-lisp/eieio-custom.el:
861 * emacs-lisp/eieio-opt.el: Set generated autoload file to
862 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
863 * emacs-lisp/eieio.el: Regenerate autoloads.
864
865 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
866
867 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
868 following renames. (Bug#8756)
869
870 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
873 (bug#16382).
874 (activate-mark): Add `no-tmm' argument.
875 (set-mark, push-mark-command): Use it instead of running
876 activate-mark-hook by hand.
877
878 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
879
880 In preparation for the move to git, sanitize out some
881 Bazaar-specific names.
882
883 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
884
885 * version.el (emacs-bzr-version): Name changed to
886 emacs-repository-version. Obsolete-variable alias made.
887 * loadup.el: Follow through on this name change.
888 * mail/emacsbug.el (report-emacs-bug): Factor out any
889 assumption about the version control system in use.
890
891 2014-01-08 David Engster <deng@randomsample.de>
892
893 * help-fns.el (help-fns-describe-function-functions):
894 New variable to call functions for augmenting help buffers.
895 (describe-function-1): Remove explicit calls to
896 `help-fns--compiler-macro', `help-fns--parent-mode' and
897 `help-fns--obsolete'. Put them in above new variable instead, and
898 call them through `run-hook-with-args'.
899 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
900 `eieio-describe-class'. Not meant for interactive use anymore,
901 but to augment existing help buffers. Remove optional second
902 argument. Create proper button for file location.
903 Rewrite function to use `insert' instead of `princ' and `prin1' where
904 possible.
905 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
906 (eieio-method-def, eieio-class-def): Move further up.
907 (describe-method, describe-generic, eieio-describe-method):
908 Remove aliases.
909 (eieio-help-constructor, eieio-help-generic): Rename from
910 `eieio-describe-constructor' and `eieio-describe-generic', resp.
911 Rewrite to use `insert' in the current buffer and use proper help
912 buttons.
913 (eieio-help-find-method-definition)
914 (eieio-help-find-class-definition): Also accept symbols as
915 arguments.
916 (eieio-help-mode-augmentation-maybee): Remove.
917 (eieio-describe-class-sb): Use `describe-function'.
918 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
919 Add `eieio-help-generic' and `eieio-help-constructor'.
920
921 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
922
923 Spelling fixes.
924 * language/china-util.el (hz-ascii-designation):
925 Rename from hz-ascii-designnation.
926 (hz-ascii-designation): Rename from hz-ascii-designnation.
927 All uses changed.
928
929 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
932 package-alist.
933
934 2014-01-08 Bastien Guerry <bzg@gnu.org>
935
936 * emacs-lisp/package.el (package-delete):
937 Correctly delete the package from package-alist.
938
939 2014-01-08 Daiki Ueno <ueno@gnu.org>
940
941 * emacs-lisp/package.el (url-recreate-url): Declare.
942 (url-http-target-url): Declare.
943 (package-handle-response): Include requested URL in the error message.
944 (package--check-signature): Don't re-signal errors from
945 package--with-work-buffer. Suggested by Stefan Monnier.
946
947 2014-01-07 Bastien Guerry <bzg@gnu.org>
948
949 * minibuffer.el (completion--try-word-completion): When both a
950 hyphen and a space are possible candidates for the character
951 following a word, display both candidates. (Bug#15980)
952
953 2014-01-07 Martin Rudalics <rudalics@gmx.at>
954
955 * window.el (balance-windows-2): While rounding don't give a
956 window more than the remainder. Bug#16351, Bug#16383.
957
958 2014-01-07 Glenn Morris <rgm@gnu.org>
959
960 * menu-bar.el (menu-bar-help-extra-packages): Remove.
961 (menu-bar-help-menu): Use view-external-packages instead.
962
963 2014-01-07 Bastien Guerry <bzg@gnu.org>
964
965 * emacs-lisp/package.el (package-delete): Also delete the package
966 name from `package-alist', not its description only.
967
968 2014-01-07 Glenn Morris <rgm@gnu.org>
969
970 * help.el (view-external-packages):
971 * menu-bar.el (menu-bar-help-extra-packages):
972 Visit efaq.info rather than etc/MORE.STUFF.
973
974 2014-01-07 Juri Linkov <juri@jurta.org>
975
976 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
977 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
978
979 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
980 that shadows RET. (Bug#16342)
981
982 2014-01-07 Chong Yidong <cyd@gnu.org>
983
984 * isearch.el (isearch-yank-char, isearch-yank-word)
985 (isearch-yank-line): Doc fix.
986
987 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
990 * emacs-lisp/elint.el (elint-find-builtins):
991 * emacs-lisp/eldoc.el (eldoc-symbol-function):
992 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
993 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
994 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
995 * apropos.el (apropos-safe-documentation):
996 * subr.el (symbol-file): Remove redundant fboundp.
997 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
998
999 2014-01-06 Bastien Guerry <bzg@gnu.org>
1000
1001 * hl-line.el (global-hl-line-overlay): Make a local variable.
1002 (global-hl-line-overlays): New variable to store all overlays.
1003 (global-hl-line-mode): Don't delete overlays from the current
1004 buffer when `global-hl-line-sticky-flag' is non-nil.
1005 (global-hl-line-highlight): Add new overlays to
1006 `global-hl-line-overlays'.
1007 (global-hl-line-unhighlight-all): New function to delete all
1008 overlays when turning off `global-hl-line-mode'.
1009 This fixes Bug#16183.
1010
1011 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * subr.el (set-transient-map): Fix nested case and docstring.
1014
1015 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1016
1017 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1018 `Texinfo' entry.
1019
1020 2014-01-06 Daniel Colascione <dancol@dancol.org>
1021
1022 Fix defun navigation in vc log view.
1023
1024 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1025 like `beginning-of-defun'.
1026 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1027 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1028 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1029 (log-view-extract-comment): Call `log-view-current-entry' directly
1030 instead of relying on broken `log-view-beginning-of-defun' behavior.
1031
1032 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1033
1034 Spelling fixes.
1035 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1036 * emacs-lisp/debug.el (cancel-debug-on-entry):
1037 * epg.el (epg-error-to-string):
1038 * files.el (recover-file):
1039 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1040 * mail/emacsbug.el (report-emacs-bug-hook):
1041 * mail/sendmail.el (mail-recover):
1042 * ses.el (ses-yank-resize):
1043 * term/ns-win.el (ns-print-buffer):
1044 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1045 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1046 All uses changed.
1047 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1048
1049 2014-01-06 Leo Liu <sdl.web@gmail.com>
1050
1051 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1052 to avoid shadowing global key. (Bug#16354)
1053
1054 2014-01-06 Daniel Colascione <dancol@dancol.org>
1055
1056 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1057 rst-mode.
1058
1059 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1060
1061 * window.el (balance-windows): Add mising t to fix Bug#16351.
1062
1063 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1064
1065 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1066 (bug#16285).
1067 (shr-insert): If we have a word that's longer than `shr-width',
1068 break after it anyway. Otherwise we'll do no breaking once we get
1069 such a long word.
1070
1071 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1072
1073 * net/eww.el (eww): Support single/double quote for search.
1074 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1075 (eww-history-quit): Delete and use quit-window.
1076 (eww-history-kill): Delete, because it doesn't work well and
1077 not necessary.
1078 (eww-history-mode-map): Delete some keys and add easy-menu.
1079
1080 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1081
1082 Fix misspelling of 'chinese' in rx (Bug#16237).
1083 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1084 chinese-two-byte.
1085
1086 Change subword regexps back to vars (Bug#16296).
1087 * progmodes/subword.el (subword-forward-regexp)
1088 (subword-backward-regexp): Change these back to variables.
1089
1090 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1093 syntax-begin-function (bug#16247).
1094
1095 2014-01-03 Chong Yidong <cyd@gnu.org>
1096
1097 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1098 (advice--docstring): Delete variable.
1099 (advice--make-1): Leave the docstring empty.
1100 (advice-add): Use function-documentation for advised docstring.
1101
1102 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1103 Ignore function-documentation property when getting documentation.
1104 (ad-activate-advised-definition): Use function-documentation
1105 generate the docstring.
1106 (ad-make-advised-definition): Don't call
1107 ad-make-advised-definition-docstring.
1108 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1109 Delete functions.
1110
1111 * progmodes/sql.el (sql-help): Use function-documentation instead
1112 of dynamic-docstring-function property. No need to autoload now.
1113 (sql--help-docstring): New variable.
1114 (sql--make-help-docstring): Use it.
1115
1116 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * ielm.el (ielm-tab): Retarget.
1119 (ielm-map): Use ielm-tab for tab.
1120 (ielm-complete-filename): Use comint-filename-completion.
1121 (ielm-complete-symbol): Remove.
1122 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1123 remove ielm-tab from completion-at-point-functions (bug#16224).
1124
1125 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1126 Beware signals raised by predicates (bug#16201).
1127
1128 2014-01-02 Richard Stallman <rms@gnu.org>
1129
1130 * dired-aux.el (dired-do-print): Handle printer-name.
1131
1132 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1133 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1134 (rmail-epa-decrypt): Turn off mime processing.
1135
1136 * mail/rmail.el (rmail-make-in-reply-to-field):
1137 Add parens in message-id.
1138
1139 * mail/rmail.el (rmail-get-coding-function): Variable.
1140 (rmail-get-coding-system): Use it.
1141
1142 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1143
1144 * international/mule-conf.el: Unify the charset indian-is13194.
1145 (indian-is13194): Specify unify-map.
1146
1147 2013-12-31 Leo Liu <sdl.web@gmail.com>
1148
1149 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1150
1151 2013-12-30 Daniel Colascione <dancol@dancol.org>
1152
1153 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1154 of printing a useless when we resume from sleep.
1155
1156 * progmodes/sh-script.el
1157 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1158 in indentation code. (Bug#16233)
1159
1160 2013-12-28 João Távora <joaotavora@gmail.com>
1161
1162 * elec-pair.el (electric-pair-post-self-insert-function):
1163 Don't open extra newlines at beginning of buffer. (Bug#16272)
1164
1165 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1166
1167 * frame.el (window-system-for-display): Don't allow to create a
1168 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1169
1170 2013-12-28 Glenn Morris <rgm@gnu.org>
1171
1172 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1173 Update callers.
1174
1175 * apropos.el (apropos-match-face):
1176 * calculator.el (calculator-displayer):
1177 * dabbrev.el (dabbrev-search-these-buffers-only):
1178 * face-remap.el (buffer-face-mode-face):
1179 * simple.el (yank-handled-properties):
1180 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1181 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1182 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1183 (hashcash-double-spend-database):
1184 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1185 (ruby-deep-indent-paren-style):
1186 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1187 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1188 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1189 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1190 Specify custom types.
1191
1192 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1193 * bookmark.el (bookmark-bmenu-use-header-line):
1194 * doc-view.el (doc-view-scale-internally):
1195 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1196 * register.el (register-preview-delay):
1197 * net/shr.el (shr-bullet):
1198 * progmodes/cfengine.el (cfengine-cf-promises)
1199 (cfengine-parameters-indent):
1200 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1201 * textmodes/reftex-vars.el (reftex-label-regexps):
1202 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1203
1204 * net/tls.el (tls-certtool-program): Fix default value.
1205
1206 * desktop.el (desktop-restore-in-current-display):
1207 * newcomment.el (comment-empty-lines):
1208 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1209 (idlwave-pad-keyword):
1210 * progmodes/tcl.el (tcl-tab-always-indent):
1211 * textmodes/reftex-vars.el (reftex-index-default-tag):
1212 * elec-pair.el (electric-pair-skip-whitespace):
1213 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1214
1215 * emacs-lisp/authors.el (authors-ignored-files)
1216 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1217
1218 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1219
1220 * shell.el (shell-dynamic-complete-command): Doc fix.
1221 (shell--command-completion-data): Shell completion now matches
1222 executable filenames from the current buffer's directory, on
1223 systems in which this behavior is the default (windows-nt, ms-dos).
1224
1225 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1226
1227 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1228
1229 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1232 (bug#16251).
1233
1234 * electric.el: Move all electric-pair-* to elec-pair.el.
1235 * elec-pair.el: New file, split from electric.el.
1236
1237 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1238
1239 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1240 indentation level is larger than the width, because that will
1241 infloop.
1242 (shr-insert): Fill repeatedly long texts, so that Japanese is
1243 formatted correctly (bug#16263).
1244 (shr-find-fill-point): Off by one error in comparison with the
1245 indentation.
1246
1247 2013-12-26 João Távora <joaotavora@gmail.com>
1248
1249 * electric.el (electric-pair-mode): More flexible engine for skip-
1250 and inhibit predicates, new options for pairing-related functionality.
1251 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1252 if that keeps or improves their balance in buffers.
1253 (electric-pair-delete-adjacent-pairs): Delete the pair when
1254 backspacing over adjacent matched delimiters.
1255 (electric-pair-open-extra-newline): Open extra newline when
1256 inserting newlines between adjacent matched delimiters.
1257 (electric--sort-post-self-insertion-hook):
1258 Sort post-self-insert-hook according to priority values when
1259 minor-modes are activated.
1260 * simple.el (newline-and-indent): Call newline with interactive
1261 set to t.
1262 (blink-paren-post-self-insert-function): Set priority to 100.
1263 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1264 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1265 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1266 electric-pair-open-newline-between-pairs to nil.
1267
1268 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1269
1270 * progmodes/python.el: Use lexical-binding.
1271 (python-nav-beginning-of-defun): Stop searching ASAP.
1272
1273 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1274
1275 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1276 Fix interactive spec. Doc fix. (Bug#15754)
1277
1278 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1279
1280 * emacs-lisp/byte-run.el (eval-when-compile):
1281 * progmodes/cc-defs.el (cc-eval-when-compile):
1282 Fix edebug spec (bug#16184).
1283
1284 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1285
1286 * net/shr.el (shr-visit-file): Remove debugging function.
1287 (shr-insert): Don't infloop if we can't find a good place to break
1288 the line (bug#16256).
1289
1290 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1291
1292 * progmodes/python.el:
1293 (python-nav--lisp-forward-sexp): New function.
1294 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1295 python-nav-lisp-forward-sexp-safe.
1296 (python-nav--forward-sexp): New argument SAFE allows switching
1297 forward sexp movement behavior for parens.
1298 (python-nav-forward-sexp): Throw errors on unterminated parens
1299 (Bug#16191).
1300 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1301 (python-nav-backward-sexp-safe): New functions.
1302 (python-shell-buffer-substring):
1303 Use `python-nav-forward-sexp-safe'.
1304
1305 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1306
1307 * net/shr.el (shr-find-fill-point): Don't break lines before a
1308 quotation mark.
1309 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1310 (shr-find-fill-point): Remove the special checks for the quotation
1311 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1312
1313 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1314
1315 * net/eww.el (eww-form-textarea): Use a different face for
1316 textareas than text input since they have different keymaps
1317 (bug#16142).
1318
1319 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1320
1321 * progmodes/python.el (python-nav-beginning-of-statement):
1322 Speed up (Bug#15295).
1323
1324 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1325
1326 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1327 the window configuration.
1328
1329 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1330
1331 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1332 we run on MS-Windows or MS-DOS.
1333
1334 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1335
1336 * window.el (balance-windows-area): Call window-size instead of
1337 window-height and window-width. Bug#16241.
1338
1339 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1340
1341 * net/eww.el (eww-bookmark-quit): Remove.
1342 (eww-bookmark-browse): Restore the window configuration when you
1343 choose a bookmark (bug#16144).
1344
1345 2013-12-24 Daniel Colascione <dancol@dancol.org>
1346
1347 * icomplete.el: Remove redundant :group arguments to `defcustom'
1348 throughout.
1349 (icomplete-show-matches-on-no-input): New customizable variable.
1350 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1351 we have something to show.
1352 (icomplete-exhibit): Compute completions even if we have no user input.
1353
1354 2013-12-23 Daniel Colascione <dancol@dancol.org>
1355
1356 * icomplete.el: Move `provide' to end of file.
1357
1358 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1359
1360 * net/gnutls.el (gnutls-verify-error): Add version tag.
1361
1362 2013-12-23 Chong Yidong <cyd@gnu.org>
1363
1364 * subr.el (set-transient-map): Rename from
1365 set-temporary-overlay-map. Doc fix.
1366
1367 * face-remap.el (text-scale-adjust):
1368 * indent.el (indent-rigidly):
1369 * kmacro.el (kmacro-call-macro):
1370 * minibuffer.el (minibuffer-force-complete):
1371 * repeat.el (repeat):
1372 * simple.el (universal-argument--mode):
1373 * calendar/todo-mode.el (todo-insert-item--next-param):
1374 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1375
1376 * indent.el (indent-rigidly): Use substitute-command-keys.
1377
1378 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1379
1380 * net/eww.el (eww-tag-select): Add text-property to jump to next
1381 select field.
1382 (eww): Add non-supported ftp error.
1383
1384 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1385
1386 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1387 comments. Handle electric indent after typing `?' and `!'.
1388
1389 2013-12-22 Chong Yidong <cyd@gnu.org>
1390
1391 * faces.el (face-spec-recalc): If the theme specs are not
1392 applicable to a frame, fall back on the defface spec.
1393 This prevents themes from obliterating faces on low-color terminals.
1394
1395 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1396
1397 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1398 after `{'. We need it after block openers, and it doesn't seem
1399 to hurt after hash openers.
1400
1401 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1402
1403 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1404 extracted from `ruby-smie-rules'.
1405 (ruby--electric-indent-chars): New variable.
1406 (ruby--electric-indent-p): New function.
1407 (ruby-mode): Use `electric-indent-functions' instead of
1408 `electric-indent-chars'.
1409
1410 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1411
1412 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1413 docstring.
1414 (ruby-smie-rules): Indent plus one level after `=>'.
1415
1416 2013-12-21 Richard Stallman <rms@gnu.org>
1417
1418 * simple.el (newline): Doc fix.
1419
1420 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1421
1422 * net/eww.el (eww-list-histories, eww-list-histories)
1423 (eww-history-browse, eww-history-quit, eww-history-kill)
1424 (eww-history-mode-map, eww-history-mode): New command and
1425 functions to list browser histories.
1426 (eww-form-text): Support text form with disabled
1427 and readonly attributes.
1428 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1429
1430 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1431
1432 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1433 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1434 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1435 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1436 Use `user-error'.
1437 (eww-bookmark-mode-map): Add menu.
1438 (eww-render, eww-mode): Use `setq-local'.
1439 (eww-tool-bar-map): New variable.
1440 (eww-mode): Set `tool-bar-map'.
1441 (eww-view-source): Check for `html-mode' with `fboundp'.
1442
1443 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1444
1445 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1446 elements with text inside. Also remove debugging.
1447
1448 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1449
1450 * cus-start.el (all): Add ns-use-srgb-colorspace.
1451
1452 2013-12-21 Chong Yidong <cyd@gnu.org>
1453
1454 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1455 undefined. Thus, theme settings for undefined faces do not take
1456 effect until the faces are defined with defface, the same as with
1457 theme variables.
1458
1459 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1460 (face-spec-reset-face): Don't assign extra properties in temacs.
1461 (face-spec-recalc): Apply X resources too.
1462
1463 2013-12-21 Chong Yidong <cyd@gnu.org>
1464
1465 * faces.el (face-spec-set):
1466 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1467 * custom.el (defface): Doc fixes (Bug#16203).
1468
1469 * indent.el (indent-rigidly-map): Add docstring, and move commands
1470 into named functions.
1471 (indent-rigidly-left, indent-rigidly-right)
1472 (indent-rigidly-left-to-tab-stop)
1473 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1474 indentation direction based on bidi direction, and accumulate
1475 sequential commands in a single undo boundary.
1476 (indent-rigidly--pop-undo): New utility function.
1477
1478 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * faces.el (read-face-name): Require crm.el when using crm-separator.
1481
1482 2013-12-20 Daniel Colascione <dancol@dancol.org>
1483
1484 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1485 so that we don't reflow comments into the shebang line.
1486
1487 2013-12-20 Juri Linkov <juri@jurta.org>
1488
1489 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1490 a position when `dired-directory' is non-nil. Check integer
1491 positions with `integerp'.
1492 (toggle-save-place, save-places-to-alist): Add check for
1493 `dired-directory'.
1494 (save-place-find-file-hook): Check integer positions with
1495 `integerp'.
1496 (save-place-dired-hook): Use `dired-goto-file' when
1497 `dired-filename' is found in the assoc list. Check integer
1498 positions with `integerp'.
1499 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1500
1501 * dired.el (dired-initial-position-hook): Rename back from
1502 `dired-initial-point-hook'.
1503 (dired-initial-position): Rename `dired-initial-point-hook' to
1504 `dired-initial-position-hook'.
1505 (dired-file-name-at-point): Doc fix. (Bug#15329)
1506
1507 2013-12-20 Juri Linkov <juri@jurta.org>
1508
1509 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1510 (read-regexp-suggestions): New function.
1511 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1512 Use `read-regexp-suggestions'. Add non-empty default to history
1513 for empty input.
1514 (occur-read-regexp-defaults-function): Remove function.
1515 (occur-read-primary-args): Use `regexp-history-last' instead of
1516 `occur-read-regexp-defaults-function'.
1517
1518 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1519 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1520 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1521 `hi-lock-read-regexp-defaults-function'. Doc fix.
1522 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1523 with `find-tag-default-as-symbol-regexp'. Doc fix.
1524 (hi-lock-read-regexp-defaults): Remove function.
1525 (hi-lock-regexp-okay): Add check for null.
1526
1527 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1528 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1529
1530 * subr.el (find-tag-default-as-symbol-regexp): New function.
1531 (find-tag-default-as-regexp): Move symbol regexp formatting to
1532 `find-tag-default-as-symbol-regexp'.
1533
1534 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1535
1536 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1537 (Bug#14179)
1538
1539 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1540
1541 * calendar/todo-mode.el: New implementation of item insertion
1542 commands and key bindings.
1543 (todo-key-prompt): New face.
1544 (todo-insert-item): New command.
1545 (todo-insert-item--parameters): New defconst, replacing defvar
1546 todo-insertion-commands-args-genlist.
1547 (todo-insert-item--param-key-alist): New defconst, replacing
1548 defvar todo-insertion-commands-arg-key-list.
1549 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1550 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1551 (todo-insert-item--next-param): New functions.
1552 (todo-insert-item--args, todo-insert-item--argleft)
1553 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1554 New variables.
1555 (todo-key-bindings-t): Change binding of "i" from
1556 todo-insertion-map to todo-insert-item.
1557 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1558 (todo-insertion-command-name, todo-insertion-commands-names)
1559 (todo-define-insertion-command, todo-insertion-commands)
1560 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1561
1562 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1563
1564 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1565 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1566 eval-when-compile.
1567 (todo-move-category): Allow choosing a non-existing todo file to
1568 move the category to, and create that file.
1569 (todo-default-priority): New user option.
1570 (todo-set-item-priority): Use it.
1571 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1572 (desktop-restore-file-buffer): Declare.
1573 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1574 (todo-modes-set-2): Locally set desktop-save-buffer to
1575 todo-desktop-save-buffer.
1576 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1577 (auto-mode-alist): Add autoload cookie.
1578
1579 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1580
1581 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1582 helpers.el was a poor choice of name.
1583 (string-remove-prefix): New function.
1584 (string-remove-suffix): New function.
1585
1586 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1587
1588 Fix assignment for new window total sizes.
1589 * window.el (window--pixel-to-size): Remove function.
1590 (window--pixel-to-total-1, window--pixel-to-total):
1591 Fix calculation of new total sizes.
1592
1593 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1594
1595 * comint.el (comint-output-filter): Fix rear-nonsticky property
1596 placement (Bug#16010).
1597
1598 2013-12-20 Chong Yidong <cyd@gnu.org>
1599
1600 * faces.el (read-color): Minor fix for completion function.
1601
1602 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1603
1604 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1605 New option. (Bug#16182)
1606 (ruby-smie--indent-to-stmt-p): Use it.
1607 (ruby-smie-rules): Revert the logic in the handling of `when'.
1608 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1609 (ruby-deep-arglist, ruby-deep-indent-paren)
1610 (ruby-deep-indent-paren-style): Update docstrings to note that the
1611 vars don't have any effect with SMIE.
1612
1613 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1614
1615 * calc/calc.el (calc-enter, calc-pop): Use the variable
1616 `calc-context-sensitive-enter'.
1617
1618 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1619
1620 * net/shr.el (shr-insert): Protect against infloops in degenerate
1621 tables.
1622
1623 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1624
1625 * progmodes/octave.el (octave): Add link to manual and octave
1626 homepage.
1627 (octave-mode-menu): Link to octave-mode manual.
1628
1629 2013-12-20 Leo Liu <sdl.web@gmail.com>
1630
1631 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1632 insertion using skeleton-end-newline. (Bug#16138)
1633
1634 2013-12-20 Juri Linkov <juri@jurta.org>
1635
1636 * replace.el (occur-engine): Use `add-face-text-property'
1637 to add the face property to matches and titles. (Bug#14645)
1638
1639 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1640 the palette of other hi-lock colors.
1641 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1642
1643 2013-12-19 Juri Linkov <juri@jurta.org>
1644
1645 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1646 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1647 (minibuffer-history-symbol): Move variable declaration closer to
1648 its usage.
1649
1650 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1651 (Bug#14785)
1652
1653 2013-12-19 Juri Linkov <juri@jurta.org>
1654
1655 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1656 New function.
1657 (log-edit-hook): Add it to :options. (Bug#16170)
1658
1659 2013-12-19 Juri Linkov <juri@jurta.org>
1660
1661 * simple.el (eval-expression-print-format): Don't check for
1662 command names and the last command. Always display additional
1663 formats of the integer result in the echo area, and insert them
1664 to the current buffer only with a zero prefix arg.
1665 Display character when char-displayable-p is non-nil.
1666 (eval-expression): With a zero prefix arg, set `print-length' and
1667 `print-level' to nil, and insert the integer values from
1668 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1669
1670 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1671 `eval-last-sexp-arg-internal'. Doc fix.
1672 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1673 `eval-last-sexp-print-value'. Doc fix.
1674 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1675 Set `print-length' and `print-level' to nil when arg is zero.
1676 (eval-last-sexp): Doc fix.
1677 (eval-defun-2): Print the integer values from
1678 `eval-expression-print-format' at the end.
1679
1680 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1681 values from `eval-expression-print-format' at the end.
1682
1683 * ielm.el (ielm-eval-input): Print the integer
1684 values from `eval-expression-print-format' at the end.
1685
1686 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1687
1688 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1689 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1690
1691 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1694 (hl-line-highlight, global-hl-line-highlight): Use it.
1695 (hl-line-overlay): Use defvar-local.
1696
1697 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1698
1699 * term/ns-win.el: Require dnd.
1700 (global-map): Remove drag items.
1701 (ns-insert-text, ns-set-foreground-at-mouse)
1702 (ns-set-background-at-mouse):
1703 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1704 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1705 New functions.
1706
1707 2013-12-19 Glenn Morris <rgm@gnu.org>
1708
1709 * emacs-lisp/ert.el (ert-select-tests):
1710 Fix string/symbol mixup. (Bug#16121)
1711
1712 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1715 keywords to their parent.
1716
1717 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1718
1719 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1720 first arg to be a string (fixed dead code), or an operator symbol.
1721 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1722 operator symbols.
1723 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1724 did nothing. Don't respond to `(:after ".")', it will be called
1725 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1726 change anything. Only return indentation for binary operators
1727 when they are hanging. De-dent opening paren when its parent is
1728 `.', otherwise it looks bad when the dot is not at bol or eol
1729 (bug#16182).
1730
1731 2013-12-19 Juri Linkov <juri@jurta.org>
1732
1733 * replace.el (query-replace-read-args): Split a non-negative arg
1734 and a negative arg into separate elements.
1735 (query-replace, query-replace-regexp, replace-string)
1736 (replace-regexp): Add arg `backward'. Doc fix.
1737 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1738 move point to the beginning of the match.
1739 (replace-search, replace-highlight): Use new arg `backward'
1740 to set the value of `isearch-forward'.
1741 (perform-replace): Add arg `backward' and use it to perform
1742 replacement backward. (Bug#14979)
1743
1744 * isearch.el (isearch-query-replace): Use a negative prefix arg
1745 to call `perform-replace' with a non-nil arg `backward'.
1746
1747 2013-12-18 Juri Linkov <juri@jurta.org>
1748
1749 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1750 to the default list. Move `log-edit-show-files' to the end.
1751 Add more available functions to options.
1752 (log-edit): Move default specific settings to
1753 `log-edit-insert-message-template'. Don't move point.
1754 (log-edit-insert-message-template): New function.
1755 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1756 (Bug#16170)
1757
1758 2013-12-18 Juri Linkov <juri@jurta.org>
1759
1760 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1761 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1762
1763 2013-12-18 Leo Liu <sdl.web@gmail.com>
1764
1765 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1766 (Bug#16186)
1767
1768 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1769
1770 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1771 formats for displaying file sizes when the -s switch is given.
1772 Instead, compute a separate format for displaying the size in
1773 blocks, which is displayed in addition to the "regular" size.
1774 When -h is given in addition to -s, produce size in blocks in
1775 human-readable form as well. (Bug#16179)
1776
1777 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1778
1779 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1780 Reference tables with ~\ref{...} instead of only \ref{...}.
1781
1782 2013-12-18 Chong Yidong <cyd@gnu.org>
1783
1784 * cus-edit.el (custom-magic-alist): Fix "themed" description
1785 (Bug#14348).
1786
1787 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1788 is non-nil, do not create a new entry in the symbol's theme-value
1789 or theme-face property; update theme-settings only (Bug#14664).
1790 (custom-available-themes): Doc fix.
1791
1792 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1793 (Bug#15674).
1794
1795 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1796
1797 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1798
1799 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1800 (Bug#13914).
1801
1802 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1803
1804 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1805
1806 2013-12-18 Glenn Morris <rgm@gnu.org>
1807
1808 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1809 * cus-start.el (load-prefer-newer): New option.
1810
1811 2013-12-18 Le Wang <l26wang@gmail.com>
1812
1813 * comint.el (comint-previous-matching-input-from-input):
1814 Retain point (Bug#13404).
1815
1816 2013-12-18 Chong Yidong <cyd@gnu.org>
1817
1818 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1819
1820 2013-12-18 Glenn Morris <rgm@gnu.org>
1821
1822 * mail/emacsbug.el (report-emacs-bug):
1823 Only mention enable-multibyte-characters if non-standard.
1824
1825 2013-12-17 Juri Linkov <juri@jurta.org>
1826
1827 * arc-mode.el (archive-extract-by-file): Check if directory exists
1828 before deletion to not show irrelevant errors if it doesn't exist.
1829
1830 2013-12-17 Juri Linkov <juri@jurta.org>
1831
1832 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1833 (Bug#14751)
1834
1835 * net/eww.el (browse-web): Add alias to `eww'.
1836 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1837 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1838
1839 * net/browse-url.el (browse-url-browser-function): Move `eww'
1840 closer to similar functions.
1841
1842 * startup.el (fancy-startup-screen, fancy-about-screen):
1843 Set browse-url-browser-function to eww-browse-url locally.
1844 (Bug#14751)
1845
1846 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * window.el (window--pixel-to-total): Remove unused `mini' var.
1849 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1850 (split-window): Remove unused `new' var.
1851 (window--display-buffer): Remove unused `frame' and `delta' vars.
1852 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1853 and display-width'.
1854
1855 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1856
1857 * dired.el (dired-mark-pop-up):
1858 * register.el (register-preview): Don't bind
1859 split-height-threshold here since it's now done in
1860 display-buffer-below-selected.
1861
1862 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1863
1864 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1865 xterm-rgb-convert-to-16bit.
1866 (rxvt-register-default-colors): Standardize with
1867 xterm-register-default-colors (Bug#14078).
1868
1869 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1870
1871 * simple.el (kill-region): Pass mark first, then point, so that
1872 kill-append works right (Bug#12819).
1873 (copy-region-as-kill, kill-ring-save): Likewise.
1874
1875 2013-12-17 Leo Liu <sdl.web@gmail.com>
1876
1877 * net/rcirc.el (rcirc-add-face):
1878 * eshell/em-prompt.el (eshell-emit-prompt):
1879 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1880 (Bug#16167)
1881
1882 2013-12-17 Chong Yidong <cyd@gnu.org>
1883
1884 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1885 Suggested by Xue Fuqiao.
1886
1887 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1888
1889 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1890
1891 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * net/shr.el (shr-insert-document): Remove unused var
1894 `shr-preliminary-table-render'.
1895 (shr-rescale-image): Remove unused arg `force'.
1896 (shr-put-image): Update calls accordingly.
1897 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1898
1899 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1900
1901 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1902 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1903 :close-all, to see which indentation method to use (Bug#16116).
1904 (smie-rules-function): Document the method :close-all.
1905
1906 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1907
1908 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1909
1910 * net/eww.el (eww-display-html): If we can't find the anchor we're
1911 looking for, then go to point-min.
1912
1913 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1914
1915 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1916 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1917 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1918 Expand dir too, in case it's relative.
1919
1920 2013-12-16 Juri Linkov <juri@jurta.org>
1921
1922 * desktop.el (desktop-auto-save-timeout): Change default to
1923 `auto-save-timeout'. Doc fix.
1924 (desktop-save): Skip the timestamp in desktop-saved-frameset
1925 when checking for auto-save changes.
1926 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1927 `desktop-auto-save' is called repeatedly by the idle timer.
1928 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1929 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1930 (Bug#15331)
1931
1932 2013-12-16 Juri Linkov <juri@jurta.org>
1933
1934 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1935 (Bug#16035)
1936 (isearch-pre-command-hook): Check `this-command' for symbolp.
1937
1938 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1939
1940 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1941
1942 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1943
1944 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1945 (cfengine3--current-function): Bring in the current-function
1946 functionality from `cfengine3--current-word'.
1947 (cfengine3-completion-function): Bring in the
1948 bounds-of-current-word functionality from
1949 `cfengine3--current-word'.
1950
1951 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1952
1953 * window.el (display-buffer-below-selected):
1954 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1955
1956 2013-12-16 Leo Liu <sdl.web@gmail.com>
1957
1958 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1959 Remove NOMSG arg and all uses changed.
1960
1961 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1964 (cua--deactivate-rectangle): Don't deactivate the mark.
1965 (cua-set-rectangle-mark): Don't set mark-active since
1966 cua--activate-rectangle already does it for us.
1967 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1968 non-rectangular region.
1969
1970 * emulation/cua-base.el (cua-repeat-replace-region):
1971 Use with-current-buffer.
1972
1973 * net/gnutls.el: Use cl-lib.
1974 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1975
1976 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1977
1978 * emacs-lisp/package.el (package-built-in-p): Support both
1979 built-in and the package.el converted package descriptions.
1980 (package-show-package-list): Allow keywords.
1981 (package-keyword-button-action): Use it instead of
1982 `finder-list-matches'.
1983 (package-menu-filter-interactive): Interactive filtering (by
1984 keyword) function.
1985 (package-menu--generate): Support keywords and change keymappings
1986 and headers when they are given.
1987 (package--has-keyword-p): Helper function.
1988 (package-menu--refresh): Use it.
1989 (package--mapc): Helper function.
1990 (package-all-keywords): Use it.
1991 (package-menu-mode-map): Set up menu items and keybindings to
1992 provide a filtering UI.
1993
1994 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1995
1996 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1997 the behavior when a certificate fails validation. Defaults to
1998 old behavior: never abort, just warn.
1999 (gnutls-negotiate): Use it.
2000
2001 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2002
2003 * window.el (display-buffer-below-selected): Never split window
2004 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2005
2006 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2007
2008 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2009 (package-buffer-info): Use it (bug#15108).
2010
2011 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * icomplete.el (icomplete-completions): Make sure the prefix is already
2014 displayed elsewhere before hiding it (bug#16219).
2015
2016 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2017
2018 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2019 open-paren tokens when preceded by a open-paren, too.
2020 (ruby-smie-rules): Handle virtual indentation after open-paren
2021 tokens specially. If there is code between it and eol, return the
2022 column where is starts (Bug#16118).
2023
2024 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2025
2026 * progmodes/cfengine.el: Fix `add-hook' doc.
2027 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2028 (cfengine3--current-word): Fix parameters.
2029 (cfengine3-make-syntax-cache): Simplify further.
2030 (cfengine3-completion-function, cfengine3--current-function):
2031 Use `assq' for symbols.
2032 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2033
2034 2013-12-13 Glenn Morris <rgm@gnu.org>
2035
2036 * loadup.el (load-path): Warn if site-load or site-init changes it.
2037 No more need to reset it when bootstrapping.
2038
2039 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2040
2041 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2042 locations for cf-promises.
2043 (cfengine-mode-syntax-functions-regex): New caching variable.
2044 (cfengine3-fallback-syntax): Fallback syntax for cases where
2045 cf-promises doesn't run.
2046 (cfengine3--current-word): Reimplement using
2047 `cfengine-mode-syntax-functions-regex'.
2048 (cfengine3-completion-function, cfengine3--current-function):
2049 Use `cfengine3-make-syntax-cache' directly.
2050 (cfengine3-clear-syntax-cache): New function.
2051 (cfengine3-make-syntax-cache): Simplify and create
2052 `cfengine-mode-syntax-functions-regex' on demand.
2053 (cfengine3-format-function-docstring): Don't call
2054 `cfengine3-make-syntax-cache' explicitly.
2055
2056 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2057
2058 Fix windmove-find-other-window broken after pixelwise resizing
2059 (Bug#16017).
2060 * windmove.el (windmove-other-window-loc): Revert change from
2061 2013-12-04.
2062 (windmove-find-other-window): Call window-in-direction.
2063 * window.el (window-in-direction): New arguments SIGN, WRAP and
2064 MINI to emulate original windmove-find-other-window behavior.
2065
2066 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2067
2068 * simple.el (blink-matching--overlay): New variable.
2069 (blink-matching-open): Instead of moving point, highlight the
2070 matching paren with an overlay
2071 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2072
2073 * faces.el (paren-showing-faces, show-paren-match)
2074 (show-paren-mismatch): Move from paren.el.
2075
2076 2013-12-13 Leo Liu <sdl.web@gmail.com>
2077
2078 * indent.el (indent-region): Disable progress reporter in
2079 minibuffer. (Bug#16108)
2080
2081 * bindings.el (visual-order-cursor-movement): Fix version.
2082
2083 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2084
2085 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2086 Also match after beginning of line.
2087 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2088 files. Thanks to Russell Sim. (Bug#15378)
2089
2090 2013-12-13 Juri Linkov <juri@jurta.org>
2091
2092 * simple.el <Keypad support>: Remove key bindings duplicated
2093 with bindings.el. (Bug#14397)
2094
2095 2013-12-13 Juri Linkov <juri@jurta.org>
2096
2097 * comint.el (comint-mode-map): Replace `delete-char' with
2098 `delete-forward-char'. (Bug#16109)
2099
2100 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2101
2102 * progmodes/python.el (python-indent-calculate-indentation):
2103 Fix de-denters cornercase. (Bug#15731)
2104
2105 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2108 (advice--make): Pay attention to `depth'.
2109 (advice--make-1): Don't autoload commands eagerly.
2110 * emacs-lisp/elp.el (elp-instrument-function):
2111 * emacs-lisp/trace.el (trace-function-internal):
2112 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2113
2114 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2115
2116 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2117
2118 * term/w32-win.el (w32-handle-dropped-file):
2119 * startup.el (normal-top-level):
2120 * net/browse-url.el (browse-url-file-url):
2121 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2122 decode file names using 'utf-8' rather than
2123 file-name-coding-system.
2124
2125 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2126
2127 * progmodes/python.el (python-indent-context)
2128 (python-indent-calculate-indentation): Fix auto-identation
2129 behavior for comment blocks. (Bug#15916)
2130
2131 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2132
2133 * progmodes/python.el (python-indent-calculate-indentation):
2134 When determining indentation, don't treat "return", "pass", etc., as
2135 operators when they are just string constituents. (Bug#15812)
2136
2137 2013-12-12 Juri Linkov <juri@jurta.org>
2138
2139 * uniquify.el (uniquify-buffer-name-style): Change default to
2140 `post-forward-angle-brackets'.
2141
2142 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2143 `uniquify'. Change default to `post-forward-angle-brackets'.
2144
2145 2013-12-11 Glenn Morris <rgm@gnu.org>
2146
2147 * emacs-lisp/package.el (finder-list-matches):
2148 Autoload rather than falsely declaring.
2149
2150 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2151
2152 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2153 (eww-mode-map): Use them.
2154
2155 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2156
2157 * window.el (display-buffer-in-side-window): Fix doc-string
2158 (Bug#16115).
2159
2160 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2161
2162 * vc/vc-git.el: Silence byte-compiler warnings.
2163 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2164 (log-edit-set-header): Declare.
2165
2166 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2167
2168 * Makefile.in (custom-deps, finder-data): Run output file names
2169 through unmsys--file-name. (Bug#16099)
2170
2171 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2174 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2175
2176 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2177 instead of deleting the selection "by hand" (bug#16098).
2178 Rely on insert-for-yank to yank rectangles.
2179 (cua-highlight-region-shift-only): Mark obsolete.
2180 (cua-mode): Don't enable/disable transient-mark-mode,
2181 shift-select-mode (cua-mode works both with and without them), and
2182 pc-selection-mode (obsolete).
2183 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2184 (cua--deactivate-rectangle): Deactivate it.
2185
2186 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2187 (delete-selection-helper): Make sure yank starts at the top of the
2188 deleted region.
2189 (minibuffer-keyboard-quit): Use region-active-p.
2190
2191 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2192
2193 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2194 to `delete' (bug#16109).
2195
2196 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2197
2198 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2199 info manual and show keybindings and set `:group' keyword.
2200
2201 2013-12-11 Juri Linkov <juri@jurta.org>
2202
2203 * delsel.el (delete-active-region): Let-bind `this-command'
2204 to prevent `kill-region' from changing its original value.
2205 (delete-selection-helper): Handle `overwrite-mode' for the type
2206 `kill' exactly the same way as for the type `t'.
2207 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2208 Support more commands. (Bug#13312)
2209
2210 2013-12-11 Juri Linkov <juri@jurta.org>
2211
2212 * bindings.el: Map kp keys to non-kp keys systematically
2213 with basic modifiers control, meta and shift. (Bug#14397)
2214
2215 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2216
2217 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2218 "Close browser" menu items. Fix wrong function of "List
2219 bookmarks".
2220
2221 2013-12-11 Juri Linkov <juri@jurta.org>
2222
2223 * misearch.el (multi-isearch-buffers): Set the value of
2224 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2225 arg of isearch-forward to t.
2226 (multi-isearch-buffers-regexp): Set the value of
2227 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2228 arg of isearch-forward-regexp to t.
2229 (multi-isearch-files): Set the value of
2230 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2231 arg of isearch-forward to t.
2232 (multi-isearch-files-regexp): Set the value of
2233 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2234 arg of isearch-forward-regexp to t. (Bug#16035)
2235
2236 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2237 arg of isearch-forward to t.
2238 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2239 arg of isearch-forward-regexp to t.
2240 (dired-isearch-filter-filenames): Remove unnecessary check for
2241 `dired-isearch-filenames'.
2242
2243 * comint.el (comint-history-isearch-backward):
2244 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2245 (comint-history-isearch-backward-regexp):
2246 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2247
2248 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2249
2250 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2251 unmsys--file-name. (Bug#16099)
2252
2253 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2254
2255 * emacs-lisp/package.el (package-keyword-button-action):
2256 Remove finder.el require dependency.
2257
2258 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2259
2260 * emacs-lisp/package.el: Require finder.el.
2261 (describe-package-1): Add keyword buttons.
2262 (package-make-button): New convenience function.
2263 (package-keyword-button-action): Keyword button action using
2264 `finder-list-matches'.
2265
2266 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2267
2268 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2269 last commit.
2270
2271 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2272
2273 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2274 symlinked files.
2275
2276 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2277
2278 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2279 after the end of a percent literal.
2280
2281 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2282
2283 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2284 Handle caret-delimited strings (Bug#16079).
2285
2286 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2287
2288 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2289 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2290 `ruby-parse-partial' (Bug#16078).
2291
2292 2013-12-09 Leo Liu <sdl.web@gmail.com>
2293
2294 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2295
2296 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2297
2298 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2299 (js-switch-indent-offset): New option.
2300 (js--proper-indentation): Use it. And handle the case when
2301 "default" is actually a key in an object literal.
2302 (js--same-line): New function.
2303 (js--multi-line-declaration-indentation): Use it.
2304 (js--indent-in-array-comp, js--array-comp-indentation):
2305 New functions.
2306 (js--proper-indentation): Use them, to handle array comprehension
2307 continuations.
2308
2309 2013-12-08 Leo Liu <sdl.web@gmail.com>
2310
2311 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2312 (flymake-make-overlay): Remove arg MOUSE-FACE.
2313 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2314
2315 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2316
2317 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2318 New function.
2319 (redisplay-highlight-region-function): Use it.
2320
2321 * emulation/cua-base.el (cua--explicit-region-start)
2322 (cua--last-region-shifted): Remove.
2323 (cua--deactivate): Use deactivate-mark.
2324 (cua--pre-command-handler-1): Don't handle shift-selection.
2325 (cua--post-command-handler-1): Don't change transient-mark-mode.
2326 (cua--select-keymaps): Use region-active-p rather than
2327 cua--explicit-region-start or cua--last-region-shifted.
2328 (cua-mode): Enable shift-select-mode.
2329
2330 2013-12-08 Leo Liu <sdl.web@gmail.com>
2331
2332 * progmodes/flymake.el (flymake-popup-current-error-menu):
2333 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2334 (flymake-posn-at-point-as-event, flymake-popup-menu)
2335 (flymake-make-emacs-menu): Remove. (Bug#16077)
2336
2337 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * rect.el (rectangle-mark-mode): Activate mark even if
2340 transient-mark-mode is off (bug#16066).
2341 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2342 is > mark and at bolp.
2343
2344 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2345 (region-extract-function): Use it.
2346 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2347 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2348 Delete functions.
2349 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2350 kill-ring-save, kill-region, delete-char, delete-forward-char.
2351 Ignore self-insert-iso.
2352
2353 * emulation/cua-gmrk.el (cua--init-global-mark):
2354 Ignore `self-insert-iso'.
2355
2356 * emulation/cua-base.el (cua--prefix-copy-handler)
2357 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2358 checking cua--rectangle.
2359 (cua-delete-region): Use region-extract-function.
2360 (cua-replace-region): Delete function.
2361 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2362 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2363 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2364 (cua--init-keymaps): Don't remap delete-selection commands.
2365 (cua-mode): Use delete-selection-mode instead of rolling our own
2366 (bug#16085).
2367
2368 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2369 Obey region-extract-function.
2370
2371 Make registers and delete-selection-mode work on rectangles.
2372 * register.el (describe-register-1): Don't modify the register's value.
2373 (copy-to-register): Obey region-extract-function.
2374 * delsel.el (delete-active-region): Obey region-extract-function.
2375
2376 2013-12-08 Leo Liu <sdl.web@gmail.com>
2377
2378 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2379 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2380 (flymake-compilation-prevents-syntax-check)
2381 (flymake-start-syntax-check-on-newline)
2382 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2383 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2384 (flymake-xml-program, flymake-master-file-dirs)
2385 (flymake-master-file-count-limit)
2386 (flymake-allowed-file-name-masks): Relocate.
2387 (flymake-makehash, flymake-float-time)
2388 (flymake-replace-regexp-in-string, flymake-split-string)
2389 (flymake-get-temp-dir): Remove.
2390 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2391 (flymake-current-row, flymake-selected-frame)
2392 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2393 related functions. (Bug#16077)
2394
2395 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2396
2397 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2398
2399 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2400
2401 * help-fns.el (describe-function-1): Use new advice-* functions
2402 rather than old ad-* functions. Fix function type description and
2403 source links for advised functions and subrs.
2404
2405 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2406
2407 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2408
2409 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2410
2411 * progmodes/compile.el (compilation-start):
2412 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2413
2414 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2415 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2416
2417 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2418
2419 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2420 Touch up the last change.
2421
2422 2013-12-06 Leo Liu <sdl.web@gmail.com>
2423
2424 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2425 (inferior-octave-startup): Always use "octave> " for prompt.
2426 (octave-goto-function-definition)
2427 (octave-sync-function-file-names)
2428 (octave-find-definition-default-filename): Remove redundant backquotes.
2429
2430 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2431
2432 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2433 syntax for `?'.
2434 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2435 where appropriate already.
2436 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2437 end of method names (Bug#15874).
2438
2439 2013-12-06 Juri Linkov <juri@jurta.org>
2440
2441 * isearch.el (isearch--saved-overriding-local-map):
2442 New internal variable.
2443 (isearch-mode): Set it to the initial value of
2444 `overriding-terminal-local-map'.
2445 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2446 with `isearch--saved-overriding-local-map'. (Bug#16035)
2447
2448 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2449
2450 * progmodes/octave.el (inferior-octave-completion-table):
2451 Turn back into function, use `completion-table-with-cache'
2452 (Bug#11906). Update all references.
2453
2454 * minibuffer.el (completion-table-with-cache): New function.
2455
2456 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2457
2458 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2459
2460 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2461
2462 * net/eww.el (eww-current-source): New variable to store page
2463 source.
2464 (eww-display-html, eww-mode, eww-save-history)
2465 (eww-restore-history): Use it.
2466 (eww-view-source): New command to view page source.
2467 Opportunistically uses `html-mode' to highlight the buffer.
2468 (eww-mode-map): Install it.
2469
2470 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/dbus.el (dbus-unregister-service)
2473 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2474 Fix docstring.
2475 (dbus-unregister-service): Skip :serial entries in
2476 `dbus-registered-objects-table'.
2477 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2478
2479 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2480
2481 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2482 around keywords with extra `split-string' argument.
2483
2484 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2485
2486 * windmove.el (windmove-other-window-loc): Handle navigation
2487 between windows (excluding the minibuffer window - Bug#16017).
2488
2489 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2490
2491 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2492 in D-Bus type syntax.
2493 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2494 preserve unibyte strings. (Bug#16048)
2495
2496 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2499 Call force-mode-line-update is the proper buffer (bug#16042).
2500
2501 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2502
2503 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2504 `log-edit-remember-comment', make argument optional. Adjust all
2505 callers.
2506 (log-edit-mode): Add `log-edit-remember-comment' to
2507 `kill-buffer-hook' locally.
2508 (log-edit-kill-buffer): Don't remember comment explicitly since
2509 the buffer is killed anyway.
2510
2511 2013-12-04 Juri Linkov <juri@jurta.org>
2512
2513 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2514 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2515
2516 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2517
2518 * notifications.el (notifications-close-notification): Call the
2519 D-Bus method with ID being a `:uint32'. (Bug#16030)
2520
2521 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2522
2523 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2524
2525 2013-12-03 Juri Linkov <juri@jurta.org>
2526
2527 * progmodes/compile.el (compilation-start): Rename window alist
2528 entry `no-display-ok' to `allow-no-window'.
2529
2530 * simple.el (shell-command): Add window alist entry
2531 `allow-no-window' to `display-buffer'.
2532 (async-shell-command): Doc fix.
2533
2534 * window.el (display-buffer-no-window): New action function.
2535 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2536
2537 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2538
2539 * vc/log-edit.el (log-edit-set-header): Extract from
2540 `log-edit-toggle-header'.
2541 (log-edit-extract-headers): Separate the summary, when extracted
2542 from header, from the rest of the message with an empty line.
2543
2544 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2545 line, if present, to the Summary header.
2546
2547 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2550 in current-buffer (bug#16029).
2551
2552 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2553
2554 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2555 (debugger-mode-map): Bind it.
2556 (debugger--backtrace-base): New function.
2557 (debugger-eval-expression): Use it.
2558 (debugger-frame-number): Skip local vars when present.
2559 (debugger--locals-visible-p, debugger--insert-locals)
2560 (debugger--show-locals, debugger--hide-locals): New functions.
2561
2562 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2563
2564 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2565 "LC_ALL".
2566 (tramp-get-remote-locale): New defun.
2567 (tramp-open-connection-setup-interactive-shell): Use it.
2568
2569 2013-12-02 Leo Liu <sdl.web@gmail.com>
2570
2571 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2572
2573 * progmodes/sh-script.el (sh-shell-process):
2574 * progmodes/octave.el (inferior-octave-process-live-p):
2575 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2576 (gdb-inferior-io-sentinel):
2577 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2578
2579 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2580
2581 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2582 `save-selected-window' to `log-edit-hide-buf'. This makes
2583 `log-edit-show-files' idempotent.
2584 (log-edit-show-files): Mark the new window as dedicated.
2585
2586 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2587
2588 * vc/log-edit.el (log-edit-mode-map): Add binding for
2589 `log-edit-kill-biffer'.
2590 (log-edit-hide-buf): Add a FIXME comment.
2591 (log-edit-add-new-comment): New function, extracted from
2592 `log-edit-done'.
2593 (log-edit-done, log-edit-add-to-changelog): Use it.
2594 (log-edit-kill-buffer): New command.
2595
2596 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2597
2598 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2599 instead of killing the buffer.
2600
2601 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2604
2605 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2606
2607 * net/eww.el (eww-form-checkbox-selected-symbol)
2608 (eww-form-checkbox-symbol): New customizable variable.
2609 (eww-form-checkbox, eww-toggle-checkbox):
2610 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2611
2612 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2613 (shr--get-media-pref, shr--extract-best-source): New function.
2614 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2615 no :src tag was specified.
2616
2617 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2618 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2619 Use \\` to match beginning of string instead of ^.
2620 (eww-browse-with-external-browser): Provide optional URL parameter.
2621 (eww-render): Set `eww-current-title' back to "".
2622
2623 * net/shr.el (shr-tag-video): Display content for video if no
2624 poster is available.
2625 (shr-tag-audio): Add support for <audio> tag.
2626
2627 * net/eww.el (eww-text-input-types): New const.
2628 (eww-process-text-input): Treat input types in
2629 `eww-text-input-types' as text.
2630
2631 * net/shr.el (shr-tag-table): Fix comment typo.
2632
2633 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2634
2635 * net/eww.el (eww-follow-link): New command to avoid reloading
2636 pages when we follow #target links (bug#15243).
2637 (eww-quit): Special mode buffers shouldn't query before exiting.
2638
2639 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2640
2641 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2642 forms.
2643
2644 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2645
2646 * net/eww.el (eww-restore-history): Update the window title after
2647 moving in the history.
2648 (eww-current-dom): New variable used to save the current DOM.
2649
2650 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2651
2652 * vc/log-edit.el (log-edit-mode-map): Add binding for
2653 `log-edit-beginning-of-line'.
2654 (log-edit-setup-add-author): New user option.
2655 (log-edit-beginning-of-line): New command.
2656 (log-edit): Move major mode call above the contents setup so that
2657 the local variable values are already applied.
2658 (log-edit): Only insert "Author: " when
2659 `log-edit-setup-add-author' is non-nil.
2660 (log-edit): When SETUP is non-nil, position point after ": "
2661 instead of point-min.
2662
2663 2013-12-01 Glenn Morris <rgm@gnu.org>
2664
2665 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2666
2667 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2668
2669 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2670 redisplay to make sure the initial frame gets a chance to become
2671 visible. (Bug#16014)
2672
2673 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2674
2675 Support resizing frames and windows pixelwise.
2676 * cus-start.el (frame-resize-pixelwise)
2677 (window-resize-pixelwise): New entries.
2678 * emacs-lisp/debug.el (debug): Use window-total-height instead
2679 of window-total-size.
2680 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2681 * help.el (describe-bindings-internal): Call help-buffer
2682 (temp-buffer-max-width): New option.
2683 (resize-temp-buffer-window, help-window-setup)
2684 (with-help-window): Rewrite.
2685 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2686 dragging dividers.
2687 * window.el (frame-char-size, window-min-pixel-height)
2688 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2689 (window-min-pixel-width, window-safe-min-pixel-size)
2690 (window-combination-p, window-safe-min-size)
2691 (window-resizable-p, window--size-to-pixel)
2692 (window--pixel-to-size, window--resize-apply-p): New functions.
2693 (window-safe-min-height): Fix doc-string.
2694 (window-size, window-min-size, window--min-size-1)
2695 (window-sizable, window-sizable-p, window--min-delta-1)
2696 (window-min-delta, window--max-delta-1, window-max-delta)
2697 (window--resizable, window--resizable-p, window-resizable)
2698 (window-full-height-p, window-full-width-p, window-at-side-p)
2699 (window--in-direction-2, window-in-direction)
2700 (window--resize-reset-1, window--resize-mini-window)
2701 (window-resize, window-resize-no-error)
2702 (window--resize-child-windows-normal)
2703 (window--resize-child-windows, window--resize-siblings)
2704 (window--resize-this-window, window--resize-root-window)
2705 (window--resize-root-window-vertically)
2706 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2707 (maximize-window, minimize-window, delete-window)
2708 (quit-restore-window, window-split-min-size, split-window)
2709 (balance-windows-2, balance-windows)
2710 (balance-windows-area-adjust, balance-windows-area)
2711 (window--state-get-1, window-state-get, window--state-put-1)
2712 (window--state-put-2, window-state-put)
2713 (display-buffer-record-window, window--display-buffer):
2714 Make functions handle pixelwise sizing of windows.
2715 (display-buffer--action-function-custom-type)
2716 (display-buffer-fallback-action):
2717 Add display-buffer-in-previous-window.
2718 (display-buffer-use-some-window): Resize window to height it had
2719 before.
2720 (fit-window-to-buffer-horizontally): New option.
2721 (fit-frame-to-buffer): Describe new values.
2722 (fit-frame-to-buffer-bottom-margin): Replace with
2723 fit-frame-to-buffer-margins.
2724 (window--sanitize-margin): New function.
2725 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2726 using window-text-pixel-size.
2727
2728 2013-11-30 Glenn Morris <rgm@gnu.org>
2729
2730 * emacs-lisp/bytecomp.el (byte-compile-form):
2731 Make the `interactive-only' warning like the `obsolete' one.
2732 * comint.el (comint-run):
2733 * files.el (insert-file-literally, insert-file):
2734 * replace.el (replace-string, replace-regexp):
2735 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2736 (goto-line, insert-buffer, next-line, previous-line):
2737 Tweak `interactive-only' spec.
2738
2739 Stop keeping (most) generated cedet grammar files in the repository.
2740 * Makefile.in (semantic): New.
2741 (compile-main): Depend on semantic.
2742
2743 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2746 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2747
2748 * uniquify.el (uniquify-buffer-name-style): Change default.
2749
2750 * loadup.el: Preload "uniquify".
2751
2752 * time.el (display-time-update): Update all mode lines (bug#15999).
2753
2754 * electric.el (electric-indent-mode): Enable by default.
2755 * loadup.el: Preload "electric".
2756
2757 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2758
2759 * emacs-lisp/helpers.el (string-empty-p): New function.
2760 (string-blank-p): New function.
2761
2762 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2763
2764 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2765 (Bug#14029).
2766
2767 2013-11-29 Andreas Politz <politza@fh-trier.de>
2768 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2769 allow non-lambda lists as functions.
2770 (imenu--in-alist): Don't recurse into non-subalists.
2771 (imenu): Don't pass function itself as an argument (Bug#14029).
2772
2773 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * progmodes/python.el (python-mode-map): Remove binding for ":".
2776 (python-indent-electric-colon): Remove command.
2777 (python-indent-post-self-insert-function): Integrate the previous code
2778 of python-indent-electric-colon. Make it conditional on
2779 electric-indent-mode.
2780 (python-mode): Add ?: to electric-indent-chars.
2781 Move python-indent-post-self-insert-function to the end of
2782 post-self-insert-hook.
2783
2784 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * doc-view.el (doc-view-goto-page): Update mode-line.
2787
2788 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2789
2790 2013-11-27 Glenn Morris <rgm@gnu.org>
2791
2792 * international/charprop.el, international/uni-bidi.el:
2793 * international/uni-category.el, international/uni-combining.el:
2794 * international/uni-comment.el, international/uni-decimal.el:
2795 * international/uni-decomposition.el, international/uni-digit.el:
2796 * international/uni-lowercase.el, international/uni-mirrored.el:
2797 * international/uni-name.el, international/uni-numeric.el:
2798 * international/uni-old-name.el, international/uni-titlecase.el:
2799 * international/uni-uppercase.el:
2800 Remove generated files from VCS repository.
2801
2802 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2803
2804 * filenotify.el (file-notify-add-watch): Don't special-case
2805 w32notify when computing the directory to watch.
2806
2807 2013-11-27 Glenn Morris <rgm@gnu.org>
2808
2809 Make bootstrap without generated uni-*.el files possible again.
2810 * loadup.el: Update command-line-args checking for unidata-gen.
2811 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2812 * composite.el, international/characters.el:
2813 Handle unicode tables being undefined.
2814
2815 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2816 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2817 (compile-main): Depend on leim rule.
2818 (leim): New rule.
2819 * loadup.el: Move leim-list.el to leim/ subdirectory.
2820 * startup.el (normal-top-level): No more leim directory.
2821 * international/ja-dic-cnv.el (skkdic-convert):
2822 Disable version-control and autoloads in output files.
2823 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2824 Disable version-control and autoloads in output files.
2825 * leim/quail: Move here from ../leim.
2826 * leim/quail/hangul.el (hangul-input-method-activate):
2827 Add autoload cookie.
2828 (generated-autoload-load-name): Set file-local value.
2829 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2830 (generated-autoload-load-name): Set file-local value.
2831
2832 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2833
2834 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2835 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2836 (eww-quit): Ask confirmation before quitting eww.
2837
2838 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2839
2840 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2841 reading output from Diff on MS-Windows and MS-DOS.
2842
2843 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2844
2845 * emacs-lisp/helpers.el (string-reverse): New function.
2846
2847 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2850 names on MS Windows, like "/[::1]:".
2851
2852 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2853 SWITCHES.
2854
2855 2013-11-26 Glenn Morris <rgm@gnu.org>
2856
2857 * progmodes/python.el (python-indent-guess-indent-offset):
2858 Avoid corner-case error. (Bug#15975)
2859
2860 Preload leim-list.el. (Bug#4789)
2861 * loadup.el: Load leim-list.el when found.
2862 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2863
2864 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2865
2866 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2867
2868 * emacs-lisp/helpers.el (string-join): New function.
2869
2870 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2871
2872 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2873 Mark as obsolete and replace it with a symbol property.
2874 (byte-compile-form): Use new 'interactive-only property.
2875 * comint.el, files.el, replace.el, simple.el:
2876 Apply new 'interactive-only properly.
2877
2878 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2879
2880 * window.el (display-buffer-at-bottom): Make sure that
2881 split-window-sensibly creates the new window on bottom
2882 (Bug#15961).
2883
2884 2013-11-23 David Kastrup <dak@gnu.org>
2885
2886 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2887 on the conflict markers when available.
2888 (smerge--get-marker): New function.
2889 (smerge-end-re, smerge-base-re): Add subgroup.
2890
2891 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * frame.el (handle-focus-in, handle-focus-out): Add missing
2894 interactive spec.
2895
2896 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2897
2898 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2899 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2900
2901 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2904 (gomoku--last-pos): New var.
2905 (gomoku--intangible-chars): New const.
2906 (gomoku--intangible): New function.
2907 (gomoku-mode): Use it. Derive from special-mode.
2908 (gomoku-move-up): Adjust line count.
2909 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2910 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2911 Simplify accordingly.
2912
2913 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2914 Remove blink-cursor code.
2915 (blink-cursor-timer-function, blink-cursor-suspend):
2916 Don't special-case GUIs.
2917 (blink-cursor-mode): Use focus-in/out-hook.
2918
2919 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2920
2921 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2922 work when annotation is invisible (Bug#13886).
2923
2924 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2925
2926 * json.el (json-alist-p): Only return non-nil if the alist has
2927 simple keys (Bug#13518).
2928
2929 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2930
2931 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2932 when control-statement is the first statement in a buffer (Bug#15956).
2933
2934 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2935
2936 * imenu.el (imenu-generic-skip-comments-and-strings):
2937 New option (Bug#15560).
2938 (imenu--generic-function): Use it.
2939
2940 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2941
2942 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2943 (Bug#13898)
2944
2945 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2946
2947 * emacs-lisp/helpers.el: Add some string helpers.
2948 (string-trim-left): Removes leading whitespace.
2949 (string-trim-right): Removes trailing whitespace.
2950 (string-trim): Removes leading and trailing whitespace.
2951
2952 * subr.el (string-suffix-p): New function.
2953
2954 2013-11-23 Glenn Morris <rgm@gnu.org>
2955
2956 * progmodes/python.el (python-shell-send-file):
2957 Add option to delete file when done. (Bug#15647)
2958 (python-shell-send-string, python-shell-send-region): Use it.
2959
2960 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2961
2962 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2963 to set buffer-read-only to t, never to nil. (Bug#15938)
2964
2965 * textmodes/tex-mode.el (latex-noindent-environments):
2966 Add safe-local-variable property. (Bug#15936)
2967
2968 2013-11-23 Glenn Morris <rgm@gnu.org>
2969
2970 * textmodes/enriched.el (enriched-mode): Doc fix.
2971 * emacs-lisp/authors.el (authors-renamed-files-alist):
2972 Add enriched.doc -> enriched.txt.
2973
2974 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2975
2976 2013-11-22 Leo Liu <sdl.web@gmail.com>
2977
2978 * progmodes/octave.el (inferior-octave-startup): Spit out error
2979 message.
2980
2981 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2982
2983 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2984 Improve docstring.
2985 Add :version.
2986 (ruby-encoding-magic-comment-style): Add :version.
2987
2988 2013-11-22 Leo Liu <sdl.web@gmail.com>
2989
2990 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2991 (Bug#15076)
2992 (octave-help-mode): Adapt to change to help-mode-finish to use
2993 derived-mode-p on 2013-09-17.
2994 (inferior-octave-prompt): Also match octave-gui.
2995 (octave-kill-process): Don't ask twice. (Bug#10564)
2996
2997 2013-11-22 Leo Liu <sdl.web@gmail.com>
2998
2999 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3000 (inferior-octave-startup, inferior-octave-check-process)
3001 (inferior-octave-track-window-width-change)
3002 (octave-completion-at-point, octave-eldoc-function): Use it.
3003 (octave-kill-process): Provide confirmation. (Bug#10564)
3004
3005 2013-11-21 Leo Liu <sdl.web@gmail.com>
3006
3007 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3008 Fix obsolete variable comment-use-global-state.
3009
3010 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3011
3012 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3013 Add `octave-source-file'.
3014 (octave-source-file): New function. (Bug#15935)
3015
3016 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3017
3018 * net/eww.el (eww-local-regex): New variable.
3019 (eww): Use it to detect localhost and similar.
3020
3021 2013-11-21 Leo Liu <sdl.web@gmail.com>
3022
3023 Add completion for command `ag'.
3024 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3025 (pcomplete/ag): New function.
3026 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3027
3028 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3031 (bug#14646).
3032 (make-obsolete): Remove interactive spec.
3033
3034 2013-11-21 Glenn Morris <rgm@gnu.org>
3035
3036 * startup.el (command-line-1): Use path-separator with -L.
3037
3038 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3039
3040 * emacs-lisp/package.el (describe-package-1): Add package archive
3041 to shown fields.
3042
3043 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3044
3045 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3046 Change default to "# encoding: %s" to differentiate it from the
3047 default Ruby encoding comment template.
3048
3049 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3050
3051 * ses.el (ses-mode): Doc fix. (Bug#14748)
3052
3053 2013-11-20 Leo Liu <sdl.web@gmail.com>
3054
3055 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3056
3057 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3058
3059 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3060 when rebase or bisect are in progress.
3061
3062 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3063
3064 * filenotify.el (file-notify-add-watch): Doc fix.
3065
3066 2013-11-19 Leo Liu <sdl.web@gmail.com>
3067
3068 * obsolete/rcompile.el: Mark obsolete.
3069
3070 * progmodes/compile.el (compilation-start)
3071 (compilation-goto-locus, compilation-find-file):
3072 Pass no-display-ok and handle nil value from display-buffer.
3073 (Bug#13594)
3074
3075 * window.el (display-buffer-alist, display-buffer): Document the
3076 new parameter no-display-ok. Return either a window or nil
3077 but never a non-window value.
3078
3079 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * electric.el (electric-indent-mode-map): Remove.
3082 (electric-indent-mode): Change the global-map instead (bug#15915).
3083
3084 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3085 Use add-function.
3086
3087 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * emacs-lisp/nadvice.el (remove-function): Align with
3090 add-function's behavior.
3091
3092 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3093 (gdb--string-regexp): New constant.
3094 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3095 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3096 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3097 submatch 1.
3098 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3099 Adjust use accordingly.
3100 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3101
3102 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3103
3104 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3105 interpolation curlies (Bug#15914).
3106
3107 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3108
3109 * calc/calc.el (calc-context-sensitive-enter): New variable.
3110 (calc-enter): Use `calc-context-sensitive-enter'.
3111
3112 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3113
3114 * progmodes/cfengine.el: Version bump.
3115 (cfengine-cf-promises): New defcustom to locate cf-promises.
3116 (cfengine3-vartypes): Add new "data" type.
3117 (cfengine3--current-word): New function to get current name-like
3118 word or its bounds.
3119 (cfengine3--current-function): New function to look up a CFEngine
3120 function's definition.
3121 (cfengine3-format-function-docstring): New function.
3122 (cfengine3-make-syntax-cache): New function.
3123 (cfengine3-documentation-function): New function: ElDoc glue.
3124 (cfengine3-completion-function): New function: completion glue.
3125 (cfengine3-mode): Set `compile-command',
3126 `eldoc-documentation-function', and add to
3127 `completion-at-point-functions'.
3128
3129 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3130
3131 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3132 `tramp-current-connection'.
3133
3134 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3135
3136 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3137 nil/self/true/false with "end of symbol".
3138
3139 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3140
3141 * subr.el (version-regexp-alist): Fix a typo.
3142
3143 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3144
3145 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3146 "en_US.utf8" and "LC_CTYPE" to "".
3147 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3148 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3149
3150 2013-11-15 Leo Liu <sdl.web@gmail.com>
3151
3152 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3153
3154 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * progmodes/gud.el (ctl-x-map):
3157 Remove C-x SPC binding. (Bug#12342)
3158 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3159
3160 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3161
3162 * subr.el (version-regexp-alist):
3163 Recognize hg, svn and darcs versions as snapshot versions.
3164
3165 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3166 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3167 (ruby--encoding-comment-required-p): Extract from
3168 `ruby-mode-set-encoding'.
3169 (ruby-mode-set-encoding): Add the ability to always insert an
3170 utf-8 encoding comment. Fix and simplify coding comment update
3171 logic.
3172
3173 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3174
3175 * net/tramp-gvfs.el (top): Run init code only when
3176 `tramp-gvfs-enabled' is not nil.
3177 (tramp-gvfs-enabled): Check also :system bus.
3178
3179 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 Sync with upstream verilog-mode revision 78e66ba.
3182 * progmodes/verilog-mode.el (verilog-end-of-defun)
3183 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3184 (verilog-get-end-of-defun): Remove unused argument.
3185 (verilog-comment-depth): Remove unused local `e'.
3186 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3187 Don't pass arg to verilog-get-end-of-defun.
3188
3189 2013-11-14 Glenn Morris <rgm@gnu.org>
3190
3191 * obsolete/assoc.el (aget): Prefix dynamic variable.
3192
3193 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3194
3195 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * widget.el, hfy-cmap.el: Remove bogus package version number.
3198
3199 2013-11-13 Glenn Morris <rgm@gnu.org>
3200
3201 * replace.el (replace-eval-replacement):
3202 Try to give more helpful error message. (Bug#15836)
3203
3204 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3205 (archive-7z-update): Avoid custom type mismatches.
3206
3207 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3208
3209 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3210
3211 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3212 address can be empty.
3213
3214 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3215 Accept nil SWITCHES.
3216 (tramp-gvfs-handle-write-region): Implement APPEND.
3217
3218 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3219
3220 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3221 binary "|" operator and closing block args delimiter.
3222 Remove FIXME comment referring to Ruby 1.8-only syntax.
3223 (ruby-smie--implicit-semi-p): Not after "|" operator.
3224 (ruby-smie--closing-pipe-p): New function.
3225 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3226 (ruby-smie-rules): Indent after "|".
3227
3228 2013-11-12 Glenn Morris <rgm@gnu.org>
3229
3230 * ps-print.el (ps-face-attribute-list):
3231 Handle anonymous faces. (Bug#15827)
3232
3233 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3234
3235 * window.el (display-buffer-other-frame): Fix doc-string.
3236 (Bug#15868)
3237
3238 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3241
3242 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3243
3244 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3245 (tramp-sh-handle-file-local-copy): Don't write a message when
3246 saving temporary files.
3247
3248 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3249 both directories are remote.
3250 (tramp-smb-handle-directory-files): Do not return double entries.
3251 Do not expand full file names.
3252 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3253 (tramp-smb-handle-write-region): Implement APPEND.
3254 (tramp-smb-get-stat-capability): Fix a stupid bug.
3255
3256 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3259
3260 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3261
3262 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3263 throwing error over malformed let/let* (bug#15814).
3264
3265 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * iswitchb.el (iswitchb-mode): Mark obsolete.
3268
3269 2013-11-11 Glenn Morris <rgm@gnu.org>
3270
3271 * international/uni-bidi.el, international/uni-category.el:
3272 * international/uni-name.el, international/uni-numeric.el:
3273 Regenerate for Unicode 6.3.0.
3274
3275 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3276
3277 * net/tramp.el (tramp-methods):
3278 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3279 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3280
3281 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3282
3283 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3284 Force highlighting text after Summary keyword in doc face for rpm.
3285
3286 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3287
3288 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3289 available and the word has no wildcards, append one to the grep pattern.
3290 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3291 (ispell-complete-word): Call `ispell-lookup-words' with the value
3292 independent of `ispell-look-p'.
3293
3294 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3295
3296 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3297 Not after "||".
3298 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3299 their parent.
3300
3301 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3304 (ruby-font-lock-keywords): Use backquote.
3305
3306 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3307
3308 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3309 (ruby-smie--backward-token): Only consider full-string matches.
3310
3311 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3312
3313 * faces.el (describe-face): Add distant-foreground.
3314
3315 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3316
3317 * progmodes/ruby-mode.el: Improve encoding comment handling.
3318 (ruby-encoding-magic-comment-style): New option.
3319 (ruby-custom-encoding-magic-comment-template): New option.
3320 (ruby--insert-coding-comment, ruby--detect-encoding):
3321 New functions extracted from `ruby-mode-set-encoding'.
3322 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3323 to control the style of the auto-inserted encoding comment.
3324
3325 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3328 Use `smie-backward-sexp' with token argument.
3329
3330 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3331
3332 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3333 Remove instrumentation code.
3334
3335 2013-11-08 Glenn Morris <rgm@gnu.org>
3336
3337 * progmodes/autoconf.el (autoconf-mode):
3338 Tweak comment-start-skip. (Bug#15822)
3339
3340 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3343 at bobp (bug#15826).
3344 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3345
3346 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3347
3348 * man.el (Man-start-calling): New macro, extracted from
3349 Man-getpage-in-background.
3350 (Man-getpage-in-background): Use it.
3351 (Man-update-manpage): New command.
3352 (Man-mode-map): Bind it.
3353
3354 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3355
3356 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3357 of "and", "or", "&&" and "||".
3358 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3359 argument. Prohibit opening curly brace because it could only be a
3360 block opener in that position.
3361 (ruby-smie--forward-token, ruby-smie--backward-token):
3362 Separate "|" from "&" or "*" going after it. That can happen in block
3363 arguments.
3364 (ruby-smie--indent-to-stmt): New function, seeks the end of
3365 previous statement or beginning of buffer.
3366 (ruby-smie-rules): Use it.
3367 (ruby-smie-rules): Check if there's a ":" before a curly block
3368 opener candidate; if there is, it's a hash.
3369
3370 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3373 (cl--block-wrapper): Fix last accidental change.
3374
3375 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3376
3377 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3378 Instrument, in order to hunt failure on hydra.
3379
3380 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3381
3382 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3383 malformed bindings form (bug#15814).
3384
3385 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3386
3387 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3388 "." compared to " @ ". This incidentally fixes some indentation
3389 examples with "do".
3390 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3391 (ruby-smie-grammar): New tokens: "and" and "or".
3392 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3393 Exclude "and" and "or". Remove "do" in order to work around token
3394 priorities.
3395 (ruby-smie-rules): Add all infix tokens. Handle the case of
3396 beginning-of-buffer.
3397
3398 2013-11-06 Glenn Morris <rgm@gnu.org>
3399
3400 * Makefile.in (setwins_almost, setwins_for_subdirs):
3401 Avoid accidental matches.
3402
3403 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * menu-bar.el (popup-menu): Use key-binding.
3406
3407 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3408
3409 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3410 menus, support also the menus produced by minor modes.
3411 (Bug#15817)
3412
3413 2013-11-06 Leo Liu <sdl.web@gmail.com>
3414
3415 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3416 DISTANCE to bound the search. All uses changed. (Bug#15808)
3417
3418 2013-11-06 Glenn Morris <rgm@gnu.org>
3419
3420 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3421 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3422 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3423
3424 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * electric.el (electric-indent-just-newline): New command.
3427 (electric-indent-mode-map): New keymap.
3428 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3429 Re-add :group which weren't redundant.
3430
3431 * electric.el (electric-indent-local-mode): New minor mode.
3432 (electric-indent-functions-without-reindent): New var.
3433 (electric-indent-post-self-insert-function): Use it.
3434 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3435
3436 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3437
3438 * international/quail.el (quail-help): Be more explicit about the
3439 meaning of the labels shown on the keys. (Bug#15800)
3440
3441 * startup.el (normal-top-level): Load the subdirs.el files before
3442 setting the locale environment. (Bug#15805)
3443
3444 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3447 via arguments so as to get the right ones (bug#15418).
3448
3449 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3450
3451 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3452
3453 Fix problems found while writing a test suite.
3454
3455 * net/tramp-compat.el (tramp-compat-load): New defun.
3456 * net/tramp.el (tramp-handle-load): Use it.
3457
3458 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3459 "(numberp ok-if-already-exists)" correctly.
3460
3461 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3462
3463 * international/characters.el (glyphless-char-display-control):
3464 Add usage note.
3465
3466 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3467
3468 * progmodes/python.el (python-mode):
3469 * progmodes/scheme.el (scheme-mode):
3470 * progmodes/prolog.el (prolog-mode):
3471 * progmodes/ruby-mode.el (ruby-mode):
3472 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3473 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3474
3475 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * rect.el (rectangle--highlight-for-redisplay):
3478 * emacs-lisp/smie.el (smie--next-indent-change):
3479 Use buffer-chars-modified-tick.
3480
3481 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3482
3483 * electric.el (electric-indent-post-self-insert-function):
3484 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3485
3486 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3487
3488 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3489
3490 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3491
3492 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3493 (bug#15786).
3494
3495 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3498
3499 * progmodes/python.el: Fix up last change.
3500 (python-shell--save-temp-file): New function.
3501 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3502 `string' comes from the current buffer.
3503 (python-shell-send-string-no-output): Remove `msg' arg.
3504 (python--use-fake-loc): New var.
3505 (python-shell-buffer-substring): Obey it. Try to compensate for the
3506 extra coding line added by python-shell--save-temp-file.
3507 (python-shell-send-region): Use python-shell--save-temp-file and
3508 python-shell-send-file directly. Add `nomain' argument.
3509 (python-shell-send-buffer): Use python-shell-send-region.
3510 (python-electric-pair-string-delimiter): New function.
3511 (python-mode): Use it.
3512
3513 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3514
3515 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3516 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3517 environment and decoding all of the default-directory's to here
3518 from command-line.
3519 (command-line): Decode also argv[0].
3520
3521 * loadup.el: Error out if default-directory is a multibyte string
3522 when we are dumping.
3523
3524 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3525
3526 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3527
3528 * emacs-lisp/package.el (package-menu-mode)
3529 (package-menu--print-info, package-menu--archive-predicate):
3530 Add Archive column to package list.
3531
3532 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3533
3534 Fix problems found while writing a test suite.
3535
3536 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3537 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3538 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3539 to nil when running original file name handler. Otherwise,
3540 there are problems with constructs like "$$FOO".
3541
3542 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3543 for `localname'.
3544
3545 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3546
3547 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3548
3549 * subr.el (version<, version<=, version=):
3550 Update docstrings with information for snapshot versions.
3551
3552 * helpers.el: New library for misc helper functions.
3553 (hash-table-keys): New function returning a list of hash keys.
3554 (hash-table-values): New function returning a list of hash values.
3555
3556 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3557
3558 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3559 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3560
3561 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3562
3563 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3564 checking whether point is after a 1-letter word.
3565
3566 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3567
3568 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3569 Don't infloop when expanding region over `multiline' syntax-type that
3570 begins a line (bug#15778).
3571
3572 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3575 Make it into a proper minor mode.
3576 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3577 (rectangle-mark-mode-map): New keymap.
3578 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3579
3580 2013-11-04 Glenn Morris <rgm@gnu.org>
3581
3582 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3583
3584 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3587 (ruby-smie-rules): Use smie-rule-parent instead.
3588
3589 * emacs-lisp/smie.el (smie-rule-parent): Always call
3590 smie-indent-virtual rather than only for hanging tokens.
3591 (smie--next-indent-change): New helper command.
3592
3593 2013-11-03 Glenn Morris <rgm@gnu.org>
3594
3595 * Makefile.in (abs_srcdir): Remove.
3596 (emacs): Unset EMACSLOADPATH.
3597
3598 2013-11-02 Glenn Morris <rgm@gnu.org>
3599
3600 * Makefile.in (EMACS): Use a relative filename.
3601 (abs_top_builddir): Remove.
3602 (custom-deps, finder-data, autoloads): Use --chdir.
3603
3604 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3605
3606 Use relative filenames in TAGS files.
3607 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3608 (lisptagsfiles4, TAGS): Use relative file names.
3609 (TAGS-LISP): Remove.
3610 (maintainer-clean): No more TAGS-LISP file.
3611
3612 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3613 (lisptagsfiles4): Use absolute filenames again.
3614 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3615 Remove all *loaddefs files, not just the first. Remove esh-groups.
3616 (maintainer-clean): Delete TAGS, TAGS-LISP.
3617
3618 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3619
3620 * emacs-lisp/package.el (package-version-join):
3621 Recognize snapshot versions.
3622
3623 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3624
3625 * subr.el (version-regexp-alist): Add support for snapshot versions.
3626
3627 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3628
3629 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3630 New function, replacement for `smie-rule-parent' for when we want to
3631 skip over our direct parent if it's an assignment token..
3632 (ruby-smie-rules): Use it.
3633
3634 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3635
3636 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3637 unconditionally. Remove now unnecessary forward declarations.
3638 Remove XEmacs-specific setup.
3639 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3640 (ruby-font-lock-syntactic-keywords)
3641 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3642 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3643 (ruby-here-doc-end-syntax): Remove.
3644 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3645 defined as function.
3646
3647 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3648
3649 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3650
3651 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3652
3653 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3654 table and abbrev table, `define-derived-mode' does that for us
3655 anyway.
3656
3657 2013-11-01 Glenn Morris <rgm@gnu.org>
3658
3659 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3660 files is atomic for some time, so no parallel compilation issues).
3661
3662 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3663
3664 * faces.el (face-x-resources): Add :distant-foreground.
3665 (region): Use :distant-foreground for gtk and ns.
3666
3667 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3668
3669 Allow multiple bibliographies when BibLaTeX is used rather than
3670 BibTeX.
3671 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3672 (reftex-locate-bibliography-files): Us it.
3673
3674 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3675
3676 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3677 allow comments in pbm files.
3678
3679 * term/w32-win.el (dynamic-library-alist): Support newer versions
3680 of libjpeg starting with v7: look only for the DLL from the
3681 version against which Emacs was built.
3682 Support versions of libpng beyond 1.4.x.
3683 Support libtiff v4.x.
3684
3685 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3686
3687 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3688 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3689 Add property :safe.
3690 (ruby-deep-arglist): Add property :type.
3691
3692 2013-10-31 Glenn Morris <rgm@gnu.org>
3693
3694 * Makefile.in (custom-deps, finder-data): No need to setq the target
3695 variables, we are in the right directory and the defaults work fine.
3696
3697 2013-10-30 Glenn Morris <rgm@gnu.org>
3698
3699 * Makefile.in (autoloads): Do not use abs_lisp.
3700
3701 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3702 `newline' does not respect `standard-output', so use `princ'.
3703
3704 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3705
3706 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3707 * buff-menu.el (Buffer-menu--unmark): New function.
3708 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3709
3710 2013-10-30 Glenn Morris <rgm@gnu.org>
3711
3712 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3713
3714 * emacs-lisp/package.el (lm-homepage): Declare.
3715
3716 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3717 Fix doc typos.
3718
3719 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3720
3721 * Makefile.in (finder-data, autoloads, update-subdirs)
3722 (compile-main, compile-clean, compile-always, bootstrap-clean):
3723 Check return value of cd.
3724 (compile-calc): Remove.
3725
3726 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3729
3730 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3731 (byte-compile-and-folded): New function.
3732 (=, <, >, <=, >=): Use it.
3733
3734 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3735 (path-separator, null-device, buffer-file-coding-system)
3736 (lpr-headers-switches): Check system-type before modifying them.
3737 (find-buffer-file-type-coding-system): Mark obsolete.
3738 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3739 find-file-not-found-set-buffer-file-coding-system.
3740 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3741 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3742 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3743 (w32-direct-print-region-helper, w32-direct-print-region-function)
3744 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3745 * startup.el (normal-top-level-add-subdirs-to-load-path):
3746 * ps-print.el (ps-print-region-function):
3747 * lpr.el (print-region-function): Use new name.
3748
3749 * subr.el (custom-declare-variable-early): Remove function.
3750 (custom-declare-variable-list): Remove var.
3751 (error, user-error): Remove `while' loop.
3752 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3753 (user-emacs-directory-warning, locate-user-emacs-file):
3754 Move to files.el.
3755 * simple.el (read-quoted-char-radix, read-quoted-char):
3756 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3757 Move from subr.el.
3758 * custom.el (custom-declare-variable-list): Don't process
3759 custom-declare-variable-list.
3760
3761 * progmodes/python.el (python-shell-get-buffer): New function.
3762 (python-shell-get-process): Use it.
3763 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3764 Python which encoding was used. Don't split-string since we only care
3765 about the first line. Return the temp-file, if applicable.
3766 (python-shell-send-region): Tell compile.el how to turn locations in
3767 the temp-file into locations in the source buffer.
3768
3769 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * subr.el (undefined): Add missing behavior from the C code for
3772 unbound keys.
3773
3774 * rect.el: Use lexical-binding. Add new rectangular region support.
3775 (rectangle-mark): New command.
3776 (rectangle--region): New var.
3777 (deactivate-mark-hook): Reset rectangle--region.
3778 (rectangle--extract-region, rectangle--insert-for-yank)
3779 (rectangle--highlight-for-redisplay)
3780 (rectangle--unhighlight-for-redisplay): New functions.
3781 (region-extract-function, redisplay-unhighlight-region-function)
3782 (redisplay-highlight-region-function): Use them to handle
3783 rectangular region.
3784 * simple.el (region-extract-function): New var.
3785 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3786 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3787 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3788 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3789 (redisplay-unhighlight-region-function)
3790 (redisplay-highlight-region-function): New vars.
3791 (redisplay--update-region-highlight): New function.
3792 (pre-redisplay-function): Use it.
3793 (exchange-point-and-mark): Don't deactivate the mark before
3794 reactivate-it anyway.
3795 * comint.el (comint-kill-region): Remove yank-handler argument.
3796 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3797 (delete-char): Remove property, since it's now part of their
3798 default behavior.
3799 (self-insert-iso): Remove property since this command doesn't exist.
3800
3801 * emacs-lisp/package.el (package--download-one-archive)
3802 (describe-package-1): Don't query the user about final newline.
3803
3804 2013-10-29 Daniel Colascione <dancol@dancol.org>
3805
3806 * net/tramp.el (tramp-methods): Document new functionality.
3807 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3808 tramp-hostname-checker if method provides one instead of scanning
3809 argument list for "%h" to decide hostname acceptability.
3810
3811 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3812
3813 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3814 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3815 Handle COPY-CONTENTS. (Bug#15737)
3816
3817 2013-10-28 Daiki Ueno <ueno@gnu.org>
3818
3819 * epa-file.el
3820 (epa-file-cache-passphrase-for-symmetric-encryption):
3821 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3822
3823 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3824
3825 * image.el (defimage):
3826 (image-load-path): Doc fixes.
3827
3828 2013-10-27 Alan Mackenzie <acm@muc.de>
3829
3830 Indent statements in macros following "##" correctly.
3831 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3832 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3833
3834 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3835
3836 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3837
3838 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3839
3840 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3841 after `=' is probably a new expression.
3842
3843 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3844
3845 * man.el (man-imenu-title): New option.
3846 (Man-mode-map): Add menu. (Bug#15722)
3847 (Man-mode): Add imenu to menu.
3848
3849 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3850
3851 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3852 specific in what the first arg can be: a non-keyword word,
3853 string/regexp/percent literal opener, opening paren, or unary
3854 operator followed directly by word.
3855
3856 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3857
3858 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3859 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3860 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3861 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3862 Remove vars, they do not apply any more.
3863 (prolog-mode-abbrev-table): Remove redundant declaration.
3864 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3865 (prolog-use-smie): Remove.
3866 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3867 supported by prolog-electric-if-then-else-flag.
3868 (prolog-mode-variables, prolog-menu): Use setq-local.
3869 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3870 Remove binding to `Backspace' since this key doesn't exist anyway.
3871 Remove bindings for electric self-inserting keys.
3872 (prog-mode): Assume it's defined.
3873 (prolog-post-self-insert): New function.
3874 (prolog-mode): Use it.
3875 (prolog-indent-line, prolog-indent-level)
3876 (prolog-find-indent-of-matching-paren)
3877 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3878 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3879 (prolog-goto-next-paren, prolog-in-string-or-comment)
3880 (prolog-tokenize, prolog-inside-mline-comment)
3881 (prolog-find-start-of-mline-comment): Remove functions.
3882 (prolog-find-unmatched-paren, prolog-clause-end)
3883 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3884 (prolog-electric--if-then-else): Rename from
3885 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3886 (prolog-tokenize-searchkey): Remove const.
3887 (prolog-clause-info): Use forward-sexp.
3888 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3889 (prolog-electric-if-then-else): Remove commands.
3890 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3891 for use in post-self-insert-hook.
3892 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3893 for use in post-self-insert-hook.
3894 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3895 for use in post-self-insert-hook.
3896 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3897 adapt it for use in post-self-insert-hook.
3898
3899 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * emacs-lisp/ert.el (ert-run-tests-interactively):
3902 Use `completing-read'. (Bug#9756)
3903
3904 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3905
3906 * simple.el (line-move): Call line-move-1 instead of
3907 line-move-visual when the current window hscroll is zero, but
3908 temporary-goal-column indicates we will need to hscroll as result
3909 of the movement. (Bug#15712)
3910
3911 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3912
3913 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3914 capitalization. Use :visible instead of :active.
3915 Fix `ruby-indent-exp' reference. Add menu items for the generic
3916 commands that are used with SMIE.
3917 (ruby-do-end-to-brace): Insert space after `{'.
3918
3919 2013-10-25 John Anthony <john@jo.hnanthony.com>
3920
3921 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3922
3923 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3924
3925 2013-10-25 Glenn Morris <rgm@gnu.org>
3926
3927 * vc/vc.el (vc-print-log): Don't use a working revision unless
3928 one was explicitly specified. (Bug#15322)
3929
3930 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3931
3932 * subr.el (add-to-list): Preserve return value in compiler-macro
3933 (bug#15692).
3934
3935 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3936
3937 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3938 result. Ask user to retry using '-all' flag. (Bug#15701)
3939
3940 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * emacs-lisp/smie.el: New smie-config system.
3943 (smie-config): New defcustom.
3944 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3945 (smie-config-guess, smie-config-save): New commands.
3946 (smie-config--mode-local, smie-config--buffer-local)
3947 (smie-config--trace, smie-config--modefuns): New vars.
3948 (smie-config--advice, smie-config--mode-hook)
3949 (smie-config--setter, smie-config-local, smie-config--get-trace)
3950 (smie-config--guess-value, smie-config--guess): New functions.
3951 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3952 text properties. Treat "string fence" syntax like string syntax.
3953
3954 * progmodes/sh-script.el (sh-use-smie): Change default.
3955 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3956 (sh-var-value): Simplify by CSE.
3957 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3958 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3959 is used.
3960 (sh-guess-basic-offset): Use cl-incf.
3961 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3962
3963 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3964
3965 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3966 (bug#15699).
3967
3968 2013-10-24 Glenn Morris <rgm@gnu.org>
3969
3970 * Makefile.in (abs_top_srcdir): Remove.
3971 (update-subdirs): Use relative path to update-subdirs.
3972
3973 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3974
3975 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3976 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3977 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3978 Call unmsys--file-name before expand-file-name, not after it.
3979
3980 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3981
3982 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3983 (ert-test-skipped): New error.
3984 (ert-skip, ert-stats-skipped): New defuns.
3985 (ert--skip-unless): New macro.
3986 (ert-test-skipped): New struct.
3987 (ert--run-test-debugger, ert-test-result-type-p)
3988 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3989 (ert--stats-set-test-and-result, ert-char-for-test-result)
3990 (ert-string-for-test-result, ert-run-tests-batch)
3991 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3992 Handle skipped tests. (Bug#9803)
3993
3994 2013-10-24 Glenn Morris <rgm@gnu.org>
3995
3996 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3997
3998 * Makefile.in (abs_top_srcdir): New, set by configure.
3999 (update-subdirs): Correct build-aux location.
4000
4001 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4002
4003 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4004 value, whether we could auto-deduce `backend', or not.
4005
4006 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4007 with parameters" example. Simplify the "is it block or is it
4008 hash" check, but also make it more thorough.
4009
4010 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4011
4012 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4013
4014 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4017 { if it is hanging.
4018
4019 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4020 :before ";".
4021
4022 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4023
4024 * progmodes/compile.el (compilation-directory-matcher)
4025 (compilation-page-delimiter):
4026 Support GNU Make-4.0 directory quoting. (Bug#15678)
4027
4028 2013-10-23 Leo Liu <sdl.web@gmail.com>
4029
4030 * ido.el (ido-tidy): Handle read-only text.
4031
4032 2013-10-23 Glenn Morris <rgm@gnu.org>
4033
4034 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4035 (emacs, compile, compile-always):
4036 Quote entities that might contain whitespace.
4037 (custom-deps, finder-data, autoloads): Use abs_lisp.
4038 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4039 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4040 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4041
4042 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4043
4044 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4045 Use `following-char'.
4046
4047 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4050 * progmodes/ruby-mode.el (ruby-smie-rules):
4051 Remove corresponding workaround. Fix indentation rule of ";" so it
4052 also applies when ";" is the parent.
4053
4054 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4055
4056 * frame.el (display-screens, display-pixel-height)
4057 (display-pixel-width, display-mm-width, display-backing-store)
4058 (display-save-under, display-planes, display-color-cells)
4059 (display-visual-class, display-monitor-attributes-list):
4060 Mention the optional ‘display’ argument in doc strings.
4061
4062 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4063
4064 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4065 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4066
4067 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4068
4069 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4070 TODO. Add "." after " @ ".
4071 (ruby-smie--at-dot-call): New function. Checks if point at method
4072 call with explicit target.
4073 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4074 to the method name tokens when it precedes them.
4075 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4076 (ruby-smie-rules): Add rule for indentation before and after "."
4077 token.
4078
4079 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * textmodes/remember.el (remember-diary-extract-entries):
4082 Avoid add-to-list.
4083
4084 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4085 an instruction.
4086
4087 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4088
4089 * progmodes/ruby-mode.el (ruby-smie-grammar):
4090 Add (almost) all infix operators.
4091 (ruby-smie--implicit-semi-p): Add new operator chars.
4092
4093 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4094 `smie-down-list'.
4095 (ruby-smie--args-separator-p): Check that there's no newline
4096 between method call and its arguments.
4097
4098 2013-10-20 Alan Mackenzie <acm@muc.de>
4099
4100 Allow comma separated lists after Java "implements".
4101
4102 * progmodes/cc-engine.el (c-backward-over-enum-header):
4103 Parse commas.
4104 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4105 from a "disallowed" list in enum fontification.
4106
4107 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4108
4109 * startup.el (default-frame-background-mode): Remove unused defvar.
4110
4111 * progmodes/verilog-mode.el (verilog-mode): Don't set
4112 comment-indent-function globally.
4113
4114 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4115
4116 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4117 Move Info menu item creation to ns-win.el.
4118
4119 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4120 in menu bar.
4121
4122 * menu-bar.el: Move GNUstep specific menus...
4123
4124 * term/ns-win.el (ns-initialize-window-system): ... to here.
4125
4126 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * simple.el (newline): Only run post-self-insert-hook when
4129 called interactively.
4130
4131 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4132
4133 * icomplete.el (icomplete-with-completion-tables): Add :version.
4134
4135 2013-10-19 Alan Mackenzie <acm@muc.de>
4136
4137 Fix fontification bugs with constructors and const.
4138
4139 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4140 CASE 2) Remove the check for the absence of a suffix construct
4141 after a function declaration with only types (no identifiers) in
4142 the parentheses. Also, accept a function declaration with just a
4143 type inside the parentheses, if this type can be positively
4144 recognised as such, or if a prefix keyword like "explicit" nails
4145 down the construct as a declaration.
4146
4147 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4148
4149 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4150 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4151 the problem whereby selecting a menu item that leads to a
4152 minibuffer prompt moves the cursor out of the minibuffer window,
4153 making it hard to type at the prompt. Suggested by Stefan Monnier
4154 <monnier@iro.umontreal.ca>.
4155
4156 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4157
4158 * menu-bar.el: Don't make Services menu.
4159
4160 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4161
4162 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4163 (ffap-alist): Use ffap-c++-mode for c++-mode.
4164 (ffap-c++-path): New variable.
4165 (ffap-c++-mode): New function.
4166
4167 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4168
4169 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4170
4171 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4172
4173 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4174 introduced on 2013-09-08, which results in an infinite loop
4175 requesting a password.
4176
4177 2013-10-18 Glenn Morris <rgm@gnu.org>
4178
4179 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4180
4181 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4182
4183 Sync with upstream verilog-mode revision 1a6ecec7.
4184 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4185 (verilog-mode-release-date): Remove.
4186 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4187 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4188 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4189 (verilog-auto-tieoff-ignore-regexp)
4190 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4191 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4192 (verilog-signals-with, verilog-dir-cache-preserving)
4193 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4194 Doc fixes.
4195 (verilog-case-fold): New option, to control case folding in
4196 regexp searches, bug597.
4197 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4198 (verilog-string-match-fold, verilog-in-paren-count)
4199 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4200 (verilog-at-close-struct-p): New functions.
4201 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4202 (verilog-forward-sexp, verilog-set-auto-endcomments):
4203 (verilog-leap-to-case-head): Handle "unique0" case.
4204 (verilog-in-constraint-re): New constant.
4205 (verilog-keywords, verilog-type-font-keywords):
4206 Add some SystemVerilog 1800-2012 keywords.
4207 (verilog-label-be): Remove unimplemented argument, bug669.
4208 (verilog-batch-execute-func): When batch expanding clear
4209 create-lockfiles to prevent spurious user locks when a file ends
4210 up not changing.
4211 (verilog-calculate-indent, verilog-calc-1)
4212 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4213 (verilog-do-indent): Fix indentation of nested constraints
4214 and structures.
4215 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4216 (verilog-auto-inst-param): Use verilog-string-match-fold.
4217 (verilog-read-inst-module-matcher):
4218 Fix AUTOINST on gate primitives with #1.
4219 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4220 Reads all user-defined typed variables.
4221 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4222 (verilog-signals-matching-regexp)
4223 (verilog-signals-not-matching-regexp, verilog-auto):
4224 Respect verilog-case-fold.
4225 (verilog-diff-report): Fix line count.
4226 (verilog-auto-assign-modport): Remove unused local `modi'.
4227 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4228 better handle multidimensional arrays.
4229 Fix packed array ports misadding bit index in AUTOINST, bug637.
4230 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4231 to not double-declare existing outputs and inputs, respectively.
4232 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4233 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4234 (verilog-sk-uvm-component): New skeleton.
4235 (verilog-submit-bug-report): Add verilog-case-fold,
4236 remove verilog-mode-release-date.
4237
4238 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4239
4240 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4241 as before.
4242
4243 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4244
4245 * textmodes/remember.el (remember): Set buffer-offer-save in
4246 remember buffers (bug#13566).
4247
4248 2013-10-18 Daniel Colascione <dancol@dancol.org>
4249
4250 When evaluating forms in ielm, direct standard output to ielm
4251 buffer. Add new ielm-return-for-effect command. Remove trailing
4252 whitespace throughout.
4253
4254 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4255 (ielm-return-for-effect): New command.
4256 (ielm-send-input): Accept optional `for-effect' parameter.
4257 (ielm-eval-input): Accept optional `for-effect' parameter.
4258 Bind `standard-output' to stream we create using
4259 `ielm-standard-output-impl'. Suppress printing result when
4260 `for-effect'.
4261 (ielm-standard-output-impl): New function.
4262 (inferior-emacs-lisp-mode): Explain new features in documentation.
4263
4264 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4265
4266 Code cleanup.
4267
4268 * net/tramp.el (tramp-debug-message): Do not check for connection
4269 buffer.
4270 (tramp-message): Use "vector" connection property.
4271
4272 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4273 (tramp-equal-remote, tramp-eshell-directory-change)
4274 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4275 (tramp-adb-handle-rename-file)
4276 * net/tramp-cmds.el (tramp-list-remote-buffers)
4277 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4278 * net/tramp-compat.el (tramp-compat-process-running-p)
4279 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4280 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4281 (tramp-gvfs-handle-rename-file)
4282 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4283 (tramp-set-file-uid-gid)
4284 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4285 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4286 of `file-remote-p'.
4287
4288 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4289 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4290 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4291 (tramp-gw-open-network-stream): Suppress unrelated traces.
4292
4293 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4294 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4295 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4296 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4297 connection property.
4298
4299 * net/tramp-cache.el (top): Suppress traces when reading
4300 persistency file.
4301
4302 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4303 Refactor common code. Improve debug message.
4304 (tramp-maybe-open-connection)
4305 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4306 connection buffer too early.
4307
4308 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4309 from `tramp-smb-actions-with-acl'.
4310 (tramp-smb-actions-set-acl): New defconst.
4311 (tramp-smb-handle-copy-directory)
4312 (tramp-smb-action-get-acl): New defun, renamed from
4313 `tramp-smb-action-with-acl'.
4314 (tramp-smb-action-set-acl): New defun.
4315 (tramp-smb-handle-set-file-acl): Rewrite.
4316
4317 2013-10-17 Glenn Morris <rgm@gnu.org>
4318
4319 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4320
4321 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * skeleton.el (skeleton-newline): Remove.
4324 (skeleton-internal-1): Use (insert "\n") instead.
4325
4326 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4327 let-bindings.
4328
4329 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4330 forward-sexp-function while we redo its job (bug#15613).
4331
4332 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4333
4334 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4335 represented by lists.
4336
4337 2013-10-16 Glenn Morris <rgm@gnu.org>
4338
4339 * tmm.el (tmm--history): New dynamic variable.
4340 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4341
4342 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4345 (tramp-smb-errors): Add error messages.
4346 (tramp-smb-actions-with-acl): New defconst.
4347 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4348 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4349 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4350 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4351 (tramp-smb-get-stat-capability): Fix tests.
4352
4353 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4354
4355 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4356 (bug#15580).
4357
4358 2013-10-16 Glenn Morris <rgm@gnu.org>
4359
4360 * ansi-color.el (ansi-color-drop-regexp):
4361 Add 1J, 1K, 2K. (Bug#15617)
4362
4363 * files.el (hack-local-variables--warned-lexical): New.
4364 (hack-local-variables):
4365 Warn about misplaced lexical-binding. (Bug#15616)
4366
4367 * net/eww.el (eww-render): Always set eww-current-url,
4368 and update header line. (Bug#15622)
4369 (eww-display-html): ... Rather than just doing it here.
4370
4371 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4372
4373 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4374 menu navigations commands.
4375
4376 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4377
4378 * progmodes/subword.el (subword-capitalize): Be careful when
4379 the search for [[:alpha:]] fails (bug#15580).
4380
4381 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4382
4383 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4384 to commands that scroll the menu.
4385
4386 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4387
4388 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4389 Handle methods ending with `?' and `!'.
4390
4391 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4392
4393 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4394 `japanese-cp932' to `cp932' to fix the problem where saving a
4395 source file written in Shift_JIS twice would end up having
4396 `coding: japanese-cp932' which Ruby could not recognize.
4397 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4398 in `ruby-encoding-map'.
4399 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4400 doesn't need to be explicitly declared in magic comment.
4401 (ruby-encoding-map): Add type declaration for better customize UI.
4402
4403 2013-10-13 Glenn Morris <rgm@gnu.org>
4404
4405 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4406 Occur buffers are read-only. http://bugs.debian.org/720775
4407
4408 * emacs-lisp/authors.el (authors-fixed-entries):
4409 Comment out old alpha stuff.
4410
4411 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4412
4413 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4414 to `after-save-hook' instead of `before-save-hook'.
4415 (ruby-mode-set-encoding): Use the value of coding system used to
4416 write the file. Call `basic-save-buffer-1' after modifying the
4417 buffer.
4418
4419 2013-10-13 Alan Mackenzie <acm@muc.de>
4420
4421 Fix indentation/fontification of Java enum with
4422 "implements"/generic.
4423
4424 * progmodes/cc-engine.el (c-backward-over-enum-header):
4425 Extracted from the three other places and enhanced to handle generics.
4426 (c-inside-bracelist-p): Uses new function above.
4427 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4428 function above.
4429 (c-font-lock-enum-tail): Uses new function above.
4430
4431 2013-10-13 Kenichi Handa <handa@gnu.org>
4432
4433 * international/mule-cmds.el (select-safe-coding-system): Remove a
4434 superfluous condition in chekcing whether a coding system is safe
4435 or not.
4436
4437 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4438
4439 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4440
4441 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4442
4443 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4444
4445 2013-10-13 Glenn Morris <rgm@gnu.org>
4446
4447 * menu-bar.el (menu-bar-update-buffers):
4448 Unify Buffers menu prompt string. (Bug#15576)
4449
4450 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4451
4452 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4453 Add some entries.
4454 (authors-fixed-entries): Use accented form of name.
4455
4456 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4459 method calls (bug#15594).
4460 (ruby-smie--args-separator-p): New function.
4461 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4462 recognize paren-free method calls.
4463
4464 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4465 internals of universal-argument.
4466
4467 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4468
4469 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4470 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4471 dropped menu on second mouse click on the menu bar.
4472
4473 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4476 (explicit-shell-file-name): Declare.
4477 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4478 (sh-completion-at-point-function): New function.
4479 (sh-mode): Use it.
4480 (sh-smie--keyword-p): Remove unused argument.
4481 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4482 vars.
4483 (sh-set-shell): Always setup SMIE, even if we use the
4484 old indentation code.
4485
4486 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4487
4488 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4489 cases of ? and =.
4490 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4491 predicate would return nil are almost non-existent.
4492 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4493
4494 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4495 cache also after commands that modify the buffer but don't move
4496 point.
4497
4498 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * env.el (substitute-env-in-file-name): New function.
4501 (substitute-env-vars): Extend the meaning of the optional arg.
4502
4503 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4504
4505 * term/w32-win.el (dynamic-library-alist): Define separate lists
4506 of GIF DLLs for versions before and after 5.0.0 of giflib.
4507 (Bug#15531)
4508
4509 2013-10-10 João Távora <joaotavora@gmail.com>
4510
4511 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4512 not locked, use last revision and current source as
4513 defaults. (Bug#15569)
4514
4515 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4516
4517 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4518 menu-bar is hidden.
4519
4520 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (pop-to-buffer-same-window): Fix doc-string.
4523 (Bug#15492)
4524
4525 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4528
4529 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4530
4531 * calendar/icalendar.el (icalendar-import-file):
4532 Fix interactive spec. (Bug#15482)
4533
4534 2013-10-10 Glenn Morris <rgm@gnu.org>
4535
4536 * desktop.el (desktop-save): Default to saving in .emacs.d,
4537 since PWD is no longer in desktop-path by default. (Bug#15319)
4538
4539 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4540 now that text mode has a menu with the same entry.
4541 (menu-bar-text-mode-auto-fill): Remove now unused func.
4542 * textmodes/text-mode.el (text-mode-map):
4543 Use auto-fill help text from menu-bar.el.
4544
4545 2013-10-10 John Anthony <john@jo.hnanthony.com>
4546
4547 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4548
4549 2013-10-09 Juri Linkov <juri@jurta.org>
4550
4551 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4552 instead of this-command-keys. Add universal-argument-more and
4553 universal-argument-minus to the list of prefix commands. (Bug#15568)
4554
4555 2013-10-09 Glenn Morris <rgm@gnu.org>
4556
4557 * vc/vc-svn.el (vc-svn-create-repo):
4558 Expand paths in file://... url. (Bug#15446)
4559
4560 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4561 Add some entries.
4562 (authors): Remove unused local variables.
4563
4564 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * profiler.el: Create a more coherent calltree from partial backtraces.
4567 (profiler-format): Hide the tail with `invisible' so that C-s can still
4568 find the hidden elements.
4569 (profiler-calltree-depth): Don't recurse so enthusiastically.
4570 (profiler-function-equal): New hash-table-test.
4571 (profiler-calltree-build-unified): New function.
4572 (profiler-calltree-build): Use it.
4573 (profiler-report-make-name-part): Indent the calltree less.
4574 (profiler-report-mode): Add visibility specs for profiler-format.
4575 (profiler-report-expand-entry, profiler-report-toggle-entry):
4576 Expand the whole subtree when provided with a prefix arg.
4577
4578 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4579
4580 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4581 iuwu-mod token.
4582 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4583 hanging iuwu-mod token.
4584 (ruby-smie--forward-token): Do not include a dot after a token in
4585 that token.
4586 (ruby-smie--backward-token): Likewise.
4587
4588 2013-10-08 Juri Linkov <juri@jurta.org>
4589
4590 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4591 to isearch-other-control-char.
4592 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4593 and isearch-post-command-hook to post-command-hook.
4594 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4595 and isearch-post-command-hook from post-command-hook.
4596 (isearch-unread-key-sequence)
4597 (isearch-reread-key-sequence-naturally)
4598 (isearch-lookup-scroll-key, isearch-other-control-char)
4599 (isearch-other-meta-char): Remove functions.
4600 (isearch-pre-command-hook, isearch-post-command-hook):
4601 New functions based on isearch-other-meta-char rewritten
4602 relying on the new behavior of overriding-terminal-local-map
4603 that does not replace the local keymaps any more. (Bug#15200)
4604
4605 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4606
4607 Support menus on text-mode terminals.
4608 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4609 functionality.
4610
4611 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4612
4613 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4614 Move here from mouse.el.
4615 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4616 and arrow keys.
4617 (tty-menu-navigation-map): New map for TTY menu navigation.
4618
4619 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4620
4621 * frame.el (display-mouse-p): Report text-mode mouse as available
4622 on w32.
4623 (display-popup-menus-p): Report availability if mouse is
4624 available; don't condition on window-system.
4625
4626 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4627 (tty-menu-selected-face): New faces.
4628
4629 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4632 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4633 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4634 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4635 New constants.
4636 (lisp-mode-variables): New `elisp' argument.
4637 (emacs-lisp-mode): Use it.
4638 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4639 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4640
4641 * indent.el: Use lexical-binding.
4642 (indent-region): Add progress reporter.
4643 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4644 last step.
4645 (indent--next-tab-stop): New function to implement this behavior.
4646 (tab-to-tab-stop, move-to-tab-stop): Use it.
4647
4648 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4649
4650 * indent.el (indent-rigidly--current-indentation): New function.
4651 (indent-rigidly-map): New var.
4652 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4653
4654 2013-10-08 Bastien Guerry <bzg@gnu.org>
4655
4656 * register.el (insert-register): Fix 2013-10-07 change.
4657
4658 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * progmodes/perl-mode.el: Use lexical-binding.
4661 Remove redundant :group args.
4662 (perl-nochange): Change default to be closer to other major modes's
4663 standard behavior.
4664 (perl-indent-line): Don't consider text on current line as a
4665 valid beginning of function from which to indent.
4666
4667 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4668 with more than one argument (bug#15538).
4669
4670 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4671
4672 * vc/pcvs.el: Use lexical-binding.
4673 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4674 environment of `eval'.
4675 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4676 than a list of expressions. Adjust callers.
4677 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4678
4679 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4680
4681 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4682 case of the dot in a chained method call being on the following line.
4683
4684 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * electric.el (electric-indent-inhibit): New var.
4687 (electric-indent-post-self-insert-function): Use it.
4688 * progmodes/python.el (python-mode): Set it.
4689
4690 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4691 open braces.
4692
4693 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4694
4695 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4696 (css-mode): Use electric-indent-chars.
4697
4698 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4699 (font-lock-beg, font-lock-end): Move before first use.
4700 (nxml-mode): Use syntax-propertize-function.
4701 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4702 (nxml-extend-after-change-region): Remove.
4703 * nxml/xmltok.el: Use lexical-binding.
4704 (xmltok-save): Use `declare'.
4705 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4706 * nxml/nxml-util.el: Use lexical-binding.
4707 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4708 Use `declare'.
4709 * nxml/nxml-ns.el: Use lexical-binding.
4710 (nxml-ns-save): Use `declare'.
4711 (nxml-ns-prefixes-for): Avoid add-to-list.
4712 * nxml/rng-match.el: Use lexical-binding.
4713 (rng--ipattern): Use cl-defstruct.
4714 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4715 (rng-cons-group-after, rng-subst-group-after)
4716 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4717 Use closures instead of `(lambda...).
4718
4719 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4720
4721 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4722 of BEG and END.
4723
4724 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4725 Use `tramp-handle-insert-file-contents'.
4726 (tramp-gvfs-handle-insert-file-contents): Remove function.
4727
4728 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4729 Use `save-restriction' in order to keep markers.
4730
4731 * net/trampver.el: Update release number.
4732
4733 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * progmodes/compile.el (compilation-parse-errors):
4736 Use compilation--put-prop.
4737 (compilation--ensure-parse): Check compilation-multiline.
4738
4739 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4740
4741 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4742 lexical-binding.
4743
4744 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4745
4746 * progmodes/ruby-mode.el: Fix recently added tests.
4747 (ruby-smie-grammar): Add - and +.
4748 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4749 (ruby-smie--backward-id): New functions.
4750 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4751 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4752 any more.
4753
4754 2013-10-07 Leo Liu <sdl.web@gmail.com>
4755
4756 * register.el (register-preview-delay)
4757 (register-preview-functions): New variables.
4758 (register-read-with-preview, register-preview)
4759 (register-describe-oneline): New functions.
4760 (point-to-register, window-configuration-to-register)
4761 (frame-configuration-to-register, jump-to-register)
4762 (number-to-register, view-register, insert-register)
4763 (copy-to-register, append-to-register, prepend-to-register)
4764 (copy-rectangle-to-register): Use register-read-with-preview to
4765 read register. (Bug#15525)
4766
4767 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4768
4769 * net/network-stream.el (network-stream-open-starttls): Don't add
4770 --insecure if it's already present, because that gnutls-cli
4771 rejects getting that parameter twice.
4772
4773 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4774
4775 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4776 keyword, too.
4777
4778 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4779
4780 * newcomment.el (comment-use-global-state): Change default value
4781 to t, mark obsolete (Bug#15251).
4782 (comment-beginning): In addition to `comment-to-syntax', check the
4783 value of `comment-use-global-state'.
4784
4785 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4788 (ruby-comment-column): Follow the global default, by default.
4789 (ruby-smie-grammar): Add assignment syntax.
4790 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4791 open-paren, a comma, or a \.
4792 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4793 and line continuations.
4794 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4795 followed by implicit semi-colons. Add rule for string concatenation
4796 and for indentation at BOB.
4797 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4798
4799 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4800 calling next-sexp, since next-token may have skipped chars which
4801 next-sexp doesn't know should be skipped!
4802
4803 2013-10-05 Leo Liu <sdl.web@gmail.com>
4804
4805 * progmodes/octave.el (octave-send-region):
4806 Call compilation-forget-errors.
4807
4808 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4809
4810 * vc/vc-svn.el (vc-svn-find-admin-dir):
4811 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4812 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4813 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4814 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4815
4816 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4819
4820 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * subr.el (read-passwd): Hide chars even when called within a context
4823 where after-change-functions is disabled (bug#15501).
4824 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4825 until we removed ourself from overriding-terminal-local-map.
4826
4827 2013-10-04 Leo Liu <sdl.web@gmail.com>
4828
4829 * progmodes/octave.el (inferior-octave-mode):
4830 Call compilation-forget-errors.
4831
4832 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4833
4834 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4835
4836 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/secrets.el (secrets-create-collection): Add optional
4839 argument ALIAS. Use proper Label keyword. Append ALIAS as
4840 dbus-call-method argument. (Bug#15516)
4841
4842 2013-10-04 Leo Liu <sdl.web@gmail.com>
4843
4844 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4845 (inferior-octave-compilation-font-lock-keywords): New variables.
4846 (compilation-error-regexp-alist)
4847 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4848 (inferior-octave-mode): Use compilation-shell-minor-mode.
4849
4850 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4851
4852 * minibuffer.el (completion--replace): Be careful that `end' might be
4853 a marker.
4854
4855 2013-10-03 Daiki Ueno <ueno@gnu.org>
4856
4857 Add support for package signature checking.
4858 * emacs-lisp/package.el (url-http-file-exists-p)
4859 (epg-make-context, epg-context-set-home-directory)
4860 (epg-verify-string, epg-context-result-for)
4861 (epg-signature-status, epg-signature-to-string)
4862 (epg-check-configuration, epg-configuration)
4863 (epg-import-keys-from-file): Declare.
4864 (package-check-signature): New user option.
4865 (package-unsigned-archives): New user option.
4866 (package-desc): Add `signed' field.
4867 (package-load-descriptor): Set `signed' field if .signed file exists.
4868 (package--archive-file-exists-p): New function.
4869 (package--check-signature): New function.
4870 (package-install-from-archive): Check package signature.
4871 (package--download-one-archive): Check archive signature.
4872 (package-delete): Remove .signed file.
4873 (package-import-keyring): New command.
4874 (package-refresh-contents): Import default keyring.
4875 (package-desc-status): Add "unsigned" status.
4876 (describe-package-1, package-menu--print-info)
4877 (package-menu-mark-delete, package-menu--find-upgrades)
4878 (package-menu--status-predicate): Support "unsigned" status.
4879
4880 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4883 the new compilation scheme using the new byte-codes.
4884
4885 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4886 (byte-pophandler): New byte codes.
4887 (byte-goto-ops): Adjust accordingly.
4888 (byte-compile--use-old-handlers): New var.
4889 (byte-compile-catch): Use new byte codes depending on
4890 byte-compile--use-old-handlers.
4891 (byte-compile-condition-case--old): Rename from
4892 byte-compile-condition-case.
4893 (byte-compile-condition-case--new): New function.
4894 (byte-compile-condition-case): New function that dispatches depending
4895 on byte-compile--use-old-handlers.
4896 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4897 when we can.
4898
4899 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4900 Optimize under `condition-case' and `catch' if
4901 byte-compile--use-old-handlers is nil.
4902 (disassemble-offset): Handle new bytecodes.
4903
4904 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * subr.el (error): Use `declare'.
4907 (decode-char, encode-char): Use advertised-calling-convention instead
4908 of the docstring to discourage use of the `restriction' arg.
4909
4910 2013-10-03 Daiki Ueno <ueno@gnu.org>
4911
4912 * epg.el (epg-verify-file): Add a comment saying that it does not
4913 notify verification error as a return value nor a signal.
4914 (epg-verify-string): Ditto.
4915
4916 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4917
4918 * progmodes/compile.el (compilation-start): Try globbing the arg to
4919 `cd' (bug#15417).
4920
4921 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4922
4923 Sync with Tramp 2.2.8.
4924
4925 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4926 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4927 * net/trampver.el: Update release number.
4928
4929 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4930
4931 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4932 and default-process-coding-system for darwin only.
4933
4934 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4937
4938 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4939
4940 * vc/vc-git.el (vc-git-grep): Disable pager.
4941
4942 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4943
4944 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4945 Use :url instead of :homepage, as per
4946 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4947
4948 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4949 non-nil, use `syntax-ppss' (Bug#15251).
4950
4951 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4952
4953 * progmodes/octave.el (inferior-octave-startup-file):
4954 Prefer ~/.emacs.d/init_octave.m.
4955
4956 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4957
4958 * emacs-lisp/package.el (package-desc-from-define):
4959 Accept additional arguments as plist, convert them to an alist and store
4960 them in the `extras' slot.
4961 (package-generate-description-file): Convert extras alist back to
4962 plist and append to the `define-package' form arguments.
4963 (package--alist-to-plist): New function.
4964 (package--ac-desc): Add `extras' slot.
4965 (package--add-to-archive-contents): Check if the archive-contents
4966 vector is long enough, and if it is, pass its `extras' slot value
4967 to `package-desc-create'.
4968 (package-buffer-info): Call `lm-homepage', pass the returned value
4969 to `package-desc-from-define'.
4970 (describe-package-1): Render the homepage button (Bug#13291).
4971
4972 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4973 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4974
4975 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4976
4977 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4978 and default-process-coding-system to utf-8-unix (Bug#15402).
4979
4980 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4981
4982 * subr.el (looking-back): Do not recommend using looking-back.
4983
4984 2013-09-28 Alan Mackenzie <acm@muc.de>
4985
4986 Fix indentation/fontification of Java enum with "implements".
4987
4988 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4989 regexp which matches "implements", etc., in Java.
4990 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4991 specifier clauses coming after "enum".
4992 * progmodes/cc-fonts.el (c-font-lock-declarations)
4993 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4994 after "enum".
4995
4996 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4997
4998 * faces.el (region): Change ns_selection_color to
4999 ns_selection_fg_color, add ns_selection_bg_color.
5000
5001 2013-09-28 Leo Liu <sdl.web@gmail.com>
5002
5003 * progmodes/octave.el (inferior-octave-completion-table)
5004 (inferior-octave-completion-at-point): Minor tweaks.
5005
5006 * textmodes/ispell.el (ispell-lookup-words): Rename from
5007 lookup-words. (Bug#15460)
5008 (lookup-words): Obsolete.
5009 (ispell-complete-word, ispell-command-loop): All uses changed.
5010
5011 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5012
5013 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5014 (octave-mode-menu): Add octave-send-buffer.
5015 (octave-send-buffer): New function.
5016
5017 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5018
5019 * progmodes/octave.el (octave-mode-map): Add key binding for
5020 octave-lookfor.
5021 (octave-mode-menu): Add octave-lookfor.
5022 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5023 octave-lookfor.
5024 (octave-lookfor): New function.
5025
5026 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * emacs-lisp/cl-macs.el:
5029 (cl--loop-destr-temps): Remove.
5030 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5031 its convention.
5032 (cl--loop-set-iterator-function): New function.
5033 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5034 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5035 Bind `it' with `let' instead of substituting it with `cl-subst'.
5036 (cl--unused-var-p): New function.
5037 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5038 Eliminate some unused variable warnings (bug#15326).
5039
5040 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5041
5042 * doc-view.el (doc-view-scale-reset): Rename from
5043 `doc-view-reset-zoom-level'.
5044 (doc-view-scale-adjust): New command.
5045 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5046 `doc-view-scale-adjust'.
5047
5048 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5049
5050 * doc-view.el (doc-view-reset-zoom-level): New command.
5051 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5052 zoom commands (bug#15466).
5053
5054 2013-09-26 Kenichi Handa <handa@gnu.org>
5055
5056 * international/quail.el (quail-help): Make it not a command.
5057
5058 2013-09-26 Leo Liu <sdl.web@gmail.com>
5059
5060 * minibuffer.el (completion-all-sorted-completions): Make args
5061 optional as they are.
5062
5063 2013-09-25 Daniel Colascione <dancol@dancol.org>
5064
5065 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5066 specs are and that they're not evaluated.
5067
5068 2013-09-24 Sam Steingold <sds@gnu.org>
5069
5070 * midnight.el (clean-buffer-list-kill-regexps)
5071 (clean-buffer-list-kill-buffer-names): Update for the new Man
5072 buffer naming which includes the object name.
5073
5074 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5077 (eshell-parse-command, eshell-parse-pipeline): Use it since
5078 eshell-separate-commands requires a dynamic scoped var.
5079 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5080
5081 2013-09-23 Leo Liu <sdl.web@gmail.com>
5082
5083 * autoinsert.el (auto-insert-alist): Make the value of
5084 lexical-binding match its file setting.
5085
5086 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5089
5090 * autoarg.el (autoarg-kp-digit-argument):
5091 * electric.el (Electric-command-loop):
5092 * kmacro.el (kmacro-step-edit-insert):
5093 Do not set universal-argument-num-events.
5094
5095 2013-09-22 Leo Liu <sdl.web@gmail.com>
5096
5097 * files.el (interpreter-mode-alist): Add octave.
5098
5099 2013-09-21 Alan Mackenzie <acm@muc.de>
5100
5101 C++: fontify identifier in declaration following "public:" correctly.
5102 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5103 to match "public", etc.
5104 (c-decl-prefix-re): Add ":" into the C++ value.
5105 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5106 bit. Add a check for a ":" preceded by "public", etc.
5107
5108 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5109
5110 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5111 recognized by GDB 7.5 and later.
5112
5113 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5114
5115 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5116
5117 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5118
5119 * subr.el (internal--call-interactively): New const.
5120 (called-interactively-p): Use it (bug#3984).
5121
5122 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5123
5124 * vc/pcvs.el (cvs-mode-ignore):
5125 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5126 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5127
5128 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5131 (eshell-ls-orig-insert-directory): Remove.
5132 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5133 (eshell-ls-use-in-dired): Use advice-add/remove.
5134 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5135 Add `orig-fun' arg for use in :around advice.
5136 Make it check (redundantly) eshell-ls-use-in-dired.
5137
5138 2013-09-19 Glenn Morris <rgm@gnu.org>
5139
5140 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5141
5142 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5143
5144 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5145
5146 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5147
5148 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5149 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5150 (tramp-get-remote-python): New defuns.
5151 (tramp-get-remote-uid-with-perl)
5152 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5153 contributed by yary <not.com@gmail.com> (tiny change).
5154 (tramp-get-remote-uid-with-python)
5155 (tramp-get-remote-gid-with-python): New defuns. Python code
5156 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5157 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5158
5159 2013-09-19 Glenn Morris <rgm@gnu.org>
5160
5161 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5162
5163 * eshell/em-unix.el (eshell-remove-entries):
5164 Rename argument to avoid name-clash with global `top-level'.
5165
5166 * eshell/esh-proc.el (eshell-kill-process-function):
5167 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5168 (eshell-reset-after-proc): Remove unused arg `proc'.
5169
5170 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5171 (directory-files-and-attributes): Mark unused arg.
5172
5173 * eshell/em-unix.el (eshell-remove-entries):
5174 Remove unused arg `path'. Update callers.
5175
5176 * eshell/em-hist.el (eshell-hist-parse-arguments):
5177 Remove unused arg `silent'. Update callers.
5178
5179 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5180 Fix (f)boundp mix-up.
5181
5182 * eshell/em-smart.el (eshell-smart-scroll-window)
5183 (eshell-disable-after-change):
5184 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5185
5186 2013-09-18 Alan Mackenzie <acm@muc.de>
5187
5188 Fix fontification of type when followed by "const".
5189 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5190 "known" types from fontification.
5191
5192 2013-09-18 Glenn Morris <rgm@gnu.org>
5193
5194 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5195 (chart-face-list): Drop Emacsen without display-color-p.
5196
5197 * net/eww.el (libxml-parse-html-region): Declare.
5198 (eww-display-html): Explicit error if no libxml2 support.
5199
5200 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5201
5202 * image.el (image-type-from-buffer, image-multi-frame-p):
5203 Remove --without-x warning/error.
5204
5205 * mouse.el (mouse-yank-primary):
5206 * term.el (term-mouse-paste):
5207 Reorder to silence --without-x compilation.
5208
5209 * mpc.el (doc-view-mode): Silence --without-x compilation.
5210
5211 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5212 Silence --without-x compilation.
5213
5214 * progmodes/gud.el (gud-find-file, gud-mode):
5215 Silence --without-x compilation.
5216 (tooltip-mode): Declare.
5217
5218 * wdired.el (dired-backup-overwrite): Remove declaration.
5219 (wdired-mode-map): Add doc string.
5220
5221 * custom.el (x-get-resource): Declare.
5222
5223 * eshell/em-glob.el (ange-cache):
5224 * eshell/em-unix.el (ange-cache): Declare.
5225
5226 * faces.el (x-display-list, x-open-connection, x-get-resource):
5227 Declare.
5228
5229 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5230 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5231 Declare.
5232
5233 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5234
5235 * net/gnutls.el (gnutls-log-level): Declare.
5236
5237 * net/shr.el (image-size, image-animate): Declare.
5238
5239 * simple.el (font-info): Declare.
5240
5241 * subr.el (x-popup-dialog): Declare.
5242
5243 * term/common-win.el (x-select-enable-primary)
5244 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5245 Declare.
5246
5247 * term/ns-win.el (x-handle-args): Declare.
5248
5249 * term/x-win.el (x-select-enable-clipboard): Declare.
5250
5251 * term/w32-win.el (create-default-fontset): Declare.
5252
5253 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5254 Declare.
5255
5256 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5257 (fit-frame-to-buffer): Explicit error if --without-x.
5258 (mouse-autoselect-window-select): Silence compiler.
5259
5260 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5261
5262 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5263 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5264 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5265 * eshell/esh-util.el (eshell-sublist):
5266 Remove unused local variables.
5267
5268 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5269
5270 * textmodes/two-column.el: Make 2C-split work for --without-x.
5271 (scroll-bar-columns): Autoload.
5272 (top-level): Require fringe when compiling.
5273
5274 2013-09-18 Leo Liu <sdl.web@gmail.com>
5275
5276 * subr.el (add-hook): Robustify to handle closure as well.
5277
5278 2013-09-17 Glenn Morris <rgm@gnu.org>
5279
5280 * simple.el (messages-buffer-mode-map): Unbind "g".
5281
5282 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * help-mode.el (help-mode-finish): Use derived-mode-p.
5285 Remove obsolete highlighting.
5286
5287 * play/life.el (life-mode): Use define-derived-mode. Derive from
5288 special-mode.
5289 (life): Let-bind inhibit-read-only.
5290 (life-setup): Avoid `setq'. Use `life-mode'.
5291
5292 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5293 which should not be needed any more.
5294 (package-menu-refresh, package-menu-describe-package): Use user-error.
5295
5296 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5297 (eshell-post-rewrite-command-hook): Make obsolete.
5298 (eshell-parse-command): Simplify.
5299 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5300 (eshell--cmd): Declare.
5301 (eshell-parse-pipeline): Remove unused var `final-p'.
5302 Pass a dynvar to eshell-post-rewrite-command-hook.
5303 Implement the new eshell-post-rewrite-command-function.
5304 (eshell-invoke-directly): Remove unused arg `input'.
5305 * eshell/esh-io.el (eshell-io-initialize):
5306 Use eshell-post-rewrite-command-function (bug#15399).
5307 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5308 adjust to new calling convention.
5309 (eshell-create-handles): Rename args to avoid clashing with dynvar
5310 `standard-output'.
5311
5312 2013-09-17 Glenn Morris <rgm@gnu.org>
5313
5314 * simple.el (messages-buffer-mode): New major mode.
5315 (messages-buffer): New function.
5316 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5317 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5318 (ert-run-test): Use `messages-buffer' function.
5319 (ert--force-message-log-buffer-truncation): Ignore read-only.
5320 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5321 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5322
5323 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5326
5327 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5328
5329 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * icomplete.el (icomplete-in-buffer): New var.
5332 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5333 vars and replace them with functions.
5334 (icomplete-minibuffer-setup): Adjust accordingly.
5335 (icomplete--completion-table, icomplete--completion-predicate)
5336 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5337 New functions.
5338 (icomplete-forward-completions, icomplete-backward-completions)
5339 (icomplete-simple-completing-p, icomplete-exhibit)
5340 (icomplete-completions): Use them.
5341 (icomplete--in-region-buffer): New var.
5342 (icomplete--in-region-setup): New function.
5343 (icomplete-mode): Use it.
5344
5345 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5346 (bug#15379).
5347 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5348 return args and options.
5349 (eshell-eval-using-options): Use the new return value of
5350 eshell--do-opts to set the options's vars in their scope.
5351 (eshell--set-option): Rename from eshell-set-option.
5352 Add arg `opt-vals'.
5353 (eshell--process-option): Rename from eshell-process-option.
5354 Add arg `opt-vals'.
5355 (eshell--process-args): Use an `opt-vals' alist to store the options's
5356 values during their processing and return them additionally to the
5357 remaining args.
5358
5359 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5360
5361 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5362 continuation character an operator, as far as indentation is
5363 concerned (Bug#15369).
5364
5365 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5366
5367 * window.el (window--state-put-2): Don't process buffer state
5368 when buffer doesn't exist any more (Bug#15382).
5369
5370 2013-09-15 Glenn Morris <rgm@gnu.org>
5371
5372 * eshell/em-unix.el (eshell/rm):
5373 Make -f ignore missing files. (Bug#15373)
5374
5375 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5376 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5377 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5378
5379 2013-09-14 Glenn Morris <rgm@gnu.org>
5380
5381 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5382
5383 2013-09-13 Glenn Morris <rgm@gnu.org>
5384
5385 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5386 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5387
5388 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5389
5390 * frame.el (x-focus-frame): Mark as declared in frame.c.
5391
5392 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * ls-lisp.el: Use advice-add.
5395 (original-insert-directory): Remove.
5396 (ls-lisp--insert-directory): Rename from insert-directory; add
5397 `orig-fun' argument.
5398 (insert-directory): Advise.
5399
5400 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5401
5402 * term.el (term-emulate-terminal): Decode the command string
5403 before passing it to term-command-hook. (Bug#15337)
5404
5405 2013-09-13 Glenn Morris <rgm@gnu.org>
5406
5407 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5408
5409 * eshell/esh-ext.el (eshell-search-path): Declare.
5410
5411 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5412 Otherwise an error occurs if eshell-dirs module not loaded.
5413
5414 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5415
5416 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5417
5418 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5419 `tramp-check-proper-host'. Check for a valid method name.
5420
5421 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5422 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5423 * net/tramp-sh.el (tramp-maybe-open-connection):
5424 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5425
5426 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5427 also for hash values.
5428
5429 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * term/ns-win.el (parameters): Don't declare as dynamic.
5432 (before-make-frame-hook): Don't add ineffective function.
5433
5434 * eshell/*.el: Use lexical-binding (bug#15231).
5435
5436 2013-09-12 Kenichi Handa <handa@gnu.org>
5437
5438 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5439
5440 2013-09-12 Glenn Morris <rgm@gnu.org>
5441
5442 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5443 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5444
5445 * subr.el (do-after-load-evaluation): Also give compiler warnings
5446 when obsolete files are used (except by obsolete files).
5447
5448 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5449 in the status output, assume `filename' is the first. (Bug#15322)
5450
5451 * vc/vc.el (vc-deduce-fileset): Doc fix.
5452
5453 * calc/calc-help.el (Info-goto-node):
5454 * progmodes/cperl-mode.el (Info-find-node):
5455 * vc/ediff.el (Info-goto-node): Update declarations.
5456
5457 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5458
5459 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5460 (vc-bzr-pull): Require vc-dispatcher.
5461 * vc/vc-git.el (vc-compilation-mode): Declare.
5462 (vc-git-pull): Require vc-dispatcher.
5463
5464 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5465
5466 * progmodes/octave.el (help-button-action): Declare.
5467
5468 * shell.el (shell-directory-tracker): Output error as a message
5469 rather than just returning it as a string.
5470 (shell-process-pushd): Remove useless use of message.
5471
5472 * dframe.el (dframe-timer-fn):
5473 * files.el (dir-locals-read-from-file):
5474 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5475 (mpc-format):
5476 * reveal.el (reveal-post-command):
5477 * saveplace.el (load-save-place-alist-from-file):
5478 * shell.el (shell-resync-dirs):
5479 * w32-common-fns.el (x-get-selection-value):
5480 * emacs-lisp/copyright.el (copyright-find-copyright):
5481 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5482 * emulation/tpu-edt.el (tpu-copy-keyfile):
5483 * play/bubbles.el (bubbles--mark-neighbourhood):
5484 * progmodes/executable.el
5485 (executable-make-buffer-file-executable-if-script-p):
5486 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5487
5488 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 Cleanup Eshell to rely less on dynamic scoping.
5491 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5492 last-value, and ext-command here. Bind `args' closer to `body'.
5493 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5494 (eshell--args): Declare new dynamic var.
5495 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5496 last-value, and ext-command. Pass `args' to `body'.
5497 (eshell-process-args): Bind eshell--args.
5498 (eshell-set-option): Use eshell--args.
5499 * eshell/eshell.el (eshell): Use derived-mode-p.
5500 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5501 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5502 (eshell-glob-function): Declare.
5503 * eshell/esh-util.el: Require cl-lib.
5504 (eshell-read-hosts-file): Avoid add-to-list.
5505 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5506 `err'.
5507 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5508 Declare.
5509 (eshell/diff): Remove unused var `err'.
5510 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5511 `killflag'.
5512 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5513 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5514 first use.
5515 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5516 Move declaration before first use.
5517 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5518 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5519 rely on cl-return.
5520
5521 2013-09-12 Glenn Morris <rgm@gnu.org>
5522
5523 * term/ns-win.el (global-map): Remove binding for ispell-next,
5524 deleted 1999-05-29. (Bug#15357)
5525
5526 2013-09-11 Glenn Morris <rgm@gnu.org>
5527
5528 * echistory.el (electric-command-history): Remove call to deleted func.
5529
5530 * play/landmark.el (landmark-mode): Fix typos.
5531
5532 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5533 Check cvs-sort-ignore-file is bound.
5534
5535 * savehist.el: No need for cl when compiling on Emacs.
5536
5537 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5540 (bug#15338).
5541 (eshell-self-insert-command, eshell-send-invisible):
5542 Remove unused argument.
5543 (eshell-handle-control-codes): Remove unused var `orig'.
5544 Avoid delete-backward-char.
5545
5546 * files.el (set-auto-mode): Simplify a bit further.
5547
5548 2013-09-11 Glenn Morris <rgm@gnu.org>
5549
5550 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5551 (set-auto-mode): Don't regexp-quote elements.
5552 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5553 * progmodes/cc-mode.el (interpreter-mode-alist):
5554 * progmodes/ruby-mode.el (interpreter-mode-alist):
5555 Revert previous change.
5556
5557 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * play/snake.el (snake-mode):
5560 * play/mpuz.el (mpuz-mode):
5561 * play/landmark.el (lm-mode):
5562 * play/blackbox.el (blackbox-mode):
5563 * play/5x5.el (5x5-mode):
5564 * obsolete/options.el (Edit-options-mode):
5565 * net/quickurl.el (quickurl-list-mode):
5566 * net/newst-treeview.el (newsticker-treeview-mode):
5567 * mail/rmailsum.el (rmail-summary-mode):
5568 * mail/mspools.el (mspools-mode):
5569 * locate.el (locate-mode):
5570 * ibuffer.el (ibuffer-mode):
5571 * emulation/ws-mode.el (wordstar-mode):
5572 * emacs-lisp/debug.el (debugger-mode):
5573 * array.el (array-mode):
5574 * net/eudc.el (eudc-mode): Use define-derived-mode.
5575 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5576 Move initialization into declaration.
5577 (mairix-searches-mode): Use define-derived-mode.
5578 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5579 (eudc-edit-hotlist): Use dolist.
5580 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5581 (Man-mode): Use define-derived-mode.
5582 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5583 (Info-edit-mode): Use define-derived-mode.
5584 (Info-cease-edit): Use Info-mode.
5585 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5586 into declaration.
5587 (eshell-mode): Use define-derived-mode.
5588 * chistory.el (command-history-mode-map): Rename from
5589 command-history-map.
5590 (command-history-mode): Use define-derived-mode.
5591 (Command-history-setup): Remove function.
5592 * calc/calc.el (calc-trail-mode-map): New var.
5593 (calc-trail-mode): Use define-derived-mode.
5594 (calc-trail-buffer): Set calc-main-buffer manually.
5595 * bookmark.el (bookmark-insert-annotation): New function.
5596 (bookmark-edit-annotation): Use it.
5597 (bookmark-edit-annotation-mode): Make it a proper major mode.
5598 (bookmark-send-edited-annotation): Use derived-mode-p.
5599 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5600 closer to its ideal place. Use \' to match EOS.
5601
5602 * profiler.el (profiler-calltree-find): Use function-equal.
5603
5604 2013-09-10 Glenn Morris <rgm@gnu.org>
5605
5606 * files.el (interpreter-mode-alist): Convert to regexps.
5607 (set-auto-mode): Adapt for this. (Bug#15306)
5608 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5609 Comment out unused variable.
5610 * progmodes/cc-mode.el (interpreter-mode-alist):
5611 * progmodes/python.el (interpreter-mode-alist):
5612 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5613 * progmodes/sh-script.el (sh-set-shell):
5614 No longer use interpreter-mode-alist to get list of shells.
5615
5616 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5617
5618 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * simple.el: Use set-temporary-overlay-map for universal-argument.
5621 (universal-argument-map): Don't use default-bindings (bug#15317).
5622 Bind switch-frame explicitly. Replace universal-argument-minus with
5623 a conditional binding.
5624 (universal-argument-num-events, saved-overriding-map): Remove.
5625 (restore-overriding-map): Remove.
5626 (universal-argument--mode): Rename from save&set-overriding-map,
5627 and rewrite.
5628 (universal-argument, universal-argument-more, negative-argument)
5629 (digit-argument): Adjust accordingly.
5630 (universal-argument-minus): Remove.
5631 (universal-argument-other-key): Remove.
5632
5633 * subr.el (with-demoted-errors): Add `format' argument.
5634
5635 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5636
5637 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5638 `tramp-cleanup-connection'.
5639
5640 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5641 parameters KEEP-DEBUG and KEEP-PASSWORD.
5642
5643 * net/tramp.el (tramp-file-name-handler):
5644 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5645 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5646 (tramp-maybe-open-connection):
5647 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5648 Use `tramp-cleanup-connection'.
5649
5650 * net/tramp-sh.el (tramp-maybe-open-connection):
5651 Catch 'uname-changed inside the progress reporter.
5652
5653 2013-09-10 Glenn Morris <rgm@gnu.org>
5654
5655 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5656
5657 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5658 returns "alternate access method" in mode (eg "-rw-r--r--.").
5659
5660 2013-09-08 Glenn Morris <rgm@gnu.org>
5661
5662 * saveplace.el (load-save-place-alist-from-file):
5663 Demote errors. (Bug#15305)
5664
5665 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5666
5667 Improve compatibility with older Emacsen, and XEmacs.
5668
5669 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5670 only if it is bound. It isn't for XEmacs.
5671 (with-tramp-progress-reporter): Do not let-bind `result'.
5672 This yields to scoping errors in XEmacs.
5673 (tramp-handle-make-auto-save-file-name): New function, moved from
5674 tramp-sh.el.
5675
5676 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5677 for `make-auto-save-file-name'.
5678 (tramp-adb--gnu-switches-to-ash):
5679 Use `tramp-compat-replace-regexp-in-string'.
5680
5681 * net/tramp-cache.el (tramp-cache-print): Call
5682 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5683
5684 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5685 bound. It isn't for XEmacs.
5686
5687 * net/tramp-compat.el (tramp-compat-copy-file):
5688 Catch `wrong-number-of-arguments' error.
5689 (tramp-compat-replace-regexp-in-string): New defun.
5690
5691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5692 for `make-auto-save-file-name'.
5693 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5694 `copy-file'.
5695 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5696 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5697 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5698
5699 * net/tramp-gw.el (tramp-gw-open-network-stream):
5700 Use `tramp-compat-replace-regexp-in-string'.
5701
5702 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5703 Call `tramp-handle-make-auto-save-file-name'.
5704 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5705 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5706 (tramp-sh-file-inotifywait-process-filter):
5707 Use `tramp-compat-replace-regexp-in-string'.
5708 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5709
5710 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5711 for `make-auto-save-file-name'.
5712 (tramp-smb-handle-copy-directory):
5713 Call `tramp-compat-replace-regexp-in-string'.
5714 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5715 (tramp-smb-handle-copy-file): Improve error message.
5716 (tramp-smb-handle-rename-file): Rename directly only in case
5717 `newname' does not exist yet. This is a restriction of smbclient.
5718 (tramp-smb-maybe-open-connection): Rerun the function only when
5719 `auth-sources' is non-nil.
5720
5721 2013-09-08 Kenichi Handa <handa@gnu.org>
5722
5723 * international/characters.el: Set category "^" (Combining) for
5724 more characters.
5725
5726 2013-09-07 Alan Mackenzie <acm@muc.de>
5727
5728 Correctly fontify Java class constructors.
5729 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5730 in Java Mode.
5731 (c-recognize-typeless-decls): Set the Java value to t.
5732 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5733 While handling a "(", add a check for, effectively, Java, and handle a
5734 "typeless" declaration there.
5735
5736 2013-09-07 Roland Winkler <winkler@gnu.org>
5737
5738 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5739 field subtitle for entry type book.
5740
5741 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * minibuffer.el: Make minibuffer-complete call completion-in-region
5744 rather than other way around.
5745 (completion--some, completion-pcm--find-all-completions):
5746 Don't delay signals when debugging.
5747 (minibuffer-completion-contents): Beware fields within the
5748 minibuffer contents.
5749 (completion-all-sorted-completions): Use defvar-local.
5750 (completion--do-completion, completion--cache-all-sorted-completions)
5751 (completion-all-sorted-completions, minibuffer-force-complete):
5752 Add args `beg' and `end'.
5753 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5754 (minibuffer-complete): Use completion-in-region.
5755 (completion-complete-and-exit): New fun, extracted from
5756 minibuffer-complete-and-exit.
5757 (minibuffer-complete-and-exit): Use it.
5758 (completion--complete-and-exit): Rename from
5759 minibuffer--complete-and-exit.
5760 (completion-in-region--single-word): New function, extracted from
5761 minibuffer-complete-word.
5762 (minibuffer-complete-word): Use it.
5763 (display-completion-list): Make `common-substring' argument obsolete.
5764 (completion--in-region): Call completion--in-region-1 instead of
5765 minibuffer-complete.
5766 (completion-help-at-point): Pass boundaries to
5767 minibuffer-completion-help as args rather than via an overlay.
5768 (completion-pcm--string->pattern): Use `any-delim'.
5769 (completion-pcm--optimize-pattern): New function.
5770 (completion-pcm--pattern->regex): Handle `any-delim'.
5771 * icomplete.el (icomplete-forward-completions)
5772 (icomplete-backward-completions, icomplete-completions):
5773 Adjust calls to completion-all-sorted-completions and
5774 completion--cache-all-sorted-completions.
5775 (icomplete-with-completion-tables): Default to t.
5776 * emacs-lisp/crm.el (crm--current-element): Rename from
5777 crm--select-current-element. Don't put an overlay but return the
5778 boundaries instead.
5779 (crm--completion-command): Take two new args to bind to the boundaries.
5780 (crm-completion-help): Adjust accordingly.
5781 (crm-complete): Use completion-in-region.
5782 (crm-complete-word): Use completion-in-region--single-word.
5783 (crm-complete-and-exit): Use completion-complete-and-exit.
5784
5785 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5788 than dynamically.
5789
5790 2013-09-06 Juri Linkov <juri@jurta.org>
5791
5792 * info.el (Info-display-images-node): When image file doesn't exist
5793 display text version of the image if it's provided in the Info file.
5794 Otherwise, display the location of missing image from SRC attribute.
5795 Add help-echo text property from ALT attribute. (Bug#15279)
5796
5797 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5800 (edit-abbrevs-mode): Use define-derived-mode.
5801
5802 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5803 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5804 that it's defined.
5805 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5806 Use define-derived-mode.
5807
5808 * epg.el (epg-start-encrypt): Minor CSE simplification.
5809
5810 2013-09-06 William Xu <william.xwl@gmail.com>
5811
5812 * arc-mode.el: Add support for 7za (bug#15264).
5813 (archive-7z-program): New var.
5814 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5815 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5816 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5817
5818 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5819
5820 Remove URL syntax.
5821
5822 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5823 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5824 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5825 (tramp-postfix-host-format, tramp-file-name-regexp)
5826 (tramp-completion-file-name-regexp)
5827 (tramp-completion-dissect-file-name)
5828 (tramp-handle-substitute-in-file-name): Remove 'url case.
5829 (tramp-file-name-regexp-url)
5830 (tramp-completion-file-name-regexp-url): Remove constants.
5831
5832 2013-09-06 Glenn Morris <rgm@gnu.org>
5833
5834 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5835
5836 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5837
5838 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5839 keywords" below "here-doc beginnings" (Bug#15270).
5840
5841 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * subr.el (pop): Use `car-safe'.
5844 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5845 to detect unused `pop' return value.
5846
5847 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5848 var `block-regexp'.
5849 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5850 (python-fill-string): Remove unused var `marker'.
5851 (python-skeleton-add-menu-items): Remove unused var `items'.
5852
5853 * international/mule-cmds.el: Require CL.
5854 (find-coding-systems-for-charsets): Avoid add-to-list.
5855 (sanitize-coding-system-list): New function, extracted from
5856 select-safe-coding-system-interactively.
5857 (select-safe-coding-system-interactively): Use it.
5858 (read-input-method-name): Accept symbols for `default'.
5859
5860 * emacs-lisp/advice.el (defadvice): Add indent rule.
5861
5862 2013-09-05 Daniel Hackney <dan@haxney.org>
5863
5864 * dired-x.el:
5865 * net/ange-ftp.el:
5866 * net/browse-url.el:
5867 * net/dbus.el:
5868 * net/eudc.el:
5869 * net/eudcb-ldap.el:
5870 * net/eww.el:
5871 * net/imap.el:
5872 * printing.el:
5873 * vc/ediff-diff.el:
5874 * vc/ediff-init.el:
5875 * vc/ediff-merg.el:
5876 * vc/ediff-mult.el:
5877 * vc/ediff-util.el:
5878 * vc/ediff-wind.el:
5879 * vc/ediff.el:
5880 * vc/emerge.el:
5881 * vc/pcvs.el:
5882 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5883 byte compiler. Remove some unused let-bound variables.
5884
5885 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5888 a "ref-cell", since it gets better optimized (bug#14883).
5889
5890 2013-09-05 Glenn Morris <rgm@gnu.org>
5891
5892 * progmodes/cc-awk.el (c-forward-sws): Declare.
5893
5894 2013-09-04 Glenn Morris <rgm@gnu.org>
5895
5896 * generic-x.el [rul-generic-mode]: Require cc-mode.
5897 (c++-mode-syntax-table): Declare.
5898 (rul-generic-mode-syntax-table): Init in the defvar.
5899
5900 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5903 (vc-do-command, vc-set-async-update):
5904 * vc/vc-mtn.el (vc-mtn-dir-status):
5905 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5906 (vc-hg-pull, vc-hg-merge-branch):
5907 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5908 (vc-git-merge-branch):
5909 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5910 (vc-cvs-dir-status-files):
5911 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5912 (vc-bzr-dir-status-files):
5913 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5914 * vc/vc-annotate.el: Use lexical-binding.
5915 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5916 (vc-sentinel-movepoint): Declare.
5917 (vc-annotate): Don't use `goto-line'.
5918 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5919 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5920 (vc-sentinel-movepoint): Declare.
5921 * vc/vc-svn.el: Use lexical-binding.
5922 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5923 * vc/vc-sccs.el:
5924 * vc/vc-rcs.el: Use lexical-binding.
5925
5926 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5927 `deleted'. Don't drop errors silently.
5928
5929 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5930
5931 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5932
5933 * vc/vc.el (vc-ignore): Rewrite.
5934 (vc-default-ignore): New function.
5935 (vc-default-ignore-completion-table): Use find-ignore-file.
5936
5937 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5938 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5939 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5940 Remove. Most code moved to vc.el.
5941
5942 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5945 * net/tramp-smb.el (tramp-smb-get-file-entries):
5946 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5947 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5948
5949 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5950 Update call to it.
5951 (eww-change-select): Remove unused var `properties'.
5952 (eww-make-unique-file-name): Remove unused var `base'.
5953
5954 * finder.el (finder-compile-keywords): Don't mess with windows.
5955
5956 * calculator.el (calculator-funcall): Fix typo in last change.
5957
5958 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5959
5960 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5961 <pkg>-autoloads.el file stop us.
5962
5963 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5964 warnings, and factor out common code.
5965
5966 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5967
5968 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5969 two-character operators and whether the character preceding them
5970 changes their meaning (Bug#15208).
5971
5972 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5973
5974 Format code sent to Python shell for robustness.
5975 * progmodes/python.el (python-shell-buffer-substring):
5976 New function.
5977 (python-shell-send-region, python-shell-send-buffer): Use it.
5978
5979 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5980
5981 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5982 * net/tramp.el (tramp-user-error): ... here.
5983 (tramp-find-method, tramp-check-proper-host)
5984 (tramp-dissect-file-name, tramp-debug-message)
5985 (tramp-handle-shell-command):
5986 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5987 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5988
5989 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5990
5991 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5992
5993 * avoid.el (mouse-avoidance-point-position)
5994 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5995 returns nil.
5996
5997 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5998
5999 * progmodes/python.el (python-shell-completion-get-completions):
6000 Drop use of deleted `comint-last-prompt-overlay'.
6001 (python-nav-if-name-main): New command.
6002
6003 2013-09-01 Glenn Morris <rgm@gnu.org>
6004
6005 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6006 Avoid leading space in $wins. Otherwise the sed command used by
6007 eg compile-main ends up containing "/*.el". (Bug#15170)
6008
6009 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6010
6011 2013-08-30 Glenn Morris <rgm@gnu.org>
6012
6013 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6014 Fix is-this-a-directory logic. (Bug#15220)
6015
6016 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * textmodes/css-mode.el: Use SMIE.
6019 (css-smie-grammar): New var.
6020 (css-smie--forward-token, css-smie--backward-token)
6021 (css-smie-rules): New functions.
6022 (css-mode): Use them.
6023 (css-navigation-syntax-table): Remove var.
6024 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6025 (css-indent-calculate, css-indent-line): Remove functions.
6026
6027 Misc changes to reduce use of `(lambda...); and other cleanups.
6028 * cus-edit.el: Use lexical-binding.
6029 (customize-push-and-save, customize-apropos)
6030 (custom-buffer-create-internal): Use closures.
6031 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6032 * progmodes/ada-xref.el: Use setq.
6033 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6034 * dframe.el: Use lexical-binding.
6035 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6036 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6037 * descr-text.el: Use lexical-binding.
6038 (describe-text-widget, describe-text-sexp, describe-property-list):
6039 Use closures.
6040 * comint.el (comint-history-isearch-push-state): Use a closure.
6041 * calculator.el: Use lexical-binding.
6042 (calculator-number-to-string): Make it work with lexical-binding.
6043 (calculator-funcall): Same and use cl-letf.
6044
6045 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6046 (lisp--company-doc-string, lisp--company-location): New functions.
6047 (lisp-completion-at-point): Use them to improve Company support.
6048
6049 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6050 params of lambda expressions.
6051 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6052 (ruby-smie--opening-pipe-p): New function.
6053 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6054 symbols and matched |...| for formal params.
6055 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6056 from being treated as hanging. Handle "rescue".
6057
6058 2013-08-29 Glenn Morris <rgm@gnu.org>
6059
6060 * progmodes/cc-engine.el (c-pull-open-brace):
6061 Move definition before use.
6062
6063 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6066 are immutable. Don't use `unsafe' any more.
6067 (cl--defsubst-expand): Don't substitute at the same time as keeping
6068 a residual unused let-binding. Don't use `unsafe' any more.
6069
6070 2013-08-29 Glenn Morris <rgm@gnu.org>
6071
6072 * calendar/cal-china.el (calendar-chinese-year-cache):
6073 Recenter on 2015.
6074
6075 * nxml/nxml-util.el (nxml-debug-clear-inside):
6076 Use cl-loop rather than loop.
6077
6078 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6079
6080 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6081
6082 2013-08-28 Glenn Morris <rgm@gnu.org>
6083
6084 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6085
6086 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6087
6088 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6089
6090 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * simple.el (repeat-complex-command--called-interactively-skip):
6093 New function.
6094 (repeat-complex-command): Use it (bug#14136).
6095
6096 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6097 (c-define-abbrev-table): Add `doc' argument.
6098 (c-mode-abbrev-table, c++-mode-abbrev-table)
6099 (objc-mode-abbrev-table, java-mode-abbrev-table)
6100 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6101 (awk-mode-abbrev-table): Use it.
6102 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6103 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6104 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6105 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6106 Move initialization into the declaration; and remove any
6107 autoload cookie.
6108
6109 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6110 and dynamic let binding.
6111
6112 * vc/smerge-mode.el: Remove redundant :group args.
6113
6114 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6115 to load-path.
6116
6117 2013-08-28 Juri Linkov <juri@jurta.org>
6118
6119 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6120 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6121 (isearch-other-meta-char): Handle an undefined shifted printing
6122 character by downshifting it. (Bug#15200)
6123
6124 2013-08-28 Juri Linkov <juri@jurta.org>
6125
6126 * isearch.el (isearch-search): Change regexp error message for
6127 non-regexp searches. (Bug#15166)
6128
6129 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6130
6131 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6132 for portability to hosts where /bin/sh has problems.
6133
6134 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6137
6138 2013-08-27 Juri Linkov <juri@jurta.org>
6139
6140 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6141 in the keyboard macro. (Bug#15126)
6142
6143 2013-08-27 Juri Linkov <juri@jurta.org>
6144
6145 * isearch.el (isearch-quote-char): Comment out converting unibyte
6146 to multibyte, thus syncing with its `quoted-insert' counterpart.
6147 (Bug#15166)
6148
6149 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6150
6151 * window.el (display-buffer-use-some-window): Add missing
6152 argument in call of get-largest-window (Bug#15185).
6153 Reported by Stephen Leake.
6154
6155 2013-08-27 Glenn Morris <rgm@gnu.org>
6156
6157 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6158
6159 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6162 from a matcher-function unless there's no more matches (bug#15161).
6163
6164 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6165
6166 * minibuffer.el: Revert change from 2013-08-20.
6167
6168 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6169 with text property `tramp-default', if appropriate.
6170 (tramp-check-proper-host): New defun.
6171 (tramp-dissect-file-name): Do not check hostname. Revert change
6172 of 2013-03-18.
6173 (tramp-backtrace): Make VEC-OR-PROC optional.
6174
6175 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6176 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6177 * net/tramp-sh.el (tramp-maybe-open-connection):
6178 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6179 Apply `tramp-check-proper-host'.
6180
6181 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6182
6183 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6184 lambda expression in order to have `describe-variable' display it.
6185
6186 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6187
6188 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6189 BUF can be optional. (Bug#15186)
6190
6191 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6192
6193 * progmodes/flymake.el (flymake-get-real-file-name-function):
6194 Fix broken customization. (Bug#15184)
6195
6196 2013-08-25 Alan Mackenzie <acm@muc.de>
6197
6198 Improve indentation of bracelists defined by macros (without "=").
6199
6200 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6201 expansion begins with "{", regard it as bracelist when it doesn't
6202 contain a ";".
6203
6204 Parse C++ inher-intro when there's a template split over 2 lines.
6205
6206 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6207 rigorously the search for "class" etc. followed by ":".
6208
6209 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6210 random languages a regexp which never matches rather than nil.
6211
6212 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6213
6214 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6215 (c-awk-regexp-one-line-possibly-open-char-list-re)
6216 (c-awk-one-line-possibly-open-regexp-re)
6217 (c-awk-one-line-non-syn-ws*-re): Remove.
6218 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6219 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6220 (c-awk-space*-unclosed-regexp-/-re): New constants.
6221 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6222 aren't regexp delimiters.
6223
6224 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6225 handling for a rare situation in AWK Mode involving unterminated
6226 strings/regexps.
6227
6228 2013-08-23 Glenn Morris <rgm@gnu.org>
6229
6230 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6231
6232 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6233
6234 * files.el (create-file-buffer): If the result would begin with
6235 spaces, prepend a "|" instead of removing them. (Bug#15162)
6236
6237 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6240 text-properties (bug#15155).
6241
6242 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6243 exist any more.
6244 (calc-keypad-redraw): Remove unused var `pad'.
6245 (calc-keypad-press): Remove unused var `menu'.
6246
6247 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6248
6249 * window.el (display-buffer-pop-up-frame):
6250 Call pop-up-frame-function with BUFFER current so `make-frame' will
6251 use it as the new frame's buffer (Bug#15133).
6252
6253 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * calendar/timeclock.el: Minor cleanups.
6256 (timeclock-ask-before-exiting, timeclock-use-display-time):
6257 Use `symbol'.
6258 (timeclock-modeline-display): Define as alias before the
6259 actual definition.
6260 (timeclock-mode-line-display): Use define-minor-mode.
6261 (timeclock-day-list-template): Make it a function, add an argument.
6262 (timeclock-day-list-required, timeclock-day-list-length)
6263 (timeclock-day-list-debt, timeclock-day-list-span)
6264 (timeclock-day-list-break): Adjust calls accordingly.
6265
6266 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6269 Use read--expression so that completion works again.
6270
6271 2013-08-21 Sam Steingold <sds@gnu.org>
6272
6273 Add rudimentary inferior shell interaction
6274 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6275 (sh-set-shell): Reset it.
6276 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6277 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6278
6279 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * align.el: Use lexical-binding.
6282 (align-region): Simplify accordingly.
6283
6284 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6285
6286 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6287
6288 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6289 `non-essential' up.
6290
6291 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6292
6293 * net/tramp.el:
6294 * net/tramp-adb.el:
6295 * net/tramp-cmds.el:
6296 * net/tramp-ftp.el:
6297 * net/tramp-gvfs.el:
6298 * net/tramp-gw.el:
6299 * net/tramp-sh.el: Don't wrap external variable declarations by
6300 `eval-when-compile'.
6301
6302 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6303
6304 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6305 now that Emacs supports ImageMagick animations.
6306
6307 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6308
6309 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6310 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6311
6312 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6313
6314 * window.el (mouse-autoselect-window-select): Do autoselect when
6315 mouse pointer is on margin.
6316
6317 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6318
6319 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6320
6321 2013-08-16 Glenn Morris <rgm@gnu.org>
6322
6323 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6324 Handle "Remote Directory" response of some clients. (Bug#15058)
6325
6326 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6327 Tweak warning. (Bug#14926)
6328
6329 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6330 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6331
6332 * image-mode.el (image-mode-map): Add menu items to reverse,
6333 increase, decrease, reset animation speed.
6334 (image--set-speed, image-increase-speed, image-decrease-speed)
6335 (image-reverse-speed, image-reset-speed): New functions.
6336 (image-mode-map): Add bindings for speed commands.
6337
6338 * image.el (image-animate-get-speed, image-animate-set-speed):
6339 New functions.
6340 (image-animate-timeout): Respect image :speed property.
6341
6342 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6345 previous line (bug#15101).
6346 (debugger-eval-expression, debugger-record-expression):
6347 Use read--expression (bug#15102).
6348
6349 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6350
6351 Remove byte compiler warnings, visible when compiling with
6352 `byte-compile-force-lexical-warnings' set to t.
6353
6354 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6355 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6356 (tramp-handle-unhandled-file-name-directory)
6357 (tramp-handle-file-notify-add-watch, tramp-action-login)
6358 (tramp-action-succeed, tramp-action-permission-denied)
6359 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6360 arguments with "_".
6361
6362 * net/tramp-adb.el (tramp-adb-parse-device-names)
6363 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6364 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6365 (tramp-adb-handle-file-truename): Remove unused arguments.
6366
6367 * net/tramp-cache.el (tramp-flush-directory-property)
6368 (tramp-flush-connection-property, tramp-list-connections)
6369 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6370
6371 * net/tramp-compat.el (tramp-compat-make-temp-file):
6372 Rename FILENAME to F.
6373
6374 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6375 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6376 (tramp-zeroconf-parse-workstation-device-names)
6377 (tramp-zeroconf-parse-webdav-device-names)
6378 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6379
6380 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6381 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6382
6383 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6384 arguments.
6385 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6386 (tramp-sh-handle-insert-file-contents-literally)
6387 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6388 with "_".
6389 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6390 Remove unused variables.
6391
6392 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6393 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6394 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6395
6396 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6397 Make them a defconst.
6398 (tramp-uuencode-region): Remove unused variable.
6399
6400 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6401
6402 * frameset.el (frameset--prop-setter): New function.
6403 (frameset-prop): Add gv-setter declaration.
6404 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6405 parameter was already set in FILTERED. Doc fix.
6406 (frameset--record-minibuffer-relationships): Allow saving a
6407 minibufferless frame without its corresponding minibuffer frame.
6408 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6409 frame, if the frame id matches.
6410 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6411 frames before orphaned ones.
6412 (frameset-restore): Warn about orphaned windows, instead of error out.
6413
6414 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6415
6416 * window.el (window-make-atom): Don't overwrite parameter
6417 already present.
6418 (display-buffer-in-atom-window): Handle special case where we
6419 split an already atomic window.
6420 (window--major-non-side-window, display-buffer-in-side-window)
6421 (window--side-check): Ignore minibuffer window when walking
6422 window tree.
6423 (window-deletable-p): Return 'frame only if no other frame uses
6424 our minibuffer window.
6425 (record-window-buffer): Run buffer-list-update-hook.
6426 (split-window): Make sure window--check-frame won't destroy an
6427 existing atomic window in case the new window gets nested
6428 inside.
6429 (display-buffer-at-bottom): Ignore minibuffer window when
6430 walking window tree. Don't split a side window.
6431 (pop-to-buffer): Don't set-buffer here, the select-window call
6432 should do that.
6433 (mouse-autoselect-window-select): Autoselect only if we are in the
6434 text portion of the window.
6435
6436 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437
6438 * net/shr.el (shr-parse-image-data): New function to grab both the
6439 data itself and the Content-Type.
6440 (shr-put-image): Use it.
6441
6442 * net/eww.el (eww-display-image): Ditto.
6443
6444 * image.el (image-content-type-suffixes): New variable.
6445
6446 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6447
6448 * progmodes/python.el (python-imenu--build-tree)
6449 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6450
6451 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6452
6453 * simple.el (backward-word): Mention the optional argument.
6454
6455 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * frameset.el (frameset--make): Rename constructor from make-frameset.
6458 (frameset-p, frameset-valid-p): Don't autoload.
6459 (frameset-valid-p): Use normal accessors.
6460
6461 2013-08-13 Glenn Morris <rgm@gnu.org>
6462
6463 * progmodes/compile.el (compile-command): Tweak example in doc.
6464 * obsolete/scribe.el (scribe-mode):
6465 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6466
6467 * mail/feedmail.el (feedmail-confirm-outgoing)
6468 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6469
6470 * cus-start.el (truncate-partial-width-windows): Fix type.
6471
6472 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6473
6474 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6475
6476 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * emacs-lisp/timer.el (timer--time-setter): New function.
6479 (timer--time): Use it as gv-setter.
6480
6481 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6482 setter is not a symbol.
6483
6484 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6485
6486 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6487 if sending fails. This makes debugging easier.
6488
6489 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6490
6491 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6492 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6493 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6494
6495 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6496
6497 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6498
6499 2013-08-12 Glenn Morris <rgm@gnu.org>
6500
6501 * format.el (format-annotate-function):
6502 Handle read-only text properties in the source. (Bug#14887)
6503
6504 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6505
6506 * net/eww.el (eww-display-html): Ignore coding system errors.
6507 One web site uses "utf-8lias" as the coding system.
6508
6509 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6510
6511 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6512
6513 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6514
6515 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6516 (tutorial--detailed-help): Remove unused local variables.
6517 (tutorial--save-tutorial-to): Use ignore-errors.
6518 (help-with-tutorial): Use looking-at-p.
6519
6520 * view.el (view-buffer-other-window, view-buffer-other-frame):
6521 Mark unused arguments.
6522
6523 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6524 (woman-select-symbol-fonts, woman, woman-find-file)
6525 (woman-insert-file-contents, woman-non-underline-faces):
6526 Use string-match-p.
6527 (woman1-unquote): Move declaration.
6528
6529 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6530 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6531 argument. Remove unused local variable.
6532 (xml-parse-elem-type): Use string-match-p.
6533 (xml-substitute-numeric-entities): Use ignore-errors.
6534
6535 * calculator.el (calculator): Mark unused argument.
6536 (calculator-paste, calculator-quit, calculator-integer-p):
6537 Use ignore-errors.
6538 (calculator-string-to-number, calculator-decimal, calculator-exp)
6539 (calculator-op-or-exp): Use string-match-p.
6540
6541 * dired.el (dired-buffer-more-recently-used-p): Declare.
6542 (dired-insert-set-properties, dired-insert-old-subdirs):
6543 Use ignore-errors.
6544
6545 * dired-aux.el (dired-compress): Use ignore-errors.
6546 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6547 (dired-do-async-shell-command, dired-do-shell-command)
6548 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6549 (dired-insert-subdir-validate): Use string-match-p.
6550 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6551 (dired-add-entry): Use string-match-p, looking-at-p.
6552 (dired-insert-subdir-newpos): Remove unused local variable.
6553
6554 * filenotify.el (file-notify-callback): Remove unused local variable.
6555
6556 * filesets.el (filesets-error): Mark unused argument.
6557 (filesets-which-command-p, filesets-filter-dir-names)
6558 (filesets-directory-files, filesets-get-external-viewer)
6559 (filesets-ingroup-get-data): Use string-match-p.
6560
6561 * find-file.el (ff-other-file-name, ff-other-file-name)
6562 (ff-find-the-other-file, ff-cc-hh-converter):
6563 Remove unused local variables.
6564 (ff-get-file-name): Use string-match-p.
6565 (ff-all-dirs-under): Use ignore-errors.
6566
6567 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6568 (follow-select-if-visible): Remove unused local variable.
6569
6570 * forms.el (read-file-filter): Move declaration.
6571 (forms--make-format, forms--make-parser, forms-insert-record):
6572 Quote function with #'.
6573 (forms--update): Use string-match-p. Quote function with #'.
6574
6575 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6576 (help-make-xrefs): Use looking-at-p.
6577 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6578
6579 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6580 (ibuffer-confirm-operation-on): Use string-match-p.
6581
6582 * msb.el (msb-item-handler, msb-dired-item-handler):
6583 Mark unused arguments.
6584
6585 * ses.el (ses-decode-cell-symbol)
6586 (ses-kill-override): Remove unused local variable.
6587 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6588 (ses-load): Use ignore-errors, looking-at-p.
6589 (ses-jump-safe): Use ignore-errors.
6590 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6591
6592 * tabify.el (untabify, tabify): Mark unused arguments.
6593
6594 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6595 Mark unused argument.
6596 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6597 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6598
6599 * emacs-lisp/timer.el (timer--time): Define setter with
6600 gv-define-setter to avoid deprecation warning.
6601
6602 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6603 (*record-cmpl-statistics-p*): Remove (was commented out).
6604 (cmpl-statistics-block): Remove (body was commented out).
6605 All callers changed.
6606 (add-completions-from-buffer, load-completions-from-file):
6607 Remove unused variables.
6608
6609 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6610
6611 * filecache.el (file-cache-delete-file-list):
6612 Print message only when told so.
6613 (file-cache-files-matching): Use #' in mapconcat argument.
6614
6615 * ffap.el (ffap-url-at-point): Fix reference to variable
6616 thing-at-point-default-mail-uri-scheme.
6617
6618 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 * subr.el (define-error): New function.
6621 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6622 error-file-not-found and define with define-error.
6623 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6624 and define with define-error.
6625 * userlock.el (file-locked, file-supersession):
6626 * simple.el (mark-inactive):
6627 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6628 * progmodes/ada-mode.el (ada-mode-errors):
6629 * play/life.el (life-extinct):
6630 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6631 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6632 * nxml/rng-util.el (rng-error):
6633 * nxml/rng-uri.el (rng-uri-error):
6634 * nxml/rng-match.el (rng-compile-error):
6635 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6636 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6637 * nxml/nxml-rap.el (nxml-scan-error):
6638 * nxml/nxml-outln.el (nxml-outline-error):
6639 * net/soap-client.el (soap-error):
6640 * net/gnutls.el (gnutls-error):
6641 * net/ange-ftp.el (ftp-error):
6642 * mpc.el (mpc-proc-error):
6643 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6644 (json-number-format, json-string-escape, json-string-format)
6645 (json-key-format, json-object-format):
6646 * jka-compr.el (compression-error):
6647 * international/quail.el (quail-error):
6648 * international/kkc.el (kkc-error):
6649 * emacs-lisp/ert.el (ert-test-failed):
6650 * calc/calc.el (calc-error, inexact-result, math-overflow)
6651 (math-underflow):
6652 * bookmark.el (bookmark-error-no-filename):
6653 * epg.el (epg-error): Define with define-error.
6654
6655 * time.el (display-time-event-handler)
6656 (display-time-next-load-average): Don't call sit-for since it seems
6657 unnecessary (bug#15045).
6658
6659 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6660 Use #' instead of ' to quote functions.
6661 (checkdoc-output-mode): Use setq-local.
6662 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6663 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6664 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6665 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6666 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6667 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6668 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6669 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6670
6671 * ido.el (ido-completion-help): Fix up compiler warning.
6672
6673 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6674
6675 * frameset.el (frameset-p): Add autoload cookie.
6676 (frameset--jump-to-register): New function, based on code moved from
6677 register.el.
6678 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6679
6680 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6681 (frameset-restore, frameset-save, frameset-session-filter-alist):
6682 Remove declarations.
6683 (register-alist): Doc fix.
6684 (frameset-to-register): Move to frameset.el.
6685 (jump-to-register, describe-register-1): Remove frameset-specific code.
6686
6687 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6688
6689 * allout-widgets.el (allout-widgets-pre-command-business)
6690 (allout-widgets-post-command-business)
6691 (allout-widgets-after-change-handler)
6692 (allout-decorate-item-and-context, allout-set-boundary-marker)
6693 (allout-body-modification-handler)
6694 (allout-graphics-modification-handler): Mark ignored arguments.
6695 (allout-widgets-post-command-business)
6696 (allout-widgets-exposure-change-processor)
6697 (allout-widgets-exposure-undo-processor)
6698 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6699 (allout-parse-item-at-point, allout-decorate-item-guides)
6700 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6701 * allout.el (epa-passphrase-callback-function): Declare.
6702 (allout-overlay-insert-in-front-handler)
6703 (allout-overlay-interior-modification-handler)
6704 (allout-isearch-end-handler, allout-chart-siblings)
6705 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6706 (allout-yank-processing, allout-process-exposed)
6707 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6708 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6709 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6710 (lisp-indent-defform): Mark ignored arguments.
6711 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6712 (calculate-lisp-indent): Remove unused variables.
6713 * international/characters.el (indian-2-column, arabic-2-column)
6714 (tibetan): Mark ignored arguments.
6715 (use-cjk-char-width-table): Mark ignored arguments.
6716 Remove unused variables.
6717 * international/fontset.el (build-default-fontset-data)
6718 (x-compose-font-name, create-fontset-from-fontset-spec):
6719 Mark ignored arguments.
6720 (fontset-plain-name): Remove unused variables.
6721 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6722 (keyboard-coding-system): Mark ignored arguments.
6723 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6724 * help.el (resize-temp-buffer-window):
6725 * window.el (display-buffer-in-major-side-window)
6726 (display-buffer-in-side-window, display-buffer-in-previous-window):
6727 Remove unused variables.
6728 * isearch.el (isearch-forward-symbol):
6729 * version.el (emacs-bzr-version-bzr):
6730 * international/mule-cmds.el (current-language-environment):
6731 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6732 (x-handle-display):
6733 * term/pc-win.el (x-list-fonts, x-display-planes)
6734 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6735 (x-server-version, x-display-screens, x-display-mm-height)
6736 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6737 (x-selection-owner-p, x-own-selection-internal)
6738 (x-disown-selection-internal, x-get-selection-internal)
6739 (msdos-initialize-window-system):
6740 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6741 * term/x-win.el (x-handle-no-bitmap-icon):
6742 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6743 (vc-default-find-file-hook, vc-default-extra-menu):
6744 Mark ignored arguments.
6745
6746 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6749 break-condition in the context of the debugged code (bug#12685).
6750
6751 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6752
6753 * comint.el:
6754 Do not use an overlay to highlight the last prompt. (Bug#14744)
6755 (comint-mode): Make comint-last-prompt buffer local.
6756 (comint-last-prompt): New variable.
6757 (comint-last-prompt-overlay): Remove. Superseded by
6758 comint-last-prompt.
6759 (comint-snapshot-last-prompt, comint-output-filter):
6760 Use comint-last-prompt.
6761
6762 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6765 (frameset-save): Check validity of the resulting frameset.
6766
6767 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6768
6769 * ido.el (ido-record-command): Add doc string.
6770
6771 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6772
6773 * frameset.el (frameset): Do not disable creation of the default
6774 frameset-p predicate. Doc fix.
6775 (frameset-valid-p): New function, copied from the old predicate-p.
6776 Add additional checks.
6777 (frameset-restore): Check with frameset-valid-p.
6778 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6779 (frameset-name, frameset-description, frameset-properties)
6780 (frameset-states): Add docstring.
6781 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6782 (frameset-filter-alist): Doc fixes.
6783
6784 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6785
6786 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6787
6788 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6791 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6792 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6793 (byte-compile-normal-call): Remove obsolescence check.
6794
6795 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6796
6797 * frameset.el (frameset-restore): Doc fix.
6798
6799 * register.el (frameset-frame-id, frameset-frame-with-id)
6800 (frameset-p, frameset-restore, frameset-save): Declare.
6801 (register-alist): Document framesets.
6802 (frameset-session-filter-alist): Declare.
6803 (frameset-to-register): New function.
6804 (jump-to-register): Implement jumping to framesets. Doc fix.
6805 (describe-register-1): Describe framesets.
6806
6807 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6808
6809 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6812 Use lexical-binding.
6813
6814 * frameset.el (frameset): Use type vector, not list (incompatible
6815 change). Do not declare a new constructor, use the default one.
6816 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6817 `name' and `description', respectively, and add read-only slot
6818 `timestamp'. Doc fixes.
6819 (frameset-copy, frameset-persistent-filter-alist)
6820 (frameset-filter-alist, frameset-switch-to-gui-p)
6821 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6822 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6823 (frameset-filter-iconified, frameset-keep-original-display-p):
6824 Doc fixes.
6825 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6826 Rename from frameset-filter-(save|restore)-param. All callers changed.
6827 Doc fix.
6828 (frameset-p): Adapt to change to vector and be more thorough.
6829 Change arg name to OBJECT. Doc fix.
6830 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6831 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6832 All callers changed.
6833 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6834 All callers changed.
6835 (frameset--record-minibuffer-relationships): Rename from
6836 frameset--process-minibuffer-frames. All callers changed.
6837 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6838 Use new default constructor (again). Doc fix.
6839 (frameset--find-frame-if): Rename from `frameset--find-frame.
6840 All callers changed.
6841 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6842 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6843 Doc fix.
6844 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6845 PARAMETERS and WINDOW-STATE, respectively.
6846 (frameset-restore): Add new keyword argument PREDICATE.
6847 Reset frameset--target-display to nil. Doc fix.
6848
6849 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6850
6851 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6852 (bat-mode): Use it.
6853 (bat-mode-syntax-table): Mark \n as end-of-comment.
6854 (bat-font-lock-keywords): Remove comment rule.
6855
6856 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6857 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6858
6859 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6860 (byte-compile-callargs-warn): Use `push'.
6861 (byte-compile-arglist-warn): Ignore higher-order "calls".
6862 (byte-compile-file-form-autoload): Use `pcase'.
6863 (byte-compile-function-form): If quoting a symbol, check that it exists.
6864
6865 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6866
6867 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6868 and add a few popular commands found in batch files.
6869 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6870 (dos-mode): Doc fixes.
6871
6872 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6875 (dos-mode): Use setq-local. Add space after "rem".
6876 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6877 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6878
6879 2013-08-07 Arni Magnusson <arnima@hafro.is>
6880
6881 * progmodes/dos.el: New file.
6882 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6883 dos-mode.
6884
6885 2013-08-06 Glenn Morris <rgm@gnu.org>
6886
6887 * calendar/calendar.el: Add new faces, and day-header-array.
6888 (calendar-weekday-header, calendar-weekend-header)
6889 (calendar-month-header): New faces.
6890 (calendar-day-header-construct): New function.
6891 (calendar-day-header-width): Also :set calendar-day-header-array.
6892 (calendar-american-month-header, calendar-european-month-header)
6893 (calendar-iso-month-header): Use calendar- faces.
6894 (calendar-generate-month):
6895 Use calendar-day-header-array for day headers; apply faces to them.
6896 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6897 (calendar-abbrev-construct): Add optional maxlen argument.
6898 (calendar-day-name-array): Doc fix.
6899 (calendar-day-name-array, calendar-abbrev-length)
6900 (calendar-day-abbrev-array):
6901 Also :set calendar-day-header-array, and maybe redraw.
6902 (calendar-day-header-array): New option. (Bug#15007)
6903 (calendar-font-lock-keywords): Set to nil and make obsolete.
6904 (calendar-day-name): Add option to use header array.
6905
6906 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6907
6908 * net/shr.el (shr-render-td): Remove debugging.
6909 (shr-render-td): Make width computation consistent by defaulting
6910 all zero-width columns to 10 characters. This may not be optimal,
6911 but it's at least consistent.
6912 (shr-make-table-1): Redo last change to fix the real problem in
6913 colspan handling.
6914
6915 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6916
6917 * files.el (cache-long-line-scans):
6918 Make obsolete alias to `cache-long-scans'.
6919
6920 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6921
6922 * frameset.el (frameset, frameset-filter-alist)
6923 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6924 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6925 (frameset-compute-pos): Rename from frameset--compute-pos,
6926 and add docstring.
6927 (frameset-move-onscreen): Use frameset-compute-pos.
6928 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6929
6930 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6931 Fix typos in docstrings.
6932
6933 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6934
6935 * frame.el (get-other-frame): Tiny cleanup.
6936
6937 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6938
6939 * vc/vc.el (vc-default-ignore-completion-table):
6940 Silence byte-compiler warning.
6941
6942 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6943 slot, which can indeed be nil.
6944 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6945 Move entry for `left' from persistent to live filter alist.
6946 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6947 Doc fixes.
6948 (frameset-filter-params): When restoring a frame, copy items added to
6949 `filtered', to avoid unwittingly modifying the original parameters.
6950 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6951 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6952
6953 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6954 to use looking-at-p instead of looking-at. (Bug#15028)
6955
6956 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 Revert introduction of isearch-filter-predicates (bug#14714).
6959 Rely on add-function instead.
6960 * isearch.el (isearch-filter-predicates): Rename it back to
6961 isearch-filter-predicate.
6962 (isearch-message-prefix): Use advice-function-mapc and advice
6963 properties to get the isearch-message-prefix.
6964 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6965 instead of run-hook-with-args-until-failure.
6966 (isearch-filter-visible): Not obsolete any more.
6967 * loadup.el: Preload nadvice.
6968 * replace.el (perform-replace): Revert to funcall
6969 instead of run-hook-with-args-until-failure.
6970 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6971 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6972 dired-isearch-filenames-toggle; make it into a proper minor mode.
6973 Use add/remove-function.
6974 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6975 Call the minor-mode rather than add/remove-hook.
6976 (dired-isearch-filter-filenames):
6977 Remove isearch-message-prefix property.
6978 * info.el (Info--search-loop): New function, extracted from Info-search.
6979 Funcall isearch-filter-predicate instead of
6980 run-hook-with-args-until-failure isearch-filter-predicates.
6981 (Info-search): Use it.
6982 (Info-mode): Use isearch-filter-predicate instead of
6983 isearch-filter-predicates.
6984
6985 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6986
6987 Do not call to `selected-window' where it is assumed by default.
6988 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6989 `window-hscroll', `window-width', `window-height', `window-buffer',
6990 `window-frame', `window-start', `window-point', `next-window'
6991 and `window-display-table'.
6992 * abbrev.el (abbrev--default-expand):
6993 * bs.el (bs--show-with-configuration):
6994 * buff-menu.el (Buffer-menu-mouse-select):
6995 * calc/calc.el (calc):
6996 * calendar/calendar.el (calendar-generate-window):
6997 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6998 (diary-make-entry):
6999 * comint.el (send-invisible, comint-dynamic-complete-filename)
7000 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7001 * completion.el (complete):
7002 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7003 * disp-table.el (describe-current-display-table):
7004 * doc-view.el (doc-view-insert-image):
7005 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7006 * ehelp.el (with-electric-help):
7007 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7008 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7009 * emacs-lisp/helper.el (Helper-help-scroller):
7010 * emulation/cua-base.el (cua--post-command-handler-1):
7011 * eshell/esh-mode.el (eshell-output-filter):
7012 * ffap.el (ffap-gnus-wrapper):
7013 * help-macro.el (make-help-screen):
7014 * hilit-chg.el (highlight-compare-buffers):
7015 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7016 * hl-line.el (global-hl-line-highlight):
7017 * icomplete.el (icomplete-simple-completing-p):
7018 * isearch.el (isearch-done):
7019 * jit-lock.el (jit-lock-stealth-fontify):
7020 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7021 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7022 * mpc.el (mpc-tagbrowser, mpc):
7023 * net/rcirc.el (rcirc-any-buffer):
7024 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7025 * play/landmark.el (landmark-max-width, landmark-max-height):
7026 * play/zone.el (zone):
7027 * progmodes/compile.el (compilation-goto-locus):
7028 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7029 * progmodes/etags.el (find-tag-other-window):
7030 * progmodes/fortran.el (fortran-column-ruler):
7031 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7032 * progmodes/verilog-mode.el (verilog-point-text):
7033 * reposition.el (reposition-window):
7034 * rot13.el (toggle-rot13-mode):
7035 * server.el (server-switch-buffer):
7036 * shell.el (shell-dynamic-complete-command)
7037 (shell-dynamic-complete-environment-variable):
7038 * simple.el (insert-buffer, set-selective-display)
7039 (delete-completion-window):
7040 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7041 (speedbar-recenter):
7042 * startup.el (fancy-splash-head):
7043 * textmodes/ispell.el (ispell-command-loop):
7044 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7045 * tutorial.el (help-with-tutorial):
7046 * vc/add-log.el (add-change-log-entry):
7047 * vc/compare-w.el (compare-windows):
7048 * vc/ediff-help.el (ediff-indent-help-message):
7049 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7050 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7051 (ediff-setup-control-frame):
7052 * vc/emerge.el (emerge-position-region):
7053 * vc/pcvs-util.el (cvs-bury-buffer):
7054 * window.el (walk-windows, mouse-autoselect-window-select):
7055 * winner.el (winner-set-conf, winner-undo): Related users changed.
7056
7057 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7058
7059 * frameset.el (frameset--set-id): Doc fix.
7060 (frameset-frame-id, frameset-frame-id-equal-p)
7061 (frameset-locate-frame-id): New functions.
7062 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7063 (frameset-restore): Use them.
7064
7065 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7066
7067 Do not call to `selected-frame' where it is assumed by default.
7068 Affected functions are `raise-frame', `redraw-frame',
7069 `frame-first-window', `frame-terminal' and `delete-frame'.
7070 * calendar/appt.el (appt-disp-window):
7071 * epg.el (epg-wait-for-completion):
7072 * follow.el (follow-delete-other-windows-and-split)
7073 (follow-avoid-tail-recenter):
7074 * international/mule.el (set-terminal-coding-system):
7075 * mail/rmail.el (rmail-mail-return):
7076 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7077 * progmodes/f90.el (f90-add-imenu-menu):
7078 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7079 * server.el (server-switch-buffer):
7080 * simple.el (delete-completion-window):
7081 * talk.el (talk):
7082 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7083 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7084 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7085 * vc/ediff.el (ediff-documentation): Related users changed.
7086 * frame.el (selected-terminal): Remove the leftover.
7087
7088 2013-08-05 Glenn Morris <rgm@gnu.org>
7089
7090 * calendar/calendar.el (calendar-generate-month):
7091 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7092 (calendar-generate-month, calendar-font-lock-keywords):
7093 Fix for calendar-day-header-width > length of any day name.
7094
7095 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7096
7097 * desktop.el (desktop-clear): Use new name of sort predicate.
7098
7099 * frameset.el (frameset): Add docstring. Move :version property to its
7100 own `version' slot.
7101 (frameset-copy): Rename from copy-frameset.
7102 (frameset-p): Check more thoroughly.
7103 (frameset-prop): Do not check for :version, which is no longer a prop.
7104 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7105 Use new :never value instead of t.
7106 (frameset-filter-alist): Expand and clarify docstring.
7107 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7108 (frameset-filter-minibuffer, frameset-filter-save-param)
7109 (frameset-filter-restore-param, frameset-filter-iconified):
7110 Add pointer to docstring of frameset-filter-alist.
7111 (frameset-filter-params): Rename filter values to be more meaningful:
7112 :never instead of t, and reverse the meanings of :save and :restore.
7113 (frameset--process-minibuffer-frames): Clarify error message.
7114 (frameset-save): Avoid unnecessary and confusing call to framep.
7115 Use new BOA constructor for framesets.
7116 (frameset--reuse-list): Doc fix.
7117 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7118 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7119 (frameset-minibufferless-first-p): Doc fix.
7120 Rename from frameset-sort-frames-for-deletion.
7121 (frameset-restore): Doc fixes. Use new function names.
7122 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7123
7124 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7125
7126 * desktop.el (desktop-restore-forces-onscreen)
7127 (desktop-restore-reuses-frames): Document :keyword constant values.
7128 (desktop-filter-parameters-alist): Remove, now identical to
7129 frameset-filter-alist.
7130 (desktop--filter-tty*): Remove, moved to frameset.el.
7131 (desktop-save-frameset, desktop-restore-frameset):
7132 Do not pass :filters argument.
7133
7134 * frameset.el (frameset-live-filter-alist)
7135 (frameset-persistent-filter-alist): New variables.
7136 (frameset-filter-alist): Use them. Add autoload cookie.
7137 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7138 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7139 `frameset--id' (it's supposed to be internal to frameset.el).
7140 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7141 (frameset--initial-params): New function.
7142 (frameset--get-frame): Use it. Doc fix.
7143 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7144 Accept :all, not 'all.
7145 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7146 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7147 with fbound symbols. Fix frame id matching, and remove matching ids if
7148 the frame being restored is deleted. Obey :delete.
7149
7150 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7151
7152 * subr.el (macrop): New function.
7153 (text-clone--maintaining): New var.
7154 (text-clone--maintain): Rename from text-clone-maintain. Use it
7155 instead of inhibit-modification-hooks.
7156
7157 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7158 a proxy, so as handle autoloads and redefinitions of the target.
7159 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7160
7161 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7162 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7163 (pcase--mutually-exclusive-p): New function.
7164 (pcase--split-consp): Use it.
7165 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7166 mutually exclusive with the current predicate.
7167
7168 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7169 (edebug-macrop): Remove. Use `macrop' instead.
7170 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7171 (ad-macro-p):
7172 * eshell/esh-cmd.el (eshell-macrop):
7173 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7174
7175 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7178 (advice-mapc): New function, using it.
7179 (advice-function-member-p): New function.
7180 (advice--normalize): Store the cdr in advice--saved-rewrite since
7181 that's the part that will be changed.
7182 (advice--symbol-function): New function.
7183 (advice-remove): Handle removal before the function is defined.
7184 Adjust to new advice--saved-rewrite.
7185 (advice-member-p): Use advice-function-member-p and
7186 advice--symbol-function.
7187
7188 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7191 (frameset-filter-minibuffer): Doc fix.
7192 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7193 (frameset--set-id, frameset--process-minibuffer-frames)
7194 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7195 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7196
7197 * desktop.el (desktop-clear): Only delete frames when called
7198 interactively and desktop-restore-frames is non-nil. Doc fix.
7199 (desktop-read): Set desktop-saved-frameset to nil.
7200
7201 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7202
7203 * vc/vc.el (vc-ignore): Rewrite.
7204 (vc-default-ignore-completion-table):
7205 (vc--read-lines):
7206 (vc--add-line, vc--remove-regexp): New functions.
7207
7208 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7209 (vc-svn-ignore-completion-table): New function.
7210
7211 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7212 (vc-hg-ignore-completion-table):
7213 (vc-hg-find-ignore-file): New functions.
7214
7215 * vc/vc-git.el (vc-git-ignore): Rewrite.
7216 (vc-git-ignore-completion-table):
7217 (vc-git-find-ignore-file): New functions.
7218
7219 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7220
7221 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7222 (vc-bzr-ignore-completion-table):
7223 (vc-bzr-find-ignore-file): New functions.
7224
7225 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7226
7227 * frameset.el (frameset-prop): New function and setter.
7228 (frameset-save): Do not modify frame list passed by the caller.
7229
7230 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7231
7232 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7233
7234 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7237 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7238
7239 * custom.el (custom-initialize-default, custom-initialize-set)
7240 (custom-initialize-reset, custom-initialize-changed): Affect the
7241 toplevel-default-value (bug#6275, bug#14586).
7242 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7243 for bug#6275.
7244
7245 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7246
7247 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7248 Add cl-def* expressions.
7249
7250 * frameset.el (frameset-filter-params): Fix order of arguments.
7251
7252 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7253
7254 Move code related to saving frames to frameset.el.
7255 * desktop.el: Require frameset.
7256 (desktop-restore-frames): Doc fix.
7257 (desktop-restore-reuses-frames): Rename from
7258 desktop-restoring-reuses-frames.
7259 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7260 (desktop-clear): Clear frames too.
7261 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7262 (desktop--filter-tty*, desktop-save, desktop-read):
7263 Use frameset functions.
7264 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7265 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7266 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7267 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7268 (desktop--process-minibuffer-frames, desktop-save-frames)
7269 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7270 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7271 (desktop--sort-states, desktop-restoring-frames-p)
7272 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7273 (desktop-restoring-frameset-p, desktop-restore-frameset)
7274 (desktop--check-dont-save, desktop-save-frameset): New functions.
7275 (desktop--app-id): New constant.
7276 (desktop-first-buffer, desktop-buffer-ok-count)
7277 (desktop-buffer-fail-count): Move before first use.
7278 * frameset.el: New file.
7279
7280 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * files.el: Use lexical-binding.
7283 (dir-locals-read-from-file): Remove unused `err' variable.
7284 (hack-dir-local-variables--warned-coding): New var.
7285 (hack-dir-local-variables): Use it to avoid repeated warnings.
7286 (make-backup-file-name--default-function): New function.
7287 (make-backup-file-name-function): Use it as default.
7288 (buffer-stale--default-function): New function.
7289 (buffer-stale-function): Use it as default.
7290 (revert-buffer-insert-file-contents--default-function): New function.
7291 (revert-buffer-insert-file-contents-function): Use it as default.
7292 (insert-directory): Avoid add-to-list.
7293
7294 * autorevert.el (auto-revert-handler): Simplify.
7295 Use buffer-stale--default-function.
7296
7297 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7298
7299 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7300
7301 * whitespace.el (whitespace-ensure-local-variables): New function.
7302 (whitespace-cleanup-region): Call it.
7303 (whitespace-turn-on): Call it.
7304
7305 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7306
7307 Complete file name handlers.
7308
7309 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7310 (tramp-handle-verify-visited-file-modtime)
7311 (tramp-handle-file-notify-rm-watch): New functions.
7312 (tramp-call-process): Do not bind `default-directory'.
7313
7314 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7315 Order alphabetically.
7316 [access-file, add-name-to-file, dired-call-process]:
7317 [dired-compress-file, file-acl, file-notify-rm-watch]:
7318 [file-ownership-preserved-p, file-selinux-context]:
7319 [make-directory-internal, make-symbolic-link, set-file-acl]:
7320 [set-file-selinux-context, set-visited-file-modtime]:
7321 [verify-visited-file-modtime]: Add handler.
7322 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7323
7324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7325 [file-notify-add-watch, file-notify-rm-watch]:
7326 [set-file-times, set-visited-file-modtime]:
7327 [verify-visited-file-modtime]: Add handler.
7328 (with-tramp-gvfs-error-message)
7329 (tramp-gvfs-handle-set-visited-file-modtime)
7330 (tramp-gvfs-fuse-file-name): Remove.
7331 (tramp-gvfs-handle-file-notify-add-watch)
7332 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7333 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7334
7335 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7336 Order alphabetically.
7337 [file-notify-rm-watch ]: Use default Tramp handler.
7338 [executable-find]: Remove private handler.
7339 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7340 `default-directory'.
7341 (tramp-sh-handle-executable-find)
7342 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7343 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7344 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7345 Do not use `format' in `tramp-message'.
7346
7347 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7348 [file-notify-rm-watch, set-visited-file-modtime]:
7349 [verify-visited-file-modtime]: Add handler.
7350 (tramp-smb-call-winexe): Do not bind `default-directory'.
7351
7352 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7353
7354 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7355
7356 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7357
7358 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7359 use it.
7360 (log-view-diff-changeset): Same.
7361 (log-view-diff-common): Call backend command `previous-revision'
7362 to find out the previous revision, in both cases. Swap the
7363 variables `to' and `fr', so that `fr' usually refers to the
7364 earlier revision (Bug#14989).
7365
7366 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7367
7368 * ibuf-ext.el (ibuffer-filter-by-filename):
7369 Make it work with dired buffers too.
7370
7371 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7372
7373 * emacs-lisp/re-builder.el (reb-color-display-p):
7374 * files.el (save-buffers-kill-terminal):
7375 * net/browse-url.el (browse-url):
7376 * server.el (server-save-buffers-kill-terminal):
7377 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7378 Prefer nil to selected-frame for the first arg of frame-parameter.
7379
7380 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7381
7382 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7383
7384 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7385
7386 * minibuffer.el (completion--twq-all): Try and preserve each
7387 completion's case choice (bug#14907).
7388
7389 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7390
7391 * net/network-stream.el (open-network-stream): Mention the new
7392 :nogreeting parameter.
7393 (network-stream-open-starttls): Use the :nogreeting parameter
7394 (bug#14938).
7395
7396 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7397
7398 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7399 more natural than popping.
7400
7401 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7402 (shr-urlify): Highlight under mouse.
7403
7404 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7405
7406 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7407
7408 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7409
7410 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7411 buffer for output.
7412
7413 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7414 point-min==1. Fix search string. Fix parentheses missing.
7415
7416 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7417 assume point-min==1. Fix search string. Fix parentheses missing.
7418
7419 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7420
7421 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7422 buffer for output.
7423
7424 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7425
7426 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7427 initial frame is minibuffer-less. (Bug#14841)
7428
7429 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7430
7431 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7432 option.
7433
7434 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7435 (tramp-maybe-open-connection): Use it.
7436
7437 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7438
7439 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7440 minimal set of parameters passed when creating a frame, because
7441 the minibuffer status of a frame cannot be changed later.
7442
7443 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7444
7445 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7446 replace-regexp-in-string and inadvertent omissions in previous change.
7447 (todo-filter-items): Ensure only file names are comma-separated in
7448 name of filtered items buffer.
7449
7450 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7451
7452 * desktop.el: Optionally force offscreen frames back onscreen.
7453 (desktop-restoring-reuses-frames): New option.
7454 (desktop--compute-pos, desktop--move-onscreen): New functions.
7455 (desktop--make-frame): Use desktop--move-onscreen.
7456
7457 2013-07-27 Alan Mackenzie <acm@muc.de>
7458
7459 Fontify a Java generic method as a function.
7460 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7461 value to t.
7462
7463 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7464
7465 * calendar/todo-mode.el: Add command to rename todo files.
7466 (todo-rename-file): New command.
7467 (todo-key-bindings-t): Add key binding for it. Change the
7468 bindings of todo-filter-regexp-items(-multifile) to use `x'
7469 instead of `r', since the latter is better suited to the new
7470 renaming command.
7471
7472 2013-07-27 Alan Mackenzie <acm@muc.de>
7473
7474 Make Java try-with-resources statement parse properly.
7475 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7476 (c-block-stmt-1-2-key): New language constants/variables.
7477 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7478 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7479 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7480 with c-block-stmt-1-2-key.
7481
7482 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7483
7484 * desktop.el (desktop--make-frame): Apply most frame parameters after
7485 creating the frame to force (partially or totally) offscreen frames to
7486 be restored as such.
7487
7488 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7489
7490 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7491 (Bug#14948)
7492
7493 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7496 `base' arg of backtrace-frame.
7497
7498 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7499
7500 * simple.el (list-processes): Doc fix.
7501
7502 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * desktop.el (desktop--select-frame):
7505 Try harder to reuse existing frames.
7506
7507 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7510 (edebug-eval): Use backtrace-eval.
7511 (edebug--display, edebug--recursive-edit): Don't let-bind the
7512 edebug-outer-* vars that keep track of variables we locally let-bind.
7513 (edebug-outside-excursion): Don't restore outside values of locally
7514 let-bound vars.
7515 (edebug--display): Use user-error.
7516 (cl-lexical-debug, cl-debug-env): Remove.
7517
7518 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7519
7520 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7521 are restored to be sure that they are visible before deleting any
7522 remaining ones.
7523
7524 2013-07-26 Matthias Meulien <orontee@gmail.com>
7525
7526 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7527 vc-print-root-log. (Bug#14948)
7528
7529 2013-07-26 Richard Stallman <rms@gnu.org>
7530
7531 Add aliases for encrypting mail.
7532 * epa.el (epa-mail-aliases): New option.
7533 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7534 Bind inhibit-read-only so read-only text doesn't ruin everything.
7535 (epa-mail-default-recipients): New subroutine broken out.
7536 Handle epa-mail-aliases.
7537
7538 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 Add support for lexical variables to the debugger's `e' command.
7541 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7542 vars, except for debugger-outer-match-data.
7543 (debugger-frame-number): Move check for "on a function call" from
7544 callers into it. Add `skip-base' argument.
7545 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7546 (debugger-env-macro): Only reset the state stored in non-variables,
7547 i.e. current-buffer and match-data.
7548 (debugger-eval-expression): Rewrite using backtrace-eval.
7549 * subr.el (internal--called-interactively-p--get-frame): Remove.
7550 (called-interactively-p):
7551 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7552 `base' arg of backtrace-frame instead.
7553
7554 2013-07-26 Glenn Morris <rgm@gnu.org>
7555
7556 * align.el (align-regexp): Doc fix. (Bug#14857)
7557 (align-region): Explicit error if subexpression missing/does not match.
7558
7559 * simple.el (global-visual-line-mode):
7560 Do not duplicate the mode lighter. (Bug#14858)
7561
7562 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7563
7564 * window.el (display-buffer): In display-buffer bind
7565 split-window-keep-point to t, bug#14829.
7566
7567 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7568
7569 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7570 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7571 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7572 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7573 Change accordingly.
7574 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7575 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7576
7577 2013-07-25 Glenn Morris <rgm@gnu.org>
7578
7579 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7580
7581 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7584 parameter to modify-frame-parameters if the value has not changed;
7585 this is a workaround for bug#14949.
7586 (desktop--make-frame): On cl-delete-if call, check parameter name,
7587 not full parameter.
7588
7589 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7590
7591 * vc/vc.el (vc-ignore): New function.
7592
7593 * vc/vc-svn.el (vc-svn-ignore): New function.
7594
7595 * vc/vc-hg.el (vc-hg-ignore): New function.
7596
7597 * vc/vc-git.el (vc-git-ignore): New function.
7598
7599 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7600 (vc-dir-ignore): New function.
7601
7602 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7603 (cvs-append-to-ignore): Move here from pcvs.el.
7604
7605 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7606
7607 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7608
7609 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7610
7611 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7612 (desktop-restore-frames): Warn when deleting an existing frame failed.
7613
7614 2013-07-24 Glenn Morris <rgm@gnu.org>
7615
7616 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7617
7618 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7619
7620 * filenotify.el (file-notify-supported-p):
7621 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7622 Remove functions.
7623
7624 * autorevert.el (auto-revert-use-notify):
7625 (auto-revert-notify-add-watch):
7626 * net/tramp.el (tramp-file-name-for-operation):
7627 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7628 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7629 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7630 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7631 Remove `file-notify-supported-p' entry.
7632
7633 2013-07-24 Glenn Morris <rgm@gnu.org>
7634
7635 * printing.el: Replace all uses of deleted ps-windows-system,
7636 ps-lp-system, ps-flatten-list with lpr- versions.
7637
7638 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7641 checked with memq (bug#14935).
7642
7643 * files.el (revert-buffer-function): Use a non-nil default.
7644 (revert-buffer-preserve-modes): Declare var to
7645 provide access to the `preserve-modes' argument.
7646 (revert-buffer): Let-bind it.
7647 (revert-buffer--default): New function, extracted from revert-buffer.
7648
7649 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * lpr.el: Signal print errors more prominently.
7652 (print-region-function): Don't default to nil.
7653 (lpr-print-region): New function, extracted from print-region-1.
7654 Check lpr's return value and signal an error in case of problem.
7655 (print-region-1): Use it.
7656 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7657 versions instead.
7658 (ps-printer-name): Default to nil.
7659 (ps-printer-name-option): Default to lpr-printer-switch.
7660 (ps-print-region-function): Don't default to nil.
7661 (ps-postscript-code-directory): Simplify default.
7662 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7663 (ps-string-list, ps-eval-switch, ps-flatten-list)
7664 (ps-flatten-list-1): Remove.
7665 (ps-multibyte-buffer): Avoid setq.
7666 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7667 (print-region-function, ps-print-region-function): Don't set them here.
7668
7669 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7670
7671 * ido.el (ido-fractionp):
7672 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7673 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7674 (ido-max-directory-size, ido-max-dir-file-cache)
7675 (ido-decorations): Doc fix.
7676
7677 * ansi-color.el: Fix old URL.
7678
7679 2013-07-23 Michael R. Mauger <michael@mauger.com>
7680
7681 * progmodes/sql.el: Version 3.3
7682 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7683 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7684 (sql-interactive-remove-continuation-prompt): Rewrite, use
7685 functions above. Fix continuation prompt and complete output line
7686 handling.
7687 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7688 redirected output buffer.
7689 (sql-mode): Restore deleted code (Bug#13591).
7690
7691 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7692
7693 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7694
7695 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7696
7697 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7698
7699 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7700 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7701 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7702
7703 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * desktop.el (desktop-clear): Simplify; remove useless checks
7706 against invalid buffer names.
7707 (desktop-list*): Use cl-list*.
7708 (desktop-buffer-info, desktop-create-buffer): Simplify.
7709
7710 2013-07-23 Leo Liu <sdl.web@gmail.com>
7711
7712 * bookmark.el (bookmark-make-record): Restore NAME as a default
7713 value. (Bug#14933)
7714
7715 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7716
7717 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7718 extracted from autoload--insert-text.
7719 (autoload--insert-text): Remove.
7720 (autoload--print-cookie-text): New function, extracted from
7721 autoload--insert-cookie-text.
7722 (autoload--insert-cookie-text): Remove.
7723 (autoload-generate-file-autoloads): Adjust calls accordingly.
7724
7725 * winner.el (winner-hook-installed-p): Remove.
7726 (winner-mode): Simplify accordingly.
7727
7728 * subr.el (add-to-list): Fix compiler-macro when `append' is
7729 not constant. Don't use `cl-member' for the base case.
7730
7731 * progmodes/subword.el: Fix boundary case (bug#13758).
7732 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7733 own group.
7734 (subword-backward-regexp): Make it a constant.
7735 (subword-forward-internal): Don't treat a trailing capital as the
7736 beginning of a word.
7737
7738 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7739
7740 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7741 global value of tabulated-list-revert-hook (bug#14930).
7742
7743 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7744
7745 * desktop.el: Require 'cl-lib.
7746 (desktop-before-saving-frames-functions): New hook.
7747 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7748 for frames being saved. Rename from desktop--save-minibuffer-frames.
7749 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7750 Do not save frames with non-nil `desktop-dont-save' parameter.
7751 Filter out deleted frames.
7752 (desktop--find-frame): Use cl-find-if.
7753 (desktop--select-frame): Use cl-(first|second|third) to access values
7754 of desktop-mini.
7755 (desktop--make-frame): Use cl-delete-if.
7756 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7757 (desktop-restore-frames): Use cl-(first|second|third) to access values
7758 of desktop-mini. Look for visible frame at the end, not while
7759 restoring frames.
7760
7761 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7762 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7763 Use string-match-p, looking-at-p (bug#14927).
7764
7765 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * desktop.el (desktop-saved-frame-states):
7768 Rename from desktop--saved-states; all users changed.
7769 (desktop-save-frames): Rename from desktop--save-frames.
7770 Do not save state to desktop file.
7771 (desktop-save): Save desktop-saved-frame-states to desktop file
7772 and reset to nil.
7773 (desktop-restoring-frames-p): New function.
7774 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7775 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7776 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7777
7778 * desktop.el: Correctly restore iconified frames.
7779 (desktop--filter-iconified-position): New function.
7780 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7781
7782 2013-07-20 Glenn Morris <rgm@gnu.org>
7783
7784 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7785 Let `message' do the formatting.
7786 (def-gdb-preempt-display-buffer): Add explicit format.
7787
7788 * image-dired.el (image-dired-track-original-file):
7789 Use with-current-buffer.
7790 (image-dired-track-thumbnail): Use with-current-buffer.
7791 Avoid changing point of wrong window.
7792
7793 * image-dired.el (image-dired-track-original-file):
7794 Avoid changing point of wrong window. (Bug#14909)
7795
7796 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7797
7798 * progmodes/gdb-mi.el (gdb-done-or-error):
7799 Guard against "%" in gdb output. (Bug#14127)
7800
7801 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7802
7803 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7804 (Bug#14826)
7805
7806 * international/mule.el (coding-system-iso-2022-flags): Fix last
7807 change.
7808
7809 2013-07-20 Kenichi Handa <handa@gnu.org>
7810
7811 * international/mule.el (coding-system-iso-2022-flags):
7812 Add `8-bit-level-4'. (Bug#8522)
7813
7814 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815
7816 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7817 (bug#14815).
7818
7819 * net/eww.el (eww-process-text-input): Allow inputting when the
7820 point is at the start of the line, as the properties aren't
7821 front-sticky.
7822
7823 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7824 degenerate widths.
7825
7826 2013-07-19 Richard Stallman <rms@gnu.org>
7827
7828 * epa.el (epa-popup-info-window): Doc fix.
7829
7830 * subr.el (split-string): New arg TRIM.
7831
7832 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7833
7834 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7835 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7836
7837 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7838
7839 * filenotify.el (file-notify--library): Rename from
7840 `file-notify-support'. Do not autoload. Adapt all uses.
7841 (file-notify-supported-p): New defun.
7842
7843 * autorevert.el (auto-revert-use-notify):
7844 Use `file-notify-supported-p' instead of `file-notify-support'.
7845 Adapt docstring.
7846 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7847
7848 * net/tramp.el (tramp-file-name-for-operation):
7849 Add `file-notify-supported-p'.
7850
7851 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7852 New defun.
7853 (tramp-sh-file-name-handler-alist): Add it as handler for
7854 `file-notify-supported-p '.
7855
7856 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7857 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7858 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7859 Add `ignore' as handler for `file-notify-*' functions.
7860
7861 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7862
7863 * simple.el (line-move-partial, line-move): Don't start vscroll or
7864 scroll-up if the current line is not taller than the window.
7865 (Bug#14881)
7866
7867 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7868
7869 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7870 highlight question marks in the method names as strings.
7871 (ruby-block-beg-keywords): Inline.
7872 (ruby-font-lock-keyword-beg-re): Extract from
7873 `ruby-font-lock-keywords'.
7874
7875 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7876
7877 * frame.el (blink-cursor-blinks): New defcustom.
7878 (blink-cursor-blinks-done): New defvar.
7879 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7880 (blink-cursor-timer-function): Check if number of blinks has been
7881 done on X and NS.
7882 (blink-cursor-suspend, blink-cursor-check): New defuns.
7883
7884 2013-07-15 Glenn Morris <rgm@gnu.org>
7885
7886 * edmacro.el (edmacro-format-keys): Fix previous change.
7887
7888 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7889
7890 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7891 The hack didn't work outside English locales anyway.
7892
7893 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7894
7895 * simple.el (define-alternatives): Rename from alternatives-define,
7896 per RMS' suggestion.
7897
7898 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7899
7900 * desktop.el (desktop-restore-frames): Change default to t.
7901 (desktop-restore-in-current-display): Now offer more options.
7902 (desktop-restoring-reuses-frames): New customization option.
7903 (desktop--saved-states): Doc fix.
7904 (desktop-filter-parameters-alist): New variable, renamed and expanded
7905 from desktop--excluded-frame-parameters.
7906 (desktop--target-display): New variable.
7907 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7908 (desktop--filter-tty*, desktop--filter-*-color)
7909 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7910 (desktop--filter-save-desktop-parm)
7911 (desktop-restore-in-original-display-p): New functions.
7912 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7913 (desktop--save-minibuffer-frames): New function, inspired by a similar
7914 function from Martin Rudalics.
7915 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7916 (desktop--restore-in-this-display-p): Remove.
7917 (desktop--find-frame): Rename from desktop--find-frame-in-display
7918 and add predicate argument.
7919 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7920 (desktop--reuse-list): New variable.
7921 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7922 New functions.
7923 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7924
7925 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7926
7927 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7928
7929 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7930
7931 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7932 Highlight conversion methods on Kernel.
7933
7934 2013-07-13 Alan Mackenzie <acm@muc.de>
7935
7936 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7937 and comment it out. This out-commenting enables certain C++
7938 declarations to be parsed correctly.
7939
7940 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7941
7942 * international/mule.el (define-coding-system): Doc fix.
7943
7944 * simple.el (default-font-height): Don't call font-info if the
7945 frame's default font didn't change since the frame was created.
7946 (Bug#14838)
7947
7948 2013-07-13 Leo Liu <sdl.web@gmail.com>
7949
7950 * ido.el (ido-read-file-name): Guard against non-symbol value.
7951
7952 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7953
7954 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7955 in nested defuns.
7956
7957 2013-07-13 Leo Liu <sdl.web@gmail.com>
7958
7959 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7960 ido-set-matches call. (Bug#6852)
7961
7962 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7963
7964 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7965 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7966 Ruby 2.0.
7967 (ruby-font-lock-keywords): Distinguish calls to functions with
7968 module-like names from module references. Highlight character
7969 literals.
7970
7971 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7972
7973 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7974 (gdb-send): Handle continued commands. (Bug#14847)
7975
7976 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7977
7978 * desktop.el (desktop--v2s): Remove unused local variable.
7979 (desktop-save-buffer): Make defvar-local; adjust docstring.
7980 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7981 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7982
7983 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7984
7985 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7986
7987 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7988
7989 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7990 (Bug#14842)
7991
7992 2013-07-12 Glenn Morris <rgm@gnu.org>
7993
7994 * doc-view.el: Require cl-lib at runtime too.
7995 (doc-view-remove-if): Remove.
7996 (doc-view-search-next-match, doc-view-search-previous-match):
7997 Use cl-remove-if.
7998
7999 * edmacro.el: Require cl-lib at runtime too.
8000 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8001 (edmacro-mismatch, edmacro-subseq): Remove.
8002
8003 * shadowfile.el: Require cl-lib.
8004 (shadow-remove-if): Remove.
8005 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8006 Use cl-remove-if.
8007
8008 * wid-edit.el: Require cl-lib.
8009 (widget-choose): Use cl-remove-if.
8010 (widget-remove-if): Remove.
8011
8012 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8013 (ebrowse-delete-if-not): Remove.
8014 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8015 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8016 Use cl-delete-if-not.
8017
8018 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8019
8020 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8021 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8022
8023 2013-07-12 Leo Liu <sdl.web@gmail.com>
8024
8025 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8026
8027 2013-07-11 Glenn Morris <rgm@gnu.org>
8028
8029 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8030 (edebug-gensym-index, edebug-gensym):
8031 Remove reimplementation of cl-gensym.
8032 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8033
8034 * thumbs.el: Require cl-lib at run-time too.
8035 (thumbs-gensym-counter, thumbs-gensym):
8036 Remove reimplementation of cl-gensym.
8037 (thumbs-temp-file): Use cl-gensym.
8038
8039 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8040 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8041 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8042 (ert--union, ert--gensym-counter, ert--gensym-counter)
8043 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8044 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8045 (ert-make-test-unbound, ert--expand-should-1)
8046 (ert--expand-should, ert--should-error-handle-error)
8047 (should-error, ert--explain-equal-rec)
8048 (ert--plist-difference-explanation, ert-select-tests)
8049 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8050 Use cl-lib functions rather than reimplementations.
8051
8052 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8053
8054 * net/tramp.el (tramp-methods): Extend docstring.
8055 (tramp-connection-timeout): New defcustom.
8056 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8057 (with-tramp-progress-reporter): Simplify.
8058 (tramp-process-actions): Improve messages.
8059
8060 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8061 * net/tramp-sh.el (tramp-maybe-open-connection):
8062 Use `tramp-connection-timeout'.
8063 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8064 (Bug#14808)
8065
8066 2013-07-11 Leo Liu <sdl.web@gmail.com>
8067
8068 * ido.el (ido-read-file-name): Conform to the requirements of
8069 read-file-name. (Bug#11861)
8070 (ido-read-directory-name): Conform to the requirements of
8071 read-directory-name.
8072
8073 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * subr.el (delay-warning): New function.
8076
8077 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8078
8079 * simple.el (default-line-height): New function.
8080 (line-move-partial, line-move): Use it instead of computing the
8081 line height inline.
8082 (line-move-partial): Always compute ROWH. If the last line is
8083 partially-visible, but its text is completely visible, allow
8084 cursor to enter such a partially-visible line.
8085
8086 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8087
8088 Improve error messages. (Bug#14808)
8089
8090 * net/tramp.el (tramp-current-connection): New defvar, moved from
8091 tramp-sh.el.
8092 (tramp-message-show-progress-reporter-message): Remove, not
8093 needed anymore.
8094 (tramp-error-with-buffer): Show message in minibuffer.
8095 Discard input before waiting. Reset connection timestamp.
8096 (with-tramp-progress-reporter): Improve messages.
8097 (tramp-process-actions): Use progress reporter. Delete process in
8098 case of error. Improve messages.
8099
8100 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8101 Call `tramp-error-with-buffer' with vector and buffer.
8102 (tramp-current-connection): Remove.
8103 (tramp-maybe-open-connection): The car of
8104 `tramp-current-connection' are the first 3 slots of the vector.
8105
8106 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8107
8108 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8109 inside continued strings.
8110
8111 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8112
8113 Timestamp fixes for undo (Bug#14824).
8114 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8115
8116 2013-07-10 Leo Liu <sdl.web@gmail.com>
8117
8118 * files.el (require-final-newline): Allow safe local value.
8119 (Bug#14834)
8120
8121 2013-07-09 Leo Liu <sdl.web@gmail.com>
8122
8123 * ido.el (ido-read-directory-name): Handle fallback.
8124 (ido-read-file-name): Update DIR to ido-current-directory.
8125 (Bug#1516)
8126 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8127
8128 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8129
8130 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8131 "autoload". Remove "warn lower camel case" section, previously
8132 commented out. Highlight negation char. Do not highlight the
8133 target in singleton method definitions.
8134
8135 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * faces.el (tty-setup-hook): Declare the hook.
8138
8139 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8140 and detect when a guard/pred depends on local vars (bug#14773).
8141 (pcase--u1): Adjust caller.
8142
8143 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8144
8145 * simple.el (line-move-partial, line-move): Account for
8146 line-spacing.
8147 (line-move-partial): Avoid setting vscroll when the last
8148 partially-visible line in window is of default height.
8149
8150 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8151
8152 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8153 been used a while.
8154
8155 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * subr.el (read-quoted-char): Remove unused local variable `char'.
8158
8159 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8160
8161 * ediff.el (ediff-version): Version update.
8162 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8163 (ediff-merge-with-ancestor-command, ediff-directories-command)
8164 (ediff-directories3-command, ediff-merge-directories-command)
8165 (ediff-merge-directories-with-ancestor-command): New functions.
8166 All are command-line interfaces to ediff: to facilitate calling
8167 Emacs with the appropriate ediff functions invoked.
8168
8169 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8170 (viper-save-kill-buffer): Check if buffer is modified.
8171
8172 * viper.el (viper-version): Version update.
8173 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8174
8175 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8178 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8179 (viper-intercept-ESC-key): Simplify.
8180 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8181 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8182 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8183 (viper-setup-ESC-to-escape): New functions.
8184 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8185 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8186
8187 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8188
8189 * simple.el (default-font-height, window-screen-lines):
8190 New functions.
8191 (line-move, line-move-partial): Use them instead of
8192 frame-char-height and window-text-height. This makes scrolling
8193 text smoother when the buffer's default face uses a font that is
8194 different from the frame's default font.
8195
8196 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8197
8198 * files.el (write-file): Do not display confirm dialog for NS,
8199 it does its own dialog, which can't be canceled (Bug#14578).
8200
8201 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8202
8203 * simple.el (line-move-partial): Adjust the row returned by
8204 posn-at-point for the current window-vscroll. (Bug#14567)
8205
8206 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8207
8208 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8209 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8210 spaces.
8211
8212 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8213
8214 * window.el (window-state-put-stale-windows): New variable.
8215 (window--state-put-2): Save list of windows without matching buffer.
8216 (window-state-put): Remove "bufferless" windows if possible.
8217
8218 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8219
8220 * simple.el (alternatives-define): Remove leftover :group keyword.
8221 Tweak docstring.
8222
8223 2013-07-06 Leo Liu <sdl.web@gmail.com>
8224
8225 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8226 (ido-enable-virtual-buffers): New variable.
8227 (ido-buffer-internal, ido-toggle-virtual-buffers)
8228 (ido-make-buffer-list): Use it.
8229 (ido-exhibit): Support turning on and off virtual buffers
8230 automatically.
8231
8232 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8233
8234 * simple.el (alternatives-define): New macro.
8235
8236 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * subr.el (read-quoted-char): Use read-key.
8239 (sit-for): Let read-event decode tty input (bug#14782).
8240
8241 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8242
8243 * calendar/todo-mode.el: Add handling of file deletion, both by
8244 mode command and externally. Fix various related bugs.
8245 Clarify Commentary and improve some documentation strings and code.
8246 (todo-delete-file): New command.
8247 (todo-check-file): New function.
8248 (todo-show): Handle external deletion of the file we're trying to
8249 show (bug#14688). Replace called-interactively-p by an optional
8250 prefix argument to avoid problematic interaction with catch form
8251 when byte compiled (bug#14702).
8252 (todo-quit): Handle external deletion of the archive's todo file.
8253 Make sure the buffer that was visiting the archive file is still
8254 live before trying to bury it.
8255 (todo-category-completions): Handle external deletion of any
8256 category completion files.
8257 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8258 of todo files, in case of external deletion.
8259 (todo-add-file): Replace unnecessary setq by let-binding.
8260 (todo-find-archive): Check whether there are any archives.
8261 Replace unnecessary setq by let-binding.
8262 (todo-archive-done-item): Use find-file-noselect to get the
8263 archive buffer whether or not the archive already exists.
8264 Remove superfluous code. Use file size instead of buffer-file-name to
8265 check if the archive is new; if it is, update list of archives.
8266 (todo-default-todo-file): Allow nil to be a valid value for when
8267 there are no todo files.
8268 (todo-reevaluate-default-file-defcustom): Use corrected definition
8269 of todo-default-todo-file.
8270 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8271 (todo-delete-category, todo-show-categories-table)
8272 (todo-category-number): Clarify comment.
8273 (todo-filter-items): Clarify documentation string.
8274 (todo-show-current-file, todo-display-as-todo-file)
8275 (todo-reset-and-enable-done-separator): Tweak documentation string.
8276 (todo-done-separator): Make separator length window-width, since
8277 bug#2749 is now fixed.
8278
8279 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8280
8281 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8282 Support both "gvfs-monitor-dir" and "inotifywait".
8283 (tramp-sh-file-inotifywait-process-filter): Rename from
8284 `tramp-sh-file-notify-process-filter'.
8285 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8286 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8287
8288 2013-07-05 Leo Liu <sdl.web@gmail.com>
8289
8290 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8291
8292 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8293
8294 * frame.el (display-pixel-height, display-pixel-width)
8295 (display-mm-height, display-mm-width): Mention behavior on
8296 multi-monitor setups in docstrings.
8297 (w32-display-monitor-attributes-list): Declare function.
8298 (display-monitor-attributes-list): Use it.
8299
8300 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8301
8302 * filenotify.el: New package.
8303
8304 * autorevert.el (top): Require filenotify.el.
8305 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8306 instead.
8307 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8308 (auto-revert-notify-handler): Use `file-notify-*' functions.
8309
8310 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8311
8312 * net/tramp.el (tramp-file-name-for-operation):
8313 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8314
8315 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8316 for `file-notify-add-watch' and `file-notify-rm-watch'.
8317 (tramp-process-sentinel): Improve trace.
8318 (tramp-sh-handle-file-notify-add-watch)
8319 (tramp-sh-file-notify-process-filter)
8320 (tramp-sh-handle-file-notify-rm-watch)
8321 (tramp-get-remote-inotifywait): New defuns.
8322
8323 2013-07-03 Juri Linkov <juri@jurta.org>
8324
8325 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8326 call of `occur-read-primary-args' to interactive spec.
8327
8328 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8329 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8330
8331 2013-07-03 Matthias Meulien <orontee@gmail.com>
8332
8333 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8334 `Buffer-menu-multi-occur'. Add it to the menu.
8335 (Buffer-menu-mode): Document it in docstring.
8336 (Buffer-menu-multi-occur): New command. (Bug#14673)
8337
8338 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8339
8340 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8341 keywords and built-ins.
8342
8343 2013-07-03 Glenn Morris <rgm@gnu.org>
8344
8345 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8346
8347 Make info-xref checks case-sensitive by default
8348 * info.el (Info-find-node, Info-find-in-tag-table)
8349 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8350 Add option for exact case matching of nodes.
8351 * info-xref.el (info-xref): New custom group.
8352 (info-xref-case-fold): New option.
8353 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8354
8355 2013-07-03 Leo Liu <sdl.web@gmail.com>
8356
8357 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8358
8359 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8360
8361 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8362 middle of block statement initially, lower the depth. Remove
8363 FIXME comment, not longer valid. Remove middle of block statement
8364 detection, no need to do that anymore since we've been using
8365 `ruby-parse-region' here.
8366
8367 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8368
8369 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8370
8371 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8372
8373 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8374
8375 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8378 (desktop-restore-in-current-display): New customization option.
8379 (desktop--excluded-frame-parameters): Add `font'.
8380 (desktop--save-frames): Rename from desktop--save-windows.
8381 (desktop--restore-in-this-display-p): New function.
8382 (desktop--make-full-frame): Remove unwanted width/height from
8383 full(width|height) frames.
8384 (desktop--restore-frames): Rename from desktop--restore-windows.
8385 Obey desktop-restore-current-display. Do not delete old frames or
8386 select a new frame unless we were able to restore at least one frame.
8387
8388 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8389
8390 * files.el (find-file-noselect): Simplify conditional expression.
8391
8392 * textmodes/remember.el (remember-append-to-file):
8393 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8394
8395 Add `remember-notes' function to store random notes across Emacs
8396 restarts.
8397 * textmodes/remember.el (remember-data-file): Add :set callback to
8398 affect notes buffer (if any).
8399 (remember-notes): New command.
8400 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8401 New defcustoms for the `remember-notes' function.
8402 (remember-notes-save-and-bury-buffer): New command.
8403 (remember-notes-mode-map): New variable.
8404 (remember-mode): New minor mode.
8405 (remember-notes--kill-buffer-query): New function.
8406 * startup.el (initial-buffer-choice): Add notes to custom type.
8407
8408 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8409
8410 * bindings.el (right-char, left-char): Don't call sit-for, this is
8411 no longer needed. Use arithmetic comparison only for numerical
8412 arguments.
8413
8414 * international/mule-cmds.el (select-safe-coding-system):
8415 Handle the case of FROM being a string correctly. (Bug#14755)
8416
8417 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8418
8419 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8420 progression on degenerate tables.
8421 (shr-rescale-image): ImageMagick animated images currently don't work.
8422
8423 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8424
8425 Some fixes and improvements for desktop frame restoration.
8426 It is still experimental and disabled by default.
8427 * desktop.el (desktop--save-windows): Put the selected frame at
8428 the head of the list.
8429 (desktop--make-full-frame): New function.
8430 (desktop--restore-windows): Try to re-select the frame that was
8431 selected upon saving. Do not abort if some frames fail to restore,
8432 just show an error message and continue. Set up maximized frames
8433 so they have default non-maximized dimensions.
8434
8435 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8436
8437 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8438 Don't start heredoc inside a string or comment.
8439
8440 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8441
8442 * bindings.el (visual-order-cursor-movement): New defcustom.
8443 (right-char, left-char): Provide visual-order cursor motion by
8444 calling move-point-visually. Update the doc strings.
8445
8446 2013-06-28 Kenichi Handa <handa@gnu.org>
8447
8448 * international/mule.el (define-coding-system): New coding system
8449 properties :inhibit-null-byte-detection,
8450 :inhibit-iso-escape-detection, and :prefer-utf-8.
8451 (set-buffer-file-coding-system): If :charset-list property of
8452 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8453 appropriate for setting.
8454
8455 * international/mule-cmds.el (select-safe-coding-system):
8456 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8457 multibyte characters, return utf-8 (or one of its siblings).
8458
8459 * international/mule-conf.el (prefer-utf-8): New coding system.
8460 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8461 files.
8462
8463 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8464
8465 * net/shr.el (shr-render-region): New function.
8466
8467 * net/eww.el: Autoload `eww-browse-url'.
8468
8469 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8470
8471 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8472 Adapt to `package-desc-version' being a list.
8473 Use `package--ac-desc-version' to retrieve version from a package
8474 archive element.
8475
8476 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8477
8478 New experimental feature to save&restore window and frame setup.
8479 * desktop.el (desktop-save-windows): New defcustom.
8480 (desktop--saved-states): New var.
8481 (desktop--excluded-frame-parameters): New defconst.
8482 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8483 (desktop--restore-windows, desktop--save-windows): New functions.
8484 (desktop-save): Call `desktop--save-windows'.
8485 (desktop-read): Call `desktop--restore-windows'.
8486
8487 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8488
8489 * net/shr.el (add-face-text-property): Remove compat definition.
8490
8491 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8492
8493 * info.el (Info-try-follow-nearest-node): Move search for footnote
8494 above search for node name to prevent missing a footnote (bug#14717).
8495
8496 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8497
8498 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8499
8500 2013-06-27 Leo Liu <sdl.web@gmail.com>
8501
8502 * net/eww.el (eww-read-bookmarks): Check file size.
8503
8504 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8507 advice--pending if newdef is nil or an autoload (bug#13820).
8508 (advice-mapc): New function.
8509
8510 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8511
8512 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8513 probably.
8514 (eww-mode-map): Add a menu bar.
8515 (eww-add-bookmark): New command.
8516 (eww-bookmark-mode): New mode and commands.
8517 (eww-add-bookmark): Remove newlines from the title.
8518 (eww-bookmark-browse): Don't bug out if it's the only window.
8519
8520 2013-06-26 Glenn Morris <rgm@gnu.org>
8521
8522 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8523 (hfy-size): Handle ttys. (Bug#14668)
8524
8525 * info-xref.el: Update for Texinfo 5 change in *note format.
8526 (info-xref-node-re, info-xref-note-re): New constants.
8527 (info-xref-check-buffer): Use info-xref-note-re.
8528
8529 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8532
8533 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8534 nil terminate the loop (bug#14718).
8535
8536 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8537
8538 * net/eww.el: Rework history traversal. When going forward/back,
8539 put these actions into the history, too, so that they can be
8540 replayed.
8541 (eww-render): Move the history reset to the correct buffer.
8542
8543 2013-06-25 Juri Linkov <juri@jurta.org>
8544
8545 * files-x.el (modify-dir-local-variable): Change the header comment
8546 in the file with directory local variables. (Bug#14692)
8547
8548 * files-x.el (read-file-local-variable-value): Add `default'.
8549 (Bug#14710)
8550
8551 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
8553 * net/eww.el (eww-make-unique-file-name): Create a unique file
8554 name before saving to entering `y' accidentally asynchronously.
8555
8556 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8557
8558 * net/eww.el (eww-download): New command and keystroke.
8559
8560 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561
8562 * net/eww.el (eww-copy-page-url): Change name of command.
8563
8564 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8565 be more consistent with Info and dired.
8566
8567 * net/eww.el (eww-mode-map): Ditto.
8568
8569 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8572 packages from archives.
8573 (package-archive-contents): Change format; include obsolete packages.
8574 (package-desc): Use `dir' to mark builtin packages.
8575 (package--from-builtin): Set the `dir' field to `builtin'.
8576 (generated-autoload-file, version-control): Declare.
8577 (package-compute-transaction): Change first arg and return value to be
8578 lists of package-descs. Adjust to new package-archive-contents format.
8579 (package--add-to-archive-contents): Adjust to new
8580 package-archive-contents format.
8581 (package-download-transaction): Arg is now a list of package-descs.
8582 (package-install): If `pkg' is a package name, pass it as
8583 a requirement, so it is subject to the usual (e.g. disabled) checks.
8584 (describe-package): Accept package-desc as well.
8585 (describe-package-1): Describe a specific package-desc. Add links to
8586 other package-descs for the same package name.
8587 (package-menu-describe-package): Pass the actual package-desc.
8588 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8589 works correctly.
8590 (package-desc-status): New function.
8591 (package-menu--refresh): New function, extracted
8592 from package-menu--generate.
8593 (package-menu--generate): Use it.
8594 (package-delete): Update package-alist.
8595 (package-menu-execute): Don't call package-initialize.
8596
8597 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8598 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8599 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8600 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8601 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8602 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8603
8604 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8605
8606 * window.el (window--state-get-1): Workaround for bug#14527.
8607 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8608
8609 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610
8611 * net/eww.el (eww-back-url): Implement the history by stashing all
8612 the data into a list.
8613 (eww-forward-url): Allow going forward in the history, too.
8614
8615 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8618 for values and use read--expression for expressions (bug#14710).
8619 (read-file-local-variable): Avoid setq.
8620 (read-file-local-variable-mode): Use minor-mode-list.
8621
8622 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8623
8624 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8625 for DOI URLs.
8626
8627 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8628
8629 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8630 Update imenu-support when dialect changes.
8631
8632 2013-06-25 Leo Liu <sdl.web@gmail.com>
8633
8634 * ido.el (ido-read-internal): Allow forward slash on windows.
8635
8636 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8637
8638 * net/eww.el (eww): Start of strings is \\`, not ^.
8639
8640 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8641
8642 * net/shr.el (shr-browse-url): Fix interactive spec.
8643
8644 * net/eww.el (eww): Add a trailing slash to domain names.
8645
8646 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8649
8650 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8651
8652 * net/shr.el (shr-browse-url): Use an external browser if given a
8653 prefix.
8654
8655 * net/eww.el (eww-external-browser): Move to shr.
8656
8657 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8658
8659 * net/eww.el (eww): Work more correctly for file: URLs.
8660 (eww-detect-charset): Allow quoted charsets.
8661 (eww-yank-page-url): New command and keystroke.
8662
8663 2013-06-24 Daiki Ueno <ueno@gnu.org>
8664
8665 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8666 file name of gpg executable.
8667 (epg-context-program): New function.
8668 (epg-context-home-directory): New function.
8669 (epg-context-set-program): New function.
8670 (epg-context-set-home-directory): New function.
8671 (epg--start): Use `epg-context-program' instead of
8672 'epg-gpg-program'.
8673 (epg--list-keys-1): Likewise.
8674
8675 2013-06-24 Leo Liu <sdl.web@gmail.com>
8676
8677 * ido.el (ido-read-internal): Fix bug#14620.
8678
8679 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8680
8681 * faces.el (face-documentation): Simplify.
8682 (read-face-attribute, tty-find-type, x-resolve-font-name):
8683 Use `string-match-p'.
8684 (list-faces-display): Use `string-match-p'. Simplify.
8685 (face-spec-recalc): Check face to avoid face alias loops.
8686 (read-color): Use `string-match-p' and non-capturing parenthesis.
8687
8688 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
8690 * net/shr.el (shr-rescale-image): Use the new
8691 :max-width/:max-height functionality.
8692
8693 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8694
8695 * net/eww.el (eww-search-prefix): New variable.
8696 (eww): Use it.
8697 (eww-external-browser): New variable.
8698 (eww-mode-map): New keystroke.
8699 (eww-browse-with-external-browser): New command.
8700
8701 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8702
8703 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8706 Don't skip aligning the next header field when padding is 0;
8707 otherwise, field width is not respected unless the title is as
8708 wide as the field.
8709
8710 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * emacs-lisp/package.el (package-el-version): Remove.
8713 (package-process-define-package): Fix inf-loop.
8714 (package-install): Allow symbols as arguments again.
8715
8716 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8717
8718 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8719 add some more keyword-like methods.
8720 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8721
8722 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * bs.el (bs-buffer-show-mark): Make defvar-local.
8725 (bs-mode): Use setq-local.
8726
8727 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8728 (emacs-lock--try-unlocking): Make defvar-local.
8729
8730 2013-06-22 Glenn Morris <rgm@gnu.org>
8731
8732 * play/cookie1.el (cookie-apropos): Minor simplification.
8733
8734 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8735
8736 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8737
8738 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8739 `regexp-opt', it breaks the build during dumping.
8740
8741 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8742
8743 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8744 Highlight keyword-like methods on Kernel and Module with
8745 font-lock-builtin-face.
8746 (auto-mode-alist): Consolidate different entries into one regexp
8747 and add more *file-s.
8748
8749 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8750
8751 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8752
8753 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8754 (diary-entry): Use it in the action of this button type instead of
8755 diary-goto-entry.
8756
8757 * calendar/todo-mode.el: New version.
8758 (todo-add-category): Append new category to end of file and give
8759 it the highest number, instead of putting it at the beginning and
8760 giving it 0. Incorporate noninteractive functionality.
8761 (todo-forward-category): Adapt to 1-based category numbering.
8762 Allow skipping over archived categories.
8763 (todo-backward-category): Derive from todo-forward-category.
8764 (todo-backward-item, todo-forward-item): Make noninteractive and
8765 delegate interactive part to new commands. Make sensitive to done items.
8766 (todo-categories): Make value an alist of category names and
8767 vectors of item counts.
8768 (todo-category-beg): Make a defconst.
8769 (todo-category-number): Use 1 instead of 0 as initial value.
8770 (todo-category-select): Make sensitive to overlays, optional item
8771 highlighting and done items.
8772 (todo-delete-item): Make sensitive to overlays and marked and done items.
8773 (todo-edit-item): Make sensitive to overlays and editing of
8774 date/time header optional. Add format checks.
8775 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8776 no-op if point is not on an item. Advertise using todo-edit-quit.
8777 (todo-edit-mode): Make sensitive to new format, font-locking, and
8778 multiple todo files.
8779 (todo-insert-item, todo-insert-item-here): Derive from
8780 todo-basic-insert-item and extend functionality.
8781 (todo-item-end, todo-item-start): Make sensitive to done items.
8782 (todo-item-string): Don't return text properties. Restore point.
8783 (todo-jump-to-category): Make sensitive to multiple todo files and
8784 todo archives. Use extended category completion.
8785 (todo-lower-item, todo-raise-item): Rename to *-priority and
8786 derive from todo-set-item-priority.
8787 (todo-mode): Derive from special-mode. Make sensitive to new
8788 format, font-locking and multiple todo files. Make read-only.
8789 (todo-mode-map): Don't suppress digit keys, so they can supply
8790 prefix arguments. Add many new key bindings.
8791 (todo-prefix): Insert as an overlay instead of file text.
8792 Change semantics from diary date expression to purely visual mark.
8793 (todo-print): Rename to todo-print-buffer. Make buffer display
8794 features printable. Remove option to restrict number of items
8795 printed. Add option to print to file.
8796 (todo-print-function): Rename to todo-print-buffer-function.
8797 (todo-quit): Extend to handle exiting new todo modes.
8798 (todo-remove-item): Make sensitive to overlays.
8799 (todo-save): Extend to buffers of filtered items.
8800 (todo-show): Make sensitive to done items, multiple todo files and
8801 new todo modes. Offer to convert legacy todo file before creating
8802 first new todo file.
8803 (todo-show-priorities): Rename to todo-top-priorities.
8804 Change semantics of value 0.
8805 (todo-top-priorities): Rename to todo-filter-top-priorities,
8806 derive from todo-filter-items and extend functionality.
8807 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8808 and extend functionality to other types of filtered items.
8809 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8810 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8811 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8812 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8813 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8814 (todo-edit-mode-hook, todo-entry-prefix-function)
8815 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8816 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8817 (todo-initials, todo-insert-threshold, todo-item-string-start)
8818 (todo-line-string, todo-menu, todo-mode-hook)
8819 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8820 (todo-print-priorities, todo-remove-separator)
8821 (todo-save-top-priorities-too, todo-string-count-lines)
8822 (todo-string-multiline-p, todo-time-string-format)
8823 (todo-tmp-buffer-name): Remove.
8824 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8825 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8826 (todo-edit-category-diary-inclusion)
8827 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8828 (todo-edit-file, todo-edit-item-date-day)
8829 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8830 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8831 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8832 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8833 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8834 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8835 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8836 (todo-filter-top-priorities-multifile, todo-find-archive)
8837 (todo-find-filtered-items-file, todo-go-to-source-item)
8838 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8839 (todo-jump-to-archive-category, todo-lower-category)
8840 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8841 (todo-move-category, todo-move-item, todo-next-button)
8842 (todo-next-item, todo-padded-string, todo-powerset)
8843 (todo-previous-button, todo-previous-item)
8844 (todo-print-buffer-to-file, todo-raise-category)
8845 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8846 (todo-set-category-number, todo-set-item-priority)
8847 (todo-set-top-priorities-in-category)
8848 (todo-set-top-priorities-in-file, todo-show-categories-table)
8849 (todo-sort-categories-alphabetically-or-numerically)
8850 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8851 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8852 (todo-toggle-item-header, todo-toggle-item-highlighting)
8853 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8854 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8855 (todo-unarchive-items, todo-unmark-category): New commands.
8856 (todo-absolute-file-name, todo-add-to-buffer-list)
8857 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8858 (todo-basic-insert-item, todo-category-completions)
8859 (todo-category-number, todo-category-string-matcher-1)
8860 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8861 (todo-check-format, todo-clear-matches)
8862 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8863 (todo-current-category, todo-date-string-matcher)
8864 (todo-define-insertion-command, todo-diary-expired-matcher)
8865 (todo-diary-goto-entry, todo-diary-item-p)
8866 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8867 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8868 (todo-done-item-section-p, todo-done-separator)
8869 (todo-done-string-matcher, todo-files, todo-filter-items)
8870 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8871 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8872 (todo-insert-category-line, todo-insert-item-from-calendar)
8873 (todo-insert-sort-button, todo-insert-with-overlays)
8874 (todo-insertion-command-name, todo-insertion-key-bindings)
8875 (todo-label-to-key, todo-longest-category-name-length)
8876 (todo-make-categories-list, todo-mode-external-set)
8877 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8878 (todo-modes-set-3, todo-multiple-filter-files)
8879 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8880 (todo-read-category, todo-read-date, todo-read-dayname)
8881 (todo-read-file-name, todo-read-time)
8882 (todo-reevaluate-category-completions-files-defcustom)
8883 (todo-reevaluate-default-file-defcustom)
8884 (todo-reevaluate-filelist-defcustoms)
8885 (todo-reevaluate-filter-files-defcustom)
8886 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8887 (todo-reset-done-separator, todo-reset-done-separator-string)
8888 (todo-reset-done-string, todo-reset-global-current-todo-file)
8889 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8890 (todo-reset-prefix, todo-set-categories)
8891 (todo-set-date-from-calendar, todo-set-show-current-file)
8892 (todo-set-top-priorities, todo-short-file-name)
8893 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8894 (todo-total-item-counts, todo-update-buffer-list)
8895 (todo-update-categories-display, todo-update-categories-sexp)
8896 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8897 New functions.
8898 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8899 New major modes.
8900 (todo-categories, todo-display, todo-edit, todo-faces)
8901 (todo-filtered): New defgroups.
8902 (todo-archived-only, todo-button, todo-category-string, todo-date)
8903 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8904 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8905 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8906 (todo-add-item-if-new-category, todo-always-add-time-string)
8907 (todo-categories-align, todo-categories-archived-label)
8908 (todo-categories-category-label, todo-categories-diary-label)
8909 (todo-categories-done-label, todo-categories-number-separator)
8910 (todo-categories-todo-label, todo-categories-totals-label)
8911 (todo-category-completions-files, todo-completion-ignore-case)
8912 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8913 (todo-done-separator-string, todo-done-string)
8914 (todo-files-function, todo-filter-done-items, todo-filter-files)
8915 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8916 (todo-initial-category, todo-initial-file, todo-item-mark)
8917 (todo-legacy-date-time-regexp, todo-mode-line-function)
8918 (todo-nondiary-marker, todo-number-prefix)
8919 (todo-print-buffer-function, todo-show-current-file)
8920 (todo-show-done-only, todo-show-first, todo-show-with-done)
8921 (todo-skip-archived-categories, todo-top-priorities-overrides)
8922 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8923 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8924 New defcustoms.
8925 (todo-category-done, todo-date-pattern, todo-date-string-start)
8926 (todo-diary-items-buffer, todo-done-string-start)
8927 (todo-filtered-items-buffer, todo-item-start)
8928 (todo-month-abbrev-array, todo-month-name-array)
8929 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8930 (todo-top-priorities-buffer): New defconsts.
8931 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8932 (todo-categories-with-marks, todo-category-string-face)
8933 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8934 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8935 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8936 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8937 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8938 (todo-font-lock-keywords, todo-global-current-todo-file)
8939 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8940 (todo-insertion-commands-args)
8941 (todo-insertion-commands-args-genlist)
8942 (todo-insertion-commands-names, todo-insertion-map)
8943 (todo-key-bindings-t, todo-key-bindings-t+a)
8944 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8945 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8946 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8947 (todo-visited): New variables.
8948
8949 2013-06-21 Glenn Morris <rgm@gnu.org>
8950
8951 * play/cookie1.el (cookie-apropos): Add optional display argument.
8952 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8953 (psychoanalyze-pinhead): Use cookie-doctor.
8954
8955 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8956
8957 * emacs-lisp/package.el (tar-get-file-descriptor)
8958 (tar--extract): Declare.
8959
8960 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8961
8962 Extend flymake's warning predicate to be a function (bug#14217).
8963 * progmodes/flymake.el (flymake-warning-predicate): New.
8964 (flymake-parse-line): Use it.
8965 (flymake-warning-re): Make obsolete alias to
8966 `flymake-warning-predicate'.
8967
8968 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8971 (package-obsolete-list): Remove.
8972 (package-activate): Remove min-version argument. Add `force' argument.
8973 Adjust to new package-alist format.
8974 (package-mark-obsolete): Remove.
8975 (package-unpack): Force reload of the package's autoloads.
8976 (package-installed-p): Check builtins if the installed package is not
8977 recent enough.
8978 (package-initialize): Don't reset package-obsolete-list.
8979 Don't specify which package version to activate.
8980 (package-process-define-package, describe-package-1)
8981 (package-menu--generate): Adjust to new package-alist format.
8982
8983 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * allout-widgets.el (allout-widgets-mode-off)
8986 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8987 (allout-widgets-post-command-business)
8988 (allout-widgets-after-copy-or-kill-function)
8989 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8990 (allout-decorate-item-and-context)
8991 (allout-graphics-modification-handler): Fix typos in docstrings.
8992 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8993
8994 * cmuscheme.el (scheme-start-file): Doc fix.
8995 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8996 (scheme-input-filter): Use `string-match-p'.
8997
8998 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8999
9000 * dired-x.el: Use Dired consistently in docstrings.
9001
9002 * dired.el: Use Dired consistently in docstrings.
9003 (dired-readin, dired-mode): Use `setq-local'.
9004 (dired-switches-alist): Make defvar-local.
9005 (dired-buffers-for-dir): Use `zerop'.
9006 (dired-safe-switches-p, dired-switches-escape-p)
9007 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9008 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9009 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9010 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9011 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9012 (dired-toggle-marks, dired-mark-files-containing-regexp)
9013 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9014 (dired-flag-auto-save-files, dired-flag-backup-files):
9015 Use `looking-at-p'.
9016 (dired-mark-files-regexp, dired-build-subdir-alist):
9017 Use `string-match-p', `looking-at-p'.
9018
9019 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9020 (direct-print-region-helper): Use `string-match-p'.
9021
9022 2013-06-21 Leo Liu <sdl.web@gmail.com>
9023
9024 * comint.el (comint-redirect-results-list-from-process):
9025 Fix infinite loop.
9026
9027 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9028
9029 * net/eww.el (eww-update-header-line-format): Quote % characters.
9030
9031 2013-06-21 Glenn Morris <rgm@gnu.org>
9032
9033 * play/cookie1.el (cookie): New custom group.
9034 (cookie-file): New option.
9035 (cookie-check-file): New function.
9036 (cookie): Make it interactive. Make start and end messages optional.
9037 Interactively, display the result. Default to cookie-file.
9038 (cookie-insert): Default to cookie-file.
9039 (cookie-snarf): Make start and end messages optional.
9040 Default to cookie-file. Use with-temp-buffer.
9041 (cookie-read): Rename from read-cookie.
9042 Make start and end messages optional. Default to cookie-file.
9043 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9044 Do not autoload it.
9045 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9046 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9047
9048 2013-06-21 Leo Liu <sdl.web@gmail.com>
9049
9050 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9051
9052 2013-06-21 Glenn Morris <rgm@gnu.org>
9053
9054 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9055
9056 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9057 Daniel Hackney <dan@haxney.org>
9058
9059 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9060 Consolidate the single-file vs tarball code.
9061 (package-desc-suffix): New function.
9062 (package-desc-full-name): Don't bother inlining it.
9063 (package-load-descriptor): Return the new package-desc.
9064 (package-mark-obsolete): Remove unused arg `package'.
9065 (package-unpack): Make it work for single files as well.
9066 Make it update package-alist.
9067 (package--make-autoloads-and-stuff): Rename from
9068 package--make-autoloads-and-compile. Don't compile any more.
9069 (package--compile): New function.
9070 (package-generate-description-file): New function, extracted from
9071 package-unpack-single.
9072 (package-unpack-single): Remove.
9073 (package--with-work-buffer): Add indentation and debugging info.
9074 (package-download-single): Remove.
9075 (package-install-from-archive): Rename from package-download-tar, make
9076 it take a pkg-desc, and make it work for single files as well.
9077 (package-download-transaction): Simplify.
9078 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9079 external tar program.
9080 (package-install-from-buffer): Remove `pkg-desc' argument.
9081 Use package-tar-file-info for tar-mode buffers.
9082 (package-install-file): Simplify accordingly.
9083 (package-archive-base): Change to take a pkg-desc.
9084 * tar-mode.el (tar--check-descriptor): New function, extracted from
9085 tar-get-descriptor.
9086 (tar-get-descriptor): Use it.
9087 (tar-get-file-descriptor): New function.
9088 (tar--extract): New function, extracted from tar-extract.
9089 (tar--extract): Use it.
9090 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9091 case the summary uses non-ascii. Adjust to new calling convention of
9092 package-tar-file-info.
9093
9094 2013-06-21 Leo Liu <sdl.web@gmail.com>
9095
9096 * comint.el (comint-redirect-results-list-from-process):
9097 Fix random delay. (Bug#14681)
9098
9099 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9100
9101 * profiler.el (profiler-format-number): Use log, not log10.
9102
9103 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9104
9105 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9106
9107 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9110 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9111 yet available.
9112 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9113 (AUTOGENEL): ... here.
9114 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9115 (cl--defsubst-expand): Use it.
9116
9117 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9118
9119 * subr.el (log10): Move here from C code, and declare as obsolete.
9120 All uses of (log10 X) replaced with (log X 10).
9121
9122 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9123
9124 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9125 Declare with `defvar-local'.
9126 (tabulated-list-use-header-line, tabulated-list-entries)
9127 (tabulated-list-padding, tabulated-list-printer)
9128 (tabulated-list-sort-key): Declare with `defvar-local'.
9129 (tabulated-list-init-header, tabulated-list-print-fake-header):
9130 Use `setq-local'.
9131
9132 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9133
9134 * arc-mode.el (archive-mode): Add `archive-write-file' to
9135 `write-contents-functions' also for remote files. (Bug#14652)
9136
9137 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9138
9139 * cus-edit.el (custom-commands): Fix typos.
9140 (custom-display): Fix tooltip text.
9141 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9142 Fix typos in docstrings.
9143 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9144 (custom-unlispify-menu-entry, custom-magic-value-create)
9145 (custom-add-see-also, custom-group-value-create): Use ?\s.
9146 (custom-guess-type, customize-apropos, editable-field)
9147 (custom-face-value-create): Use `string-match-p'.
9148 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9149
9150 * custom.el (custom-load-symbol): Use `string-match-p'.
9151
9152 * ansi-color.el: Convert to lexical binding.
9153 (ansi-colors): Fix URL.
9154 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9155 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9156 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9157
9158 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9159
9160 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9161
9162 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9163
9164 2013-06-19 Tom Tromey <tromey@redhat.com>
9165
9166 * net/eww.el (eww-top-url): Remove.
9167 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9168 (eww-render): Set new variables. Don't set eww-top-url.
9169 (eww-handle-link): Handle "prev", "home", and "contents".
9170 Downcase the rel text.
9171 (eww-top-url): Choose best top URL.
9172
9173 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9174
9175 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9176 relying in widget.el. Using widget.el leads to too many
9177 user interface inconsistencies.
9178 (eww-self-insert): Implement entering commands in text fields.
9179 (eww-process-text-input): New function to make text input field editing
9180 work.
9181 (eww-submit): Rewrite to use the new-style form methods.
9182 (eww-select-display): Display the correct selected item.
9183 (eww-change-select): Implement changing the select value.
9184 (eww-toggle-checkbox): Implement radio/checkboxes.
9185 (eww-update-field): Fix compilation error.
9186 (eww-tag-textarea): Implement <textarea>.
9187
9188 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9189 we don't shadow mode-specific bindings.
9190
9191 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9192 nothing to push.
9193
9194 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9195
9196 2013-06-19 Glenn Morris <rgm@gnu.org>
9197
9198 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9199
9200 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9203 not needed.
9204
9205 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9206
9207 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9208
9209 * net/browse-url.el (browse-url-browser-function):
9210 `eww-browse-url' has the right calling signature, `eww' does not.
9211
9212 2013-06-19 Glenn Morris <rgm@gnu.org>
9213
9214 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9215 Only eval autoloaded macros.
9216 (byte-compile-autoload): Only give the macro warning for macros.
9217
9218 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9219 (ps-underlined-faces): Declare.
9220
9221 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9222 (speedbar-add-supported-extension): Declare.
9223
9224 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9225 Don't include a date stamp in the header of the generated file;
9226 it leads to needless differences between output files.
9227
9228 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9229
9230 * net/secrets.el (secrets-struct-secret-content-type):
9231 Replace check of introspection data by a test call of "CreateItem".
9232 Some servers do not offer introspection.
9233
9234 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * electric.el (electric-pair-mode): Improve interaction with
9237 electric-layout-mode.
9238 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9239 (electric-pair-syntax): Use text-mode-syntax-table in comments
9240 and strings.
9241 (electric-pair--insert): New function.
9242 (electric-pair-post-self-insert-function): Use it and
9243 electric--after-char-pos.
9244
9245 2013-06-19 Leo Liu <sdl.web@gmail.com>
9246
9247 * progmodes/octave.el (octave-help): Fix regexp.
9248
9249 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9250
9251 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9252 (shr-table-horizontal-line): Allow nil as a value, and change the
9253 default.
9254 (shr-insert-table-ruler): Respect the nil value.
9255
9256 2013-06-18 Tom Tromey <tromey@barimba>
9257
9258 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9259 New defvars.
9260 (eww-open-file): New defun.
9261 (eww-render): Initialize new variables.
9262 (eww-display-html): Handle "link" and "a".
9263 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9264 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9265 (eww-back-url): Rename from eww-previous-url.
9266 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9267 New defuns.
9268
9269 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9270
9271 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9272 Distinguish ternary operator tokens from slash symbol and slash
9273 char literal.
9274
9275 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9276
9277 Convert symbol prettification into minor mode and global minor mode.
9278
9279 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9280 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9281 (prettify-symbols--keywords): Rename from
9282 `prog-prettify-symbols-alist' and make a local defvar.
9283 (prettify-symbols--compose-symbol): Rename from
9284 `prog--prettify-font-lock-compose-symbol'.
9285 (prettify-symbols--make-keywords): Rename from
9286 `prog-prettify-font-lock-symbols-keywords' and simplify.
9287 (prog-prettify-install): Remove.
9288 (prettify-symbols-mode): New minor mode, based on
9289 `prog-prettify-install'.
9290 (turn-on-prettify-symbols-mode): New function.
9291 (global-prettify-symbols-mode): New globalized minor mode.
9292
9293 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9294 * progmodes/cfengine.el (cfengine3-mode):
9295 * progmodes/perl-mode.el (perl-mode): Don't call
9296 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9297
9298 2013-06-18 Juri Linkov <juri@jurta.org>
9299
9300 * files-x.el (modify-file-local-variable-message): New function.
9301 (modify-file-local-variable)
9302 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9303 and call `modify-file-local-variable-message' when it's non-nil.
9304 (add-file-local-variable, delete-file-local-variable)
9305 (add-file-local-variable-prop-line)
9306 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9307 and use it. (Bug#9820)
9308
9309 2013-06-18 Juri Linkov <juri@jurta.org>
9310
9311 * emulation/vi.el (vi-shell-op):
9312 * emulation/vip.el (vip-execute-com, ex-command):
9313 * emulation/viper-cmd.el (viper-exec-bang):
9314 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9315 the call of `shell-command-on-region'. (Bug#14637)
9316
9317 * simple.el (shell-command-on-region): Doc fix.
9318
9319 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9320
9321 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9322 (bug#14633).
9323
9324 2013-06-18 Glenn Morris <rgm@gnu.org>
9325
9326 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9327
9328 * newcomment.el (comment-search-forward, comment-search-backward):
9329 Doc fix. (Bug#14376)
9330
9331 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9334 (buffer-face-mode-invoke): Doc fix.
9335
9336 2013-06-18 Matthias Meulien <orontee@gmail.com>
9337
9338 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9339 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9340
9341 2013-06-18 Glenn Morris <rgm@gnu.org>
9342
9343 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9344 Replace obsolete function generic-make-keywords with its expansion.
9345
9346 * progmodes/python.el (ffap-alist): Declare.
9347
9348 * textmodes/reftex.el (bibtex-mode-map): Declare.
9349
9350 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9351
9352 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9353 (package-unpack, package-unpack-single): Return the pkg-dir.
9354 (package-download-transaction): Use it to update package-alist.
9355
9356 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9357
9358 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9359 possible choice.
9360
9361 2013-06-17 Juri Linkov <juri@jurta.org>
9362
9363 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9364
9365 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9366
9367 * emacs-lisp/package.el (package-load-descriptor):
9368 Remove `with-syntax-table' call, `read' doesn't need it.
9369 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9370
9371 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9372
9373 * startup.el (command-line): Expand package name returned by
9374 `package--description-file' (bug#14639).
9375
9376 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9377
9378 * emacs-lisp/package.el (package-load-descriptor): Do not call
9379 `emacs-lisp-mode', just use its syntax table.
9380
9381 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9382
9383 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9384 `font-lock-extra-managed-props' if any prettifying keyword is added.
9385 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9386 (prog-mode): Use `setq-local'.
9387
9388 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * international/characters.el (standard-case-table): Set syntax of ?»
9391 and ?« to punctuation.
9392
9393 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9394
9395 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9396 Save relevant match data before calling `syntax-ppss' (bug#14595).
9397
9398 2013-06-15 Juri Linkov <juri@jurta.org>
9399
9400 * files-x.el (modify-file-local-variable-prop-line): Add local
9401 variables to the end of the existing comment on the first line.
9402 Use `file-auto-mode-skip' to skip interpreter magic line,
9403 and also skip XML declaration.
9404
9405 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * startup.el (package--builtin-versions): New var.
9408 (package-subdirectory-regexp): Remove.
9409 (package--description-file): Hard code its value instead.
9410
9411 * emacs-lisp/package.el: Don't activate packages older than builtin.
9412 (package-obsolete-list): Rename from package-obsolete-alist, and make
9413 it into a simple list of package-desc.
9414 (package-strip-version): Remove.
9415 (package-built-in-p): Use package--builtin-versions.
9416 (package-mark-obsolete): Simplify.
9417 (package-process-define-package): Mark it obsolete if older than the
9418 builtin version.
9419 (package-handle-response): Use line-end-position.
9420 (package-read-archive-contents, package--download-one-archive):
9421 Simplify.
9422 (package--add-to-archive-contents): Skip if older than the builtin or
9423 installed version.
9424 (package-menu-describe-package): Fix last change.
9425 (package-list-unversioned): New var.
9426 (package-menu--generate): Use it.
9427
9428 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9429 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9430 (autoload-builtin-package-versions): New variable.
9431 (autoload-generate-file-autoloads): Use them.
9432 Remove the list of autoloaded functions/macros from the
9433 (autoload...) comments.
9434
9435 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9436
9437 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9438
9439 * simple.el (line-move-partial): Don't jump to the next screen
9440 line as soon as it becomes visible. Instead, continue enlarging
9441 the vscroll until the portion of a tall screen line that's left on
9442 display is about the height of the frame's default font.
9443 (Bug#14567)
9444
9445 2013-06-15 Glenn Morris <rgm@gnu.org>
9446
9447 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9448 compilation-error-regexp-alist void, or local while let-bound.
9449
9450 * progmodes/make-mode.el (makefile-mode-syntax-table):
9451 Treat "=" as punctuation. (Bug#14614)
9452
9453 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9454
9455 * help-fns.el (describe-variable):
9456 Add extra line for permanent-local variables.
9457
9458 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9459
9460 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9461 Add export, import, library. (Bug#9164)
9462 (library): Set indent function.
9463
9464 2013-06-14 Glenn Morris <rgm@gnu.org>
9465
9466 * term/xterm.el (xterm--query):
9467 Stop after first matching handler. (Bug#14615)
9468
9469 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9470
9471 Add support for dired in saveplace.
9472 * dired.el (dired-initial-position-hook): New variable.
9473 (dired-initial-position): Call hook to place cursor position.
9474 * saveplace.el (save-place-to-alist): Add dired position.
9475 (save-place-dired-hook): New function.
9476
9477 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9480 through a symbol rather than letrec.
9481
9482 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9483 (package-desc): Add `dir' field.
9484 (package-desc-full-name): New function.
9485 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9486 (package-maybe-load-descriptor): Remove.
9487 (package-load-all-descriptors): Just call package-load-descriptor.
9488 (package--disabled-p): New function.
9489 (package-desc-vers, package-desc-doc): Remove aliases.
9490 (package--dir): Remove function.
9491 (package-activate): Check if a package is disabled.
9492 (package-process-define-package): New function, extracted from
9493 define-package.
9494 (define-package): Turn into a place holder.
9495 (package-unpack-single, package-tar-file-info):
9496 Use package--description-file.
9497 (package-compute-transaction): Use package--disabled-p.
9498 (package-download-transaction): Don't call
9499 package-maybe-load-descriptor since they're all loaded anyway.
9500 (package-install): Change argument to be a pkg-desc.
9501 (package-delete): Use a single pkg-desc argument.
9502 (describe-package-1): Use package-desc-dir instead of package--dir.
9503 Use package-desc property instead of package-symbol.
9504 (package-install-button-action): Adjust accordingly.
9505 (package--push): Rewrite.
9506 (package-menu--print-info): Adjust accordingly. Change the ID format
9507 to be a pkg-desc.
9508 (package-menu-describe-package, package-menu-get-status)
9509 (package-menu--find-upgrades, package-menu-mark-upgrades)
9510 (package-menu-execute, package-menu--name-predicate):
9511 Adjust accordingly.
9512 * startup.el (package--description-file): New function.
9513 (command-line): Use it.
9514 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9515 Use package-desc-version.
9516
9517 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9518 (byte-compile-preprocess): Use it.
9519 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9520 can't quite recognize.
9521 (byte-compile-add-to-list): Remove.
9522 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9523 (cconv-closure-convert): Add assertion.
9524
9525 * emacs-lisp/map-ynp.el: Use lexical-binding.
9526 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9527 Factor out some repeated code.
9528
9529 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * subr.el (with-eval-after-load): New macro.
9532 (eval-after-load): Allow form to be a function.
9533 take advantage of lexical-binding.
9534 (do-after-load-evaluation): Use dolist and adjust to new format.
9535 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9536
9537 2013-06-13 Juri Linkov <juri@jurta.org>
9538
9539 * replace.el (perform-replace): Display "symbol " and other search
9540 modes from `isearch-message-prefix' in the *Help* buffer.
9541
9542 * isearch.el (isearch-query-replace): Add " symbol" and other
9543 possible search modes from `isearch-message-prefix' to the prompt.
9544 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9545 when reading a regexp to collect.
9546
9547 2013-06-13 Juri Linkov <juri@jurta.org>
9548
9549 * isearch.el (word-search-regexp): Match whitespace if the search
9550 string begins or ends in whitespace. The LAX arg is applied to
9551 both ends of the search string. Use `regexp-quote' and explicit
9552 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9553 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9554 boundaries are replaced with symbol boundaries, and characters
9555 between symbols match non-word non-symbol syntax. (Bug#14602)
9556
9557 2013-06-13 Juri Linkov <juri@jurta.org>
9558
9559 * isearch.el (isearch-del-char): Don't exceed the length of
9560 `isearch-string' by the prefix arg. (Bug#14563)
9561
9562 2013-06-13 Juri Linkov <juri@jurta.org>
9563
9564 * isearch.el (isearch-yank-word, isearch-yank-line)
9565 (isearch-char-by-name, isearch-quote-char)
9566 (isearch-printing-char, isearch-process-search-char):
9567 Add optional count prefix arg. (Bug#14563)
9568
9569 * international/isearch-x.el
9570 (isearch-process-search-multibyte-characters):
9571 Add optional count prefix arg.
9572
9573 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9576 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9577 lexical-binding.
9578
9579 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9580
9581 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9582
9583 2013-06-13 Glenn Morris <rgm@gnu.org>
9584
9585 * startup.el (tty-handle-args):
9586 Don't just discard "--" and anything after. (Bug#14608)
9587
9588 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9589
9590 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9591
9592 Implement changes in Secret Service API. Make it backward compatible.
9593 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9594 (secrets-create-item): Use it. Prefix properties with interface.
9595
9596 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9597
9598 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9599 (term-emulate-terminal): Respect term-suppress-hard-newline.
9600
9601 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9602
9603 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9604 Only remove a `thumb-file' overlay. (Bug#14548)
9605
9606 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9607
9608 * mail/reporter.el (reporter-submit-bug-report):
9609 Handle missing package-name. (Bug#14600)
9610
9611 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9612
9613 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9614 (reftex-citation-prompt, reftex-default-bibliography)
9615 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9616 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9617 (reftex-bib-sort-author, reftex-bib-sort-year)
9618 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9619 (reftex-extract-bib-entries-from-thebibliography)
9620 (reftex-get-bibkey-default, reftex-get-bib-names)
9621 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9622 (reftex-format-bib-entry, reftex-parse-bibitem)
9623 (reftex-format-bibitem, reftex-do-citation)
9624 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9625 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9626 (reftex-insert-bib-matches, reftex-format-citation)
9627 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9628 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9629 existing comments into docstrings.
9630
9631 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9632
9633 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9634
9635 2013-06-12 Andreas Schwab <schwab@suse.de>
9636
9637 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9638 for auto-save files.
9639
9640 2013-06-12 Glenn Morris <rgm@gnu.org>
9641
9642 * ido.el (ido-delete-ignored-files): Remove.
9643 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9644 Go back to calling ido-ignore-item-p directly.
9645
9646 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9647
9648 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9649
9650 * ido.el (ido-delete-ignored-files): New function,
9651 split from ido-make-file-list-1.
9652 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9653 (ido-make-file-list-1): Use ido-delete-ignored-files.
9654
9655 2013-06-12 Leo Liu <sdl.web@gmail.com>
9656
9657 * progmodes/octave.el (inferior-octave-startup)
9658 (inferior-octave-completion-table)
9659 (inferior-octave-track-window-width-change)
9660 (octave-eldoc-function-signatures, octave-help)
9661 (octave-find-definition): Use single quoted strings.
9662 (inferior-octave-startup-args): Change default value.
9663 (inferior-octave-startup): Do not hard code "-i" and
9664 "--no-line-editing".
9665 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9666 (inferior-octave-directory-tracker): Use it.
9667 (octave-goto-function-definition): Robustify.
9668 (octave-help): Support highlighting operators in 'See also'.
9669 (octave-find-definition): Find subfunctions only in Octave mode.
9670
9671 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9672
9673 * help-fns.el (help-fns--compiler-macro): If the handler function is
9674 named, then put a link to it.
9675 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9676 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9677 (cl-typep): Use it.
9678 (cl-eval-when): Simplify debug spec.
9679 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9680 compiler-macro function instead of setting `compiler-macro-file'.
9681
9682 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9683
9684 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9685 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9686
9687 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9688 Daniel Hackney <dan@haxney.org>
9689
9690 First part of Daniel Hackney's patch to package.el.
9691 * emacs-lisp/package.el: Use defstruct.
9692 (package-desc): New, main struct.
9693 (package--bi-desc, package--ac-desc): New structs, used to describe the
9694 format in external files.
9695 (package-desc-vers): Replace with package-desc-version accessor.
9696 (package-desc-doc): Replace with package-desc-summary accessor.
9697 (package-activate-1): Remove `package' arg since the pkg-vec now
9698 includes the name.
9699 (define-package): Use package-desc-from-define.
9700 (package-unpack-single): Change file-name arg to be a symbol.
9701 (package--add-to-archive-contents): Use package-desc-create and new
9702 accessor functions to package--ac-desc.
9703 (package-buffer-info, package-tar-file-info): Return a package-desc.
9704 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9705 arg to be a package-desc.
9706 (package-install-file): Adjust accordingly. Use \' to match EOS.
9707 (package--from-builtin): New function.
9708 (describe-package-1, package-menu--generate): Use it.
9709 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9710 (package-generate-autoloads): Idem and return the name of the file.
9711 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9712 Change pkg-info arg to be a package-desc.
9713 Use package-make-ac-desc.
9714 (package-upload-file): Use \' to match EOS.
9715 * finder.el (finder-compile-keywords): Use package-make-builtin.
9716
9717 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * vc/vc.el (vc-deduce-fileset): Change error message.
9720 (vc-read-backend): New function.
9721 (vc-next-action): Use it.
9722
9723 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9724
9725 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9726 (prolog-font-lock-keywords): Use regexp-opt instead.
9727 Don't manually highlight strings.
9728 (prolog-mode-variables): Simplify comment-start-skip.
9729 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9730
9731 * emacs-lisp/generic.el (generic--normalise-comments)
9732 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9733 (generic-mode-set-comments): Use them.
9734 (generic-bracket-support): Use setq-local.
9735 (generic-make-keywords-list): Declare obsolete.
9736
9737 2013-06-11 Glenn Morris <rgm@gnu.org>
9738
9739 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9740 Prettify after setting font-lock-defaults. (Bug#14574)
9741
9742 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9743
9744 * replace.el (query-replace, occur-read-regexp-defaults-function)
9745 (replace-search):
9746 * subr.el (declare-function, number-sequence, local-set-key)
9747 (substitute-key-definition, locate-user-emacs-file)
9748 (with-silent-modifications, split-string, eval-after-load):
9749 Fix typos, remove unneeded backslashes and reflow some docstrings.
9750
9751 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9754 default for Elisp files.
9755
9756 2013-06-11 Glenn Morris <rgm@gnu.org>
9757
9758 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9759 although define-derived-mode was doing this anyway. (Bug#14583)
9760
9761 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9762
9763 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9764 Fix make-variable-buffer-local call to refer to the correct variable.
9765
9766 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9767
9768 * eshell/em-term.el (eshell-visual-commands)
9769 (eshell-visual-subcommands, eshell-visual-options):
9770 Add summary line to docstrings. Add cross-references.
9771
9772 2013-06-10 Glenn Morris <rgm@gnu.org>
9773
9774 * epa.el (epa-read-file-name): New function. (Bug#14510)
9775 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9776
9777 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9778
9779 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9780 output redirection to be ignored with visual commands.
9781
9782 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9783
9784 * eshell/em-term.el (eshell-visual-command-p): New function.
9785 (eshell-term-initialize): Move long lambda to separate function
9786 eshell-visual-command-p.
9787 * eshell/em-dirs.el (eshell-dirs-initialise):
9788 * eshell/em-script.el (eshell-script-initialize):
9789 Add missing #' to lambda.
9790
9791 2013-06-08 Leo Liu <sdl.web@gmail.com>
9792
9793 * progmodes/octave.el (octave-add-log-current-defun): New function.
9794 (octave-mode): Set add-log-current-defun-function.
9795 (octave-goto-function-definition): Do not move point if not found.
9796 (octave-find-definition): Enhance to try subfunctions first.
9797
9798 2013-06-08 Glenn Morris <rgm@gnu.org>
9799
9800 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9801 (byte-compile-backward-char, byte-compile-backward-word):
9802 Improve previous change, to handle non-explicit nil.
9803
9804 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9807 (smie--opener/closer-at-point): New function.
9808 (smie--matching-block-data): Use it. Don't match from right after an
9809 opener or right before a closer. Obey smie-blink-matching-inners.
9810 Don't signal a mismatch for repeated inners like "switch..case..case".
9811
9812 2013-06-07 Leo Liu <sdl.web@gmail.com>
9813
9814 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9815 to t. (Bug#14303)
9816 (octave-function-header-regexp): Fix. (Bug#14570)
9817 (octave-help-mode-finish-hook, octave-help-mode-finish):
9818 Remove. Just use temp-buffer-show-hook.
9819
9820 * newcomment.el (comment-search-backward): Revert last change.
9821 (Bug#14434)
9822
9823 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9824
9825 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9826
9827 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9828 through xargs, to avoid failure due to MS-Windows limitations on
9829 command-line length.
9830
9831 2013-06-06 Glenn Morris <rgm@gnu.org>
9832
9833 * font-lock.el (lisp-font-lock-keywords-2):
9834 Treat user-error like error.
9835
9836 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9837 (byte-compile-backward-char, byte-compile-backward-word):
9838 Handle explicit nil arguments. (Bug#14565)
9839
9840 2013-06-05 Alan Mackenzie <acm@muc.de>
9841
9842 * isearch.el (isearch-allow-prefix): New user option.
9843 (isearch-other-meta-char): Don't exit isearch when a prefix
9844 argument is typed whilst `isearch-allow-prefix' is non-nil.
9845 (Bug#9706)
9846
9847 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * autorevert.el (auto-revert-notify-handler): Use memq.
9850 Hide assertion failure.
9851
9852 * skeleton.el: Use cl-lib.
9853 (skeleton-further-elements): Use defvar-local.
9854 (skeleton-insert): Use cl-progv.
9855
9856 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9857
9858 * progmodes/prog-mode.el (prog-prettify-symbols)
9859 (prog-prettify-install): Update docstrings.
9860
9861 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * simple.el: Move all the prog-mode code to prog-mode.el.
9864 * progmodes/prog-mode.el: New file.
9865 * loadup.el: Add prog-mode.el.
9866
9867 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9868
9869 * simple.el (prog-prettify-symbols): Add version.
9870 (prog-prettify-install): Add convenience function to prettify symbols.
9871
9872 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9873 (perl--augmented-font-lock-keywords-1)
9874 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9875 variables and use it.
9876
9877 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9878 (cfengine3-mode): Remove unneeded variable and use it.
9879
9880 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9881 (lisp--augmented-font-lock-keywords-1)
9882 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9883 Remove unneeded variables and use it.
9884
9885 2013-06-05 João Távora <joaotavora@gmail.com>
9886
9887 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9888 to point when opening the connection. (Bug#14380)
9889
9890 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * subr.el (load-history-regexp, load-history-filename-element)
9893 (eval-after-load, after-load-functions, do-after-load-evaluation)
9894 (eval-next-after-load, display-delayed-warnings)
9895 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9896 definition of save-match-data.
9897 (overriding-local-map): Remove accidental obsolescence declaration.
9898
9899 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9900
9901 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9902
9903 Generalize symbol prettify support to prog-mode and implement it
9904 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9905 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9906 (prog--prettify-font-lock-compose-symbol)
9907 (prog-prettify-font-lock-symbols-keywords): New variables and
9908 functions to support symbol prettification.
9909 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9910 (lisp--augmented-font-lock-keywords-1)
9911 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9912 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9913 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9914 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9915 Implement prettify of -> => :: strings.
9916 * progmodes/perl-mode.el (perl-prettify-symbols)
9917 (perl--font-lock-compose-symbol)
9918 (perl--font-lock-symbols-keywords): Move to prog-mode.
9919 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9920 (perl-font-lock-keywords-1)
9921 (perl-font-lock-keywords-2): Remove explicit prettify support.
9922 (perl--augmented-font-lock-keywords)
9923 (perl--augmented-font-lock-keywords-1)
9924 (perl--augmented-font-lock-keywords-2, perl-mode):
9925 Implement prettify support.
9926
9927 2013-06-05 Leo Liu <sdl.web@gmail.com>
9928
9929 Re-implement smie matching block highlight using
9930 show-paren-data-function. (Bug#14395)
9931 * emacs-lisp/smie.el (smie-matching-block-highlight)
9932 (smie--highlight-matching-block-overlay)
9933 (smie--highlight-matching-block-lastpos)
9934 (smie-highlight-matching-block)
9935 (smie-highlight-matching-block-mode): Remove.
9936 (smie--matching-block-data-cache): New variable.
9937 (smie--matching-block-data): New function.
9938 (smie-setup): Use smie--matching-block-data for
9939 show-paren-data-function.
9940
9941 * progmodes/octave.el (octave-mode-menu): Fix.
9942 (octave-find-definition): Skip garbage lines.
9943
9944 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 Fix compilation error with simultaneous dynamic+lexical scoping.
9947 Add warning when a defvar appears after the first let-binding.
9948 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9949 (byte-compile-close-variables): Initialize it.
9950 (byte-compile--declare-var): New function.
9951 (byte-compile-file-form-defvar)
9952 (byte-compile-file-form-define-abbrev-table)
9953 (byte-compile-file-form-custom-declare-variable): Use it.
9954 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9955 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9956 (byte-compile-bind): Handle dynamic bindings that shadow
9957 lexical bindings.
9958 (byte-compile-unbind): Make arg non-optional.
9959 (byte-compile-let): Simplify.
9960 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9961 (cconv--analyse-function, cconv-analyse-form): Populate it.
9962 Protect byte-compile-bound-variables to limit the scope of defvars.
9963 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9964 Remove unneeded rule for `declare'.
9965
9966 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9967 so as to avoid depending on cl-adjoin at run-time.
9968 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9969
9970 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9971 (macroexp--warn-and-return): Use it.
9972
9973 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * subr.el: Convert to lexical binding.
9976 (overriding-local-map): Make obsolete.
9977 (add-to-list): Doc fix. Add compiler macro.
9978 (read-key): Swap values of local maps.
9979
9980 2013-06-05 Leo Liu <sdl.web@gmail.com>
9981
9982 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9983
9984 2013-06-04 Leo Liu <sdl.web@gmail.com>
9985
9986 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9987 (compilation-auto-jump): Suppress the "Mark set" message to give
9988 way to exit message.
9989
9990 2013-06-04 Alan Mackenzie <acm@muc.de>
9991
9992 Remove faulty optimisation from indentation calculation.
9993 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9994 search limit based on 2000 characters back from indent-point.
9995
9996 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9997
9998 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9999
10000 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * emacs-lisp/lisp.el: Use lexical-binding.
10003 (lisp--local-variables-1, lisp--local-variables): New functions.
10004 (lisp--local-variables-completion-table): New var.
10005 (lisp-completion-at-point): Use it complete let-bound vars.
10006
10007 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10008 eagerly (bug#14422).
10009
10010 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10011
10012 * autorevert.el (auto-revert-notify-enabled)
10013 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10014 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10015 (auto-revert-notify-handler): Handle also gfilenotify.
10016
10017 * subr.el (file-notify-handle-event): New defun. Replacing ...
10018 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10019 Remove.
10020
10021 2013-06-03 Juri Linkov <juri@jurta.org>
10022
10023 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10024 `M-s h .'. (Bug#14427)
10025
10026 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10027 command `hi-lock-face-symbol-at-point'.
10028 (hi-lock-face-symbol-at-point): New command.
10029 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10030 (hi-lock-menu): Add `highlight-symbol-at-point'.
10031 (hi-lock-mode): Doc fix.
10032
10033 * isearch.el (isearch-forward-symbol-at-point): New command.
10034 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10035 (isearch-highlight-regexp): Add a regexp which matches
10036 words/symbols for word/symbol mode.
10037
10038 * subr.el (find-tag-default-bounds): New function with the body
10039 mostly moved from `find-tag-default'.
10040 (find-tag-default): Move most code to `find-tag-default-bounds',
10041 call it and apply `buffer-substring-no-properties' afterwards.
10042
10043 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10044
10045 * eshell/em-term.el (eshell-term-initialize):
10046 Use `cl-intersection' rather than `intersection'.
10047
10048 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10049
10050 * vc/log-view.el: Doc fix.
10051 (log-view-mode-map): Copy keymap from `special-mode-map'.
10052
10053 2013-06-02 Eric Ludlam <zappo@gnu.org>
10054
10055 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10056 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10057 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10058 (eieio-unbound, eieio-default-superclass)
10059 (eieio--define-field-accessors, method-static, method-before)
10060 (method-primary, method-after, method-num-lists)
10061 (method-generic-before, method-generic-primary)
10062 (method-generic-after, method-num-slots)
10063 (eieio-specialized-key-to-generic-key)
10064 (eieio--check-type, class-v, class-p)
10065 (eieio-class-name, define-obsolete-function-alias)
10066 (eieio-class-parents-fast, eieio-class-children-fast)
10067 (same-class-fast-p, class-constructor, generic-p)
10068 (generic-primary-only-p, generic-primary-only-one-p)
10069 (class-option-assoc, class-option, eieio-object-p)
10070 (class-abstract-p, class-method-invocation-order)
10071 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10072 (eieio-class-un-autoload, eieio-defclass)
10073 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10074 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10075 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10076 (eieio-defgeneric-reset-generic-form)
10077 (eieio-defgeneric-form-primary-only)
10078 (eieio-defgeneric-reset-generic-form-primary-only)
10079 (eieio-defgeneric-form-primary-only-one)
10080 (eieio-defgeneric-reset-generic-form-primary-only-one)
10081 (eieio-unbind-method-implementations)
10082 (eieio--defmethod, eieio--typep)
10083 (eieio-perform-slot-validation, eieio-validate-slot-value)
10084 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10085 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10086 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10087 (eieio-slot-name-index, eieio-class-slot-name-index)
10088 (eieio-set-defaults, eieio-initarg-to-attribute)
10089 (eieio-attribute-to-initarg, eieio-c3-candidate)
10090 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10091 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10092 (eieio-class-precedence-list, eieio-generic-call-methodname)
10093 (eieio-generic-call-arglst, eieio-generic-call-key)
10094 (eieio-generic-call-next-method-list)
10095 (eieio-pre-method-execution-functions, eieio-generic-call)
10096 (eieio-generic-call-primary-only, eieiomt-method-list)
10097 (eieiomt-optimizing-obarray, eieiomt-install)
10098 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10099 (eieio-generic-form, eieio-defmethod, make-obsolete)
10100 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10101 (defclass): Remove `eval-and-compile' from macro.
10102 (call-next-method, shared-initialize): Instead of using
10103 `scoped-class' variable, use new eieio--scoped-class, and
10104 eieio--with-scoped-class.
10105 (initialize-instance): Rename local variable 'scoped-class' to
10106 'this-class' to remove ambiguitity from old global.
10107
10108 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10109 eieio.el.
10110 (eieio--scoped-class-stack): New variable.
10111 (eieio--scoped-class): New fcn.
10112 (eieio--with-scoped-class): New scoping macro.
10113 (eieio-defclass): Use pushnew instead of add-to-list.
10114 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10115 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10116 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10117 `scoped-class' variable, use new eieio--scoped-class, and
10118 eieio--with-scoped-class.
10119
10120 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10121
10122 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10123
10124 * eshell/esh-ext.el (eshell-external-command): Pass args to
10125 `eshell-find-interpreter'.
10126 (eshell-find-interpreter): Add new second parameter ARGS.
10127
10128 * eshell/em-script.el (eshell-script-initialize): Add second arg
10129 to the function added as MATCH to `eshell-interpreter-alist'.
10130
10131 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10132 the function added as MATCH to `eshell-interpreter-alist'.
10133
10134 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10135 (eshell-visual-options): New defcustom.
10136 (eshell-escape-control-x): Adapt docstring.
10137 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10138 `eshell-visual-options' in addition to `eshell-visual-commands'.
10139 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10140
10141 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10142
10143 * progmodes/python.el (python-indent-block-enders): Add break,
10144 continue and raise keywords.
10145
10146 2013-06-01 Glenn Morris <rgm@gnu.org>
10147
10148 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10149
10150 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10151 * progmodes/cc-cmds.el (delete-forward-p):
10152 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10153 * progmodes/cc-engine.el (buffer-syntactic-context):
10154 * progmodes/cc-fonts.el (face-property-instance):
10155 * progmodes/cc-mode.el (set-keymap-parents):
10156 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10157 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10158 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10159 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10160 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10161
10162 * progmodes/cc-vars.el (other): Emacs has this widget since
10163 at least 21.1, so don't (re)define it.
10164
10165 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10166 Replace the obsolete alias pcomplete-arg-quote-list.
10167
10168 2013-06-01 Leo Liu <sdl.web@gmail.com>
10169
10170 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10171 punctuation syntax.
10172 (inferior-octave-minimal-columns)
10173 (inferior-octave-last-column-width): New variables.
10174 (inferior-octave-track-window-width-change): New function.
10175 (inferior-octave-mode): Adjust column width so that Octave output,
10176 for example from 'ls', can fit into the window nicely.
10177
10178 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10179
10180 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10181 Highlight expansions inside regexp literals.
10182
10183 2013-05-31 Glenn Morris <rgm@gnu.org>
10184
10185 * obsolete/sym-comp.el (symbol-complete):
10186 Replace obsolete completion-annotate-function.
10187
10188 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10189
10190 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10191
10192 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10193 New function, checks if point is inside a literal that allows
10194 expression expansion.
10195 (ruby-syntax-propertize-expansion): Use it.
10196 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10197 around the body.
10198
10199 2013-05-30 Juri Linkov <juri@jurta.org>
10200
10201 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10202 to "\M-si".
10203 (isearch-invisible): New variable.
10204 (isearch-forward): Doc fix.
10205 (isearch-mode): Set `isearch-invisible'
10206 to the value of `search-invisible'.
10207 (isearch-toggle-case-fold): Doc fix.
10208 (isearch-toggle-invisible): New command.
10209 (isearch-query-replace): Let-bind `search-invisible'
10210 to the value of `isearch-invisible'.
10211 (isearch-search): Use `isearch-invisible' instead of
10212 `search-invisible'. Let-bind `search-invisible'
10213 to the value of `isearch-invisible'. (Bug#11378)
10214
10215 2013-05-30 Juri Linkov <juri@jurta.org>
10216
10217 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10218 call when `query-flag' is nil and `search-invisible' is non-nil.
10219 (Bug#11746)
10220
10221 2013-05-30 Glenn Morris <rgm@gnu.org>
10222
10223 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10224
10225 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10226 (cc-require): Suppress spurious "noruntime" warnings.
10227 (cc-require-when-compile): Use fboundp, for sake of compiler.
10228
10229 * progmodes/cc-mode.el: Move load of cc-vars before that of
10230 cc-langs (which in turn loads cc-vars), to quieten compiler.
10231
10232 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * paren.el: Simplify the code.
10235 (show-paren-mode): Always start the timer.
10236 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10237 (show-paren--overlay, show-paren--overlay-1): Rename from
10238 show-paren-overlay and show-paren-overlay-1, and initialize to an
10239 overlay rather than to nil.
10240 (show-paren-function): Misc cleanup and simplifications.
10241
10242 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * paren.el (show-paren-data-function): New hook.
10245 (show-paren--default): New function, extracted from show-paren-function.
10246 (show-paren-function): Use show-paren-data-function.
10247
10248 2013-05-30 Glenn Morris <rgm@gnu.org>
10249
10250 * ielm.el (ielm-map, ielm-complete-symbol):
10251 Use completion-at-point rather than obsolete functions.
10252 (inferior-emacs-lisp-mode): Doc fix.
10253 Set completion-at-point-functions, rather than
10254 comint-dynamic-complete-functions.
10255
10256 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10257 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10258 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10259
10260 * image.el (image-animated-p): Tweak definition.
10261
10262 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10263 (rlogin-process-connection-type): Tweak default. Add set-after.
10264 (rlogin-host): Doc fix.
10265 (rlogin): Tweak prompt.
10266 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10267
10268 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10269 * progmodes/tcl.el (inferior-tcl-mode-map):
10270 Use completion-at-point rather than obsolete alias.
10271
10272 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10273
10274 * minibuffer.el (read-file-name-completion-ignore-case):
10275 Move before completion--in-region, for eager macro expansion.
10276
10277 2013-05-29 Juri Linkov <juri@jurta.org>
10278
10279 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10280 for total count of matching lines. Add `global-matches' for total
10281 count of matches. Rename `matches' to `lines' for count of
10282 matching lines. Add `matches' for count of matches.
10283 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10284 to `prev-line' for line number of prev match endpt.
10285 Increment `matches' for every match. Print the number of
10286 matching lines in the header.
10287 (occur-context-lines): Rename `lines' to `curr-line'.
10288 Rename `prev-lines' to `prev-line'. (Bug#14017)
10289
10290 2013-05-29 Juri Linkov <juri@jurta.org>
10291
10292 * replace.el (perform-replace): Add `skip-read-only-count',
10293 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10294 Increment them for corresponding conditions and report the number
10295 of skipped occurrences in the final message. (Bug#11746)
10296 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10297 (replace-string, replace-regexp): Doc fix.
10298
10299 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10302
10303 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10304 prog-mode-map (bug#14504).
10305
10306 2013-05-29 Leo Liu <sdl.web@gmail.com>
10307
10308 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10309 (octave-help): Small simplification.
10310
10311 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10312 off the highlight first.
10313
10314 2013-05-29 Glenn Morris <rgm@gnu.org>
10315
10316 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10317 Handle idlwave-last-system-routine-info-cons-cell being nil.
10318
10319 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10320 (idlwave-write-paths): Simplify via with-temp-buffer.
10321
10322 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10323 * emulation/cua-rect.el: Also load cua-base at run time.
10324
10325 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10326 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10327 (cperl-imenu-on-info): Require imenu.
10328
10329 2013-05-28 Alan Mackenzie <acm@muc.de>
10330
10331 Handle "capitalised keywords" correctly.
10332 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10333
10334 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10335
10336 * eshell/em-unix.el: Add -r option to cp.
10337
10338 2013-05-28 Glenn Morris <rgm@gnu.org>
10339
10340 * vc/vc-arch.el (vc-exec-after): Declare.
10341 (vc-switches): Autoload.
10342 * vc/vc-bzr.el: No need to require vc when compiling.
10343 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10344 (vc-resynch-buffer, vc-dir-refresh): Declare.
10345 (vc-setup-buffer, vc-switches): Autoload.
10346 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10347 (vc-resynch-buffer): Declare.
10348 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10349 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10350 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10351 (grep-read-regexp, grep-read-files, grep-expand-template)
10352 (vc-dir-refresh): Declare.
10353 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10354 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10355 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10356 * vc/vc-mtn.el (vc-exec-after): Declare.
10357 (vc-switches): Autoload.
10358 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10359 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10360 (vc-file-tree-walk): Declare.
10361 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10362 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10363 (vc-tag-precondition, vc-rename-master): Autoload.
10364 * vc/vc-svn.el (vc-exec-after): Declare.
10365 (vc-switches, vc-setup-buffer): Autoload.
10366 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10367 Autoload.
10368 (vc-resynch-buffer): Declare.
10369
10370 * obsolete/fast-lock.el (byte-compile-warnings):
10371 Don't warn about obsolete features in this obsolete file.
10372
10373 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10374 Move definition before use.
10375
10376 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10377 (dun-unix-verbs): Remove dun-zippy.
10378 (dun-zippy): Remove function.
10379
10380 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10381
10382 2013-05-27 Juri Linkov <juri@jurta.org>
10383
10384 * replace.el (replace-search): New function with code moved out
10385 from `perform-replace'.
10386 (replace-highlight, replace-dehighlight): Move function definitions
10387 up closer to `replace-search'. (Bug#11746)
10388
10389 2013-05-27 Juri Linkov <juri@jurta.org>
10390
10391 * replace.el (perform-replace): Ignore invisible matches.
10392 In addition to checking `query-replace-skip-read-only', also
10393 filter out matches by calling `run-hook-with-args-until-failure'
10394 on `isearch-filter-predicates', and also check `search-invisible'
10395 for t or call `isearch-range-invisible'.
10396 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10397
10398 2013-05-27 Juri Linkov <juri@jurta.org>
10399
10400 * isearch.el (isearch-filter-predicates): Rename from
10401 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10402 (isearch-message-prefix): Display text from the property
10403 `isearch-message-prefix' of the currently active filters.
10404 (isearch-search): Don't compare `isearch-filter-predicate' with
10405 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10406 on `isearch-filter-predicates'. Also check `search-invisible' for t
10407 or call `isearch-range-invisible'.
10408 (isearch-filter-visible): Make obsolete.
10409 (isearch-lazy-highlight-search):
10410 Call `run-hook-with-args-until-failure' on
10411 `isearch-filter-predicates' and use `isearch-range-invisible'.
10412
10413 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10414 `isearch-filter-predicates' instead of `funcall'ing
10415 `isearch-filter-predicate'.
10416 (Info-mode): Set `Info-isearch-filter' to
10417 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10418
10419 * dired-aux.el (dired-isearch-filter-predicate-orig):
10420 Remove variable.
10421 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10422 (dired-isearch-filenames-end): Add and remove
10423 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10424 instead of changing the value of `isearch-filter-predicate'.
10425 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10426 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10427 Put property `isearch-message-prefix' to "filename " on
10428 `dired-isearch-filter-filenames'.
10429
10430 * wdired.el (wdired-change-to-wdired-mode):
10431 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10432 locally instead of changing `isearch-filter-predicate'.
10433 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10434
10435 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10436
10437 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10438 return the commit hash (Bug#14459). Also set the
10439 `vc-git-detached' property.
10440 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10441 (vc-git-mode-line-string): Use the same help-echo format whether
10442 in detached mode or not, because we know the actual revision now.
10443 When in detached mode, shorten the revision to 7 chars.
10444
10445 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10446
10447 * emacs-lisp/easy-mmode.el (define-minor-mode):
10448 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10449 mode hook and provide a docstring.
10450
10451 2013-05-27 Alan Mackenzie <acm@muc.de>
10452
10453 Remove spurious syntax-table text properties inserted by C-y.
10454 * progmodes/cc-mode.el (c-after-change): Also clear hard
10455 syntax-table property with value nil.
10456
10457 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10458
10459 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10460 when reading the events; the buffer layout shall not be changed.
10461
10462 2013-05-27 Leo Liu <sdl.web@gmail.com>
10463
10464 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10465 New variable.
10466 (inferior-octave-directory-tracker): Automatically re-sync
10467 default-directory.
10468 (octave-help): Improve handling of 'See also'.
10469
10470 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * doc-view.el: Minor naming convention tweaks.
10473 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10474
10475 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10476 even if there's no `display' property yet (bug#14435).
10477
10478 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10479
10480 * subr.el (unmsys--file-name): Rename from reveal-filename.
10481
10482 * Makefile.in (custom-deps, finder-data, autoloads)
10483 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10484 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10485 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10486
10487 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10490 error-completion on the first 2 args of condition-case (bug#14446).
10491 Don't burp at EOB.
10492
10493 2013-05-25 Leo Liu <sdl.web@gmail.com>
10494
10495 * comint.el (comint-previous-matching-input): Do not flood the
10496 *Messages* buffer with trivial messages.
10497
10498 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10499
10500 * progmodes/flymake.el (flymake-nop): Don't return a string.
10501 (flymake-set-at): Fix typo.
10502
10503 * simple.el (read--expression): New function, extracted from
10504 eval-expression. Set completion-at-point-functions (bug#14465).
10505 (eval-expression, eval-minibuffer): Use it.
10506
10507 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10508
10509 * progmodes/flymake.el (flymake-save-buffer-in-file)
10510 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10511 (flymake-selected-frame, flymake-log, flymake-ins-after)
10512 (flymake-set-at, flymake-get-buildfile-from-cache)
10513 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10514 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10515 Refine the doc string.
10516 (flymake-get-file-name-mode-and-masks): Reformat.
10517 (flymake-get-real-file-name-function): Fix a minor bug.
10518
10519 2013-05-24 Juri Linkov <juri@jurta.org>
10520
10521 * progmodes/grep.el (grep-mode-font-lock-keywords):
10522 Support =linenumber= format used by git-grep for lines with
10523 function names. (Bug#13549)
10524
10525 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10526
10527 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10528 0 after a semi-colon; it works better for smie-auto-fill.
10529 (octave--indent-new-comment-line): New function.
10530 (octave-indent-new-comment-line): Use it (indirectly).
10531 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10532 modify comment-line-break-function.
10533
10534 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10535 (smie-setup): Use add-function to set it.
10536
10537 2013-05-24 Sam Steingold <sds@gnu.org>
10538
10539 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10540 argument (before the `interactive' argument).
10541
10542 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * image-mode.el (image-mode-winprops): Add winprops to
10545 image-mode-winprops-alist before running
10546 image-mode-new-window-functions.
10547 * doc-view.el (doc-view-new-window-function): Don't delay
10548 doc-view-goto-page via timers (bug#14435).
10549
10550 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10551
10552 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10553 (doc-view-desktop-save-buffer): New function.
10554 (doc-view-restore-desktop-buffer): New function.
10555 (desktop-buffer-mode-handlers):
10556 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10557 handler.
10558 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10559 `desktop-save-buffer' function.
10560
10561 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10562
10563 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10564 (tramp-gvfs-file-name-handler): Raise a user error when
10565 `tramp-gvfs-enabled' is nil.
10566 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10567 Do not raise a user error when loading package. (Bug#14447)
10568
10569 * net/xesam.el: Move to obsolete/.
10570
10571 2013-05-24 Glenn Morris <rgm@gnu.org>
10572
10573 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10574
10575 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10576
10577 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10578 (Info-find-node, Man-getpage-in-background): Declare.
10579
10580 * mail/unrmail.el (unrmail):
10581 Replace obsolete detect-coding-with-priority.
10582
10583 * net/socks.el (socks-split-string): Use this rather than split-string.
10584 (socks-nslookup-host): Update for above change.
10585 (dynamic-choice, s5-dynamic-choice-match)
10586 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10587 Comment out unused code.
10588
10589 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10590 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10591 (gud-tooltip-echo-area): Make obsolete.
10592 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10593
10594 * progmodes/js.el (js--optimize-arglist): Declare.
10595
10596 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10597
10598 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10599 (ediff-window-C): Declare.
10600
10601 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10602 Tweak requires to silence compiler.
10603
10604 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10605 (he-search-string, he-tried-table, he-expand-list)
10606 (he-init-string, he-string-member, he-substitute-string)
10607 (he-reset-string): Declare.
10608
10609 * obsolete/options.el (list-options): Use custom-variable-p,
10610 rather than obsolete alias.
10611
10612 2013-05-23 Sam Steingold <sds@gnu.org>
10613
10614 * simple.el (shell-command-on-region): Pass the `replace' argument
10615 down to `call-process-region' to comply with the doc as reported on
10616 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10617
10618 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10619
10620 * emacs-lisp/smie.el (smie-indent-forward-token)
10621 (smie-indent-backward-token): Handle string tokens (bug#14381).
10622
10623 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10624
10625 * ielm.el (ielm-menu): New menu.
10626 (inferior-emacs-lisp-mode): Set comment-start.
10627
10628 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10629
10630 * textmodes/reftex.el (reftex-ref-style-toggle):
10631 Fix deactivate action.
10632
10633 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10634 Add cleveref macros.
10635
10636 * textmodes/reftex-parse.el
10637 (reftex-locate-bibliography-files): Accept options for
10638 bibliography commands.
10639 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10640 Add addbibresource. Basic Biblatex support.
10641
10642 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10643
10644 * net/tramp-gvfs.el (top):
10645 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10646 when loading package. (Bug#14447)
10647
10648 2013-05-23 Glenn Morris <rgm@gnu.org>
10649
10650 * progmodes/js.el: No need to load comint when compiling.
10651 (ring-insert, comint-send-string, comint-send-input)
10652 (comint-last-input-end, ido-chop): Declare.
10653
10654 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10655 * vc/ediff-mult.el: Adjust requires.
10656 (ediff-directories-internal, ediff-directory-revisions-internal)
10657 (ediff-patch-file-internal): Declare.
10658 * vc/ediff-ptch.el: Adjust requires.
10659 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10660 (ediff-find-file): Autoload.
10661 * vc/ediff-util.el: No need to load ediff when compiling.
10662 (ediff-regions-internal): Declare.
10663 * vc/ediff-wind.el: Adjust requires.
10664 (ediff-compute-toolbar-width): Define when compiling.
10665 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10666 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10667 (dired-get-filename, dired-get-marked-files)
10668 (ediff-last-dir-patch, ediff-patch-default-directory)
10669 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10670 (ediff-patch-buffer-internal): Declare.
10671
10672 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10673 (ispell-process, ispell-buffer-local-words, lm-summary)
10674 (lm-section-start, lm-section-end): Declare.
10675 (checkdoc-ispell-init): Simplify.
10676
10677 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10678 (he-string-member, he-reset-string, he-substitute-string): Declare.
10679
10680 * eshell/em-ls.el: Adjust requires.
10681 (eshell-glob-regexp): Declare.
10682 * eshell/em-tramp.el: Adjust requires.
10683 (eshell-parse-command): Autoload.
10684 * eshell/em-xtra.el: Adjust requires.
10685 (eshell-parse-command): Autoload.
10686 * eshell/esh-ext.el: Adjust requires.
10687 (eshell-parse-command, eshell-close-handles): Autoload.
10688 * eshell/esh-io.el: Adjust requires.
10689 (eshell-output-filter): Autoload.
10690 * eshell/esh-util.el: No need to load tramp when compiling.
10691 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10692 Declare.
10693 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10694 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10695 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10696 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10697 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10698 * eshell/esh-opt.el, eshell/esh-proc.el:
10699 * eshell/esh-var.el: Adjust requires.
10700 * eshell/eshell.el: Do not require esh-util twice.
10701 (eshell-add-input-to-history): Declare.
10702 (eshell-command): Check history module is active before using it.
10703
10704 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10705
10706 2013-05-22 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10709
10710 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10711
10712 * autorevert.el (auto-revert-notify-add-watch)
10713 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10714 it indicates changes in file modification time.
10715
10716 2013-05-22 Glenn Morris <rgm@gnu.org>
10717
10718 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10719 Always delete the autoloaded function from the noruntime and
10720 unresolved functions lists.
10721
10722 * allout.el: No need to load epa, epg, overlay when compiling.
10723 (epg-context-set-passphrase-callback, epg-list-keys)
10724 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10725 (epg-key-user-id-list): Declare.
10726
10727 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10728 (viper-set-parsing-style-toggling-macro)
10729 (viper-set-emacs-state-searchstyle-macros):
10730 Use called-interactively-p on Emacs.
10731 (viper-looking-back): Make it an obsolete alias. Update callers.
10732 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10733 Use looking-back rather than viper-looking-back.
10734 (viper-tmp-insert-at-eob, viper-enlarge-region)
10735 (viper-read-string-with-history, viper-register-to-point)
10736 (viper-append-to-register, viper-change-state-to-vi)
10737 (viper-backward-char-carefully, viper-forward-char-carefully)
10738 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10739 (viper-change-state-to-emacs): Declare.
10740 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10741 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10742 * emulation/viper-mous.el: Do not load viper-cmd.
10743 (viper-backward-char-carefully, viper-forward-char-carefully)
10744 (viper-forward-word, viper-adjust-window): Declare.
10745
10746 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10747
10748 * progmodes/idlw-help.el (idlwave-help-fontify):
10749 Use called-interactively-p.
10750
10751 * term/w32console.el (w32-get-console-codepage)
10752 (w32-get-console-output-codepage): Declare.
10753
10754 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10755 Remove unnecessary declarations.
10756 (dframe-message): Doc fix.
10757
10758 * info.el (dframe-select-attached-frame, dframe-current-frame):
10759 Declare.
10760
10761 * speedbar.el (speedbar-message): Make it an obsolete alias.
10762 Update all callers.
10763 (speedbar-with-attached-buffer)
10764 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10765 (speedbar-with-writable): Use backquote.
10766 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10767 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10768 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10769 rather than speedbar- aliases.
10770 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10771 (speedbar-make-specialized-keymap, speedbar-insert-button)
10772 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10773 (speedbar-do-function-pointer): Declare.
10774 (rmail-speedbar-button, rmail-speedbar-find-file)
10775 (rmail-speedbar-move-message):
10776 Use dframe-with-attached-buffer rather than speedbar- alias.
10777 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10778 (dframe-message, speedbar-make-specialized-keymap)
10779 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10780 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10781 (speedbar-insert-button, dframe-select-attached-frame)
10782 (dframe-maybee-jump-to-attached-frame)
10783 (speedbar-change-initial-expansion-list)
10784 (speedbar-previously-used-expansion-list-name): Declare.
10785 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10786 Use dframe-message, dframe-with-attached-buffer rather than
10787 speedbar- aliases.
10788 (gud-sentinel): Silence compiler.
10789 * progmodes/vhdl-mode.el (speedbar-refresh)
10790 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10791 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10792 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10793 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10794 (speedbar-file-lists, speedbar-make-tag-line)
10795 (speedbar-line-directory, speedbar-goto-this-file)
10796 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10797 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10798 (speedbar-make-button, speedbar-reset-scanners)
10799 (speedbar-files-item-info, speedbar-line-text)
10800 (speedbar-find-file-in-frame, speedbar-set-timer)
10801 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10802 (speedbar-with-writable): Do not (re)define it.
10803 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10804 rather than speedbar- alias.
10805
10806 2013-05-21 Leo Liu <sdl.web@gmail.com>
10807
10808 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10809 menu items.
10810 (octave-mode): Tweak fill-nobreak-predicate.
10811 (inferior-octave-startup): Check process to avoid infinite loop.
10812 (inferior-octave): Pop to buffer first to show abornmal process
10813 exit information.
10814
10815 2013-05-21 Glenn Morris <rgm@gnu.org>
10816
10817 * printing.el (pr-menu-bar): Define when compiling.
10818
10819 2013-05-21 Leo Liu <sdl.web@gmail.com>
10820
10821 * progmodes/octave.el (octave-auto-fill): Remove.
10822 (octave-indent-new-comment-line): Improve.
10823 (octave-mode): Use auto fill mode through
10824 comment-line-break-function and fill-nobreak-predicate.
10825 (octave-goto-function-definition): Support DEFUN_DLD.
10826 (octave-beginning-of-defun): Small tweak.
10827 (octave-help): Show parent directory.
10828
10829 2013-05-21 Glenn Morris <rgm@gnu.org>
10830
10831 * files.el (dired-unmark):
10832 * progmodes/gud.el (gdb-input): Update declarations.
10833
10834 * calculator.el (electric, ehelp): No need to load when compiling.
10835 (Electric-command-loop, electric-describe-mode): Declare.
10836
10837 * doc-view.el (doc-view-current-converter-processes): Move before use.
10838
10839 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10840 Move MODE-set-explicitly definition before use.
10841
10842 * international/mule-diag.el (mule-diag):
10843 Don't use obsolete window-system-version.
10844
10845 * mail/feedmail.el (smtpmail): No need to load when compiling.
10846 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10847
10848 * mail/mail-utils.el (rfc822): No need to load when compiling.
10849 (rfc822-addresses): Autoload it.
10850 (mail-strip-quoted-names): Trivial simplification.
10851
10852 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10853 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10854
10855 * net/snmp-mode.el (tempo): Don't duplicate requires.
10856
10857 * progmodes/prolog.el (info): No need to load when compiling.
10858 (comint): Require before shell requires it.
10859 (Info-goto-node): Autoload it.
10860 (Info-follow-nearest-node): Declare.
10861 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10862
10863 * textmodes/artist.el (picture-mode-exit): Declare.
10864
10865 * textmodes/reftex-parse.el (reftex-parse-from-file):
10866 Trivial rewrite so the compiler can parse it better.
10867
10868 2013-05-20 Leo Liu <sdl.web@gmail.com>
10869
10870 * progmodes/octave.el (octave-help-mode-map)
10871 (octave-help-mode-finish-hook): New variables.
10872 (octave-help-mode, octave-help-mode-finish): New functions.
10873 (octave-help): Use octave-help-mode.
10874
10875 2013-05-20 Glenn Morris <rgm@gnu.org>
10876
10877 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10878
10879 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10880
10881 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10882 start at point, so that expansion starting right after opening
10883 slash in a regexp is recognized.
10884 (ruby-syntax-before-regexp-re): New defvar, extracted from
10885 ruby-syntax-propertize-function. Since the value of this regexp
10886 is looked up at runtime now, we should be able to turn
10887 `ruby-syntax-methods-before-regexp' into a defcustom later.
10888 (ruby-syntax-propertize-function): Split regexp matching into two
10889 parts, for opening and closing slashes. That allows us to skip
10890 over string interpolations and support multiline regexps.
10891 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10892 for them, which calls `ruby-syntax-propertize-expansion'.
10893 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10894 call to `ruby-syntax-propertize-function'.
10895 (ruby-syntax-propertize-expansion): Extracted from
10896 `ruby-syntax-propertize-expansions'. Handles one expansion.
10897 (ruby-syntax-propertize-percent-literal): Leave point right after
10898 the percent symbol, so that the expression expansion rule can
10899 propertize the contents.
10900 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10901 heredoc openers.
10902 (ruby-syntax-propertize-expansions): Remove.
10903
10904 2013-05-18 Juri Linkov <juri@jurta.org>
10905
10906 * man.el (Man-default-man-entry): Remove `-' from the end
10907 of the default value. (Bug#14400)
10908
10909 2013-05-18 Glenn Morris <rgm@gnu.org>
10910
10911 * comint.el (comint-password-prompt-regexp):
10912 Allow "password for XXX" where XXX contains colons (eg https://...).
10913
10914 2013-05-18 Leo Liu <sdl.web@gmail.com>
10915
10916 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10917 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10918 (octave-source-directories): Don't check process.
10919 (octave-source-directories, octave-find-definition): Doc fix.
10920
10921 2013-05-18 Glenn Morris <rgm@gnu.org>
10922
10923 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10924 Remove backspace/delete bindings. (Bug#14392)
10925
10926 * cus-dep.el (custom-make-dependencies): Sort the output.
10927 (custom-versions-load-alist): Convert comment to doc.
10928
10929 2013-05-17 Leo Liu <sdl.web@gmail.com>
10930
10931 * newcomment.el (comment-search-backward): Stricter in finding
10932 comment start. (Bug#14303)
10933
10934 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10935 (octave-comment-start-skip): Properly anchored.
10936
10937 2013-05-17 Leo Liu <sdl.web@gmail.com>
10938
10939 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10940 Clean up when turned off. (Bug#14395)
10941 (smie--highlight-matching-block-overlay): No longer buffer-local.
10942 (smie-highlight-matching-block): Adjust.
10943
10944 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10945
10946 Doc string fix for "nanoseconds" (Bug#14406).
10947 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10948 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10949
10950 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10951
10952 * calc/calc-units.el (math-extract-units): Preserve powers
10953 of units.
10954
10955 2013-05-17 Leo Liu <sdl.web@gmail.com>
10956
10957 * subr.el (delete-consecutive-dups): New function.
10958 * ido.el (ido-set-matches-1): Use it.
10959 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10960 * ido.el (ido-remove-consecutive-dups): Remove.
10961
10962 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10963
10964 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10965 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10966 regexp-opt's `words'.
10967
10968 2013-05-16 Leo Liu <sdl.web@gmail.com>
10969
10970 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10971 (smie--highlight-matching-block-overlay)
10972 (smie--highlight-matching-block-lastpos)
10973 (smie--highlight-matching-block-timer): New variables.
10974 (smie-highlight-matching-block): New function.
10975 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10976 (smie-setup): Conditionally enable smie-blink-matching-open.
10977
10978 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10979
10980 Sync with upstream verilog-mode r840.
10981 * progmodes/verilog-mode.el (verilog-mode-version)
10982 (verilog-mode-release-date): Update.
10983 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10984 (verilog-sig-tieoff): Fix string error on
10985 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10986 (verilog-read-decls): Fix parameters confusing
10987 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10988
10989 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10990
10991 * subr.el (reveal-filename): New function.
10992
10993 * loadup.el: Compute Emacs executable versions on MS-Windows,
10994 where executables have the .exe extension. Add a hard link
10995 emacs-XX.YY.ZZ.exe on MS-Windows.
10996
10997 * Makefile.in (XARGS_LIMIT): New variable.
10998 (custom-deps, finder-data, autoloads)
10999 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11000 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11001 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11002 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11003
11004 2013-05-16 Leo Liu <sdl.web@gmail.com>
11005
11006 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11007 (octave-mode-menu, octave-mode-map): Remove its uses.
11008
11009 2013-05-16 Reto Zimmermann <reto@gnu.org>
11010
11011 Sync with upstream vhdl mode v3.34.2.
11012 * progmodes/vhdl-mode.el: Use `push' throughout.
11013 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11014 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11015 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11016 (vhdl-actual-generic-name): New option to derive actual generic name.
11017 (vhdl-port-paste-signals): Replace formal by actual generics.
11018 (vhdl-beautify): New name for old group vhdl-align. Update users.
11019 (vhdl-beautify-options): New option.
11020 (vhdl-last-input-event): New compat alias. Use throughout.
11021 (vhdl-goto-line): Replace user level function `goto-line'.
11022 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11023 vhdl-fix-statement-buffer.
11024 (vhdl-create-mode-menu): Add some entries.
11025 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11026 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11027 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11028 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11029 to force statements on one line.
11030 (vhdl-remove-trailing-spaces-region):
11031 New, split from vhdl-remove-trailing-spaces.
11032 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11033 Respect vhdl-beautify-options.
11034 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11035 (vhdl-update-sensitivity-list): Not add with index if exists without.
11036 Not include array index with signal. Ignore keywords in comments.
11037 (vhdl-get-visible-signals): Regexp tweaks.
11038 (vhdl-template-component-inst): Handle empty library.
11039 (vhdl-template-type): Add template for 'enum' type.
11040 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11041 Use vhdl-replace-string.
11042 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11043 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11044 (vhdl-speedbar-initialize): Update for above name change.
11045 (vhdl-compose-wire-components): Fix in handling of constants.
11046 (vhdl-error-regexp-emacs-alist): New variable.
11047 (vhdl-error-regexp-add-emacs): New function;
11048 adds support for new compile.el (Emacs 22+)
11049 (vhdl-generate-makefile-1): Change target order for single lib. units.
11050 Allow use of absolute file names.
11051
11052 2013-05-16 Leo Liu <sdl.web@gmail.com>
11053
11054 * simple.el (prog-indent-sexp): Indent enclosing defun.
11055
11056 2013-05-15 Glenn Morris <rgm@gnu.org>
11057
11058 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11059 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11060 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11061 (whitespace-highlight): Move to whitespace group.
11062
11063 * comint.el (comint-source):
11064 * pcmpl-linux.el (pcmpl-linux):
11065 * shell.el (shell-faces):
11066 * eshell/esh-opt.el (eshell-opt):
11067 * international/ccl.el (ccl): Remove empty custom groups.
11068
11069 * completion.el (dynamic-completion-mode):
11070 * jit-lock.el (jit-lock-debug-mode):
11071 * minibuffer.el (completion-in-region-mode):
11072 * type-break.el (type-break-mode-line-message-mode)
11073 (type-break-query-mode):
11074 * emulation/tpu-edt.el (tpu-edt-mode):
11075 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11076 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11077 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11078
11079 * term/xterm.el (xterm): Change parent group to terminals.
11080
11081 * master.el (master): Remove empty custom group.
11082 (master-mode): Remove unused :group argument.
11083 * textmodes/refill.el (refill): Remove empty custom group.
11084 (refill-mode): Remove unused :group argument.
11085
11086 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11087
11088 * cus-dep.el: Provide a feature.
11089 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11090 Don't mistakenly ignore files whose basenames match a basename
11091 from preloaded-file-list (eg cedet/ede/simple.el).
11092 Add a fallback method for getting :group.
11093
11094 2013-05-15 Juri Linkov <juri@jurta.org>
11095
11096 * isearch.el (isearch-char-by-name): Rename from
11097 `isearch-insert-char-by-name'. Doc fix.
11098 (isearch-forward): Mention `isearch-char-by-name' in
11099 the docstring. (Bug#13348)
11100
11101 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11102 `exit-minibuffer' instead of
11103 `isearch-nonincremental-exit-minibuffer'.
11104 (isearch-edit-string): Remove mention of
11105 `isearch-nonincremental-exit-minibuffer' from docstring.
11106 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11107 (isearch-forward-exit-minibuffer)
11108 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11109
11110 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * loadup.el: Just use unversioned DOC.
11113
11114 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11115 literals as extending to EOB.
11116 (nxml-last-fontify-end): Remove unused variable.
11117 (nxml-after-change1): Use with-silent-modifications.
11118 (nxml-extend-after-change-region): Simplify.
11119 (nxml-extend-after-change-region1): Remove function.
11120 (nxml-after-change1): Don't adjust for dependent regions.
11121 (nxml-fontify-matcher): Simplify.
11122 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11123 (xmltok-add-dependent): Remove function.
11124 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11125 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11126 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11127 unclosed <[[, <?, comment, and other literals as extending to EOB.
11128 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11129 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11130 Remove functions.
11131 (rng-do-some-validation-1): Don't mark dependent regions.
11132 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11133 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11134 (nxml-clear-dependent-regions): Remove functions.
11135 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11136 (nxml-ensure-scan-up-to-date):
11137 Don't clear&mark dependent regions.
11138
11139 2013-05-15 Leo Liu <sdl.web@gmail.com>
11140
11141 * progmodes/octave.el (octave-goto-function-definition):
11142 Improve and fix callers.
11143
11144 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11147 the setter (bug#14387).
11148
11149 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11150 surrounding group (bug#14402).
11151
11152 2013-05-14 Juri Linkov <juri@jurta.org>
11153
11154 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11155 (Bug#14390)
11156
11157 2013-05-14 Glenn Morris <rgm@gnu.org>
11158
11159 * progmodes/f90.el (f90-imenu-generic-expression):
11160 Fix typo in 2013-05-08 change. (Bug#14402)
11161
11162 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11163
11164 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11165 Remove signals for which replies are never received.
11166
11167 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11168
11169 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11170 (gdb-handler-alist, gdb-handler-number): Remove variables.
11171 (gdb-handler-list): New variable.
11172 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11173 (gdb-pending-handler-p, gdb-handle-reply)
11174 (gdb-remove-all-pending-triggers): New functions.
11175 (gdb-discard-unordered-replies): New defcustom.
11176 (gdb-handler): New defstruct.
11177 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11178 instead of gdb-pending-triggers. Update docstring.
11179 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11180 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11181 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11182 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11183 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11184 (gdb-frame-handler): Pending triggers are now automatically managed.
11185 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11186 Remove argument.
11187 (gdb-input): Automatically handles pending triggers. Update docstring.
11188 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11189 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11190 Update comments.
11191 (gdb-done-or-error): Now use gdb-handle-reply.
11192
11193 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11194
11195 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11196 gdb-debug-log.
11197
11198 2013-05-14 Glenn Morris <rgm@gnu.org>
11199
11200 * subr.el (user-emacs-directory-warning): New option.
11201 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11202
11203 2013-05-14 Leo Liu <sdl.web@gmail.com>
11204
11205 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11206 during redisplay.
11207 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11208 (octave-font-lock-texinfo-comment): Fix invalid search bound
11209 error: wrong side of point.
11210
11211 2013-05-14 Glenn Morris <rgm@gnu.org>
11212
11213 * progmodes/flymake.el (flymake-xml-program): New option.
11214 (flymake-xml-init): Use it.
11215
11216 * term/xterm.el: Provide a feature.
11217
11218 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11219
11220 2013-05-13 Glenn Morris <rgm@gnu.org>
11221
11222 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11223 Add compat aliases as a hack workaround. (Bug#14384)
11224
11225 2013-05-13 Leo Liu <sdl.web@gmail.com>
11226
11227 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11228 ###, and %!.
11229 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11230 C-M-q.
11231 (octave-comment-start-skip): Include %!.
11232 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11233
11234 2013-05-12 Leo Liu <sdl.web@gmail.com>
11235
11236 * progmodes/octave.el (inferior-octave-startup): Store the value
11237 of __octave_srcdir__ for octave-source-directories.
11238 (inferior-octave-check-process): New function refactored out of
11239 inferior-octave-send-list-and-digest.
11240 (octave-source-directories)
11241 (octave-find-definition-filename-function): New variables.
11242 (octave-source-directories)
11243 (octave-find-definition-default-filename): New functions.
11244 (octave-find-definition): Improve to find functions implemented in C++.
11245
11246 2013-05-12 Glenn Morris <rgm@gnu.org>
11247
11248 * calendar/diary-lib.el (diary-outlook-format-1):
11249 Don't include dayname in the output. (Bug#14349)
11250
11251 2013-05-11 Glenn Morris <rgm@gnu.org>
11252
11253 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11254
11255 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11256 Treat cc-provide like provide.
11257
11258 2013-05-11 Kevin Ryde <user42@zip.com.au>
11259
11260 * cus-dep.el (custom-make-dependencies):
11261 Use generated-autoload-load-name for the sake of files such
11262 such cedet/semantic/bovine/c.el, where the base file name
11263 is not in load-path. (Bug#5277)
11264
11265 2013-05-11 Glenn Morris <rgm@gnu.org>
11266
11267 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11268 Provide features.
11269
11270 2013-05-11 Leo Liu <sdl.web@gmail.com>
11271
11272 * progmodes/octave.el (octave-indent-comment): Improve.
11273 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11274 (octave-eldoc-function-signatures, octave-eldoc-function):
11275 New functions.
11276 (octave-mode, inferior-octave-mode): Add eldoc support.
11277
11278 2013-05-11 Richard Stallman <rms@gnu.org>
11279
11280 * epa.el (epa-decrypt-file): Take output file name as argument
11281 and read it using `interactive'.
11282
11283 2013-05-11 Leo Liu <sdl.web@gmail.com>
11284
11285 * progmodes/octave.el (octave-beginning-of-line)
11286 (octave-end-of-line): Check before using up-list because it jumps
11287 out of more syntactic contructs since moving to smie.
11288 (octave-indent-comment): New function.
11289 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11290 (octave-begin-keywords, octave-end-keywords)
11291 (octave-reserved-words, octave-smie-bnf-table)
11292 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11293
11294 2013-05-11 Glenn Morris <rgm@gnu.org>
11295
11296 * faces.el (internal-face-x-get-resource):
11297 * frame.el (ns-display-monitor-attributes-list):
11298 * calc/calc-aent.el (math-to-radians-2):
11299 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11300 Fix declarations.
11301
11302 * calc/calc-menu.el: Make it loadable in isolation.
11303
11304 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11305 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11306 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11307 (eudc-bbdb-query-internal): Require 'bbdb.
11308
11309 * lpr.el (lpr-headers-switches):
11310 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11311
11312 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11313
11314 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11315
11316 * term.el (term-set-escape-char): Make it idempotent.
11317
11318 2013-05-10 Leo Liu <sdl.web@gmail.com>
11319
11320 * progmodes/octave.el (inferior-octave-completion-table):
11321 No longer a function and all uses changed. Use cache to speed up
11322 completion due to bug#11906.
11323 (octave-beginning-of-defun): Re-write to be more general.
11324
11325 2013-05-10 Glenn Morris <rgm@gnu.org>
11326
11327 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11328
11329 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * comint.el (comint-redirect-send-command-to-process): Use :around
11332 rather than :override for comint-redirect-filter.
11333 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11334 Call it instead of comint-redirect-original-filter-function (which
11335 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11336
11337 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11338
11339 * frame.el (display-monitor-attributes-list): Add NS case.
11340 (ns-display-monitor-attributes-list): Declare.
11341
11342 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11343
11344 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11345
11346 2013-05-09 Glenn Morris <rgm@gnu.org>
11347
11348 * international/fontset.el (vertical-centering-font-regexp):
11349 Set standard-value.
11350
11351 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11352
11353 * bookmark.el (bookmark-search-delay):
11354 * cus-start.el (vertical-centering-font-regexp):
11355 * ps-mule.el (ps-mule-font-info-database-default):
11356 * ps-print.el (ps-default-fg, ps-default-bg):
11357 * type-break.el (type-break-good-break-interval):
11358 * whitespace.el (whitespace-indentation-regexp)
11359 (whitespace-space-after-tab-regexp):
11360 * emacs-lisp/testcover.el (testcover-1value-functions)
11361 (testcover-noreturn-functions, testcover-progn-functions)
11362 (testcover-prog1-functions):
11363 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11364 * eshell/em-glob.el (eshell-glob-translate-alist):
11365 * play/tetris.el (tetris-tty-colors):
11366 * progmodes/cpp.el (cpp-face-default-list):
11367 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11368 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11369 (idlwave-help-browser-generic-args):
11370 * progmodes/make-mode.el (makefile-special-targets-list):
11371 * progmodes/python.el (python-shell-virtualenv-path):
11372 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11373 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11374 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11375 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11376 * textmodes/reftex-vars.el (reftex-format-label-function):
11377 * textmodes/remember.el (remember-diary-file): Fix custom types.
11378
11379 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11380 Add :version.
11381
11382 2013-05-09 Leo Liu <sdl.web@gmail.com>
11383
11384 * progmodes/octave.el (inferior-octave-completion-at-point):
11385 Restore file completion. (Bug#14300)
11386 (inferior-octave-startup): Fix incorrect highlighting for the
11387 first prompt.
11388
11389 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * progmodes/ruby-mode.el: First cut at SMIE support.
11392 (ruby-use-smie): New var.
11393 (ruby-smie-grammar): New constant.
11394 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11395 (ruby-smie--forward-token, ruby-smie--backward-token)
11396 (ruby-smie-rules): New functions.
11397 (ruby-mode-variables): Setup SMIE if applicable.
11398
11399 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11400
11401 * simple.el (line-move-visual): Signal beginning/end of buffer
11402 only if vertical-motion moved less than it was requested. Avoids
11403 silly incorrect error messages when there are display strings with
11404 multiple newlines at EOL.
11405
11406 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11409 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11410 (prolog-char-quote-workaround):
11411 * progmodes/cperl-mode.el (cperl-under-as-char):
11412 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11413 Mark as obsolete.
11414 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11415 their declaration.
11416 (vhdl-mode-syntax-table-init): Remove.
11417
11418 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11419 last change.
11420
11421 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11422 syntax for "_".
11423 (ld-script-font-lock-keywords):
11424 Change regexps to use things like \_< and \_>.
11425
11426 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11427 Change all regexps to use things like \_< and \_>.
11428
11429 * progmodes/autoconf.el (autoconf-definition-regexp)
11430 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11431 Handle a _ with symbol syntax.
11432 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11433
11434 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11435 Consolidate declaration.
11436 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11437 the declaration.
11438 (ada-create-syntax-table): Remove.
11439 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11440 already has the right syntax nowadays.
11441 (ada-goto-next-word): Don't change the syntax of "_".
11442
11443 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11444 with-wrapper-hook.
11445
11446 2013-05-08 Sam Steingold <sds@gnu.org>
11447
11448 * thingatpt.el (thing-at-point): Accept optional second argument
11449 NO-PROPERTIES to strip the text properties from the return value.
11450 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11451 to `thing-at-point' instead of stripping the properties ourselves.
11452 Also, when `thing-at-point' fails to find a url, prepend "http://"
11453 to the filename at point on the assumption that the user is
11454 pointing at something like gnu.org/gnu.
11455
11456 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11457
11458 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11459 * faces.el (crm-separator):
11460 Silence byte-compiler.
11461
11462 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11463 (tool-bar-map): Remove unneeded defvars.
11464
11465 2013-05-08 Leo Liu <sdl.web@gmail.com>
11466
11467 Re-work a fix for bug#10994 based on Le Wang's patch.
11468 * ido.el (ido-remove-consecutive-dups): New helper.
11469 (ido-completing-read): Use it.
11470 (ido-chop): Revert fix for bug#10994.
11471
11472 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11473
11474 * cus-edit.el (custom-save-variables):
11475 Pretty-print long values. (Bug#14187)
11476
11477 2013-05-08 Glenn Morris <rgm@gnu.org>
11478
11479 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11480 (m4-mode-syntax-table): Init in the defvar.
11481 (m4-mode-abbrev-table): Let define-derived-mode define it.
11482
11483 2013-05-08 Tom Tromey <tromey@redhat.com>
11484
11485 * progmodes/m4-mode.el (m4-mode-syntax-table):
11486 Do not treat "_" as word constituent. (Bug#14167)
11487
11488 2013-05-07 Glenn Morris <rgm@gnu.org>
11489
11490 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11491 Remove explicit eshell-isearch-cancel-map.
11492
11493 * progmodes/f90.el (f90-smart-end-names): New option.
11494 (f90-smart-end): Doc fix.
11495 (f90-end-block-optional-name): New constant.
11496 (f90-block-match): Respect f90-smart-end-names.
11497
11498 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11501 about implicit semi-colons (bug#14218).
11502
11503 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11504
11505 * frame.el (display-monitor-attributes-list)
11506 (frame-monitor-attributes): New functions.
11507
11508 2013-05-06 Leo Liu <sdl.web@gmail.com>
11509
11510 * progmodes/octave.el (octave-syntax-propertize-function): Change
11511 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11512 (octave-font-lock-keywords): Use octave-operator-regexp.
11513 (octave-completion-at-point): Rename from
11514 octave-completion-at-point-function.
11515 (inferior-octave-directory-tracker): Robustify.
11516 (octave-text-functions): Remove and fix its uses. No such things
11517 any more.
11518
11519 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 * emacs-lisp/trace.el (trace--display-buffer): New function.
11522 (trace-make-advice): Use it.
11523
11524 2013-05-06 Juri Linkov <juri@jurta.org>
11525
11526 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11527 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11528 Doc fix.
11529 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11530 in the help string. (Bug#12985)
11531
11532 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11533
11534 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11535
11536 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11537
11538 * progmodes/perl-mode.el: Add support for here documents.
11539 (perl-syntax-propertize-function): Match here-doc markers.
11540 (perl-syntax-propertize-special-constructs): Find their end.
11541 (perl-imenu-generic-expression): Use [:alnum:].
11542
11543 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11544 (advice--add-function): Refresh the advice if already present
11545 (bug#14317).
11546
11547 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11548
11549 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11550
11551 2013-05-06 Glenn Morris <rgm@gnu.org>
11552
11553 * w32-fns.el (w32-charset-info-alist): Declare.
11554
11555 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11556 of its defcustom properties.
11557 (eshell-cmpl-initialize): No need to load pcomplete.
11558
11559 * generic-x.el: No need to require comint when compiling.
11560
11561 * net/eudc-export.el: Make it loadable without bbdb.
11562 (top-level): Use require rather than load-library.
11563 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11564 (eudc-batch-export-records-to-bbdb)
11565 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11566 Require bbdb.
11567
11568 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11571 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11572 some tweaks, instead.
11573
11574 2013-05-05 Leo Liu <sdl.web@gmail.com>
11575
11576 * progmodes/octave.el (octave-font-lock-keywords)
11577 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11578 (inferior-octave-send-list-and-digest): Improve error message.
11579 (octave-mode, inferior-octave-mode): Use setq-local.
11580 (octave-help): Set info-lookup-mode.
11581
11582 2013-05-05 Richard Stallman <rms@gnu.org>
11583
11584 * vc/compare-w.el (compare-windows-whitespace):
11585 Treat no-break space as whitespace.
11586
11587 * mail/rmailsum.el (rmail-summary-rmail-update):
11588 Detect empty summary and don't change selected message.
11589 (rmail-summary-goto-msg): Likewise.
11590
11591 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11592 Doc fixes, rename args.
11593
11594 2013-05-05 Alan Mackenzie <acm@muc.de>
11595
11596 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11597
11598 2013-05-05 Juri Linkov <juri@jurta.org>
11599
11600 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11601 to not add the length of the summary segment to the return value.
11602 (Bug#14125)
11603
11604 2013-05-05 Leo Liu <sdl.web@gmail.com>
11605
11606 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11607 (inferior-octave-output-filter): Remove.
11608 (octave-send-region, inferior-octave-startup): Fix callers.
11609 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11610 (octave-binary-file-extensions): New user variable.
11611 (octave-find-definition): Confirm if opening binary files.
11612 (octave-help-file): Use octave-find-definition to get the binary
11613 confirmation.
11614 (octave-help): Adjust for octave-help-file change.
11615
11616 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11617
11618 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11619 Merge the two entries that handle function definitions.
11620 (pascal--syntax-propertize): New const.
11621 (pascal-mode): Use it. Use setq-local.
11622
11623 2013-05-04 Glenn Morris <rgm@gnu.org>
11624
11625 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11626 (diary-from-outlook): Respect diary-from-outlook-function.
11627
11628 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11631 Move the declaration from C.
11632 (read-minibuffer, eval-minibuffer): Move from C.
11633 (completion-setup-function): Avoid minibuffer-completion-contents.
11634
11635 2013-05-03 Leo Liu <sdl.web@gmail.com>
11636
11637 * progmodes/octave.el (octave-font-lock-keywords): Do not
11638 dehighlight 'end' in comments or strings.
11639 (octave-completing-read, octave-goto-function-definition):
11640 New helpers.
11641 (octave-help-buffer): New user variable.
11642 (octave-help-file, octave-help-function): New button types.
11643 (octave-help): New command and bind it to C-h ;.
11644 (octave-find-definition): New command and bind it to M-.
11645 (user-error): Alias to error if not defined.
11646
11647 2013-05-02 Leo Liu <sdl.web@gmail.com>
11648
11649 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11650 for \. (bug#14332)
11651 (octave-font-lock-keywords): Include [ and {.
11652
11653 2013-05-02 Leo Liu <sdl.web@gmail.com>
11654
11655 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11656 (inferior-octave): Remove calling comint-mode and return the buffer.
11657 (inferior-octave-startup): Cosmetic changes.
11658
11659 2013-05-02 Leo Liu <sdl.web@gmail.com>
11660
11661 * progmodes/octave.el (octave-syntax-propertize-function):
11662 Include the case when ' is at line beginning. (Bug#14336)
11663
11664 2013-05-02 Glenn Morris <rgm@gnu.org>
11665
11666 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11667 * desktop.el (vc-dir-mode): Just autoload it here.
11668
11669 2013-05-02 Alan Mackenzie <acm@muc.de>
11670
11671 Eliminate variable c-standard-font-lock-fontify-region-function.
11672 * progmodes/cc-mode.el
11673 (c-standard-font-lock-fontify-region-function): Remove.
11674 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11675
11676 2013-05-01 Leo Liu <sdl.web@gmail.com>
11677
11678 * progmodes/octave.el: Compatible with older emacs-24 releases.
11679 (inferior-octave-has-built-in-variables): Remove. Built-in
11680 variables were removed from Octave in 2007.
11681 (inferior-octave-startup): Fix uses.
11682 (comint-line-beginning-position): Remove compatibility code for
11683 emacs 21.
11684
11685 2013-05-01 Juri Linkov <juri@jurta.org>
11686
11687 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11688
11689 2013-05-01 Juri Linkov <juri@jurta.org>
11690
11691 * comint.el (comint-previous-matching-input): Don't print message
11692 "History item: %d" when `isearch-mode' is active.
11693 (comint-history-isearch-message): Print message "History item: %d"
11694 when `comint-input-ring-index' is not empty and this function is
11695 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11696
11697 2013-05-01 Leo Liu <sdl.web@gmail.com>
11698
11699 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11700 definitions. Use completion-at-point to insert keywords.
11701 (octave-abbrev-start): Remove.
11702 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11703
11704 2013-04-30 Leo Liu <sdl.web@gmail.com>
11705
11706 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11707 change.
11708
11709 2013-04-30 Alan Mackenzie <acm@muc.de>
11710
11711 Handle arbitrarily long C++ member initialisation lists.
11712 * progmodes/cc-engine.el (c-back-over-member-initializers):
11713 new function.
11714 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11715 (most) member init lists.
11716
11717 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11718
11719 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11720 variable.
11721
11722 2013-04-30 Leo Liu <sdl.web@gmail.com>
11723
11724 * progmodes/octave.el (octave-variables): Remove. No builtin
11725 variables any more. All converted to functions.
11726 (octave-font-lock-keywords, octave-completion-at-point-function):
11727 Fix uses.
11728 (octave-font-lock-texinfo-comment): New user variable.
11729 (octave-texinfo-font-lock-keywords): New variable for texinfo
11730 comment block.
11731 (octave-function-comment-block): New face.
11732 (octave-font-lock-texinfo-comment): New function.
11733 (octave-mode): Font lock texinfo comment block.
11734
11735 2013-04-29 Leo Liu <sdl.web@gmail.com>
11736
11737 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11738 indexing expression.
11739 (octave-continuation-string): Do not use \.
11740 (inferior-octave-complete-impossible): Remove.
11741 (inferior-octave-completion-table)
11742 (inferior-octave-completion-at-point): Remove its uses.
11743 (inferior-octave-startup): completion_matches was introduced to
11744 Octave in 1996 so safe to assume it.
11745 (octave-function-file-comment): Improve to follow how Octave does it.
11746 (octave-update-function-file-comment): Tweak.
11747
11748 2013-04-29 Leo Liu <sdl.web@gmail.com>
11749
11750 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11751 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11752 (octave-function-file-comment): Fix typo.
11753 (octave-sync-function-file-names): Use read-char-choice.
11754
11755 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11756
11757 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11758 to t for the less important warnings.
11759
11760 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11761
11762 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11763
11764 2013-04-27 Glenn Morris <rgm@gnu.org>
11765
11766 * vc/log-view.el (log-view-current-entry):
11767 Treat "---" separator lines as part of the following rev. (Bug#14169)
11768
11769 2013-04-27 Juri Linkov <juri@jurta.org>
11770
11771 * subr.el (read-number): Doc fix about using it by interactive
11772 code letter `n'. (Bug#14254)
11773
11774 2013-04-27 Juri Linkov <juri@jurta.org>
11775
11776 * desktop.el (desktop-auto-save-timeout): New option.
11777 (desktop-file-checksum): New variable.
11778 (desktop-save): Add optional arg `auto-save' and don't auto-save
11779 if nothing changed.
11780 (desktop-auto-save-timer): New variable.
11781 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11782 (after-init-hook): Call `desktop-auto-save-set-timer'.
11783 Suggested by Reuben Thomas <rrt@sc3d.org> in
11784 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11785
11786 2013-04-27 Leo Liu <sdl.web@gmail.com>
11787
11788 * progmodes/octave.el (octave-function-file-p)
11789 (octave-skip-comment-forward, octave-function-file-comment)
11790 (octave-update-function-file-comment): New functions.
11791 (octave-mode-map): Bind C-c ; to
11792 octave-update-function-file-comment.
11793 (octave-mode-menu): Add octave-update-function-file-comment.
11794 (octave-mode, inferior-octave-mode): Fix doc-string.
11795 (octave-insert-defun): Conform to Octave's coding convention.
11796 (Bug#14285)
11797
11798 * files.el (basic-save-buffer): Don't let errors in
11799 before-save-hook prevent saving buffer.
11800
11801 2013-04-20 Roland Winkler <winkler@gnu.org>
11802
11803 * faces.el (read-face-name): Use completing-read if arg multiple
11804 is nil.
11805
11806 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11807
11808 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11809 displayed, move point to after the totals line.
11810 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11811 for the details.
11812
11813 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11816 Add current dir to the load-path.
11817 (package-generate-autoloads): Don't rely on
11818 autoload-ensure-default-file.
11819
11820 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11821
11822 * textmodes/remember.el (remember-store-in-files): Document that
11823 the file name format is passed to `format-time-string'.
11824
11825 2013-04-26 Leo Liu <sdl.web@gmail.com>
11826
11827 * progmodes/octave.el (octave-sync-function-file-names): New function.
11828 (octave-mode): Use it in before-save-hook.
11829
11830 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11833 (bug#14274).
11834
11835 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11836 \n and comment, even if it's not an implicit ; (bug#14218).
11837
11838 2013-04-26 Glenn Morris <rgm@gnu.org>
11839
11840 * subr.el (read-number): Once more use `read' rather than
11841 `string-to-number', to trap non-numeric input. (Bug#14254)
11842
11843 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11844
11845 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11846 Use `syntax-multiline' text property consistently instead of
11847 `font-lock-multiline'. (Bug#14237)
11848
11849 2013-04-26 Glenn Morris <rgm@gnu.org>
11850
11851 * emacs-lisp/shadow.el (list-load-path-shadows):
11852 No longer necessary to check for duplicate simple.el, since
11853 2012-07-07 change to init_lread to not include installation lisp
11854 directories in load-path when running uninstalled. (Bug#14270)
11855
11856 2013-04-26 Leo Liu <sdl.web@gmail.com>
11857
11858 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11859 (octave-mode, inferior-octave-mode): Use setq-local.
11860 (octave-not-in-string-or-comment-p): Rename to
11861 octave-in-string-or-comment-p.
11862 (octave-in-comment-p, octave-in-string-p)
11863 (octave-in-string-or-comment-p): Replace defsubst with defun.
11864
11865 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11866
11867 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11868
11869 2013-04-25 Bastien Guerry <bzg@gnu.org>
11870
11871 * textmodes/remember.el (remember-data-directory)
11872 (remember-directory-file-name-format): Fix custom types.
11873
11874 2013-04-25 Leo Liu <sdl.web@gmail.com>
11875
11876 * progmodes/octave.el (octave-completion-at-point-function):
11877 Make use of inferior octave process.
11878 (octave-initialize-completions): Remove.
11879 (inferior-octave-completion-table): New function.
11880 (inferior-octave-completion-at-point): Use it.
11881 (octave-completion-alist): Remove.
11882
11883 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11886 (opascal-mode-syntax-table): New var.
11887 (opascal-literal-kind, opascal-is-literal-end)
11888 (opascal-literal-token-at): Rewrite.
11889 (opascal--literal-start-re, opascal-font-lock-keywords)
11890 (opascal--syntax-propertize): New constants.
11891 (opascal-font-lock-defaults): Adjust.
11892 (opascal-mode): Use them. Set comment-<foo> variables as well.
11893 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11894 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11895 (delphi-other-face, opascal-other-face): Remove face variables.
11896 (opascal-save-state): Remove macro.
11897 (opascal-fontifying-progress-step): Remove constant.
11898 (opascal--ignore-changes): Remove var.
11899 (opascal-set-token-property, opascal-parse-next-literal)
11900 (opascal-is-stable-literal, opascal-complete-literal)
11901 (opascal-is-literal-start, opascal-face-of)
11902 (opascal-parse-region, opascal-parse-region-until-stable)
11903 (opascal-fontify-region, opascal-after-change)
11904 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11905 (opascal-debug-parse-region, opascal-debug-parse-window)
11906 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11907 (opascal-debug-fontify-buffer): Remove.
11908 (opascal-debug-mode-map): Adjust accordingly.
11909
11910 2013-04-25 Leo Liu <sdl.web@gmail.com>
11911
11912 Merge octave-mod.el and octave-inf.el into octave.el with some
11913 cleanups.
11914 * progmodes/octave.el: New file renamed from octave-mod.el.
11915 * progmodes/octave-inf.el: Merged into octave.el.
11916 * progmodes/octave-mod.el: Renamed to octave.el.
11917
11918 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11919
11920 * textmodes/reftex-vars.el
11921 (reftex-label-ignored-macros-and-environments): New defcustom.
11922
11923 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11924
11925 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11926
11927 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11928 (smie-indent-keyword): Improve the check to ensure that the next
11929 comment is really on the same line.
11930 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11931
11932 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11933 semi-colons if the line is not otherwise empty (bug#14218).
11934
11935 2013-04-25 Glenn Morris <rgm@gnu.org>
11936
11937 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11938
11939 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * progmodes/opascal.el (opascal-set-token-property): Rename from
11942 opascal-set-text-properties and only set `token' (bug#14134).
11943 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11944 (opascal-literal-text-properties): Remove.
11945 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11946 Adjust callers.
11947
11948 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11949
11950 * textmodes/remember.el (remember-handler-functions): Add an
11951 option for a new handler `remember-store-in-files'.
11952 (remember-data-directory, remember-directory-file-name-format):
11953 New options.
11954 (remember-store-in-files): New function to store remember notes
11955 as separate files within a directory.
11956
11957 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11958
11959 * progmodes/compile.el (compilation-next-error-function):
11960 Pass "formats" to compilation-find-file (bug#11777).
11961
11962 2013-04-24 Glenn Morris <rgm@gnu.org>
11963
11964 * vc/vc-bzr.el (vc-bzr-print-log):
11965 * vc/vc-hg.el (vc-hg-print-log):
11966 * vc/vc-svn.el (vc-svn-print-log):
11967 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11968
11969 * vc/vc-bzr.el (vc-bzr-print-log):
11970 * vc/vc-cvs.el (vc-cvs-print-log):
11971 * vc/vc-git.el (vc-git-print-log):
11972 * vc/vc-hg.el (vc-hg-print-log):
11973 * vc/vc-mtn.el (vc-mtn-print-log):
11974 * vc/vc-rcs.el (vc-rcs-print-log):
11975 * vc/vc-sccs.el (vc-sccs-print-log):
11976 * vc/vc-svn.el (vc-svn-print-log):
11977 * vc/vc.el (vc-print-log-internal): Doc fixes.
11978
11979 2013-04-23 Glenn Morris <rgm@gnu.org>
11980
11981 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11982 Remove venerable code attempting to avoid substitute-command-keys.
11983
11984 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11985
11986 * textmodes/reftex-vars.el (reftex-label-regexps):
11987 Call `reftex-compile-variables' after changes to this variable.
11988
11989 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11992 Use lexical-binding.
11993 (jit-lock-force-redisplay): Use markers, check buffer's continued
11994 existence and beware narrowed buffers.
11995 (jit-lock-fontify-now): Adjust call accordingly.
11996
11997 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12000 to avoid misleading the user.
12001
12002 2013-04-22 Leo Liu <sdl.web@gmail.com>
12003
12004 * info-look.el: Prefer latex2e.info. (Bug#14240)
12005
12006 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12007
12008 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12009
12010 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12011 * net/tramp.el (tramp-call-process): ... here.
12012 (tramp-set-completion-function, tramp-parse-putty):
12013 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12014 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12015 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12016 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12017 (tramp-call-local-coding-command): Use `tramp-call-process'
12018 instead of `tramp-compat-call-process'.
12019
12020 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12021 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12022 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12023 (tramp-find-inline-compress): Improve traces.
12024 (tramp-maybe-send-script): Check for Perl binary.
12025 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12026
12027 2013-04-22 Daiki Ueno <ueno@gnu.org>
12028
12029 * epg.el (epg-context-pinentry-mode): New function.
12030 (epg-context-set-pinentry-mode): New function.
12031 (epg--start): Pass --pinentry-mode option to gpg command.
12032
12033 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12034
12035 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12036 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12037 `completion-at-point'. (Bug#13774)
12038
12039 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12040 default key binding for `describe-distribution' has been moved to
12041 `C-h C-o'. (Bug#13970)
12042
12043 2013-04-21 Glenn Morris <rgm@gnu.org>
12044
12045 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12046 Add doc strings.
12047 (vc-print-log): Clarify interactive prompt.
12048
12049 2013-04-20 Glenn Morris <rgm@gnu.org>
12050
12051 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12052 No longer include timestamp etc information.
12053
12054 2013-04-20 Roland Winkler <winkler@gnu.org>
12055
12056 * faces.el (read-face-name): Bug fix, return just one face if arg
12057 multiple is nil. (Bug#14209)
12058
12059 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12062 (remove-function): Autoload.
12063
12064 * comint.el (comint-redirect-original-filter-function): Remove.
12065 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12066 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12067 (vc-cvs-annotate-command):
12068 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12069 * progmodes/prolog.el (prolog-consult-compile):
12070 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12071 Use add/remove-function instead.
12072 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12073 (gud-tooltip-process-output, gud-tooltip-tips):
12074 Use add/remove-function instead.
12075 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12076 (scheme-interaction-mode, exit-scheme-interaction-mode):
12077 Use add/remove-function instead.
12078
12079 * vc/vc-dispatcher.el: Use lexical-binding.
12080 (vc--process-sentinel): Rename from vc-process-sentinel.
12081 Change last arg to be the code to run. Don't use vc-previous-sentinel
12082 and vc-sentinel-commands any more.
12083 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12084 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12085
12086 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12087
12088 * progmodes/sh-script.el (sh-imenu-generic-expression):
12089 Handle function names with a single character. (Bug#14111)
12090
12091 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12092
12093 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12094 for subroutines defined in an eval (bug#14182).
12095
12096 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12097
12098 * bookmark.el (bookmark-completing-read): Improve handling of empty
12099 string (bug#14176).
12100
12101 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12104
12105 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12106
12107 New faster Imenu implementation (bug#14058).
12108 * progmodes/python.el:
12109 (python-imenu-prev-index-position):
12110 (python-imenu-format-item-label-function)
12111 (python-imenu-format-parent-item-label-function)
12112 (python-imenu-format-parent-item-jump-label-function):
12113 New vars.
12114 (python-imenu-format-item-label)
12115 (python-imenu-format-parent-item-label)
12116 (python-imenu-format-parent-item-jump-label)
12117 (python-imenu--put-parent, python-imenu--build-tree)
12118 (python-imenu-create-index, python-imenu-create-flat-index)
12119 (python-util-popn): New functions.
12120 (python-mode): Set imenu-create-index-function to
12121 python-imenu-create-index.
12122
12123 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * winner.el (winner-active-region): Use region-active-p, activate-mark
12126 and deactivate-mark (bug#14225).
12127
12128 * simple.el (deactivate-mark): Don't inline it.
12129
12130 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12131
12132 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12133
12134 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12135
12136 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12137 file extensions from the archive-mode entry in order to prefer
12138 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12139
12140 2013-04-18 Leo Liu <sdl.web@gmail.com>
12141
12142 * bindings.el (help-event-list): Add ?\?.
12143
12144 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * subr.el (with-wrapper-hook): Declare obsolete.
12147 * simple.el (filter-buffer-substring-function): New hook.
12148 (filter-buffer-substring): Use it.
12149 (filter-buffer-substring-functions): Mark obsolete.
12150 * minibuffer.el (completion-in-region-function): New hook.
12151 (completion-in-region): Use it.
12152 (completion-in-region-functions): Mark obsolete.
12153 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12154 * abbrev.el (abbrev-expand-function): New hook.
12155 (expand-abbrev): Use it.
12156 (abbrev-expand-functions): Mark obsolete.
12157 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12158 and :filter-return.
12159
12160 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12161
12162 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12163 and do not care about match data.
12164
12165 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12168 completion tables when completing error conditions and
12169 `declare' arguments.
12170 (lisp-complete-symbol, field-complete): Mark as obsolete.
12171 (check-parens): Unmatched parens are user errors.
12172 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12173
12174 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12175
12176 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12177 command changed buffer (ie. `flyspell-pre-buffer' is not current
12178 buffer), which prevents making decisions based on invalid value of
12179 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12180 cause an error when `flyspell-pre-point' was nil after switching
12181 buffers.
12182 (flyspell-post-command-hook): No longer needs to change buffers when
12183 checking pre-word. While at it remove unnecessary progn.
12184
12185 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12186
12187 * textmodes/ispell.el (ispell-add-per-file-word-list):
12188 Fix `flyspell-correct-word-before-point' error when accepting
12189 words and `coment-padding' is an integer by using
12190 `comment-normalize-vars' (Bug #14214).
12191
12192 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12193
12194 New defun movement commands.
12195 * progmodes/python.el (python-nav--syntactically)
12196 (python-nav--forward-defun, python-nav-backward-defun)
12197 (python-nav-forward-defun): New functions.
12198
12199 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12200
12201 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12202 (python-syntax-context): Use named compiler-macro for backwards
12203 compatibility with Emacs 24.x.
12204
12205 2013-04-17 Leo Liu <sdl.web@gmail.com>
12206
12207 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12208 octave-hide-process-buffer.
12209
12210 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12213 (bug#14216).
12214
12215 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12216
12217 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12218 Fix adjustment of offset when receiving incomplete responses from GDB
12219 (bug#14129).
12220
12221 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12224 python-mode-abbrev-table.
12225 (python-skeleton-define): Adjust accordingly.
12226 (python-mode-abbrev-table): New table that inherits from it so that
12227 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12228
12229 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12230 (abbrev-symbol): Use it.
12231 (abbrev--before-point): Use it since we already handle inheritance.
12232
12233 2013-04-16 Leo Liu <sdl.web@gmail.com>
12234
12235 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12236 binding to info-lookup-symbol.
12237
12238 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12239
12240 * minibuffer.el (completion--twq-all):
12241 * term/ns-win.el (ns-initialize-window-system):
12242 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12243
12244 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12245
12246 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12247 global bindings.
12248
12249 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12250
12251 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12252
12253 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12254 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12255 to nil.
12256 (ruby-end-of-defun): Remove the unused arg, change the docstring
12257 to reflect that this function is only used as the value of
12258 `end-of-defun-function'.
12259 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12260 to reflect an earlier change that beginning/end-of-defun functions
12261 jump between methods in a class definition, as well as top-level
12262 functions.
12263
12264 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * minibuffer.el (minibuffer-complete): Don't just scroll
12267 a *Completions* that's been iconified.
12268 (minibuffer-force-complete): Make sure repetitions do cycle when going
12269 through completion-in-region -> minibuffer-complete.
12270
12271 2013-04-15 Alan Mackenzie <acm@muc.de>
12272
12273 Correct the placement of c-cpp-delimiters when there're #s not at
12274 col 0.
12275
12276 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12277 place a submatch around the #.
12278 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12279 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12280 on the #, not BOL.
12281
12282 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12283
12284 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12285 (advice--member-p): New arg `name'.
12286 (advice--add-function, advice-member-p): Use it (bug#14202).
12287
12288 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12289
12290 Reformulate java imenu-generic-expression.
12291 The old expression contained ill formed regexps.
12292
12293 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12294 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12295 (cc-imenu-java-method-arg-regexp): New defconsts.
12296 (cc-imenu-java-build-type-args-regex): New defun.
12297 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12298 handling of spaces in the regexp.
12299
12300 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12301
12302 * textmodes/ispell.el (ispell-command-loop): Remove
12303 flyspell highlight of a word when ispell accepts it (bug #14178).
12304
12305 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12306
12307 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12308 uses code from the previous `ange-ftp-run-real-handler'.
12309 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12310 only in case that function exist. This is needed for proper
12311 unloading of Tramp.
12312
12313 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12314
12315 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12316
12317 * textmodes/reftex.el (reftex-compile-variables): Use it.
12318
12319 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * files.el (normal-mode): Only use default major-mode if no other mode
12322 was specified.
12323
12324 * emacs-lisp/trace.el (trace-values): New function.
12325
12326 * files.el: Allow : in local variables (bug#14089).
12327 (hack-local-variable-regexp): New var.
12328 (hack-local-variables-prop-line, hack-local-variables): Use it.
12329
12330 2013-04-13 Roland Winkler <winkler@gnu.org>
12331
12332 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12333 data before it gets modified by bibtex-beginning-of-entry.
12334
12335 2013-04-13 Roland Winkler <winkler@gnu.org>
12336
12337 * textmodes/bibtex.el (bibtex-url): Doc fix.
12338
12339 2013-04-13 Roland Winkler <winkler@gnu.org>
12340
12341 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12342 does not visit a BibTeX file, exclude it from the list of buffers
12343 returned by bibtex-initialize.
12344
12345 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12346
12347 * window.el (split-window): Remove interactive form, since as a
12348 command this function is a special case of split-window-below.
12349 Correct doc string.
12350
12351 2013-04-12 Roland Winkler <winkler@gnu.org>
12352
12353 * faces.el (read-face-name): Do not override value of arg default.
12354 Allow single faces and strings as default values. Remove those
12355 elements from return value that are not faces.
12356 (describe-face): Simplify.
12357 (face-at-point): New optional args thing and multiple so that this
12358 function can provide the same functionality previously provided by
12359 read-face-name.
12360 (make-face-bold, make-face-unbold, make-face-italic)
12361 (make-face-unitalic, make-face-bold-italic, invert-face)
12362 (modify-face, read-face-and-attribute): Use face-at-point.
12363
12364 * cus-edit.el (customize-face, customize-face-other-window)
12365 * cus-theme.el (custom-theme-add-face)
12366 * face-remap.el (buffer-face-set)
12367 * facemenu.el (facemenu-set-face): Use face-at-point.
12368
12369 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12370
12371 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12372
12373 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12374
12375 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12376 off leading { and trailing } from field values.
12377
12378 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * emacs-lisp/timer.el (timer--check): New function.
12381 (timer--time, timer-set-function, timer-event-handler): Use it.
12382 (timer-set-idle-time): Simplify.
12383 (timer--activate): CSE.
12384 (timer-event-handler): Give more info in error message.
12385 (internal-timer-start-idle): New function, moved from C.
12386
12387 * mpc.el (mpc-proc): Add `restart' argument.
12388 (mpc-proc-cmd): Use it.
12389 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12390 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12391 less often.
12392
12393 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12394
12395 * progmodes/sh-script.el: Implement `sh-mode' own
12396 `add-log-current-defun-function' (bug#14112).
12397 (sh-current-defun-name): New function.
12398 (sh-mode): Use the function.
12399
12400 2013-04-09 Bastien Guerry <bzg@gnu.org>
12401
12402 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12403
12404 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12405
12406 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12407
12408 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12409 timer (bug#14156).
12410
12411 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12412
12413 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12414 declaration.
12415
12416 2013-04-07 Leo Liu <sdl.web@gmail.com>
12417
12418 * pcmpl-x.el: New file.
12419
12420 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12421
12422 Do not set x-display-name until X connection is established.
12423 This is needed to prevent from weird situation described at
12424 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12425 * frame.el (make-frame): Set x-display-name after call to
12426 window system initialization function, not before.
12427 * term/x-win.el (x-initialize-window-system): Add optional
12428 display argument and use it.
12429 * term/w32-win.el (w32-initialize-window-system):
12430 * term/ns-win.el (ns-initialize-window-system):
12431 * term/pc-win.el (msdos-initialize-window-system):
12432 Add compatible optional display argument.
12433
12434 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12435
12436 * files.el (normal-backup-enable-predicate): On MS-Windows and
12437 MS-DOS compare truenames of temporary-file-directory and of the
12438 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12439 don't fail comparison by compare-strings. Also, compare file
12440 names case-insensitively on MS-Windows and MS-DOS.
12441
12442 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12445 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12446
12447 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12448
12449 * whitespace.el (whitespace-color-on, whitespace-color-off):
12450 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12451
12452 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12453
12454 * ispell.el (ispell-set-spellchecker-params):
12455 Really set `ispell-args' for all equivs.
12456
12457 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * ido.el (ido-completions): Use extra elements of ido-decorations
12460 (bug#14143).
12461 (ido-decorations): Update docstring.
12462
12463 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12464
12465 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12466 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12467 nil during initialization, in order not to miss changes since the
12468 file was opened. (Bug#14140)
12469
12470 2013-04-05 Leo Liu <sdl.web@gmail.com>
12471
12472 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12473
12474 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12475
12476 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12477
12478 2013-04-04 Glenn Morris <rgm@gnu.org>
12479
12480 * electric.el (electric-pair-inhibit-predicate): Add :version.
12481
12482 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12485 when a package is required several times (bug#14082).
12486
12487 2013-04-04 Roland Winkler <winkler@gnu.org>
12488
12489 * faces.el (read-face-name): Behave as promised by the docstring.
12490 Assume that arg default is a list of faces.
12491 (describe-face): Call read-face-name with list of default faces.
12492
12493 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12494
12495 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12496 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12497 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12498 the header.
12499 (bookmark-exit-hook-internal): Save even if list is empty.
12500
12501 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12502
12503 * emacs-lisp/package.el (package-pinned-packages): New var.
12504 (package--add-to-archive-contents): Obey it (bug#14118).
12505
12506 2013-04-03 Alan Mackenzie <acm@muc.de>
12507
12508 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12509 Also adapt to the new values of element 7 of a parse state.
12510
12511 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12512 parameter `not-in-delimiter'. Handle being inside comment opener.
12513 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12514 character in case we're typing a '*' after a '/'.
12515 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12516 instead by passing the parameter to c-state-pp-to-literal.
12517
12518 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12519 for elt. 7 of a parse state.
12520
12521 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12522
12523 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12524 * international/latin1-disp.el, international/mule-util.el:
12525 * language/cyril-util.el, language/european.el, language/ind-util.el:
12526 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12527 * language/tibetan.el, language/viet-util.el:
12528 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12529
12530 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12531
12532 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12533 (electric-pair-post-self-insert-function): Use it.
12534 (electric-pair-default-inhibit): New function, extracted from
12535 electric-pair-post-self-insert-function.
12536
12537 2013-03-31 Roland Winkler <winkler@gnu.org>
12538
12539 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12540
12541 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12544
12545 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12546
12547 Un-indent after "pass" and "return" statements (Bug#13888)
12548 * progmodes/python.el (python-indent-block-enders): New var.
12549 (python-indent-calculate-indentation): Use it.
12550
12551 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12552
12553 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12554 defun. Defining it as defalias could introduce too eager
12555 byte-compiler optimization. (Bug#14030)
12556
12557 2013-03-30 Chong Yidong <cyd@gnu.org>
12558
12559 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12560
12561 2013-03-30 Leo Liu <sdl.web@gmail.com>
12562
12563 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12564 (kmacro-execute-from-register): Pass the keyboard macro to
12565 kmacro-call-macro or repeating won't work correctly.
12566
12567 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12568
12569 * progmodes/subword.el: Back to using `forward-symbol'.
12570
12571 * subr.el (forward-whitespace, forward-symbol)
12572 (forward-same-syntax): Move from thingatpt.el.
12573
12574 2013-03-29 Leo Liu <sdl.web@gmail.com>
12575
12576 * kmacro.el (kmacro-to-register): New command.
12577 (kmacro-execute-from-register): New function.
12578 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12579
12580 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12581
12582 * mpc.el: Use defvar-local and setq-local.
12583 (mpc--proc-connect): Connection failures are not bugs.
12584 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12585 (mpc-volume-map): Bind to the up-events.
12586
12587 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12588
12589 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12590 instead of `forward-symbol'.
12591
12592 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12595 (edebug--recursive-edit): Use it.
12596 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12597 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12598
12599 2013-03-28 Leo Liu <sdl.web@gmail.com>
12600
12601 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12602
12603 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12604
12605 * facemenu.el (list-colors-callback): New defvar.
12606 (list-colors-redisplay): New function.
12607 (list-colors-display): Install list-colors-redisplay as the
12608 revert-buffer-function. (Bug#14063)
12609
12610 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12613 and suffixes don't overlap (bug#14061).
12614
12615 * case-table.el: Use lexical-binding.
12616 (case-table-get-table): New function.
12617 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12618
12619 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12620
12621 * progmodes/subword.el: Add `superword-mode' to do word motion
12622 over symbol_words (parallels and leverages `subword-mode' which
12623 does word motion inside MixedCaseWords).
12624
12625 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12626
12627 * eshell/em-unix.el: Move su and sudo to...
12628 * eshell/em-tramp.el: ...Eshell tramp module.
12629
12630 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12631
12632 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12633 Change return value to be a sexp. Delay `get-buffer' to after
12634 restoring the desktop (bug#13951).
12635
12636 2013-03-26 Leo Liu <sdl.web@gmail.com>
12637
12638 * register.el: Move semantic tag handling back to
12639 cedet/semantic/senator.el. (Bug#14052)
12640
12641 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12644 into the prompt either (bug#13963).
12645
12646 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12649 part of "(error-foo)".
12650
12651 2013-03-24 Juri Linkov <juri@jurta.org>
12652
12653 * replace.el (list-matching-lines-prefix-face): New defcustom.
12654 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12655 `occur-engine' if `face-differs-from-default-p' returns t.
12656 (occur-engine): Add `,' inside backquote construct to evaluate
12657 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12658 Pass `prefix-face' to the functions `occur-context-lines' and
12659 `occur-engine-add-prefix'.
12660 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12661 `prefix-face' and propertize the prefix with `prefix-face'.
12662 (Bug#14017)
12663
12664 2013-03-24 Leo Liu <sdl.web@gmail.com>
12665
12666 * nxml/rng-valid.el (rng-validate-while-idle)
12667 (rng-validate-quick-while-idle): Guard against deleted buffer.
12668 (Bug#13999)
12669
12670 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12671 is the last entry in kill-buffer-hook.
12672
12673 * files.el (kill-buffer-hook): Doc fix.
12674
12675 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12676
12677 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12678 Make it safe-local.
12679
12680 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12681
12682 2013-03-23 Leo Liu <sdl.web@gmail.com>
12683
12684 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12685 Remove.
12686
12687 * nxml/rng-valid.el (rng-validate-mode)
12688 (rng-after-change-function, rng-do-some-validation):
12689 * nxml/rng-maint.el (rng-validate-buffer):
12690 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12691 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12692 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12693 (nxml-extend-after-change-region): Use with-silent-modifications.
12694
12695 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12696 timer-idle-list.
12697
12698 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12699 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12700 timer-idle-list. (Bug#13999)
12701
12702 2013-03-23 Juri Linkov <juri@jurta.org>
12703
12704 * info.el (info-index-match): New face.
12705 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12706 main pattern and add text properties with the new face to matches
12707 in index entries relative to the beginning of the index entry.
12708 (Bug#14015)
12709
12710 2013-03-21 Eric Ludlam <zappo@gnu.org>
12711
12712 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12713 Inhibit read only while inserting objects.
12714
12715 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12716
12717 * progmodes/cfengine.el: Update docs to mention
12718 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12719 symbol motion. Remove "_" from the word syntax.
12720
12721 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12722
12723 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12724 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12725
12726 2013-03-20 Juri Linkov <juri@jurta.org>
12727
12728 * info.el (Info-next-reference-or-link)
12729 (Info-prev-reference-or-link): New functions.
12730 (Info-next-reference, Info-prev-reference): Use them.
12731 (Info-try-follow-nearest-node): Handle footnote navigation.
12732 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12733
12734 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12737 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12738
12739 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12740
12741 Suppress unnecessary non-ASCII chatter during build process.
12742 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12743 (batch-skkdic-convert): Suppress most of the chatter.
12744 It's not needed so much now that machines are faster,
12745 and its non-ASCII component was confusing; see Dmitry Gutov in
12746 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12747
12748 2013-03-20 Leo Liu <sdl.web@gmail.com>
12749
12750 * ido.el (ido-chop): Fix bug#10994.
12751
12752 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12753
12754 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12755 Remove vars.
12756 (whitespace-color-on, whitespace-color-off):
12757 Use `font-lock-fontify-buffer' (Bug#13817).
12758
12759 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12762 remapping in mode-line.
12763 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12764
12765 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12766
12767 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12768 value for `whitespace-line' face (Bug#13875).
12769 (whitespace-font-lock-keywords): Change description.
12770 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12771 the constructed keywords instead.
12772 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12773
12774 2013-03-19 Leo Liu <sdl.web@gmail.com>
12775
12776 * progmodes/compile.el (compilation-display-error): New command.
12777 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12778 C-o. (Bug#13992)
12779
12780 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12781
12782 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12783
12784 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12785
12786 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12787
12788 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12789
12790 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12791
12792 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12793 * net/tramp-gvfs.el (top):
12794 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12795 (tramp-handle-shell-command): Use it.
12796 (tramp-dissect-file-name): Raise an error when hostname is a
12797 method name, and neither method nor user is specified.
12798
12799 * net/trampver.el: Update release number.
12800
12801 2013-03-18 Leo Liu <sdl.web@gmail.com>
12802
12803 Make sure eldoc can be turned off properly.
12804 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12805 eldoc-mode.
12806 (eldoc-display-message-p): Revert last change.
12807 (eldoc-display-message-no-interference-p)
12808 (eldoc-print-current-symbol-info): Tweak.
12809
12810 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12811
12812 * doc-view.el (doc-view-new-window-function): Check the new window
12813 overlay's display property instead the char property of the
12814 buffer's first char. Use `with-selected-window' instead of
12815 `save-window-excursion' with `select-window'.
12816 (doc-view-document->bitmap): Check the current doc-view overlay's
12817 display property instead the char property of the buffer's first char.
12818
12819 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12820
12821 Automate the build of ja-dic.el (Bug#13984).
12822 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12823 from the input, rather than assume that it's been done for us by the
12824 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12825 the current date into a ja-dic.el comment, as that complicates
12826 regression testing.
12827
12828 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * whitespace.el: Fix double evaluation.
12831 (whitespace-space, whitespace-hspace, whitespace-tab)
12832 (whitespace-newline, whitespace-trailing, whitespace-line)
12833 (whitespace-space-before-tab, whitespace-indentation)
12834 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12835 obsolete defvars.
12836 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12837 (whitespace-color-on): Use a single font-lock-add-keywords call.
12838 Fix double-evaluation of face variables.
12839
12840 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12841
12842 * net/tramp-adb.el (tramp-adb-parse-device-names):
12843 Use `start-process' instead of `call-process'. Otherwise, the
12844 function might be blocked under MS Windows. (Bug#13299)
12845
12846 2013-03-17 Leo Liu <sdl.web@gmail.com>
12847
12848 Extend eldoc to display info in the mode-line. (Bug#13978)
12849 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12850 (eldoc-mode-line-string): New variable.
12851 (eldoc-minibuffer-message): New function.
12852 (eldoc-message-function): New variable.
12853 (eldoc-message): Use it.
12854 (eldoc-display-message-p)
12855 (eldoc-display-message-no-interference-p):
12856 Support eldoc-post-insert-mode.
12857
12858 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12859 (eval-expression): Run it.
12860
12861 2013-03-17 Roland Winkler <winkler@gnu.org>
12862
12863 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12864 strings in the list of return values.
12865
12866 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12867
12868 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12869 radix before checking for HMS forms.
12870
12871 2013-03-16 Leo Liu <sdl.web@gmail.com>
12872
12873 * progmodes/scheme.el: Add indentation and font-locking for λ.
12874 (Bug#13975)
12875
12876 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12877
12878 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12879 token before point (bug#13942).
12880
12881 2013-03-16 Leo Liu <sdl.web@gmail.com>
12882
12883 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12884
12885 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12886
12887 * startup.el (command-line-normalize-file-name): Fix handling of
12888 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12889 <xfq.free@gmail.com> in
12890 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12891
12892 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12893
12894 Sync with Tramp 2.2.7.
12895
12896 * net/trampver.el: Update release number.
12897
12898 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12899
12900 * doc-view.el: Fix bug#13887.
12901 (doc-view-insert-image): Don't modify overlay associated to
12902 non-live windows, and implement horizontal centering of image in
12903 case it's smaller than the window.
12904 (doc-view-new-window-function): Force redisplay of new windows on
12905 doc-view buffers.
12906
12907 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12908
12909 * saveplace.el (save-place-alist-to-file): Don't sort
12910 `save-place-alist', just pretty-print it (bug#13882).
12911
12912 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12913
12914 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12915 Check whether `default-file-name-coding-system' is bound.
12916 It isn't in XEmacs.
12917
12918 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12921 backquotes for `obsolete' (bug#13929).
12922
12923 * international/mule.el (find-auto-coding): Include file name in
12924 obsolescence warning (bug#13922).
12925
12926 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12927
12928 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12929 for CFEngine 3-specific indentation.
12930 (cfengine3-indent-line): Use it. Fix up category regex.
12931 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12932
12933 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * type-break.el (type-break-file-name):
12936 * textmodes/remember.el (remember-data-file):
12937 * strokes.el (strokes-file):
12938 * shadowfile.el (shadow-initialize):
12939 * saveplace.el (save-place-file):
12940 * ps-bdf.el (bdf-cache-file):
12941 * progmodes/idlwave.el (idlwave-config-directory):
12942 * net/quickurl.el (quickurl-url-file):
12943 * international/kkc.el (kkc-init-file-name):
12944 * ido.el (ido-save-directory-list-file):
12945 * emulation/viper.el (viper-custom-file-name):
12946 * emulation/vip.el (vip-startup-file):
12947 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12948 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12949
12950 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12951
12952 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12953 * language/thai-word.el: Switch to UTF-8.
12954
12955 See ChangeLog.16 for earlier changes.
12956
12957 ;; Local Variables:
12958 ;; coding: utf-8
12959 ;; End:
12960
12961 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12962
12963 This file is part of GNU Emacs.
12964
12965 GNU Emacs is free software: you can redistribute it and/or modify
12966 it under the terms of the GNU General Public License as published by
12967 the Free Software Foundation, either version 3 of the License, or
12968 (at your option) any later version.
12969
12970 GNU Emacs is distributed in the hope that it will be useful,
12971 but WITHOUT ANY WARRANTY; without even the implied warranty of
12972 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12973 GNU General Public License for more details.
12974
12975 You should have received a copy of the GNU General Public License
12976 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.