* lisp/obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-07 Glenn Morris <rgm@gnu.org>
2
3 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4 Disable now non-functional find-file-hook.
5
6 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
9 instead of ";" in order to avoid additional prompts. Let heredoc
10 scripts read from tty. (Bug#16582)
11 (tramp-send-command): No special handling of heredocs, it isn't
12 necessary anymore.
13
14 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
17 with a space (bug#16664). Limit the symbols considered to the ones
18 that are bound or fbound (bug#16646).
19
20 2014-02-06 Glenn Morris <rgm@gnu.org>
21
22 * epa.el (epa-mail-aliases): Doc fix.
23
24 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
25
26 * emacs-lisp/lisp.el (lisp-completion-at-point):
27 Use `completion-table-merge' instead of `completion-table-in-turn'
28 (bug#16604).
29
30 * minibuffer.el (completion-table-merge): New function.
31
32 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
33
34 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
35 (tramp-sh-handle-set-file-acl)
36 (tramp-sh-handle-start-file-process)
37 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
38 (tramp-find-executable, tramp-send-command): Use it.
39
40 2014-02-05 Glenn Morris <rgm@gnu.org>
41
42 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
43
44 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
45
46 * progmodes/python.el (python-shell-send-string):
47 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
48
49 2014-02-04 Anders Lindgren <andlind@gmail.com>
50
51 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
52 the names (bug#16620).
53
54 2014-02-03 Martin Rudalics <rudalics@gmx.at>
55
56 * faces.el (window-divider): New default value. Rewrite doc-string.
57 (window-divider-first-pixel, window-divider-last-pixel): New faces.
58
59 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
60
61 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
62 `protected' and `public' can also be called without arguments.
63
64 2014-02-03 Glenn Morris <rgm@gnu.org>
65
66 * register.el (window-configuration-to-register)
67 (frame-configuration-to-register): Unadvertise unused argument.
68 * frameset.el (frameset-to-register): Remove unused argument.
69
70 * frameset.el (frameset-to-register):
71 * kmacro.el (kmacro-to-register):
72 * register.el (increment-register):
73 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
74 (calc-append-to-register, calc-prepend-to-register):
75 * play/gametree.el (gametree-layout-to-register)
76 (gametree-apply-register-layout):
77 * textmodes/picture.el (picture-clear-rectangle-to-register)
78 (picture-yank-rectangle-from-register):
79 * vc/emerge.el (emerge-combine-versions-register):
80 Use register-read-with-preview to read registers.
81
82 2014-02-03 João Távora <joaotavora@gmail.com>
83
84 * elec-pair.el (electric-pair-backward-delete-char): Don't error
85 when at beginning of (possibly narrowed) buffer.
86
87 2014-02-02 Daniel Colascione <dancol@dancol.org>
88
89 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
90 Also try to display local help from just before point.
91
92 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
93
94 c-parse-state. Don't "append-lower-brace-pair" in certain
95 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
96 recognised as a comment.
97
98 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
99 as well as normal comment starter.
100 (c-parse-state-get-strategy): Extra return possibility
101 'back-and-forward.
102 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
103 return value list to indicate replacement of a brace-pair cons
104 with its car.
105 (c-parse-state-1): With 'back-and-forward, only call
106 c-append-lower-brace-pair-to state-cache when cons-separated.
107
108 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
109
110 * term/ns-win.el (ns-suspend-error): New function.
111 (ns-initialize-window-system): Add ns-suspend-error to
112 suspend-hook (Bug#16612).
113
114 2014-02-02 Daniel Colascione <dancol@dancol.org>
115
116 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
117
118 2014-02-02 Daniel Colascione <dancol@dancol.org>
119
120 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
121
122 2014-02-02 Glenn Morris <rgm@gnu.org>
123
124 * register.el (register-read-with-preview, point-to-register)
125 (window-configuration-to-register, frame-configuration-to-register)
126 (jump-to-register, number-to-register, view-register, insert-register)
127 (copy-to-register, append-to-register, prepend-to-register)
128 (copy-rectangle-to-register): Doc fixes.
129
130 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
133 * emacs-lisp/find-func.el (find-function-C-source): Idem.
134 * emacs-lisp/nadvice.el (advice--cd*r): New function.
135 * help-fns.el (describe-function-1): Use it.
136
137 2014-02-02 Glenn Morris <rgm@gnu.org>
138
139 * register.el (register-preview-default): New function,
140 split from register-preview.
141 (register-preview-function): Rename from register-preview-functions,
142 make it not a hook.
143 (register-preview): Use register-preview-function.
144 (register-read-with-preview): Error on non-character event. (Bug#16595)
145
146 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
147
148 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
149 `:' before binary operators (bug#16609). Don't check for `:'
150 before `[' and `(', or their syntax status. A percent literal
151 can't end with either.
152 (ruby-font-lock-keywords): For built-ins that require arguments,
153 check that they're followed by something that looks like argument
154 (bug#16610).
155
156 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
157
158 * subr.el (butlast): Document what an omitted N means (bug#13437).
159 (nbutlast): Ditto.
160
161 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
162
163 * net/shr.el (shr-generic): Make into a defsubst to make the stack
164 depth shallower (bug#16587).
165 (shr-tag-svg): Respect `shr-inhibit-images'.
166 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
167
168 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
169
170 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
171 (ruby-smie-grammar): Make "." right-associative. Make its priority
172 lower than the ternary and all binary operators.
173 (ruby-smie-rules): Indent "(" relative to the first non-"."
174 parent, or the first "." parent at indentation.
175 Use `ruby-align-chained-calls' for indentation of "." tokens.
176 (Bug#16593)
177
178 2014-01-31 Juri Linkov <juri@jurta.org>
179
180 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
181 from `make-hash-table'.
182
183 * textmodes/ispell.el (ispell-init-process): Change message format
184 to be consistent with other messages.
185
186 2014-01-31 Glenn Morris <rgm@gnu.org>
187
188 * delsel.el (delete-selection-mode): Doc fix.
189
190 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
191 (trace-function-background): Doc fixes.
192
193 * ido.el (ido-use-virtual-buffers): Doc fix.
194 Reset :version, since the default value has not changed.
195
196 * register.el (register-preview-delay, register-read-with-preview):
197 Doc fixes.
198
199 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
200 do not mess with mail-buffer position (fixes 2009-11-03 change).
201 * progmodes/cc-mode.el (c-submit-bug-report):
202 Check auto-fill-mode is bound. (Bug#16592)
203
204 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
205
206 * startup.el (fancy-splash-image-file): New function,
207 split from fancy-splash-head.
208 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
209 so that we are both using the same image. (Bug#16574)
210
211 2014-01-30 Glenn Morris <rgm@gnu.org>
212
213 * simple.el (eval-expression): Doc fix.
214
215 * hexl.el (hexl-mode-hook):
216 * ielm.el (ielm-mode-hook):
217 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
218 (lisp-interaction-mode-hook):
219 * progmodes/cfengine.e (cfengine3-documentation-function):
220 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
221
222 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
225 is a symbol (bug#16584).
226
227 2014-01-30 Glenn Morris <rgm@gnu.org>
228
229 * help.el (help-for-help-internal): Add "P" to text.
230
231 2014-01-29 Glenn Morris <rgm@gnu.org>
232
233 * simple.el (just-one-space, cycle-spacing): Doc fixes.
234
235 2014-01-28 Martin Rudalics <rudalics@gmx.at>
236
237 * window.el (fit-frame-to-buffer): Fix calculations for margins and
238 height constraints.
239
240 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
241
242 * progmodes/hideif.el: Extend to full CPP expression syntax.
243 (hif-token-alist): Add missing tokens.
244 (hif-token-regexp): Add support for float/octal/hex immediates.
245 (hif-string-literal-regexp): New const.
246 (hif-tokenize): Recognize strings and float/octal/hex immediates.
247 (hif-exprlist): New function.
248 (hif-parse-if-exp): Use it.
249 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
250 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
251 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
252 (hif-logxor, hif-comma): New functions.
253
254 2014-01-28 Glenn Morris <rgm@gnu.org>
255
256 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
257
258 * indent.el (tab-stop-list): Doc fix. Add :version.
259
260 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
261 (cvs-append-to-ignore): Add compatibility alias.
262
263 2014-01-27 Glenn Morris <rgm@gnu.org>
264
265 * dired.el (dired-hide-details-mode): Don't autoload it,
266 since it cannot be used outside Dired buffers anyway.
267
268 * emulation/cua-base.el (cua-mode): Doc fix.
269
270 * dired.el (dired-hide-details-hide-symlink-targets)
271 (dired-hide-details-hide-information-lines)
272 (dired-hide-details-mode): Doc fixes.
273
274 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
275 * strokes.el (strokes-file): Doc fix. Bump :version.
276 (strokes-help): Doc fix.
277 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
278 * emulation/viper.el (viper): Doc fix for custom group.
279 (top-level): Remove oh-so-no-longer-relevant text about vip.
280 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
281
282 * ido.el (ido-save-directory-list-file):
283 * saveplace.el (save-place-file):
284 * calendar/timeclock.el (timeclock-file):
285 * net/quickurl.el (quickurl-url-file):
286 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
287 * progmodes/idlwave.el (idlwave-config-directory):
288 * textmodes/remember.el (remember-data-file):
289 Bump :version.
290
291 2014-01-26 Glenn Morris <rgm@gnu.org>
292
293 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
294 Doc fix. Make obsolete.
295 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
296
297 * sort.el (delete-duplicate-lines): Doc fix.
298
299 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
300
301 * progmodes/ada-mode.el (ada):
302 * woman.el (woman): Link to info manual and Commentary section.
303
304 * progmodes/flymake.el (flymake):
305 * nxml/nxml-mode.el (nxml):
306 * net/eww.el (eww):
307 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
308 * htmlfontify.el (htmlfontify):
309 * ses.el (ses):
310 * epa.el (epa):
311 * ido.el (ido): Link to info manual.
312
313 2014-01-25 Leo Liu <sdl.web@gmail.com>
314
315 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
316
317 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
318
319 * net/shr.el (shr-tag-img): Prefer the title over the alt text
320 (bug#16537).
321
322 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
323
324 * net/eww.el (eww-download-callback):
325 Fix reference to eww-download-directory.
326
327 * emacs-lisp/bytecomp.el (byte-compile-file):
328 Remove unused local variable `file-name'.
329
330 2014-01-24 Glenn Morris <rgm@gnu.org>
331
332 * woman.el (woman-default-faces, woman-monochrome-faces):
333 Fix obsolescence specification.
334
335 * subr.el (with-demoted-errors): Doc fix.
336
337 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
340 (cl--macroexp-fboundp): New function.
341 (cl--make-type-test): Use it.
342
343 2014-01-23 Glenn Morris <rgm@gnu.org>
344
345 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
346 * simple.el (eval-expression): Doc fixes.
347
348 2014-01-22 Glenn Morris <rgm@gnu.org>
349
350 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
351
352 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * emacs-lisp/package.el: Write files silently.
355 (package-autoload-ensure-default-file, package--write-file-no-coding)
356 (package-generate-description-file, package--download-one-archive)
357 (package-install-from-archive): Tell `write-region' to stay quiet.
358 (package-menu-mode, package-menu--print-info): Omit the Archive column
359 if there's only one archive.
360 (package-all-keywords, package--has-keyword-p): Remove dead code.
361
362 2014-01-22 Glenn Morris <rgm@gnu.org>
363
364 * version.el (emacs-bzr-version-bzr): Fix typo.
365
366 * version.el (emacs-repository-get-version):
367 Check either .bzr or .git, but not both.
368 Make the git case actually use the DIR argument, and return nil
369 rather than the empty string.
370 Avoid error if .git exists but the git executable is not found.
371
372 2014-01-22 Martin Rudalics <rudalics@gmx.at>
373
374 Fixes in window size functions around Bug#16430 and Bug#16470.
375 * window.el (window-total-size, window-size): New argument ROUND.
376 (window--min-delta-1, window-min-delta, window--max-delta-1):
377 Be more conservative when calculating the numbers of lines or
378 columns a window can shrink (Bug#16430).
379 (fit-window-to-buffer): Simplify code.
380 * term.el (term-window-width): Call window-body-width again.
381
382 2014-01-22 Glenn Morris <rgm@gnu.org>
383
384 * image.el (image-format-suffixes): Doc fix.
385
386 * international/quail.el (quail-define-package): Doc fix.
387
388 * emacs-lisp/authors.el (authors-valid-file-names):
389 (authors-renamed-files-alist): Additions.
390
391 * vc/vc-git.el (vc-git-print-log): Remove --follow;
392 reverts 2014-01-09 change. (Bug#16422)
393
394 * calc/calc-embed.el (thing-at-point-looking-at):
395 * emacs-lisp/map-ynp.el (x-popup-dialog):
396 * obsolete/lmenu.el (x-popup-dialog):
397 * emacs-lisp/package.el (url-recreate-url):
398 * mail/mailclient.el (clipboard-kill-ring-save):
399 * subr.el (x-popup-dialog): Update declaration.
400 * mail/rmail.el (rmail-mime-message-p):
401 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
402
403 2014-01-21 Daniel Colascione <dancol@dancol.org>
404
405 * progmodes/sh-script.el (sh--inside-noncommand-expression):
406 Correctly detect when we're inside an arithmetic expansion form
407 containing nested parenthesis.
408 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
409 to detect cases where we shouldn't expand "<<" to a heredoc
410 skeleton.
411
412 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
415 (eldoc--message-command-p): New function.
416 (eldoc-display-message-p): Use it.
417 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
418 message is not automatically erased for us.
419 (eldoc-print-current-symbol-info): Erase previous message, if any.
420
421 2014-01-21 Tassilo Horn <tsdh@gnu.org>
422
423 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
424 specify it's an interactive function.
425
426 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
427 Fix regex used for scanning for citation keys which failed for
428 citations with optional arguments.
429
430 2014-01-21 Leo Liu <sdl.web@gmail.com>
431
432 * simple.el (read--expression): Don't enable eldoc-mode.
433
434 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * simple.el (move-beginning-of-line): Make sure we don't move forward
437 (bug#16497).
438
439 2014-01-20 Juri Linkov <juri@jurta.org>
440
441 * saveplace.el (toggle-save-place, save-place-to-alist)
442 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
443 'dired-mode) before checking for dired-directory. (Bug#16477)
444
445 2014-01-20 Juri Linkov <juri@jurta.org>
446
447 * indent.el (indent-line-to): Use backward-to-indentation
448 instead of back-to-indentation. (Bug#16461)
449
450 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
451
452 Revert some of the CANNOT_DUMP fix (Bug#16494).
453 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
454 but fixing this can wait until after the next release.
455 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
456
457 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
458
459 * eshell/esh-mode.el (eshell-password-prompt-regexp):
460 Use `password-word-equivalents'.
461 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
462 to t. (Bug#5664, Bug#13124)
463
464 2014-01-19 Alan Mackenzie <acm@muc.de>
465
466 Bind open-paren-in-column-0-is-defun-start to nil at some entry
467 points.
468 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
469 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
470 * progmodes/cc-mode.el (c-before-change, c-after-change)
471 (c-font-lock-fontify-region): Bind it here.
472
473 2014-01-19 Martin Rudalics <rudalics@gmx.at>
474
475 * term.el (term-window-width): Call window-text-width instead of
476 window-width (Bug#16470).
477
478 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
479
480 * simple.el (password-word-equivalents): Remove duplicates.
481 Sort, to make this easier next time.
482 Downcase. Omit ": " after "jelszó".
483
484 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
485
486 * term/common-win.el (saved-region-selection): Defvar it.
487 (x-select-text): Set saved-region-selection (Bug#16382).
488
489 2014-01-18 Glenn Morris <rgm@gnu.org>
490
491 * emacs-lisp/authors.el (authors-aliases)
492 (authors-renamed-files-alist): Add some entries.
493
494 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/tramp.el (tramp-password-prompt-regexp):
497 Use `password-word-equivalents' if available.
498 (tramp-action-password, tramp-process-one-action)
499 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
500
501 2014-01-17 Chong Yidong <cyd@gnu.org>
502
503 * simple.el (password-word-equivalents): New defcustom.
504 * comint.el (comint-password-prompt-regexp): Use it. Bump version
505 to 24.4.
506 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
507 to t. (Bug#13124)
508
509 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
510
511 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
512 (ruby-align-to-stmt-keywords): Change the default value.
513 Use `ruby-alignable-keywords' to generate the possible customization
514 choices.
515 (ruby-smie-rules): Instead of using a hardcoded list of alignable
516 keywords, check against the value of `ruby-alignable-keywords'
517 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
518
519 2014-01-17 Glenn Morris <rgm@gnu.org>
520
521 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
522
523 Make M-x authors return zero *Authors Errors* from current logs.
524 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
525 (authors-ignored-files): Add some entries, remove others.
526 (authors-ambiguous-files, authors-valid-file-names):
527 Add some entries.
528 (authors-renamed-files-alist): Add, remove, and adjust entries.
529 (authors-renamed-files-regexps): Add some entries.
530 Remove some very broad ones. Make some entries `lax'.
531 (authors-lax-changelogs): New constant.
532 (authors-disambiguate-file-name): Treat top-level specially.
533 (authors-lax-changelog-p): New function.
534 (authors-canonical-file-name): Check file as written against
535 authors-valid-file-names. Do not special-case etc/.
536 Handle `lax' logs and authors-renamed-files-regexps elements.
537
538 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
539
540 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
541 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
542 callers.
543
544 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
547 Assume we're already in the proper buffer.
548 Inspired by Anders Lindgren <andlind@gmail.com>.
549 (follow-post-command-hook): Call it from the right buffer.
550 (follow-comint-scroll-to-bottom): Adjust call.
551 (follow-all-followers): Use get-buffer-window-list.
552
553 2014-01-15 Daniel Colascione <dancol@dancol.org>
554
555 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
556 `buffer-file-name' in interactive-form so that we don't leave
557 pathless file names in `file-name-history'.
558
559 2014-01-15 Juri Linkov <juri@jurta.org>
560
561 * indent.el (indent-rigidly): Set deactivate-mark to nil
562 in transient indentation mode. (Bug#16438)
563
564 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
565
566 * emacs-lisp/package.el (package-desc-keywords): New function
567 (Bug#16222).
568 (describe-package-1, package-all-keywords)
569 (package--has-keyword-p): Use it.
570
571 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
572
573 * simple.el (define-alternatives): When creating the
574 COMMAND-alternatives variable, assign COMMAND as its definition
575 name so that `describe-variable' can relocate it.
576
577 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
578
579 * font-lock.el (font-lock-keywords): Fix typo in docstring
580 (bug#16307).
581
582 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
583
584 * ispell.el (ispell-region): Reset `in-comment' for new line
585 instead of wrongly reset `add-coment' (bug#13577).
586
587 2014-01-14 Daiki Ueno <ueno@gnu.org>
588
589 * epa-file.el (epa-file-write-region): Encode the region according
590 to `buffer-file-format'. Problem reported at:
591 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
592
593 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
596 so it applies in the right buffer (bug#16410).
597
598 2014-01-13 Daniel Colascione <dancol@dancol.org>
599
600 * textmodes/rst.el (rst-define-key): Provide deprecated
601 keybindings through named functions instead of anonymous ones so
602 that "??" doesn't appear in describe-mode output.
603
604 2014-01-13 Bastien Guerry <bzg@gnu.org>
605
606 * simple.el (define-alternatives): Call the selected command
607 interactively. When setting `COMMAND--implementation' for the
608 first time, tell the user how to chose another implementation.
609 Enhance the docstring.
610
611 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
614 (log-edit--match-first-line): New function.
615 (log-edit-font-lock-keywords): Use it.
616 (log-edit-mode): Make jit-lock-defer-multiline work.
617
618 2014-01-13 Bastien Guerry <bzg@gnu.org>
619
620 * rect.el (rectangle-mark-mode): When the region is not active,
621 display a message saying that the mark as been set and that
622 rectangle mode is in use.
623 (rectangle--highlight-for-redisplay): Only put an overlay with a
624 visible vertical bar when (display-graphic-p) is non-nil.
625 This partially fixes Bug#16403.
626
627 2014-01-13 Juri Linkov <juri@jurta.org>
628
629 * info.el (Info-find-file): Go to DIR before displaying the error
630 about a nonexistent file if no previous Info file is visited.
631 Use `user-error' instead of `error' for "Info file %s does not exist".
632 (Info-find-node-2): In case of a nonexistent node in unwind forms
633 go to the Top node if there is no previous node to revert to.
634 (Bug#16405)
635
636 2014-01-13 Martin Rudalics <rudalics@gmx.at>
637
638 fit-frame/window-to-buffer code fixes including one for Bug#14096.
639 * window.el (fit-frame-to-buffer): Fix doc-string.
640 Respect window-min-height/-width. Fit pixelwise when
641 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
642 when avoiding that frame goes partially off-screen.
643 (fit-window-to-buffer): Respect window-min-height/-width
644 (Bug#14096).
645
646 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
649 after an empty line.
650
651 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * net/shr.el (shr-render-region): Autoload.
654
655 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
656
657 * net/eww.el (eww-download-directory): Rename from
658 `eww-download-path' (Bug#16419).
659
660 2014-01-12 Leo Liu <sdl.web@gmail.com>
661
662 * dired-x.el (dired-mode-map): Fix last change.
663
664 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
665
666 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
667
668 Spelling fixes.
669 * emacs-lisp/generic.el (generic--normalize-comments):
670 Rename from generic--normalise-comments. All uses changed.
671 * play/bubbles.el (bubbles--neighborhood-score):
672 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
673 (bubbles--neighborhood-available)
674 (bubbles--update-neighborhood-score):
675 Rename from names with 'neighbourhood'. All uses changed.
676
677 2014-01-12 Leo Liu <sdl.web@gmail.com>
678
679 Re-implement the feature of showing eldoc info after editing.
680 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
681 (eldoc-edit-message-commands): New function.
682 (eldoc-print-after-edit): New variable.
683 (eldoc-pre-command-refresh-echo-area): Emit message only by
684 eldoc-message-commands.
685 (eldoc-mode): Restrict eldoc-message-commands to editing commands
686 if eldoc-print-after-edit is set. (Bug#16346)
687 * simple.el (read--expression): Enable eldoc-mode.
688 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
689
690 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
691 Eric S. Raymond <esr@thyrsus.com>
692
693 * version.el (emacs-repository-get-version): Enhance so the
694 function works correctly in either a Bazaar or Git repo.
695
696 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
697
698 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
699 Goes with removal of the joke manpages from /etc.
700
701 2014-01-10 K. Handa <handa@gnu.org>
702
703 * mail/rmail.el (rmail-get-coding-system):
704 Check rmail-get-coding-function before "funcall"ing it.
705
706 2014-01-10 Glenn Morris <rgm@gnu.org>
707
708 * emacs-lisp/authors.el (authors-fixed-entries):
709 Update for files that no longer exist.
710
711 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
712
713 * version.el (emacs-bzr-get-version): Restore compatibilty with
714 24.3 (Tested).
715
716 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
717
718 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
719 and Podfile.
720
721 2014-01-10 Eli Zaretskii <eliz@gnu.org>
722
723 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
724
725 2014-01-10 Chong Yidong <cyd@gnu.org>
726
727 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
728
729 2014-01-10 Anders Lindgren <andlind@gmail.com>
730
731 * follow.el (follow-cache-command-list): Include right-char and
732 left-char.
733
734 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
735
736 Spelling fixes.
737 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
738 * woman.el (woman-mark-horizontal-position):
739 Rename from woman-mark-horizonal-position. Use changed.
740
741 2014-01-10 Glenn Morris <rgm@gnu.org>
742
743 * info.el (info-initialize): If running uninstalled, ensure our
744 own info files are always found first, even if INFOPATH is set.
745
746 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
747
748 2014-01-09 David Engster <deng@randomsample.de>
749
750 * emacs-lisp/eieio-custom.el:
751 * emacs-lisp/eieio-opt.el: Set generated autoload file to
752 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
753 * emacs-lisp/eieio.el: Regenerate autoloads.
754
755 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
756
757 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
758 following renames. (Bug#8756)
759
760 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
763 (bug#16382).
764 (activate-mark): Add `no-tmm' argument.
765 (set-mark, push-mark-command): Use it instead of running
766 activate-mark-hook by hand.
767
768 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
769
770 In preparation for the move to git, sanitize out some
771 Bazaar-specific names.
772
773 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
774
775 * version.el (emacs-bzr-version): Name changed to
776 emacs-repository-version. Obsolete-variable alias made.
777 * loadup.el: Follow through on this name change.
778 * mail/emacsbug.el (report-emacs-bug): Factor out any
779 assumption about the version control system in use.
780
781 2014-01-08 David Engster <deng@randomsample.de>
782
783 * help-fns.el (help-fns-describe-function-functions):
784 New variable to call functions for augmenting help buffers.
785 (describe-function-1): Remove explicit calls to
786 `help-fns--compiler-macro', `help-fns--parent-mode' and
787 `help-fns--obsolete'. Put them in above new variable instead, and
788 call them through `run-hook-with-args'.
789 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
790 `eieio-describe-class'. Not meant for interactive use anymore,
791 but to augment existing help buffers. Remove optional second
792 argument. Create proper button for file location.
793 Rewrite function to use `insert' instead of `princ' and `prin1' where
794 possible.
795 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
796 (eieio-method-def, eieio-class-def): Move further up.
797 (describe-method, describe-generic, eieio-describe-method):
798 Remove aliases.
799 (eieio-help-constructor, eieio-help-generic): Rename from
800 `eieio-describe-constructor' and `eieio-describe-generic', resp.
801 Rewrite to use `insert' in the current buffer and use proper help
802 buttons.
803 (eieio-help-find-method-definition)
804 (eieio-help-find-class-definition): Also accept symbols as
805 arguments.
806 (eieio-help-mode-augmentation-maybee): Remove.
807 (eieio-describe-class-sb): Use `describe-function'.
808 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
809 Add `eieio-help-generic' and `eieio-help-constructor'.
810
811 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
812
813 Spelling fixes.
814 * language/china-util.el (hz-ascii-designation):
815 Rename from hz-ascii-designnation.
816 (hz-ascii-designation): Rename from hz-ascii-designnation.
817 All uses changed.
818
819 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
822 package-alist.
823
824 2014-01-08 Bastien Guerry <bzg@gnu.org>
825
826 * emacs-lisp/package.el (package-delete):
827 Correctly delete the package from package-alist.
828
829 2014-01-08 Daiki Ueno <ueno@gnu.org>
830
831 * emacs-lisp/package.el (url-recreate-url): Declare.
832 (url-http-target-url): Declare.
833 (package-handle-response): Include requested URL in the error message.
834 (package--check-signature): Don't re-signal errors from
835 package--with-work-buffer. Suggested by Stefan Monnier.
836
837 2014-01-07 Bastien Guerry <bzg@gnu.org>
838
839 * minibuffer.el (completion--try-word-completion): When both a
840 hyphen and a space are possible candidates for the character
841 following a word, display both candidates. (Bug#15980)
842
843 2014-01-07 Martin Rudalics <rudalics@gmx.at>
844
845 * window.el (balance-windows-2): While rounding don't give a
846 window more than the remainder. Bug#16351, Bug#16383.
847
848 2014-01-07 Glenn Morris <rgm@gnu.org>
849
850 * menu-bar.el (menu-bar-help-extra-packages): Remove.
851 (menu-bar-help-menu): Use view-external-packages instead.
852
853 2014-01-07 Bastien Guerry <bzg@gnu.org>
854
855 * emacs-lisp/package.el (package-delete): Also delete the package
856 name from `package-alist', not its description only.
857
858 2014-01-07 Glenn Morris <rgm@gnu.org>
859
860 * help.el (view-external-packages):
861 * menu-bar.el (menu-bar-help-extra-packages):
862 Visit efaq.info rather than etc/MORE.STUFF.
863
864 2014-01-07 Juri Linkov <juri@jurta.org>
865
866 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
867 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
868
869 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
870 that shadows RET. (Bug#16342)
871
872 2014-01-07 Chong Yidong <cyd@gnu.org>
873
874 * isearch.el (isearch-yank-char, isearch-yank-word)
875 (isearch-yank-line): Doc fix.
876
877 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
880 * emacs-lisp/elint.el (elint-find-builtins):
881 * emacs-lisp/eldoc.el (eldoc-symbol-function):
882 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
883 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
884 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
885 * apropos.el (apropos-safe-documentation):
886 * subr.el (symbol-file): Remove redundant fboundp.
887 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
888
889 2014-01-06 Bastien Guerry <bzg@gnu.org>
890
891 * hl-line.el (global-hl-line-overlay): Make a local variable.
892 (global-hl-line-overlays): New variable to store all overlays.
893 (global-hl-line-mode): Don't delete overlays from the current
894 buffer when `global-hl-line-sticky-flag' is non-nil.
895 (global-hl-line-highlight): Add new overlays to
896 `global-hl-line-overlays'.
897 (global-hl-line-unhighlight-all): New function to delete all
898 overlays when turning off `global-hl-line-mode'.
899 This fixes Bug#16183.
900
901 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * subr.el (set-transient-map): Fix nested case and docstring.
904
905 2014-01-06 Tassilo Horn <tsdh@gnu.org>
906
907 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
908 `Texinfo' entry.
909
910 2014-01-06 Daniel Colascione <dancol@dancol.org>
911
912 Fix defun navigation in vc log view.
913
914 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
915 like `beginning-of-defun'.
916 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
917 log-view-end-of-defun to log-view-end-of-defun-1. Replace
918 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
919 (log-view-extract-comment): Call `log-view-current-entry' directly
920 instead of relying on broken `log-view-beginning-of-defun' behavior.
921
922 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
923
924 Spelling fixes.
925 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
926 * emacs-lisp/debug.el (cancel-debug-on-entry):
927 * epg.el (epg-error-to-string):
928 * files.el (recover-file):
929 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
930 * mail/emacsbug.el (report-emacs-bug-hook):
931 * mail/sendmail.el (mail-recover):
932 * ses.el (ses-yank-resize):
933 * term/ns-win.el (ns-print-buffer):
934 Spelling fixes in diagnostics, mostly for "canceled" with one L.
935 * epg.el (epg-key-capability-alist): Rename from misspelled version.
936 All uses changed.
937 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
938
939 2014-01-06 Leo Liu <sdl.web@gmail.com>
940
941 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
942 to avoid shadowing global key. (Bug#16354)
943
944 2014-01-06 Daniel Colascione <dancol@dancol.org>
945
946 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
947 rst-mode.
948
949 2014-01-05 Martin Rudalics <rudalics@gmx.at>
950
951 * window.el (balance-windows): Add mising t to fix Bug#16351.
952
953 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
954
955 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
956 (bug#16285).
957 (shr-insert): If we have a word that's longer than `shr-width',
958 break after it anyway. Otherwise we'll do no breaking once we get
959 such a long word.
960
961 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
962
963 * net/eww.el (eww): Support single/double quote for search.
964 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
965 (eww-history-quit): Delete and use quit-window.
966 (eww-history-kill): Delete, because it doesn't work well and
967 not necessary.
968 (eww-history-mode-map): Delete some keys and add easy-menu.
969
970 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
971
972 Fix misspelling of 'chinese' in rx (Bug#16237).
973 * emacs-lisp/rx.el (rx-categories): Correct spelling of
974 chinese-two-byte.
975
976 Change subword regexps back to vars (Bug#16296).
977 * progmodes/subword.el (subword-forward-regexp)
978 (subword-backward-regexp): Change these back to variables.
979
980 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
983 syntax-begin-function (bug#16247).
984
985 2014-01-03 Chong Yidong <cyd@gnu.org>
986
987 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
988 (advice--docstring): Delete variable.
989 (advice--make-1): Leave the docstring empty.
990 (advice-add): Use function-documentation for advised docstring.
991
992 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
993 Ignore function-documentation property when getting documentation.
994 (ad-activate-advised-definition): Use function-documentation
995 generate the docstring.
996 (ad-make-advised-definition): Don't call
997 ad-make-advised-definition-docstring.
998 (ad-make-advised-definition-docstring, ad-advised-definition-p):
999 Delete functions.
1000
1001 * progmodes/sql.el (sql-help): Use function-documentation instead
1002 of dynamic-docstring-function property. No need to autoload now.
1003 (sql--help-docstring): New variable.
1004 (sql--make-help-docstring): Use it.
1005
1006 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * ielm.el (ielm-tab): Retarget.
1009 (ielm-map): Use ielm-tab for tab.
1010 (ielm-complete-filename): Use comint-filename-completion.
1011 (ielm-complete-symbol): Remove.
1012 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1013 remove ielm-tab from completion-at-point-functions (bug#16224).
1014
1015 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1016 Beware signals raised by predicates (bug#16201).
1017
1018 2014-01-02 Richard Stallman <rms@gnu.org>
1019
1020 * dired-aux.el (dired-do-print): Handle printer-name.
1021
1022 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1023 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1024 (rmail-epa-decrypt): Turn off mime processing.
1025
1026 * mail/rmail.el (rmail-make-in-reply-to-field):
1027 Add parens in message-id.
1028
1029 * mail/rmail.el (rmail-get-coding-function): Variable.
1030 (rmail-get-coding-system): Use it.
1031
1032 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1033
1034 * international/mule-conf.el: Unify the charset indian-is13194.
1035 (indian-is13194): Specify unify-map.
1036
1037 2013-12-31 Leo Liu <sdl.web@gmail.com>
1038
1039 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1040
1041 2013-12-30 Daniel Colascione <dancol@dancol.org>
1042
1043 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1044 of printing a useless when we resume from sleep.
1045
1046 * progmodes/sh-script.el
1047 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1048 in indentation code. (Bug#16233)
1049
1050 2013-12-28 João Távora <joaotavora@gmail.com>
1051
1052 * elec-pair.el (electric-pair-post-self-insert-function):
1053 Don't open extra newlines at beginning of buffer. (Bug#16272)
1054
1055 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1056
1057 * frame.el (window-system-for-display): Don't allow to create a
1058 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1059
1060 2013-12-28 Glenn Morris <rgm@gnu.org>
1061
1062 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1063 Update callers.
1064
1065 * apropos.el (apropos-match-face):
1066 * calculator.el (calculator-displayer):
1067 * dabbrev.el (dabbrev-search-these-buffers-only):
1068 * face-remap.el (buffer-face-mode-face):
1069 * simple.el (yank-handled-properties):
1070 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1071 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1072 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1073 (hashcash-double-spend-database):
1074 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1075 (ruby-deep-indent-paren-style):
1076 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1077 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1078 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1079 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1080 Specify custom types.
1081
1082 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1083 * bookmark.el (bookmark-bmenu-use-header-line):
1084 * doc-view.el (doc-view-scale-internally):
1085 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1086 * register.el (register-preview-delay):
1087 * net/shr.el (shr-bullet):
1088 * progmodes/cfengine.el (cfengine-cf-promises)
1089 (cfengine-parameters-indent):
1090 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1091 * textmodes/reftex-vars.el (reftex-label-regexps):
1092 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1093
1094 * net/tls.el (tls-certtool-program): Fix default value.
1095
1096 * desktop.el (desktop-restore-in-current-display):
1097 * newcomment.el (comment-empty-lines):
1098 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1099 (idlwave-pad-keyword):
1100 * progmodes/tcl.el (tcl-tab-always-indent):
1101 * textmodes/reftex-vars.el (reftex-index-default-tag):
1102 * elec-pair.el (electric-pair-skip-whitespace):
1103 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1104
1105 * emacs-lisp/authors.el (authors-ignored-files)
1106 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1107
1108 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1109
1110 * shell.el (shell-dynamic-complete-command): Doc fix.
1111 (shell--command-completion-data): Shell completion now matches
1112 executable filenames from the current buffer's directory, on
1113 systems in which this behavior is the default (windows-nt, ms-dos).
1114
1115 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1116
1117 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1118
1119 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1122 (bug#16251).
1123
1124 * electric.el: Move all electric-pair-* to elec-pair.el.
1125 * elec-pair.el: New file, split from electric.el.
1126
1127 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1128
1129 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1130 indentation level is larger than the width, because that will
1131 infloop.
1132 (shr-insert): Fill repeatedly long texts, so that Japanese is
1133 formatted correctly (bug#16263).
1134 (shr-find-fill-point): Off by one error in comparison with the
1135 indentation.
1136
1137 2013-12-26 João Távora <joaotavora@gmail.com>
1138
1139 * electric.el (electric-pair-mode): More flexible engine for skip-
1140 and inhibit predicates, new options for pairing-related functionality.
1141 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1142 if that keeps or improves their balance in buffers.
1143 (electric-pair-delete-adjacent-pairs): Delete the pair when
1144 backspacing over adjacent matched delimiters.
1145 (electric-pair-open-extra-newline): Open extra newline when
1146 inserting newlines between adjacent matched delimiters.
1147 (electric--sort-post-self-insertion-hook):
1148 Sort post-self-insert-hook according to priority values when
1149 minor-modes are activated.
1150 * simple.el (newline-and-indent): Call newline with interactive
1151 set to t.
1152 (blink-paren-post-self-insert-function): Set priority to 100.
1153 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1154 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1155 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1156 electric-pair-open-newline-between-pairs to nil.
1157
1158 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1159
1160 * progmodes/python.el: Use lexical-binding.
1161 (python-nav-beginning-of-defun): Stop searching ASAP.
1162
1163 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1164
1165 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1166 Fix interactive spec. Doc fix. (Bug#15754)
1167
1168 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1169
1170 * emacs-lisp/byte-run.el (eval-when-compile):
1171 * progmodes/cc-defs.el (cc-eval-when-compile):
1172 Fix edebug spec (bug#16184).
1173
1174 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1175
1176 * net/shr.el (shr-visit-file): Remove debugging function.
1177 (shr-insert): Don't infloop if we can't find a good place to break
1178 the line (bug#16256).
1179
1180 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1181
1182 * progmodes/python.el:
1183 (python-nav--lisp-forward-sexp): New function.
1184 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1185 python-nav-lisp-forward-sexp-safe.
1186 (python-nav--forward-sexp): New argument SAFE allows switching
1187 forward sexp movement behavior for parens.
1188 (python-nav-forward-sexp): Throw errors on unterminated parens
1189 (Bug#16191).
1190 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1191 (python-nav-backward-sexp-safe): New functions.
1192 (python-shell-buffer-substring):
1193 Use `python-nav-forward-sexp-safe'.
1194
1195 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1196
1197 * net/shr.el (shr-find-fill-point): Don't break lines before a
1198 quotation mark.
1199 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1200 (shr-find-fill-point): Remove the special checks for the quotation
1201 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1202
1203 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1204
1205 * net/eww.el (eww-form-textarea): Use a different face for
1206 textareas than text input since they have different keymaps
1207 (bug#16142).
1208
1209 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1210
1211 * progmodes/python.el (python-nav-beginning-of-statement):
1212 Speed up (Bug#15295).
1213
1214 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1215
1216 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1217 the window configuration.
1218
1219 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1220
1221 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1222 we run on MS-Windows or MS-DOS.
1223
1224 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1225
1226 * window.el (balance-windows-area): Call window-size instead of
1227 window-height and window-width. Bug#16241.
1228
1229 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1230
1231 * net/eww.el (eww-bookmark-quit): Remove.
1232 (eww-bookmark-browse): Restore the window configuration when you
1233 choose a bookmark (bug#16144).
1234
1235 2013-12-24 Daniel Colascione <dancol@dancol.org>
1236
1237 * icomplete.el: Remove redundant :group arguments to `defcustom'
1238 throughout.
1239 (icomplete-show-matches-on-no-input): New customizable variable.
1240 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1241 we have something to show.
1242 (icomplete-exhibit): Compute completions even if we have no user input.
1243
1244 2013-12-23 Daniel Colascione <dancol@dancol.org>
1245
1246 * icomplete.el: Move `provide' to end of file.
1247
1248 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1249
1250 * net/gnutls.el (gnutls-verify-error): Add version tag.
1251
1252 2013-12-23 Chong Yidong <cyd@gnu.org>
1253
1254 * subr.el (set-transient-map): Rename from
1255 set-temporary-overlay-map. Doc fix.
1256
1257 * face-remap.el (text-scale-adjust):
1258 * indent.el (indent-rigidly):
1259 * kmacro.el (kmacro-call-macro):
1260 * minibuffer.el (minibuffer-force-complete):
1261 * repeat.el (repeat):
1262 * simple.el (universal-argument--mode):
1263 * calendar/todo-mode.el (todo-insert-item--next-param):
1264 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1265
1266 * indent.el (indent-rigidly): Use substitute-command-keys.
1267
1268 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1269
1270 * net/eww.el (eww-tag-select): Add text-property to jump to next
1271 select field.
1272 (eww): Add non-supported ftp error.
1273
1274 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1277 comments. Handle electric indent after typing `?' and `!'.
1278
1279 2013-12-22 Chong Yidong <cyd@gnu.org>
1280
1281 * faces.el (face-spec-recalc): If the theme specs are not
1282 applicable to a frame, fall back on the defface spec.
1283 This prevents themes from obliterating faces on low-color terminals.
1284
1285 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1288 after `{'. We need it after block openers, and it doesn't seem
1289 to hurt after hash openers.
1290
1291 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1294 extracted from `ruby-smie-rules'.
1295 (ruby--electric-indent-chars): New variable.
1296 (ruby--electric-indent-p): New function.
1297 (ruby-mode): Use `electric-indent-functions' instead of
1298 `electric-indent-chars'.
1299
1300 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1303 docstring.
1304 (ruby-smie-rules): Indent plus one level after `=>'.
1305
1306 2013-12-21 Richard Stallman <rms@gnu.org>
1307
1308 * simple.el (newline): Doc fix.
1309
1310 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1311
1312 * net/eww.el (eww-list-histories, eww-list-histories)
1313 (eww-history-browse, eww-history-quit, eww-history-kill)
1314 (eww-history-mode-map, eww-history-mode): New command and
1315 functions to list browser histories.
1316 (eww-form-text): Support text form with disabled
1317 and readonly attributes.
1318 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1319
1320 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1321
1322 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1323 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1324 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1325 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1326 Use `user-error'.
1327 (eww-bookmark-mode-map): Add menu.
1328 (eww-render, eww-mode): Use `setq-local'.
1329 (eww-tool-bar-map): New variable.
1330 (eww-mode): Set `tool-bar-map'.
1331 (eww-view-source): Check for `html-mode' with `fboundp'.
1332
1333 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1334
1335 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1336 elements with text inside. Also remove debugging.
1337
1338 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1339
1340 * cus-start.el (all): Add ns-use-srgb-colorspace.
1341
1342 2013-12-21 Chong Yidong <cyd@gnu.org>
1343
1344 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1345 undefined. Thus, theme settings for undefined faces do not take
1346 effect until the faces are defined with defface, the same as with
1347 theme variables.
1348
1349 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1350 (face-spec-reset-face): Don't assign extra properties in temacs.
1351 (face-spec-recalc): Apply X resources too.
1352
1353 2013-12-21 Chong Yidong <cyd@gnu.org>
1354
1355 * faces.el (face-spec-set):
1356 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1357 * custom.el (defface): Doc fixes (Bug#16203).
1358
1359 * indent.el (indent-rigidly-map): Add docstring, and move commands
1360 into named functions.
1361 (indent-rigidly-left, indent-rigidly-right)
1362 (indent-rigidly-left-to-tab-stop)
1363 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1364 indentation direction based on bidi direction, and accumulate
1365 sequential commands in a single undo boundary.
1366 (indent-rigidly--pop-undo): New utility function.
1367
1368 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1369
1370 * faces.el (read-face-name): Require crm.el when using crm-separator.
1371
1372 2013-12-20 Daniel Colascione <dancol@dancol.org>
1373
1374 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1375 so that we don't reflow comments into the shebang line.
1376
1377 2013-12-20 Juri Linkov <juri@jurta.org>
1378
1379 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1380 a position when `dired-directory' is non-nil. Check integer
1381 positions with `integerp'.
1382 (toggle-save-place, save-places-to-alist): Add check for
1383 `dired-directory'.
1384 (save-place-find-file-hook): Check integer positions with
1385 `integerp'.
1386 (save-place-dired-hook): Use `dired-goto-file' when
1387 `dired-filename' is found in the assoc list. Check integer
1388 positions with `integerp'.
1389 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1390
1391 * dired.el (dired-initial-position-hook): Rename back from
1392 `dired-initial-point-hook'.
1393 (dired-initial-position): Rename `dired-initial-point-hook' to
1394 `dired-initial-position-hook'.
1395 (dired-file-name-at-point): Doc fix. (Bug#15329)
1396
1397 2013-12-20 Juri Linkov <juri@jurta.org>
1398
1399 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1400 (read-regexp-suggestions): New function.
1401 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1402 Use `read-regexp-suggestions'. Add non-empty default to history
1403 for empty input.
1404 (occur-read-regexp-defaults-function): Remove function.
1405 (occur-read-primary-args): Use `regexp-history-last' instead of
1406 `occur-read-regexp-defaults-function'.
1407
1408 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1409 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1410 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1411 `hi-lock-read-regexp-defaults-function'. Doc fix.
1412 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1413 with `find-tag-default-as-symbol-regexp'. Doc fix.
1414 (hi-lock-read-regexp-defaults): Remove function.
1415 (hi-lock-regexp-okay): Add check for null.
1416
1417 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1418 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1419
1420 * subr.el (find-tag-default-as-symbol-regexp): New function.
1421 (find-tag-default-as-regexp): Move symbol regexp formatting to
1422 `find-tag-default-as-symbol-regexp'.
1423
1424 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1425
1426 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1427 (Bug#14179)
1428
1429 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1430
1431 * calendar/todo-mode.el: New implementation of item insertion
1432 commands and key bindings.
1433 (todo-key-prompt): New face.
1434 (todo-insert-item): New command.
1435 (todo-insert-item--parameters): New defconst, replacing defvar
1436 todo-insertion-commands-args-genlist.
1437 (todo-insert-item--param-key-alist): New defconst, replacing
1438 defvar todo-insertion-commands-arg-key-list.
1439 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1440 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1441 (todo-insert-item--next-param): New functions.
1442 (todo-insert-item--args, todo-insert-item--argleft)
1443 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1444 New variables.
1445 (todo-key-bindings-t): Change binding of "i" from
1446 todo-insertion-map to todo-insert-item.
1447 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1448 (todo-insertion-command-name, todo-insertion-commands-names)
1449 (todo-define-insertion-command, todo-insertion-commands)
1450 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1451
1452 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1453
1454 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1455 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1456 eval-when-compile.
1457 (todo-move-category): Allow choosing a non-existing todo file to
1458 move the category to, and create that file.
1459 (todo-default-priority): New user option.
1460 (todo-set-item-priority): Use it.
1461 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1462 (desktop-restore-file-buffer): Declare.
1463 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1464 (todo-modes-set-2): Locally set desktop-save-buffer to
1465 todo-desktop-save-buffer.
1466 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1467 (auto-mode-alist): Add autoload cookie.
1468
1469 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1470
1471 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1472 helpers.el was a poor choice of name.
1473 (string-remove-prefix): New function.
1474 (string-remove-suffix): New function.
1475
1476 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1477
1478 Fix assignment for new window total sizes.
1479 * window.el (window--pixel-to-size): Remove function.
1480 (window--pixel-to-total-1, window--pixel-to-total):
1481 Fix calculation of new total sizes.
1482
1483 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1484
1485 * comint.el (comint-output-filter): Fix rear-nonsticky property
1486 placement (Bug#16010).
1487
1488 2013-12-20 Chong Yidong <cyd@gnu.org>
1489
1490 * faces.el (read-color): Minor fix for completion function.
1491
1492 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1493
1494 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1495 New option. (Bug#16182)
1496 (ruby-smie--indent-to-stmt-p): Use it.
1497 (ruby-smie-rules): Revert the logic in the handling of `when'.
1498 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1499 (ruby-deep-arglist, ruby-deep-indent-paren)
1500 (ruby-deep-indent-paren-style): Update docstrings to note that the
1501 vars don't have any effect with SMIE.
1502
1503 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1504
1505 * calc/calc.el (calc-enter, calc-pop): Use the variable
1506 `calc-context-sensitive-enter'.
1507
1508 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1509
1510 * net/shr.el (shr-insert): Protect against infloops in degenerate
1511 tables.
1512
1513 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1514
1515 * progmodes/octave.el (octave): Add link to manual and octave
1516 homepage.
1517 (octave-mode-menu): Link to octave-mode manual.
1518
1519 2013-12-20 Leo Liu <sdl.web@gmail.com>
1520
1521 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1522 insertion using skeleton-end-newline. (Bug#16138)
1523
1524 2013-12-20 Juri Linkov <juri@jurta.org>
1525
1526 * replace.el (occur-engine): Use `add-face-text-property'
1527 to add the face property to matches and titles. (Bug#14645)
1528
1529 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1530 the palette of other hi-lock colors.
1531 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1532
1533 2013-12-19 Juri Linkov <juri@jurta.org>
1534
1535 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1536 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1537 (minibuffer-history-symbol): Move variable declaration closer to
1538 its usage.
1539
1540 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1541 (Bug#14785)
1542
1543 2013-12-19 Juri Linkov <juri@jurta.org>
1544
1545 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1546 New function.
1547 (log-edit-hook): Add it to :options. (Bug#16170)
1548
1549 2013-12-19 Juri Linkov <juri@jurta.org>
1550
1551 * simple.el (eval-expression-print-format): Don't check for
1552 command names and the last command. Always display additional
1553 formats of the integer result in the echo area, and insert them
1554 to the current buffer only with a zero prefix arg.
1555 Display character when char-displayable-p is non-nil.
1556 (eval-expression): With a zero prefix arg, set `print-length' and
1557 `print-level' to nil, and insert the integer values from
1558 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1559
1560 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1561 `eval-last-sexp-arg-internal'. Doc fix.
1562 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1563 `eval-last-sexp-print-value'. Doc fix.
1564 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1565 Set `print-length' and `print-level' to nil when arg is zero.
1566 (eval-last-sexp): Doc fix.
1567 (eval-defun-2): Print the integer values from
1568 `eval-expression-print-format' at the end.
1569
1570 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1571 values from `eval-expression-print-format' at the end.
1572
1573 * ielm.el (ielm-eval-input): Print the integer
1574 values from `eval-expression-print-format' at the end.
1575
1576 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1577
1578 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1579 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1580
1581 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1584 (hl-line-highlight, global-hl-line-highlight): Use it.
1585 (hl-line-overlay): Use defvar-local.
1586
1587 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1588
1589 * term/ns-win.el: Require dnd.
1590 (global-map): Remove drag items.
1591 (ns-insert-text, ns-set-foreground-at-mouse)
1592 (ns-set-background-at-mouse):
1593 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1594 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1595 New functions.
1596
1597 2013-12-19 Glenn Morris <rgm@gnu.org>
1598
1599 * emacs-lisp/ert.el (ert-select-tests):
1600 Fix string/symbol mixup. (Bug#16121)
1601
1602 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1603
1604 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1605 keywords to their parent.
1606
1607 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1608
1609 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1610 first arg to be a string (fixed dead code), or an operator symbol.
1611 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1612 operator symbols.
1613 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1614 did nothing. Don't respond to `(:after ".")', it will be called
1615 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1616 change anything. Only return indentation for binary operators
1617 when they are hanging. De-dent opening paren when its parent is
1618 `.', otherwise it looks bad when the dot is not at bol or eol
1619 (bug#16182).
1620
1621 2013-12-19 Juri Linkov <juri@jurta.org>
1622
1623 * replace.el (query-replace-read-args): Split a non-negative arg
1624 and a negative arg into separate elements.
1625 (query-replace, query-replace-regexp, replace-string)
1626 (replace-regexp): Add arg `backward'. Doc fix.
1627 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1628 move point to the beginning of the match.
1629 (replace-search, replace-highlight): Use new arg `backward'
1630 to set the value of `isearch-forward'.
1631 (perform-replace): Add arg `backward' and use it to perform
1632 replacement backward. (Bug#14979)
1633
1634 * isearch.el (isearch-query-replace): Use a negative prefix arg
1635 to call `perform-replace' with a non-nil arg `backward'.
1636
1637 2013-12-18 Juri Linkov <juri@jurta.org>
1638
1639 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1640 to the default list. Move `log-edit-show-files' to the end.
1641 Add more available functions to options.
1642 (log-edit): Move default specific settings to
1643 `log-edit-insert-message-template'. Don't move point.
1644 (log-edit-insert-message-template): New function.
1645 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1646 (Bug#16170)
1647
1648 2013-12-18 Juri Linkov <juri@jurta.org>
1649
1650 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1651 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1652
1653 2013-12-18 Leo Liu <sdl.web@gmail.com>
1654
1655 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1656 (Bug#16186)
1657
1658 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1659
1660 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1661 formats for displaying file sizes when the -s switch is given.
1662 Instead, compute a separate format for displaying the size in
1663 blocks, which is displayed in addition to the "regular" size.
1664 When -h is given in addition to -s, produce size in blocks in
1665 human-readable form as well. (Bug#16179)
1666
1667 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1668
1669 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1670 Reference tables with ~\ref{...} instead of only \ref{...}.
1671
1672 2013-12-18 Chong Yidong <cyd@gnu.org>
1673
1674 * cus-edit.el (custom-magic-alist): Fix "themed" description
1675 (Bug#14348).
1676
1677 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1678 is non-nil, do not create a new entry in the symbol's theme-value
1679 or theme-face property; update theme-settings only (Bug#14664).
1680 (custom-available-themes): Doc fix.
1681
1682 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1683 (Bug#15674).
1684
1685 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1686
1687 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1688
1689 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1690 (Bug#13914).
1691
1692 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1693
1694 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1695
1696 2013-12-18 Glenn Morris <rgm@gnu.org>
1697
1698 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1699 * cus-start.el (load-prefer-newer): New option.
1700
1701 2013-12-18 Le Wang <l26wang@gmail.com>
1702
1703 * comint.el (comint-previous-matching-input-from-input):
1704 Retain point (Bug#13404).
1705
1706 2013-12-18 Chong Yidong <cyd@gnu.org>
1707
1708 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1709
1710 2013-12-18 Glenn Morris <rgm@gnu.org>
1711
1712 * mail/emacsbug.el (report-emacs-bug):
1713 Only mention enable-multibyte-characters if non-standard.
1714
1715 2013-12-17 Juri Linkov <juri@jurta.org>
1716
1717 * arc-mode.el (archive-extract-by-file): Check if directory exists
1718 before deletion to not show irrelevant errors if it doesn't exist.
1719
1720 2013-12-17 Juri Linkov <juri@jurta.org>
1721
1722 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1723 (Bug#14751)
1724
1725 * net/eww.el (browse-web): Add alias to `eww'.
1726 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1727 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1728
1729 * net/browse-url.el (browse-url-browser-function): Move `eww'
1730 closer to similar functions.
1731
1732 * startup.el (fancy-startup-screen, fancy-about-screen):
1733 Set browse-url-browser-function to eww-browse-url locally.
1734 (Bug#14751)
1735
1736 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * window.el (window--pixel-to-total): Remove unused `mini' var.
1739 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1740 (split-window): Remove unused `new' var.
1741 (window--display-buffer): Remove unused `frame' and `delta' vars.
1742 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1743 and display-width'.
1744
1745 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1746
1747 * dired.el (dired-mark-pop-up):
1748 * register.el (register-preview): Don't bind
1749 split-height-threshold here since it's now done in
1750 display-buffer-below-selected.
1751
1752 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1753
1754 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1755 xterm-rgb-convert-to-16bit.
1756 (rxvt-register-default-colors): Standardize with
1757 xterm-register-default-colors (Bug#14078).
1758
1759 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1760
1761 * simple.el (kill-region): Pass mark first, then point, so that
1762 kill-append works right (Bug#12819).
1763 (copy-region-as-kill, kill-ring-save): Likewise.
1764
1765 2013-12-17 Leo Liu <sdl.web@gmail.com>
1766
1767 * net/rcirc.el (rcirc-add-face):
1768 * eshell/em-prompt.el (eshell-emit-prompt):
1769 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1770 (Bug#16167)
1771
1772 2013-12-17 Chong Yidong <cyd@gnu.org>
1773
1774 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1775 Suggested by Xue Fuqiao.
1776
1777 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1780
1781 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * net/shr.el (shr-insert-document): Remove unused var
1784 `shr-preliminary-table-render'.
1785 (shr-rescale-image): Remove unused arg `force'.
1786 (shr-put-image): Update calls accordingly.
1787 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1788
1789 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1790
1791 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1792 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1793 :close-all, to see which indentation method to use (Bug#16116).
1794 (smie-rules-function): Document the method :close-all.
1795
1796 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1797
1798 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1799
1800 * net/eww.el (eww-display-html): If we can't find the anchor we're
1801 looking for, then go to point-min.
1802
1803 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1804
1805 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1806 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1807 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1808 Expand dir too, in case it's relative.
1809
1810 2013-12-16 Juri Linkov <juri@jurta.org>
1811
1812 * desktop.el (desktop-auto-save-timeout): Change default to
1813 `auto-save-timeout'. Doc fix.
1814 (desktop-save): Skip the timestamp in desktop-saved-frameset
1815 when checking for auto-save changes.
1816 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1817 `desktop-auto-save' is called repeatedly by the idle timer.
1818 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1819 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1820 (Bug#15331)
1821
1822 2013-12-16 Juri Linkov <juri@jurta.org>
1823
1824 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1825 (Bug#16035)
1826 (isearch-pre-command-hook): Check `this-command' for symbolp.
1827
1828 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1831
1832 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1833
1834 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1835 (cfengine3--current-function): Bring in the current-function
1836 functionality from `cfengine3--current-word'.
1837 (cfengine3-completion-function): Bring in the
1838 bounds-of-current-word functionality from
1839 `cfengine3--current-word'.
1840
1841 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1842
1843 * window.el (display-buffer-below-selected):
1844 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1845
1846 2013-12-16 Leo Liu <sdl.web@gmail.com>
1847
1848 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1849 Remove NOMSG arg and all uses changed.
1850
1851 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1854 (cua--deactivate-rectangle): Don't deactivate the mark.
1855 (cua-set-rectangle-mark): Don't set mark-active since
1856 cua--activate-rectangle already does it for us.
1857 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1858 non-rectangular region.
1859
1860 * emulation/cua-base.el (cua-repeat-replace-region):
1861 Use with-current-buffer.
1862
1863 * net/gnutls.el: Use cl-lib.
1864 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1865
1866 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1867
1868 * emacs-lisp/package.el (package-built-in-p): Support both
1869 built-in and the package.el converted package descriptions.
1870 (package-show-package-list): Allow keywords.
1871 (package-keyword-button-action): Use it instead of
1872 `finder-list-matches'.
1873 (package-menu-filter-interactive): Interactive filtering (by
1874 keyword) function.
1875 (package-menu--generate): Support keywords and change keymappings
1876 and headers when they are given.
1877 (package--has-keyword-p): Helper function.
1878 (package-menu--refresh): Use it.
1879 (package--mapc): Helper function.
1880 (package-all-keywords): Use it.
1881 (package-menu-mode-map): Set up menu items and keybindings to
1882 provide a filtering UI.
1883
1884 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1885
1886 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1887 the behavior when a certificate fails validation. Defaults to
1888 old behavior: never abort, just warn.
1889 (gnutls-negotiate): Use it.
1890
1891 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1892
1893 * window.el (display-buffer-below-selected): Never split window
1894 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1895
1896 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1897
1898 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1899 (package-buffer-info): Use it (bug#15108).
1900
1901 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * icomplete.el (icomplete-completions): Make sure the prefix is already
1904 displayed elsewhere before hiding it (bug#16219).
1905
1906 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1909 open-paren tokens when preceded by a open-paren, too.
1910 (ruby-smie-rules): Handle virtual indentation after open-paren
1911 tokens specially. If there is code between it and eol, return the
1912 column where is starts (Bug#16118).
1913
1914 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1915
1916 * progmodes/cfengine.el: Fix `add-hook' doc.
1917 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1918 (cfengine3--current-word): Fix parameters.
1919 (cfengine3-make-syntax-cache): Simplify further.
1920 (cfengine3-completion-function, cfengine3--current-function):
1921 Use `assq' for symbols.
1922 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1923
1924 2013-12-13 Glenn Morris <rgm@gnu.org>
1925
1926 * loadup.el (load-path): Warn if site-load or site-init changes it.
1927 No more need to reset it when bootstrapping.
1928
1929 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1930
1931 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1932 locations for cf-promises.
1933 (cfengine-mode-syntax-functions-regex): New caching variable.
1934 (cfengine3-fallback-syntax): Fallback syntax for cases where
1935 cf-promises doesn't run.
1936 (cfengine3--current-word): Reimplement using
1937 `cfengine-mode-syntax-functions-regex'.
1938 (cfengine3-completion-function, cfengine3--current-function):
1939 Use `cfengine3-make-syntax-cache' directly.
1940 (cfengine3-clear-syntax-cache): New function.
1941 (cfengine3-make-syntax-cache): Simplify and create
1942 `cfengine-mode-syntax-functions-regex' on demand.
1943 (cfengine3-format-function-docstring): Don't call
1944 `cfengine3-make-syntax-cache' explicitly.
1945
1946 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1947
1948 Fix windmove-find-other-window broken after pixelwise resizing
1949 (Bug#16017).
1950 * windmove.el (windmove-other-window-loc): Revert change from
1951 2013-12-04.
1952 (windmove-find-other-window): Call window-in-direction.
1953 * window.el (window-in-direction): New arguments SIGN, WRAP and
1954 MINI to emulate original windmove-find-other-window behavior.
1955
1956 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * simple.el (blink-matching--overlay): New variable.
1959 (blink-matching-open): Instead of moving point, highlight the
1960 matching paren with an overlay
1961 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1962
1963 * faces.el (paren-showing-faces, show-paren-match)
1964 (show-paren-mismatch): Move from paren.el.
1965
1966 2013-12-13 Leo Liu <sdl.web@gmail.com>
1967
1968 * indent.el (indent-region): Disable progress reporter in
1969 minibuffer. (Bug#16108)
1970
1971 * bindings.el (visual-order-cursor-movement): Fix version.
1972
1973 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1974
1975 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1976 Also match after beginning of line.
1977 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1978 files. Thanks to Russell Sim. (Bug#15378)
1979
1980 2013-12-13 Juri Linkov <juri@jurta.org>
1981
1982 * simple.el <Keypad support>: Remove key bindings duplicated
1983 with bindings.el. (Bug#14397)
1984
1985 2013-12-13 Juri Linkov <juri@jurta.org>
1986
1987 * comint.el (comint-mode-map): Replace `delete-char' with
1988 `delete-forward-char'. (Bug#16109)
1989
1990 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1991
1992 * progmodes/python.el (python-indent-calculate-indentation):
1993 Fix de-denters cornercase. (Bug#15731)
1994
1995 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1998 (advice--make): Pay attention to `depth'.
1999 (advice--make-1): Don't autoload commands eagerly.
2000 * emacs-lisp/elp.el (elp-instrument-function):
2001 * emacs-lisp/trace.el (trace-function-internal):
2002 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2003
2004 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2005
2006 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2007
2008 * term/w32-win.el (w32-handle-dropped-file):
2009 * startup.el (normal-top-level):
2010 * net/browse-url.el (browse-url-file-url):
2011 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2012 decode file names using 'utf-8' rather than
2013 file-name-coding-system.
2014
2015 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2016
2017 * progmodes/python.el (python-indent-context)
2018 (python-indent-calculate-indentation): Fix auto-identation
2019 behavior for comment blocks. (Bug#15916)
2020
2021 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2022
2023 * progmodes/python.el (python-indent-calculate-indentation):
2024 When determining indentation, don't treat "return", "pass", etc., as
2025 operators when they are just string constituents. (Bug#15812)
2026
2027 2013-12-12 Juri Linkov <juri@jurta.org>
2028
2029 * uniquify.el (uniquify-buffer-name-style): Change default to
2030 `post-forward-angle-brackets'.
2031
2032 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2033 `uniquify'. Change default to `post-forward-angle-brackets'.
2034
2035 2013-12-11 Glenn Morris <rgm@gnu.org>
2036
2037 * emacs-lisp/package.el (finder-list-matches):
2038 Autoload rather than falsely declaring.
2039
2040 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2041
2042 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2043 (eww-mode-map): Use them.
2044
2045 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2046
2047 * window.el (display-buffer-in-side-window): Fix doc-string
2048 (Bug#16115).
2049
2050 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2051
2052 * vc/vc-git.el: Silence byte-compiler warnings.
2053 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2054 (log-edit-set-header): Declare.
2055
2056 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2057
2058 * Makefile.in (custom-deps, finder-data): Run output file names
2059 through unmsys--file-name. (Bug#16099)
2060
2061 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2064 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2065
2066 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2067 instead of deleting the selection "by hand" (bug#16098).
2068 Rely on insert-for-yank to yank rectangles.
2069 (cua-highlight-region-shift-only): Mark obsolete.
2070 (cua-mode): Don't enable/disable transient-mark-mode,
2071 shift-select-mode (cua-mode works both with and without them), and
2072 pc-selection-mode (obsolete).
2073 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2074 (cua--deactivate-rectangle): Deactivate it.
2075
2076 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2077 (delete-selection-helper): Make sure yank starts at the top of the
2078 deleted region.
2079 (minibuffer-keyboard-quit): Use region-active-p.
2080
2081 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2082
2083 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2084 to `delete' (bug#16109).
2085
2086 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2087
2088 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2089 info manual and show keybindings and set `:group' keyword.
2090
2091 2013-12-11 Juri Linkov <juri@jurta.org>
2092
2093 * delsel.el (delete-active-region): Let-bind `this-command'
2094 to prevent `kill-region' from changing its original value.
2095 (delete-selection-helper): Handle `overwrite-mode' for the type
2096 `kill' exactly the same way as for the type `t'.
2097 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2098 Support more commands. (Bug#13312)
2099
2100 2013-12-11 Juri Linkov <juri@jurta.org>
2101
2102 * bindings.el: Map kp keys to non-kp keys systematically
2103 with basic modifiers control, meta and shift. (Bug#14397)
2104
2105 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2106
2107 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2108 "Close browser" menu items. Fix wrong function of "List
2109 bookmarks".
2110
2111 2013-12-11 Juri Linkov <juri@jurta.org>
2112
2113 * misearch.el (multi-isearch-buffers): Set the value of
2114 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2115 arg of isearch-forward to t.
2116 (multi-isearch-buffers-regexp): Set the value of
2117 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2118 arg of isearch-forward-regexp to t.
2119 (multi-isearch-files): Set the value of
2120 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2121 arg of isearch-forward to t.
2122 (multi-isearch-files-regexp): Set the value of
2123 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2124 arg of isearch-forward-regexp to t. (Bug#16035)
2125
2126 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2127 arg of isearch-forward to t.
2128 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2129 arg of isearch-forward-regexp to t.
2130 (dired-isearch-filter-filenames): Remove unnecessary check for
2131 `dired-isearch-filenames'.
2132
2133 * comint.el (comint-history-isearch-backward):
2134 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2135 (comint-history-isearch-backward-regexp):
2136 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2137
2138 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2139
2140 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2141 unmsys--file-name. (Bug#16099)
2142
2143 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2144
2145 * emacs-lisp/package.el (package-keyword-button-action):
2146 Remove finder.el require dependency.
2147
2148 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2149
2150 * emacs-lisp/package.el: Require finder.el.
2151 (describe-package-1): Add keyword buttons.
2152 (package-make-button): New convenience function.
2153 (package-keyword-button-action): Keyword button action using
2154 `finder-list-matches'.
2155
2156 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2157
2158 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2159 last commit.
2160
2161 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2162
2163 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2164 symlinked files.
2165
2166 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2167
2168 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2169 after the end of a percent literal.
2170
2171 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2172
2173 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2174 Handle caret-delimited strings (Bug#16079).
2175
2176 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2177
2178 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2179 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2180 `ruby-parse-partial' (Bug#16078).
2181
2182 2013-12-09 Leo Liu <sdl.web@gmail.com>
2183
2184 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2185
2186 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2187
2188 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2189 (js-switch-indent-offset): New option.
2190 (js--proper-indentation): Use it. And handle the case when
2191 "default" is actually a key in an object literal.
2192 (js--same-line): New function.
2193 (js--multi-line-declaration-indentation): Use it.
2194 (js--indent-in-array-comp, js--array-comp-indentation):
2195 New functions.
2196 (js--proper-indentation): Use them, to handle array comprehension
2197 continuations.
2198
2199 2013-12-08 Leo Liu <sdl.web@gmail.com>
2200
2201 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2202 (flymake-make-overlay): Remove arg MOUSE-FACE.
2203 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2204
2205 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2208 New function.
2209 (redisplay-highlight-region-function): Use it.
2210
2211 * emulation/cua-base.el (cua--explicit-region-start)
2212 (cua--last-region-shifted): Remove.
2213 (cua--deactivate): Use deactivate-mark.
2214 (cua--pre-command-handler-1): Don't handle shift-selection.
2215 (cua--post-command-handler-1): Don't change transient-mark-mode.
2216 (cua--select-keymaps): Use region-active-p rather than
2217 cua--explicit-region-start or cua--last-region-shifted.
2218 (cua-mode): Enable shift-select-mode.
2219
2220 2013-12-08 Leo Liu <sdl.web@gmail.com>
2221
2222 * progmodes/flymake.el (flymake-popup-current-error-menu):
2223 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2224 (flymake-posn-at-point-as-event, flymake-popup-menu)
2225 (flymake-make-emacs-menu): Remove. (Bug#16077)
2226
2227 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * rect.el (rectangle-mark-mode): Activate mark even if
2230 transient-mark-mode is off (bug#16066).
2231 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2232 is > mark and at bolp.
2233
2234 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2235 (region-extract-function): Use it.
2236 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2237 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2238 Delete functions.
2239 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2240 kill-ring-save, kill-region, delete-char, delete-forward-char.
2241 Ignore self-insert-iso.
2242
2243 * emulation/cua-gmrk.el (cua--init-global-mark):
2244 Ignore `self-insert-iso'.
2245
2246 * emulation/cua-base.el (cua--prefix-copy-handler)
2247 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2248 checking cua--rectangle.
2249 (cua-delete-region): Use region-extract-function.
2250 (cua-replace-region): Delete function.
2251 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2252 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2253 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2254 (cua--init-keymaps): Don't remap delete-selection commands.
2255 (cua-mode): Use delete-selection-mode instead of rolling our own
2256 (bug#16085).
2257
2258 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2259 Obey region-extract-function.
2260
2261 Make registers and delete-selection-mode work on rectangles.
2262 * register.el (describe-register-1): Don't modify the register's value.
2263 (copy-to-register): Obey region-extract-function.
2264 * delsel.el (delete-active-region): Obey region-extract-function.
2265
2266 2013-12-08 Leo Liu <sdl.web@gmail.com>
2267
2268 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2269 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2270 (flymake-compilation-prevents-syntax-check)
2271 (flymake-start-syntax-check-on-newline)
2272 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2273 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2274 (flymake-xml-program, flymake-master-file-dirs)
2275 (flymake-master-file-count-limit)
2276 (flymake-allowed-file-name-masks): Relocate.
2277 (flymake-makehash, flymake-float-time)
2278 (flymake-replace-regexp-in-string, flymake-split-string)
2279 (flymake-get-temp-dir): Remove.
2280 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2281 (flymake-current-row, flymake-selected-frame)
2282 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2283 related functions. (Bug#16077)
2284
2285 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2286
2287 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2288
2289 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2290
2291 * help-fns.el (describe-function-1): Use new advice-* functions
2292 rather than old ad-* functions. Fix function type description and
2293 source links for advised functions and subrs.
2294
2295 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2296
2297 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2298
2299 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * progmodes/compile.el (compilation-start):
2302 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2303
2304 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2305 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2306
2307 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2308
2309 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2310 Touch up the last change.
2311
2312 2013-12-06 Leo Liu <sdl.web@gmail.com>
2313
2314 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2315 (inferior-octave-startup): Always use "octave> " for prompt.
2316 (octave-goto-function-definition)
2317 (octave-sync-function-file-names)
2318 (octave-find-definition-default-filename): Remove redundant backquotes.
2319
2320 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2321
2322 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2323 syntax for `?'.
2324 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2325 where appropriate already.
2326 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2327 end of method names (Bug#15874).
2328
2329 2013-12-06 Juri Linkov <juri@jurta.org>
2330
2331 * isearch.el (isearch--saved-overriding-local-map):
2332 New internal variable.
2333 (isearch-mode): Set it to the initial value of
2334 `overriding-terminal-local-map'.
2335 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2336 with `isearch--saved-overriding-local-map'. (Bug#16035)
2337
2338 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2339
2340 * progmodes/octave.el (inferior-octave-completion-table):
2341 Turn back into function, use `completion-table-with-cache'
2342 (Bug#11906). Update all references.
2343
2344 * minibuffer.el (completion-table-with-cache): New function.
2345
2346 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2347
2348 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2349
2350 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2351
2352 * net/eww.el (eww-current-source): New variable to store page
2353 source.
2354 (eww-display-html, eww-mode, eww-save-history)
2355 (eww-restore-history): Use it.
2356 (eww-view-source): New command to view page source.
2357 Opportunistically uses `html-mode' to highlight the buffer.
2358 (eww-mode-map): Install it.
2359
2360 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2361
2362 * net/dbus.el (dbus-unregister-service)
2363 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2364 Fix docstring.
2365 (dbus-unregister-service): Skip :serial entries in
2366 `dbus-registered-objects-table'.
2367 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2368
2369 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2370
2371 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2372 around keywords with extra `split-string' argument.
2373
2374 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2375
2376 * windmove.el (windmove-other-window-loc): Handle navigation
2377 between windows (excluding the minibuffer window - Bug#16017).
2378
2379 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2382 in D-Bus type syntax.
2383 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2384 preserve unibyte strings. (Bug#16048)
2385
2386 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2389 Call force-mode-line-update is the proper buffer (bug#16042).
2390
2391 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2392
2393 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2394 `log-edit-remember-comment', make argument optional. Adjust all
2395 callers.
2396 (log-edit-mode): Add `log-edit-remember-comment' to
2397 `kill-buffer-hook' locally.
2398 (log-edit-kill-buffer): Don't remember comment explicitly since
2399 the buffer is killed anyway.
2400
2401 2013-12-04 Juri Linkov <juri@jurta.org>
2402
2403 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2404 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2405
2406 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2407
2408 * notifications.el (notifications-close-notification): Call the
2409 D-Bus method with ID being a `:uint32'. (Bug#16030)
2410
2411 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2412
2413 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2414
2415 2013-12-03 Juri Linkov <juri@jurta.org>
2416
2417 * progmodes/compile.el (compilation-start): Rename window alist
2418 entry `no-display-ok' to `allow-no-window'.
2419
2420 * simple.el (shell-command): Add window alist entry
2421 `allow-no-window' to `display-buffer'.
2422 (async-shell-command): Doc fix.
2423
2424 * window.el (display-buffer-no-window): New action function.
2425 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2426
2427 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * vc/log-edit.el (log-edit-set-header): Extract from
2430 `log-edit-toggle-header'.
2431 (log-edit-extract-headers): Separate the summary, when extracted
2432 from header, from the rest of the message with an empty line.
2433
2434 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2435 line, if present, to the Summary header.
2436
2437 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2440 in current-buffer (bug#16029).
2441
2442 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2443
2444 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2445 (debugger-mode-map): Bind it.
2446 (debugger--backtrace-base): New function.
2447 (debugger-eval-expression): Use it.
2448 (debugger-frame-number): Skip local vars when present.
2449 (debugger--locals-visible-p, debugger--insert-locals)
2450 (debugger--show-locals, debugger--hide-locals): New functions.
2451
2452 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2453
2454 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2455 "LC_ALL".
2456 (tramp-get-remote-locale): New defun.
2457 (tramp-open-connection-setup-interactive-shell): Use it.
2458
2459 2013-12-02 Leo Liu <sdl.web@gmail.com>
2460
2461 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2462
2463 * progmodes/sh-script.el (sh-shell-process):
2464 * progmodes/octave.el (inferior-octave-process-live-p):
2465 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2466 (gdb-inferior-io-sentinel):
2467 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2468
2469 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2470
2471 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2472 `save-selected-window' to `log-edit-hide-buf'. This makes
2473 `log-edit-show-files' idempotent.
2474 (log-edit-show-files): Mark the new window as dedicated.
2475
2476 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * vc/log-edit.el (log-edit-mode-map): Add binding for
2479 `log-edit-kill-biffer'.
2480 (log-edit-hide-buf): Add a FIXME comment.
2481 (log-edit-add-new-comment): New function, extracted from
2482 `log-edit-done'.
2483 (log-edit-done, log-edit-add-to-changelog): Use it.
2484 (log-edit-kill-buffer): New command.
2485
2486 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2487
2488 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2489 instead of killing the buffer.
2490
2491 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2494
2495 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2496
2497 * net/eww.el (eww-form-checkbox-selected-symbol)
2498 (eww-form-checkbox-symbol): New customizable variable.
2499 (eww-form-checkbox, eww-toggle-checkbox):
2500 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2501
2502 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2503 (shr--get-media-pref, shr--extract-best-source): New function.
2504 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2505 no :src tag was specified.
2506
2507 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2508 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2509 Use \\` to match beginning of string instead of ^.
2510 (eww-browse-with-external-browser): Provide optional URL parameter.
2511 (eww-render): Set `eww-current-title' back to "".
2512
2513 * net/shr.el (shr-tag-video): Display content for video if no
2514 poster is available.
2515 (shr-tag-audio): Add support for <audio> tag.
2516
2517 * net/eww.el (eww-text-input-types): New const.
2518 (eww-process-text-input): Treat input types in
2519 `eww-text-input-types' as text.
2520
2521 * net/shr.el (shr-tag-table): Fix comment typo.
2522
2523 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2524
2525 * net/eww.el (eww-follow-link): New command to avoid reloading
2526 pages when we follow #target links (bug#15243).
2527 (eww-quit): Special mode buffers shouldn't query before exiting.
2528
2529 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2530
2531 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2532 forms.
2533
2534 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2535
2536 * net/eww.el (eww-restore-history): Update the window title after
2537 moving in the history.
2538 (eww-current-dom): New variable used to save the current DOM.
2539
2540 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2541
2542 * vc/log-edit.el (log-edit-mode-map): Add binding for
2543 `log-edit-beginning-of-line'.
2544 (log-edit-setup-add-author): New user option.
2545 (log-edit-beginning-of-line): New command.
2546 (log-edit): Move major mode call above the contents setup so that
2547 the local variable values are already applied.
2548 (log-edit): Only insert "Author: " when
2549 `log-edit-setup-add-author' is non-nil.
2550 (log-edit): When SETUP is non-nil, position point after ": "
2551 instead of point-min.
2552
2553 2013-12-01 Glenn Morris <rgm@gnu.org>
2554
2555 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2556
2557 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2558
2559 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2560 redisplay to make sure the initial frame gets a chance to become
2561 visible. (Bug#16014)
2562
2563 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2564
2565 Support resizing frames and windows pixelwise.
2566 * cus-start.el (frame-resize-pixelwise)
2567 (window-resize-pixelwise): New entries.
2568 * emacs-lisp/debug.el (debug): Use window-total-height instead
2569 of window-total-size.
2570 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2571 * help.el (describe-bindings-internal): Call help-buffer
2572 (temp-buffer-max-width): New option.
2573 (resize-temp-buffer-window, help-window-setup)
2574 (with-help-window): Rewrite.
2575 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2576 dragging dividers.
2577 * window.el (frame-char-size, window-min-pixel-height)
2578 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2579 (window-min-pixel-width, window-safe-min-pixel-size)
2580 (window-combination-p, window-safe-min-size)
2581 (window-resizable-p, window--size-to-pixel)
2582 (window--pixel-to-size, window--resize-apply-p): New functions.
2583 (window-safe-min-height): Fix doc-string.
2584 (window-size, window-min-size, window--min-size-1)
2585 (window-sizable, window-sizable-p, window--min-delta-1)
2586 (window-min-delta, window--max-delta-1, window-max-delta)
2587 (window--resizable, window--resizable-p, window-resizable)
2588 (window-full-height-p, window-full-width-p, window-at-side-p)
2589 (window--in-direction-2, window-in-direction)
2590 (window--resize-reset-1, window--resize-mini-window)
2591 (window-resize, window-resize-no-error)
2592 (window--resize-child-windows-normal)
2593 (window--resize-child-windows, window--resize-siblings)
2594 (window--resize-this-window, window--resize-root-window)
2595 (window--resize-root-window-vertically)
2596 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2597 (maximize-window, minimize-window, delete-window)
2598 (quit-restore-window, window-split-min-size, split-window)
2599 (balance-windows-2, balance-windows)
2600 (balance-windows-area-adjust, balance-windows-area)
2601 (window--state-get-1, window-state-get, window--state-put-1)
2602 (window--state-put-2, window-state-put)
2603 (display-buffer-record-window, window--display-buffer):
2604 Make functions handle pixelwise sizing of windows.
2605 (display-buffer--action-function-custom-type)
2606 (display-buffer-fallback-action):
2607 Add display-buffer-in-previous-window.
2608 (display-buffer-use-some-window): Resize window to height it had
2609 before.
2610 (fit-window-to-buffer-horizontally): New option.
2611 (fit-frame-to-buffer): Describe new values.
2612 (fit-frame-to-buffer-bottom-margin): Replace with
2613 fit-frame-to-buffer-margins.
2614 (window--sanitize-margin): New function.
2615 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2616 using window-text-pixel-size.
2617
2618 2013-11-30 Glenn Morris <rgm@gnu.org>
2619
2620 * emacs-lisp/bytecomp.el (byte-compile-form):
2621 Make the `interactive-only' warning like the `obsolete' one.
2622 * comint.el (comint-run):
2623 * files.el (insert-file-literally, insert-file):
2624 * replace.el (replace-string, replace-regexp):
2625 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2626 (goto-line, insert-buffer, next-line, previous-line):
2627 Tweak `interactive-only' spec.
2628
2629 Stop keeping (most) generated cedet grammar files in the repository.
2630 * Makefile.in (semantic): New.
2631 (compile-main): Depend on semantic.
2632
2633 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2636 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2637
2638 * uniquify.el (uniquify-buffer-name-style): Change default.
2639
2640 * loadup.el: Preload "uniquify".
2641
2642 * time.el (display-time-update): Update all mode lines (bug#15999).
2643
2644 * electric.el (electric-indent-mode): Enable by default.
2645 * loadup.el: Preload "electric".
2646
2647 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2648
2649 * emacs-lisp/helpers.el (string-empty-p): New function.
2650 (string-blank-p): New function.
2651
2652 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2653
2654 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2655 (Bug#14029).
2656
2657 2013-11-29 Andreas Politz <politza@fh-trier.de>
2658 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2659 allow non-lambda lists as functions.
2660 (imenu--in-alist): Don't recurse into non-subalists.
2661 (imenu): Don't pass function itself as an argument (Bug#14029).
2662
2663 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * progmodes/python.el (python-mode-map): Remove binding for ":".
2666 (python-indent-electric-colon): Remove command.
2667 (python-indent-post-self-insert-function): Integrate the previous code
2668 of python-indent-electric-colon. Make it conditional on
2669 electric-indent-mode.
2670 (python-mode): Add ?: to electric-indent-chars.
2671 Move python-indent-post-self-insert-function to the end of
2672 post-self-insert-hook.
2673
2674 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * doc-view.el (doc-view-goto-page): Update mode-line.
2677
2678 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2679
2680 2013-11-27 Glenn Morris <rgm@gnu.org>
2681
2682 * international/charprop.el, international/uni-bidi.el:
2683 * international/uni-category.el, international/uni-combining.el:
2684 * international/uni-comment.el, international/uni-decimal.el:
2685 * international/uni-decomposition.el, international/uni-digit.el:
2686 * international/uni-lowercase.el, international/uni-mirrored.el:
2687 * international/uni-name.el, international/uni-numeric.el:
2688 * international/uni-old-name.el, international/uni-titlecase.el:
2689 * international/uni-uppercase.el:
2690 Remove generated files from VCS repository.
2691
2692 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2693
2694 * filenotify.el (file-notify-add-watch): Don't special-case
2695 w32notify when computing the directory to watch.
2696
2697 2013-11-27 Glenn Morris <rgm@gnu.org>
2698
2699 Make bootstrap without generated uni-*.el files possible again.
2700 * loadup.el: Update command-line-args checking for unidata-gen.
2701 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2702 * composite.el, international/characters.el:
2703 Handle unicode tables being undefined.
2704
2705 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2706 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2707 (compile-main): Depend on leim rule.
2708 (leim): New rule.
2709 * loadup.el: Move leim-list.el to leim/ subdirectory.
2710 * startup.el (normal-top-level): No more leim directory.
2711 * international/ja-dic-cnv.el (skkdic-convert):
2712 Disable version-control and autoloads in output files.
2713 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2714 Disable version-control and autoloads in output files.
2715 * leim/quail: Move here from ../leim.
2716 * leim/quail/hangul.el (hangul-input-method-activate):
2717 Add autoload cookie.
2718 (generated-autoload-load-name): Set file-local value.
2719 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2720 (generated-autoload-load-name): Set file-local value.
2721
2722 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2723
2724 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2725 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2726 (eww-quit): Ask confirmation before quitting eww.
2727
2728 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2729
2730 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2731 reading output from Diff on MS-Windows and MS-DOS.
2732
2733 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2734
2735 * emacs-lisp/helpers.el (string-reverse): New function.
2736
2737 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2738
2739 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2740 names on MS Windows, like "/[::1]:".
2741
2742 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2743 SWITCHES.
2744
2745 2013-11-26 Glenn Morris <rgm@gnu.org>
2746
2747 * progmodes/python.el (python-indent-guess-indent-offset):
2748 Avoid corner-case error. (Bug#15975)
2749
2750 Preload leim-list.el. (Bug#4789)
2751 * loadup.el: Load leim-list.el when found.
2752 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2753
2754 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2755
2756 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2757
2758 * emacs-lisp/helpers.el (string-join): New function.
2759
2760 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2761
2762 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2763 Mark as obsolete and replace it with a symbol property.
2764 (byte-compile-form): Use new 'interactive-only property.
2765 * comint.el, files.el, replace.el, simple.el:
2766 Apply new 'interactive-only properly.
2767
2768 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2769
2770 * window.el (display-buffer-at-bottom): Make sure that
2771 split-window-sensibly creates the new window on bottom
2772 (Bug#15961).
2773
2774 2013-11-23 David Kastrup <dak@gnu.org>
2775
2776 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2777 on the conflict markers when available.
2778 (smerge--get-marker): New function.
2779 (smerge-end-re, smerge-base-re): Add subgroup.
2780
2781 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * frame.el (handle-focus-in, handle-focus-out): Add missing
2784 interactive spec.
2785
2786 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2787
2788 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2789 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2790
2791 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2794 (gomoku--last-pos): New var.
2795 (gomoku--intangible-chars): New const.
2796 (gomoku--intangible): New function.
2797 (gomoku-mode): Use it. Derive from special-mode.
2798 (gomoku-move-up): Adjust line count.
2799 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2800 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2801 Simplify accordingly.
2802
2803 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2804 Remove blink-cursor code.
2805 (blink-cursor-timer-function, blink-cursor-suspend):
2806 Don't special-case GUIs.
2807 (blink-cursor-mode): Use focus-in/out-hook.
2808
2809 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2810
2811 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2812 work when annotation is invisible (Bug#13886).
2813
2814 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2815
2816 * json.el (json-alist-p): Only return non-nil if the alist has
2817 simple keys (Bug#13518).
2818
2819 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2820
2821 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2822 when control-statement is the first statement in a buffer (Bug#15956).
2823
2824 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2825
2826 * imenu.el (imenu-generic-skip-comments-and-strings):
2827 New option (Bug#15560).
2828 (imenu--generic-function): Use it.
2829
2830 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2831
2832 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2833 (Bug#13898)
2834
2835 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2836
2837 * emacs-lisp/helpers.el: Add some string helpers.
2838 (string-trim-left): Removes leading whitespace.
2839 (string-trim-right): Removes trailing whitespace.
2840 (string-trim): Removes leading and trailing whitespace.
2841
2842 * subr.el (string-suffix-p): New function.
2843
2844 2013-11-23 Glenn Morris <rgm@gnu.org>
2845
2846 * progmodes/python.el (python-shell-send-file):
2847 Add option to delete file when done. (Bug#15647)
2848 (python-shell-send-string, python-shell-send-region): Use it.
2849
2850 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2851
2852 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2853 to set buffer-read-only to t, never to nil. (Bug#15938)
2854
2855 * textmodes/tex-mode.el (latex-noindent-environments):
2856 Add safe-local-variable property. (Bug#15936)
2857
2858 2013-11-23 Glenn Morris <rgm@gnu.org>
2859
2860 * textmodes/enriched.el (enriched-mode): Doc fix.
2861 * emacs-lisp/authors.el (authors-renamed-files-alist):
2862 Add enriched.doc -> enriched.txt.
2863
2864 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2865
2866 2013-11-22 Leo Liu <sdl.web@gmail.com>
2867
2868 * progmodes/octave.el (inferior-octave-startup): Spit out error
2869 message.
2870
2871 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2872
2873 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2874 Improve docstring.
2875 Add :version.
2876 (ruby-encoding-magic-comment-style): Add :version.
2877
2878 2013-11-22 Leo Liu <sdl.web@gmail.com>
2879
2880 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2881 (Bug#15076)
2882 (octave-help-mode): Adapt to change to help-mode-finish to use
2883 derived-mode-p on 2013-09-17.
2884 (inferior-octave-prompt): Also match octave-gui.
2885 (octave-kill-process): Don't ask twice. (Bug#10564)
2886
2887 2013-11-22 Leo Liu <sdl.web@gmail.com>
2888
2889 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2890 (inferior-octave-startup, inferior-octave-check-process)
2891 (inferior-octave-track-window-width-change)
2892 (octave-completion-at-point, octave-eldoc-function): Use it.
2893 (octave-kill-process): Provide confirmation. (Bug#10564)
2894
2895 2013-11-21 Leo Liu <sdl.web@gmail.com>
2896
2897 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2898 Fix obsolete variable comment-use-global-state.
2899
2900 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2901
2902 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2903 Add `octave-source-file'.
2904 (octave-source-file): New function. (Bug#15935)
2905
2906 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2907
2908 * net/eww.el (eww-local-regex): New variable.
2909 (eww): Use it to detect localhost and similar.
2910
2911 2013-11-21 Leo Liu <sdl.web@gmail.com>
2912
2913 Add completion for command `ag'.
2914 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2915 (pcomplete/ag): New function.
2916 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2917
2918 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2921 (bug#14646).
2922 (make-obsolete): Remove interactive spec.
2923
2924 2013-11-21 Glenn Morris <rgm@gnu.org>
2925
2926 * startup.el (command-line-1): Use path-separator with -L.
2927
2928 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2929
2930 * emacs-lisp/package.el (describe-package-1): Add package archive
2931 to shown fields.
2932
2933 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2934
2935 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2936 Change default to "# encoding: %s" to differentiate it from the
2937 default Ruby encoding comment template.
2938
2939 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2940
2941 * ses.el (ses-mode): Doc fix. (Bug#14748)
2942
2943 2013-11-20 Leo Liu <sdl.web@gmail.com>
2944
2945 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2946
2947 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2948
2949 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2950 when rebase or bisect are in progress.
2951
2952 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2953
2954 * filenotify.el (file-notify-add-watch): Doc fix.
2955
2956 2013-11-19 Leo Liu <sdl.web@gmail.com>
2957
2958 * obsolete/rcompile.el: Mark obsolete.
2959
2960 * progmodes/compile.el (compilation-start)
2961 (compilation-goto-locus, compilation-find-file):
2962 Pass no-display-ok and handle nil value from display-buffer.
2963 (Bug#13594)
2964
2965 * window.el (display-buffer-alist, display-buffer): Document the
2966 new parameter no-display-ok. Return either a window or nil
2967 but never a non-window value.
2968
2969 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * electric.el (electric-indent-mode-map): Remove.
2972 (electric-indent-mode): Change the global-map instead (bug#15915).
2973
2974 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2975 Use add-function.
2976
2977 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 * emacs-lisp/nadvice.el (remove-function): Align with
2980 add-function's behavior.
2981
2982 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2983 (gdb--string-regexp): New constant.
2984 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2985 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2986 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2987 submatch 1.
2988 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2989 Adjust use accordingly.
2990 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2991
2992 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2993
2994 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2995 interpolation curlies (Bug#15914).
2996
2997 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2998
2999 * calc/calc.el (calc-context-sensitive-enter): New variable.
3000 (calc-enter): Use `calc-context-sensitive-enter'.
3001
3002 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3003
3004 * progmodes/cfengine.el: Version bump.
3005 (cfengine-cf-promises): New defcustom to locate cf-promises.
3006 (cfengine3-vartypes): Add new "data" type.
3007 (cfengine3--current-word): New function to get current name-like
3008 word or its bounds.
3009 (cfengine3--current-function): New function to look up a CFEngine
3010 function's definition.
3011 (cfengine3-format-function-docstring): New function.
3012 (cfengine3-make-syntax-cache): New function.
3013 (cfengine3-documentation-function): New function: ElDoc glue.
3014 (cfengine3-completion-function): New function: completion glue.
3015 (cfengine3-mode): Set `compile-command',
3016 `eldoc-documentation-function', and add to
3017 `completion-at-point-functions'.
3018
3019 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3022 `tramp-current-connection'.
3023
3024 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3025
3026 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3027 nil/self/true/false with "end of symbol".
3028
3029 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3030
3031 * subr.el (version-regexp-alist): Fix a typo.
3032
3033 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3034
3035 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3036 "en_US.utf8" and "LC_CTYPE" to "".
3037 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3038 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3039
3040 2013-11-15 Leo Liu <sdl.web@gmail.com>
3041
3042 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3043
3044 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * progmodes/gud.el (ctl-x-map):
3047 Remove C-x SPC binding. (Bug#12342)
3048 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3049
3050 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3051
3052 * subr.el (version-regexp-alist):
3053 Recognize hg, svn and darcs versions as snapshot versions.
3054
3055 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3056 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3057 (ruby--encoding-comment-required-p): Extract from
3058 `ruby-mode-set-encoding'.
3059 (ruby-mode-set-encoding): Add the ability to always insert an
3060 utf-8 encoding comment. Fix and simplify coding comment update
3061 logic.
3062
3063 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * net/tramp-gvfs.el (top): Run init code only when
3066 `tramp-gvfs-enabled' is not nil.
3067 (tramp-gvfs-enabled): Check also :system bus.
3068
3069 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 Sync with upstream verilog-mode revision 78e66ba.
3072 * progmodes/verilog-mode.el (verilog-end-of-defun)
3073 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3074 (verilog-get-end-of-defun): Remove unused argument.
3075 (verilog-comment-depth): Remove unused local `e'.
3076 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3077 Don't pass arg to verilog-get-end-of-defun.
3078
3079 2013-11-14 Glenn Morris <rgm@gnu.org>
3080
3081 * obsolete/assoc.el (aget): Prefix dynamic variable.
3082
3083 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3084
3085 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * widget.el, hfy-cmap.el: Remove bogus package version number.
3088
3089 2013-11-13 Glenn Morris <rgm@gnu.org>
3090
3091 * replace.el (replace-eval-replacement):
3092 Try to give more helpful error message. (Bug#15836)
3093
3094 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3095 (archive-7z-update): Avoid custom type mismatches.
3096
3097 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3098
3099 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3100
3101 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3102 address can be empty.
3103
3104 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3105 Accept nil SWITCHES.
3106 (tramp-gvfs-handle-write-region): Implement APPEND.
3107
3108 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3109
3110 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3111 binary "|" operator and closing block args delimiter.
3112 Remove FIXME comment referring to Ruby 1.8-only syntax.
3113 (ruby-smie--implicit-semi-p): Not after "|" operator.
3114 (ruby-smie--closing-pipe-p): New function.
3115 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3116 (ruby-smie-rules): Indent after "|".
3117
3118 2013-11-12 Glenn Morris <rgm@gnu.org>
3119
3120 * ps-print.el (ps-face-attribute-list):
3121 Handle anonymous faces. (Bug#15827)
3122
3123 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3124
3125 * window.el (display-buffer-other-frame): Fix doc-string.
3126 (Bug#15868)
3127
3128 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3131
3132 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3133
3134 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3135 (tramp-sh-handle-file-local-copy): Don't write a message when
3136 saving temporary files.
3137
3138 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3139 both directories are remote.
3140 (tramp-smb-handle-directory-files): Do not return double entries.
3141 Do not expand full file names.
3142 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3143 (tramp-smb-handle-write-region): Implement APPEND.
3144 (tramp-smb-get-stat-capability): Fix a stupid bug.
3145
3146 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3149
3150 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3151
3152 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3153 throwing error over malformed let/let* (bug#15814).
3154
3155 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * iswitchb.el (iswitchb-mode): Mark obsolete.
3158
3159 2013-11-11 Glenn Morris <rgm@gnu.org>
3160
3161 * international/uni-bidi.el, international/uni-category.el:
3162 * international/uni-name.el, international/uni-numeric.el:
3163 Regenerate for Unicode 6.3.0.
3164
3165 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3166
3167 * net/tramp.el (tramp-methods):
3168 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3169 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3170
3171 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3172
3173 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3174 Force highlighting text after Summary keyword in doc face for rpm.
3175
3176 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3177
3178 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3179 available and the word has no wildcards, append one to the grep pattern.
3180 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3181 (ispell-complete-word): Call `ispell-lookup-words' with the value
3182 independent of `ispell-look-p'.
3183
3184 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3185
3186 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3187 Not after "||".
3188 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3189 their parent.
3190
3191 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3194 (ruby-font-lock-keywords): Use backquote.
3195
3196 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3197
3198 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3199 (ruby-smie--backward-token): Only consider full-string matches.
3200
3201 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3202
3203 * faces.el (describe-face): Add distant-foreground.
3204
3205 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3206
3207 * progmodes/ruby-mode.el: Improve encoding comment handling.
3208 (ruby-encoding-magic-comment-style): New option.
3209 (ruby-custom-encoding-magic-comment-template): New option.
3210 (ruby--insert-coding-comment, ruby--detect-encoding):
3211 New functions extracted from `ruby-mode-set-encoding'.
3212 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3213 to control the style of the auto-inserted encoding comment.
3214
3215 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3216
3217 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3218 Use `smie-backward-sexp' with token argument.
3219
3220 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3223 Remove instrumentation code.
3224
3225 2013-11-08 Glenn Morris <rgm@gnu.org>
3226
3227 * progmodes/autoconf.el (autoconf-mode):
3228 Tweak comment-start-skip. (Bug#15822)
3229
3230 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3233 at bobp (bug#15826).
3234 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3235
3236 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3237
3238 * man.el (Man-start-calling): New macro, extracted from
3239 Man-getpage-in-background.
3240 (Man-getpage-in-background): Use it.
3241 (Man-update-manpage): New command.
3242 (Man-mode-map): Bind it.
3243
3244 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3245
3246 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3247 of "and", "or", "&&" and "||".
3248 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3249 argument. Prohibit opening curly brace because it could only be a
3250 block opener in that position.
3251 (ruby-smie--forward-token, ruby-smie--backward-token):
3252 Separate "|" from "&" or "*" going after it. That can happen in block
3253 arguments.
3254 (ruby-smie--indent-to-stmt): New function, seeks the end of
3255 previous statement or beginning of buffer.
3256 (ruby-smie-rules): Use it.
3257 (ruby-smie-rules): Check if there's a ":" before a curly block
3258 opener candidate; if there is, it's a hash.
3259
3260 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3263 (cl--block-wrapper): Fix last accidental change.
3264
3265 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3266
3267 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3268 Instrument, in order to hunt failure on hydra.
3269
3270 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3271
3272 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3273 malformed bindings form (bug#15814).
3274
3275 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3276
3277 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3278 "." compared to " @ ". This incidentally fixes some indentation
3279 examples with "do".
3280 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3281 (ruby-smie-grammar): New tokens: "and" and "or".
3282 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3283 Exclude "and" and "or". Remove "do" in order to work around token
3284 priorities.
3285 (ruby-smie-rules): Add all infix tokens. Handle the case of
3286 beginning-of-buffer.
3287
3288 2013-11-06 Glenn Morris <rgm@gnu.org>
3289
3290 * Makefile.in (setwins_almost, setwins_for_subdirs):
3291 Avoid accidental matches.
3292
3293 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * menu-bar.el (popup-menu): Use key-binding.
3296
3297 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3298
3299 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3300 menus, support also the menus produced by minor modes.
3301 (Bug#15817)
3302
3303 2013-11-06 Leo Liu <sdl.web@gmail.com>
3304
3305 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3306 DISTANCE to bound the search. All uses changed. (Bug#15808)
3307
3308 2013-11-06 Glenn Morris <rgm@gnu.org>
3309
3310 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3311 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3312 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3313
3314 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * electric.el (electric-indent-just-newline): New command.
3317 (electric-indent-mode-map): New keymap.
3318 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3319 Re-add :group which weren't redundant.
3320
3321 * electric.el (electric-indent-local-mode): New minor mode.
3322 (electric-indent-functions-without-reindent): New var.
3323 (electric-indent-post-self-insert-function): Use it.
3324 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3325
3326 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3327
3328 * international/quail.el (quail-help): Be more explicit about the
3329 meaning of the labels shown on the keys. (Bug#15800)
3330
3331 * startup.el (normal-top-level): Load the subdirs.el files before
3332 setting the locale environment. (Bug#15805)
3333
3334 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3337 via arguments so as to get the right ones (bug#15418).
3338
3339 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3340
3341 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3342
3343 Fix problems found while writing a test suite.
3344
3345 * net/tramp-compat.el (tramp-compat-load): New defun.
3346 * net/tramp.el (tramp-handle-load): Use it.
3347
3348 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3349 "(numberp ok-if-already-exists)" correctly.
3350
3351 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3352
3353 * international/characters.el (glyphless-char-display-control):
3354 Add usage note.
3355
3356 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3357
3358 * progmodes/python.el (python-mode):
3359 * progmodes/scheme.el (scheme-mode):
3360 * progmodes/prolog.el (prolog-mode):
3361 * progmodes/ruby-mode.el (ruby-mode):
3362 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3363 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3364
3365 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * rect.el (rectangle--highlight-for-redisplay):
3368 * emacs-lisp/smie.el (smie--next-indent-change):
3369 Use buffer-chars-modified-tick.
3370
3371 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3372
3373 * electric.el (electric-indent-post-self-insert-function):
3374 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3375
3376 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3377
3378 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3379
3380 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3381
3382 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3383 (bug#15786).
3384
3385 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3388
3389 * progmodes/python.el: Fix up last change.
3390 (python-shell--save-temp-file): New function.
3391 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3392 `string' comes from the current buffer.
3393 (python-shell-send-string-no-output): Remove `msg' arg.
3394 (python--use-fake-loc): New var.
3395 (python-shell-buffer-substring): Obey it. Try to compensate for the
3396 extra coding line added by python-shell--save-temp-file.
3397 (python-shell-send-region): Use python-shell--save-temp-file and
3398 python-shell-send-file directly. Add `nomain' argument.
3399 (python-shell-send-buffer): Use python-shell-send-region.
3400 (python-electric-pair-string-delimiter): New function.
3401 (python-mode): Use it.
3402
3403 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3404
3405 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3406 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3407 environment and decoding all of the default-directory's to here
3408 from command-line.
3409 (command-line): Decode also argv[0].
3410
3411 * loadup.el: Error out if default-directory is a multibyte string
3412 when we are dumping.
3413
3414 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3415
3416 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3417
3418 * emacs-lisp/package.el (package-menu-mode)
3419 (package-menu--print-info, package-menu--archive-predicate):
3420 Add Archive column to package list.
3421
3422 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3423
3424 Fix problems found while writing a test suite.
3425
3426 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3427 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3428 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3429 to nil when running original file name handler. Otherwise,
3430 there are problems with constructs like "$$FOO".
3431
3432 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3433 for `localname'.
3434
3435 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3436
3437 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3438
3439 * subr.el (version<, version<=, version=):
3440 Update docstrings with information for snapshot versions.
3441
3442 * helpers.el: New library for misc helper functions.
3443 (hash-table-keys): New function returning a list of hash keys.
3444 (hash-table-values): New function returning a list of hash values.
3445
3446 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3447
3448 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3449 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3450
3451 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3452
3453 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3454 checking whether point is after a 1-letter word.
3455
3456 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3457
3458 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3459 Don't infloop when expanding region over `multiline' syntax-type that
3460 begins a line (bug#15778).
3461
3462 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3465 Make it into a proper minor mode.
3466 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3467 (rectangle-mark-mode-map): New keymap.
3468 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3469
3470 2013-11-04 Glenn Morris <rgm@gnu.org>
3471
3472 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3473
3474 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3477 (ruby-smie-rules): Use smie-rule-parent instead.
3478
3479 * emacs-lisp/smie.el (smie-rule-parent): Always call
3480 smie-indent-virtual rather than only for hanging tokens.
3481 (smie--next-indent-change): New helper command.
3482
3483 2013-11-03 Glenn Morris <rgm@gnu.org>
3484
3485 * Makefile.in (abs_srcdir): Remove.
3486 (emacs): Unset EMACSLOADPATH.
3487
3488 2013-11-02 Glenn Morris <rgm@gnu.org>
3489
3490 * Makefile.in (EMACS): Use a relative filename.
3491 (abs_top_builddir): Remove.
3492 (custom-deps, finder-data, autoloads): Use --chdir.
3493
3494 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3495
3496 Use relative filenames in TAGS files.
3497 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3498 (lisptagsfiles4, TAGS): Use relative file names.
3499 (TAGS-LISP): Remove.
3500 (maintainer-clean): No more TAGS-LISP file.
3501
3502 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3503 (lisptagsfiles4): Use absolute filenames again.
3504 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3505 Remove all *loaddefs files, not just the first. Remove esh-groups.
3506 (maintainer-clean): Delete TAGS, TAGS-LISP.
3507
3508 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3509
3510 * emacs-lisp/package.el (package-version-join):
3511 Recognize snapshot versions.
3512
3513 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3514
3515 * subr.el (version-regexp-alist): Add support for snapshot versions.
3516
3517 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3518
3519 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3520 New function, replacement for `smie-rule-parent' for when we want to
3521 skip over our direct parent if it's an assignment token..
3522 (ruby-smie-rules): Use it.
3523
3524 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3525
3526 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3527 unconditionally. Remove now unnecessary forward declarations.
3528 Remove XEmacs-specific setup.
3529 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3530 (ruby-font-lock-syntactic-keywords)
3531 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3532 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3533 (ruby-here-doc-end-syntax): Remove.
3534 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3535 defined as function.
3536
3537 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3538
3539 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3540
3541 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3542
3543 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3544 table and abbrev table, `define-derived-mode' does that for us
3545 anyway.
3546
3547 2013-11-01 Glenn Morris <rgm@gnu.org>
3548
3549 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3550 files is atomic for some time, so no parallel compilation issues).
3551
3552 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3553
3554 * faces.el (face-x-resources): Add :distant-foreground.
3555 (region): Use :distant-foreground for gtk and ns.
3556
3557 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3558
3559 Allow multiple bibliographies when BibLaTeX is used rather than
3560 BibTeX.
3561 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3562 (reftex-locate-bibliography-files): Us it.
3563
3564 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3565
3566 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3567 allow comments in pbm files.
3568
3569 * term/w32-win.el (dynamic-library-alist): Support newer versions
3570 of libjpeg starting with v7: look only for the DLL from the
3571 version against which Emacs was built.
3572 Support versions of libpng beyond 1.4.x.
3573 Support libtiff v4.x.
3574
3575 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3576
3577 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3578 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3579 Add property :safe.
3580 (ruby-deep-arglist): Add property :type.
3581
3582 2013-10-31 Glenn Morris <rgm@gnu.org>
3583
3584 * Makefile.in (custom-deps, finder-data): No need to setq the target
3585 variables, we are in the right directory and the defaults work fine.
3586
3587 2013-10-30 Glenn Morris <rgm@gnu.org>
3588
3589 * Makefile.in (autoloads): Do not use abs_lisp.
3590
3591 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3592 `newline' does not respect `standard-output', so use `princ'.
3593
3594 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3595
3596 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3597 * buff-menu.el (Buffer-menu--unmark): New function.
3598 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3599
3600 2013-10-30 Glenn Morris <rgm@gnu.org>
3601
3602 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3603
3604 * emacs-lisp/package.el (lm-homepage): Declare.
3605
3606 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3607 Fix doc typos.
3608
3609 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3610
3611 * Makefile.in (finder-data, autoloads, update-subdirs)
3612 (compile-main, compile-clean, compile-always, bootstrap-clean):
3613 Check return value of cd.
3614 (compile-calc): Remove.
3615
3616 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3619
3620 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3621 (byte-compile-and-folded): New function.
3622 (=, <, >, <=, >=): Use it.
3623
3624 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3625 (path-separator, null-device, buffer-file-coding-system)
3626 (lpr-headers-switches): Check system-type before modifying them.
3627 (find-buffer-file-type-coding-system): Mark obsolete.
3628 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3629 find-file-not-found-set-buffer-file-coding-system.
3630 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3631 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3632 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3633 (w32-direct-print-region-helper, w32-direct-print-region-function)
3634 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3635 * startup.el (normal-top-level-add-subdirs-to-load-path):
3636 * ps-print.el (ps-print-region-function):
3637 * lpr.el (print-region-function): Use new name.
3638
3639 * subr.el (custom-declare-variable-early): Remove function.
3640 (custom-declare-variable-list): Remove var.
3641 (error, user-error): Remove `while' loop.
3642 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3643 (user-emacs-directory-warning, locate-user-emacs-file):
3644 Move to files.el.
3645 * simple.el (read-quoted-char-radix, read-quoted-char):
3646 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3647 Move from subr.el.
3648 * custom.el (custom-declare-variable-list): Don't process
3649 custom-declare-variable-list.
3650
3651 * progmodes/python.el (python-shell-get-buffer): New function.
3652 (python-shell-get-process): Use it.
3653 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3654 Python which encoding was used. Don't split-string since we only care
3655 about the first line. Return the temp-file, if applicable.
3656 (python-shell-send-region): Tell compile.el how to turn locations in
3657 the temp-file into locations in the source buffer.
3658
3659 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * subr.el (undefined): Add missing behavior from the C code for
3662 unbound keys.
3663
3664 * rect.el: Use lexical-binding. Add new rectangular region support.
3665 (rectangle-mark): New command.
3666 (rectangle--region): New var.
3667 (deactivate-mark-hook): Reset rectangle--region.
3668 (rectangle--extract-region, rectangle--insert-for-yank)
3669 (rectangle--highlight-for-redisplay)
3670 (rectangle--unhighlight-for-redisplay): New functions.
3671 (region-extract-function, redisplay-unhighlight-region-function)
3672 (redisplay-highlight-region-function): Use them to handle
3673 rectangular region.
3674 * simple.el (region-extract-function): New var.
3675 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3676 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3677 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3678 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3679 (redisplay-unhighlight-region-function)
3680 (redisplay-highlight-region-function): New vars.
3681 (redisplay--update-region-highlight): New function.
3682 (pre-redisplay-function): Use it.
3683 (exchange-point-and-mark): Don't deactivate the mark before
3684 reactivate-it anyway.
3685 * comint.el (comint-kill-region): Remove yank-handler argument.
3686 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3687 (delete-char): Remove property, since it's now part of their
3688 default behavior.
3689 (self-insert-iso): Remove property since this command doesn't exist.
3690
3691 * emacs-lisp/package.el (package--download-one-archive)
3692 (describe-package-1): Don't query the user about final newline.
3693
3694 2013-10-29 Daniel Colascione <dancol@dancol.org>
3695
3696 * net/tramp.el (tramp-methods): Document new functionality.
3697 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3698 tramp-hostname-checker if method provides one instead of scanning
3699 argument list for "%h" to decide hostname acceptability.
3700
3701 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3704 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3705 Handle COPY-CONTENTS. (Bug#15737)
3706
3707 2013-10-28 Daiki Ueno <ueno@gnu.org>
3708
3709 * epa-file.el
3710 (epa-file-cache-passphrase-for-symmetric-encryption):
3711 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3712
3713 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3714
3715 * image.el (defimage):
3716 (image-load-path): Doc fixes.
3717
3718 2013-10-27 Alan Mackenzie <acm@muc.de>
3719
3720 Indent statements in macros following "##" correctly.
3721 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3722 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3723
3724 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3725
3726 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3727
3728 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3729
3730 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3731 after `=' is probably a new expression.
3732
3733 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3734
3735 * man.el (man-imenu-title): New option.
3736 (Man-mode-map): Add menu. (Bug#15722)
3737 (Man-mode): Add imenu to menu.
3738
3739 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3740
3741 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3742 specific in what the first arg can be: a non-keyword word,
3743 string/regexp/percent literal opener, opening paren, or unary
3744 operator followed directly by word.
3745
3746 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3749 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3750 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3751 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3752 Remove vars, they do not apply any more.
3753 (prolog-mode-abbrev-table): Remove redundant declaration.
3754 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3755 (prolog-use-smie): Remove.
3756 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3757 supported by prolog-electric-if-then-else-flag.
3758 (prolog-mode-variables, prolog-menu): Use setq-local.
3759 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3760 Remove binding to `Backspace' since this key doesn't exist anyway.
3761 Remove bindings for electric self-inserting keys.
3762 (prog-mode): Assume it's defined.
3763 (prolog-post-self-insert): New function.
3764 (prolog-mode): Use it.
3765 (prolog-indent-line, prolog-indent-level)
3766 (prolog-find-indent-of-matching-paren)
3767 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3768 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3769 (prolog-goto-next-paren, prolog-in-string-or-comment)
3770 (prolog-tokenize, prolog-inside-mline-comment)
3771 (prolog-find-start-of-mline-comment): Remove functions.
3772 (prolog-find-unmatched-paren, prolog-clause-end)
3773 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3774 (prolog-electric--if-then-else): Rename from
3775 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3776 (prolog-tokenize-searchkey): Remove const.
3777 (prolog-clause-info): Use forward-sexp.
3778 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3779 (prolog-electric-if-then-else): Remove commands.
3780 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3781 for use in post-self-insert-hook.
3782 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3783 for use in post-self-insert-hook.
3784 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3785 for use in post-self-insert-hook.
3786 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3787 adapt it for use in post-self-insert-hook.
3788
3789 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3790
3791 * emacs-lisp/ert.el (ert-run-tests-interactively):
3792 Use `completing-read'. (Bug#9756)
3793
3794 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3795
3796 * simple.el (line-move): Call line-move-1 instead of
3797 line-move-visual when the current window hscroll is zero, but
3798 temporary-goal-column indicates we will need to hscroll as result
3799 of the movement. (Bug#15712)
3800
3801 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3802
3803 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3804 capitalization. Use :visible instead of :active.
3805 Fix `ruby-indent-exp' reference. Add menu items for the generic
3806 commands that are used with SMIE.
3807 (ruby-do-end-to-brace): Insert space after `{'.
3808
3809 2013-10-25 John Anthony <john@jo.hnanthony.com>
3810
3811 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3812
3813 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3814
3815 2013-10-25 Glenn Morris <rgm@gnu.org>
3816
3817 * vc/vc.el (vc-print-log): Don't use a working revision unless
3818 one was explicitly specified. (Bug#15322)
3819
3820 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * subr.el (add-to-list): Preserve return value in compiler-macro
3823 (bug#15692).
3824
3825 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3826
3827 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3828 result. Ask user to retry using '-all' flag. (Bug#15701)
3829
3830 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * emacs-lisp/smie.el: New smie-config system.
3833 (smie-config): New defcustom.
3834 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3835 (smie-config-guess, smie-config-save): New commands.
3836 (smie-config--mode-local, smie-config--buffer-local)
3837 (smie-config--trace, smie-config--modefuns): New vars.
3838 (smie-config--advice, smie-config--mode-hook)
3839 (smie-config--setter, smie-config-local, smie-config--get-trace)
3840 (smie-config--guess-value, smie-config--guess): New functions.
3841 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3842 text properties. Treat "string fence" syntax like string syntax.
3843
3844 * progmodes/sh-script.el (sh-use-smie): Change default.
3845 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3846 (sh-var-value): Simplify by CSE.
3847 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3848 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3849 is used.
3850 (sh-guess-basic-offset): Use cl-incf.
3851 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3852
3853 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3854
3855 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3856 (bug#15699).
3857
3858 2013-10-24 Glenn Morris <rgm@gnu.org>
3859
3860 * Makefile.in (abs_top_srcdir): Remove.
3861 (update-subdirs): Use relative path to update-subdirs.
3862
3863 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3864
3865 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3866 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3867 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3868 Call unmsys--file-name before expand-file-name, not after it.
3869
3870 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3871
3872 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3873 (ert-test-skipped): New error.
3874 (ert-skip, ert-stats-skipped): New defuns.
3875 (ert--skip-unless): New macro.
3876 (ert-test-skipped): New struct.
3877 (ert--run-test-debugger, ert-test-result-type-p)
3878 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3879 (ert--stats-set-test-and-result, ert-char-for-test-result)
3880 (ert-string-for-test-result, ert-run-tests-batch)
3881 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3882 Handle skipped tests. (Bug#9803)
3883
3884 2013-10-24 Glenn Morris <rgm@gnu.org>
3885
3886 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3887
3888 * Makefile.in (abs_top_srcdir): New, set by configure.
3889 (update-subdirs): Correct build-aux location.
3890
3891 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3892
3893 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3894 value, whether we could auto-deduce `backend', or not.
3895
3896 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3897 with parameters" example. Simplify the "is it block or is it
3898 hash" check, but also make it more thorough.
3899
3900 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3901
3902 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3903
3904 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3905
3906 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3907 { if it is hanging.
3908
3909 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3910 :before ";".
3911
3912 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3913
3914 * progmodes/compile.el (compilation-directory-matcher)
3915 (compilation-page-delimiter):
3916 Support GNU Make-4.0 directory quoting. (Bug#15678)
3917
3918 2013-10-23 Leo Liu <sdl.web@gmail.com>
3919
3920 * ido.el (ido-tidy): Handle read-only text.
3921
3922 2013-10-23 Glenn Morris <rgm@gnu.org>
3923
3924 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3925 (emacs, compile, compile-always):
3926 Quote entities that might contain whitespace.
3927 (custom-deps, finder-data, autoloads): Use abs_lisp.
3928 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3929 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3930 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3931
3932 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3933
3934 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3935 Use `following-char'.
3936
3937 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3940 * progmodes/ruby-mode.el (ruby-smie-rules):
3941 Remove corresponding workaround. Fix indentation rule of ";" so it
3942 also applies when ";" is the parent.
3943
3944 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3945
3946 * frame.el (display-screens, display-pixel-height)
3947 (display-pixel-width, display-mm-width, display-backing-store)
3948 (display-save-under, display-planes, display-color-cells)
3949 (display-visual-class, display-monitor-attributes-list):
3950 Mention the optional ‘display’ argument in doc strings.
3951
3952 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3953
3954 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3955 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3956
3957 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3958
3959 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3960 TODO. Add "." after " @ ".
3961 (ruby-smie--at-dot-call): New function. Checks if point at method
3962 call with explicit target.
3963 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3964 to the method name tokens when it precedes them.
3965 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3966 (ruby-smie-rules): Add rule for indentation before and after "."
3967 token.
3968
3969 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * textmodes/remember.el (remember-diary-extract-entries):
3972 Avoid add-to-list.
3973
3974 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3975 an instruction.
3976
3977 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3978
3979 * progmodes/ruby-mode.el (ruby-smie-grammar):
3980 Add (almost) all infix operators.
3981 (ruby-smie--implicit-semi-p): Add new operator chars.
3982
3983 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3984 `smie-down-list'.
3985 (ruby-smie--args-separator-p): Check that there's no newline
3986 between method call and its arguments.
3987
3988 2013-10-20 Alan Mackenzie <acm@muc.de>
3989
3990 Allow comma separated lists after Java "implements".
3991
3992 * progmodes/cc-engine.el (c-backward-over-enum-header):
3993 Parse commas.
3994 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3995 from a "disallowed" list in enum fontification.
3996
3997 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3998
3999 * startup.el (default-frame-background-mode): Remove unused defvar.
4000
4001 * progmodes/verilog-mode.el (verilog-mode): Don't set
4002 comment-indent-function globally.
4003
4004 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4005
4006 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4007 Move Info menu item creation to ns-win.el.
4008
4009 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4010 in menu bar.
4011
4012 * menu-bar.el: Move GNUstep specific menus...
4013
4014 * term/ns-win.el (ns-initialize-window-system): ... to here.
4015
4016 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * simple.el (newline): Only run post-self-insert-hook when
4019 called interactively.
4020
4021 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4022
4023 * icomplete.el (icomplete-with-completion-tables): Add :version.
4024
4025 2013-10-19 Alan Mackenzie <acm@muc.de>
4026
4027 Fix fontification bugs with constructors and const.
4028
4029 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4030 CASE 2) Remove the check for the absence of a suffix construct
4031 after a function declaration with only types (no identifiers) in
4032 the parentheses. Also, accept a function declaration with just a
4033 type inside the parentheses, if this type can be positively
4034 recognised as such, or if a prefix keyword like "explicit" nails
4035 down the construct as a declaration.
4036
4037 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4038
4039 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4040 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4041 the problem whereby selecting a menu item that leads to a
4042 minibuffer prompt moves the cursor out of the minibuffer window,
4043 making it hard to type at the prompt. Suggested by Stefan Monnier
4044 <monnier@iro.umontreal.ca>.
4045
4046 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4047
4048 * menu-bar.el: Don't make Services menu.
4049
4050 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4051
4052 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4053 (ffap-alist): Use ffap-c++-mode for c++-mode.
4054 (ffap-c++-path): New variable.
4055 (ffap-c++-mode): New function.
4056
4057 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4058
4059 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4060
4061 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4064 introduced on 2013-09-08, which results in an infinite loop
4065 requesting a password.
4066
4067 2013-10-18 Glenn Morris <rgm@gnu.org>
4068
4069 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4070
4071 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4072
4073 Sync with upstream verilog-mode revision 1a6ecec7.
4074 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4075 (verilog-mode-release-date): Remove.
4076 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4077 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4078 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4079 (verilog-auto-tieoff-ignore-regexp)
4080 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4081 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4082 (verilog-signals-with, verilog-dir-cache-preserving)
4083 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4084 Doc fixes.
4085 (verilog-case-fold): New option, to control case folding in
4086 regexp searches, bug597.
4087 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4088 (verilog-string-match-fold, verilog-in-paren-count)
4089 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4090 (verilog-at-close-struct-p): New functions.
4091 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4092 (verilog-forward-sexp, verilog-set-auto-endcomments):
4093 (verilog-leap-to-case-head): Handle "unique0" case.
4094 (verilog-in-constraint-re): New constant.
4095 (verilog-keywords, verilog-type-font-keywords):
4096 Add some SystemVerilog 1800-2012 keywords.
4097 (verilog-label-be): Remove unimplemented argument, bug669.
4098 (verilog-batch-execute-func): When batch expanding clear
4099 create-lockfiles to prevent spurious user locks when a file ends
4100 up not changing.
4101 (verilog-calculate-indent, verilog-calc-1)
4102 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4103 (verilog-do-indent): Fix indentation of nested constraints
4104 and structures.
4105 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4106 (verilog-auto-inst-param): Use verilog-string-match-fold.
4107 (verilog-read-inst-module-matcher):
4108 Fix AUTOINST on gate primitives with #1.
4109 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4110 Reads all user-defined typed variables.
4111 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4112 (verilog-signals-matching-regexp)
4113 (verilog-signals-not-matching-regexp, verilog-auto):
4114 Respect verilog-case-fold.
4115 (verilog-diff-report): Fix line count.
4116 (verilog-auto-assign-modport): Remove unused local `modi'.
4117 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4118 better handle multidimensional arrays.
4119 Fix packed array ports misadding bit index in AUTOINST, bug637.
4120 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4121 to not double-declare existing outputs and inputs, respectively.
4122 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4123 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4124 (verilog-sk-uvm-component): New skeleton.
4125 (verilog-submit-bug-report): Add verilog-case-fold,
4126 remove verilog-mode-release-date.
4127
4128 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4129
4130 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4131 as before.
4132
4133 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4134
4135 * textmodes/remember.el (remember): Set buffer-offer-save in
4136 remember buffers (bug#13566).
4137
4138 2013-10-18 Daniel Colascione <dancol@dancol.org>
4139
4140 When evaluating forms in ielm, direct standard output to ielm
4141 buffer. Add new ielm-return-for-effect command. Remove trailing
4142 whitespace throughout.
4143
4144 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4145 (ielm-return-for-effect): New command.
4146 (ielm-send-input): Accept optional `for-effect' parameter.
4147 (ielm-eval-input): Accept optional `for-effect' parameter.
4148 Bind `standard-output' to stream we create using
4149 `ielm-standard-output-impl'. Suppress printing result when
4150 `for-effect'.
4151 (ielm-standard-output-impl): New function.
4152 (inferior-emacs-lisp-mode): Explain new features in documentation.
4153
4154 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4155
4156 Code cleanup.
4157
4158 * net/tramp.el (tramp-debug-message): Do not check for connection
4159 buffer.
4160 (tramp-message): Use "vector" connection property.
4161
4162 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4163 (tramp-equal-remote, tramp-eshell-directory-change)
4164 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4165 (tramp-adb-handle-rename-file)
4166 * net/tramp-cmds.el (tramp-list-remote-buffers)
4167 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4168 * net/tramp-compat.el (tramp-compat-process-running-p)
4169 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4170 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4171 (tramp-gvfs-handle-rename-file)
4172 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4173 (tramp-set-file-uid-gid)
4174 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4175 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4176 of `file-remote-p'.
4177
4178 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4179 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4180 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4181 (tramp-gw-open-network-stream): Suppress unrelated traces.
4182
4183 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4184 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4185 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4186 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4187 connection property.
4188
4189 * net/tramp-cache.el (top): Suppress traces when reading
4190 persistency file.
4191
4192 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4193 Refactor common code. Improve debug message.
4194 (tramp-maybe-open-connection)
4195 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4196 connection buffer too early.
4197
4198 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4199 from `tramp-smb-actions-with-acl'.
4200 (tramp-smb-actions-set-acl): New defconst.
4201 (tramp-smb-handle-copy-directory)
4202 (tramp-smb-action-get-acl): New defun, renamed from
4203 `tramp-smb-action-with-acl'.
4204 (tramp-smb-action-set-acl): New defun.
4205 (tramp-smb-handle-set-file-acl): Rewrite.
4206
4207 2013-10-17 Glenn Morris <rgm@gnu.org>
4208
4209 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4210
4211 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * skeleton.el (skeleton-newline): Remove.
4214 (skeleton-internal-1): Use (insert "\n") instead.
4215
4216 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4217 let-bindings.
4218
4219 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4220 forward-sexp-function while we redo its job (bug#15613).
4221
4222 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4223
4224 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4225 represented by lists.
4226
4227 2013-10-16 Glenn Morris <rgm@gnu.org>
4228
4229 * tmm.el (tmm--history): New dynamic variable.
4230 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4231
4232 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4233
4234 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4235 (tramp-smb-errors): Add error messages.
4236 (tramp-smb-actions-with-acl): New defconst.
4237 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4238 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4239 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4240 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4241 (tramp-smb-get-stat-capability): Fix tests.
4242
4243 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4244
4245 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4246 (bug#15580).
4247
4248 2013-10-16 Glenn Morris <rgm@gnu.org>
4249
4250 * ansi-color.el (ansi-color-drop-regexp):
4251 Add 1J, 1K, 2K. (Bug#15617)
4252
4253 * files.el (hack-local-variables--warned-lexical): New.
4254 (hack-local-variables):
4255 Warn about misplaced lexical-binding. (Bug#15616)
4256
4257 * net/eww.el (eww-render): Always set eww-current-url,
4258 and update header line. (Bug#15622)
4259 (eww-display-html): ... Rather than just doing it here.
4260
4261 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4262
4263 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4264 menu navigations commands.
4265
4266 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4267
4268 * progmodes/subword.el (subword-capitalize): Be careful when
4269 the search for [[:alpha:]] fails (bug#15580).
4270
4271 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4272
4273 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4274 to commands that scroll the menu.
4275
4276 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4277
4278 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4279 Handle methods ending with `?' and `!'.
4280
4281 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4282
4283 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4284 `japanese-cp932' to `cp932' to fix the problem where saving a
4285 source file written in Shift_JIS twice would end up having
4286 `coding: japanese-cp932' which Ruby could not recognize.
4287 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4288 in `ruby-encoding-map'.
4289 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4290 doesn't need to be explicitly declared in magic comment.
4291 (ruby-encoding-map): Add type declaration for better customize UI.
4292
4293 2013-10-13 Glenn Morris <rgm@gnu.org>
4294
4295 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4296 Occur buffers are read-only. http://bugs.debian.org/720775
4297
4298 * emacs-lisp/authors.el (authors-fixed-entries):
4299 Comment out old alpha stuff.
4300
4301 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4302
4303 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4304 to `after-save-hook' instead of `before-save-hook'.
4305 (ruby-mode-set-encoding): Use the value of coding system used to
4306 write the file. Call `basic-save-buffer-1' after modifying the
4307 buffer.
4308
4309 2013-10-13 Alan Mackenzie <acm@muc.de>
4310
4311 Fix indentation/fontification of Java enum with
4312 "implements"/generic.
4313
4314 * progmodes/cc-engine.el (c-backward-over-enum-header):
4315 Extracted from the three other places and enhanced to handle generics.
4316 (c-inside-bracelist-p): Uses new function above.
4317 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4318 function above.
4319 (c-font-lock-enum-tail): Uses new function above.
4320
4321 2013-10-13 Kenichi Handa <handa@gnu.org>
4322
4323 * international/mule-cmds.el (select-safe-coding-system): Remove a
4324 superfluous condition in chekcing whether a coding system is safe
4325 or not.
4326
4327 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4328
4329 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4330
4331 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4332
4333 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4334
4335 2013-10-13 Glenn Morris <rgm@gnu.org>
4336
4337 * menu-bar.el (menu-bar-update-buffers):
4338 Unify Buffers menu prompt string. (Bug#15576)
4339
4340 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4341
4342 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4343 Add some entries.
4344 (authors-fixed-entries): Use accented form of name.
4345
4346 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4349 method calls (bug#15594).
4350 (ruby-smie--args-separator-p): New function.
4351 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4352 recognize paren-free method calls.
4353
4354 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4355 internals of universal-argument.
4356
4357 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4358
4359 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4360 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4361 dropped menu on second mouse click on the menu bar.
4362
4363 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4366 (explicit-shell-file-name): Declare.
4367 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4368 (sh-completion-at-point-function): New function.
4369 (sh-mode): Use it.
4370 (sh-smie--keyword-p): Remove unused argument.
4371 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4372 vars.
4373 (sh-set-shell): Always setup SMIE, even if we use the
4374 old indentation code.
4375
4376 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4377
4378 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4379 cases of ? and =.
4380 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4381 predicate would return nil are almost non-existent.
4382 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4383
4384 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4385 cache also after commands that modify the buffer but don't move
4386 point.
4387
4388 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * env.el (substitute-env-in-file-name): New function.
4391 (substitute-env-vars): Extend the meaning of the optional arg.
4392
4393 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4394
4395 * term/w32-win.el (dynamic-library-alist): Define separate lists
4396 of GIF DLLs for versions before and after 5.0.0 of giflib.
4397 (Bug#15531)
4398
4399 2013-10-10 João Távora <joaotavora@gmail.com>
4400
4401 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4402 not locked, use last revision and current source as
4403 defaults. (Bug#15569)
4404
4405 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4406
4407 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4408 menu-bar is hidden.
4409
4410 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4411
4412 * window.el (pop-to-buffer-same-window): Fix doc-string.
4413 (Bug#15492)
4414
4415 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4418
4419 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4420
4421 * calendar/icalendar.el (icalendar-import-file):
4422 Fix interactive spec. (Bug#15482)
4423
4424 2013-10-10 Glenn Morris <rgm@gnu.org>
4425
4426 * desktop.el (desktop-save): Default to saving in .emacs.d,
4427 since PWD is no longer in desktop-path by default. (Bug#15319)
4428
4429 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4430 now that text mode has a menu with the same entry.
4431 (menu-bar-text-mode-auto-fill): Remove now unused func.
4432 * textmodes/text-mode.el (text-mode-map):
4433 Use auto-fill help text from menu-bar.el.
4434
4435 2013-10-10 John Anthony <john@jo.hnanthony.com>
4436
4437 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4438
4439 2013-10-09 Juri Linkov <juri@jurta.org>
4440
4441 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4442 instead of this-command-keys. Add universal-argument-more and
4443 universal-argument-minus to the list of prefix commands. (Bug#15568)
4444
4445 2013-10-09 Glenn Morris <rgm@gnu.org>
4446
4447 * vc/vc-svn.el (vc-svn-create-repo):
4448 Expand paths in file://... url. (Bug#15446)
4449
4450 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4451 Add some entries.
4452 (authors): Remove unused local variables.
4453
4454 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * profiler.el: Create a more coherent calltree from partial backtraces.
4457 (profiler-format): Hide the tail with `invisible' so that C-s can still
4458 find the hidden elements.
4459 (profiler-calltree-depth): Don't recurse so enthusiastically.
4460 (profiler-function-equal): New hash-table-test.
4461 (profiler-calltree-build-unified): New function.
4462 (profiler-calltree-build): Use it.
4463 (profiler-report-make-name-part): Indent the calltree less.
4464 (profiler-report-mode): Add visibility specs for profiler-format.
4465 (profiler-report-expand-entry, profiler-report-toggle-entry):
4466 Expand the whole subtree when provided with a prefix arg.
4467
4468 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4469
4470 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4471 iuwu-mod token.
4472 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4473 hanging iuwu-mod token.
4474 (ruby-smie--forward-token): Do not include a dot after a token in
4475 that token.
4476 (ruby-smie--backward-token): Likewise.
4477
4478 2013-10-08 Juri Linkov <juri@jurta.org>
4479
4480 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4481 to isearch-other-control-char.
4482 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4483 and isearch-post-command-hook to post-command-hook.
4484 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4485 and isearch-post-command-hook from post-command-hook.
4486 (isearch-unread-key-sequence)
4487 (isearch-reread-key-sequence-naturally)
4488 (isearch-lookup-scroll-key, isearch-other-control-char)
4489 (isearch-other-meta-char): Remove functions.
4490 (isearch-pre-command-hook, isearch-post-command-hook):
4491 New functions based on isearch-other-meta-char rewritten
4492 relying on the new behavior of overriding-terminal-local-map
4493 that does not replace the local keymaps any more. (Bug#15200)
4494
4495 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4496
4497 Support menus on text-mode terminals.
4498 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4499 functionality.
4500
4501 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4502
4503 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4504 Move here from mouse.el.
4505 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4506 and arrow keys.
4507 (tty-menu-navigation-map): New map for TTY menu navigation.
4508
4509 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4510
4511 * frame.el (display-mouse-p): Report text-mode mouse as available
4512 on w32.
4513 (display-popup-menus-p): Report availability if mouse is
4514 available; don't condition on window-system.
4515
4516 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4517 (tty-menu-selected-face): New faces.
4518
4519 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4522 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4523 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4524 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4525 New constants.
4526 (lisp-mode-variables): New `elisp' argument.
4527 (emacs-lisp-mode): Use it.
4528 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4529 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4530
4531 * indent.el: Use lexical-binding.
4532 (indent-region): Add progress reporter.
4533 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4534 last step.
4535 (indent--next-tab-stop): New function to implement this behavior.
4536 (tab-to-tab-stop, move-to-tab-stop): Use it.
4537
4538 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4539
4540 * indent.el (indent-rigidly--current-indentation): New function.
4541 (indent-rigidly-map): New var.
4542 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4543
4544 2013-10-08 Bastien Guerry <bzg@gnu.org>
4545
4546 * register.el (insert-register): Fix 2013-10-07 change.
4547
4548 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * progmodes/perl-mode.el: Use lexical-binding.
4551 Remove redundant :group args.
4552 (perl-nochange): Change default to be closer to other major modes's
4553 standard behavior.
4554 (perl-indent-line): Don't consider text on current line as a
4555 valid beginning of function from which to indent.
4556
4557 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4558 with more than one argument (bug#15538).
4559
4560 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4561
4562 * vc/pcvs.el: Use lexical-binding.
4563 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4564 environment of `eval'.
4565 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4566 than a list of expressions. Adjust callers.
4567 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4568
4569 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4570
4571 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4572 case of the dot in a chained method call being on the following line.
4573
4574 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * electric.el (electric-indent-inhibit): New var.
4577 (electric-indent-post-self-insert-function): Use it.
4578 * progmodes/python.el (python-mode): Set it.
4579
4580 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4581 open braces.
4582
4583 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4584
4585 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4586 (css-mode): Use electric-indent-chars.
4587
4588 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4589 (font-lock-beg, font-lock-end): Move before first use.
4590 (nxml-mode): Use syntax-propertize-function.
4591 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4592 (nxml-extend-after-change-region): Remove.
4593 * nxml/xmltok.el: Use lexical-binding.
4594 (xmltok-save): Use `declare'.
4595 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4596 * nxml/nxml-util.el: Use lexical-binding.
4597 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4598 Use `declare'.
4599 * nxml/nxml-ns.el: Use lexical-binding.
4600 (nxml-ns-save): Use `declare'.
4601 (nxml-ns-prefixes-for): Avoid add-to-list.
4602 * nxml/rng-match.el: Use lexical-binding.
4603 (rng--ipattern): Use cl-defstruct.
4604 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4605 (rng-cons-group-after, rng-subst-group-after)
4606 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4607 Use closures instead of `(lambda...).
4608
4609 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4610
4611 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4612 of BEG and END.
4613
4614 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4615 Use `tramp-handle-insert-file-contents'.
4616 (tramp-gvfs-handle-insert-file-contents): Remove function.
4617
4618 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4619 Use `save-restriction' in order to keep markers.
4620
4621 * net/trampver.el: Update release number.
4622
4623 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/compile.el (compilation-parse-errors):
4626 Use compilation--put-prop.
4627 (compilation--ensure-parse): Check compilation-multiline.
4628
4629 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4630
4631 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4632 lexical-binding.
4633
4634 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4635
4636 * progmodes/ruby-mode.el: Fix recently added tests.
4637 (ruby-smie-grammar): Add - and +.
4638 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4639 (ruby-smie--backward-id): New functions.
4640 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4641 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4642 any more.
4643
4644 2013-10-07 Leo Liu <sdl.web@gmail.com>
4645
4646 * register.el (register-preview-delay)
4647 (register-preview-functions): New variables.
4648 (register-read-with-preview, register-preview)
4649 (register-describe-oneline): New functions.
4650 (point-to-register, window-configuration-to-register)
4651 (frame-configuration-to-register, jump-to-register)
4652 (number-to-register, view-register, insert-register)
4653 (copy-to-register, append-to-register, prepend-to-register)
4654 (copy-rectangle-to-register): Use register-read-with-preview to
4655 read register. (Bug#15525)
4656
4657 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4658
4659 * net/network-stream.el (network-stream-open-starttls): Don't add
4660 --insecure if it's already present, because that gnutls-cli
4661 rejects getting that parameter twice.
4662
4663 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4664
4665 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4666 keyword, too.
4667
4668 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4669
4670 * newcomment.el (comment-use-global-state): Change default value
4671 to t, mark obsolete (Bug#15251).
4672 (comment-beginning): In addition to `comment-to-syntax', check the
4673 value of `comment-use-global-state'.
4674
4675 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4676
4677 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4678 (ruby-comment-column): Follow the global default, by default.
4679 (ruby-smie-grammar): Add assignment syntax.
4680 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4681 open-paren, a comma, or a \.
4682 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4683 and line continuations.
4684 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4685 followed by implicit semi-colons. Add rule for string concatenation
4686 and for indentation at BOB.
4687 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4688
4689 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4690 calling next-sexp, since next-token may have skipped chars which
4691 next-sexp doesn't know should be skipped!
4692
4693 2013-10-05 Leo Liu <sdl.web@gmail.com>
4694
4695 * progmodes/octave.el (octave-send-region):
4696 Call compilation-forget-errors.
4697
4698 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4699
4700 * vc/vc-svn.el (vc-svn-find-admin-dir):
4701 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4702 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4703 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4704 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4705
4706 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4709
4710 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * subr.el (read-passwd): Hide chars even when called within a context
4713 where after-change-functions is disabled (bug#15501).
4714 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4715 until we removed ourself from overriding-terminal-local-map.
4716
4717 2013-10-04 Leo Liu <sdl.web@gmail.com>
4718
4719 * progmodes/octave.el (inferior-octave-mode):
4720 Call compilation-forget-errors.
4721
4722 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4723
4724 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4725
4726 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4727
4728 * net/secrets.el (secrets-create-collection): Add optional
4729 argument ALIAS. Use proper Label keyword. Append ALIAS as
4730 dbus-call-method argument. (Bug#15516)
4731
4732 2013-10-04 Leo Liu <sdl.web@gmail.com>
4733
4734 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4735 (inferior-octave-compilation-font-lock-keywords): New variables.
4736 (compilation-error-regexp-alist)
4737 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4738 (inferior-octave-mode): Use compilation-shell-minor-mode.
4739
4740 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4741
4742 * minibuffer.el (completion--replace): Be careful that `end' might be
4743 a marker.
4744
4745 2013-10-03 Daiki Ueno <ueno@gnu.org>
4746
4747 Add support for package signature checking.
4748 * emacs-lisp/package.el (url-http-file-exists-p)
4749 (epg-make-context, epg-context-set-home-directory)
4750 (epg-verify-string, epg-context-result-for)
4751 (epg-signature-status, epg-signature-to-string)
4752 (epg-check-configuration, epg-configuration)
4753 (epg-import-keys-from-file): Declare.
4754 (package-check-signature): New user option.
4755 (package-unsigned-archives): New user option.
4756 (package-desc): Add `signed' field.
4757 (package-load-descriptor): Set `signed' field if .signed file exists.
4758 (package--archive-file-exists-p): New function.
4759 (package--check-signature): New function.
4760 (package-install-from-archive): Check package signature.
4761 (package--download-one-archive): Check archive signature.
4762 (package-delete): Remove .signed file.
4763 (package-import-keyring): New command.
4764 (package-refresh-contents): Import default keyring.
4765 (package-desc-status): Add "unsigned" status.
4766 (describe-package-1, package-menu--print-info)
4767 (package-menu-mark-delete, package-menu--find-upgrades)
4768 (package-menu--status-predicate): Support "unsigned" status.
4769
4770 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4771
4772 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4773 the new compilation scheme using the new byte-codes.
4774
4775 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4776 (byte-pophandler): New byte codes.
4777 (byte-goto-ops): Adjust accordingly.
4778 (byte-compile--use-old-handlers): New var.
4779 (byte-compile-catch): Use new byte codes depending on
4780 byte-compile--use-old-handlers.
4781 (byte-compile-condition-case--old): Rename from
4782 byte-compile-condition-case.
4783 (byte-compile-condition-case--new): New function.
4784 (byte-compile-condition-case): New function that dispatches depending
4785 on byte-compile--use-old-handlers.
4786 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4787 when we can.
4788
4789 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4790 Optimize under `condition-case' and `catch' if
4791 byte-compile--use-old-handlers is nil.
4792 (disassemble-offset): Handle new bytecodes.
4793
4794 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * subr.el (error): Use `declare'.
4797 (decode-char, encode-char): Use advertised-calling-convention instead
4798 of the docstring to discourage use of the `restriction' arg.
4799
4800 2013-10-03 Daiki Ueno <ueno@gnu.org>
4801
4802 * epg.el (epg-verify-file): Add a comment saying that it does not
4803 notify verification error as a return value nor a signal.
4804 (epg-verify-string): Ditto.
4805
4806 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4807
4808 * progmodes/compile.el (compilation-start): Try globbing the arg to
4809 `cd' (bug#15417).
4810
4811 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4812
4813 Sync with Tramp 2.2.8.
4814
4815 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4816 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4817 * net/trampver.el: Update release number.
4818
4819 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4820
4821 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4822 and default-process-coding-system for darwin only.
4823
4824 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4827
4828 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4829
4830 * vc/vc-git.el (vc-git-grep): Disable pager.
4831
4832 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4833
4834 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4835 Use :url instead of :homepage, as per
4836 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4837
4838 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4839 non-nil, use `syntax-ppss' (Bug#15251).
4840
4841 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4842
4843 * progmodes/octave.el (inferior-octave-startup-file):
4844 Prefer ~/.emacs.d/init_octave.m.
4845
4846 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4847
4848 * emacs-lisp/package.el (package-desc-from-define):
4849 Accept additional arguments as plist, convert them to an alist and store
4850 them in the `extras' slot.
4851 (package-generate-description-file): Convert extras alist back to
4852 plist and append to the `define-package' form arguments.
4853 (package--alist-to-plist): New function.
4854 (package--ac-desc): Add `extras' slot.
4855 (package--add-to-archive-contents): Check if the archive-contents
4856 vector is long enough, and if it is, pass its `extras' slot value
4857 to `package-desc-create'.
4858 (package-buffer-info): Call `lm-homepage', pass the returned value
4859 to `package-desc-from-define'.
4860 (describe-package-1): Render the homepage button (Bug#13291).
4861
4862 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4863 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4864
4865 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4866
4867 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4868 and default-process-coding-system to utf-8-unix (Bug#15402).
4869
4870 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4871
4872 * subr.el (looking-back): Do not recommend using looking-back.
4873
4874 2013-09-28 Alan Mackenzie <acm@muc.de>
4875
4876 Fix indentation/fontification of Java enum with "implements".
4877
4878 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4879 regexp which matches "implements", etc., in Java.
4880 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4881 specifier clauses coming after "enum".
4882 * progmodes/cc-fonts.el (c-font-lock-declarations)
4883 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4884 after "enum".
4885
4886 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4887
4888 * faces.el (region): Change ns_selection_color to
4889 ns_selection_fg_color, add ns_selection_bg_color.
4890
4891 2013-09-28 Leo Liu <sdl.web@gmail.com>
4892
4893 * progmodes/octave.el (inferior-octave-completion-table)
4894 (inferior-octave-completion-at-point): Minor tweaks.
4895
4896 * textmodes/ispell.el (ispell-lookup-words): Rename from
4897 lookup-words. (Bug#15460)
4898 (lookup-words): Obsolete.
4899 (ispell-complete-word, ispell-command-loop): All uses changed.
4900
4901 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4902
4903 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4904 (octave-mode-menu): Add octave-send-buffer.
4905 (octave-send-buffer): New function.
4906
4907 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4908
4909 * progmodes/octave.el (octave-mode-map): Add key binding for
4910 octave-lookfor.
4911 (octave-mode-menu): Add octave-lookfor.
4912 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4913 octave-lookfor.
4914 (octave-lookfor): New function.
4915
4916 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * emacs-lisp/cl-macs.el:
4919 (cl--loop-destr-temps): Remove.
4920 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4921 its convention.
4922 (cl--loop-set-iterator-function): New function.
4923 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4924 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4925 Bind `it' with `let' instead of substituting it with `cl-subst'.
4926 (cl--unused-var-p): New function.
4927 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4928 Eliminate some unused variable warnings (bug#15326).
4929
4930 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4931
4932 * doc-view.el (doc-view-scale-reset): Rename from
4933 `doc-view-reset-zoom-level'.
4934 (doc-view-scale-adjust): New command.
4935 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4936 `doc-view-scale-adjust'.
4937
4938 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4939
4940 * doc-view.el (doc-view-reset-zoom-level): New command.
4941 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4942 zoom commands (bug#15466).
4943
4944 2013-09-26 Kenichi Handa <handa@gnu.org>
4945
4946 * international/quail.el (quail-help): Make it not a command.
4947
4948 2013-09-26 Leo Liu <sdl.web@gmail.com>
4949
4950 * minibuffer.el (completion-all-sorted-completions): Make args
4951 optional as they are.
4952
4953 2013-09-25 Daniel Colascione <dancol@dancol.org>
4954
4955 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4956 specs are and that they're not evaluated.
4957
4958 2013-09-24 Sam Steingold <sds@gnu.org>
4959
4960 * midnight.el (clean-buffer-list-kill-regexps)
4961 (clean-buffer-list-kill-buffer-names): Update for the new Man
4962 buffer naming which includes the object name.
4963
4964 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4967 (eshell-parse-command, eshell-parse-pipeline): Use it since
4968 eshell-separate-commands requires a dynamic scoped var.
4969 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4970
4971 2013-09-23 Leo Liu <sdl.web@gmail.com>
4972
4973 * autoinsert.el (auto-insert-alist): Make the value of
4974 lexical-binding match its file setting.
4975
4976 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4977
4978 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4979
4980 * autoarg.el (autoarg-kp-digit-argument):
4981 * electric.el (Electric-command-loop):
4982 * kmacro.el (kmacro-step-edit-insert):
4983 Do not set universal-argument-num-events.
4984
4985 2013-09-22 Leo Liu <sdl.web@gmail.com>
4986
4987 * files.el (interpreter-mode-alist): Add octave.
4988
4989 2013-09-21 Alan Mackenzie <acm@muc.de>
4990
4991 C++: fontify identifier in declaration following "public:" correctly.
4992 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4993 to match "public", etc.
4994 (c-decl-prefix-re): Add ":" into the C++ value.
4995 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4996 bit. Add a check for a ":" preceded by "public", etc.
4997
4998 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4999
5000 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5001 recognized by GDB 7.5 and later.
5002
5003 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5004
5005 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5006
5007 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * subr.el (internal--call-interactively): New const.
5010 (called-interactively-p): Use it (bug#3984).
5011
5012 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5013
5014 * vc/pcvs.el (cvs-mode-ignore):
5015 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5016 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5017
5018 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5021 (eshell-ls-orig-insert-directory): Remove.
5022 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5023 (eshell-ls-use-in-dired): Use advice-add/remove.
5024 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5025 Add `orig-fun' arg for use in :around advice.
5026 Make it check (redundantly) eshell-ls-use-in-dired.
5027
5028 2013-09-19 Glenn Morris <rgm@gnu.org>
5029
5030 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5031
5032 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5033
5034 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5035
5036 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5039 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5040 (tramp-get-remote-python): New defuns.
5041 (tramp-get-remote-uid-with-perl)
5042 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5043 contributed by yary <not.com@gmail.com> (tiny change).
5044 (tramp-get-remote-uid-with-python)
5045 (tramp-get-remote-gid-with-python): New defuns. Python code
5046 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5047 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5048
5049 2013-09-19 Glenn Morris <rgm@gnu.org>
5050
5051 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5052
5053 * eshell/em-unix.el (eshell-remove-entries):
5054 Rename argument to avoid name-clash with global `top-level'.
5055
5056 * eshell/esh-proc.el (eshell-kill-process-function):
5057 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5058 (eshell-reset-after-proc): Remove unused arg `proc'.
5059
5060 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5061 (directory-files-and-attributes): Mark unused arg.
5062
5063 * eshell/em-unix.el (eshell-remove-entries):
5064 Remove unused arg `path'. Update callers.
5065
5066 * eshell/em-hist.el (eshell-hist-parse-arguments):
5067 Remove unused arg `silent'. Update callers.
5068
5069 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5070 Fix (f)boundp mix-up.
5071
5072 * eshell/em-smart.el (eshell-smart-scroll-window)
5073 (eshell-disable-after-change):
5074 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5075
5076 2013-09-18 Alan Mackenzie <acm@muc.de>
5077
5078 Fix fontification of type when followed by "const".
5079 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5080 "known" types from fontification.
5081
5082 2013-09-18 Glenn Morris <rgm@gnu.org>
5083
5084 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5085 (chart-face-list): Drop Emacsen without display-color-p.
5086
5087 * net/eww.el (libxml-parse-html-region): Declare.
5088 (eww-display-html): Explicit error if no libxml2 support.
5089
5090 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5091
5092 * image.el (image-type-from-buffer, image-multi-frame-p):
5093 Remove --without-x warning/error.
5094
5095 * mouse.el (mouse-yank-primary):
5096 * term.el (term-mouse-paste):
5097 Reorder to silence --without-x compilation.
5098
5099 * mpc.el (doc-view-mode): Silence --without-x compilation.
5100
5101 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5102 Silence --without-x compilation.
5103
5104 * progmodes/gud.el (gud-find-file, gud-mode):
5105 Silence --without-x compilation.
5106 (tooltip-mode): Declare.
5107
5108 * wdired.el (dired-backup-overwrite): Remove declaration.
5109 (wdired-mode-map): Add doc string.
5110
5111 * custom.el (x-get-resource): Declare.
5112
5113 * eshell/em-glob.el (ange-cache):
5114 * eshell/em-unix.el (ange-cache): Declare.
5115
5116 * faces.el (x-display-list, x-open-connection, x-get-resource):
5117 Declare.
5118
5119 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5120 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5121 Declare.
5122
5123 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5124
5125 * net/gnutls.el (gnutls-log-level): Declare.
5126
5127 * net/shr.el (image-size, image-animate): Declare.
5128
5129 * simple.el (font-info): Declare.
5130
5131 * subr.el (x-popup-dialog): Declare.
5132
5133 * term/common-win.el (x-select-enable-primary)
5134 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5135 Declare.
5136
5137 * term/ns-win.el (x-handle-args): Declare.
5138
5139 * term/x-win.el (x-select-enable-clipboard): Declare.
5140
5141 * term/w32-win.el (create-default-fontset): Declare.
5142
5143 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5144 Declare.
5145
5146 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5147 (fit-frame-to-buffer): Explicit error if --without-x.
5148 (mouse-autoselect-window-select): Silence compiler.
5149
5150 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5151
5152 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5153 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5154 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5155 * eshell/esh-util.el (eshell-sublist):
5156 Remove unused local variables.
5157
5158 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5159
5160 * textmodes/two-column.el: Make 2C-split work for --without-x.
5161 (scroll-bar-columns): Autoload.
5162 (top-level): Require fringe when compiling.
5163
5164 2013-09-18 Leo Liu <sdl.web@gmail.com>
5165
5166 * subr.el (add-hook): Robustify to handle closure as well.
5167
5168 2013-09-17 Glenn Morris <rgm@gnu.org>
5169
5170 * simple.el (messages-buffer-mode-map): Unbind "g".
5171
5172 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * help-mode.el (help-mode-finish): Use derived-mode-p.
5175 Remove obsolete highlighting.
5176
5177 * play/life.el (life-mode): Use define-derived-mode. Derive from
5178 special-mode.
5179 (life): Let-bind inhibit-read-only.
5180 (life-setup): Avoid `setq'. Use `life-mode'.
5181
5182 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5183 which should not be needed any more.
5184 (package-menu-refresh, package-menu-describe-package): Use user-error.
5185
5186 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5187 (eshell-post-rewrite-command-hook): Make obsolete.
5188 (eshell-parse-command): Simplify.
5189 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5190 (eshell--cmd): Declare.
5191 (eshell-parse-pipeline): Remove unused var `final-p'.
5192 Pass a dynvar to eshell-post-rewrite-command-hook.
5193 Implement the new eshell-post-rewrite-command-function.
5194 (eshell-invoke-directly): Remove unused arg `input'.
5195 * eshell/esh-io.el (eshell-io-initialize):
5196 Use eshell-post-rewrite-command-function (bug#15399).
5197 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5198 adjust to new calling convention.
5199 (eshell-create-handles): Rename args to avoid clashing with dynvar
5200 `standard-output'.
5201
5202 2013-09-17 Glenn Morris <rgm@gnu.org>
5203
5204 * simple.el (messages-buffer-mode): New major mode.
5205 (messages-buffer): New function.
5206 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5207 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5208 (ert-run-test): Use `messages-buffer' function.
5209 (ert--force-message-log-buffer-truncation): Ignore read-only.
5210 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5211 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5212
5213 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5216
5217 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5218
5219 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * icomplete.el (icomplete-in-buffer): New var.
5222 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5223 vars and replace them with functions.
5224 (icomplete-minibuffer-setup): Adjust accordingly.
5225 (icomplete--completion-table, icomplete--completion-predicate)
5226 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5227 New functions.
5228 (icomplete-forward-completions, icomplete-backward-completions)
5229 (icomplete-simple-completing-p, icomplete-exhibit)
5230 (icomplete-completions): Use them.
5231 (icomplete--in-region-buffer): New var.
5232 (icomplete--in-region-setup): New function.
5233 (icomplete-mode): Use it.
5234
5235 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5236 (bug#15379).
5237 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5238 return args and options.
5239 (eshell-eval-using-options): Use the new return value of
5240 eshell--do-opts to set the options's vars in their scope.
5241 (eshell--set-option): Rename from eshell-set-option.
5242 Add arg `opt-vals'.
5243 (eshell--process-option): Rename from eshell-process-option.
5244 Add arg `opt-vals'.
5245 (eshell--process-args): Use an `opt-vals' alist to store the options's
5246 values during their processing and return them additionally to the
5247 remaining args.
5248
5249 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5250
5251 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5252 continuation character an operator, as far as indentation is
5253 concerned (Bug#15369).
5254
5255 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5256
5257 * window.el (window--state-put-2): Don't process buffer state
5258 when buffer doesn't exist any more (Bug#15382).
5259
5260 2013-09-15 Glenn Morris <rgm@gnu.org>
5261
5262 * eshell/em-unix.el (eshell/rm):
5263 Make -f ignore missing files. (Bug#15373)
5264
5265 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5266 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5267 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5268
5269 2013-09-14 Glenn Morris <rgm@gnu.org>
5270
5271 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5272
5273 2013-09-13 Glenn Morris <rgm@gnu.org>
5274
5275 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5276 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5277
5278 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5279
5280 * frame.el (x-focus-frame): Mark as declared in frame.c.
5281
5282 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * ls-lisp.el: Use advice-add.
5285 (original-insert-directory): Remove.
5286 (ls-lisp--insert-directory): Rename from insert-directory; add
5287 `orig-fun' argument.
5288 (insert-directory): Advise.
5289
5290 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5291
5292 * term.el (term-emulate-terminal): Decode the command string
5293 before passing it to term-command-hook. (Bug#15337)
5294
5295 2013-09-13 Glenn Morris <rgm@gnu.org>
5296
5297 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5298
5299 * eshell/esh-ext.el (eshell-search-path): Declare.
5300
5301 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5302 Otherwise an error occurs if eshell-dirs module not loaded.
5303
5304 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5305
5306 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5307
5308 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5309 `tramp-check-proper-host'. Check for a valid method name.
5310
5311 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5312 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5313 * net/tramp-sh.el (tramp-maybe-open-connection):
5314 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5315
5316 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5317 also for hash values.
5318
5319 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 * term/ns-win.el (parameters): Don't declare as dynamic.
5322 (before-make-frame-hook): Don't add ineffective function.
5323
5324 * eshell/*.el: Use lexical-binding (bug#15231).
5325
5326 2013-09-12 Kenichi Handa <handa@gnu.org>
5327
5328 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5329
5330 2013-09-12 Glenn Morris <rgm@gnu.org>
5331
5332 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5333 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5334
5335 * subr.el (do-after-load-evaluation): Also give compiler warnings
5336 when obsolete files are used (except by obsolete files).
5337
5338 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5339 in the status output, assume `filename' is the first. (Bug#15322)
5340
5341 * vc/vc.el (vc-deduce-fileset): Doc fix.
5342
5343 * calc/calc-help.el (Info-goto-node):
5344 * progmodes/cperl-mode.el (Info-find-node):
5345 * vc/ediff.el (Info-goto-node): Update declarations.
5346
5347 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5348
5349 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5350 (vc-bzr-pull): Require vc-dispatcher.
5351 * vc/vc-git.el (vc-compilation-mode): Declare.
5352 (vc-git-pull): Require vc-dispatcher.
5353
5354 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5355
5356 * progmodes/octave.el (help-button-action): Declare.
5357
5358 * shell.el (shell-directory-tracker): Output error as a message
5359 rather than just returning it as a string.
5360 (shell-process-pushd): Remove useless use of message.
5361
5362 * dframe.el (dframe-timer-fn):
5363 * files.el (dir-locals-read-from-file):
5364 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5365 (mpc-format):
5366 * reveal.el (reveal-post-command):
5367 * saveplace.el (load-save-place-alist-from-file):
5368 * shell.el (shell-resync-dirs):
5369 * w32-common-fns.el (x-get-selection-value):
5370 * emacs-lisp/copyright.el (copyright-find-copyright):
5371 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5372 * emulation/tpu-edt.el (tpu-copy-keyfile):
5373 * play/bubbles.el (bubbles--mark-neighbourhood):
5374 * progmodes/executable.el
5375 (executable-make-buffer-file-executable-if-script-p):
5376 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5377
5378 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 Cleanup Eshell to rely less on dynamic scoping.
5381 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5382 last-value, and ext-command here. Bind `args' closer to `body'.
5383 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5384 (eshell--args): Declare new dynamic var.
5385 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5386 last-value, and ext-command. Pass `args' to `body'.
5387 (eshell-process-args): Bind eshell--args.
5388 (eshell-set-option): Use eshell--args.
5389 * eshell/eshell.el (eshell): Use derived-mode-p.
5390 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5391 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5392 (eshell-glob-function): Declare.
5393 * eshell/esh-util.el: Require cl-lib.
5394 (eshell-read-hosts-file): Avoid add-to-list.
5395 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5396 `err'.
5397 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5398 Declare.
5399 (eshell/diff): Remove unused var `err'.
5400 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5401 `killflag'.
5402 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5403 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5404 first use.
5405 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5406 Move declaration before first use.
5407 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5408 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5409 rely on cl-return.
5410
5411 2013-09-12 Glenn Morris <rgm@gnu.org>
5412
5413 * term/ns-win.el (global-map): Remove binding for ispell-next,
5414 deleted 1999-05-29. (Bug#15357)
5415
5416 2013-09-11 Glenn Morris <rgm@gnu.org>
5417
5418 * echistory.el (electric-command-history): Remove call to deleted func.
5419
5420 * play/landmark.el (landmark-mode): Fix typos.
5421
5422 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5423 Check cvs-sort-ignore-file is bound.
5424
5425 * savehist.el: No need for cl when compiling on Emacs.
5426
5427 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5430 (bug#15338).
5431 (eshell-self-insert-command, eshell-send-invisible):
5432 Remove unused argument.
5433 (eshell-handle-control-codes): Remove unused var `orig'.
5434 Avoid delete-backward-char.
5435
5436 * files.el (set-auto-mode): Simplify a bit further.
5437
5438 2013-09-11 Glenn Morris <rgm@gnu.org>
5439
5440 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5441 (set-auto-mode): Don't regexp-quote elements.
5442 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5443 * progmodes/cc-mode.el (interpreter-mode-alist):
5444 * progmodes/ruby-mode.el (interpreter-mode-alist):
5445 Revert previous change.
5446
5447 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * play/snake.el (snake-mode):
5450 * play/mpuz.el (mpuz-mode):
5451 * play/landmark.el (lm-mode):
5452 * play/blackbox.el (blackbox-mode):
5453 * play/5x5.el (5x5-mode):
5454 * obsolete/options.el (Edit-options-mode):
5455 * net/quickurl.el (quickurl-list-mode):
5456 * net/newst-treeview.el (newsticker-treeview-mode):
5457 * mail/rmailsum.el (rmail-summary-mode):
5458 * mail/mspools.el (mspools-mode):
5459 * locate.el (locate-mode):
5460 * ibuffer.el (ibuffer-mode):
5461 * emulation/ws-mode.el (wordstar-mode):
5462 * emacs-lisp/debug.el (debugger-mode):
5463 * array.el (array-mode):
5464 * net/eudc.el (eudc-mode): Use define-derived-mode.
5465 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5466 Move initialization into declaration.
5467 (mairix-searches-mode): Use define-derived-mode.
5468 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5469 (eudc-edit-hotlist): Use dolist.
5470 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5471 (Man-mode): Use define-derived-mode.
5472 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5473 (Info-edit-mode): Use define-derived-mode.
5474 (Info-cease-edit): Use Info-mode.
5475 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5476 into declaration.
5477 (eshell-mode): Use define-derived-mode.
5478 * chistory.el (command-history-mode-map): Rename from
5479 command-history-map.
5480 (command-history-mode): Use define-derived-mode.
5481 (Command-history-setup): Remove function.
5482 * calc/calc.el (calc-trail-mode-map): New var.
5483 (calc-trail-mode): Use define-derived-mode.
5484 (calc-trail-buffer): Set calc-main-buffer manually.
5485 * bookmark.el (bookmark-insert-annotation): New function.
5486 (bookmark-edit-annotation): Use it.
5487 (bookmark-edit-annotation-mode): Make it a proper major mode.
5488 (bookmark-send-edited-annotation): Use derived-mode-p.
5489 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5490 closer to its ideal place. Use \' to match EOS.
5491
5492 * profiler.el (profiler-calltree-find): Use function-equal.
5493
5494 2013-09-10 Glenn Morris <rgm@gnu.org>
5495
5496 * files.el (interpreter-mode-alist): Convert to regexps.
5497 (set-auto-mode): Adapt for this. (Bug#15306)
5498 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5499 Comment out unused variable.
5500 * progmodes/cc-mode.el (interpreter-mode-alist):
5501 * progmodes/python.el (interpreter-mode-alist):
5502 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5503 * progmodes/sh-script.el (sh-set-shell):
5504 No longer use interpreter-mode-alist to get list of shells.
5505
5506 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5507
5508 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * simple.el: Use set-temporary-overlay-map for universal-argument.
5511 (universal-argument-map): Don't use default-bindings (bug#15317).
5512 Bind switch-frame explicitly. Replace universal-argument-minus with
5513 a conditional binding.
5514 (universal-argument-num-events, saved-overriding-map): Remove.
5515 (restore-overriding-map): Remove.
5516 (universal-argument--mode): Rename from save&set-overriding-map,
5517 and rewrite.
5518 (universal-argument, universal-argument-more, negative-argument)
5519 (digit-argument): Adjust accordingly.
5520 (universal-argument-minus): Remove.
5521 (universal-argument-other-key): Remove.
5522
5523 * subr.el (with-demoted-errors): Add `format' argument.
5524
5525 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5526
5527 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5528 `tramp-cleanup-connection'.
5529
5530 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5531 parameters KEEP-DEBUG and KEEP-PASSWORD.
5532
5533 * net/tramp.el (tramp-file-name-handler):
5534 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5535 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5536 (tramp-maybe-open-connection):
5537 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5538 Use `tramp-cleanup-connection'.
5539
5540 * net/tramp-sh.el (tramp-maybe-open-connection):
5541 Catch 'uname-changed inside the progress reporter.
5542
5543 2013-09-10 Glenn Morris <rgm@gnu.org>
5544
5545 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5546
5547 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5548 returns "alternate access method" in mode (eg "-rw-r--r--.").
5549
5550 2013-09-08 Glenn Morris <rgm@gnu.org>
5551
5552 * saveplace.el (load-save-place-alist-from-file):
5553 Demote errors. (Bug#15305)
5554
5555 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5556
5557 Improve compatibility with older Emacsen, and XEmacs.
5558
5559 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5560 only if it is bound. It isn't for XEmacs.
5561 (with-tramp-progress-reporter): Do not let-bind `result'.
5562 This yields to scoping errors in XEmacs.
5563 (tramp-handle-make-auto-save-file-name): New function, moved from
5564 tramp-sh.el.
5565
5566 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5567 for `make-auto-save-file-name'.
5568 (tramp-adb--gnu-switches-to-ash):
5569 Use `tramp-compat-replace-regexp-in-string'.
5570
5571 * net/tramp-cache.el (tramp-cache-print): Call
5572 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5573
5574 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5575 bound. It isn't for XEmacs.
5576
5577 * net/tramp-compat.el (tramp-compat-copy-file):
5578 Catch `wrong-number-of-arguments' error.
5579 (tramp-compat-replace-regexp-in-string): New defun.
5580
5581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5582 for `make-auto-save-file-name'.
5583 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5584 `copy-file'.
5585 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5586 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5587 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5588
5589 * net/tramp-gw.el (tramp-gw-open-network-stream):
5590 Use `tramp-compat-replace-regexp-in-string'.
5591
5592 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5593 Call `tramp-handle-make-auto-save-file-name'.
5594 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5595 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5596 (tramp-sh-file-inotifywait-process-filter):
5597 Use `tramp-compat-replace-regexp-in-string'.
5598 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5599
5600 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5601 for `make-auto-save-file-name'.
5602 (tramp-smb-handle-copy-directory):
5603 Call `tramp-compat-replace-regexp-in-string'.
5604 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5605 (tramp-smb-handle-copy-file): Improve error message.
5606 (tramp-smb-handle-rename-file): Rename directly only in case
5607 `newname' does not exist yet. This is a restriction of smbclient.
5608 (tramp-smb-maybe-open-connection): Rerun the function only when
5609 `auth-sources' is non-nil.
5610
5611 2013-09-08 Kenichi Handa <handa@gnu.org>
5612
5613 * international/characters.el: Set category "^" (Combining) for
5614 more characters.
5615
5616 2013-09-07 Alan Mackenzie <acm@muc.de>
5617
5618 Correctly fontify Java class constructors.
5619 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5620 in Java Mode.
5621 (c-recognize-typeless-decls): Set the Java value to t.
5622 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5623 While handling a "(", add a check for, effectively, Java, and handle a
5624 "typeless" declaration there.
5625
5626 2013-09-07 Roland Winkler <winkler@gnu.org>
5627
5628 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5629 field subtitle for entry type book.
5630
5631 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * minibuffer.el: Make minibuffer-complete call completion-in-region
5634 rather than other way around.
5635 (completion--some, completion-pcm--find-all-completions):
5636 Don't delay signals when debugging.
5637 (minibuffer-completion-contents): Beware fields within the
5638 minibuffer contents.
5639 (completion-all-sorted-completions): Use defvar-local.
5640 (completion--do-completion, completion--cache-all-sorted-completions)
5641 (completion-all-sorted-completions, minibuffer-force-complete):
5642 Add args `beg' and `end'.
5643 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5644 (minibuffer-complete): Use completion-in-region.
5645 (completion-complete-and-exit): New fun, extracted from
5646 minibuffer-complete-and-exit.
5647 (minibuffer-complete-and-exit): Use it.
5648 (completion--complete-and-exit): Rename from
5649 minibuffer--complete-and-exit.
5650 (completion-in-region--single-word): New function, extracted from
5651 minibuffer-complete-word.
5652 (minibuffer-complete-word): Use it.
5653 (display-completion-list): Make `common-substring' argument obsolete.
5654 (completion--in-region): Call completion--in-region-1 instead of
5655 minibuffer-complete.
5656 (completion-help-at-point): Pass boundaries to
5657 minibuffer-completion-help as args rather than via an overlay.
5658 (completion-pcm--string->pattern): Use `any-delim'.
5659 (completion-pcm--optimize-pattern): New function.
5660 (completion-pcm--pattern->regex): Handle `any-delim'.
5661 * icomplete.el (icomplete-forward-completions)
5662 (icomplete-backward-completions, icomplete-completions):
5663 Adjust calls to completion-all-sorted-completions and
5664 completion--cache-all-sorted-completions.
5665 (icomplete-with-completion-tables): Default to t.
5666 * emacs-lisp/crm.el (crm--current-element): Rename from
5667 crm--select-current-element. Don't put an overlay but return the
5668 boundaries instead.
5669 (crm--completion-command): Take two new args to bind to the boundaries.
5670 (crm-completion-help): Adjust accordingly.
5671 (crm-complete): Use completion-in-region.
5672 (crm-complete-word): Use completion-in-region--single-word.
5673 (crm-complete-and-exit): Use completion-complete-and-exit.
5674
5675 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5678 than dynamically.
5679
5680 2013-09-06 Juri Linkov <juri@jurta.org>
5681
5682 * info.el (Info-display-images-node): When image file doesn't exist
5683 display text version of the image if it's provided in the Info file.
5684 Otherwise, display the location of missing image from SRC attribute.
5685 Add help-echo text property from ALT attribute. (Bug#15279)
5686
5687 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5690 (edit-abbrevs-mode): Use define-derived-mode.
5691
5692 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5693 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5694 that it's defined.
5695 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5696 Use define-derived-mode.
5697
5698 * epg.el (epg-start-encrypt): Minor CSE simplification.
5699
5700 2013-09-06 William Xu <william.xwl@gmail.com>
5701
5702 * arc-mode.el: Add support for 7za (bug#15264).
5703 (archive-7z-program): New var.
5704 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5705 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5706 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5707
5708 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5709
5710 Remove URL syntax.
5711
5712 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5713 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5714 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5715 (tramp-postfix-host-format, tramp-file-name-regexp)
5716 (tramp-completion-file-name-regexp)
5717 (tramp-completion-dissect-file-name)
5718 (tramp-handle-substitute-in-file-name): Remove 'url case.
5719 (tramp-file-name-regexp-url)
5720 (tramp-completion-file-name-regexp-url): Remove constants.
5721
5722 2013-09-06 Glenn Morris <rgm@gnu.org>
5723
5724 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5725
5726 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5727
5728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5729 keywords" below "here-doc beginnings" (Bug#15270).
5730
5731 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * subr.el (pop): Use `car-safe'.
5734 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5735 to detect unused `pop' return value.
5736
5737 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5738 var `block-regexp'.
5739 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5740 (python-fill-string): Remove unused var `marker'.
5741 (python-skeleton-add-menu-items): Remove unused var `items'.
5742
5743 * international/mule-cmds.el: Require CL.
5744 (find-coding-systems-for-charsets): Avoid add-to-list.
5745 (sanitize-coding-system-list): New function, extracted from
5746 select-safe-coding-system-interactively.
5747 (select-safe-coding-system-interactively): Use it.
5748 (read-input-method-name): Accept symbols for `default'.
5749
5750 * emacs-lisp/advice.el (defadvice): Add indent rule.
5751
5752 2013-09-05 Daniel Hackney <dan@haxney.org>
5753
5754 * dired-x.el:
5755 * net/ange-ftp.el:
5756 * net/browse-url.el:
5757 * net/dbus.el:
5758 * net/eudc.el:
5759 * net/eudcb-ldap.el:
5760 * net/eww.el:
5761 * net/imap.el:
5762 * printing.el:
5763 * vc/ediff-diff.el:
5764 * vc/ediff-init.el:
5765 * vc/ediff-merg.el:
5766 * vc/ediff-mult.el:
5767 * vc/ediff-util.el:
5768 * vc/ediff-wind.el:
5769 * vc/ediff.el:
5770 * vc/emerge.el:
5771 * vc/pcvs.el:
5772 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5773 byte compiler. Remove some unused let-bound variables.
5774
5775 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5778 a "ref-cell", since it gets better optimized (bug#14883).
5779
5780 2013-09-05 Glenn Morris <rgm@gnu.org>
5781
5782 * progmodes/cc-awk.el (c-forward-sws): Declare.
5783
5784 2013-09-04 Glenn Morris <rgm@gnu.org>
5785
5786 * generic-x.el [rul-generic-mode]: Require cc-mode.
5787 (c++-mode-syntax-table): Declare.
5788 (rul-generic-mode-syntax-table): Init in the defvar.
5789
5790 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5793 (vc-do-command, vc-set-async-update):
5794 * vc/vc-mtn.el (vc-mtn-dir-status):
5795 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5796 (vc-hg-pull, vc-hg-merge-branch):
5797 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5798 (vc-git-merge-branch):
5799 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5800 (vc-cvs-dir-status-files):
5801 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5802 (vc-bzr-dir-status-files):
5803 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5804 * vc/vc-annotate.el: Use lexical-binding.
5805 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5806 (vc-sentinel-movepoint): Declare.
5807 (vc-annotate): Don't use `goto-line'.
5808 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5809 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5810 (vc-sentinel-movepoint): Declare.
5811 * vc/vc-svn.el: Use lexical-binding.
5812 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5813 * vc/vc-sccs.el:
5814 * vc/vc-rcs.el: Use lexical-binding.
5815
5816 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5817 `deleted'. Don't drop errors silently.
5818
5819 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5820
5821 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5822
5823 * vc/vc.el (vc-ignore): Rewrite.
5824 (vc-default-ignore): New function.
5825 (vc-default-ignore-completion-table): Use find-ignore-file.
5826
5827 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5828 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5829 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5830 Remove. Most code moved to vc.el.
5831
5832 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5835 * net/tramp-smb.el (tramp-smb-get-file-entries):
5836 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5837 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5838
5839 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5840 Update call to it.
5841 (eww-change-select): Remove unused var `properties'.
5842 (eww-make-unique-file-name): Remove unused var `base'.
5843
5844 * finder.el (finder-compile-keywords): Don't mess with windows.
5845
5846 * calculator.el (calculator-funcall): Fix typo in last change.
5847
5848 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5849
5850 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5851 <pkg>-autoloads.el file stop us.
5852
5853 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5854 warnings, and factor out common code.
5855
5856 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5857
5858 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5859 two-character operators and whether the character preceding them
5860 changes their meaning (Bug#15208).
5861
5862 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5863
5864 Format code sent to Python shell for robustness.
5865 * progmodes/python.el (python-shell-buffer-substring):
5866 New function.
5867 (python-shell-send-region, python-shell-send-buffer): Use it.
5868
5869 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5870
5871 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5872 * net/tramp.el (tramp-user-error): ... here.
5873 (tramp-find-method, tramp-check-proper-host)
5874 (tramp-dissect-file-name, tramp-debug-message)
5875 (tramp-handle-shell-command):
5876 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5877 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5878
5879 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5880
5881 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5882
5883 * avoid.el (mouse-avoidance-point-position)
5884 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5885 returns nil.
5886
5887 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5888
5889 * progmodes/python.el (python-shell-completion-get-completions):
5890 Drop use of deleted `comint-last-prompt-overlay'.
5891 (python-nav-if-name-main): New command.
5892
5893 2013-09-01 Glenn Morris <rgm@gnu.org>
5894
5895 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5896 Avoid leading space in $wins. Otherwise the sed command used by
5897 eg compile-main ends up containing "/*.el". (Bug#15170)
5898
5899 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5900
5901 2013-08-30 Glenn Morris <rgm@gnu.org>
5902
5903 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5904 Fix is-this-a-directory logic. (Bug#15220)
5905
5906 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * textmodes/css-mode.el: Use SMIE.
5909 (css-smie-grammar): New var.
5910 (css-smie--forward-token, css-smie--backward-token)
5911 (css-smie-rules): New functions.
5912 (css-mode): Use them.
5913 (css-navigation-syntax-table): Remove var.
5914 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5915 (css-indent-calculate, css-indent-line): Remove functions.
5916
5917 Misc changes to reduce use of `(lambda...); and other cleanups.
5918 * cus-edit.el: Use lexical-binding.
5919 (customize-push-and-save, customize-apropos)
5920 (custom-buffer-create-internal): Use closures.
5921 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5922 * progmodes/ada-xref.el: Use setq.
5923 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5924 * dframe.el: Use lexical-binding.
5925 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5926 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5927 * descr-text.el: Use lexical-binding.
5928 (describe-text-widget, describe-text-sexp, describe-property-list):
5929 Use closures.
5930 * comint.el (comint-history-isearch-push-state): Use a closure.
5931 * calculator.el: Use lexical-binding.
5932 (calculator-number-to-string): Make it work with lexical-binding.
5933 (calculator-funcall): Same and use cl-letf.
5934
5935 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5936 (lisp--company-doc-string, lisp--company-location): New functions.
5937 (lisp-completion-at-point): Use them to improve Company support.
5938
5939 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5940 params of lambda expressions.
5941 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5942 (ruby-smie--opening-pipe-p): New function.
5943 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5944 symbols and matched |...| for formal params.
5945 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5946 from being treated as hanging. Handle "rescue".
5947
5948 2013-08-29 Glenn Morris <rgm@gnu.org>
5949
5950 * progmodes/cc-engine.el (c-pull-open-brace):
5951 Move definition before use.
5952
5953 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5956 are immutable. Don't use `unsafe' any more.
5957 (cl--defsubst-expand): Don't substitute at the same time as keeping
5958 a residual unused let-binding. Don't use `unsafe' any more.
5959
5960 2013-08-29 Glenn Morris <rgm@gnu.org>
5961
5962 * calendar/cal-china.el (calendar-chinese-year-cache):
5963 Recenter on 2015.
5964
5965 * nxml/nxml-util.el (nxml-debug-clear-inside):
5966 Use cl-loop rather than loop.
5967
5968 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5969
5970 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5971
5972 2013-08-28 Glenn Morris <rgm@gnu.org>
5973
5974 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5975
5976 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5977
5978 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5979
5980 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5981
5982 * simple.el (repeat-complex-command--called-interactively-skip):
5983 New function.
5984 (repeat-complex-command): Use it (bug#14136).
5985
5986 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5987 (c-define-abbrev-table): Add `doc' argument.
5988 (c-mode-abbrev-table, c++-mode-abbrev-table)
5989 (objc-mode-abbrev-table, java-mode-abbrev-table)
5990 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5991 (awk-mode-abbrev-table): Use it.
5992 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5993 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5994 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5995 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5996 Move initialization into the declaration; and remove any
5997 autoload cookie.
5998
5999 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6000 and dynamic let binding.
6001
6002 * vc/smerge-mode.el: Remove redundant :group args.
6003
6004 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6005 to load-path.
6006
6007 2013-08-28 Juri Linkov <juri@jurta.org>
6008
6009 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6010 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6011 (isearch-other-meta-char): Handle an undefined shifted printing
6012 character by downshifting it. (Bug#15200)
6013
6014 2013-08-28 Juri Linkov <juri@jurta.org>
6015
6016 * isearch.el (isearch-search): Change regexp error message for
6017 non-regexp searches. (Bug#15166)
6018
6019 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6020
6021 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6022 for portability to hosts where /bin/sh has problems.
6023
6024 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6027
6028 2013-08-27 Juri Linkov <juri@jurta.org>
6029
6030 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6031 in the keyboard macro. (Bug#15126)
6032
6033 2013-08-27 Juri Linkov <juri@jurta.org>
6034
6035 * isearch.el (isearch-quote-char): Comment out converting unibyte
6036 to multibyte, thus syncing with its `quoted-insert' counterpart.
6037 (Bug#15166)
6038
6039 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6040
6041 * window.el (display-buffer-use-some-window): Add missing
6042 argument in call of get-largest-window (Bug#15185).
6043 Reported by Stephen Leake.
6044
6045 2013-08-27 Glenn Morris <rgm@gnu.org>
6046
6047 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6048
6049 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6052 from a matcher-function unless there's no more matches (bug#15161).
6053
6054 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6055
6056 * minibuffer.el: Revert change from 2013-08-20.
6057
6058 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6059 with text property `tramp-default', if appropriate.
6060 (tramp-check-proper-host): New defun.
6061 (tramp-dissect-file-name): Do not check hostname. Revert change
6062 of 2013-03-18.
6063 (tramp-backtrace): Make VEC-OR-PROC optional.
6064
6065 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6066 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6067 * net/tramp-sh.el (tramp-maybe-open-connection):
6068 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6069 Apply `tramp-check-proper-host'.
6070
6071 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6072
6073 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6074 lambda expression in order to have `describe-variable' display it.
6075
6076 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6077
6078 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6079 BUF can be optional. (Bug#15186)
6080
6081 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6082
6083 * progmodes/flymake.el (flymake-get-real-file-name-function):
6084 Fix broken customization. (Bug#15184)
6085
6086 2013-08-25 Alan Mackenzie <acm@muc.de>
6087
6088 Improve indentation of bracelists defined by macros (without "=").
6089
6090 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6091 expansion begins with "{", regard it as bracelist when it doesn't
6092 contain a ";".
6093
6094 Parse C++ inher-intro when there's a template split over 2 lines.
6095
6096 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6097 rigorously the search for "class" etc. followed by ":".
6098
6099 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6100 random languages a regexp which never matches rather than nil.
6101
6102 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6103
6104 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6105 (c-awk-regexp-one-line-possibly-open-char-list-re)
6106 (c-awk-one-line-possibly-open-regexp-re)
6107 (c-awk-one-line-non-syn-ws*-re): Remove.
6108 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6109 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6110 (c-awk-space*-unclosed-regexp-/-re): New constants.
6111 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6112 aren't regexp delimiters.
6113
6114 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6115 handling for a rare situation in AWK Mode involving unterminated
6116 strings/regexps.
6117
6118 2013-08-23 Glenn Morris <rgm@gnu.org>
6119
6120 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6121
6122 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6123
6124 * files.el (create-file-buffer): If the result would begin with
6125 spaces, prepend a "|" instead of removing them. (Bug#15162)
6126
6127 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6130 text-properties (bug#15155).
6131
6132 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6133 exist any more.
6134 (calc-keypad-redraw): Remove unused var `pad'.
6135 (calc-keypad-press): Remove unused var `menu'.
6136
6137 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6138
6139 * window.el (display-buffer-pop-up-frame):
6140 Call pop-up-frame-function with BUFFER current so `make-frame' will
6141 use it as the new frame's buffer (Bug#15133).
6142
6143 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 * calendar/timeclock.el: Minor cleanups.
6146 (timeclock-ask-before-exiting, timeclock-use-display-time):
6147 Use `symbol'.
6148 (timeclock-modeline-display): Define as alias before the
6149 actual definition.
6150 (timeclock-mode-line-display): Use define-minor-mode.
6151 (timeclock-day-list-template): Make it a function, add an argument.
6152 (timeclock-day-list-required, timeclock-day-list-length)
6153 (timeclock-day-list-debt, timeclock-day-list-span)
6154 (timeclock-day-list-break): Adjust calls accordingly.
6155
6156 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6159 Use read--expression so that completion works again.
6160
6161 2013-08-21 Sam Steingold <sds@gnu.org>
6162
6163 Add rudimentary inferior shell interaction
6164 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6165 (sh-set-shell): Reset it.
6166 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6167 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6168
6169 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * align.el: Use lexical-binding.
6172 (align-region): Simplify accordingly.
6173
6174 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6175
6176 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6177
6178 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6179 `non-essential' up.
6180
6181 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6182
6183 * net/tramp.el:
6184 * net/tramp-adb.el:
6185 * net/tramp-cmds.el:
6186 * net/tramp-ftp.el:
6187 * net/tramp-gvfs.el:
6188 * net/tramp-gw.el:
6189 * net/tramp-sh.el: Don't wrap external variable declarations by
6190 `eval-when-compile'.
6191
6192 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6193
6194 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6195 now that Emacs supports ImageMagick animations.
6196
6197 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6198
6199 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6200 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6201
6202 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6203
6204 * window.el (mouse-autoselect-window-select): Do autoselect when
6205 mouse pointer is on margin.
6206
6207 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6208
6209 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6210
6211 2013-08-16 Glenn Morris <rgm@gnu.org>
6212
6213 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6214 Handle "Remote Directory" response of some clients. (Bug#15058)
6215
6216 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6217 Tweak warning. (Bug#14926)
6218
6219 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6220 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6221
6222 * image-mode.el (image-mode-map): Add menu items to reverse,
6223 increase, decrease, reset animation speed.
6224 (image--set-speed, image-increase-speed, image-decrease-speed)
6225 (image-reverse-speed, image-reset-speed): New functions.
6226 (image-mode-map): Add bindings for speed commands.
6227
6228 * image.el (image-animate-get-speed, image-animate-set-speed):
6229 New functions.
6230 (image-animate-timeout): Respect image :speed property.
6231
6232 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6235 previous line (bug#15101).
6236 (debugger-eval-expression, debugger-record-expression):
6237 Use read--expression (bug#15102).
6238
6239 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6240
6241 Remove byte compiler warnings, visible when compiling with
6242 `byte-compile-force-lexical-warnings' set to t.
6243
6244 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6245 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6246 (tramp-handle-unhandled-file-name-directory)
6247 (tramp-handle-file-notify-add-watch, tramp-action-login)
6248 (tramp-action-succeed, tramp-action-permission-denied)
6249 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6250 arguments with "_".
6251
6252 * net/tramp-adb.el (tramp-adb-parse-device-names)
6253 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6254 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6255 (tramp-adb-handle-file-truename): Remove unused arguments.
6256
6257 * net/tramp-cache.el (tramp-flush-directory-property)
6258 (tramp-flush-connection-property, tramp-list-connections)
6259 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6260
6261 * net/tramp-compat.el (tramp-compat-make-temp-file):
6262 Rename FILENAME to F.
6263
6264 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6265 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6266 (tramp-zeroconf-parse-workstation-device-names)
6267 (tramp-zeroconf-parse-webdav-device-names)
6268 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6269
6270 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6271 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6272
6273 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6274 arguments.
6275 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6276 (tramp-sh-handle-insert-file-contents-literally)
6277 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6278 with "_".
6279 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6280 Remove unused variables.
6281
6282 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6283 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6284 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6285
6286 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6287 Make them a defconst.
6288 (tramp-uuencode-region): Remove unused variable.
6289
6290 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6291
6292 * frameset.el (frameset--prop-setter): New function.
6293 (frameset-prop): Add gv-setter declaration.
6294 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6295 parameter was already set in FILTERED. Doc fix.
6296 (frameset--record-minibuffer-relationships): Allow saving a
6297 minibufferless frame without its corresponding minibuffer frame.
6298 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6299 frame, if the frame id matches.
6300 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6301 frames before orphaned ones.
6302 (frameset-restore): Warn about orphaned windows, instead of error out.
6303
6304 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6305
6306 * window.el (window-make-atom): Don't overwrite parameter
6307 already present.
6308 (display-buffer-in-atom-window): Handle special case where we
6309 split an already atomic window.
6310 (window--major-non-side-window, display-buffer-in-side-window)
6311 (window--side-check): Ignore minibuffer window when walking
6312 window tree.
6313 (window-deletable-p): Return 'frame only if no other frame uses
6314 our minibuffer window.
6315 (record-window-buffer): Run buffer-list-update-hook.
6316 (split-window): Make sure window--check-frame won't destroy an
6317 existing atomic window in case the new window gets nested
6318 inside.
6319 (display-buffer-at-bottom): Ignore minibuffer window when
6320 walking window tree. Don't split a side window.
6321 (pop-to-buffer): Don't set-buffer here, the select-window call
6322 should do that.
6323 (mouse-autoselect-window-select): Autoselect only if we are in the
6324 text portion of the window.
6325
6326 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6327
6328 * net/shr.el (shr-parse-image-data): New function to grab both the
6329 data itself and the Content-Type.
6330 (shr-put-image): Use it.
6331
6332 * net/eww.el (eww-display-image): Ditto.
6333
6334 * image.el (image-content-type-suffixes): New variable.
6335
6336 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6337
6338 * progmodes/python.el (python-imenu--build-tree)
6339 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6340
6341 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6342
6343 * simple.el (backward-word): Mention the optional argument.
6344
6345 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * frameset.el (frameset--make): Rename constructor from make-frameset.
6348 (frameset-p, frameset-valid-p): Don't autoload.
6349 (frameset-valid-p): Use normal accessors.
6350
6351 2013-08-13 Glenn Morris <rgm@gnu.org>
6352
6353 * progmodes/compile.el (compile-command): Tweak example in doc.
6354 * obsolete/scribe.el (scribe-mode):
6355 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6356
6357 * mail/feedmail.el (feedmail-confirm-outgoing)
6358 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6359
6360 * cus-start.el (truncate-partial-width-windows): Fix type.
6361
6362 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6363
6364 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6365
6366 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * emacs-lisp/timer.el (timer--time-setter): New function.
6369 (timer--time): Use it as gv-setter.
6370
6371 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6372 setter is not a symbol.
6373
6374 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6375
6376 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6377 if sending fails. This makes debugging easier.
6378
6379 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6380
6381 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6382 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6383 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6384
6385 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6386
6387 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6388
6389 2013-08-12 Glenn Morris <rgm@gnu.org>
6390
6391 * format.el (format-annotate-function):
6392 Handle read-only text properties in the source. (Bug#14887)
6393
6394 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6395
6396 * net/eww.el (eww-display-html): Ignore coding system errors.
6397 One web site uses "utf-8lias" as the coding system.
6398
6399 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6400
6401 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6402
6403 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6404
6405 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6406 (tutorial--detailed-help): Remove unused local variables.
6407 (tutorial--save-tutorial-to): Use ignore-errors.
6408 (help-with-tutorial): Use looking-at-p.
6409
6410 * view.el (view-buffer-other-window, view-buffer-other-frame):
6411 Mark unused arguments.
6412
6413 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6414 (woman-select-symbol-fonts, woman, woman-find-file)
6415 (woman-insert-file-contents, woman-non-underline-faces):
6416 Use string-match-p.
6417 (woman1-unquote): Move declaration.
6418
6419 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6420 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6421 argument. Remove unused local variable.
6422 (xml-parse-elem-type): Use string-match-p.
6423 (xml-substitute-numeric-entities): Use ignore-errors.
6424
6425 * calculator.el (calculator): Mark unused argument.
6426 (calculator-paste, calculator-quit, calculator-integer-p):
6427 Use ignore-errors.
6428 (calculator-string-to-number, calculator-decimal, calculator-exp)
6429 (calculator-op-or-exp): Use string-match-p.
6430
6431 * dired.el (dired-buffer-more-recently-used-p): Declare.
6432 (dired-insert-set-properties, dired-insert-old-subdirs):
6433 Use ignore-errors.
6434
6435 * dired-aux.el (dired-compress): Use ignore-errors.
6436 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6437 (dired-do-async-shell-command, dired-do-shell-command)
6438 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6439 (dired-insert-subdir-validate): Use string-match-p.
6440 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6441 (dired-add-entry): Use string-match-p, looking-at-p.
6442 (dired-insert-subdir-newpos): Remove unused local variable.
6443
6444 * filenotify.el (file-notify-callback): Remove unused local variable.
6445
6446 * filesets.el (filesets-error): Mark unused argument.
6447 (filesets-which-command-p, filesets-filter-dir-names)
6448 (filesets-directory-files, filesets-get-external-viewer)
6449 (filesets-ingroup-get-data): Use string-match-p.
6450
6451 * find-file.el (ff-other-file-name, ff-other-file-name)
6452 (ff-find-the-other-file, ff-cc-hh-converter):
6453 Remove unused local variables.
6454 (ff-get-file-name): Use string-match-p.
6455 (ff-all-dirs-under): Use ignore-errors.
6456
6457 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6458 (follow-select-if-visible): Remove unused local variable.
6459
6460 * forms.el (read-file-filter): Move declaration.
6461 (forms--make-format, forms--make-parser, forms-insert-record):
6462 Quote function with #'.
6463 (forms--update): Use string-match-p. Quote function with #'.
6464
6465 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6466 (help-make-xrefs): Use looking-at-p.
6467 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6468
6469 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6470 (ibuffer-confirm-operation-on): Use string-match-p.
6471
6472 * msb.el (msb-item-handler, msb-dired-item-handler):
6473 Mark unused arguments.
6474
6475 * ses.el (ses-decode-cell-symbol)
6476 (ses-kill-override): Remove unused local variable.
6477 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6478 (ses-load): Use ignore-errors, looking-at-p.
6479 (ses-jump-safe): Use ignore-errors.
6480 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6481
6482 * tabify.el (untabify, tabify): Mark unused arguments.
6483
6484 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6485 Mark unused argument.
6486 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6487 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6488
6489 * emacs-lisp/timer.el (timer--time): Define setter with
6490 gv-define-setter to avoid deprecation warning.
6491
6492 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6493 (*record-cmpl-statistics-p*): Remove (was commented out).
6494 (cmpl-statistics-block): Remove (body was commented out).
6495 All callers changed.
6496 (add-completions-from-buffer, load-completions-from-file):
6497 Remove unused variables.
6498
6499 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6500
6501 * filecache.el (file-cache-delete-file-list):
6502 Print message only when told so.
6503 (file-cache-files-matching): Use #' in mapconcat argument.
6504
6505 * ffap.el (ffap-url-at-point): Fix reference to variable
6506 thing-at-point-default-mail-uri-scheme.
6507
6508 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * subr.el (define-error): New function.
6511 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6512 error-file-not-found and define with define-error.
6513 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6514 and define with define-error.
6515 * userlock.el (file-locked, file-supersession):
6516 * simple.el (mark-inactive):
6517 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6518 * progmodes/ada-mode.el (ada-mode-errors):
6519 * play/life.el (life-extinct):
6520 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6521 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6522 * nxml/rng-util.el (rng-error):
6523 * nxml/rng-uri.el (rng-uri-error):
6524 * nxml/rng-match.el (rng-compile-error):
6525 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6526 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6527 * nxml/nxml-rap.el (nxml-scan-error):
6528 * nxml/nxml-outln.el (nxml-outline-error):
6529 * net/soap-client.el (soap-error):
6530 * net/gnutls.el (gnutls-error):
6531 * net/ange-ftp.el (ftp-error):
6532 * mpc.el (mpc-proc-error):
6533 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6534 (json-number-format, json-string-escape, json-string-format)
6535 (json-key-format, json-object-format):
6536 * jka-compr.el (compression-error):
6537 * international/quail.el (quail-error):
6538 * international/kkc.el (kkc-error):
6539 * emacs-lisp/ert.el (ert-test-failed):
6540 * calc/calc.el (calc-error, inexact-result, math-overflow)
6541 (math-underflow):
6542 * bookmark.el (bookmark-error-no-filename):
6543 * epg.el (epg-error): Define with define-error.
6544
6545 * time.el (display-time-event-handler)
6546 (display-time-next-load-average): Don't call sit-for since it seems
6547 unnecessary (bug#15045).
6548
6549 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6550 Use #' instead of ' to quote functions.
6551 (checkdoc-output-mode): Use setq-local.
6552 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6553 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6554 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6555 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6556 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6557 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6558 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6559 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6560
6561 * ido.el (ido-completion-help): Fix up compiler warning.
6562
6563 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * frameset.el (frameset-p): Add autoload cookie.
6566 (frameset--jump-to-register): New function, based on code moved from
6567 register.el.
6568 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6569
6570 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6571 (frameset-restore, frameset-save, frameset-session-filter-alist):
6572 Remove declarations.
6573 (register-alist): Doc fix.
6574 (frameset-to-register): Move to frameset.el.
6575 (jump-to-register, describe-register-1): Remove frameset-specific code.
6576
6577 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6578
6579 * allout-widgets.el (allout-widgets-pre-command-business)
6580 (allout-widgets-post-command-business)
6581 (allout-widgets-after-change-handler)
6582 (allout-decorate-item-and-context, allout-set-boundary-marker)
6583 (allout-body-modification-handler)
6584 (allout-graphics-modification-handler): Mark ignored arguments.
6585 (allout-widgets-post-command-business)
6586 (allout-widgets-exposure-change-processor)
6587 (allout-widgets-exposure-undo-processor)
6588 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6589 (allout-parse-item-at-point, allout-decorate-item-guides)
6590 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6591 * allout.el (epa-passphrase-callback-function): Declare.
6592 (allout-overlay-insert-in-front-handler)
6593 (allout-overlay-interior-modification-handler)
6594 (allout-isearch-end-handler, allout-chart-siblings)
6595 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6596 (allout-yank-processing, allout-process-exposed)
6597 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6598 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6599 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6600 (lisp-indent-defform): Mark ignored arguments.
6601 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6602 (calculate-lisp-indent): Remove unused variables.
6603 * international/characters.el (indian-2-column, arabic-2-column)
6604 (tibetan): Mark ignored arguments.
6605 (use-cjk-char-width-table): Mark ignored arguments.
6606 Remove unused variables.
6607 * international/fontset.el (build-default-fontset-data)
6608 (x-compose-font-name, create-fontset-from-fontset-spec):
6609 Mark ignored arguments.
6610 (fontset-plain-name): Remove unused variables.
6611 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6612 (keyboard-coding-system): Mark ignored arguments.
6613 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6614 * help.el (resize-temp-buffer-window):
6615 * window.el (display-buffer-in-major-side-window)
6616 (display-buffer-in-side-window, display-buffer-in-previous-window):
6617 Remove unused variables.
6618 * isearch.el (isearch-forward-symbol):
6619 * version.el (emacs-bzr-version-bzr):
6620 * international/mule-cmds.el (current-language-environment):
6621 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6622 (x-handle-display):
6623 * term/pc-win.el (x-list-fonts, x-display-planes)
6624 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6625 (x-server-version, x-display-screens, x-display-mm-height)
6626 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6627 (x-selection-owner-p, x-own-selection-internal)
6628 (x-disown-selection-internal, x-get-selection-internal)
6629 (msdos-initialize-window-system):
6630 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6631 * term/x-win.el (x-handle-no-bitmap-icon):
6632 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6633 (vc-default-find-file-hook, vc-default-extra-menu):
6634 Mark ignored arguments.
6635
6636 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6639 break-condition in the context of the debugged code (bug#12685).
6640
6641 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6642
6643 * comint.el:
6644 Do not use an overlay to highlight the last prompt. (Bug#14744)
6645 (comint-mode): Make comint-last-prompt buffer local.
6646 (comint-last-prompt): New variable.
6647 (comint-last-prompt-overlay): Remove. Superseded by
6648 comint-last-prompt.
6649 (comint-snapshot-last-prompt, comint-output-filter):
6650 Use comint-last-prompt.
6651
6652 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6653
6654 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6655 (frameset-save): Check validity of the resulting frameset.
6656
6657 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6658
6659 * ido.el (ido-record-command): Add doc string.
6660
6661 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * frameset.el (frameset): Do not disable creation of the default
6664 frameset-p predicate. Doc fix.
6665 (frameset-valid-p): New function, copied from the old predicate-p.
6666 Add additional checks.
6667 (frameset-restore): Check with frameset-valid-p.
6668 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6669 (frameset-name, frameset-description, frameset-properties)
6670 (frameset-states): Add docstring.
6671 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6672 (frameset-filter-alist): Doc fixes.
6673
6674 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6675
6676 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6677
6678 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6679
6680 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6681 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6682 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6683 (byte-compile-normal-call): Remove obsolescence check.
6684
6685 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6686
6687 * frameset.el (frameset-restore): Doc fix.
6688
6689 * register.el (frameset-frame-id, frameset-frame-with-id)
6690 (frameset-p, frameset-restore, frameset-save): Declare.
6691 (register-alist): Document framesets.
6692 (frameset-session-filter-alist): Declare.
6693 (frameset-to-register): New function.
6694 (jump-to-register): Implement jumping to framesets. Doc fix.
6695 (describe-register-1): Describe framesets.
6696
6697 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6698
6699 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6700
6701 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6702 Use lexical-binding.
6703
6704 * frameset.el (frameset): Use type vector, not list (incompatible
6705 change). Do not declare a new constructor, use the default one.
6706 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6707 `name' and `description', respectively, and add read-only slot
6708 `timestamp'. Doc fixes.
6709 (frameset-copy, frameset-persistent-filter-alist)
6710 (frameset-filter-alist, frameset-switch-to-gui-p)
6711 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6712 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6713 (frameset-filter-iconified, frameset-keep-original-display-p):
6714 Doc fixes.
6715 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6716 Rename from frameset-filter-(save|restore)-param. All callers changed.
6717 Doc fix.
6718 (frameset-p): Adapt to change to vector and be more thorough.
6719 Change arg name to OBJECT. Doc fix.
6720 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6721 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6722 All callers changed.
6723 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6724 All callers changed.
6725 (frameset--record-minibuffer-relationships): Rename from
6726 frameset--process-minibuffer-frames. All callers changed.
6727 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6728 Use new default constructor (again). Doc fix.
6729 (frameset--find-frame-if): Rename from `frameset--find-frame.
6730 All callers changed.
6731 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6732 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6733 Doc fix.
6734 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6735 PARAMETERS and WINDOW-STATE, respectively.
6736 (frameset-restore): Add new keyword argument PREDICATE.
6737 Reset frameset--target-display to nil. Doc fix.
6738
6739 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6742 (bat-mode): Use it.
6743 (bat-mode-syntax-table): Mark \n as end-of-comment.
6744 (bat-font-lock-keywords): Remove comment rule.
6745
6746 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6747 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6748
6749 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6750 (byte-compile-callargs-warn): Use `push'.
6751 (byte-compile-arglist-warn): Ignore higher-order "calls".
6752 (byte-compile-file-form-autoload): Use `pcase'.
6753 (byte-compile-function-form): If quoting a symbol, check that it exists.
6754
6755 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6756
6757 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6758 and add a few popular commands found in batch files.
6759 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6760 (dos-mode): Doc fixes.
6761
6762 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6763
6764 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6765 (dos-mode): Use setq-local. Add space after "rem".
6766 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6767 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6768
6769 2013-08-07 Arni Magnusson <arnima@hafro.is>
6770
6771 * progmodes/dos.el: New file.
6772 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6773 dos-mode.
6774
6775 2013-08-06 Glenn Morris <rgm@gnu.org>
6776
6777 * calendar/calendar.el: Add new faces, and day-header-array.
6778 (calendar-weekday-header, calendar-weekend-header)
6779 (calendar-month-header): New faces.
6780 (calendar-day-header-construct): New function.
6781 (calendar-day-header-width): Also :set calendar-day-header-array.
6782 (calendar-american-month-header, calendar-european-month-header)
6783 (calendar-iso-month-header): Use calendar- faces.
6784 (calendar-generate-month):
6785 Use calendar-day-header-array for day headers; apply faces to them.
6786 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6787 (calendar-abbrev-construct): Add optional maxlen argument.
6788 (calendar-day-name-array): Doc fix.
6789 (calendar-day-name-array, calendar-abbrev-length)
6790 (calendar-day-abbrev-array):
6791 Also :set calendar-day-header-array, and maybe redraw.
6792 (calendar-day-header-array): New option. (Bug#15007)
6793 (calendar-font-lock-keywords): Set to nil and make obsolete.
6794 (calendar-day-name): Add option to use header array.
6795
6796 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6797
6798 * net/shr.el (shr-render-td): Remove debugging.
6799 (shr-render-td): Make width computation consistent by defaulting
6800 all zero-width columns to 10 characters. This may not be optimal,
6801 but it's at least consistent.
6802 (shr-make-table-1): Redo last change to fix the real problem in
6803 colspan handling.
6804
6805 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6806
6807 * files.el (cache-long-line-scans):
6808 Make obsolete alias to `cache-long-scans'.
6809
6810 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6811
6812 * frameset.el (frameset, frameset-filter-alist)
6813 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6814 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6815 (frameset-compute-pos): Rename from frameset--compute-pos,
6816 and add docstring.
6817 (frameset-move-onscreen): Use frameset-compute-pos.
6818 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6819
6820 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6821 Fix typos in docstrings.
6822
6823 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6824
6825 * frame.el (get-other-frame): Tiny cleanup.
6826
6827 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * vc/vc.el (vc-default-ignore-completion-table):
6830 Silence byte-compiler warning.
6831
6832 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6833 slot, which can indeed be nil.
6834 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6835 Move entry for `left' from persistent to live filter alist.
6836 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6837 Doc fixes.
6838 (frameset-filter-params): When restoring a frame, copy items added to
6839 `filtered', to avoid unwittingly modifying the original parameters.
6840 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6841 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6842
6843 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6844 to use looking-at-p instead of looking-at. (Bug#15028)
6845
6846 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 Revert introduction of isearch-filter-predicates (bug#14714).
6849 Rely on add-function instead.
6850 * isearch.el (isearch-filter-predicates): Rename it back to
6851 isearch-filter-predicate.
6852 (isearch-message-prefix): Use advice-function-mapc and advice
6853 properties to get the isearch-message-prefix.
6854 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6855 instead of run-hook-with-args-until-failure.
6856 (isearch-filter-visible): Not obsolete any more.
6857 * loadup.el: Preload nadvice.
6858 * replace.el (perform-replace): Revert to funcall
6859 instead of run-hook-with-args-until-failure.
6860 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6861 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6862 dired-isearch-filenames-toggle; make it into a proper minor mode.
6863 Use add/remove-function.
6864 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6865 Call the minor-mode rather than add/remove-hook.
6866 (dired-isearch-filter-filenames):
6867 Remove isearch-message-prefix property.
6868 * info.el (Info--search-loop): New function, extracted from Info-search.
6869 Funcall isearch-filter-predicate instead of
6870 run-hook-with-args-until-failure isearch-filter-predicates.
6871 (Info-search): Use it.
6872 (Info-mode): Use isearch-filter-predicate instead of
6873 isearch-filter-predicates.
6874
6875 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6876
6877 Do not call to `selected-window' where it is assumed by default.
6878 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6879 `window-hscroll', `window-width', `window-height', `window-buffer',
6880 `window-frame', `window-start', `window-point', `next-window'
6881 and `window-display-table'.
6882 * abbrev.el (abbrev--default-expand):
6883 * bs.el (bs--show-with-configuration):
6884 * buff-menu.el (Buffer-menu-mouse-select):
6885 * calc/calc.el (calc):
6886 * calendar/calendar.el (calendar-generate-window):
6887 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6888 (diary-make-entry):
6889 * comint.el (send-invisible, comint-dynamic-complete-filename)
6890 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6891 * completion.el (complete):
6892 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6893 * disp-table.el (describe-current-display-table):
6894 * doc-view.el (doc-view-insert-image):
6895 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6896 * ehelp.el (with-electric-help):
6897 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6898 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6899 * emacs-lisp/helper.el (Helper-help-scroller):
6900 * emulation/cua-base.el (cua--post-command-handler-1):
6901 * eshell/esh-mode.el (eshell-output-filter):
6902 * ffap.el (ffap-gnus-wrapper):
6903 * help-macro.el (make-help-screen):
6904 * hilit-chg.el (highlight-compare-buffers):
6905 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6906 * hl-line.el (global-hl-line-highlight):
6907 * icomplete.el (icomplete-simple-completing-p):
6908 * isearch.el (isearch-done):
6909 * jit-lock.el (jit-lock-stealth-fontify):
6910 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6911 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6912 * mpc.el (mpc-tagbrowser, mpc):
6913 * net/rcirc.el (rcirc-any-buffer):
6914 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6915 * play/landmark.el (landmark-max-width, landmark-max-height):
6916 * play/zone.el (zone):
6917 * progmodes/compile.el (compilation-goto-locus):
6918 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6919 * progmodes/etags.el (find-tag-other-window):
6920 * progmodes/fortran.el (fortran-column-ruler):
6921 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6922 * progmodes/verilog-mode.el (verilog-point-text):
6923 * reposition.el (reposition-window):
6924 * rot13.el (toggle-rot13-mode):
6925 * server.el (server-switch-buffer):
6926 * shell.el (shell-dynamic-complete-command)
6927 (shell-dynamic-complete-environment-variable):
6928 * simple.el (insert-buffer, set-selective-display)
6929 (delete-completion-window):
6930 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6931 (speedbar-recenter):
6932 * startup.el (fancy-splash-head):
6933 * textmodes/ispell.el (ispell-command-loop):
6934 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6935 * tutorial.el (help-with-tutorial):
6936 * vc/add-log.el (add-change-log-entry):
6937 * vc/compare-w.el (compare-windows):
6938 * vc/ediff-help.el (ediff-indent-help-message):
6939 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6940 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6941 (ediff-setup-control-frame):
6942 * vc/emerge.el (emerge-position-region):
6943 * vc/pcvs-util.el (cvs-bury-buffer):
6944 * window.el (walk-windows, mouse-autoselect-window-select):
6945 * winner.el (winner-set-conf, winner-undo): Related users changed.
6946
6947 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6948
6949 * frameset.el (frameset--set-id): Doc fix.
6950 (frameset-frame-id, frameset-frame-id-equal-p)
6951 (frameset-locate-frame-id): New functions.
6952 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6953 (frameset-restore): Use them.
6954
6955 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6956
6957 Do not call to `selected-frame' where it is assumed by default.
6958 Affected functions are `raise-frame', `redraw-frame',
6959 `frame-first-window', `frame-terminal' and `delete-frame'.
6960 * calendar/appt.el (appt-disp-window):
6961 * epg.el (epg-wait-for-completion):
6962 * follow.el (follow-delete-other-windows-and-split)
6963 (follow-avoid-tail-recenter):
6964 * international/mule.el (set-terminal-coding-system):
6965 * mail/rmail.el (rmail-mail-return):
6966 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6967 * progmodes/f90.el (f90-add-imenu-menu):
6968 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6969 * server.el (server-switch-buffer):
6970 * simple.el (delete-completion-window):
6971 * talk.el (talk):
6972 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6973 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6974 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6975 * vc/ediff.el (ediff-documentation): Related users changed.
6976 * frame.el (selected-terminal): Remove the leftover.
6977
6978 2013-08-05 Glenn Morris <rgm@gnu.org>
6979
6980 * calendar/calendar.el (calendar-generate-month):
6981 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6982 (calendar-generate-month, calendar-font-lock-keywords):
6983 Fix for calendar-day-header-width > length of any day name.
6984
6985 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6986
6987 * desktop.el (desktop-clear): Use new name of sort predicate.
6988
6989 * frameset.el (frameset): Add docstring. Move :version property to its
6990 own `version' slot.
6991 (frameset-copy): Rename from copy-frameset.
6992 (frameset-p): Check more thoroughly.
6993 (frameset-prop): Do not check for :version, which is no longer a prop.
6994 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6995 Use new :never value instead of t.
6996 (frameset-filter-alist): Expand and clarify docstring.
6997 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6998 (frameset-filter-minibuffer, frameset-filter-save-param)
6999 (frameset-filter-restore-param, frameset-filter-iconified):
7000 Add pointer to docstring of frameset-filter-alist.
7001 (frameset-filter-params): Rename filter values to be more meaningful:
7002 :never instead of t, and reverse the meanings of :save and :restore.
7003 (frameset--process-minibuffer-frames): Clarify error message.
7004 (frameset-save): Avoid unnecessary and confusing call to framep.
7005 Use new BOA constructor for framesets.
7006 (frameset--reuse-list): Doc fix.
7007 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7008 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7009 (frameset-minibufferless-first-p): Doc fix.
7010 Rename from frameset-sort-frames-for-deletion.
7011 (frameset-restore): Doc fixes. Use new function names.
7012 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7013
7014 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * desktop.el (desktop-restore-forces-onscreen)
7017 (desktop-restore-reuses-frames): Document :keyword constant values.
7018 (desktop-filter-parameters-alist): Remove, now identical to
7019 frameset-filter-alist.
7020 (desktop--filter-tty*): Remove, moved to frameset.el.
7021 (desktop-save-frameset, desktop-restore-frameset):
7022 Do not pass :filters argument.
7023
7024 * frameset.el (frameset-live-filter-alist)
7025 (frameset-persistent-filter-alist): New variables.
7026 (frameset-filter-alist): Use them. Add autoload cookie.
7027 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7028 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7029 `frameset--id' (it's supposed to be internal to frameset.el).
7030 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7031 (frameset--initial-params): New function.
7032 (frameset--get-frame): Use it. Doc fix.
7033 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7034 Accept :all, not 'all.
7035 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7036 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7037 with fbound symbols. Fix frame id matching, and remove matching ids if
7038 the frame being restored is deleted. Obey :delete.
7039
7040 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * subr.el (macrop): New function.
7043 (text-clone--maintaining): New var.
7044 (text-clone--maintain): Rename from text-clone-maintain. Use it
7045 instead of inhibit-modification-hooks.
7046
7047 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7048 a proxy, so as handle autoloads and redefinitions of the target.
7049 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7050
7051 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7052 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7053 (pcase--mutually-exclusive-p): New function.
7054 (pcase--split-consp): Use it.
7055 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7056 mutually exclusive with the current predicate.
7057
7058 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7059 (edebug-macrop): Remove. Use `macrop' instead.
7060 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7061 (ad-macro-p):
7062 * eshell/esh-cmd.el (eshell-macrop):
7063 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7064
7065 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7068 (advice-mapc): New function, using it.
7069 (advice-function-member-p): New function.
7070 (advice--normalize): Store the cdr in advice--saved-rewrite since
7071 that's the part that will be changed.
7072 (advice--symbol-function): New function.
7073 (advice-remove): Handle removal before the function is defined.
7074 Adjust to new advice--saved-rewrite.
7075 (advice-member-p): Use advice-function-member-p and
7076 advice--symbol-function.
7077
7078 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7079
7080 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7081 (frameset-filter-minibuffer): Doc fix.
7082 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7083 (frameset--set-id, frameset--process-minibuffer-frames)
7084 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7085 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7086
7087 * desktop.el (desktop-clear): Only delete frames when called
7088 interactively and desktop-restore-frames is non-nil. Doc fix.
7089 (desktop-read): Set desktop-saved-frameset to nil.
7090
7091 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7092
7093 * vc/vc.el (vc-ignore): Rewrite.
7094 (vc-default-ignore-completion-table):
7095 (vc--read-lines):
7096 (vc--add-line, vc--remove-regexp): New functions.
7097
7098 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7099 (vc-svn-ignore-completion-table): New function.
7100
7101 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7102 (vc-hg-ignore-completion-table):
7103 (vc-hg-find-ignore-file): New functions.
7104
7105 * vc/vc-git.el (vc-git-ignore): Rewrite.
7106 (vc-git-ignore-completion-table):
7107 (vc-git-find-ignore-file): New functions.
7108
7109 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7110
7111 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7112 (vc-bzr-ignore-completion-table):
7113 (vc-bzr-find-ignore-file): New functions.
7114
7115 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7116
7117 * frameset.el (frameset-prop): New function and setter.
7118 (frameset-save): Do not modify frame list passed by the caller.
7119
7120 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7123
7124 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7127 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7128
7129 * custom.el (custom-initialize-default, custom-initialize-set)
7130 (custom-initialize-reset, custom-initialize-changed): Affect the
7131 toplevel-default-value (bug#6275, bug#14586).
7132 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7133 for bug#6275.
7134
7135 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7136
7137 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7138 Add cl-def* expressions.
7139
7140 * frameset.el (frameset-filter-params): Fix order of arguments.
7141
7142 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7143
7144 Move code related to saving frames to frameset.el.
7145 * desktop.el: Require frameset.
7146 (desktop-restore-frames): Doc fix.
7147 (desktop-restore-reuses-frames): Rename from
7148 desktop-restoring-reuses-frames.
7149 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7150 (desktop-clear): Clear frames too.
7151 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7152 (desktop--filter-tty*, desktop-save, desktop-read):
7153 Use frameset functions.
7154 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7155 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7156 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7157 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7158 (desktop--process-minibuffer-frames, desktop-save-frames)
7159 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7160 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7161 (desktop--sort-states, desktop-restoring-frames-p)
7162 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7163 (desktop-restoring-frameset-p, desktop-restore-frameset)
7164 (desktop--check-dont-save, desktop-save-frameset): New functions.
7165 (desktop--app-id): New constant.
7166 (desktop-first-buffer, desktop-buffer-ok-count)
7167 (desktop-buffer-fail-count): Move before first use.
7168 * frameset.el: New file.
7169
7170 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * files.el: Use lexical-binding.
7173 (dir-locals-read-from-file): Remove unused `err' variable.
7174 (hack-dir-local-variables--warned-coding): New var.
7175 (hack-dir-local-variables): Use it to avoid repeated warnings.
7176 (make-backup-file-name--default-function): New function.
7177 (make-backup-file-name-function): Use it as default.
7178 (buffer-stale--default-function): New function.
7179 (buffer-stale-function): Use it as default.
7180 (revert-buffer-insert-file-contents--default-function): New function.
7181 (revert-buffer-insert-file-contents-function): Use it as default.
7182 (insert-directory): Avoid add-to-list.
7183
7184 * autorevert.el (auto-revert-handler): Simplify.
7185 Use buffer-stale--default-function.
7186
7187 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7188
7189 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7190
7191 * whitespace.el (whitespace-ensure-local-variables): New function.
7192 (whitespace-cleanup-region): Call it.
7193 (whitespace-turn-on): Call it.
7194
7195 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7196
7197 Complete file name handlers.
7198
7199 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7200 (tramp-handle-verify-visited-file-modtime)
7201 (tramp-handle-file-notify-rm-watch): New functions.
7202 (tramp-call-process): Do not bind `default-directory'.
7203
7204 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7205 Order alphabetically.
7206 [access-file, add-name-to-file, dired-call-process]:
7207 [dired-compress-file, file-acl, file-notify-rm-watch]:
7208 [file-ownership-preserved-p, file-selinux-context]:
7209 [make-directory-internal, make-symbolic-link, set-file-acl]:
7210 [set-file-selinux-context, set-visited-file-modtime]:
7211 [verify-visited-file-modtime]: Add handler.
7212 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7213
7214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7215 [file-notify-add-watch, file-notify-rm-watch]:
7216 [set-file-times, set-visited-file-modtime]:
7217 [verify-visited-file-modtime]: Add handler.
7218 (with-tramp-gvfs-error-message)
7219 (tramp-gvfs-handle-set-visited-file-modtime)
7220 (tramp-gvfs-fuse-file-name): Remove.
7221 (tramp-gvfs-handle-file-notify-add-watch)
7222 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7223 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7224
7225 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7226 Order alphabetically.
7227 [file-notify-rm-watch ]: Use default Tramp handler.
7228 [executable-find]: Remove private handler.
7229 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7230 `default-directory'.
7231 (tramp-sh-handle-executable-find)
7232 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7233 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7234 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7235 Do not use `format' in `tramp-message'.
7236
7237 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7238 [file-notify-rm-watch, set-visited-file-modtime]:
7239 [verify-visited-file-modtime]: Add handler.
7240 (tramp-smb-call-winexe): Do not bind `default-directory'.
7241
7242 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7243
7244 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7245
7246 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7247
7248 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7249 use it.
7250 (log-view-diff-changeset): Same.
7251 (log-view-diff-common): Call backend command `previous-revision'
7252 to find out the previous revision, in both cases. Swap the
7253 variables `to' and `fr', so that `fr' usually refers to the
7254 earlier revision (Bug#14989).
7255
7256 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7257
7258 * ibuf-ext.el (ibuffer-filter-by-filename):
7259 Make it work with dired buffers too.
7260
7261 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7262
7263 * emacs-lisp/re-builder.el (reb-color-display-p):
7264 * files.el (save-buffers-kill-terminal):
7265 * net/browse-url.el (browse-url):
7266 * server.el (server-save-buffers-kill-terminal):
7267 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7268 Prefer nil to selected-frame for the first arg of frame-parameter.
7269
7270 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7271
7272 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7273
7274 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7275
7276 * minibuffer.el (completion--twq-all): Try and preserve each
7277 completion's case choice (bug#14907).
7278
7279 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
7281 * net/network-stream.el (open-network-stream): Mention the new
7282 :nogreeting parameter.
7283 (network-stream-open-starttls): Use the :nogreeting parameter
7284 (bug#14938).
7285
7286 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7287
7288 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7289 more natural than popping.
7290
7291 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7292 (shr-urlify): Highlight under mouse.
7293
7294 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7295
7296 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7297
7298 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7299
7300 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7301 buffer for output.
7302
7303 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7304 point-min==1. Fix search string. Fix parentheses missing.
7305
7306 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7307 assume point-min==1. Fix search string. Fix parentheses missing.
7308
7309 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7310
7311 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7312 buffer for output.
7313
7314 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7315
7316 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7317 initial frame is minibuffer-less. (Bug#14841)
7318
7319 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7320
7321 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7322 option.
7323
7324 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7325 (tramp-maybe-open-connection): Use it.
7326
7327 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7328
7329 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7330 minimal set of parameters passed when creating a frame, because
7331 the minibuffer status of a frame cannot be changed later.
7332
7333 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7334
7335 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7336 replace-regexp-in-string and inadvertent omissions in previous change.
7337 (todo-filter-items): Ensure only file names are comma-separated in
7338 name of filtered items buffer.
7339
7340 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * desktop.el: Optionally force offscreen frames back onscreen.
7343 (desktop-restoring-reuses-frames): New option.
7344 (desktop--compute-pos, desktop--move-onscreen): New functions.
7345 (desktop--make-frame): Use desktop--move-onscreen.
7346
7347 2013-07-27 Alan Mackenzie <acm@muc.de>
7348
7349 Fontify a Java generic method as a function.
7350 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7351 value to t.
7352
7353 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7354
7355 * calendar/todo-mode.el: Add command to rename todo files.
7356 (todo-rename-file): New command.
7357 (todo-key-bindings-t): Add key binding for it. Change the
7358 bindings of todo-filter-regexp-items(-multifile) to use `x'
7359 instead of `r', since the latter is better suited to the new
7360 renaming command.
7361
7362 2013-07-27 Alan Mackenzie <acm@muc.de>
7363
7364 Make Java try-with-resources statement parse properly.
7365 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7366 (c-block-stmt-1-2-key): New language constants/variables.
7367 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7368 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7369 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7370 with c-block-stmt-1-2-key.
7371
7372 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7373
7374 * desktop.el (desktop--make-frame): Apply most frame parameters after
7375 creating the frame to force (partially or totally) offscreen frames to
7376 be restored as such.
7377
7378 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7379
7380 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7381 (Bug#14948)
7382
7383 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7386 `base' arg of backtrace-frame.
7387
7388 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7389
7390 * simple.el (list-processes): Doc fix.
7391
7392 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7393
7394 * desktop.el (desktop--select-frame):
7395 Try harder to reuse existing frames.
7396
7397 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7400 (edebug-eval): Use backtrace-eval.
7401 (edebug--display, edebug--recursive-edit): Don't let-bind the
7402 edebug-outer-* vars that keep track of variables we locally let-bind.
7403 (edebug-outside-excursion): Don't restore outside values of locally
7404 let-bound vars.
7405 (edebug--display): Use user-error.
7406 (cl-lexical-debug, cl-debug-env): Remove.
7407
7408 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7411 are restored to be sure that they are visible before deleting any
7412 remaining ones.
7413
7414 2013-07-26 Matthias Meulien <orontee@gmail.com>
7415
7416 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7417 vc-print-root-log. (Bug#14948)
7418
7419 2013-07-26 Richard Stallman <rms@gnu.org>
7420
7421 Add aliases for encrypting mail.
7422 * epa.el (epa-mail-aliases): New option.
7423 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7424 Bind inhibit-read-only so read-only text doesn't ruin everything.
7425 (epa-mail-default-recipients): New subroutine broken out.
7426 Handle epa-mail-aliases.
7427
7428 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 Add support for lexical variables to the debugger's `e' command.
7431 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7432 vars, except for debugger-outer-match-data.
7433 (debugger-frame-number): Move check for "on a function call" from
7434 callers into it. Add `skip-base' argument.
7435 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7436 (debugger-env-macro): Only reset the state stored in non-variables,
7437 i.e. current-buffer and match-data.
7438 (debugger-eval-expression): Rewrite using backtrace-eval.
7439 * subr.el (internal--called-interactively-p--get-frame): Remove.
7440 (called-interactively-p):
7441 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7442 `base' arg of backtrace-frame instead.
7443
7444 2013-07-26 Glenn Morris <rgm@gnu.org>
7445
7446 * align.el (align-regexp): Doc fix. (Bug#14857)
7447 (align-region): Explicit error if subexpression missing/does not match.
7448
7449 * simple.el (global-visual-line-mode):
7450 Do not duplicate the mode lighter. (Bug#14858)
7451
7452 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7453
7454 * window.el (display-buffer): In display-buffer bind
7455 split-window-keep-point to t, bug#14829.
7456
7457 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7458
7459 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7460 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7461 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7462 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7463 Change accordingly.
7464 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7465 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7466
7467 2013-07-25 Glenn Morris <rgm@gnu.org>
7468
7469 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7470
7471 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7474 parameter to modify-frame-parameters if the value has not changed;
7475 this is a workaround for bug#14949.
7476 (desktop--make-frame): On cl-delete-if call, check parameter name,
7477 not full parameter.
7478
7479 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7480
7481 * vc/vc.el (vc-ignore): New function.
7482
7483 * vc/vc-svn.el (vc-svn-ignore): New function.
7484
7485 * vc/vc-hg.el (vc-hg-ignore): New function.
7486
7487 * vc/vc-git.el (vc-git-ignore): New function.
7488
7489 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7490 (vc-dir-ignore): New function.
7491
7492 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7493 (cvs-append-to-ignore): Move here from pcvs.el.
7494
7495 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7496
7497 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7498
7499 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7500
7501 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7502 (desktop-restore-frames): Warn when deleting an existing frame failed.
7503
7504 2013-07-24 Glenn Morris <rgm@gnu.org>
7505
7506 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7507
7508 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * filenotify.el (file-notify-supported-p):
7511 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7512 Remove functions.
7513
7514 * autorevert.el (auto-revert-use-notify):
7515 (auto-revert-notify-add-watch):
7516 * net/tramp.el (tramp-file-name-for-operation):
7517 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7518 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7519 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7520 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7521 Remove `file-notify-supported-p' entry.
7522
7523 2013-07-24 Glenn Morris <rgm@gnu.org>
7524
7525 * printing.el: Replace all uses of deleted ps-windows-system,
7526 ps-lp-system, ps-flatten-list with lpr- versions.
7527
7528 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7531 checked with memq (bug#14935).
7532
7533 * files.el (revert-buffer-function): Use a non-nil default.
7534 (revert-buffer-preserve-modes): Declare var to
7535 provide access to the `preserve-modes' argument.
7536 (revert-buffer): Let-bind it.
7537 (revert-buffer--default): New function, extracted from revert-buffer.
7538
7539 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * lpr.el: Signal print errors more prominently.
7542 (print-region-function): Don't default to nil.
7543 (lpr-print-region): New function, extracted from print-region-1.
7544 Check lpr's return value and signal an error in case of problem.
7545 (print-region-1): Use it.
7546 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7547 versions instead.
7548 (ps-printer-name): Default to nil.
7549 (ps-printer-name-option): Default to lpr-printer-switch.
7550 (ps-print-region-function): Don't default to nil.
7551 (ps-postscript-code-directory): Simplify default.
7552 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7553 (ps-string-list, ps-eval-switch, ps-flatten-list)
7554 (ps-flatten-list-1): Remove.
7555 (ps-multibyte-buffer): Avoid setq.
7556 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7557 (print-region-function, ps-print-region-function): Don't set them here.
7558
7559 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7560
7561 * ido.el (ido-fractionp):
7562 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7563 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7564 (ido-max-directory-size, ido-max-dir-file-cache)
7565 (ido-decorations): Doc fix.
7566
7567 * ansi-color.el: Fix old URL.
7568
7569 2013-07-23 Michael R. Mauger <michael@mauger.com>
7570
7571 * progmodes/sql.el: Version 3.3
7572 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7573 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7574 (sql-interactive-remove-continuation-prompt): Rewrite, use
7575 functions above. Fix continuation prompt and complete output line
7576 handling.
7577 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7578 redirected output buffer.
7579 (sql-mode): Restore deleted code (Bug#13591).
7580
7581 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7584
7585 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7586
7587 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7588
7589 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7592
7593 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7594
7595 * desktop.el (desktop-clear): Simplify; remove useless checks
7596 against invalid buffer names.
7597 (desktop-list*): Use cl-list*.
7598 (desktop-buffer-info, desktop-create-buffer): Simplify.
7599
7600 2013-07-23 Leo Liu <sdl.web@gmail.com>
7601
7602 * bookmark.el (bookmark-make-record): Restore NAME as a default
7603 value. (Bug#14933)
7604
7605 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7606
7607 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7608 extracted from autoload--insert-text.
7609 (autoload--insert-text): Remove.
7610 (autoload--print-cookie-text): New function, extracted from
7611 autoload--insert-cookie-text.
7612 (autoload--insert-cookie-text): Remove.
7613 (autoload-generate-file-autoloads): Adjust calls accordingly.
7614
7615 * winner.el (winner-hook-installed-p): Remove.
7616 (winner-mode): Simplify accordingly.
7617
7618 * subr.el (add-to-list): Fix compiler-macro when `append' is
7619 not constant. Don't use `cl-member' for the base case.
7620
7621 * progmodes/subword.el: Fix boundary case (bug#13758).
7622 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7623 own group.
7624 (subword-backward-regexp): Make it a constant.
7625 (subword-forward-internal): Don't treat a trailing capital as the
7626 beginning of a word.
7627
7628 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7629
7630 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7631 global value of tabulated-list-revert-hook (bug#14930).
7632
7633 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * desktop.el: Require 'cl-lib.
7636 (desktop-before-saving-frames-functions): New hook.
7637 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7638 for frames being saved. Rename from desktop--save-minibuffer-frames.
7639 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7640 Do not save frames with non-nil `desktop-dont-save' parameter.
7641 Filter out deleted frames.
7642 (desktop--find-frame): Use cl-find-if.
7643 (desktop--select-frame): Use cl-(first|second|third) to access values
7644 of desktop-mini.
7645 (desktop--make-frame): Use cl-delete-if.
7646 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7647 (desktop-restore-frames): Use cl-(first|second|third) to access values
7648 of desktop-mini. Look for visible frame at the end, not while
7649 restoring frames.
7650
7651 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7652 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7653 Use string-match-p, looking-at-p (bug#14927).
7654
7655 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7656
7657 * desktop.el (desktop-saved-frame-states):
7658 Rename from desktop--saved-states; all users changed.
7659 (desktop-save-frames): Rename from desktop--save-frames.
7660 Do not save state to desktop file.
7661 (desktop-save): Save desktop-saved-frame-states to desktop file
7662 and reset to nil.
7663 (desktop-restoring-frames-p): New function.
7664 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7665 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7666 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7667
7668 * desktop.el: Correctly restore iconified frames.
7669 (desktop--filter-iconified-position): New function.
7670 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7671
7672 2013-07-20 Glenn Morris <rgm@gnu.org>
7673
7674 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7675 Let `message' do the formatting.
7676 (def-gdb-preempt-display-buffer): Add explicit format.
7677
7678 * image-dired.el (image-dired-track-original-file):
7679 Use with-current-buffer.
7680 (image-dired-track-thumbnail): Use with-current-buffer.
7681 Avoid changing point of wrong window.
7682
7683 * image-dired.el (image-dired-track-original-file):
7684 Avoid changing point of wrong window. (Bug#14909)
7685
7686 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7687
7688 * progmodes/gdb-mi.el (gdb-done-or-error):
7689 Guard against "%" in gdb output. (Bug#14127)
7690
7691 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7692
7693 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7694 (Bug#14826)
7695
7696 * international/mule.el (coding-system-iso-2022-flags): Fix last
7697 change.
7698
7699 2013-07-20 Kenichi Handa <handa@gnu.org>
7700
7701 * international/mule.el (coding-system-iso-2022-flags):
7702 Add `8-bit-level-4'. (Bug#8522)
7703
7704 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7705
7706 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7707 (bug#14815).
7708
7709 * net/eww.el (eww-process-text-input): Allow inputting when the
7710 point is at the start of the line, as the properties aren't
7711 front-sticky.
7712
7713 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7714 degenerate widths.
7715
7716 2013-07-19 Richard Stallman <rms@gnu.org>
7717
7718 * epa.el (epa-popup-info-window): Doc fix.
7719
7720 * subr.el (split-string): New arg TRIM.
7721
7722 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7723
7724 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7725 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7726
7727 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7728
7729 * filenotify.el (file-notify--library): Rename from
7730 `file-notify-support'. Do not autoload. Adapt all uses.
7731 (file-notify-supported-p): New defun.
7732
7733 * autorevert.el (auto-revert-use-notify):
7734 Use `file-notify-supported-p' instead of `file-notify-support'.
7735 Adapt docstring.
7736 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7737
7738 * net/tramp.el (tramp-file-name-for-operation):
7739 Add `file-notify-supported-p'.
7740
7741 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7742 New defun.
7743 (tramp-sh-file-name-handler-alist): Add it as handler for
7744 `file-notify-supported-p '.
7745
7746 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7747 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7748 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7749 Add `ignore' as handler for `file-notify-*' functions.
7750
7751 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7752
7753 * simple.el (line-move-partial, line-move): Don't start vscroll or
7754 scroll-up if the current line is not taller than the window.
7755 (Bug#14881)
7756
7757 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7758
7759 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7760 highlight question marks in the method names as strings.
7761 (ruby-block-beg-keywords): Inline.
7762 (ruby-font-lock-keyword-beg-re): Extract from
7763 `ruby-font-lock-keywords'.
7764
7765 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7766
7767 * frame.el (blink-cursor-blinks): New defcustom.
7768 (blink-cursor-blinks-done): New defvar.
7769 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7770 (blink-cursor-timer-function): Check if number of blinks has been
7771 done on X and NS.
7772 (blink-cursor-suspend, blink-cursor-check): New defuns.
7773
7774 2013-07-15 Glenn Morris <rgm@gnu.org>
7775
7776 * edmacro.el (edmacro-format-keys): Fix previous change.
7777
7778 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7779
7780 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7781 The hack didn't work outside English locales anyway.
7782
7783 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7784
7785 * simple.el (define-alternatives): Rename from alternatives-define,
7786 per RMS' suggestion.
7787
7788 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7789
7790 * desktop.el (desktop-restore-frames): Change default to t.
7791 (desktop-restore-in-current-display): Now offer more options.
7792 (desktop-restoring-reuses-frames): New customization option.
7793 (desktop--saved-states): Doc fix.
7794 (desktop-filter-parameters-alist): New variable, renamed and expanded
7795 from desktop--excluded-frame-parameters.
7796 (desktop--target-display): New variable.
7797 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7798 (desktop--filter-tty*, desktop--filter-*-color)
7799 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7800 (desktop--filter-save-desktop-parm)
7801 (desktop-restore-in-original-display-p): New functions.
7802 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7803 (desktop--save-minibuffer-frames): New function, inspired by a similar
7804 function from Martin Rudalics.
7805 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7806 (desktop--restore-in-this-display-p): Remove.
7807 (desktop--find-frame): Rename from desktop--find-frame-in-display
7808 and add predicate argument.
7809 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7810 (desktop--reuse-list): New variable.
7811 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7812 New functions.
7813 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7814
7815 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7816
7817 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7818
7819 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7820
7821 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7822 Highlight conversion methods on Kernel.
7823
7824 2013-07-13 Alan Mackenzie <acm@muc.de>
7825
7826 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7827 and comment it out. This out-commenting enables certain C++
7828 declarations to be parsed correctly.
7829
7830 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7831
7832 * international/mule.el (define-coding-system): Doc fix.
7833
7834 * simple.el (default-font-height): Don't call font-info if the
7835 frame's default font didn't change since the frame was created.
7836 (Bug#14838)
7837
7838 2013-07-13 Leo Liu <sdl.web@gmail.com>
7839
7840 * ido.el (ido-read-file-name): Guard against non-symbol value.
7841
7842 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7843
7844 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7845 in nested defuns.
7846
7847 2013-07-13 Leo Liu <sdl.web@gmail.com>
7848
7849 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7850 ido-set-matches call. (Bug#6852)
7851
7852 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7853
7854 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7855 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7856 Ruby 2.0.
7857 (ruby-font-lock-keywords): Distinguish calls to functions with
7858 module-like names from module references. Highlight character
7859 literals.
7860
7861 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7862
7863 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7864 (gdb-send): Handle continued commands. (Bug#14847)
7865
7866 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7867
7868 * desktop.el (desktop--v2s): Remove unused local variable.
7869 (desktop-save-buffer): Make defvar-local; adjust docstring.
7870 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7871 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7872
7873 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7874
7875 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7876
7877 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7878
7879 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7880 (Bug#14842)
7881
7882 2013-07-12 Glenn Morris <rgm@gnu.org>
7883
7884 * doc-view.el: Require cl-lib at runtime too.
7885 (doc-view-remove-if): Remove.
7886 (doc-view-search-next-match, doc-view-search-previous-match):
7887 Use cl-remove-if.
7888
7889 * edmacro.el: Require cl-lib at runtime too.
7890 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7891 (edmacro-mismatch, edmacro-subseq): Remove.
7892
7893 * shadowfile.el: Require cl-lib.
7894 (shadow-remove-if): Remove.
7895 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7896 Use cl-remove-if.
7897
7898 * wid-edit.el: Require cl-lib.
7899 (widget-choose): Use cl-remove-if.
7900 (widget-remove-if): Remove.
7901
7902 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7903 (ebrowse-delete-if-not): Remove.
7904 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7905 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7906 Use cl-delete-if-not.
7907
7908 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7909
7910 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7911 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7912
7913 2013-07-12 Leo Liu <sdl.web@gmail.com>
7914
7915 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7916
7917 2013-07-11 Glenn Morris <rgm@gnu.org>
7918
7919 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7920 (edebug-gensym-index, edebug-gensym):
7921 Remove reimplementation of cl-gensym.
7922 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7923
7924 * thumbs.el: Require cl-lib at run-time too.
7925 (thumbs-gensym-counter, thumbs-gensym):
7926 Remove reimplementation of cl-gensym.
7927 (thumbs-temp-file): Use cl-gensym.
7928
7929 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7930 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7931 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7932 (ert--union, ert--gensym-counter, ert--gensym-counter)
7933 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7934 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7935 (ert-make-test-unbound, ert--expand-should-1)
7936 (ert--expand-should, ert--should-error-handle-error)
7937 (should-error, ert--explain-equal-rec)
7938 (ert--plist-difference-explanation, ert-select-tests)
7939 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7940 Use cl-lib functions rather than reimplementations.
7941
7942 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7943
7944 * net/tramp.el (tramp-methods): Extend docstring.
7945 (tramp-connection-timeout): New defcustom.
7946 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7947 (with-tramp-progress-reporter): Simplify.
7948 (tramp-process-actions): Improve messages.
7949
7950 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7951 * net/tramp-sh.el (tramp-maybe-open-connection):
7952 Use `tramp-connection-timeout'.
7953 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7954 (Bug#14808)
7955
7956 2013-07-11 Leo Liu <sdl.web@gmail.com>
7957
7958 * ido.el (ido-read-file-name): Conform to the requirements of
7959 read-file-name. (Bug#11861)
7960 (ido-read-directory-name): Conform to the requirements of
7961 read-directory-name.
7962
7963 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * subr.el (delay-warning): New function.
7966
7967 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7968
7969 * simple.el (default-line-height): New function.
7970 (line-move-partial, line-move): Use it instead of computing the
7971 line height inline.
7972 (line-move-partial): Always compute ROWH. If the last line is
7973 partially-visible, but its text is completely visible, allow
7974 cursor to enter such a partially-visible line.
7975
7976 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7977
7978 Improve error messages. (Bug#14808)
7979
7980 * net/tramp.el (tramp-current-connection): New defvar, moved from
7981 tramp-sh.el.
7982 (tramp-message-show-progress-reporter-message): Remove, not
7983 needed anymore.
7984 (tramp-error-with-buffer): Show message in minibuffer.
7985 Discard input before waiting. Reset connection timestamp.
7986 (with-tramp-progress-reporter): Improve messages.
7987 (tramp-process-actions): Use progress reporter. Delete process in
7988 case of error. Improve messages.
7989
7990 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7991 Call `tramp-error-with-buffer' with vector and buffer.
7992 (tramp-current-connection): Remove.
7993 (tramp-maybe-open-connection): The car of
7994 `tramp-current-connection' are the first 3 slots of the vector.
7995
7996 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7997
7998 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7999 inside continued strings.
8000
8001 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8002
8003 Timestamp fixes for undo (Bug#14824).
8004 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8005
8006 2013-07-10 Leo Liu <sdl.web@gmail.com>
8007
8008 * files.el (require-final-newline): Allow safe local value.
8009 (Bug#14834)
8010
8011 2013-07-09 Leo Liu <sdl.web@gmail.com>
8012
8013 * ido.el (ido-read-directory-name): Handle fallback.
8014 (ido-read-file-name): Update DIR to ido-current-directory.
8015 (Bug#1516)
8016 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8017
8018 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8019
8020 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8021 "autoload". Remove "warn lower camel case" section, previously
8022 commented out. Highlight negation char. Do not highlight the
8023 target in singleton method definitions.
8024
8025 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * faces.el (tty-setup-hook): Declare the hook.
8028
8029 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8030 and detect when a guard/pred depends on local vars (bug#14773).
8031 (pcase--u1): Adjust caller.
8032
8033 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8034
8035 * simple.el (line-move-partial, line-move): Account for
8036 line-spacing.
8037 (line-move-partial): Avoid setting vscroll when the last
8038 partially-visible line in window is of default height.
8039
8040 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8041
8042 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8043 been used a while.
8044
8045 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * subr.el (read-quoted-char): Remove unused local variable `char'.
8048
8049 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8050
8051 * ediff.el (ediff-version): Version update.
8052 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8053 (ediff-merge-with-ancestor-command, ediff-directories-command)
8054 (ediff-directories3-command, ediff-merge-directories-command)
8055 (ediff-merge-directories-with-ancestor-command): New functions.
8056 All are command-line interfaces to ediff: to facilitate calling
8057 Emacs with the appropriate ediff functions invoked.
8058
8059 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8060 (viper-save-kill-buffer): Check if buffer is modified.
8061
8062 * viper.el (viper-version): Version update.
8063 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8064
8065 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8068 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8069 (viper-intercept-ESC-key): Simplify.
8070 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8071 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8072 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8073 (viper-setup-ESC-to-escape): New functions.
8074 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8075 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8076
8077 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8078
8079 * simple.el (default-font-height, window-screen-lines):
8080 New functions.
8081 (line-move, line-move-partial): Use them instead of
8082 frame-char-height and window-text-height. This makes scrolling
8083 text smoother when the buffer's default face uses a font that is
8084 different from the frame's default font.
8085
8086 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8087
8088 * files.el (write-file): Do not display confirm dialog for NS,
8089 it does its own dialog, which can't be canceled (Bug#14578).
8090
8091 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8092
8093 * simple.el (line-move-partial): Adjust the row returned by
8094 posn-at-point for the current window-vscroll. (Bug#14567)
8095
8096 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8097
8098 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8099 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8100 spaces.
8101
8102 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8103
8104 * window.el (window-state-put-stale-windows): New variable.
8105 (window--state-put-2): Save list of windows without matching buffer.
8106 (window-state-put): Remove "bufferless" windows if possible.
8107
8108 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * simple.el (alternatives-define): Remove leftover :group keyword.
8111 Tweak docstring.
8112
8113 2013-07-06 Leo Liu <sdl.web@gmail.com>
8114
8115 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8116 (ido-enable-virtual-buffers): New variable.
8117 (ido-buffer-internal, ido-toggle-virtual-buffers)
8118 (ido-make-buffer-list): Use it.
8119 (ido-exhibit): Support turning on and off virtual buffers
8120 automatically.
8121
8122 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8123
8124 * simple.el (alternatives-define): New macro.
8125
8126 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * subr.el (read-quoted-char): Use read-key.
8129 (sit-for): Let read-event decode tty input (bug#14782).
8130
8131 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8132
8133 * calendar/todo-mode.el: Add handling of file deletion, both by
8134 mode command and externally. Fix various related bugs.
8135 Clarify Commentary and improve some documentation strings and code.
8136 (todo-delete-file): New command.
8137 (todo-check-file): New function.
8138 (todo-show): Handle external deletion of the file we're trying to
8139 show (bug#14688). Replace called-interactively-p by an optional
8140 prefix argument to avoid problematic interaction with catch form
8141 when byte compiled (bug#14702).
8142 (todo-quit): Handle external deletion of the archive's todo file.
8143 Make sure the buffer that was visiting the archive file is still
8144 live before trying to bury it.
8145 (todo-category-completions): Handle external deletion of any
8146 category completion files.
8147 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8148 of todo files, in case of external deletion.
8149 (todo-add-file): Replace unnecessary setq by let-binding.
8150 (todo-find-archive): Check whether there are any archives.
8151 Replace unnecessary setq by let-binding.
8152 (todo-archive-done-item): Use find-file-noselect to get the
8153 archive buffer whether or not the archive already exists.
8154 Remove superfluous code. Use file size instead of buffer-file-name to
8155 check if the archive is new; if it is, update list of archives.
8156 (todo-default-todo-file): Allow nil to be a valid value for when
8157 there are no todo files.
8158 (todo-reevaluate-default-file-defcustom): Use corrected definition
8159 of todo-default-todo-file.
8160 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8161 (todo-delete-category, todo-show-categories-table)
8162 (todo-category-number): Clarify comment.
8163 (todo-filter-items): Clarify documentation string.
8164 (todo-show-current-file, todo-display-as-todo-file)
8165 (todo-reset-and-enable-done-separator): Tweak documentation string.
8166 (todo-done-separator): Make separator length window-width, since
8167 bug#2749 is now fixed.
8168
8169 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8170
8171 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8172 Support both "gvfs-monitor-dir" and "inotifywait".
8173 (tramp-sh-file-inotifywait-process-filter): Rename from
8174 `tramp-sh-file-notify-process-filter'.
8175 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8176 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8177
8178 2013-07-05 Leo Liu <sdl.web@gmail.com>
8179
8180 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8181
8182 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8183
8184 * frame.el (display-pixel-height, display-pixel-width)
8185 (display-mm-height, display-mm-width): Mention behavior on
8186 multi-monitor setups in docstrings.
8187 (w32-display-monitor-attributes-list): Declare function.
8188 (display-monitor-attributes-list): Use it.
8189
8190 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8191
8192 * filenotify.el: New package.
8193
8194 * autorevert.el (top): Require filenotify.el.
8195 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8196 instead.
8197 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8198 (auto-revert-notify-handler): Use `file-notify-*' functions.
8199
8200 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8201
8202 * net/tramp.el (tramp-file-name-for-operation):
8203 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8204
8205 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8206 for `file-notify-add-watch' and `file-notify-rm-watch'.
8207 (tramp-process-sentinel): Improve trace.
8208 (tramp-sh-handle-file-notify-add-watch)
8209 (tramp-sh-file-notify-process-filter)
8210 (tramp-sh-handle-file-notify-rm-watch)
8211 (tramp-get-remote-inotifywait): New defuns.
8212
8213 2013-07-03 Juri Linkov <juri@jurta.org>
8214
8215 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8216 call of `occur-read-primary-args' to interactive spec.
8217
8218 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8219 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8220
8221 2013-07-03 Matthias Meulien <orontee@gmail.com>
8222
8223 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8224 `Buffer-menu-multi-occur'. Add it to the menu.
8225 (Buffer-menu-mode): Document it in docstring.
8226 (Buffer-menu-multi-occur): New command. (Bug#14673)
8227
8228 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8229
8230 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8231 keywords and built-ins.
8232
8233 2013-07-03 Glenn Morris <rgm@gnu.org>
8234
8235 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8236
8237 Make info-xref checks case-sensitive by default
8238 * info.el (Info-find-node, Info-find-in-tag-table)
8239 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8240 Add option for exact case matching of nodes.
8241 * info-xref.el (info-xref): New custom group.
8242 (info-xref-case-fold): New option.
8243 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8244
8245 2013-07-03 Leo Liu <sdl.web@gmail.com>
8246
8247 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8248
8249 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8250
8251 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8252 middle of block statement initially, lower the depth. Remove
8253 FIXME comment, not longer valid. Remove middle of block statement
8254 detection, no need to do that anymore since we've been using
8255 `ruby-parse-region' here.
8256
8257 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8258
8259 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8260
8261 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8262
8263 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8264
8265 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8268 (desktop-restore-in-current-display): New customization option.
8269 (desktop--excluded-frame-parameters): Add `font'.
8270 (desktop--save-frames): Rename from desktop--save-windows.
8271 (desktop--restore-in-this-display-p): New function.
8272 (desktop--make-full-frame): Remove unwanted width/height from
8273 full(width|height) frames.
8274 (desktop--restore-frames): Rename from desktop--restore-windows.
8275 Obey desktop-restore-current-display. Do not delete old frames or
8276 select a new frame unless we were able to restore at least one frame.
8277
8278 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8279
8280 * files.el (find-file-noselect): Simplify conditional expression.
8281
8282 * textmodes/remember.el (remember-append-to-file):
8283 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8284
8285 Add `remember-notes' function to store random notes across Emacs
8286 restarts.
8287 * textmodes/remember.el (remember-data-file): Add :set callback to
8288 affect notes buffer (if any).
8289 (remember-notes): New command.
8290 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8291 New defcustoms for the `remember-notes' function.
8292 (remember-notes-save-and-bury-buffer): New command.
8293 (remember-notes-mode-map): New variable.
8294 (remember-mode): New minor mode.
8295 (remember-notes--kill-buffer-query): New function.
8296 * startup.el (initial-buffer-choice): Add notes to custom type.
8297
8298 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8299
8300 * bindings.el (right-char, left-char): Don't call sit-for, this is
8301 no longer needed. Use arithmetic comparison only for numerical
8302 arguments.
8303
8304 * international/mule-cmds.el (select-safe-coding-system):
8305 Handle the case of FROM being a string correctly. (Bug#14755)
8306
8307 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8308
8309 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8310 progression on degenerate tables.
8311 (shr-rescale-image): ImageMagick animated images currently don't work.
8312
8313 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8314
8315 Some fixes and improvements for desktop frame restoration.
8316 It is still experimental and disabled by default.
8317 * desktop.el (desktop--save-windows): Put the selected frame at
8318 the head of the list.
8319 (desktop--make-full-frame): New function.
8320 (desktop--restore-windows): Try to re-select the frame that was
8321 selected upon saving. Do not abort if some frames fail to restore,
8322 just show an error message and continue. Set up maximized frames
8323 so they have default non-maximized dimensions.
8324
8325 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8326
8327 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8328 Don't start heredoc inside a string or comment.
8329
8330 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8331
8332 * bindings.el (visual-order-cursor-movement): New defcustom.
8333 (right-char, left-char): Provide visual-order cursor motion by
8334 calling move-point-visually. Update the doc strings.
8335
8336 2013-06-28 Kenichi Handa <handa@gnu.org>
8337
8338 * international/mule.el (define-coding-system): New coding system
8339 properties :inhibit-null-byte-detection,
8340 :inhibit-iso-escape-detection, and :prefer-utf-8.
8341 (set-buffer-file-coding-system): If :charset-list property of
8342 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8343 appropriate for setting.
8344
8345 * international/mule-cmds.el (select-safe-coding-system):
8346 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8347 multibyte characters, return utf-8 (or one of its siblings).
8348
8349 * international/mule-conf.el (prefer-utf-8): New coding system.
8350 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8351 files.
8352
8353 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8354
8355 * net/shr.el (shr-render-region): New function.
8356
8357 * net/eww.el: Autoload `eww-browse-url'.
8358
8359 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8360
8361 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8362 Adapt to `package-desc-version' being a list.
8363 Use `package--ac-desc-version' to retrieve version from a package
8364 archive element.
8365
8366 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8367
8368 New experimental feature to save&restore window and frame setup.
8369 * desktop.el (desktop-save-windows): New defcustom.
8370 (desktop--saved-states): New var.
8371 (desktop--excluded-frame-parameters): New defconst.
8372 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8373 (desktop--restore-windows, desktop--save-windows): New functions.
8374 (desktop-save): Call `desktop--save-windows'.
8375 (desktop-read): Call `desktop--restore-windows'.
8376
8377 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378
8379 * net/shr.el (add-face-text-property): Remove compat definition.
8380
8381 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8382
8383 * info.el (Info-try-follow-nearest-node): Move search for footnote
8384 above search for node name to prevent missing a footnote (bug#14717).
8385
8386 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8387
8388 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8389
8390 2013-06-27 Leo Liu <sdl.web@gmail.com>
8391
8392 * net/eww.el (eww-read-bookmarks): Check file size.
8393
8394 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8397 advice--pending if newdef is nil or an autoload (bug#13820).
8398 (advice-mapc): New function.
8399
8400 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8401
8402 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8403 probably.
8404 (eww-mode-map): Add a menu bar.
8405 (eww-add-bookmark): New command.
8406 (eww-bookmark-mode): New mode and commands.
8407 (eww-add-bookmark): Remove newlines from the title.
8408 (eww-bookmark-browse): Don't bug out if it's the only window.
8409
8410 2013-06-26 Glenn Morris <rgm@gnu.org>
8411
8412 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8413 (hfy-size): Handle ttys. (Bug#14668)
8414
8415 * info-xref.el: Update for Texinfo 5 change in *note format.
8416 (info-xref-node-re, info-xref-note-re): New constants.
8417 (info-xref-check-buffer): Use info-xref-note-re.
8418
8419 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8422
8423 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8424 nil terminate the loop (bug#14718).
8425
8426 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8427
8428 * net/eww.el: Rework history traversal. When going forward/back,
8429 put these actions into the history, too, so that they can be
8430 replayed.
8431 (eww-render): Move the history reset to the correct buffer.
8432
8433 2013-06-25 Juri Linkov <juri@jurta.org>
8434
8435 * files-x.el (modify-dir-local-variable): Change the header comment
8436 in the file with directory local variables. (Bug#14692)
8437
8438 * files-x.el (read-file-local-variable-value): Add `default'.
8439 (Bug#14710)
8440
8441 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8442
8443 * net/eww.el (eww-make-unique-file-name): Create a unique file
8444 name before saving to entering `y' accidentally asynchronously.
8445
8446 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8447
8448 * net/eww.el (eww-download): New command and keystroke.
8449
8450 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8451
8452 * net/eww.el (eww-copy-page-url): Change name of command.
8453
8454 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8455 be more consistent with Info and dired.
8456
8457 * net/eww.el (eww-mode-map): Ditto.
8458
8459 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8462 packages from archives.
8463 (package-archive-contents): Change format; include obsolete packages.
8464 (package-desc): Use `dir' to mark builtin packages.
8465 (package--from-builtin): Set the `dir' field to `builtin'.
8466 (generated-autoload-file, version-control): Declare.
8467 (package-compute-transaction): Change first arg and return value to be
8468 lists of package-descs. Adjust to new package-archive-contents format.
8469 (package--add-to-archive-contents): Adjust to new
8470 package-archive-contents format.
8471 (package-download-transaction): Arg is now a list of package-descs.
8472 (package-install): If `pkg' is a package name, pass it as
8473 a requirement, so it is subject to the usual (e.g. disabled) checks.
8474 (describe-package): Accept package-desc as well.
8475 (describe-package-1): Describe a specific package-desc. Add links to
8476 other package-descs for the same package name.
8477 (package-menu-describe-package): Pass the actual package-desc.
8478 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8479 works correctly.
8480 (package-desc-status): New function.
8481 (package-menu--refresh): New function, extracted
8482 from package-menu--generate.
8483 (package-menu--generate): Use it.
8484 (package-delete): Update package-alist.
8485 (package-menu-execute): Don't call package-initialize.
8486
8487 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8488 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8489 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8490 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8491 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8492 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8493
8494 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8495
8496 * window.el (window--state-get-1): Workaround for bug#14527.
8497 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8498
8499 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8500
8501 * net/eww.el (eww-back-url): Implement the history by stashing all
8502 the data into a list.
8503 (eww-forward-url): Allow going forward in the history, too.
8504
8505 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8508 for values and use read--expression for expressions (bug#14710).
8509 (read-file-local-variable): Avoid setq.
8510 (read-file-local-variable-mode): Use minor-mode-list.
8511
8512 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8513
8514 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8515 for DOI URLs.
8516
8517 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8518
8519 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8520 Update imenu-support when dialect changes.
8521
8522 2013-06-25 Leo Liu <sdl.web@gmail.com>
8523
8524 * ido.el (ido-read-internal): Allow forward slash on windows.
8525
8526 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * net/eww.el (eww): Start of strings is \\`, not ^.
8529
8530 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8531
8532 * net/shr.el (shr-browse-url): Fix interactive spec.
8533
8534 * net/eww.el (eww): Add a trailing slash to domain names.
8535
8536 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8537
8538 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8539
8540 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8541
8542 * net/shr.el (shr-browse-url): Use an external browser if given a
8543 prefix.
8544
8545 * net/eww.el (eww-external-browser): Move to shr.
8546
8547 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8548
8549 * net/eww.el (eww): Work more correctly for file: URLs.
8550 (eww-detect-charset): Allow quoted charsets.
8551 (eww-yank-page-url): New command and keystroke.
8552
8553 2013-06-24 Daiki Ueno <ueno@gnu.org>
8554
8555 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8556 file name of gpg executable.
8557 (epg-context-program): New function.
8558 (epg-context-home-directory): New function.
8559 (epg-context-set-program): New function.
8560 (epg-context-set-home-directory): New function.
8561 (epg--start): Use `epg-context-program' instead of
8562 'epg-gpg-program'.
8563 (epg--list-keys-1): Likewise.
8564
8565 2013-06-24 Leo Liu <sdl.web@gmail.com>
8566
8567 * ido.el (ido-read-internal): Fix bug#14620.
8568
8569 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * faces.el (face-documentation): Simplify.
8572 (read-face-attribute, tty-find-type, x-resolve-font-name):
8573 Use `string-match-p'.
8574 (list-faces-display): Use `string-match-p'. Simplify.
8575 (face-spec-recalc): Check face to avoid face alias loops.
8576 (read-color): Use `string-match-p' and non-capturing parenthesis.
8577
8578 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
8580 * net/shr.el (shr-rescale-image): Use the new
8581 :max-width/:max-height functionality.
8582
8583 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8584
8585 * net/eww.el (eww-search-prefix): New variable.
8586 (eww): Use it.
8587 (eww-external-browser): New variable.
8588 (eww-mode-map): New keystroke.
8589 (eww-browse-with-external-browser): New command.
8590
8591 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8592
8593 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8596 Don't skip aligning the next header field when padding is 0;
8597 otherwise, field width is not respected unless the title is as
8598 wide as the field.
8599
8600 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * emacs-lisp/package.el (package-el-version): Remove.
8603 (package-process-define-package): Fix inf-loop.
8604 (package-install): Allow symbols as arguments again.
8605
8606 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8607
8608 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8609 add some more keyword-like methods.
8610 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8611
8612 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8613
8614 * bs.el (bs-buffer-show-mark): Make defvar-local.
8615 (bs-mode): Use setq-local.
8616
8617 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8618 (emacs-lock--try-unlocking): Make defvar-local.
8619
8620 2013-06-22 Glenn Morris <rgm@gnu.org>
8621
8622 * play/cookie1.el (cookie-apropos): Minor simplification.
8623
8624 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8625
8626 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8627
8628 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8629 `regexp-opt', it breaks the build during dumping.
8630
8631 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8632
8633 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8634 Highlight keyword-like methods on Kernel and Module with
8635 font-lock-builtin-face.
8636 (auto-mode-alist): Consolidate different entries into one regexp
8637 and add more *file-s.
8638
8639 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8640
8641 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8642
8643 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8644 (diary-entry): Use it in the action of this button type instead of
8645 diary-goto-entry.
8646
8647 * calendar/todo-mode.el: New version.
8648 (todo-add-category): Append new category to end of file and give
8649 it the highest number, instead of putting it at the beginning and
8650 giving it 0. Incorporate noninteractive functionality.
8651 (todo-forward-category): Adapt to 1-based category numbering.
8652 Allow skipping over archived categories.
8653 (todo-backward-category): Derive from todo-forward-category.
8654 (todo-backward-item, todo-forward-item): Make noninteractive and
8655 delegate interactive part to new commands. Make sensitive to done items.
8656 (todo-categories): Make value an alist of category names and
8657 vectors of item counts.
8658 (todo-category-beg): Make a defconst.
8659 (todo-category-number): Use 1 instead of 0 as initial value.
8660 (todo-category-select): Make sensitive to overlays, optional item
8661 highlighting and done items.
8662 (todo-delete-item): Make sensitive to overlays and marked and done items.
8663 (todo-edit-item): Make sensitive to overlays and editing of
8664 date/time header optional. Add format checks.
8665 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8666 no-op if point is not on an item. Advertise using todo-edit-quit.
8667 (todo-edit-mode): Make sensitive to new format, font-locking, and
8668 multiple todo files.
8669 (todo-insert-item, todo-insert-item-here): Derive from
8670 todo-basic-insert-item and extend functionality.
8671 (todo-item-end, todo-item-start): Make sensitive to done items.
8672 (todo-item-string): Don't return text properties. Restore point.
8673 (todo-jump-to-category): Make sensitive to multiple todo files and
8674 todo archives. Use extended category completion.
8675 (todo-lower-item, todo-raise-item): Rename to *-priority and
8676 derive from todo-set-item-priority.
8677 (todo-mode): Derive from special-mode. Make sensitive to new
8678 format, font-locking and multiple todo files. Make read-only.
8679 (todo-mode-map): Don't suppress digit keys, so they can supply
8680 prefix arguments. Add many new key bindings.
8681 (todo-prefix): Insert as an overlay instead of file text.
8682 Change semantics from diary date expression to purely visual mark.
8683 (todo-print): Rename to todo-print-buffer. Make buffer display
8684 features printable. Remove option to restrict number of items
8685 printed. Add option to print to file.
8686 (todo-print-function): Rename to todo-print-buffer-function.
8687 (todo-quit): Extend to handle exiting new todo modes.
8688 (todo-remove-item): Make sensitive to overlays.
8689 (todo-save): Extend to buffers of filtered items.
8690 (todo-show): Make sensitive to done items, multiple todo files and
8691 new todo modes. Offer to convert legacy todo file before creating
8692 first new todo file.
8693 (todo-show-priorities): Rename to todo-top-priorities.
8694 Change semantics of value 0.
8695 (todo-top-priorities): Rename to todo-filter-top-priorities,
8696 derive from todo-filter-items and extend functionality.
8697 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8698 and extend functionality to other types of filtered items.
8699 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8700 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8701 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8702 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8703 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8704 (todo-edit-mode-hook, todo-entry-prefix-function)
8705 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8706 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8707 (todo-initials, todo-insert-threshold, todo-item-string-start)
8708 (todo-line-string, todo-menu, todo-mode-hook)
8709 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8710 (todo-print-priorities, todo-remove-separator)
8711 (todo-save-top-priorities-too, todo-string-count-lines)
8712 (todo-string-multiline-p, todo-time-string-format)
8713 (todo-tmp-buffer-name): Remove.
8714 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8715 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8716 (todo-edit-category-diary-inclusion)
8717 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8718 (todo-edit-file, todo-edit-item-date-day)
8719 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8720 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8721 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8722 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8723 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8724 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8725 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8726 (todo-filter-top-priorities-multifile, todo-find-archive)
8727 (todo-find-filtered-items-file, todo-go-to-source-item)
8728 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8729 (todo-jump-to-archive-category, todo-lower-category)
8730 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8731 (todo-move-category, todo-move-item, todo-next-button)
8732 (todo-next-item, todo-padded-string, todo-powerset)
8733 (todo-previous-button, todo-previous-item)
8734 (todo-print-buffer-to-file, todo-raise-category)
8735 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8736 (todo-set-category-number, todo-set-item-priority)
8737 (todo-set-top-priorities-in-category)
8738 (todo-set-top-priorities-in-file, todo-show-categories-table)
8739 (todo-sort-categories-alphabetically-or-numerically)
8740 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8741 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8742 (todo-toggle-item-header, todo-toggle-item-highlighting)
8743 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8744 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8745 (todo-unarchive-items, todo-unmark-category): New commands.
8746 (todo-absolute-file-name, todo-add-to-buffer-list)
8747 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8748 (todo-basic-insert-item, todo-category-completions)
8749 (todo-category-number, todo-category-string-matcher-1)
8750 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8751 (todo-check-format, todo-clear-matches)
8752 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8753 (todo-current-category, todo-date-string-matcher)
8754 (todo-define-insertion-command, todo-diary-expired-matcher)
8755 (todo-diary-goto-entry, todo-diary-item-p)
8756 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8757 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8758 (todo-done-item-section-p, todo-done-separator)
8759 (todo-done-string-matcher, todo-files, todo-filter-items)
8760 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8761 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8762 (todo-insert-category-line, todo-insert-item-from-calendar)
8763 (todo-insert-sort-button, todo-insert-with-overlays)
8764 (todo-insertion-command-name, todo-insertion-key-bindings)
8765 (todo-label-to-key, todo-longest-category-name-length)
8766 (todo-make-categories-list, todo-mode-external-set)
8767 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8768 (todo-modes-set-3, todo-multiple-filter-files)
8769 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8770 (todo-read-category, todo-read-date, todo-read-dayname)
8771 (todo-read-file-name, todo-read-time)
8772 (todo-reevaluate-category-completions-files-defcustom)
8773 (todo-reevaluate-default-file-defcustom)
8774 (todo-reevaluate-filelist-defcustoms)
8775 (todo-reevaluate-filter-files-defcustom)
8776 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8777 (todo-reset-done-separator, todo-reset-done-separator-string)
8778 (todo-reset-done-string, todo-reset-global-current-todo-file)
8779 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8780 (todo-reset-prefix, todo-set-categories)
8781 (todo-set-date-from-calendar, todo-set-show-current-file)
8782 (todo-set-top-priorities, todo-short-file-name)
8783 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8784 (todo-total-item-counts, todo-update-buffer-list)
8785 (todo-update-categories-display, todo-update-categories-sexp)
8786 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8787 New functions.
8788 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8789 New major modes.
8790 (todo-categories, todo-display, todo-edit, todo-faces)
8791 (todo-filtered): New defgroups.
8792 (todo-archived-only, todo-button, todo-category-string, todo-date)
8793 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8794 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8795 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8796 (todo-add-item-if-new-category, todo-always-add-time-string)
8797 (todo-categories-align, todo-categories-archived-label)
8798 (todo-categories-category-label, todo-categories-diary-label)
8799 (todo-categories-done-label, todo-categories-number-separator)
8800 (todo-categories-todo-label, todo-categories-totals-label)
8801 (todo-category-completions-files, todo-completion-ignore-case)
8802 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8803 (todo-done-separator-string, todo-done-string)
8804 (todo-files-function, todo-filter-done-items, todo-filter-files)
8805 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8806 (todo-initial-category, todo-initial-file, todo-item-mark)
8807 (todo-legacy-date-time-regexp, todo-mode-line-function)
8808 (todo-nondiary-marker, todo-number-prefix)
8809 (todo-print-buffer-function, todo-show-current-file)
8810 (todo-show-done-only, todo-show-first, todo-show-with-done)
8811 (todo-skip-archived-categories, todo-top-priorities-overrides)
8812 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8813 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8814 New defcustoms.
8815 (todo-category-done, todo-date-pattern, todo-date-string-start)
8816 (todo-diary-items-buffer, todo-done-string-start)
8817 (todo-filtered-items-buffer, todo-item-start)
8818 (todo-month-abbrev-array, todo-month-name-array)
8819 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8820 (todo-top-priorities-buffer): New defconsts.
8821 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8822 (todo-categories-with-marks, todo-category-string-face)
8823 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8824 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8825 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8826 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8827 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8828 (todo-font-lock-keywords, todo-global-current-todo-file)
8829 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8830 (todo-insertion-commands-args)
8831 (todo-insertion-commands-args-genlist)
8832 (todo-insertion-commands-names, todo-insertion-map)
8833 (todo-key-bindings-t, todo-key-bindings-t+a)
8834 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8835 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8836 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8837 (todo-visited): New variables.
8838
8839 2013-06-21 Glenn Morris <rgm@gnu.org>
8840
8841 * play/cookie1.el (cookie-apropos): Add optional display argument.
8842 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8843 (psychoanalyze-pinhead): Use cookie-doctor.
8844
8845 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8846
8847 * emacs-lisp/package.el (tar-get-file-descriptor)
8848 (tar--extract): Declare.
8849
8850 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8851
8852 Extend flymake's warning predicate to be a function (bug#14217).
8853 * progmodes/flymake.el (flymake-warning-predicate): New.
8854 (flymake-parse-line): Use it.
8855 (flymake-warning-re): Make obsolete alias to
8856 `flymake-warning-predicate'.
8857
8858 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8861 (package-obsolete-list): Remove.
8862 (package-activate): Remove min-version argument. Add `force' argument.
8863 Adjust to new package-alist format.
8864 (package-mark-obsolete): Remove.
8865 (package-unpack): Force reload of the package's autoloads.
8866 (package-installed-p): Check builtins if the installed package is not
8867 recent enough.
8868 (package-initialize): Don't reset package-obsolete-list.
8869 Don't specify which package version to activate.
8870 (package-process-define-package, describe-package-1)
8871 (package-menu--generate): Adjust to new package-alist format.
8872
8873 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8874
8875 * allout-widgets.el (allout-widgets-mode-off)
8876 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8877 (allout-widgets-post-command-business)
8878 (allout-widgets-after-copy-or-kill-function)
8879 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8880 (allout-decorate-item-and-context)
8881 (allout-graphics-modification-handler): Fix typos in docstrings.
8882 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8883
8884 * cmuscheme.el (scheme-start-file): Doc fix.
8885 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8886 (scheme-input-filter): Use `string-match-p'.
8887
8888 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8889
8890 * dired-x.el: Use Dired consistently in docstrings.
8891
8892 * dired.el: Use Dired consistently in docstrings.
8893 (dired-readin, dired-mode): Use `setq-local'.
8894 (dired-switches-alist): Make defvar-local.
8895 (dired-buffers-for-dir): Use `zerop'.
8896 (dired-safe-switches-p, dired-switches-escape-p)
8897 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8898 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8899 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8900 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8901 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8902 (dired-toggle-marks, dired-mark-files-containing-regexp)
8903 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8904 (dired-flag-auto-save-files, dired-flag-backup-files):
8905 Use `looking-at-p'.
8906 (dired-mark-files-regexp, dired-build-subdir-alist):
8907 Use `string-match-p', `looking-at-p'.
8908
8909 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8910 (direct-print-region-helper): Use `string-match-p'.
8911
8912 2013-06-21 Leo Liu <sdl.web@gmail.com>
8913
8914 * comint.el (comint-redirect-results-list-from-process):
8915 Fix infinite loop.
8916
8917 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8918
8919 * net/eww.el (eww-update-header-line-format): Quote % characters.
8920
8921 2013-06-21 Glenn Morris <rgm@gnu.org>
8922
8923 * play/cookie1.el (cookie): New custom group.
8924 (cookie-file): New option.
8925 (cookie-check-file): New function.
8926 (cookie): Make it interactive. Make start and end messages optional.
8927 Interactively, display the result. Default to cookie-file.
8928 (cookie-insert): Default to cookie-file.
8929 (cookie-snarf): Make start and end messages optional.
8930 Default to cookie-file. Use with-temp-buffer.
8931 (cookie-read): Rename from read-cookie.
8932 Make start and end messages optional. Default to cookie-file.
8933 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8934 Do not autoload it.
8935 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8936 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8937
8938 2013-06-21 Leo Liu <sdl.web@gmail.com>
8939
8940 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8941
8942 2013-06-21 Glenn Morris <rgm@gnu.org>
8943
8944 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8945
8946 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8947 Daniel Hackney <dan@haxney.org>
8948
8949 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8950 Consolidate the single-file vs tarball code.
8951 (package-desc-suffix): New function.
8952 (package-desc-full-name): Don't bother inlining it.
8953 (package-load-descriptor): Return the new package-desc.
8954 (package-mark-obsolete): Remove unused arg `package'.
8955 (package-unpack): Make it work for single files as well.
8956 Make it update package-alist.
8957 (package--make-autoloads-and-stuff): Rename from
8958 package--make-autoloads-and-compile. Don't compile any more.
8959 (package--compile): New function.
8960 (package-generate-description-file): New function, extracted from
8961 package-unpack-single.
8962 (package-unpack-single): Remove.
8963 (package--with-work-buffer): Add indentation and debugging info.
8964 (package-download-single): Remove.
8965 (package-install-from-archive): Rename from package-download-tar, make
8966 it take a pkg-desc, and make it work for single files as well.
8967 (package-download-transaction): Simplify.
8968 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8969 external tar program.
8970 (package-install-from-buffer): Remove `pkg-desc' argument.
8971 Use package-tar-file-info for tar-mode buffers.
8972 (package-install-file): Simplify accordingly.
8973 (package-archive-base): Change to take a pkg-desc.
8974 * tar-mode.el (tar--check-descriptor): New function, extracted from
8975 tar-get-descriptor.
8976 (tar-get-descriptor): Use it.
8977 (tar-get-file-descriptor): New function.
8978 (tar--extract): New function, extracted from tar-extract.
8979 (tar--extract): Use it.
8980 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8981 case the summary uses non-ascii. Adjust to new calling convention of
8982 package-tar-file-info.
8983
8984 2013-06-21 Leo Liu <sdl.web@gmail.com>
8985
8986 * comint.el (comint-redirect-results-list-from-process):
8987 Fix random delay. (Bug#14681)
8988
8989 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8990
8991 * profiler.el (profiler-format-number): Use log, not log10.
8992
8993 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8994
8995 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8996
8997 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9000 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9001 yet available.
9002 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9003 (AUTOGENEL): ... here.
9004 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9005 (cl--defsubst-expand): Use it.
9006
9007 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9008
9009 * subr.el (log10): Move here from C code, and declare as obsolete.
9010 All uses of (log10 X) replaced with (log X 10).
9011
9012 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9013
9014 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9015 Declare with `defvar-local'.
9016 (tabulated-list-use-header-line, tabulated-list-entries)
9017 (tabulated-list-padding, tabulated-list-printer)
9018 (tabulated-list-sort-key): Declare with `defvar-local'.
9019 (tabulated-list-init-header, tabulated-list-print-fake-header):
9020 Use `setq-local'.
9021
9022 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9023
9024 * arc-mode.el (archive-mode): Add `archive-write-file' to
9025 `write-contents-functions' also for remote files. (Bug#14652)
9026
9027 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9028
9029 * cus-edit.el (custom-commands): Fix typos.
9030 (custom-display): Fix tooltip text.
9031 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9032 Fix typos in docstrings.
9033 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9034 (custom-unlispify-menu-entry, custom-magic-value-create)
9035 (custom-add-see-also, custom-group-value-create): Use ?\s.
9036 (custom-guess-type, customize-apropos, editable-field)
9037 (custom-face-value-create): Use `string-match-p'.
9038 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9039
9040 * custom.el (custom-load-symbol): Use `string-match-p'.
9041
9042 * ansi-color.el: Convert to lexical binding.
9043 (ansi-colors): Fix URL.
9044 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9045 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9046 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9047
9048 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
9050 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9051
9052 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9053
9054 2013-06-19 Tom Tromey <tromey@redhat.com>
9055
9056 * net/eww.el (eww-top-url): Remove.
9057 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9058 (eww-render): Set new variables. Don't set eww-top-url.
9059 (eww-handle-link): Handle "prev", "home", and "contents".
9060 Downcase the rel text.
9061 (eww-top-url): Choose best top URL.
9062
9063 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9064
9065 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9066 relying in widget.el. Using widget.el leads to too many
9067 user interface inconsistencies.
9068 (eww-self-insert): Implement entering commands in text fields.
9069 (eww-process-text-input): New function to make text input field editing
9070 work.
9071 (eww-submit): Rewrite to use the new-style form methods.
9072 (eww-select-display): Display the correct selected item.
9073 (eww-change-select): Implement changing the select value.
9074 (eww-toggle-checkbox): Implement radio/checkboxes.
9075 (eww-update-field): Fix compilation error.
9076 (eww-tag-textarea): Implement <textarea>.
9077
9078 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9079 we don't shadow mode-specific bindings.
9080
9081 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9082 nothing to push.
9083
9084 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9085
9086 2013-06-19 Glenn Morris <rgm@gnu.org>
9087
9088 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9089
9090 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9091
9092 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9093 not needed.
9094
9095 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9096
9097 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9098
9099 * net/browse-url.el (browse-url-browser-function):
9100 `eww-browse-url' has the right calling signature, `eww' does not.
9101
9102 2013-06-19 Glenn Morris <rgm@gnu.org>
9103
9104 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9105 Only eval autoloaded macros.
9106 (byte-compile-autoload): Only give the macro warning for macros.
9107
9108 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9109 (ps-underlined-faces): Declare.
9110
9111 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9112 (speedbar-add-supported-extension): Declare.
9113
9114 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9115 Don't include a date stamp in the header of the generated file;
9116 it leads to needless differences between output files.
9117
9118 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9119
9120 * net/secrets.el (secrets-struct-secret-content-type):
9121 Replace check of introspection data by a test call of "CreateItem".
9122 Some servers do not offer introspection.
9123
9124 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * electric.el (electric-pair-mode): Improve interaction with
9127 electric-layout-mode.
9128 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9129 (electric-pair-syntax): Use text-mode-syntax-table in comments
9130 and strings.
9131 (electric-pair--insert): New function.
9132 (electric-pair-post-self-insert-function): Use it and
9133 electric--after-char-pos.
9134
9135 2013-06-19 Leo Liu <sdl.web@gmail.com>
9136
9137 * progmodes/octave.el (octave-help): Fix regexp.
9138
9139 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9140
9141 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9142 (shr-table-horizontal-line): Allow nil as a value, and change the
9143 default.
9144 (shr-insert-table-ruler): Respect the nil value.
9145
9146 2013-06-18 Tom Tromey <tromey@barimba>
9147
9148 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9149 New defvars.
9150 (eww-open-file): New defun.
9151 (eww-render): Initialize new variables.
9152 (eww-display-html): Handle "link" and "a".
9153 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9154 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9155 (eww-back-url): Rename from eww-previous-url.
9156 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9157 New defuns.
9158
9159 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9160
9161 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9162 Distinguish ternary operator tokens from slash symbol and slash
9163 char literal.
9164
9165 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9166
9167 Convert symbol prettification into minor mode and global minor mode.
9168
9169 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9170 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9171 (prettify-symbols--keywords): Rename from
9172 `prog-prettify-symbols-alist' and make a local defvar.
9173 (prettify-symbols--compose-symbol): Rename from
9174 `prog--prettify-font-lock-compose-symbol'.
9175 (prettify-symbols--make-keywords): Rename from
9176 `prog-prettify-font-lock-symbols-keywords' and simplify.
9177 (prog-prettify-install): Remove.
9178 (prettify-symbols-mode): New minor mode, based on
9179 `prog-prettify-install'.
9180 (turn-on-prettify-symbols-mode): New function.
9181 (global-prettify-symbols-mode): New globalized minor mode.
9182
9183 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9184 * progmodes/cfengine.el (cfengine3-mode):
9185 * progmodes/perl-mode.el (perl-mode): Don't call
9186 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9187
9188 2013-06-18 Juri Linkov <juri@jurta.org>
9189
9190 * files-x.el (modify-file-local-variable-message): New function.
9191 (modify-file-local-variable)
9192 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9193 and call `modify-file-local-variable-message' when it's non-nil.
9194 (add-file-local-variable, delete-file-local-variable)
9195 (add-file-local-variable-prop-line)
9196 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9197 and use it. (Bug#9820)
9198
9199 2013-06-18 Juri Linkov <juri@jurta.org>
9200
9201 * emulation/vi.el (vi-shell-op):
9202 * emulation/vip.el (vip-execute-com, ex-command):
9203 * emulation/viper-cmd.el (viper-exec-bang):
9204 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9205 the call of `shell-command-on-region'. (Bug#14637)
9206
9207 * simple.el (shell-command-on-region): Doc fix.
9208
9209 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9212 (bug#14633).
9213
9214 2013-06-18 Glenn Morris <rgm@gnu.org>
9215
9216 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9217
9218 * newcomment.el (comment-search-forward, comment-search-backward):
9219 Doc fix. (Bug#14376)
9220
9221 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9222
9223 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9224 (buffer-face-mode-invoke): Doc fix.
9225
9226 2013-06-18 Matthias Meulien <orontee@gmail.com>
9227
9228 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9229 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9230
9231 2013-06-18 Glenn Morris <rgm@gnu.org>
9232
9233 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9234 Replace obsolete function generic-make-keywords with its expansion.
9235
9236 * progmodes/python.el (ffap-alist): Declare.
9237
9238 * textmodes/reftex.el (bibtex-mode-map): Declare.
9239
9240 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9243 (package-unpack, package-unpack-single): Return the pkg-dir.
9244 (package-download-transaction): Use it to update package-alist.
9245
9246 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9247
9248 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9249 possible choice.
9250
9251 2013-06-17 Juri Linkov <juri@jurta.org>
9252
9253 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9254
9255 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9256
9257 * emacs-lisp/package.el (package-load-descriptor):
9258 Remove `with-syntax-table' call, `read' doesn't need it.
9259 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9260
9261 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9262
9263 * startup.el (command-line): Expand package name returned by
9264 `package--description-file' (bug#14639).
9265
9266 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9267
9268 * emacs-lisp/package.el (package-load-descriptor): Do not call
9269 `emacs-lisp-mode', just use its syntax table.
9270
9271 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9274 `font-lock-extra-managed-props' if any prettifying keyword is added.
9275 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9276 (prog-mode): Use `setq-local'.
9277
9278 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9279
9280 * international/characters.el (standard-case-table): Set syntax of ?»
9281 and ?« to punctuation.
9282
9283 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9284
9285 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9286 Save relevant match data before calling `syntax-ppss' (bug#14595).
9287
9288 2013-06-15 Juri Linkov <juri@jurta.org>
9289
9290 * files-x.el (modify-file-local-variable-prop-line): Add local
9291 variables to the end of the existing comment on the first line.
9292 Use `file-auto-mode-skip' to skip interpreter magic line,
9293 and also skip XML declaration.
9294
9295 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * startup.el (package--builtin-versions): New var.
9298 (package-subdirectory-regexp): Remove.
9299 (package--description-file): Hard code its value instead.
9300
9301 * emacs-lisp/package.el: Don't activate packages older than builtin.
9302 (package-obsolete-list): Rename from package-obsolete-alist, and make
9303 it into a simple list of package-desc.
9304 (package-strip-version): Remove.
9305 (package-built-in-p): Use package--builtin-versions.
9306 (package-mark-obsolete): Simplify.
9307 (package-process-define-package): Mark it obsolete if older than the
9308 builtin version.
9309 (package-handle-response): Use line-end-position.
9310 (package-read-archive-contents, package--download-one-archive):
9311 Simplify.
9312 (package--add-to-archive-contents): Skip if older than the builtin or
9313 installed version.
9314 (package-menu-describe-package): Fix last change.
9315 (package-list-unversioned): New var.
9316 (package-menu--generate): Use it.
9317
9318 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9319 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9320 (autoload-builtin-package-versions): New variable.
9321 (autoload-generate-file-autoloads): Use them.
9322 Remove the list of autoloaded functions/macros from the
9323 (autoload...) comments.
9324
9325 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9326
9327 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9328
9329 * simple.el (line-move-partial): Don't jump to the next screen
9330 line as soon as it becomes visible. Instead, continue enlarging
9331 the vscroll until the portion of a tall screen line that's left on
9332 display is about the height of the frame's default font.
9333 (Bug#14567)
9334
9335 2013-06-15 Glenn Morris <rgm@gnu.org>
9336
9337 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9338 compilation-error-regexp-alist void, or local while let-bound.
9339
9340 * progmodes/make-mode.el (makefile-mode-syntax-table):
9341 Treat "=" as punctuation. (Bug#14614)
9342
9343 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9344
9345 * help-fns.el (describe-variable):
9346 Add extra line for permanent-local variables.
9347
9348 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9349
9350 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9351 Add export, import, library. (Bug#9164)
9352 (library): Set indent function.
9353
9354 2013-06-14 Glenn Morris <rgm@gnu.org>
9355
9356 * term/xterm.el (xterm--query):
9357 Stop after first matching handler. (Bug#14615)
9358
9359 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9360
9361 Add support for dired in saveplace.
9362 * dired.el (dired-initial-position-hook): New variable.
9363 (dired-initial-position): Call hook to place cursor position.
9364 * saveplace.el (save-place-to-alist): Add dired position.
9365 (save-place-dired-hook): New function.
9366
9367 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9370 through a symbol rather than letrec.
9371
9372 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9373 (package-desc): Add `dir' field.
9374 (package-desc-full-name): New function.
9375 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9376 (package-maybe-load-descriptor): Remove.
9377 (package-load-all-descriptors): Just call package-load-descriptor.
9378 (package--disabled-p): New function.
9379 (package-desc-vers, package-desc-doc): Remove aliases.
9380 (package--dir): Remove function.
9381 (package-activate): Check if a package is disabled.
9382 (package-process-define-package): New function, extracted from
9383 define-package.
9384 (define-package): Turn into a place holder.
9385 (package-unpack-single, package-tar-file-info):
9386 Use package--description-file.
9387 (package-compute-transaction): Use package--disabled-p.
9388 (package-download-transaction): Don't call
9389 package-maybe-load-descriptor since they're all loaded anyway.
9390 (package-install): Change argument to be a pkg-desc.
9391 (package-delete): Use a single pkg-desc argument.
9392 (describe-package-1): Use package-desc-dir instead of package--dir.
9393 Use package-desc property instead of package-symbol.
9394 (package-install-button-action): Adjust accordingly.
9395 (package--push): Rewrite.
9396 (package-menu--print-info): Adjust accordingly. Change the ID format
9397 to be a pkg-desc.
9398 (package-menu-describe-package, package-menu-get-status)
9399 (package-menu--find-upgrades, package-menu-mark-upgrades)
9400 (package-menu-execute, package-menu--name-predicate):
9401 Adjust accordingly.
9402 * startup.el (package--description-file): New function.
9403 (command-line): Use it.
9404 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9405 Use package-desc-version.
9406
9407 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9408 (byte-compile-preprocess): Use it.
9409 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9410 can't quite recognize.
9411 (byte-compile-add-to-list): Remove.
9412 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9413 (cconv-closure-convert): Add assertion.
9414
9415 * emacs-lisp/map-ynp.el: Use lexical-binding.
9416 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9417 Factor out some repeated code.
9418
9419 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * subr.el (with-eval-after-load): New macro.
9422 (eval-after-load): Allow form to be a function.
9423 take advantage of lexical-binding.
9424 (do-after-load-evaluation): Use dolist and adjust to new format.
9425 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9426
9427 2013-06-13 Juri Linkov <juri@jurta.org>
9428
9429 * replace.el (perform-replace): Display "symbol " and other search
9430 modes from `isearch-message-prefix' in the *Help* buffer.
9431
9432 * isearch.el (isearch-query-replace): Add " symbol" and other
9433 possible search modes from `isearch-message-prefix' to the prompt.
9434 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9435 when reading a regexp to collect.
9436
9437 2013-06-13 Juri Linkov <juri@jurta.org>
9438
9439 * isearch.el (word-search-regexp): Match whitespace if the search
9440 string begins or ends in whitespace. The LAX arg is applied to
9441 both ends of the search string. Use `regexp-quote' and explicit
9442 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9443 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9444 boundaries are replaced with symbol boundaries, and characters
9445 between symbols match non-word non-symbol syntax. (Bug#14602)
9446
9447 2013-06-13 Juri Linkov <juri@jurta.org>
9448
9449 * isearch.el (isearch-del-char): Don't exceed the length of
9450 `isearch-string' by the prefix arg. (Bug#14563)
9451
9452 2013-06-13 Juri Linkov <juri@jurta.org>
9453
9454 * isearch.el (isearch-yank-word, isearch-yank-line)
9455 (isearch-char-by-name, isearch-quote-char)
9456 (isearch-printing-char, isearch-process-search-char):
9457 Add optional count prefix arg. (Bug#14563)
9458
9459 * international/isearch-x.el
9460 (isearch-process-search-multibyte-characters):
9461 Add optional count prefix arg.
9462
9463 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9464
9465 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9466 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9467 lexical-binding.
9468
9469 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9470
9471 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9472
9473 2013-06-13 Glenn Morris <rgm@gnu.org>
9474
9475 * startup.el (tty-handle-args):
9476 Don't just discard "--" and anything after. (Bug#14608)
9477
9478 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9479
9480 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9481
9482 Implement changes in Secret Service API. Make it backward compatible.
9483 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9484 (secrets-create-item): Use it. Prefix properties with interface.
9485
9486 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9487
9488 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9489 (term-emulate-terminal): Respect term-suppress-hard-newline.
9490
9491 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9492
9493 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9494 Only remove a `thumb-file' overlay. (Bug#14548)
9495
9496 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9497
9498 * mail/reporter.el (reporter-submit-bug-report):
9499 Handle missing package-name. (Bug#14600)
9500
9501 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9502
9503 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9504 (reftex-citation-prompt, reftex-default-bibliography)
9505 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9506 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9507 (reftex-bib-sort-author, reftex-bib-sort-year)
9508 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9509 (reftex-extract-bib-entries-from-thebibliography)
9510 (reftex-get-bibkey-default, reftex-get-bib-names)
9511 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9512 (reftex-format-bib-entry, reftex-parse-bibitem)
9513 (reftex-format-bibitem, reftex-do-citation)
9514 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9515 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9516 (reftex-insert-bib-matches, reftex-format-citation)
9517 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9518 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9519 existing comments into docstrings.
9520
9521 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9522
9523 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9524
9525 2013-06-12 Andreas Schwab <schwab@suse.de>
9526
9527 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9528 for auto-save files.
9529
9530 2013-06-12 Glenn Morris <rgm@gnu.org>
9531
9532 * ido.el (ido-delete-ignored-files): Remove.
9533 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9534 Go back to calling ido-ignore-item-p directly.
9535
9536 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9537
9538 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9539
9540 * ido.el (ido-delete-ignored-files): New function,
9541 split from ido-make-file-list-1.
9542 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9543 (ido-make-file-list-1): Use ido-delete-ignored-files.
9544
9545 2013-06-12 Leo Liu <sdl.web@gmail.com>
9546
9547 * progmodes/octave.el (inferior-octave-startup)
9548 (inferior-octave-completion-table)
9549 (inferior-octave-track-window-width-change)
9550 (octave-eldoc-function-signatures, octave-help)
9551 (octave-find-definition): Use single quoted strings.
9552 (inferior-octave-startup-args): Change default value.
9553 (inferior-octave-startup): Do not hard code "-i" and
9554 "--no-line-editing".
9555 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9556 (inferior-octave-directory-tracker): Use it.
9557 (octave-goto-function-definition): Robustify.
9558 (octave-help): Support highlighting operators in 'See also'.
9559 (octave-find-definition): Find subfunctions only in Octave mode.
9560
9561 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * help-fns.el (help-fns--compiler-macro): If the handler function is
9564 named, then put a link to it.
9565 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9566 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9567 (cl-typep): Use it.
9568 (cl-eval-when): Simplify debug spec.
9569 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9570 compiler-macro function instead of setting `compiler-macro-file'.
9571
9572 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9573
9574 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9575 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9576
9577 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9578 Daniel Hackney <dan@haxney.org>
9579
9580 First part of Daniel Hackney's patch to package.el.
9581 * emacs-lisp/package.el: Use defstruct.
9582 (package-desc): New, main struct.
9583 (package--bi-desc, package--ac-desc): New structs, used to describe the
9584 format in external files.
9585 (package-desc-vers): Replace with package-desc-version accessor.
9586 (package-desc-doc): Replace with package-desc-summary accessor.
9587 (package-activate-1): Remove `package' arg since the pkg-vec now
9588 includes the name.
9589 (define-package): Use package-desc-from-define.
9590 (package-unpack-single): Change file-name arg to be a symbol.
9591 (package--add-to-archive-contents): Use package-desc-create and new
9592 accessor functions to package--ac-desc.
9593 (package-buffer-info, package-tar-file-info): Return a package-desc.
9594 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9595 arg to be a package-desc.
9596 (package-install-file): Adjust accordingly. Use \' to match EOS.
9597 (package--from-builtin): New function.
9598 (describe-package-1, package-menu--generate): Use it.
9599 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9600 (package-generate-autoloads): Idem and return the name of the file.
9601 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9602 Change pkg-info arg to be a package-desc.
9603 Use package-make-ac-desc.
9604 (package-upload-file): Use \' to match EOS.
9605 * finder.el (finder-compile-keywords): Use package-make-builtin.
9606
9607 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9608
9609 * vc/vc.el (vc-deduce-fileset): Change error message.
9610 (vc-read-backend): New function.
9611 (vc-next-action): Use it.
9612
9613 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9614
9615 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9616 (prolog-font-lock-keywords): Use regexp-opt instead.
9617 Don't manually highlight strings.
9618 (prolog-mode-variables): Simplify comment-start-skip.
9619 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9620
9621 * emacs-lisp/generic.el (generic--normalise-comments)
9622 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9623 (generic-mode-set-comments): Use them.
9624 (generic-bracket-support): Use setq-local.
9625 (generic-make-keywords-list): Declare obsolete.
9626
9627 2013-06-11 Glenn Morris <rgm@gnu.org>
9628
9629 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9630 Prettify after setting font-lock-defaults. (Bug#14574)
9631
9632 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9633
9634 * replace.el (query-replace, occur-read-regexp-defaults-function)
9635 (replace-search):
9636 * subr.el (declare-function, number-sequence, local-set-key)
9637 (substitute-key-definition, locate-user-emacs-file)
9638 (with-silent-modifications, split-string, eval-after-load):
9639 Fix typos, remove unneeded backslashes and reflow some docstrings.
9640
9641 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9644 default for Elisp files.
9645
9646 2013-06-11 Glenn Morris <rgm@gnu.org>
9647
9648 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9649 although define-derived-mode was doing this anyway. (Bug#14583)
9650
9651 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9652
9653 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9654 Fix make-variable-buffer-local call to refer to the correct variable.
9655
9656 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9657
9658 * eshell/em-term.el (eshell-visual-commands)
9659 (eshell-visual-subcommands, eshell-visual-options):
9660 Add summary line to docstrings. Add cross-references.
9661
9662 2013-06-10 Glenn Morris <rgm@gnu.org>
9663
9664 * epa.el (epa-read-file-name): New function. (Bug#14510)
9665 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9666
9667 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9668
9669 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9670 output redirection to be ignored with visual commands.
9671
9672 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9673
9674 * eshell/em-term.el (eshell-visual-command-p): New function.
9675 (eshell-term-initialize): Move long lambda to separate function
9676 eshell-visual-command-p.
9677 * eshell/em-dirs.el (eshell-dirs-initialise):
9678 * eshell/em-script.el (eshell-script-initialize):
9679 Add missing #' to lambda.
9680
9681 2013-06-08 Leo Liu <sdl.web@gmail.com>
9682
9683 * progmodes/octave.el (octave-add-log-current-defun): New function.
9684 (octave-mode): Set add-log-current-defun-function.
9685 (octave-goto-function-definition): Do not move point if not found.
9686 (octave-find-definition): Enhance to try subfunctions first.
9687
9688 2013-06-08 Glenn Morris <rgm@gnu.org>
9689
9690 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9691 (byte-compile-backward-char, byte-compile-backward-word):
9692 Improve previous change, to handle non-explicit nil.
9693
9694 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9697 (smie--opener/closer-at-point): New function.
9698 (smie--matching-block-data): Use it. Don't match from right after an
9699 opener or right before a closer. Obey smie-blink-matching-inners.
9700 Don't signal a mismatch for repeated inners like "switch..case..case".
9701
9702 2013-06-07 Leo Liu <sdl.web@gmail.com>
9703
9704 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9705 to t. (Bug#14303)
9706 (octave-function-header-regexp): Fix. (Bug#14570)
9707 (octave-help-mode-finish-hook, octave-help-mode-finish):
9708 Remove. Just use temp-buffer-show-hook.
9709
9710 * newcomment.el (comment-search-backward): Revert last change.
9711 (Bug#14434)
9712
9713 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9714
9715 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9716
9717 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9718 through xargs, to avoid failure due to MS-Windows limitations on
9719 command-line length.
9720
9721 2013-06-06 Glenn Morris <rgm@gnu.org>
9722
9723 * font-lock.el (lisp-font-lock-keywords-2):
9724 Treat user-error like error.
9725
9726 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9727 (byte-compile-backward-char, byte-compile-backward-word):
9728 Handle explicit nil arguments. (Bug#14565)
9729
9730 2013-06-05 Alan Mackenzie <acm@muc.de>
9731
9732 * isearch.el (isearch-allow-prefix): New user option.
9733 (isearch-other-meta-char): Don't exit isearch when a prefix
9734 argument is typed whilst `isearch-allow-prefix' is non-nil.
9735 (Bug#9706)
9736
9737 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9738
9739 * autorevert.el (auto-revert-notify-handler): Use memq.
9740 Hide assertion failure.
9741
9742 * skeleton.el: Use cl-lib.
9743 (skeleton-further-elements): Use defvar-local.
9744 (skeleton-insert): Use cl-progv.
9745
9746 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9747
9748 * progmodes/prog-mode.el (prog-prettify-symbols)
9749 (prog-prettify-install): Update docstrings.
9750
9751 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * simple.el: Move all the prog-mode code to prog-mode.el.
9754 * progmodes/prog-mode.el: New file.
9755 * loadup.el: Add prog-mode.el.
9756
9757 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9758
9759 * simple.el (prog-prettify-symbols): Add version.
9760 (prog-prettify-install): Add convenience function to prettify symbols.
9761
9762 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9763 (perl--augmented-font-lock-keywords-1)
9764 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9765 variables and use it.
9766
9767 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9768 (cfengine3-mode): Remove unneeded variable and use it.
9769
9770 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9771 (lisp--augmented-font-lock-keywords-1)
9772 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9773 Remove unneeded variables and use it.
9774
9775 2013-06-05 João Távora <joaotavora@gmail.com>
9776
9777 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9778 to point when opening the connection. (Bug#14380)
9779
9780 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * subr.el (load-history-regexp, load-history-filename-element)
9783 (eval-after-load, after-load-functions, do-after-load-evaluation)
9784 (eval-next-after-load, display-delayed-warnings)
9785 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9786 definition of save-match-data.
9787 (overriding-local-map): Remove accidental obsolescence declaration.
9788
9789 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9790
9791 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9792
9793 Generalize symbol prettify support to prog-mode and implement it
9794 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9795 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9796 (prog--prettify-font-lock-compose-symbol)
9797 (prog-prettify-font-lock-symbols-keywords): New variables and
9798 functions to support symbol prettification.
9799 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9800 (lisp--augmented-font-lock-keywords-1)
9801 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9802 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9803 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9804 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9805 Implement prettify of -> => :: strings.
9806 * progmodes/perl-mode.el (perl-prettify-symbols)
9807 (perl--font-lock-compose-symbol)
9808 (perl--font-lock-symbols-keywords): Move to prog-mode.
9809 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9810 (perl-font-lock-keywords-1)
9811 (perl-font-lock-keywords-2): Remove explicit prettify support.
9812 (perl--augmented-font-lock-keywords)
9813 (perl--augmented-font-lock-keywords-1)
9814 (perl--augmented-font-lock-keywords-2, perl-mode):
9815 Implement prettify support.
9816
9817 2013-06-05 Leo Liu <sdl.web@gmail.com>
9818
9819 Re-implement smie matching block highlight using
9820 show-paren-data-function. (Bug#14395)
9821 * emacs-lisp/smie.el (smie-matching-block-highlight)
9822 (smie--highlight-matching-block-overlay)
9823 (smie--highlight-matching-block-lastpos)
9824 (smie-highlight-matching-block)
9825 (smie-highlight-matching-block-mode): Remove.
9826 (smie--matching-block-data-cache): New variable.
9827 (smie--matching-block-data): New function.
9828 (smie-setup): Use smie--matching-block-data for
9829 show-paren-data-function.
9830
9831 * progmodes/octave.el (octave-mode-menu): Fix.
9832 (octave-find-definition): Skip garbage lines.
9833
9834 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 Fix compilation error with simultaneous dynamic+lexical scoping.
9837 Add warning when a defvar appears after the first let-binding.
9838 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9839 (byte-compile-close-variables): Initialize it.
9840 (byte-compile--declare-var): New function.
9841 (byte-compile-file-form-defvar)
9842 (byte-compile-file-form-define-abbrev-table)
9843 (byte-compile-file-form-custom-declare-variable): Use it.
9844 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9845 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9846 (byte-compile-bind): Handle dynamic bindings that shadow
9847 lexical bindings.
9848 (byte-compile-unbind): Make arg non-optional.
9849 (byte-compile-let): Simplify.
9850 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9851 (cconv--analyse-function, cconv-analyse-form): Populate it.
9852 Protect byte-compile-bound-variables to limit the scope of defvars.
9853 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9854 Remove unneeded rule for `declare'.
9855
9856 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9857 so as to avoid depending on cl-adjoin at run-time.
9858 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9859
9860 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9861 (macroexp--warn-and-return): Use it.
9862
9863 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * subr.el: Convert to lexical binding.
9866 (overriding-local-map): Make obsolete.
9867 (add-to-list): Doc fix. Add compiler macro.
9868 (read-key): Swap values of local maps.
9869
9870 2013-06-05 Leo Liu <sdl.web@gmail.com>
9871
9872 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9873
9874 2013-06-04 Leo Liu <sdl.web@gmail.com>
9875
9876 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9877 (compilation-auto-jump): Suppress the "Mark set" message to give
9878 way to exit message.
9879
9880 2013-06-04 Alan Mackenzie <acm@muc.de>
9881
9882 Remove faulty optimisation from indentation calculation.
9883 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9884 search limit based on 2000 characters back from indent-point.
9885
9886 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9887
9888 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9889
9890 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * emacs-lisp/lisp.el: Use lexical-binding.
9893 (lisp--local-variables-1, lisp--local-variables): New functions.
9894 (lisp--local-variables-completion-table): New var.
9895 (lisp-completion-at-point): Use it complete let-bound vars.
9896
9897 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9898 eagerly (bug#14422).
9899
9900 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9901
9902 * autorevert.el (auto-revert-notify-enabled)
9903 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9904 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9905 (auto-revert-notify-handler): Handle also gfilenotify.
9906
9907 * subr.el (file-notify-handle-event): New defun. Replacing ...
9908 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9909 Remove.
9910
9911 2013-06-03 Juri Linkov <juri@jurta.org>
9912
9913 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9914 `M-s h .'. (Bug#14427)
9915
9916 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9917 command `hi-lock-face-symbol-at-point'.
9918 (hi-lock-face-symbol-at-point): New command.
9919 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9920 (hi-lock-menu): Add `highlight-symbol-at-point'.
9921 (hi-lock-mode): Doc fix.
9922
9923 * isearch.el (isearch-forward-symbol-at-point): New command.
9924 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9925 (isearch-highlight-regexp): Add a regexp which matches
9926 words/symbols for word/symbol mode.
9927
9928 * subr.el (find-tag-default-bounds): New function with the body
9929 mostly moved from `find-tag-default'.
9930 (find-tag-default): Move most code to `find-tag-default-bounds',
9931 call it and apply `buffer-substring-no-properties' afterwards.
9932
9933 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9934
9935 * eshell/em-term.el (eshell-term-initialize):
9936 Use `cl-intersection' rather than `intersection'.
9937
9938 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9939
9940 * vc/log-view.el: Doc fix.
9941 (log-view-mode-map): Copy keymap from `special-mode-map'.
9942
9943 2013-06-02 Eric Ludlam <zappo@gnu.org>
9944
9945 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9946 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9947 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9948 (eieio-unbound, eieio-default-superclass)
9949 (eieio--define-field-accessors, method-static, method-before)
9950 (method-primary, method-after, method-num-lists)
9951 (method-generic-before, method-generic-primary)
9952 (method-generic-after, method-num-slots)
9953 (eieio-specialized-key-to-generic-key)
9954 (eieio--check-type, class-v, class-p)
9955 (eieio-class-name, define-obsolete-function-alias)
9956 (eieio-class-parents-fast, eieio-class-children-fast)
9957 (same-class-fast-p, class-constructor, generic-p)
9958 (generic-primary-only-p, generic-primary-only-one-p)
9959 (class-option-assoc, class-option, eieio-object-p)
9960 (class-abstract-p, class-method-invocation-order)
9961 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9962 (eieio-class-un-autoload, eieio-defclass)
9963 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9964 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9965 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9966 (eieio-defgeneric-reset-generic-form)
9967 (eieio-defgeneric-form-primary-only)
9968 (eieio-defgeneric-reset-generic-form-primary-only)
9969 (eieio-defgeneric-form-primary-only-one)
9970 (eieio-defgeneric-reset-generic-form-primary-only-one)
9971 (eieio-unbind-method-implementations)
9972 (eieio--defmethod, eieio--typep)
9973 (eieio-perform-slot-validation, eieio-validate-slot-value)
9974 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9975 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9976 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9977 (eieio-slot-name-index, eieio-class-slot-name-index)
9978 (eieio-set-defaults, eieio-initarg-to-attribute)
9979 (eieio-attribute-to-initarg, eieio-c3-candidate)
9980 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9981 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9982 (eieio-class-precedence-list, eieio-generic-call-methodname)
9983 (eieio-generic-call-arglst, eieio-generic-call-key)
9984 (eieio-generic-call-next-method-list)
9985 (eieio-pre-method-execution-functions, eieio-generic-call)
9986 (eieio-generic-call-primary-only, eieiomt-method-list)
9987 (eieiomt-optimizing-obarray, eieiomt-install)
9988 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9989 (eieio-generic-form, eieio-defmethod, make-obsolete)
9990 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9991 (defclass): Remove `eval-and-compile' from macro.
9992 (call-next-method, shared-initialize): Instead of using
9993 `scoped-class' variable, use new eieio--scoped-class, and
9994 eieio--with-scoped-class.
9995 (initialize-instance): Rename local variable 'scoped-class' to
9996 'this-class' to remove ambiguitity from old global.
9997
9998 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9999 eieio.el.
10000 (eieio--scoped-class-stack): New variable.
10001 (eieio--scoped-class): New fcn.
10002 (eieio--with-scoped-class): New scoping macro.
10003 (eieio-defclass): Use pushnew instead of add-to-list.
10004 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10005 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10006 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10007 `scoped-class' variable, use new eieio--scoped-class, and
10008 eieio--with-scoped-class.
10009
10010 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10011
10012 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10013
10014 * eshell/esh-ext.el (eshell-external-command): Pass args to
10015 `eshell-find-interpreter'.
10016 (eshell-find-interpreter): Add new second parameter ARGS.
10017
10018 * eshell/em-script.el (eshell-script-initialize): Add second arg
10019 to the function added as MATCH to `eshell-interpreter-alist'.
10020
10021 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10022 the function added as MATCH to `eshell-interpreter-alist'.
10023
10024 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10025 (eshell-visual-options): New defcustom.
10026 (eshell-escape-control-x): Adapt docstring.
10027 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10028 `eshell-visual-options' in addition to `eshell-visual-commands'.
10029 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10030
10031 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10032
10033 * progmodes/python.el (python-indent-block-enders): Add break,
10034 continue and raise keywords.
10035
10036 2013-06-01 Glenn Morris <rgm@gnu.org>
10037
10038 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10039
10040 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10041 * progmodes/cc-cmds.el (delete-forward-p):
10042 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10043 * progmodes/cc-engine.el (buffer-syntactic-context):
10044 * progmodes/cc-fonts.el (face-property-instance):
10045 * progmodes/cc-mode.el (set-keymap-parents):
10046 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10047 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10048 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10049 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10050 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10051
10052 * progmodes/cc-vars.el (other): Emacs has this widget since
10053 at least 21.1, so don't (re)define it.
10054
10055 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10056 Replace the obsolete alias pcomplete-arg-quote-list.
10057
10058 2013-06-01 Leo Liu <sdl.web@gmail.com>
10059
10060 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10061 punctuation syntax.
10062 (inferior-octave-minimal-columns)
10063 (inferior-octave-last-column-width): New variables.
10064 (inferior-octave-track-window-width-change): New function.
10065 (inferior-octave-mode): Adjust column width so that Octave output,
10066 for example from 'ls', can fit into the window nicely.
10067
10068 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10069
10070 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10071 Highlight expansions inside regexp literals.
10072
10073 2013-05-31 Glenn Morris <rgm@gnu.org>
10074
10075 * obsolete/sym-comp.el (symbol-complete):
10076 Replace obsolete completion-annotate-function.
10077
10078 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10079
10080 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10081
10082 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10083 New function, checks if point is inside a literal that allows
10084 expression expansion.
10085 (ruby-syntax-propertize-expansion): Use it.
10086 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10087 around the body.
10088
10089 2013-05-30 Juri Linkov <juri@jurta.org>
10090
10091 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10092 to "\M-si".
10093 (isearch-invisible): New variable.
10094 (isearch-forward): Doc fix.
10095 (isearch-mode): Set `isearch-invisible'
10096 to the value of `search-invisible'.
10097 (isearch-toggle-case-fold): Doc fix.
10098 (isearch-toggle-invisible): New command.
10099 (isearch-query-replace): Let-bind `search-invisible'
10100 to the value of `isearch-invisible'.
10101 (isearch-search): Use `isearch-invisible' instead of
10102 `search-invisible'. Let-bind `search-invisible'
10103 to the value of `isearch-invisible'. (Bug#11378)
10104
10105 2013-05-30 Juri Linkov <juri@jurta.org>
10106
10107 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10108 call when `query-flag' is nil and `search-invisible' is non-nil.
10109 (Bug#11746)
10110
10111 2013-05-30 Glenn Morris <rgm@gnu.org>
10112
10113 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10114
10115 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10116 (cc-require): Suppress spurious "noruntime" warnings.
10117 (cc-require-when-compile): Use fboundp, for sake of compiler.
10118
10119 * progmodes/cc-mode.el: Move load of cc-vars before that of
10120 cc-langs (which in turn loads cc-vars), to quieten compiler.
10121
10122 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10123
10124 * paren.el: Simplify the code.
10125 (show-paren-mode): Always start the timer.
10126 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10127 (show-paren--overlay, show-paren--overlay-1): Rename from
10128 show-paren-overlay and show-paren-overlay-1, and initialize to an
10129 overlay rather than to nil.
10130 (show-paren-function): Misc cleanup and simplifications.
10131
10132 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10133
10134 * paren.el (show-paren-data-function): New hook.
10135 (show-paren--default): New function, extracted from show-paren-function.
10136 (show-paren-function): Use show-paren-data-function.
10137
10138 2013-05-30 Glenn Morris <rgm@gnu.org>
10139
10140 * ielm.el (ielm-map, ielm-complete-symbol):
10141 Use completion-at-point rather than obsolete functions.
10142 (inferior-emacs-lisp-mode): Doc fix.
10143 Set completion-at-point-functions, rather than
10144 comint-dynamic-complete-functions.
10145
10146 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10147 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10148 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10149
10150 * image.el (image-animated-p): Tweak definition.
10151
10152 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10153 (rlogin-process-connection-type): Tweak default. Add set-after.
10154 (rlogin-host): Doc fix.
10155 (rlogin): Tweak prompt.
10156 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10157
10158 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10159 * progmodes/tcl.el (inferior-tcl-mode-map):
10160 Use completion-at-point rather than obsolete alias.
10161
10162 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10163
10164 * minibuffer.el (read-file-name-completion-ignore-case):
10165 Move before completion--in-region, for eager macro expansion.
10166
10167 2013-05-29 Juri Linkov <juri@jurta.org>
10168
10169 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10170 for total count of matching lines. Add `global-matches' for total
10171 count of matches. Rename `matches' to `lines' for count of
10172 matching lines. Add `matches' for count of matches.
10173 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10174 to `prev-line' for line number of prev match endpt.
10175 Increment `matches' for every match. Print the number of
10176 matching lines in the header.
10177 (occur-context-lines): Rename `lines' to `curr-line'.
10178 Rename `prev-lines' to `prev-line'. (Bug#14017)
10179
10180 2013-05-29 Juri Linkov <juri@jurta.org>
10181
10182 * replace.el (perform-replace): Add `skip-read-only-count',
10183 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10184 Increment them for corresponding conditions and report the number
10185 of skipped occurrences in the final message. (Bug#11746)
10186 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10187 (replace-string, replace-regexp): Doc fix.
10188
10189 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10192
10193 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10194 prog-mode-map (bug#14504).
10195
10196 2013-05-29 Leo Liu <sdl.web@gmail.com>
10197
10198 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10199 (octave-help): Small simplification.
10200
10201 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10202 off the highlight first.
10203
10204 2013-05-29 Glenn Morris <rgm@gnu.org>
10205
10206 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10207 Handle idlwave-last-system-routine-info-cons-cell being nil.
10208
10209 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10210 (idlwave-write-paths): Simplify via with-temp-buffer.
10211
10212 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10213 * emulation/cua-rect.el: Also load cua-base at run time.
10214
10215 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10216 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10217 (cperl-imenu-on-info): Require imenu.
10218
10219 2013-05-28 Alan Mackenzie <acm@muc.de>
10220
10221 Handle "capitalised keywords" correctly.
10222 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10223
10224 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10225
10226 * eshell/em-unix.el: Add -r option to cp.
10227
10228 2013-05-28 Glenn Morris <rgm@gnu.org>
10229
10230 * vc/vc-arch.el (vc-exec-after): Declare.
10231 (vc-switches): Autoload.
10232 * vc/vc-bzr.el: No need to require vc when compiling.
10233 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10234 (vc-resynch-buffer, vc-dir-refresh): Declare.
10235 (vc-setup-buffer, vc-switches): Autoload.
10236 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10237 (vc-resynch-buffer): Declare.
10238 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10239 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10240 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10241 (grep-read-regexp, grep-read-files, grep-expand-template)
10242 (vc-dir-refresh): Declare.
10243 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10244 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10245 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10246 * vc/vc-mtn.el (vc-exec-after): Declare.
10247 (vc-switches): Autoload.
10248 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10249 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10250 (vc-file-tree-walk): Declare.
10251 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10252 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10253 (vc-tag-precondition, vc-rename-master): Autoload.
10254 * vc/vc-svn.el (vc-exec-after): Declare.
10255 (vc-switches, vc-setup-buffer): Autoload.
10256 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10257 Autoload.
10258 (vc-resynch-buffer): Declare.
10259
10260 * obsolete/fast-lock.el (byte-compile-warnings):
10261 Don't warn about obsolete features in this obsolete file.
10262
10263 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10264 Move definition before use.
10265
10266 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10267 (dun-unix-verbs): Remove dun-zippy.
10268 (dun-zippy): Remove function.
10269
10270 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10271
10272 2013-05-27 Juri Linkov <juri@jurta.org>
10273
10274 * replace.el (replace-search): New function with code moved out
10275 from `perform-replace'.
10276 (replace-highlight, replace-dehighlight): Move function definitions
10277 up closer to `replace-search'. (Bug#11746)
10278
10279 2013-05-27 Juri Linkov <juri@jurta.org>
10280
10281 * replace.el (perform-replace): Ignore invisible matches.
10282 In addition to checking `query-replace-skip-read-only', also
10283 filter out matches by calling `run-hook-with-args-until-failure'
10284 on `isearch-filter-predicates', and also check `search-invisible'
10285 for t or call `isearch-range-invisible'.
10286 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10287
10288 2013-05-27 Juri Linkov <juri@jurta.org>
10289
10290 * isearch.el (isearch-filter-predicates): Rename from
10291 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10292 (isearch-message-prefix): Display text from the property
10293 `isearch-message-prefix' of the currently active filters.
10294 (isearch-search): Don't compare `isearch-filter-predicate' with
10295 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10296 on `isearch-filter-predicates'. Also check `search-invisible' for t
10297 or call `isearch-range-invisible'.
10298 (isearch-filter-visible): Make obsolete.
10299 (isearch-lazy-highlight-search):
10300 Call `run-hook-with-args-until-failure' on
10301 `isearch-filter-predicates' and use `isearch-range-invisible'.
10302
10303 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10304 `isearch-filter-predicates' instead of `funcall'ing
10305 `isearch-filter-predicate'.
10306 (Info-mode): Set `Info-isearch-filter' to
10307 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10308
10309 * dired-aux.el (dired-isearch-filter-predicate-orig):
10310 Remove variable.
10311 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10312 (dired-isearch-filenames-end): Add and remove
10313 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10314 instead of changing the value of `isearch-filter-predicate'.
10315 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10316 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10317 Put property `isearch-message-prefix' to "filename " on
10318 `dired-isearch-filter-filenames'.
10319
10320 * wdired.el (wdired-change-to-wdired-mode):
10321 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10322 locally instead of changing `isearch-filter-predicate'.
10323 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10324
10325 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10326
10327 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10328 return the commit hash (Bug#14459). Also set the
10329 `vc-git-detached' property.
10330 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10331 (vc-git-mode-line-string): Use the same help-echo format whether
10332 in detached mode or not, because we know the actual revision now.
10333 When in detached mode, shorten the revision to 7 chars.
10334
10335 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 * emacs-lisp/easy-mmode.el (define-minor-mode):
10338 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10339 mode hook and provide a docstring.
10340
10341 2013-05-27 Alan Mackenzie <acm@muc.de>
10342
10343 Remove spurious syntax-table text properties inserted by C-y.
10344 * progmodes/cc-mode.el (c-after-change): Also clear hard
10345 syntax-table property with value nil.
10346
10347 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10350 when reading the events; the buffer layout shall not be changed.
10351
10352 2013-05-27 Leo Liu <sdl.web@gmail.com>
10353
10354 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10355 New variable.
10356 (inferior-octave-directory-tracker): Automatically re-sync
10357 default-directory.
10358 (octave-help): Improve handling of 'See also'.
10359
10360 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * doc-view.el: Minor naming convention tweaks.
10363 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10364
10365 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10366 even if there's no `display' property yet (bug#14435).
10367
10368 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10369
10370 * subr.el (unmsys--file-name): Rename from reveal-filename.
10371
10372 * Makefile.in (custom-deps, finder-data, autoloads)
10373 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10374 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10375 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10376
10377 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10380 error-completion on the first 2 args of condition-case (bug#14446).
10381 Don't burp at EOB.
10382
10383 2013-05-25 Leo Liu <sdl.web@gmail.com>
10384
10385 * comint.el (comint-previous-matching-input): Do not flood the
10386 *Messages* buffer with trivial messages.
10387
10388 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * progmodes/flymake.el (flymake-nop): Don't return a string.
10391 (flymake-set-at): Fix typo.
10392
10393 * simple.el (read--expression): New function, extracted from
10394 eval-expression. Set completion-at-point-functions (bug#14465).
10395 (eval-expression, eval-minibuffer): Use it.
10396
10397 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10398
10399 * progmodes/flymake.el (flymake-save-buffer-in-file)
10400 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10401 (flymake-selected-frame, flymake-log, flymake-ins-after)
10402 (flymake-set-at, flymake-get-buildfile-from-cache)
10403 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10404 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10405 Refine the doc string.
10406 (flymake-get-file-name-mode-and-masks): Reformat.
10407 (flymake-get-real-file-name-function): Fix a minor bug.
10408
10409 2013-05-24 Juri Linkov <juri@jurta.org>
10410
10411 * progmodes/grep.el (grep-mode-font-lock-keywords):
10412 Support =linenumber= format used by git-grep for lines with
10413 function names. (Bug#13549)
10414
10415 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10416
10417 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10418 0 after a semi-colon; it works better for smie-auto-fill.
10419 (octave--indent-new-comment-line): New function.
10420 (octave-indent-new-comment-line): Use it (indirectly).
10421 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10422 modify comment-line-break-function.
10423
10424 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10425 (smie-setup): Use add-function to set it.
10426
10427 2013-05-24 Sam Steingold <sds@gnu.org>
10428
10429 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10430 argument (before the `interactive' argument).
10431
10432 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * image-mode.el (image-mode-winprops): Add winprops to
10435 image-mode-winprops-alist before running
10436 image-mode-new-window-functions.
10437 * doc-view.el (doc-view-new-window-function): Don't delay
10438 doc-view-goto-page via timers (bug#14435).
10439
10440 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10441
10442 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10443 (doc-view-desktop-save-buffer): New function.
10444 (doc-view-restore-desktop-buffer): New function.
10445 (desktop-buffer-mode-handlers):
10446 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10447 handler.
10448 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10449 `desktop-save-buffer' function.
10450
10451 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10452
10453 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10454 (tramp-gvfs-file-name-handler): Raise a user error when
10455 `tramp-gvfs-enabled' is nil.
10456 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10457 Do not raise a user error when loading package. (Bug#14447)
10458
10459 * net/xesam.el: Move to obsolete/.
10460
10461 2013-05-24 Glenn Morris <rgm@gnu.org>
10462
10463 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10464
10465 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10466
10467 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10468 (Info-find-node, Man-getpage-in-background): Declare.
10469
10470 * mail/unrmail.el (unrmail):
10471 Replace obsolete detect-coding-with-priority.
10472
10473 * net/socks.el (socks-split-string): Use this rather than split-string.
10474 (socks-nslookup-host): Update for above change.
10475 (dynamic-choice, s5-dynamic-choice-match)
10476 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10477 Comment out unused code.
10478
10479 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10480 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10481 (gud-tooltip-echo-area): Make obsolete.
10482 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10483
10484 * progmodes/js.el (js--optimize-arglist): Declare.
10485
10486 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10487
10488 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10489 (ediff-window-C): Declare.
10490
10491 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10492 Tweak requires to silence compiler.
10493
10494 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10495 (he-search-string, he-tried-table, he-expand-list)
10496 (he-init-string, he-string-member, he-substitute-string)
10497 (he-reset-string): Declare.
10498
10499 * obsolete/options.el (list-options): Use custom-variable-p,
10500 rather than obsolete alias.
10501
10502 2013-05-23 Sam Steingold <sds@gnu.org>
10503
10504 * simple.el (shell-command-on-region): Pass the `replace' argument
10505 down to `call-process-region' to comply with the doc as reported on
10506 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10507
10508 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * emacs-lisp/smie.el (smie-indent-forward-token)
10511 (smie-indent-backward-token): Handle string tokens (bug#14381).
10512
10513 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10514
10515 * ielm.el (ielm-menu): New menu.
10516 (inferior-emacs-lisp-mode): Set comment-start.
10517
10518 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10519
10520 * textmodes/reftex.el (reftex-ref-style-toggle):
10521 Fix deactivate action.
10522
10523 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10524 Add cleveref macros.
10525
10526 * textmodes/reftex-parse.el
10527 (reftex-locate-bibliography-files): Accept options for
10528 bibliography commands.
10529 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10530 Add addbibresource. Basic Biblatex support.
10531
10532 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10533
10534 * net/tramp-gvfs.el (top):
10535 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10536 when loading package. (Bug#14447)
10537
10538 2013-05-23 Glenn Morris <rgm@gnu.org>
10539
10540 * progmodes/js.el: No need to load comint when compiling.
10541 (ring-insert, comint-send-string, comint-send-input)
10542 (comint-last-input-end, ido-chop): Declare.
10543
10544 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10545 * vc/ediff-mult.el: Adjust requires.
10546 (ediff-directories-internal, ediff-directory-revisions-internal)
10547 (ediff-patch-file-internal): Declare.
10548 * vc/ediff-ptch.el: Adjust requires.
10549 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10550 (ediff-find-file): Autoload.
10551 * vc/ediff-util.el: No need to load ediff when compiling.
10552 (ediff-regions-internal): Declare.
10553 * vc/ediff-wind.el: Adjust requires.
10554 (ediff-compute-toolbar-width): Define when compiling.
10555 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10556 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10557 (dired-get-filename, dired-get-marked-files)
10558 (ediff-last-dir-patch, ediff-patch-default-directory)
10559 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10560 (ediff-patch-buffer-internal): Declare.
10561
10562 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10563 (ispell-process, ispell-buffer-local-words, lm-summary)
10564 (lm-section-start, lm-section-end): Declare.
10565 (checkdoc-ispell-init): Simplify.
10566
10567 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10568 (he-string-member, he-reset-string, he-substitute-string): Declare.
10569
10570 * eshell/em-ls.el: Adjust requires.
10571 (eshell-glob-regexp): Declare.
10572 * eshell/em-tramp.el: Adjust requires.
10573 (eshell-parse-command): Autoload.
10574 * eshell/em-xtra.el: Adjust requires.
10575 (eshell-parse-command): Autoload.
10576 * eshell/esh-ext.el: Adjust requires.
10577 (eshell-parse-command, eshell-close-handles): Autoload.
10578 * eshell/esh-io.el: Adjust requires.
10579 (eshell-output-filter): Autoload.
10580 * eshell/esh-util.el: No need to load tramp when compiling.
10581 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10582 Declare.
10583 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10584 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10585 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10586 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10587 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10588 * eshell/esh-opt.el, eshell/esh-proc.el:
10589 * eshell/esh-var.el: Adjust requires.
10590 * eshell/eshell.el: Do not require esh-util twice.
10591 (eshell-add-input-to-history): Declare.
10592 (eshell-command): Check history module is active before using it.
10593
10594 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10595
10596 2013-05-22 Leo Liu <sdl.web@gmail.com>
10597
10598 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10599
10600 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10601
10602 * autorevert.el (auto-revert-notify-add-watch)
10603 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10604 it indicates changes in file modification time.
10605
10606 2013-05-22 Glenn Morris <rgm@gnu.org>
10607
10608 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10609 Always delete the autoloaded function from the noruntime and
10610 unresolved functions lists.
10611
10612 * allout.el: No need to load epa, epg, overlay when compiling.
10613 (epg-context-set-passphrase-callback, epg-list-keys)
10614 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10615 (epg-key-user-id-list): Declare.
10616
10617 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10618 (viper-set-parsing-style-toggling-macro)
10619 (viper-set-emacs-state-searchstyle-macros):
10620 Use called-interactively-p on Emacs.
10621 (viper-looking-back): Make it an obsolete alias. Update callers.
10622 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10623 Use looking-back rather than viper-looking-back.
10624 (viper-tmp-insert-at-eob, viper-enlarge-region)
10625 (viper-read-string-with-history, viper-register-to-point)
10626 (viper-append-to-register, viper-change-state-to-vi)
10627 (viper-backward-char-carefully, viper-forward-char-carefully)
10628 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10629 (viper-change-state-to-emacs): Declare.
10630 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10631 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10632 * emulation/viper-mous.el: Do not load viper-cmd.
10633 (viper-backward-char-carefully, viper-forward-char-carefully)
10634 (viper-forward-word, viper-adjust-window): Declare.
10635
10636 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10637
10638 * progmodes/idlw-help.el (idlwave-help-fontify):
10639 Use called-interactively-p.
10640
10641 * term/w32console.el (w32-get-console-codepage)
10642 (w32-get-console-output-codepage): Declare.
10643
10644 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10645 Remove unnecessary declarations.
10646 (dframe-message): Doc fix.
10647
10648 * info.el (dframe-select-attached-frame, dframe-current-frame):
10649 Declare.
10650
10651 * speedbar.el (speedbar-message): Make it an obsolete alias.
10652 Update all callers.
10653 (speedbar-with-attached-buffer)
10654 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10655 (speedbar-with-writable): Use backquote.
10656 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10657 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10658 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10659 rather than speedbar- aliases.
10660 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10661 (speedbar-make-specialized-keymap, speedbar-insert-button)
10662 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10663 (speedbar-do-function-pointer): Declare.
10664 (rmail-speedbar-button, rmail-speedbar-find-file)
10665 (rmail-speedbar-move-message):
10666 Use dframe-with-attached-buffer rather than speedbar- alias.
10667 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10668 (dframe-message, speedbar-make-specialized-keymap)
10669 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10670 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10671 (speedbar-insert-button, dframe-select-attached-frame)
10672 (dframe-maybee-jump-to-attached-frame)
10673 (speedbar-change-initial-expansion-list)
10674 (speedbar-previously-used-expansion-list-name): Declare.
10675 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10676 Use dframe-message, dframe-with-attached-buffer rather than
10677 speedbar- aliases.
10678 (gud-sentinel): Silence compiler.
10679 * progmodes/vhdl-mode.el (speedbar-refresh)
10680 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10681 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10682 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10683 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10684 (speedbar-file-lists, speedbar-make-tag-line)
10685 (speedbar-line-directory, speedbar-goto-this-file)
10686 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10687 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10688 (speedbar-make-button, speedbar-reset-scanners)
10689 (speedbar-files-item-info, speedbar-line-text)
10690 (speedbar-find-file-in-frame, speedbar-set-timer)
10691 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10692 (speedbar-with-writable): Do not (re)define it.
10693 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10694 rather than speedbar- alias.
10695
10696 2013-05-21 Leo Liu <sdl.web@gmail.com>
10697
10698 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10699 menu items.
10700 (octave-mode): Tweak fill-nobreak-predicate.
10701 (inferior-octave-startup): Check process to avoid infinite loop.
10702 (inferior-octave): Pop to buffer first to show abornmal process
10703 exit information.
10704
10705 2013-05-21 Glenn Morris <rgm@gnu.org>
10706
10707 * printing.el (pr-menu-bar): Define when compiling.
10708
10709 2013-05-21 Leo Liu <sdl.web@gmail.com>
10710
10711 * progmodes/octave.el (octave-auto-fill): Remove.
10712 (octave-indent-new-comment-line): Improve.
10713 (octave-mode): Use auto fill mode through
10714 comment-line-break-function and fill-nobreak-predicate.
10715 (octave-goto-function-definition): Support DEFUN_DLD.
10716 (octave-beginning-of-defun): Small tweak.
10717 (octave-help): Show parent directory.
10718
10719 2013-05-21 Glenn Morris <rgm@gnu.org>
10720
10721 * files.el (dired-unmark):
10722 * progmodes/gud.el (gdb-input): Update declarations.
10723
10724 * calculator.el (electric, ehelp): No need to load when compiling.
10725 (Electric-command-loop, electric-describe-mode): Declare.
10726
10727 * doc-view.el (doc-view-current-converter-processes): Move before use.
10728
10729 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10730 Move MODE-set-explicitly definition before use.
10731
10732 * international/mule-diag.el (mule-diag):
10733 Don't use obsolete window-system-version.
10734
10735 * mail/feedmail.el (smtpmail): No need to load when compiling.
10736 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10737
10738 * mail/mail-utils.el (rfc822): No need to load when compiling.
10739 (rfc822-addresses): Autoload it.
10740 (mail-strip-quoted-names): Trivial simplification.
10741
10742 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10743 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10744
10745 * net/snmp-mode.el (tempo): Don't duplicate requires.
10746
10747 * progmodes/prolog.el (info): No need to load when compiling.
10748 (comint): Require before shell requires it.
10749 (Info-goto-node): Autoload it.
10750 (Info-follow-nearest-node): Declare.
10751 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10752
10753 * textmodes/artist.el (picture-mode-exit): Declare.
10754
10755 * textmodes/reftex-parse.el (reftex-parse-from-file):
10756 Trivial rewrite so the compiler can parse it better.
10757
10758 2013-05-20 Leo Liu <sdl.web@gmail.com>
10759
10760 * progmodes/octave.el (octave-help-mode-map)
10761 (octave-help-mode-finish-hook): New variables.
10762 (octave-help-mode, octave-help-mode-finish): New functions.
10763 (octave-help): Use octave-help-mode.
10764
10765 2013-05-20 Glenn Morris <rgm@gnu.org>
10766
10767 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10768
10769 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10770
10771 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10772 start at point, so that expansion starting right after opening
10773 slash in a regexp is recognized.
10774 (ruby-syntax-before-regexp-re): New defvar, extracted from
10775 ruby-syntax-propertize-function. Since the value of this regexp
10776 is looked up at runtime now, we should be able to turn
10777 `ruby-syntax-methods-before-regexp' into a defcustom later.
10778 (ruby-syntax-propertize-function): Split regexp matching into two
10779 parts, for opening and closing slashes. That allows us to skip
10780 over string interpolations and support multiline regexps.
10781 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10782 for them, which calls `ruby-syntax-propertize-expansion'.
10783 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10784 call to `ruby-syntax-propertize-function'.
10785 (ruby-syntax-propertize-expansion): Extracted from
10786 `ruby-syntax-propertize-expansions'. Handles one expansion.
10787 (ruby-syntax-propertize-percent-literal): Leave point right after
10788 the percent symbol, so that the expression expansion rule can
10789 propertize the contents.
10790 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10791 heredoc openers.
10792 (ruby-syntax-propertize-expansions): Remove.
10793
10794 2013-05-18 Juri Linkov <juri@jurta.org>
10795
10796 * man.el (Man-default-man-entry): Remove `-' from the end
10797 of the default value. (Bug#14400)
10798
10799 2013-05-18 Glenn Morris <rgm@gnu.org>
10800
10801 * comint.el (comint-password-prompt-regexp):
10802 Allow "password for XXX" where XXX contains colons (eg https://...).
10803
10804 2013-05-18 Leo Liu <sdl.web@gmail.com>
10805
10806 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10807 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10808 (octave-source-directories): Don't check process.
10809 (octave-source-directories, octave-find-definition): Doc fix.
10810
10811 2013-05-18 Glenn Morris <rgm@gnu.org>
10812
10813 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10814 Remove backspace/delete bindings. (Bug#14392)
10815
10816 * cus-dep.el (custom-make-dependencies): Sort the output.
10817 (custom-versions-load-alist): Convert comment to doc.
10818
10819 2013-05-17 Leo Liu <sdl.web@gmail.com>
10820
10821 * newcomment.el (comment-search-backward): Stricter in finding
10822 comment start. (Bug#14303)
10823
10824 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10825 (octave-comment-start-skip): Properly anchored.
10826
10827 2013-05-17 Leo Liu <sdl.web@gmail.com>
10828
10829 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10830 Clean up when turned off. (Bug#14395)
10831 (smie--highlight-matching-block-overlay): No longer buffer-local.
10832 (smie-highlight-matching-block): Adjust.
10833
10834 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10835
10836 Doc string fix for "nanoseconds" (Bug#14406).
10837 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10838 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10839
10840 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10841
10842 * calc/calc-units.el (math-extract-units): Preserve powers
10843 of units.
10844
10845 2013-05-17 Leo Liu <sdl.web@gmail.com>
10846
10847 * subr.el (delete-consecutive-dups): New function.
10848 * ido.el (ido-set-matches-1): Use it.
10849 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10850 * ido.el (ido-remove-consecutive-dups): Remove.
10851
10852 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10853
10854 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10855 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10856 regexp-opt's `words'.
10857
10858 2013-05-16 Leo Liu <sdl.web@gmail.com>
10859
10860 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10861 (smie--highlight-matching-block-overlay)
10862 (smie--highlight-matching-block-lastpos)
10863 (smie--highlight-matching-block-timer): New variables.
10864 (smie-highlight-matching-block): New function.
10865 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10866 (smie-setup): Conditionally enable smie-blink-matching-open.
10867
10868 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10869
10870 Sync with upstream verilog-mode r840.
10871 * progmodes/verilog-mode.el (verilog-mode-version)
10872 (verilog-mode-release-date): Update.
10873 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10874 (verilog-sig-tieoff): Fix string error on
10875 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10876 (verilog-read-decls): Fix parameters confusing
10877 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10878
10879 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10880
10881 * subr.el (reveal-filename): New function.
10882
10883 * loadup.el: Compute Emacs executable versions on MS-Windows,
10884 where executables have the .exe extension. Add a hard link
10885 emacs-XX.YY.ZZ.exe on MS-Windows.
10886
10887 * Makefile.in (XARGS_LIMIT): New variable.
10888 (custom-deps, finder-data, autoloads)
10889 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10890 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10891 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10892 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10893
10894 2013-05-16 Leo Liu <sdl.web@gmail.com>
10895
10896 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10897 (octave-mode-menu, octave-mode-map): Remove its uses.
10898
10899 2013-05-16 Reto Zimmermann <reto@gnu.org>
10900
10901 Sync with upstream vhdl mode v3.34.2.
10902 * progmodes/vhdl-mode.el: Use `push' throughout.
10903 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10904 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10905 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10906 (vhdl-actual-generic-name): New option to derive actual generic name.
10907 (vhdl-port-paste-signals): Replace formal by actual generics.
10908 (vhdl-beautify): New name for old group vhdl-align. Update users.
10909 (vhdl-beautify-options): New option.
10910 (vhdl-last-input-event): New compat alias. Use throughout.
10911 (vhdl-goto-line): Replace user level function `goto-line'.
10912 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10913 vhdl-fix-statement-buffer.
10914 (vhdl-create-mode-menu): Add some entries.
10915 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10916 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10917 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10918 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10919 to force statements on one line.
10920 (vhdl-remove-trailing-spaces-region):
10921 New, split from vhdl-remove-trailing-spaces.
10922 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10923 Respect vhdl-beautify-options.
10924 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10925 (vhdl-update-sensitivity-list): Not add with index if exists without.
10926 Not include array index with signal. Ignore keywords in comments.
10927 (vhdl-get-visible-signals): Regexp tweaks.
10928 (vhdl-template-component-inst): Handle empty library.
10929 (vhdl-template-type): Add template for 'enum' type.
10930 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10931 Use vhdl-replace-string.
10932 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10933 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10934 (vhdl-speedbar-initialize): Update for above name change.
10935 (vhdl-compose-wire-components): Fix in handling of constants.
10936 (vhdl-error-regexp-emacs-alist): New variable.
10937 (vhdl-error-regexp-add-emacs): New function;
10938 adds support for new compile.el (Emacs 22+)
10939 (vhdl-generate-makefile-1): Change target order for single lib. units.
10940 Allow use of absolute file names.
10941
10942 2013-05-16 Leo Liu <sdl.web@gmail.com>
10943
10944 * simple.el (prog-indent-sexp): Indent enclosing defun.
10945
10946 2013-05-15 Glenn Morris <rgm@gnu.org>
10947
10948 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10949 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10950 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10951 (whitespace-highlight): Move to whitespace group.
10952
10953 * comint.el (comint-source):
10954 * pcmpl-linux.el (pcmpl-linux):
10955 * shell.el (shell-faces):
10956 * eshell/esh-opt.el (eshell-opt):
10957 * international/ccl.el (ccl): Remove empty custom groups.
10958
10959 * completion.el (dynamic-completion-mode):
10960 * jit-lock.el (jit-lock-debug-mode):
10961 * minibuffer.el (completion-in-region-mode):
10962 * type-break.el (type-break-mode-line-message-mode)
10963 (type-break-query-mode):
10964 * emulation/tpu-edt.el (tpu-edt-mode):
10965 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10966 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10967 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10968
10969 * term/xterm.el (xterm): Change parent group to terminals.
10970
10971 * master.el (master): Remove empty custom group.
10972 (master-mode): Remove unused :group argument.
10973 * textmodes/refill.el (refill): Remove empty custom group.
10974 (refill-mode): Remove unused :group argument.
10975
10976 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10977
10978 * cus-dep.el: Provide a feature.
10979 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10980 Don't mistakenly ignore files whose basenames match a basename
10981 from preloaded-file-list (eg cedet/ede/simple.el).
10982 Add a fallback method for getting :group.
10983
10984 2013-05-15 Juri Linkov <juri@jurta.org>
10985
10986 * isearch.el (isearch-char-by-name): Rename from
10987 `isearch-insert-char-by-name'. Doc fix.
10988 (isearch-forward): Mention `isearch-char-by-name' in
10989 the docstring. (Bug#13348)
10990
10991 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10992 `exit-minibuffer' instead of
10993 `isearch-nonincremental-exit-minibuffer'.
10994 (isearch-edit-string): Remove mention of
10995 `isearch-nonincremental-exit-minibuffer' from docstring.
10996 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10997 (isearch-forward-exit-minibuffer)
10998 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10999
11000 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * loadup.el: Just use unversioned DOC.
11003
11004 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11005 literals as extending to EOB.
11006 (nxml-last-fontify-end): Remove unused variable.
11007 (nxml-after-change1): Use with-silent-modifications.
11008 (nxml-extend-after-change-region): Simplify.
11009 (nxml-extend-after-change-region1): Remove function.
11010 (nxml-after-change1): Don't adjust for dependent regions.
11011 (nxml-fontify-matcher): Simplify.
11012 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11013 (xmltok-add-dependent): Remove function.
11014 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11015 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11016 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11017 unclosed <[[, <?, comment, and other literals as extending to EOB.
11018 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11019 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11020 Remove functions.
11021 (rng-do-some-validation-1): Don't mark dependent regions.
11022 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11023 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11024 (nxml-clear-dependent-regions): Remove functions.
11025 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11026 (nxml-ensure-scan-up-to-date):
11027 Don't clear&mark dependent regions.
11028
11029 2013-05-15 Leo Liu <sdl.web@gmail.com>
11030
11031 * progmodes/octave.el (octave-goto-function-definition):
11032 Improve and fix callers.
11033
11034 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11037 the setter (bug#14387).
11038
11039 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11040 surrounding group (bug#14402).
11041
11042 2013-05-14 Juri Linkov <juri@jurta.org>
11043
11044 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11045 (Bug#14390)
11046
11047 2013-05-14 Glenn Morris <rgm@gnu.org>
11048
11049 * progmodes/f90.el (f90-imenu-generic-expression):
11050 Fix typo in 2013-05-08 change. (Bug#14402)
11051
11052 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11053
11054 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11055 Remove signals for which replies are never received.
11056
11057 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11058
11059 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11060 (gdb-handler-alist, gdb-handler-number): Remove variables.
11061 (gdb-handler-list): New variable.
11062 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11063 (gdb-pending-handler-p, gdb-handle-reply)
11064 (gdb-remove-all-pending-triggers): New functions.
11065 (gdb-discard-unordered-replies): New defcustom.
11066 (gdb-handler): New defstruct.
11067 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11068 instead of gdb-pending-triggers. Update docstring.
11069 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11070 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11071 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11072 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11073 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11074 (gdb-frame-handler): Pending triggers are now automatically managed.
11075 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11076 Remove argument.
11077 (gdb-input): Automatically handles pending triggers. Update docstring.
11078 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11079 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11080 Update comments.
11081 (gdb-done-or-error): Now use gdb-handle-reply.
11082
11083 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11084
11085 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11086 gdb-debug-log.
11087
11088 2013-05-14 Glenn Morris <rgm@gnu.org>
11089
11090 * subr.el (user-emacs-directory-warning): New option.
11091 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11092
11093 2013-05-14 Leo Liu <sdl.web@gmail.com>
11094
11095 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11096 during redisplay.
11097 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11098 (octave-font-lock-texinfo-comment): Fix invalid search bound
11099 error: wrong side of point.
11100
11101 2013-05-14 Glenn Morris <rgm@gnu.org>
11102
11103 * progmodes/flymake.el (flymake-xml-program): New option.
11104 (flymake-xml-init): Use it.
11105
11106 * term/xterm.el: Provide a feature.
11107
11108 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11109
11110 2013-05-13 Glenn Morris <rgm@gnu.org>
11111
11112 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11113 Add compat aliases as a hack workaround. (Bug#14384)
11114
11115 2013-05-13 Leo Liu <sdl.web@gmail.com>
11116
11117 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11118 ###, and %!.
11119 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11120 C-M-q.
11121 (octave-comment-start-skip): Include %!.
11122 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11123
11124 2013-05-12 Leo Liu <sdl.web@gmail.com>
11125
11126 * progmodes/octave.el (inferior-octave-startup): Store the value
11127 of __octave_srcdir__ for octave-source-directories.
11128 (inferior-octave-check-process): New function refactored out of
11129 inferior-octave-send-list-and-digest.
11130 (octave-source-directories)
11131 (octave-find-definition-filename-function): New variables.
11132 (octave-source-directories)
11133 (octave-find-definition-default-filename): New functions.
11134 (octave-find-definition): Improve to find functions implemented in C++.
11135
11136 2013-05-12 Glenn Morris <rgm@gnu.org>
11137
11138 * calendar/diary-lib.el (diary-outlook-format-1):
11139 Don't include dayname in the output. (Bug#14349)
11140
11141 2013-05-11 Glenn Morris <rgm@gnu.org>
11142
11143 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11144
11145 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11146 Treat cc-provide like provide.
11147
11148 2013-05-11 Kevin Ryde <user42@zip.com.au>
11149
11150 * cus-dep.el (custom-make-dependencies):
11151 Use generated-autoload-load-name for the sake of files such
11152 such cedet/semantic/bovine/c.el, where the base file name
11153 is not in load-path. (Bug#5277)
11154
11155 2013-05-11 Glenn Morris <rgm@gnu.org>
11156
11157 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11158 Provide features.
11159
11160 2013-05-11 Leo Liu <sdl.web@gmail.com>
11161
11162 * progmodes/octave.el (octave-indent-comment): Improve.
11163 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11164 (octave-eldoc-function-signatures, octave-eldoc-function):
11165 New functions.
11166 (octave-mode, inferior-octave-mode): Add eldoc support.
11167
11168 2013-05-11 Richard Stallman <rms@gnu.org>
11169
11170 * epa.el (epa-decrypt-file): Take output file name as argument
11171 and read it using `interactive'.
11172
11173 2013-05-11 Leo Liu <sdl.web@gmail.com>
11174
11175 * progmodes/octave.el (octave-beginning-of-line)
11176 (octave-end-of-line): Check before using up-list because it jumps
11177 out of more syntactic contructs since moving to smie.
11178 (octave-indent-comment): New function.
11179 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11180 (octave-begin-keywords, octave-end-keywords)
11181 (octave-reserved-words, octave-smie-bnf-table)
11182 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11183
11184 2013-05-11 Glenn Morris <rgm@gnu.org>
11185
11186 * faces.el (internal-face-x-get-resource):
11187 * frame.el (ns-display-monitor-attributes-list):
11188 * calc/calc-aent.el (math-to-radians-2):
11189 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11190 Fix declarations.
11191
11192 * calc/calc-menu.el: Make it loadable in isolation.
11193
11194 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11195 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11196 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11197 (eudc-bbdb-query-internal): Require 'bbdb.
11198
11199 * lpr.el (lpr-headers-switches):
11200 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11201
11202 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11203
11204 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11205
11206 * term.el (term-set-escape-char): Make it idempotent.
11207
11208 2013-05-10 Leo Liu <sdl.web@gmail.com>
11209
11210 * progmodes/octave.el (inferior-octave-completion-table):
11211 No longer a function and all uses changed. Use cache to speed up
11212 completion due to bug#11906.
11213 (octave-beginning-of-defun): Re-write to be more general.
11214
11215 2013-05-10 Glenn Morris <rgm@gnu.org>
11216
11217 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11218
11219 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * comint.el (comint-redirect-send-command-to-process): Use :around
11222 rather than :override for comint-redirect-filter.
11223 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11224 Call it instead of comint-redirect-original-filter-function (which
11225 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11226
11227 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11228
11229 * frame.el (display-monitor-attributes-list): Add NS case.
11230 (ns-display-monitor-attributes-list): Declare.
11231
11232 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11233
11234 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11235
11236 2013-05-09 Glenn Morris <rgm@gnu.org>
11237
11238 * international/fontset.el (vertical-centering-font-regexp):
11239 Set standard-value.
11240
11241 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11242
11243 * bookmark.el (bookmark-search-delay):
11244 * cus-start.el (vertical-centering-font-regexp):
11245 * ps-mule.el (ps-mule-font-info-database-default):
11246 * ps-print.el (ps-default-fg, ps-default-bg):
11247 * type-break.el (type-break-good-break-interval):
11248 * whitespace.el (whitespace-indentation-regexp)
11249 (whitespace-space-after-tab-regexp):
11250 * emacs-lisp/testcover.el (testcover-1value-functions)
11251 (testcover-noreturn-functions, testcover-progn-functions)
11252 (testcover-prog1-functions):
11253 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11254 * eshell/em-glob.el (eshell-glob-translate-alist):
11255 * play/tetris.el (tetris-tty-colors):
11256 * progmodes/cpp.el (cpp-face-default-list):
11257 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11258 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11259 (idlwave-help-browser-generic-args):
11260 * progmodes/make-mode.el (makefile-special-targets-list):
11261 * progmodes/python.el (python-shell-virtualenv-path):
11262 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11263 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11264 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11265 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11266 * textmodes/reftex-vars.el (reftex-format-label-function):
11267 * textmodes/remember.el (remember-diary-file): Fix custom types.
11268
11269 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11270 Add :version.
11271
11272 2013-05-09 Leo Liu <sdl.web@gmail.com>
11273
11274 * progmodes/octave.el (inferior-octave-completion-at-point):
11275 Restore file completion. (Bug#14300)
11276 (inferior-octave-startup): Fix incorrect highlighting for the
11277 first prompt.
11278
11279 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * progmodes/ruby-mode.el: First cut at SMIE support.
11282 (ruby-use-smie): New var.
11283 (ruby-smie-grammar): New constant.
11284 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11285 (ruby-smie--forward-token, ruby-smie--backward-token)
11286 (ruby-smie-rules): New functions.
11287 (ruby-mode-variables): Setup SMIE if applicable.
11288
11289 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11290
11291 * simple.el (line-move-visual): Signal beginning/end of buffer
11292 only if vertical-motion moved less than it was requested. Avoids
11293 silly incorrect error messages when there are display strings with
11294 multiple newlines at EOL.
11295
11296 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11299 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11300 (prolog-char-quote-workaround):
11301 * progmodes/cperl-mode.el (cperl-under-as-char):
11302 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11303 Mark as obsolete.
11304 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11305 their declaration.
11306 (vhdl-mode-syntax-table-init): Remove.
11307
11308 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11309 last change.
11310
11311 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11312 syntax for "_".
11313 (ld-script-font-lock-keywords):
11314 Change regexps to use things like \_< and \_>.
11315
11316 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11317 Change all regexps to use things like \_< and \_>.
11318
11319 * progmodes/autoconf.el (autoconf-definition-regexp)
11320 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11321 Handle a _ with symbol syntax.
11322 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11323
11324 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11325 Consolidate declaration.
11326 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11327 the declaration.
11328 (ada-create-syntax-table): Remove.
11329 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11330 already has the right syntax nowadays.
11331 (ada-goto-next-word): Don't change the syntax of "_".
11332
11333 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11334 with-wrapper-hook.
11335
11336 2013-05-08 Sam Steingold <sds@gnu.org>
11337
11338 * thingatpt.el (thing-at-point): Accept optional second argument
11339 NO-PROPERTIES to strip the text properties from the return value.
11340 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11341 to `thing-at-point' instead of stripping the properties ourselves.
11342 Also, when `thing-at-point' fails to find a url, prepend "http://"
11343 to the filename at point on the assumption that the user is
11344 pointing at something like gnu.org/gnu.
11345
11346 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11347
11348 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11349 * faces.el (crm-separator):
11350 Silence byte-compiler.
11351
11352 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11353 (tool-bar-map): Remove unneeded defvars.
11354
11355 2013-05-08 Leo Liu <sdl.web@gmail.com>
11356
11357 Re-work a fix for bug#10994 based on Le Wang's patch.
11358 * ido.el (ido-remove-consecutive-dups): New helper.
11359 (ido-completing-read): Use it.
11360 (ido-chop): Revert fix for bug#10994.
11361
11362 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11363
11364 * cus-edit.el (custom-save-variables):
11365 Pretty-print long values. (Bug#14187)
11366
11367 2013-05-08 Glenn Morris <rgm@gnu.org>
11368
11369 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11370 (m4-mode-syntax-table): Init in the defvar.
11371 (m4-mode-abbrev-table): Let define-derived-mode define it.
11372
11373 2013-05-08 Tom Tromey <tromey@redhat.com>
11374
11375 * progmodes/m4-mode.el (m4-mode-syntax-table):
11376 Do not treat "_" as word constituent. (Bug#14167)
11377
11378 2013-05-07 Glenn Morris <rgm@gnu.org>
11379
11380 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11381 Remove explicit eshell-isearch-cancel-map.
11382
11383 * progmodes/f90.el (f90-smart-end-names): New option.
11384 (f90-smart-end): Doc fix.
11385 (f90-end-block-optional-name): New constant.
11386 (f90-block-match): Respect f90-smart-end-names.
11387
11388 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11391 about implicit semi-colons (bug#14218).
11392
11393 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11394
11395 * frame.el (display-monitor-attributes-list)
11396 (frame-monitor-attributes): New functions.
11397
11398 2013-05-06 Leo Liu <sdl.web@gmail.com>
11399
11400 * progmodes/octave.el (octave-syntax-propertize-function): Change
11401 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11402 (octave-font-lock-keywords): Use octave-operator-regexp.
11403 (octave-completion-at-point): Rename from
11404 octave-completion-at-point-function.
11405 (inferior-octave-directory-tracker): Robustify.
11406 (octave-text-functions): Remove and fix its uses. No such things
11407 any more.
11408
11409 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * emacs-lisp/trace.el (trace--display-buffer): New function.
11412 (trace-make-advice): Use it.
11413
11414 2013-05-06 Juri Linkov <juri@jurta.org>
11415
11416 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11417 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11418 Doc fix.
11419 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11420 in the help string. (Bug#12985)
11421
11422 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11423
11424 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11425
11426 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11427
11428 * progmodes/perl-mode.el: Add support for here documents.
11429 (perl-syntax-propertize-function): Match here-doc markers.
11430 (perl-syntax-propertize-special-constructs): Find their end.
11431 (perl-imenu-generic-expression): Use [:alnum:].
11432
11433 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11434 (advice--add-function): Refresh the advice if already present
11435 (bug#14317).
11436
11437 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11438
11439 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11440
11441 2013-05-06 Glenn Morris <rgm@gnu.org>
11442
11443 * w32-fns.el (w32-charset-info-alist): Declare.
11444
11445 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11446 of its defcustom properties.
11447 (eshell-cmpl-initialize): No need to load pcomplete.
11448
11449 * generic-x.el: No need to require comint when compiling.
11450
11451 * net/eudc-export.el: Make it loadable without bbdb.
11452 (top-level): Use require rather than load-library.
11453 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11454 (eudc-batch-export-records-to-bbdb)
11455 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11456 Require bbdb.
11457
11458 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11461 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11462 some tweaks, instead.
11463
11464 2013-05-05 Leo Liu <sdl.web@gmail.com>
11465
11466 * progmodes/octave.el (octave-font-lock-keywords)
11467 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11468 (inferior-octave-send-list-and-digest): Improve error message.
11469 (octave-mode, inferior-octave-mode): Use setq-local.
11470 (octave-help): Set info-lookup-mode.
11471
11472 2013-05-05 Richard Stallman <rms@gnu.org>
11473
11474 * vc/compare-w.el (compare-windows-whitespace):
11475 Treat no-break space as whitespace.
11476
11477 * mail/rmailsum.el (rmail-summary-rmail-update):
11478 Detect empty summary and don't change selected message.
11479 (rmail-summary-goto-msg): Likewise.
11480
11481 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11482 Doc fixes, rename args.
11483
11484 2013-05-05 Alan Mackenzie <acm@muc.de>
11485
11486 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11487
11488 2013-05-05 Juri Linkov <juri@jurta.org>
11489
11490 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11491 to not add the length of the summary segment to the return value.
11492 (Bug#14125)
11493
11494 2013-05-05 Leo Liu <sdl.web@gmail.com>
11495
11496 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11497 (inferior-octave-output-filter): Remove.
11498 (octave-send-region, inferior-octave-startup): Fix callers.
11499 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11500 (octave-binary-file-extensions): New user variable.
11501 (octave-find-definition): Confirm if opening binary files.
11502 (octave-help-file): Use octave-find-definition to get the binary
11503 confirmation.
11504 (octave-help): Adjust for octave-help-file change.
11505
11506 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11509 Merge the two entries that handle function definitions.
11510 (pascal--syntax-propertize): New const.
11511 (pascal-mode): Use it. Use setq-local.
11512
11513 2013-05-04 Glenn Morris <rgm@gnu.org>
11514
11515 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11516 (diary-from-outlook): Respect diary-from-outlook-function.
11517
11518 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11521 Move the declaration from C.
11522 (read-minibuffer, eval-minibuffer): Move from C.
11523 (completion-setup-function): Avoid minibuffer-completion-contents.
11524
11525 2013-05-03 Leo Liu <sdl.web@gmail.com>
11526
11527 * progmodes/octave.el (octave-font-lock-keywords): Do not
11528 dehighlight 'end' in comments or strings.
11529 (octave-completing-read, octave-goto-function-definition):
11530 New helpers.
11531 (octave-help-buffer): New user variable.
11532 (octave-help-file, octave-help-function): New button types.
11533 (octave-help): New command and bind it to C-h ;.
11534 (octave-find-definition): New command and bind it to M-.
11535 (user-error): Alias to error if not defined.
11536
11537 2013-05-02 Leo Liu <sdl.web@gmail.com>
11538
11539 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11540 for \. (bug#14332)
11541 (octave-font-lock-keywords): Include [ and {.
11542
11543 2013-05-02 Leo Liu <sdl.web@gmail.com>
11544
11545 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11546 (inferior-octave): Remove calling comint-mode and return the buffer.
11547 (inferior-octave-startup): Cosmetic changes.
11548
11549 2013-05-02 Leo Liu <sdl.web@gmail.com>
11550
11551 * progmodes/octave.el (octave-syntax-propertize-function):
11552 Include the case when ' is at line beginning. (Bug#14336)
11553
11554 2013-05-02 Glenn Morris <rgm@gnu.org>
11555
11556 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11557 * desktop.el (vc-dir-mode): Just autoload it here.
11558
11559 2013-05-02 Alan Mackenzie <acm@muc.de>
11560
11561 Eliminate variable c-standard-font-lock-fontify-region-function.
11562 * progmodes/cc-mode.el
11563 (c-standard-font-lock-fontify-region-function): Remove.
11564 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11565
11566 2013-05-01 Leo Liu <sdl.web@gmail.com>
11567
11568 * progmodes/octave.el: Compatible with older emacs-24 releases.
11569 (inferior-octave-has-built-in-variables): Remove. Built-in
11570 variables were removed from Octave in 2007.
11571 (inferior-octave-startup): Fix uses.
11572 (comint-line-beginning-position): Remove compatibility code for
11573 emacs 21.
11574
11575 2013-05-01 Juri Linkov <juri@jurta.org>
11576
11577 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11578
11579 2013-05-01 Juri Linkov <juri@jurta.org>
11580
11581 * comint.el (comint-previous-matching-input): Don't print message
11582 "History item: %d" when `isearch-mode' is active.
11583 (comint-history-isearch-message): Print message "History item: %d"
11584 when `comint-input-ring-index' is not empty and this function is
11585 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11586
11587 2013-05-01 Leo Liu <sdl.web@gmail.com>
11588
11589 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11590 definitions. Use completion-at-point to insert keywords.
11591 (octave-abbrev-start): Remove.
11592 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11593
11594 2013-04-30 Leo Liu <sdl.web@gmail.com>
11595
11596 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11597 change.
11598
11599 2013-04-30 Alan Mackenzie <acm@muc.de>
11600
11601 Handle arbitrarily long C++ member initialisation lists.
11602 * progmodes/cc-engine.el (c-back-over-member-initializers):
11603 new function.
11604 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11605 (most) member init lists.
11606
11607 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11608
11609 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11610 variable.
11611
11612 2013-04-30 Leo Liu <sdl.web@gmail.com>
11613
11614 * progmodes/octave.el (octave-variables): Remove. No builtin
11615 variables any more. All converted to functions.
11616 (octave-font-lock-keywords, octave-completion-at-point-function):
11617 Fix uses.
11618 (octave-font-lock-texinfo-comment): New user variable.
11619 (octave-texinfo-font-lock-keywords): New variable for texinfo
11620 comment block.
11621 (octave-function-comment-block): New face.
11622 (octave-font-lock-texinfo-comment): New function.
11623 (octave-mode): Font lock texinfo comment block.
11624
11625 2013-04-29 Leo Liu <sdl.web@gmail.com>
11626
11627 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11628 indexing expression.
11629 (octave-continuation-string): Do not use \.
11630 (inferior-octave-complete-impossible): Remove.
11631 (inferior-octave-completion-table)
11632 (inferior-octave-completion-at-point): Remove its uses.
11633 (inferior-octave-startup): completion_matches was introduced to
11634 Octave in 1996 so safe to assume it.
11635 (octave-function-file-comment): Improve to follow how Octave does it.
11636 (octave-update-function-file-comment): Tweak.
11637
11638 2013-04-29 Leo Liu <sdl.web@gmail.com>
11639
11640 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11641 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11642 (octave-function-file-comment): Fix typo.
11643 (octave-sync-function-file-names): Use read-char-choice.
11644
11645 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11646
11647 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11648 to t for the less important warnings.
11649
11650 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11651
11652 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11653
11654 2013-04-27 Glenn Morris <rgm@gnu.org>
11655
11656 * vc/log-view.el (log-view-current-entry):
11657 Treat "---" separator lines as part of the following rev. (Bug#14169)
11658
11659 2013-04-27 Juri Linkov <juri@jurta.org>
11660
11661 * subr.el (read-number): Doc fix about using it by interactive
11662 code letter `n'. (Bug#14254)
11663
11664 2013-04-27 Juri Linkov <juri@jurta.org>
11665
11666 * desktop.el (desktop-auto-save-timeout): New option.
11667 (desktop-file-checksum): New variable.
11668 (desktop-save): Add optional arg `auto-save' and don't auto-save
11669 if nothing changed.
11670 (desktop-auto-save-timer): New variable.
11671 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11672 (after-init-hook): Call `desktop-auto-save-set-timer'.
11673 Suggested by Reuben Thomas <rrt@sc3d.org> in
11674 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11675
11676 2013-04-27 Leo Liu <sdl.web@gmail.com>
11677
11678 * progmodes/octave.el (octave-function-file-p)
11679 (octave-skip-comment-forward, octave-function-file-comment)
11680 (octave-update-function-file-comment): New functions.
11681 (octave-mode-map): Bind C-c ; to
11682 octave-update-function-file-comment.
11683 (octave-mode-menu): Add octave-update-function-file-comment.
11684 (octave-mode, inferior-octave-mode): Fix doc-string.
11685 (octave-insert-defun): Conform to Octave's coding convention.
11686 (Bug#14285)
11687
11688 * files.el (basic-save-buffer): Don't let errors in
11689 before-save-hook prevent saving buffer.
11690
11691 2013-04-20 Roland Winkler <winkler@gnu.org>
11692
11693 * faces.el (read-face-name): Use completing-read if arg multiple
11694 is nil.
11695
11696 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11697
11698 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11699 displayed, move point to after the totals line.
11700 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11701 for the details.
11702
11703 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11706 Add current dir to the load-path.
11707 (package-generate-autoloads): Don't rely on
11708 autoload-ensure-default-file.
11709
11710 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11711
11712 * textmodes/remember.el (remember-store-in-files): Document that
11713 the file name format is passed to `format-time-string'.
11714
11715 2013-04-26 Leo Liu <sdl.web@gmail.com>
11716
11717 * progmodes/octave.el (octave-sync-function-file-names): New function.
11718 (octave-mode): Use it in before-save-hook.
11719
11720 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11721
11722 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11723 (bug#14274).
11724
11725 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11726 \n and comment, even if it's not an implicit ; (bug#14218).
11727
11728 2013-04-26 Glenn Morris <rgm@gnu.org>
11729
11730 * subr.el (read-number): Once more use `read' rather than
11731 `string-to-number', to trap non-numeric input. (Bug#14254)
11732
11733 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11734
11735 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11736 Use `syntax-multiline' text property consistently instead of
11737 `font-lock-multiline'. (Bug#14237)
11738
11739 2013-04-26 Glenn Morris <rgm@gnu.org>
11740
11741 * emacs-lisp/shadow.el (list-load-path-shadows):
11742 No longer necessary to check for duplicate simple.el, since
11743 2012-07-07 change to init_lread to not include installation lisp
11744 directories in load-path when running uninstalled. (Bug#14270)
11745
11746 2013-04-26 Leo Liu <sdl.web@gmail.com>
11747
11748 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11749 (octave-mode, inferior-octave-mode): Use setq-local.
11750 (octave-not-in-string-or-comment-p): Rename to
11751 octave-in-string-or-comment-p.
11752 (octave-in-comment-p, octave-in-string-p)
11753 (octave-in-string-or-comment-p): Replace defsubst with defun.
11754
11755 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11756
11757 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11758
11759 2013-04-25 Bastien Guerry <bzg@gnu.org>
11760
11761 * textmodes/remember.el (remember-data-directory)
11762 (remember-directory-file-name-format): Fix custom types.
11763
11764 2013-04-25 Leo Liu <sdl.web@gmail.com>
11765
11766 * progmodes/octave.el (octave-completion-at-point-function):
11767 Make use of inferior octave process.
11768 (octave-initialize-completions): Remove.
11769 (inferior-octave-completion-table): New function.
11770 (inferior-octave-completion-at-point): Use it.
11771 (octave-completion-alist): Remove.
11772
11773 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11776 (opascal-mode-syntax-table): New var.
11777 (opascal-literal-kind, opascal-is-literal-end)
11778 (opascal-literal-token-at): Rewrite.
11779 (opascal--literal-start-re, opascal-font-lock-keywords)
11780 (opascal--syntax-propertize): New constants.
11781 (opascal-font-lock-defaults): Adjust.
11782 (opascal-mode): Use them. Set comment-<foo> variables as well.
11783 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11784 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11785 (delphi-other-face, opascal-other-face): Remove face variables.
11786 (opascal-save-state): Remove macro.
11787 (opascal-fontifying-progress-step): Remove constant.
11788 (opascal--ignore-changes): Remove var.
11789 (opascal-set-token-property, opascal-parse-next-literal)
11790 (opascal-is-stable-literal, opascal-complete-literal)
11791 (opascal-is-literal-start, opascal-face-of)
11792 (opascal-parse-region, opascal-parse-region-until-stable)
11793 (opascal-fontify-region, opascal-after-change)
11794 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11795 (opascal-debug-parse-region, opascal-debug-parse-window)
11796 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11797 (opascal-debug-fontify-buffer): Remove.
11798 (opascal-debug-mode-map): Adjust accordingly.
11799
11800 2013-04-25 Leo Liu <sdl.web@gmail.com>
11801
11802 Merge octave-mod.el and octave-inf.el into octave.el with some
11803 cleanups.
11804 * progmodes/octave.el: New file renamed from octave-mod.el.
11805 * progmodes/octave-inf.el: Merged into octave.el.
11806 * progmodes/octave-mod.el: Renamed to octave.el.
11807
11808 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11809
11810 * textmodes/reftex-vars.el
11811 (reftex-label-ignored-macros-and-environments): New defcustom.
11812
11813 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11814
11815 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11818 (smie-indent-keyword): Improve the check to ensure that the next
11819 comment is really on the same line.
11820 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11821
11822 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11823 semi-colons if the line is not otherwise empty (bug#14218).
11824
11825 2013-04-25 Glenn Morris <rgm@gnu.org>
11826
11827 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11828
11829 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * progmodes/opascal.el (opascal-set-token-property): Rename from
11832 opascal-set-text-properties and only set `token' (bug#14134).
11833 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11834 (opascal-literal-text-properties): Remove.
11835 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11836 Adjust callers.
11837
11838 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11839
11840 * textmodes/remember.el (remember-handler-functions): Add an
11841 option for a new handler `remember-store-in-files'.
11842 (remember-data-directory, remember-directory-file-name-format):
11843 New options.
11844 (remember-store-in-files): New function to store remember notes
11845 as separate files within a directory.
11846
11847 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11848
11849 * progmodes/compile.el (compilation-next-error-function):
11850 Pass "formats" to compilation-find-file (bug#11777).
11851
11852 2013-04-24 Glenn Morris <rgm@gnu.org>
11853
11854 * vc/vc-bzr.el (vc-bzr-print-log):
11855 * vc/vc-hg.el (vc-hg-print-log):
11856 * vc/vc-svn.el (vc-svn-print-log):
11857 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11858
11859 * vc/vc-bzr.el (vc-bzr-print-log):
11860 * vc/vc-cvs.el (vc-cvs-print-log):
11861 * vc/vc-git.el (vc-git-print-log):
11862 * vc/vc-hg.el (vc-hg-print-log):
11863 * vc/vc-mtn.el (vc-mtn-print-log):
11864 * vc/vc-rcs.el (vc-rcs-print-log):
11865 * vc/vc-sccs.el (vc-sccs-print-log):
11866 * vc/vc-svn.el (vc-svn-print-log):
11867 * vc/vc.el (vc-print-log-internal): Doc fixes.
11868
11869 2013-04-23 Glenn Morris <rgm@gnu.org>
11870
11871 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11872 Remove venerable code attempting to avoid substitute-command-keys.
11873
11874 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11875
11876 * textmodes/reftex-vars.el (reftex-label-regexps):
11877 Call `reftex-compile-variables' after changes to this variable.
11878
11879 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11882 Use lexical-binding.
11883 (jit-lock-force-redisplay): Use markers, check buffer's continued
11884 existence and beware narrowed buffers.
11885 (jit-lock-fontify-now): Adjust call accordingly.
11886
11887 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11890 to avoid misleading the user.
11891
11892 2013-04-22 Leo Liu <sdl.web@gmail.com>
11893
11894 * info-look.el: Prefer latex2e.info. (Bug#14240)
11895
11896 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11897
11898 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11899
11900 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11901 * net/tramp.el (tramp-call-process): ... here.
11902 (tramp-set-completion-function, tramp-parse-putty):
11903 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11904 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11905 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11906 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11907 (tramp-call-local-coding-command): Use `tramp-call-process'
11908 instead of `tramp-compat-call-process'.
11909
11910 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11911 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11912 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11913 (tramp-find-inline-compress): Improve traces.
11914 (tramp-maybe-send-script): Check for Perl binary.
11915 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11916
11917 2013-04-22 Daiki Ueno <ueno@gnu.org>
11918
11919 * epg.el (epg-context-pinentry-mode): New function.
11920 (epg-context-set-pinentry-mode): New function.
11921 (epg--start): Pass --pinentry-mode option to gpg command.
11922
11923 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11924
11925 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11926 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11927 `completion-at-point'. (Bug#13774)
11928
11929 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11930 default key binding for `describe-distribution' has been moved to
11931 `C-h C-o'. (Bug#13970)
11932
11933 2013-04-21 Glenn Morris <rgm@gnu.org>
11934
11935 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11936 Add doc strings.
11937 (vc-print-log): Clarify interactive prompt.
11938
11939 2013-04-20 Glenn Morris <rgm@gnu.org>
11940
11941 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11942 No longer include timestamp etc information.
11943
11944 2013-04-20 Roland Winkler <winkler@gnu.org>
11945
11946 * faces.el (read-face-name): Bug fix, return just one face if arg
11947 multiple is nil. (Bug#14209)
11948
11949 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11952 (remove-function): Autoload.
11953
11954 * comint.el (comint-redirect-original-filter-function): Remove.
11955 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11956 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11957 (vc-cvs-annotate-command):
11958 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11959 * progmodes/prolog.el (prolog-consult-compile):
11960 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11961 Use add/remove-function instead.
11962 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11963 (gud-tooltip-process-output, gud-tooltip-tips):
11964 Use add/remove-function instead.
11965 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11966 (scheme-interaction-mode, exit-scheme-interaction-mode):
11967 Use add/remove-function instead.
11968
11969 * vc/vc-dispatcher.el: Use lexical-binding.
11970 (vc--process-sentinel): Rename from vc-process-sentinel.
11971 Change last arg to be the code to run. Don't use vc-previous-sentinel
11972 and vc-sentinel-commands any more.
11973 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11974 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11975
11976 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11977
11978 * progmodes/sh-script.el (sh-imenu-generic-expression):
11979 Handle function names with a single character. (Bug#14111)
11980
11981 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11982
11983 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11984 for subroutines defined in an eval (bug#14182).
11985
11986 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11987
11988 * bookmark.el (bookmark-completing-read): Improve handling of empty
11989 string (bug#14176).
11990
11991 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11994
11995 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11996
11997 New faster Imenu implementation (bug#14058).
11998 * progmodes/python.el:
11999 (python-imenu-prev-index-position):
12000 (python-imenu-format-item-label-function)
12001 (python-imenu-format-parent-item-label-function)
12002 (python-imenu-format-parent-item-jump-label-function):
12003 New vars.
12004 (python-imenu-format-item-label)
12005 (python-imenu-format-parent-item-label)
12006 (python-imenu-format-parent-item-jump-label)
12007 (python-imenu--put-parent, python-imenu--build-tree)
12008 (python-imenu-create-index, python-imenu-create-flat-index)
12009 (python-util-popn): New functions.
12010 (python-mode): Set imenu-create-index-function to
12011 python-imenu-create-index.
12012
12013 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * winner.el (winner-active-region): Use region-active-p, activate-mark
12016 and deactivate-mark (bug#14225).
12017
12018 * simple.el (deactivate-mark): Don't inline it.
12019
12020 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12021
12022 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12023
12024 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12025
12026 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12027 file extensions from the archive-mode entry in order to prefer
12028 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12029
12030 2013-04-18 Leo Liu <sdl.web@gmail.com>
12031
12032 * bindings.el (help-event-list): Add ?\?.
12033
12034 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * subr.el (with-wrapper-hook): Declare obsolete.
12037 * simple.el (filter-buffer-substring-function): New hook.
12038 (filter-buffer-substring): Use it.
12039 (filter-buffer-substring-functions): Mark obsolete.
12040 * minibuffer.el (completion-in-region-function): New hook.
12041 (completion-in-region): Use it.
12042 (completion-in-region-functions): Mark obsolete.
12043 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12044 * abbrev.el (abbrev-expand-function): New hook.
12045 (expand-abbrev): Use it.
12046 (abbrev-expand-functions): Mark obsolete.
12047 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12048 and :filter-return.
12049
12050 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12051
12052 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12053 and do not care about match data.
12054
12055 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12056
12057 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12058 completion tables when completing error conditions and
12059 `declare' arguments.
12060 (lisp-complete-symbol, field-complete): Mark as obsolete.
12061 (check-parens): Unmatched parens are user errors.
12062 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12063
12064 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12065
12066 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12067 command changed buffer (ie. `flyspell-pre-buffer' is not current
12068 buffer), which prevents making decisions based on invalid value of
12069 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12070 cause an error when `flyspell-pre-point' was nil after switching
12071 buffers.
12072 (flyspell-post-command-hook): No longer needs to change buffers when
12073 checking pre-word. While at it remove unnecessary progn.
12074
12075 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12076
12077 * textmodes/ispell.el (ispell-add-per-file-word-list):
12078 Fix `flyspell-correct-word-before-point' error when accepting
12079 words and `coment-padding' is an integer by using
12080 `comment-normalize-vars' (Bug #14214).
12081
12082 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12083
12084 New defun movement commands.
12085 * progmodes/python.el (python-nav--syntactically)
12086 (python-nav--forward-defun, python-nav-backward-defun)
12087 (python-nav-forward-defun): New functions.
12088
12089 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12090
12091 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12092 (python-syntax-context): Use named compiler-macro for backwards
12093 compatibility with Emacs 24.x.
12094
12095 2013-04-17 Leo Liu <sdl.web@gmail.com>
12096
12097 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12098 octave-hide-process-buffer.
12099
12100 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12101
12102 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12103 (bug#14216).
12104
12105 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12106
12107 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12108 Fix adjustment of offset when receiving incomplete responses from GDB
12109 (bug#14129).
12110
12111 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12114 python-mode-abbrev-table.
12115 (python-skeleton-define): Adjust accordingly.
12116 (python-mode-abbrev-table): New table that inherits from it so that
12117 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12118
12119 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12120 (abbrev-symbol): Use it.
12121 (abbrev--before-point): Use it since we already handle inheritance.
12122
12123 2013-04-16 Leo Liu <sdl.web@gmail.com>
12124
12125 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12126 binding to info-lookup-symbol.
12127
12128 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12129
12130 * minibuffer.el (completion--twq-all):
12131 * term/ns-win.el (ns-initialize-window-system):
12132 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12133
12134 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12137 global bindings.
12138
12139 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12140
12141 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12142
12143 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12144 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12145 to nil.
12146 (ruby-end-of-defun): Remove the unused arg, change the docstring
12147 to reflect that this function is only used as the value of
12148 `end-of-defun-function'.
12149 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12150 to reflect an earlier change that beginning/end-of-defun functions
12151 jump between methods in a class definition, as well as top-level
12152 functions.
12153
12154 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * minibuffer.el (minibuffer-complete): Don't just scroll
12157 a *Completions* that's been iconified.
12158 (minibuffer-force-complete): Make sure repetitions do cycle when going
12159 through completion-in-region -> minibuffer-complete.
12160
12161 2013-04-15 Alan Mackenzie <acm@muc.de>
12162
12163 Correct the placement of c-cpp-delimiters when there're #s not at
12164 col 0.
12165
12166 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12167 place a submatch around the #.
12168 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12169 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12170 on the #, not BOL.
12171
12172 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12175 (advice--member-p): New arg `name'.
12176 (advice--add-function, advice-member-p): Use it (bug#14202).
12177
12178 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12179
12180 Reformulate java imenu-generic-expression.
12181 The old expression contained ill formed regexps.
12182
12183 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12184 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12185 (cc-imenu-java-method-arg-regexp): New defconsts.
12186 (cc-imenu-java-build-type-args-regex): New defun.
12187 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12188 handling of spaces in the regexp.
12189
12190 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12191
12192 * textmodes/ispell.el (ispell-command-loop): Remove
12193 flyspell highlight of a word when ispell accepts it (bug #14178).
12194
12195 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12196
12197 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12198 uses code from the previous `ange-ftp-run-real-handler'.
12199 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12200 only in case that function exist. This is needed for proper
12201 unloading of Tramp.
12202
12203 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12204
12205 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12206
12207 * textmodes/reftex.el (reftex-compile-variables): Use it.
12208
12209 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * files.el (normal-mode): Only use default major-mode if no other mode
12212 was specified.
12213
12214 * emacs-lisp/trace.el (trace-values): New function.
12215
12216 * files.el: Allow : in local variables (bug#14089).
12217 (hack-local-variable-regexp): New var.
12218 (hack-local-variables-prop-line, hack-local-variables): Use it.
12219
12220 2013-04-13 Roland Winkler <winkler@gnu.org>
12221
12222 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12223 data before it gets modified by bibtex-beginning-of-entry.
12224
12225 2013-04-13 Roland Winkler <winkler@gnu.org>
12226
12227 * textmodes/bibtex.el (bibtex-url): Doc fix.
12228
12229 2013-04-13 Roland Winkler <winkler@gnu.org>
12230
12231 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12232 does not visit a BibTeX file, exclude it from the list of buffers
12233 returned by bibtex-initialize.
12234
12235 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12236
12237 * window.el (split-window): Remove interactive form, since as a
12238 command this function is a special case of split-window-below.
12239 Correct doc string.
12240
12241 2013-04-12 Roland Winkler <winkler@gnu.org>
12242
12243 * faces.el (read-face-name): Do not override value of arg default.
12244 Allow single faces and strings as default values. Remove those
12245 elements from return value that are not faces.
12246 (describe-face): Simplify.
12247 (face-at-point): New optional args thing and multiple so that this
12248 function can provide the same functionality previously provided by
12249 read-face-name.
12250 (make-face-bold, make-face-unbold, make-face-italic)
12251 (make-face-unitalic, make-face-bold-italic, invert-face)
12252 (modify-face, read-face-and-attribute): Use face-at-point.
12253
12254 * cus-edit.el (customize-face, customize-face-other-window)
12255 * cus-theme.el (custom-theme-add-face)
12256 * face-remap.el (buffer-face-set)
12257 * facemenu.el (facemenu-set-face): Use face-at-point.
12258
12259 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12260
12261 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12262
12263 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12264
12265 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12266 off leading { and trailing } from field values.
12267
12268 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12269
12270 * emacs-lisp/timer.el (timer--check): New function.
12271 (timer--time, timer-set-function, timer-event-handler): Use it.
12272 (timer-set-idle-time): Simplify.
12273 (timer--activate): CSE.
12274 (timer-event-handler): Give more info in error message.
12275 (internal-timer-start-idle): New function, moved from C.
12276
12277 * mpc.el (mpc-proc): Add `restart' argument.
12278 (mpc-proc-cmd): Use it.
12279 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12280 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12281 less often.
12282
12283 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12284
12285 * progmodes/sh-script.el: Implement `sh-mode' own
12286 `add-log-current-defun-function' (bug#14112).
12287 (sh-current-defun-name): New function.
12288 (sh-mode): Use the function.
12289
12290 2013-04-09 Bastien Guerry <bzg@gnu.org>
12291
12292 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12293
12294 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12297
12298 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12299 timer (bug#14156).
12300
12301 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12302
12303 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12304 declaration.
12305
12306 2013-04-07 Leo Liu <sdl.web@gmail.com>
12307
12308 * pcmpl-x.el: New file.
12309
12310 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12311
12312 Do not set x-display-name until X connection is established.
12313 This is needed to prevent from weird situation described at
12314 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12315 * frame.el (make-frame): Set x-display-name after call to
12316 window system initialization function, not before.
12317 * term/x-win.el (x-initialize-window-system): Add optional
12318 display argument and use it.
12319 * term/w32-win.el (w32-initialize-window-system):
12320 * term/ns-win.el (ns-initialize-window-system):
12321 * term/pc-win.el (msdos-initialize-window-system):
12322 Add compatible optional display argument.
12323
12324 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12325
12326 * files.el (normal-backup-enable-predicate): On MS-Windows and
12327 MS-DOS compare truenames of temporary-file-directory and of the
12328 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12329 don't fail comparison by compare-strings. Also, compare file
12330 names case-insensitively on MS-Windows and MS-DOS.
12331
12332 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12335 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12336
12337 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12338
12339 * whitespace.el (whitespace-color-on, whitespace-color-off):
12340 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12341
12342 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12343
12344 * ispell.el (ispell-set-spellchecker-params):
12345 Really set `ispell-args' for all equivs.
12346
12347 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * ido.el (ido-completions): Use extra elements of ido-decorations
12350 (bug#14143).
12351 (ido-decorations): Update docstring.
12352
12353 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12354
12355 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12356 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12357 nil during initialization, in order not to miss changes since the
12358 file was opened. (Bug#14140)
12359
12360 2013-04-05 Leo Liu <sdl.web@gmail.com>
12361
12362 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12363
12364 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12365
12366 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12367
12368 2013-04-04 Glenn Morris <rgm@gnu.org>
12369
12370 * electric.el (electric-pair-inhibit-predicate): Add :version.
12371
12372 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12375 when a package is required several times (bug#14082).
12376
12377 2013-04-04 Roland Winkler <winkler@gnu.org>
12378
12379 * faces.el (read-face-name): Behave as promised by the docstring.
12380 Assume that arg default is a list of faces.
12381 (describe-face): Call read-face-name with list of default faces.
12382
12383 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12384
12385 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12386 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12387 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12388 the header.
12389 (bookmark-exit-hook-internal): Save even if list is empty.
12390
12391 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12392
12393 * emacs-lisp/package.el (package-pinned-packages): New var.
12394 (package--add-to-archive-contents): Obey it (bug#14118).
12395
12396 2013-04-03 Alan Mackenzie <acm@muc.de>
12397
12398 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12399 Also adapt to the new values of element 7 of a parse state.
12400
12401 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12402 parameter `not-in-delimiter'. Handle being inside comment opener.
12403 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12404 character in case we're typing a '*' after a '/'.
12405 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12406 instead by passing the parameter to c-state-pp-to-literal.
12407
12408 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12409 for elt. 7 of a parse state.
12410
12411 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12412
12413 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12414 * international/latin1-disp.el, international/mule-util.el:
12415 * language/cyril-util.el, language/european.el, language/ind-util.el:
12416 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12417 * language/tibetan.el, language/viet-util.el:
12418 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12419
12420 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12423 (electric-pair-post-self-insert-function): Use it.
12424 (electric-pair-default-inhibit): New function, extracted from
12425 electric-pair-post-self-insert-function.
12426
12427 2013-03-31 Roland Winkler <winkler@gnu.org>
12428
12429 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12430
12431 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12434
12435 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12436
12437 Un-indent after "pass" and "return" statements (Bug#13888)
12438 * progmodes/python.el (python-indent-block-enders): New var.
12439 (python-indent-calculate-indentation): Use it.
12440
12441 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12442
12443 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12444 defun. Defining it as defalias could introduce too eager
12445 byte-compiler optimization. (Bug#14030)
12446
12447 2013-03-30 Chong Yidong <cyd@gnu.org>
12448
12449 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12450
12451 2013-03-30 Leo Liu <sdl.web@gmail.com>
12452
12453 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12454 (kmacro-execute-from-register): Pass the keyboard macro to
12455 kmacro-call-macro or repeating won't work correctly.
12456
12457 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12458
12459 * progmodes/subword.el: Back to using `forward-symbol'.
12460
12461 * subr.el (forward-whitespace, forward-symbol)
12462 (forward-same-syntax): Move from thingatpt.el.
12463
12464 2013-03-29 Leo Liu <sdl.web@gmail.com>
12465
12466 * kmacro.el (kmacro-to-register): New command.
12467 (kmacro-execute-from-register): New function.
12468 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12469
12470 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12471
12472 * mpc.el: Use defvar-local and setq-local.
12473 (mpc--proc-connect): Connection failures are not bugs.
12474 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12475 (mpc-volume-map): Bind to the up-events.
12476
12477 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12478
12479 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12480 instead of `forward-symbol'.
12481
12482 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12485 (edebug--recursive-edit): Use it.
12486 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12487 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12488
12489 2013-03-28 Leo Liu <sdl.web@gmail.com>
12490
12491 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12492
12493 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12494
12495 * facemenu.el (list-colors-callback): New defvar.
12496 (list-colors-redisplay): New function.
12497 (list-colors-display): Install list-colors-redisplay as the
12498 revert-buffer-function. (Bug#14063)
12499
12500 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12503 and suffixes don't overlap (bug#14061).
12504
12505 * case-table.el: Use lexical-binding.
12506 (case-table-get-table): New function.
12507 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12508
12509 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12510
12511 * progmodes/subword.el: Add `superword-mode' to do word motion
12512 over symbol_words (parallels and leverages `subword-mode' which
12513 does word motion inside MixedCaseWords).
12514
12515 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12516
12517 * eshell/em-unix.el: Move su and sudo to...
12518 * eshell/em-tramp.el: ...Eshell tramp module.
12519
12520 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12523 Change return value to be a sexp. Delay `get-buffer' to after
12524 restoring the desktop (bug#13951).
12525
12526 2013-03-26 Leo Liu <sdl.web@gmail.com>
12527
12528 * register.el: Move semantic tag handling back to
12529 cedet/semantic/senator.el. (Bug#14052)
12530
12531 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12534 into the prompt either (bug#13963).
12535
12536 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12539 part of "(error-foo)".
12540
12541 2013-03-24 Juri Linkov <juri@jurta.org>
12542
12543 * replace.el (list-matching-lines-prefix-face): New defcustom.
12544 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12545 `occur-engine' if `face-differs-from-default-p' returns t.
12546 (occur-engine): Add `,' inside backquote construct to evaluate
12547 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12548 Pass `prefix-face' to the functions `occur-context-lines' and
12549 `occur-engine-add-prefix'.
12550 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12551 `prefix-face' and propertize the prefix with `prefix-face'.
12552 (Bug#14017)
12553
12554 2013-03-24 Leo Liu <sdl.web@gmail.com>
12555
12556 * nxml/rng-valid.el (rng-validate-while-idle)
12557 (rng-validate-quick-while-idle): Guard against deleted buffer.
12558 (Bug#13999)
12559
12560 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12561 is the last entry in kill-buffer-hook.
12562
12563 * files.el (kill-buffer-hook): Doc fix.
12564
12565 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12566
12567 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12568 Make it safe-local.
12569
12570 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12571
12572 2013-03-23 Leo Liu <sdl.web@gmail.com>
12573
12574 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12575 Remove.
12576
12577 * nxml/rng-valid.el (rng-validate-mode)
12578 (rng-after-change-function, rng-do-some-validation):
12579 * nxml/rng-maint.el (rng-validate-buffer):
12580 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12581 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12582 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12583 (nxml-extend-after-change-region): Use with-silent-modifications.
12584
12585 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12586 timer-idle-list.
12587
12588 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12589 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12590 timer-idle-list. (Bug#13999)
12591
12592 2013-03-23 Juri Linkov <juri@jurta.org>
12593
12594 * info.el (info-index-match): New face.
12595 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12596 main pattern and add text properties with the new face to matches
12597 in index entries relative to the beginning of the index entry.
12598 (Bug#14015)
12599
12600 2013-03-21 Eric Ludlam <zappo@gnu.org>
12601
12602 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12603 Inhibit read only while inserting objects.
12604
12605 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12606
12607 * progmodes/cfengine.el: Update docs to mention
12608 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12609 symbol motion. Remove "_" from the word syntax.
12610
12611 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12612
12613 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12614 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12615
12616 2013-03-20 Juri Linkov <juri@jurta.org>
12617
12618 * info.el (Info-next-reference-or-link)
12619 (Info-prev-reference-or-link): New functions.
12620 (Info-next-reference, Info-prev-reference): Use them.
12621 (Info-try-follow-nearest-node): Handle footnote navigation.
12622 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12623
12624 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12625
12626 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12627 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12628
12629 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12630
12631 Suppress unnecessary non-ASCII chatter during build process.
12632 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12633 (batch-skkdic-convert): Suppress most of the chatter.
12634 It's not needed so much now that machines are faster,
12635 and its non-ASCII component was confusing; see Dmitry Gutov in
12636 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12637
12638 2013-03-20 Leo Liu <sdl.web@gmail.com>
12639
12640 * ido.el (ido-chop): Fix bug#10994.
12641
12642 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12643
12644 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12645 Remove vars.
12646 (whitespace-color-on, whitespace-color-off):
12647 Use `font-lock-fontify-buffer' (Bug#13817).
12648
12649 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12652 remapping in mode-line.
12653 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12654
12655 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12656
12657 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12658 value for `whitespace-line' face (Bug#13875).
12659 (whitespace-font-lock-keywords): Change description.
12660 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12661 the constructed keywords instead.
12662 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12663
12664 2013-03-19 Leo Liu <sdl.web@gmail.com>
12665
12666 * progmodes/compile.el (compilation-display-error): New command.
12667 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12668 C-o. (Bug#13992)
12669
12670 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12671
12672 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12673
12674 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12675
12676 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12677
12678 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12679
12680 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12681
12682 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12683 * net/tramp-gvfs.el (top):
12684 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12685 (tramp-handle-shell-command): Use it.
12686 (tramp-dissect-file-name): Raise an error when hostname is a
12687 method name, and neither method nor user is specified.
12688
12689 * net/trampver.el: Update release number.
12690
12691 2013-03-18 Leo Liu <sdl.web@gmail.com>
12692
12693 Make sure eldoc can be turned off properly.
12694 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12695 eldoc-mode.
12696 (eldoc-display-message-p): Revert last change.
12697 (eldoc-display-message-no-interference-p)
12698 (eldoc-print-current-symbol-info): Tweak.
12699
12700 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12701
12702 * doc-view.el (doc-view-new-window-function): Check the new window
12703 overlay's display property instead the char property of the
12704 buffer's first char. Use `with-selected-window' instead of
12705 `save-window-excursion' with `select-window'.
12706 (doc-view-document->bitmap): Check the current doc-view overlay's
12707 display property instead the char property of the buffer's first char.
12708
12709 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12710
12711 Automate the build of ja-dic.el (Bug#13984).
12712 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12713 from the input, rather than assume that it's been done for us by the
12714 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12715 the current date into a ja-dic.el comment, as that complicates
12716 regression testing.
12717
12718 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * whitespace.el: Fix double evaluation.
12721 (whitespace-space, whitespace-hspace, whitespace-tab)
12722 (whitespace-newline, whitespace-trailing, whitespace-line)
12723 (whitespace-space-before-tab, whitespace-indentation)
12724 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12725 obsolete defvars.
12726 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12727 (whitespace-color-on): Use a single font-lock-add-keywords call.
12728 Fix double-evaluation of face variables.
12729
12730 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12731
12732 * net/tramp-adb.el (tramp-adb-parse-device-names):
12733 Use `start-process' instead of `call-process'. Otherwise, the
12734 function might be blocked under MS Windows. (Bug#13299)
12735
12736 2013-03-17 Leo Liu <sdl.web@gmail.com>
12737
12738 Extend eldoc to display info in the mode-line. (Bug#13978)
12739 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12740 (eldoc-mode-line-string): New variable.
12741 (eldoc-minibuffer-message): New function.
12742 (eldoc-message-function): New variable.
12743 (eldoc-message): Use it.
12744 (eldoc-display-message-p)
12745 (eldoc-display-message-no-interference-p):
12746 Support eldoc-post-insert-mode.
12747
12748 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12749 (eval-expression): Run it.
12750
12751 2013-03-17 Roland Winkler <winkler@gnu.org>
12752
12753 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12754 strings in the list of return values.
12755
12756 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12757
12758 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12759 radix before checking for HMS forms.
12760
12761 2013-03-16 Leo Liu <sdl.web@gmail.com>
12762
12763 * progmodes/scheme.el: Add indentation and font-locking for λ.
12764 (Bug#13975)
12765
12766 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12769 token before point (bug#13942).
12770
12771 2013-03-16 Leo Liu <sdl.web@gmail.com>
12772
12773 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12774
12775 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12776
12777 * startup.el (command-line-normalize-file-name): Fix handling of
12778 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12779 <xfq.free@gmail.com> in
12780 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12781
12782 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12783
12784 Sync with Tramp 2.2.7.
12785
12786 * net/trampver.el: Update release number.
12787
12788 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12789
12790 * doc-view.el: Fix bug#13887.
12791 (doc-view-insert-image): Don't modify overlay associated to
12792 non-live windows, and implement horizontal centering of image in
12793 case it's smaller than the window.
12794 (doc-view-new-window-function): Force redisplay of new windows on
12795 doc-view buffers.
12796
12797 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12798
12799 * saveplace.el (save-place-alist-to-file): Don't sort
12800 `save-place-alist', just pretty-print it (bug#13882).
12801
12802 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12803
12804 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12805 Check whether `default-file-name-coding-system' is bound.
12806 It isn't in XEmacs.
12807
12808 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12811 backquotes for `obsolete' (bug#13929).
12812
12813 * international/mule.el (find-auto-coding): Include file name in
12814 obsolescence warning (bug#13922).
12815
12816 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12817
12818 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12819 for CFEngine 3-specific indentation.
12820 (cfengine3-indent-line): Use it. Fix up category regex.
12821 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12822
12823 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * type-break.el (type-break-file-name):
12826 * textmodes/remember.el (remember-data-file):
12827 * strokes.el (strokes-file):
12828 * shadowfile.el (shadow-initialize):
12829 * saveplace.el (save-place-file):
12830 * ps-bdf.el (bdf-cache-file):
12831 * progmodes/idlwave.el (idlwave-config-directory):
12832 * net/quickurl.el (quickurl-url-file):
12833 * international/kkc.el (kkc-init-file-name):
12834 * ido.el (ido-save-directory-list-file):
12835 * emulation/viper.el (viper-custom-file-name):
12836 * emulation/vip.el (vip-startup-file):
12837 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12838 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12839
12840 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12841
12842 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12843 * language/thai-word.el: Switch to UTF-8.
12844
12845 See ChangeLog.16 for earlier changes.
12846
12847 ;; Local Variables:
12848 ;; coding: utf-8
12849 ;; End:
12850
12851 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12852
12853 This file is part of GNU Emacs.
12854
12855 GNU Emacs is free software: you can redistribute it and/or modify
12856 it under the terms of the GNU General Public License as published by
12857 the Free Software Foundation, either version 3 of the License, or
12858 (at your option) any later version.
12859
12860 GNU Emacs is distributed in the hope that it will be useful,
12861 but WITHOUT ANY WARRANTY; without even the implied warranty of
12862 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12863 GNU General Public License for more details.
12864
12865 You should have received a copy of the GNU General Public License
12866 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.