]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
[gnu-emacs] / lisp / ChangeLog
1 2014-02-13 Glenn Morris <rgm@gnu.org>
2
3 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4
5 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
8 shift-select commands.
9
10 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
11
12 * progmodes/js.el (js-indent-line): Don't widen.
13 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
14
15 2014-02-12 Glenn Morris <rgm@gnu.org>
16
17 * icomplete.el (icomplete): Add info-link to defgroup.
18 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
19 (icomplete-minibuffer-map, icomplete-mode)
20 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
21
22 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
23 (package-menu-filter): Rename from package-menu-filter-interactive.
24 Doc fix.
25
26 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
27
28 * frameset.el (frameset--jump-to-register): Select the required
29 window and buffer before restoring position (bug#16696).
30
31 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
32
33 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
34
35 2014-02-10 Glenn Morris <rgm@gnu.org>
36
37 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
38
39 2014-02-10 Eli Zaretskii <eliz@gnu.org>
40
41 * w32-common-fns.el (x-get-selection): Doc fix.
42 * select.el (x-get-selection): Doc fix. (Bug#15109)
43
44 * face-remap.el (face-remap-add-relative)
45 (face-remap-remove-relative, face-remap-reset-base)
46 (face-remap-set-base): Call force-mode-line-update to redisplay
47 the current buffer due to potential change in faces. (Bug#16709)
48
49 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
52 script more robustly.
53
54 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
55
56 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
57
58 * simple.el (choose-completion): Doc fix (bug#14160).
59
60 * subr.el (event-start): Say what a nil EVENT value means.
61
62 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
63 (bug#14197).
64
65 * progmodes/grep.el (find-program): Doc fix (bug#14289).
66
67 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
68
69 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
70
71 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
72 predicate function (bug#15455).
73
74 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
75
76 * ielm.el (inferior-emacs-lisp-mode): Instead of
77 `comment-use-global-state', set `comment-use-syntax'.
78
79 2014-02-10 Glenn Morris <rgm@gnu.org>
80
81 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
82
83 2014-02-09 Alan Mackenzie <acm@muc.de>
84
85 Fix c-invalidate-state-cache on narrowed buffers.
86 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
87 Widen when setting and clearing the CPP delimiter properties.
88
89 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
90
91 * help.el (describe-bindings): Doc fix (bug#9888).
92
93 * files.el (save-buffer): Use ARG as the parameter name for
94 consistency (bug#10346).
95 (save-buffer): Clarify the 0 argument (bug#10346).
96
97 * cus-edit.el (customize-apropos): Fix error string.
98 (custom-buffer-create): Doc fix (bug#11122).
99 (custom-sort-items): Doc fix (bug#11121).
100
101 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
102
103 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
104 (icomplete-simple-completing-p): Mention the previous variable.
105
106 * font-lock.el (font-lock-value-in-major-mode): Clarify the
107 meaning of the parameter (bug#12282).
108
109 * files.el (find-file-noselect): Clarify prompt when changing
110 readedness (bug#13261).
111 (locate-file): Suffixes aren't returned, so don't say that they
112 are (bug#12674).
113 (backup-inhibited): Doc clarification (bug#12525).
114
115 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
116 before we actually start to delete things (bug#16331).
117
118 * subr.el (event-start): Doc fix (bug#14228).
119 (event-end): Ditto.
120
121 2014-02-09 Glenn Morris <rgm@gnu.org>
122
123 * emacs-lisp/warnings.el (lwarn):
124 Empower help-enable-auto-load. (Bug#15940)
125
126 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
127
128 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
129 (Bug#16690)
130
131 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
132
133 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
134 Insert output at end of buffer. (Bug#16120)
135
136 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
137
138 * simple.el (choose-completion-string-functions): Document new
139 calling convention (bug#14153).
140 (execute-extended-command): Clarify doc string (bug#13373).
141
142 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
143
144 * find-dired.el (find-name-dired): Doc fix (bug#14290).
145 (find-grep-dired): Doc fix (bug#14288).
146
147 2014-02-08 Juri Linkov <juri@jurta.org>
148
149 * isearch.el (isearch-quote-char): Check character validity
150 like in `quoted-insert' (bug#16677).
151
152 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
153
154 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
155
156 * isearch.el (isearch-hide-immediately): Doc clarification
157 (bug#14723).
158
159 * simple.el (line-move): Document utility function used many
160 places in the Emacs sources (bug#14843).
161
162 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
163 (dired-prev-marked-file): Doc fix (bug#14855).
164 (dired-up-directory): Doc fix (bug#14848).
165
166 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
167
168 * files.el (file-relative-name): Doc fix (bug#15159).
169
170 * fringe.el (fringe-styles): Doc fix (bug#15239).
171
172 * isearch.el (isearch-filter-predicate): Documentation typo fix
173 (bug#15474).
174
175 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
176
177 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
178
179 * replace.el (replace-match-maybe-edit): Doc clarification
180 (bug#15632).
181
182 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
183
184 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
185
186 2014-02-08 Glenn Morris <rgm@gnu.org>
187
188 * help-fns.el (describe-variable):
189 Check {file,dir}-local-variables-alist, and buffer-file-name,
190 in the correct buffer.
191
192 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
193
194 * help-fns.el (describe-variable): Fix the case where
195 a value is directory-local with no dir-locals file. (Bug#16635)
196
197 2014-02-08 Glenn Morris <rgm@gnu.org>
198
199 * abbrev.el (edit-abbrevs-mode):
200 Derive from fundamental-mode. (Bug#16682)
201
202 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
203
204 * simple.el (quoted-insert): Check character validity (bug#16677).
205
206 2014-02-07 Juri Linkov <juri@jurta.org>
207
208 * desktop.el (desktop-read): Claim the lock when the owner is not
209 the current process. (Bug#16157)
210
211 2014-02-07 Juri Linkov <juri@jurta.org>
212
213 * desktop.el (desktop-buffers-not-to-save): Change default from nil
214 to "\\` ". (Bug#16651)
215
216 2014-02-07 Juri Linkov <juri@jurta.org>
217
218 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
219 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
220 (desktop-auto-save-cancel-timer): New function with some code from
221 `desktop-auto-save-set-timer'.
222 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
223 Instead of setting `desktop-save-mode' to nil, call
224 `desktop-save-mode' with arg 0. (Bug#16630)
225
226 2014-02-07 Glenn Morris <rgm@gnu.org>
227
228 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
229 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
230 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
231
232 * obsolete/iswitchb.el: Move to obsolete/.
233 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
234 since obsolete/ is not scanned for autoloads.
235 * emacs-lisp/authors.el (authors-valid-file-names):
236 Add iswitchb.el.
237
238 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
239 Disable now non-functional find-file-hook.
240
241 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
242
243 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
244 instead of ";" in order to avoid additional prompts. Let heredoc
245 scripts read from tty. (Bug#16582)
246 (tramp-send-command): No special handling of heredocs, it isn't
247 necessary anymore.
248
249 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
252 with a space (bug#16664). Limit the symbols considered to the ones
253 that are bound or fbound (bug#16646).
254
255 2014-02-06 Glenn Morris <rgm@gnu.org>
256
257 * epa.el (epa-mail-aliases): Doc fix.
258
259 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
260
261 * emacs-lisp/lisp.el (lisp-completion-at-point):
262 Use `completion-table-merge' instead of `completion-table-in-turn'
263 (bug#16604).
264
265 * minibuffer.el (completion-table-merge): New function.
266
267 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
268
269 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
270 (tramp-sh-handle-set-file-acl)
271 (tramp-sh-handle-start-file-process)
272 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
273 (tramp-find-executable, tramp-send-command): Use it.
274
275 2014-02-05 Glenn Morris <rgm@gnu.org>
276
277 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
278
279 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
280
281 * progmodes/python.el (python-shell-send-string):
282 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
283
284 2014-02-04 Anders Lindgren <andlind@gmail.com>
285
286 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
287 the names (bug#16620).
288
289 2014-02-03 Martin Rudalics <rudalics@gmx.at>
290
291 * faces.el (window-divider): New default value. Rewrite doc-string.
292 (window-divider-first-pixel, window-divider-last-pixel): New faces.
293
294 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
297 `protected' and `public' can also be called without arguments.
298
299 2014-02-03 Glenn Morris <rgm@gnu.org>
300
301 * register.el (window-configuration-to-register)
302 (frame-configuration-to-register): Unadvertise unused argument.
303 * frameset.el (frameset-to-register): Remove unused argument.
304
305 * frameset.el (frameset-to-register):
306 * kmacro.el (kmacro-to-register):
307 * register.el (increment-register):
308 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
309 (calc-append-to-register, calc-prepend-to-register):
310 * play/gametree.el (gametree-layout-to-register)
311 (gametree-apply-register-layout):
312 * textmodes/picture.el (picture-clear-rectangle-to-register)
313 (picture-yank-rectangle-from-register):
314 * vc/emerge.el (emerge-combine-versions-register):
315 Use register-read-with-preview to read registers.
316
317 2014-02-03 João Távora <joaotavora@gmail.com>
318
319 * elec-pair.el (electric-pair-backward-delete-char): Don't error
320 when at beginning of (possibly narrowed) buffer.
321
322 2014-02-02 Daniel Colascione <dancol@dancol.org>
323
324 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
325 Also try to display local help from just before point.
326
327 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
328
329 c-parse-state. Don't "append-lower-brace-pair" in certain
330 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
331 recognised as a comment.
332
333 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
334 as well as normal comment starter.
335 (c-parse-state-get-strategy): Extra return possibility
336 'back-and-forward.
337 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
338 return value list to indicate replacement of a brace-pair cons
339 with its car.
340 (c-parse-state-1): With 'back-and-forward, only call
341 c-append-lower-brace-pair-to state-cache when cons-separated.
342
343 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
344
345 * term/ns-win.el (ns-suspend-error): New function.
346 (ns-initialize-window-system): Add ns-suspend-error to
347 suspend-hook (Bug#16612).
348
349 2014-02-02 Daniel Colascione <dancol@dancol.org>
350
351 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
352
353 2014-02-02 Daniel Colascione <dancol@dancol.org>
354
355 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
356
357 2014-02-02 Glenn Morris <rgm@gnu.org>
358
359 * register.el (register-read-with-preview, point-to-register)
360 (window-configuration-to-register, frame-configuration-to-register)
361 (jump-to-register, number-to-register, view-register, insert-register)
362 (copy-to-register, append-to-register, prepend-to-register)
363 (copy-rectangle-to-register): Doc fixes.
364
365 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
368 * emacs-lisp/find-func.el (find-function-C-source): Idem.
369 * emacs-lisp/nadvice.el (advice--cd*r): New function.
370 * help-fns.el (describe-function-1): Use it.
371
372 2014-02-02 Glenn Morris <rgm@gnu.org>
373
374 * register.el (register-preview-default): New function,
375 split from register-preview.
376 (register-preview-function): Rename from register-preview-functions,
377 make it not a hook.
378 (register-preview): Use register-preview-function.
379 (register-read-with-preview): Error on non-character event. (Bug#16595)
380
381 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
382
383 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
384 `:' before binary operators (bug#16609). Don't check for `:'
385 before `[' and `(', or their syntax status. A percent literal
386 can't end with either.
387 (ruby-font-lock-keywords): For built-ins that require arguments,
388 check that they're followed by something that looks like argument
389 (bug#16610).
390
391 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
392
393 * subr.el (butlast): Document what an omitted N means (bug#13437).
394 (nbutlast): Ditto.
395
396 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
397
398 * net/shr.el (shr-generic): Make into a defsubst to make the stack
399 depth shallower (bug#16587).
400 (shr-tag-svg): Respect `shr-inhibit-images'.
401 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
402
403 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
404
405 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
406 (ruby-smie-grammar): Make "." right-associative. Make its priority
407 lower than the ternary and all binary operators.
408 (ruby-smie-rules): Indent "(" relative to the first non-"."
409 parent, or the first "." parent at indentation.
410 Use `ruby-align-chained-calls' for indentation of "." tokens.
411 (Bug#16593)
412
413 2014-01-31 Juri Linkov <juri@jurta.org>
414
415 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
416 from `make-hash-table'.
417
418 * textmodes/ispell.el (ispell-init-process): Change message format
419 to be consistent with other messages.
420
421 2014-01-31 Glenn Morris <rgm@gnu.org>
422
423 * delsel.el (delete-selection-mode): Doc fix.
424
425 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
426 (trace-function-background): Doc fixes.
427
428 * ido.el (ido-use-virtual-buffers): Doc fix.
429 Reset :version, since the default value has not changed.
430
431 * register.el (register-preview-delay, register-read-with-preview):
432 Doc fixes.
433
434 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
435 do not mess with mail-buffer position (fixes 2009-11-03 change).
436 * progmodes/cc-mode.el (c-submit-bug-report):
437 Check auto-fill-mode is bound. (Bug#16592)
438
439 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
440
441 * startup.el (fancy-splash-image-file): New function,
442 split from fancy-splash-head.
443 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
444 so that we are both using the same image. (Bug#16574)
445
446 2014-01-30 Glenn Morris <rgm@gnu.org>
447
448 * simple.el (eval-expression): Doc fix.
449
450 * hexl.el (hexl-mode-hook):
451 * ielm.el (ielm-mode-hook):
452 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
453 (lisp-interaction-mode-hook):
454 * progmodes/cfengine.e (cfengine3-documentation-function):
455 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
456
457 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
460 is a symbol (bug#16584).
461
462 2014-01-30 Glenn Morris <rgm@gnu.org>
463
464 * help.el (help-for-help-internal): Add "P" to text.
465
466 2014-01-29 Glenn Morris <rgm@gnu.org>
467
468 * simple.el (just-one-space, cycle-spacing): Doc fixes.
469
470 2014-01-28 Martin Rudalics <rudalics@gmx.at>
471
472 * window.el (fit-frame-to-buffer): Fix calculations for margins and
473 height constraints.
474
475 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
476
477 * progmodes/hideif.el: Extend to full CPP expression syntax.
478 (hif-token-alist): Add missing tokens.
479 (hif-token-regexp): Add support for float/octal/hex immediates.
480 (hif-string-literal-regexp): New const.
481 (hif-tokenize): Recognize strings and float/octal/hex immediates.
482 (hif-exprlist): New function.
483 (hif-parse-if-exp): Use it.
484 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
485 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
486 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
487 (hif-logxor, hif-comma): New functions.
488
489 2014-01-28 Glenn Morris <rgm@gnu.org>
490
491 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
492
493 * indent.el (tab-stop-list): Doc fix. Add :version.
494
495 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
496 (cvs-append-to-ignore): Add compatibility alias.
497
498 2014-01-27 Glenn Morris <rgm@gnu.org>
499
500 * dired.el (dired-hide-details-mode): Don't autoload it,
501 since it cannot be used outside Dired buffers anyway.
502
503 * emulation/cua-base.el (cua-mode): Doc fix.
504
505 * dired.el (dired-hide-details-hide-symlink-targets)
506 (dired-hide-details-hide-information-lines)
507 (dired-hide-details-mode): Doc fixes.
508
509 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
510 * strokes.el (strokes-file): Doc fix. Bump :version.
511 (strokes-help): Doc fix.
512 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
513 * emulation/viper.el (viper): Doc fix for custom group.
514 (top-level): Remove oh-so-no-longer-relevant text about vip.
515 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
516
517 * ido.el (ido-save-directory-list-file):
518 * saveplace.el (save-place-file):
519 * calendar/timeclock.el (timeclock-file):
520 * net/quickurl.el (quickurl-url-file):
521 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
522 * progmodes/idlwave.el (idlwave-config-directory):
523 * textmodes/remember.el (remember-data-file):
524 Bump :version.
525
526 2014-01-26 Glenn Morris <rgm@gnu.org>
527
528 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
529 Doc fix. Make obsolete.
530 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
531
532 * sort.el (delete-duplicate-lines): Doc fix.
533
534 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
535
536 * progmodes/ada-mode.el (ada):
537 * woman.el (woman): Link to info manual and Commentary section.
538
539 * progmodes/flymake.el (flymake):
540 * nxml/nxml-mode.el (nxml):
541 * net/eww.el (eww):
542 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
543 * htmlfontify.el (htmlfontify):
544 * ses.el (ses):
545 * epa.el (epa):
546 * ido.el (ido): Link to info manual.
547
548 2014-01-25 Leo Liu <sdl.web@gmail.com>
549
550 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
551
552 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
553
554 * net/shr.el (shr-tag-img): Prefer the title over the alt text
555 (bug#16537).
556
557 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
558
559 * net/eww.el (eww-download-callback):
560 Fix reference to eww-download-directory.
561
562 * emacs-lisp/bytecomp.el (byte-compile-file):
563 Remove unused local variable `file-name'.
564
565 2014-01-24 Glenn Morris <rgm@gnu.org>
566
567 * woman.el (woman-default-faces, woman-monochrome-faces):
568 Fix obsolescence specification.
569
570 * subr.el (with-demoted-errors): Doc fix.
571
572 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
573
574 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
575 (cl--macroexp-fboundp): New function.
576 (cl--make-type-test): Use it.
577
578 2014-01-23 Glenn Morris <rgm@gnu.org>
579
580 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
581 * simple.el (eval-expression): Doc fixes.
582
583 2014-01-22 Glenn Morris <rgm@gnu.org>
584
585 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
586
587 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * emacs-lisp/package.el: Write files silently.
590 (package-autoload-ensure-default-file, package--write-file-no-coding)
591 (package-generate-description-file, package--download-one-archive)
592 (package-install-from-archive): Tell `write-region' to stay quiet.
593 (package-menu-mode, package-menu--print-info): Omit the Archive column
594 if there's only one archive.
595 (package-all-keywords, package--has-keyword-p): Remove dead code.
596
597 2014-01-22 Glenn Morris <rgm@gnu.org>
598
599 * version.el (emacs-bzr-version-bzr): Fix typo.
600
601 * version.el (emacs-repository-get-version):
602 Check either .bzr or .git, but not both.
603 Make the git case actually use the DIR argument, and return nil
604 rather than the empty string.
605 Avoid error if .git exists but the git executable is not found.
606
607 2014-01-22 Martin Rudalics <rudalics@gmx.at>
608
609 Fixes in window size functions around Bug#16430 and Bug#16470.
610 * window.el (window-total-size, window-size): New argument ROUND.
611 (window--min-delta-1, window-min-delta, window--max-delta-1):
612 Be more conservative when calculating the numbers of lines or
613 columns a window can shrink (Bug#16430).
614 (fit-window-to-buffer): Simplify code.
615 * term.el (term-window-width): Call window-body-width again.
616
617 2014-01-22 Glenn Morris <rgm@gnu.org>
618
619 * image.el (image-format-suffixes): Doc fix.
620
621 * international/quail.el (quail-define-package): Doc fix.
622
623 * emacs-lisp/authors.el (authors-valid-file-names):
624 (authors-renamed-files-alist): Additions.
625
626 * vc/vc-git.el (vc-git-print-log): Remove --follow;
627 reverts 2014-01-09 change. (Bug#16422)
628
629 * calc/calc-embed.el (thing-at-point-looking-at):
630 * emacs-lisp/map-ynp.el (x-popup-dialog):
631 * obsolete/lmenu.el (x-popup-dialog):
632 * emacs-lisp/package.el (url-recreate-url):
633 * mail/mailclient.el (clipboard-kill-ring-save):
634 * subr.el (x-popup-dialog): Update declaration.
635 * mail/rmail.el (rmail-mime-message-p):
636 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
637
638 2014-01-21 Daniel Colascione <dancol@dancol.org>
639
640 * progmodes/sh-script.el (sh--inside-noncommand-expression):
641 Correctly detect when we're inside an arithmetic expansion form
642 containing nested parenthesis.
643 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
644 to detect cases where we shouldn't expand "<<" to a heredoc
645 skeleton.
646
647 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
648
649 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
650 (eldoc--message-command-p): New function.
651 (eldoc-display-message-p): Use it.
652 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
653 message is not automatically erased for us.
654 (eldoc-print-current-symbol-info): Erase previous message, if any.
655
656 2014-01-21 Tassilo Horn <tsdh@gnu.org>
657
658 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
659 specify it's an interactive function.
660
661 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
662 Fix regex used for scanning for citation keys which failed for
663 citations with optional arguments.
664
665 2014-01-21 Leo Liu <sdl.web@gmail.com>
666
667 * simple.el (read--expression): Don't enable eldoc-mode.
668
669 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * simple.el (move-beginning-of-line): Make sure we don't move forward
672 (bug#16497).
673
674 2014-01-20 Juri Linkov <juri@jurta.org>
675
676 * saveplace.el (toggle-save-place, save-place-to-alist)
677 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
678 'dired-mode) before checking for dired-directory. (Bug#16477)
679
680 2014-01-20 Juri Linkov <juri@jurta.org>
681
682 * indent.el (indent-line-to): Use backward-to-indentation
683 instead of back-to-indentation. (Bug#16461)
684
685 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
686
687 Revert some of the CANNOT_DUMP fix (Bug#16494).
688 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
689 but fixing this can wait until after the next release.
690 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
691
692 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
693
694 * eshell/esh-mode.el (eshell-password-prompt-regexp):
695 Use `password-word-equivalents'.
696 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
697 to t. (Bug#5664, Bug#13124)
698
699 2014-01-19 Alan Mackenzie <acm@muc.de>
700
701 Bind open-paren-in-column-0-is-defun-start to nil at some entry
702 points.
703 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
704 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
705 * progmodes/cc-mode.el (c-before-change, c-after-change)
706 (c-font-lock-fontify-region): Bind it here.
707
708 2014-01-19 Martin Rudalics <rudalics@gmx.at>
709
710 * term.el (term-window-width): Call window-text-width instead of
711 window-width (Bug#16470).
712
713 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
714
715 * simple.el (password-word-equivalents): Remove duplicates.
716 Sort, to make this easier next time.
717 Downcase. Omit ": " after "jelszó".
718
719 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
720
721 * term/common-win.el (saved-region-selection): Defvar it.
722 (x-select-text): Set saved-region-selection (Bug#16382).
723
724 2014-01-18 Glenn Morris <rgm@gnu.org>
725
726 * emacs-lisp/authors.el (authors-aliases)
727 (authors-renamed-files-alist): Add some entries.
728
729 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
730
731 * net/tramp.el (tramp-password-prompt-regexp):
732 Use `password-word-equivalents' if available.
733 (tramp-action-password, tramp-process-one-action)
734 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
735
736 2014-01-17 Chong Yidong <cyd@gnu.org>
737
738 * simple.el (password-word-equivalents): New defcustom.
739 * comint.el (comint-password-prompt-regexp): Use it. Bump version
740 to 24.4.
741 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
742 to t. (Bug#13124)
743
744 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
745
746 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
747 (ruby-align-to-stmt-keywords): Change the default value.
748 Use `ruby-alignable-keywords' to generate the possible customization
749 choices.
750 (ruby-smie-rules): Instead of using a hardcoded list of alignable
751 keywords, check against the value of `ruby-alignable-keywords'
752 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
753
754 2014-01-17 Glenn Morris <rgm@gnu.org>
755
756 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
757
758 Make M-x authors return zero *Authors Errors* from current logs.
759 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
760 (authors-ignored-files): Add some entries, remove others.
761 (authors-ambiguous-files, authors-valid-file-names):
762 Add some entries.
763 (authors-renamed-files-alist): Add, remove, and adjust entries.
764 (authors-renamed-files-regexps): Add some entries.
765 Remove some very broad ones. Make some entries `lax'.
766 (authors-lax-changelogs): New constant.
767 (authors-disambiguate-file-name): Treat top-level specially.
768 (authors-lax-changelog-p): New function.
769 (authors-canonical-file-name): Check file as written against
770 authors-valid-file-names. Do not special-case etc/.
771 Handle `lax' logs and authors-renamed-files-regexps elements.
772
773 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
774
775 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
776 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
777 callers.
778
779 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
782 Assume we're already in the proper buffer.
783 Inspired by Anders Lindgren <andlind@gmail.com>.
784 (follow-post-command-hook): Call it from the right buffer.
785 (follow-comint-scroll-to-bottom): Adjust call.
786 (follow-all-followers): Use get-buffer-window-list.
787
788 2014-01-15 Daniel Colascione <dancol@dancol.org>
789
790 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
791 `buffer-file-name' in interactive-form so that we don't leave
792 pathless file names in `file-name-history'.
793
794 2014-01-15 Juri Linkov <juri@jurta.org>
795
796 * indent.el (indent-rigidly): Set deactivate-mark to nil
797 in transient indentation mode. (Bug#16438)
798
799 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
800
801 * emacs-lisp/package.el (package-desc-keywords): New function
802 (Bug#16222).
803 (describe-package-1, package-all-keywords)
804 (package--has-keyword-p): Use it.
805
806 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
807
808 * simple.el (define-alternatives): When creating the
809 COMMAND-alternatives variable, assign COMMAND as its definition
810 name so that `describe-variable' can relocate it.
811
812 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
813
814 * font-lock.el (font-lock-keywords): Fix typo in docstring
815 (bug#16307).
816
817 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
818
819 * ispell.el (ispell-region): Reset `in-comment' for new line
820 instead of wrongly reset `add-coment' (bug#13577).
821
822 2014-01-14 Daiki Ueno <ueno@gnu.org>
823
824 * epa-file.el (epa-file-write-region): Encode the region according
825 to `buffer-file-format'. Problem reported at:
826 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
827
828 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
831 so it applies in the right buffer (bug#16410).
832
833 2014-01-13 Daniel Colascione <dancol@dancol.org>
834
835 * textmodes/rst.el (rst-define-key): Provide deprecated
836 keybindings through named functions instead of anonymous ones so
837 that "??" doesn't appear in describe-mode output.
838
839 2014-01-13 Bastien Guerry <bzg@gnu.org>
840
841 * simple.el (define-alternatives): Call the selected command
842 interactively. When setting `COMMAND--implementation' for the
843 first time, tell the user how to chose another implementation.
844 Enhance the docstring.
845
846 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
849 (log-edit--match-first-line): New function.
850 (log-edit-font-lock-keywords): Use it.
851 (log-edit-mode): Make jit-lock-defer-multiline work.
852
853 2014-01-13 Bastien Guerry <bzg@gnu.org>
854
855 * rect.el (rectangle-mark-mode): When the region is not active,
856 display a message saying that the mark as been set and that
857 rectangle mode is in use.
858 (rectangle--highlight-for-redisplay): Only put an overlay with a
859 visible vertical bar when (display-graphic-p) is non-nil.
860 This partially fixes Bug#16403.
861
862 2014-01-13 Juri Linkov <juri@jurta.org>
863
864 * info.el (Info-find-file): Go to DIR before displaying the error
865 about a nonexistent file if no previous Info file is visited.
866 Use `user-error' instead of `error' for "Info file %s does not exist".
867 (Info-find-node-2): In case of a nonexistent node in unwind forms
868 go to the Top node if there is no previous node to revert to.
869 (Bug#16405)
870
871 2014-01-13 Martin Rudalics <rudalics@gmx.at>
872
873 fit-frame/window-to-buffer code fixes including one for Bug#14096.
874 * window.el (fit-frame-to-buffer): Fix doc-string.
875 Respect window-min-height/-width. Fit pixelwise when
876 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
877 when avoiding that frame goes partially off-screen.
878 (fit-window-to-buffer): Respect window-min-height/-width
879 (Bug#14096).
880
881 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
884 after an empty line.
885
886 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * net/shr.el (shr-render-region): Autoload.
889
890 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
891
892 * net/eww.el (eww-download-directory): Rename from
893 `eww-download-path' (Bug#16419).
894
895 2014-01-12 Leo Liu <sdl.web@gmail.com>
896
897 * dired-x.el (dired-mode-map): Fix last change.
898
899 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
900
901 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
902
903 Spelling fixes.
904 * emacs-lisp/generic.el (generic--normalize-comments):
905 Rename from generic--normalise-comments. All uses changed.
906 * play/bubbles.el (bubbles--neighborhood-score):
907 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
908 (bubbles--neighborhood-available)
909 (bubbles--update-neighborhood-score):
910 Rename from names with 'neighbourhood'. All uses changed.
911
912 2014-01-12 Leo Liu <sdl.web@gmail.com>
913
914 Re-implement the feature of showing eldoc info after editing.
915 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
916 (eldoc-edit-message-commands): New function.
917 (eldoc-print-after-edit): New variable.
918 (eldoc-pre-command-refresh-echo-area): Emit message only by
919 eldoc-message-commands.
920 (eldoc-mode): Restrict eldoc-message-commands to editing commands
921 if eldoc-print-after-edit is set. (Bug#16346)
922 * simple.el (read--expression): Enable eldoc-mode.
923 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
924
925 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
926 Eric S. Raymond <esr@thyrsus.com>
927
928 * version.el (emacs-repository-get-version): Enhance so the
929 function works correctly in either a Bazaar or Git repo.
930
931 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
932
933 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
934 Goes with removal of the joke manpages from /etc.
935
936 2014-01-10 Kenichi Handa <handa@gnu.org>
937
938 * mail/rmail.el (rmail-get-coding-system):
939 Check rmail-get-coding-function before "funcall"ing it.
940
941 2014-01-10 Glenn Morris <rgm@gnu.org>
942
943 * emacs-lisp/authors.el (authors-fixed-entries):
944 Update for files that no longer exist.
945
946 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
947
948 * version.el (emacs-bzr-get-version): Restore compatibilty with
949 24.3 (Tested).
950
951 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
952
953 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
954 and Podfile.
955
956 2014-01-10 Eli Zaretskii <eliz@gnu.org>
957
958 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
959
960 2014-01-10 Chong Yidong <cyd@gnu.org>
961
962 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
963
964 2014-01-10 Anders Lindgren <andlind@gmail.com>
965
966 * follow.el (follow-cache-command-list): Include right-char and
967 left-char.
968
969 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
970
971 Spelling fixes.
972 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
973 * woman.el (woman-mark-horizontal-position):
974 Rename from woman-mark-horizonal-position. Use changed.
975
976 2014-01-10 Glenn Morris <rgm@gnu.org>
977
978 * info.el (info-initialize): If running uninstalled, ensure our
979 own info files are always found first, even if INFOPATH is set.
980
981 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
982
983 2014-01-09 David Engster <deng@randomsample.de>
984
985 * emacs-lisp/eieio-custom.el:
986 * emacs-lisp/eieio-opt.el: Set generated autoload file to
987 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
988 * emacs-lisp/eieio.el: Regenerate autoloads.
989
990 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
991
992 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
993 following renames. (Bug#8756)
994
995 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
998 (bug#16382).
999 (activate-mark): Add `no-tmm' argument.
1000 (set-mark, push-mark-command): Use it instead of running
1001 activate-mark-hook by hand.
1002
1003 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1004
1005 In preparation for the move to git, sanitize out some
1006 Bazaar-specific names.
1007
1008 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1009
1010 * version.el (emacs-bzr-version): Name changed to
1011 emacs-repository-version. Obsolete-variable alias made.
1012 * loadup.el: Follow through on this name change.
1013 * mail/emacsbug.el (report-emacs-bug): Factor out any
1014 assumption about the version control system in use.
1015
1016 2014-01-08 David Engster <deng@randomsample.de>
1017
1018 * help-fns.el (help-fns-describe-function-functions):
1019 New variable to call functions for augmenting help buffers.
1020 (describe-function-1): Remove explicit calls to
1021 `help-fns--compiler-macro', `help-fns--parent-mode' and
1022 `help-fns--obsolete'. Put them in above new variable instead, and
1023 call them through `run-hook-with-args'.
1024 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1025 `eieio-describe-class'. Not meant for interactive use anymore,
1026 but to augment existing help buffers. Remove optional second
1027 argument. Create proper button for file location.
1028 Rewrite function to use `insert' instead of `princ' and `prin1' where
1029 possible.
1030 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1031 (eieio-method-def, eieio-class-def): Move further up.
1032 (describe-method, describe-generic, eieio-describe-method):
1033 Remove aliases.
1034 (eieio-help-constructor, eieio-help-generic): Rename from
1035 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1036 Rewrite to use `insert' in the current buffer and use proper help
1037 buttons.
1038 (eieio-help-find-method-definition)
1039 (eieio-help-find-class-definition): Also accept symbols as
1040 arguments.
1041 (eieio-help-mode-augmentation-maybee): Remove.
1042 (eieio-describe-class-sb): Use `describe-function'.
1043 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1044 Add `eieio-help-generic' and `eieio-help-constructor'.
1045
1046 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1047
1048 Spelling fixes.
1049 * language/china-util.el (hz-ascii-designation):
1050 Rename from hz-ascii-designnation.
1051 (hz-ascii-designation): Rename from hz-ascii-designnation.
1052 All uses changed.
1053
1054 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1057 package-alist.
1058
1059 2014-01-08 Bastien Guerry <bzg@gnu.org>
1060
1061 * emacs-lisp/package.el (package-delete):
1062 Correctly delete the package from package-alist.
1063
1064 2014-01-08 Daiki Ueno <ueno@gnu.org>
1065
1066 * emacs-lisp/package.el (url-recreate-url): Declare.
1067 (url-http-target-url): Declare.
1068 (package-handle-response): Include requested URL in the error message.
1069 (package--check-signature): Don't re-signal errors from
1070 package--with-work-buffer. Suggested by Stefan Monnier.
1071
1072 2014-01-07 Bastien Guerry <bzg@gnu.org>
1073
1074 * minibuffer.el (completion--try-word-completion): When both a
1075 hyphen and a space are possible candidates for the character
1076 following a word, display both candidates. (Bug#15980)
1077
1078 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1079
1080 * window.el (balance-windows-2): While rounding don't give a
1081 window more than the remainder. Bug#16351, bug#16383.
1082
1083 2014-01-07 Glenn Morris <rgm@gnu.org>
1084
1085 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1086 (menu-bar-help-menu): Use view-external-packages instead.
1087
1088 2014-01-07 Bastien Guerry <bzg@gnu.org>
1089
1090 * emacs-lisp/package.el (package-delete): Also delete the package
1091 name from `package-alist', not its description only.
1092
1093 2014-01-07 Glenn Morris <rgm@gnu.org>
1094
1095 * help.el (view-external-packages):
1096 * menu-bar.el (menu-bar-help-extra-packages):
1097 Visit efaq.info rather than etc/MORE.STUFF.
1098
1099 2014-01-07 Juri Linkov <juri@jurta.org>
1100
1101 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1102 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1103
1104 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1105 that shadows RET. (Bug#16342)
1106
1107 2014-01-07 Chong Yidong <cyd@gnu.org>
1108
1109 * isearch.el (isearch-yank-char, isearch-yank-word)
1110 (isearch-yank-line): Doc fix.
1111
1112 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1115 * emacs-lisp/elint.el (elint-find-builtins):
1116 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1117 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1118 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1119 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1120 * apropos.el (apropos-safe-documentation):
1121 * subr.el (symbol-file): Remove redundant fboundp.
1122 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1123
1124 2014-01-06 Bastien Guerry <bzg@gnu.org>
1125
1126 * hl-line.el (global-hl-line-overlay): Make a local variable.
1127 (global-hl-line-overlays): New variable to store all overlays.
1128 (global-hl-line-mode): Don't delete overlays from the current
1129 buffer when `global-hl-line-sticky-flag' is non-nil.
1130 (global-hl-line-highlight): Add new overlays to
1131 `global-hl-line-overlays'.
1132 (global-hl-line-unhighlight-all): New function to delete all
1133 overlays when turning off `global-hl-line-mode'.
1134 This fixes Bug#16183.
1135
1136 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * subr.el (set-transient-map): Fix nested case and docstring.
1139
1140 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1141
1142 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1143 `Texinfo' entry.
1144
1145 2014-01-06 Daniel Colascione <dancol@dancol.org>
1146
1147 Fix defun navigation in vc log view.
1148
1149 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1150 like `beginning-of-defun'.
1151 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1152 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1153 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1154 (log-view-extract-comment): Call `log-view-current-entry' directly
1155 instead of relying on broken `log-view-beginning-of-defun' behavior.
1156
1157 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1158
1159 Spelling fixes.
1160 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1161 * emacs-lisp/debug.el (cancel-debug-on-entry):
1162 * epg.el (epg-error-to-string):
1163 * files.el (recover-file):
1164 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1165 * mail/emacsbug.el (report-emacs-bug-hook):
1166 * mail/sendmail.el (mail-recover):
1167 * ses.el (ses-yank-resize):
1168 * term/ns-win.el (ns-print-buffer):
1169 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1170 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1171 All uses changed.
1172 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1173
1174 2014-01-06 Leo Liu <sdl.web@gmail.com>
1175
1176 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1177 to avoid shadowing global key. (Bug#16354)
1178
1179 2014-01-06 Daniel Colascione <dancol@dancol.org>
1180
1181 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1182 rst-mode.
1183
1184 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1185
1186 * window.el (balance-windows): Add mising t to fix Bug#16351.
1187
1188 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1189
1190 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1191 (bug#16285).
1192 (shr-insert): If we have a word that's longer than `shr-width',
1193 break after it anyway. Otherwise we'll do no breaking once we get
1194 such a long word.
1195
1196 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1197
1198 * net/eww.el (eww): Support single/double quote for search.
1199 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1200 (eww-history-quit): Delete and use quit-window.
1201 (eww-history-kill): Delete, because it doesn't work well and
1202 not necessary.
1203 (eww-history-mode-map): Delete some keys and add easy-menu.
1204
1205 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1206
1207 Fix misspelling of 'chinese' in rx (Bug#16237).
1208 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1209 chinese-two-byte.
1210
1211 Change subword regexps back to vars (Bug#16296).
1212 * progmodes/subword.el (subword-forward-regexp)
1213 (subword-backward-regexp): Change these back to variables.
1214
1215 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1218 syntax-begin-function (bug#16247).
1219
1220 2014-01-03 Chong Yidong <cyd@gnu.org>
1221
1222 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1223 (advice--docstring): Delete variable.
1224 (advice--make-1): Leave the docstring empty.
1225 (advice-add): Use function-documentation for advised docstring.
1226
1227 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1228 Ignore function-documentation property when getting documentation.
1229 (ad-activate-advised-definition): Use function-documentation
1230 generate the docstring.
1231 (ad-make-advised-definition): Don't call
1232 ad-make-advised-definition-docstring.
1233 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1234 Delete functions.
1235
1236 * progmodes/sql.el (sql-help): Use function-documentation instead
1237 of dynamic-docstring-function property. No need to autoload now.
1238 (sql--help-docstring): New variable.
1239 (sql--make-help-docstring): Use it.
1240
1241 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * ielm.el (ielm-tab): Retarget.
1244 (ielm-map): Use ielm-tab for tab.
1245 (ielm-complete-filename): Use comint-filename-completion.
1246 (ielm-complete-symbol): Remove.
1247 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1248 remove ielm-tab from completion-at-point-functions (bug#16224).
1249
1250 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1251 Beware signals raised by predicates (bug#16201).
1252
1253 2014-01-02 Richard Stallman <rms@gnu.org>
1254
1255 * dired-aux.el (dired-do-print): Handle printer-name.
1256
1257 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1258 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1259 (rmail-epa-decrypt): Turn off mime processing.
1260
1261 * mail/rmail.el (rmail-make-in-reply-to-field):
1262 Add parens in message-id.
1263
1264 * mail/rmail.el (rmail-get-coding-function): Variable.
1265 (rmail-get-coding-system): Use it.
1266
1267 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1268
1269 * international/mule-conf.el: Unify the charset indian-is13194.
1270 (indian-is13194): Specify unify-map.
1271
1272 2013-12-31 Leo Liu <sdl.web@gmail.com>
1273
1274 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1275
1276 2013-12-30 Daniel Colascione <dancol@dancol.org>
1277
1278 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1279 of printing a useless when we resume from sleep.
1280
1281 * progmodes/sh-script.el
1282 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1283 in indentation code. (Bug#16233)
1284
1285 2013-12-28 João Távora <joaotavora@gmail.com>
1286
1287 * elec-pair.el (electric-pair-post-self-insert-function):
1288 Don't open extra newlines at beginning of buffer. (Bug#16272)
1289
1290 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1291
1292 * frame.el (window-system-for-display): Don't allow to create a
1293 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1294
1295 2013-12-28 Glenn Morris <rgm@gnu.org>
1296
1297 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1298 Update callers.
1299
1300 * apropos.el (apropos-match-face):
1301 * calculator.el (calculator-displayer):
1302 * dabbrev.el (dabbrev-search-these-buffers-only):
1303 * face-remap.el (buffer-face-mode-face):
1304 * simple.el (yank-handled-properties):
1305 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1306 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1307 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1308 (hashcash-double-spend-database):
1309 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1310 (ruby-deep-indent-paren-style):
1311 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1312 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1313 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1314 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1315 Specify custom types.
1316
1317 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1318 * bookmark.el (bookmark-bmenu-use-header-line):
1319 * doc-view.el (doc-view-scale-internally):
1320 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1321 * register.el (register-preview-delay):
1322 * net/shr.el (shr-bullet):
1323 * progmodes/cfengine.el (cfengine-cf-promises)
1324 (cfengine-parameters-indent):
1325 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1326 * textmodes/reftex-vars.el (reftex-label-regexps):
1327 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1328
1329 * net/tls.el (tls-certtool-program): Fix default value.
1330
1331 * desktop.el (desktop-restore-in-current-display):
1332 * newcomment.el (comment-empty-lines):
1333 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1334 (idlwave-pad-keyword):
1335 * progmodes/tcl.el (tcl-tab-always-indent):
1336 * textmodes/reftex-vars.el (reftex-index-default-tag):
1337 * elec-pair.el (electric-pair-skip-whitespace):
1338 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1339
1340 * emacs-lisp/authors.el (authors-ignored-files)
1341 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1342
1343 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1344
1345 * shell.el (shell-dynamic-complete-command): Doc fix.
1346 (shell--command-completion-data): Shell completion now matches
1347 executable filenames from the current buffer's directory, on
1348 systems in which this behavior is the default (windows-nt, ms-dos).
1349
1350 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1351
1352 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1353
1354 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1357 (bug#16251).
1358
1359 * electric.el: Move all electric-pair-* to elec-pair.el.
1360 * elec-pair.el: New file, split from electric.el.
1361
1362 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1363
1364 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1365 indentation level is larger than the width, because that will
1366 infloop.
1367 (shr-insert): Fill repeatedly long texts, so that Japanese is
1368 formatted correctly (bug#16263).
1369 (shr-find-fill-point): Off by one error in comparison with the
1370 indentation.
1371
1372 2013-12-26 João Távora <joaotavora@gmail.com>
1373
1374 * electric.el (electric-pair-mode): More flexible engine for skip-
1375 and inhibit predicates, new options for pairing-related functionality.
1376 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1377 if that keeps or improves their balance in buffers.
1378 (electric-pair-delete-adjacent-pairs): Delete the pair when
1379 backspacing over adjacent matched delimiters.
1380 (electric-pair-open-extra-newline): Open extra newline when
1381 inserting newlines between adjacent matched delimiters.
1382 (electric--sort-post-self-insertion-hook):
1383 Sort post-self-insert-hook according to priority values when
1384 minor-modes are activated.
1385 * simple.el (newline-and-indent): Call newline with interactive
1386 set to t.
1387 (blink-paren-post-self-insert-function): Set priority to 100.
1388 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1389 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1390 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1391 electric-pair-open-newline-between-pairs to nil.
1392
1393 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1394
1395 * progmodes/python.el: Use lexical-binding.
1396 (python-nav-beginning-of-defun): Stop searching ASAP.
1397
1398 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1399
1400 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1401 Fix interactive spec. Doc fix. (Bug#15754)
1402
1403 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1404
1405 * emacs-lisp/byte-run.el (eval-when-compile):
1406 * progmodes/cc-defs.el (cc-eval-when-compile):
1407 Fix edebug spec (bug#16184).
1408
1409 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1410
1411 * net/shr.el (shr-visit-file): Remove debugging function.
1412 (shr-insert): Don't infloop if we can't find a good place to break
1413 the line (bug#16256).
1414
1415 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1416
1417 * progmodes/python.el:
1418 (python-nav--lisp-forward-sexp): New function.
1419 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1420 python-nav-lisp-forward-sexp-safe.
1421 (python-nav--forward-sexp): New argument SAFE allows switching
1422 forward sexp movement behavior for parens.
1423 (python-nav-forward-sexp): Throw errors on unterminated parens
1424 (Bug#16191).
1425 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1426 (python-nav-backward-sexp-safe): New functions.
1427 (python-shell-buffer-substring):
1428 Use `python-nav-forward-sexp-safe'.
1429
1430 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1431
1432 * net/shr.el (shr-find-fill-point): Don't break lines before a
1433 quotation mark.
1434 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1435 (shr-find-fill-point): Remove the special checks for the quotation
1436 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1437
1438 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1439
1440 * net/eww.el (eww-form-textarea): Use a different face for
1441 textareas than text input since they have different keymaps
1442 (bug#16142).
1443
1444 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1445
1446 * progmodes/python.el (python-nav-beginning-of-statement):
1447 Speed up (Bug#15295).
1448
1449 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1450
1451 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1452 the window configuration.
1453
1454 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1455
1456 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1457 we run on MS-Windows or MS-DOS.
1458
1459 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1460
1461 * window.el (balance-windows-area): Call window-size instead of
1462 window-height and window-width. Bug#16241.
1463
1464 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1465
1466 * net/eww.el (eww-bookmark-quit): Remove.
1467 (eww-bookmark-browse): Restore the window configuration when you
1468 choose a bookmark (bug#16144).
1469
1470 2013-12-24 Daniel Colascione <dancol@dancol.org>
1471
1472 * icomplete.el: Remove redundant :group arguments to `defcustom'
1473 throughout.
1474 (icomplete-show-matches-on-no-input): New customizable variable.
1475 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1476 we have something to show.
1477 (icomplete-exhibit): Compute completions even if we have no user input.
1478
1479 2013-12-23 Daniel Colascione <dancol@dancol.org>
1480
1481 * icomplete.el: Move `provide' to end of file.
1482
1483 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1484
1485 * net/gnutls.el (gnutls-verify-error): Add version tag.
1486
1487 2013-12-23 Chong Yidong <cyd@gnu.org>
1488
1489 * subr.el (set-transient-map): Rename from
1490 set-temporary-overlay-map. Doc fix.
1491
1492 * face-remap.el (text-scale-adjust):
1493 * indent.el (indent-rigidly):
1494 * kmacro.el (kmacro-call-macro):
1495 * minibuffer.el (minibuffer-force-complete):
1496 * repeat.el (repeat):
1497 * simple.el (universal-argument--mode):
1498 * calendar/todo-mode.el (todo-insert-item--next-param):
1499 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1500
1501 * indent.el (indent-rigidly): Use substitute-command-keys.
1502
1503 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1504
1505 * net/eww.el (eww-tag-select): Add text-property to jump to next
1506 select field.
1507 (eww): Add non-supported ftp error.
1508
1509 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1510
1511 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1512 comments. Handle electric indent after typing `?' and `!'.
1513
1514 2013-12-22 Chong Yidong <cyd@gnu.org>
1515
1516 * faces.el (face-spec-recalc): If the theme specs are not
1517 applicable to a frame, fall back on the defface spec.
1518 This prevents themes from obliterating faces on low-color terminals.
1519
1520 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1523 after `{'. We need it after block openers, and it doesn't seem
1524 to hurt after hash openers.
1525
1526 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1527
1528 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1529 extracted from `ruby-smie-rules'.
1530 (ruby--electric-indent-chars): New variable.
1531 (ruby--electric-indent-p): New function.
1532 (ruby-mode): Use `electric-indent-functions' instead of
1533 `electric-indent-chars'.
1534
1535 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1536
1537 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1538 docstring.
1539 (ruby-smie-rules): Indent plus one level after `=>'.
1540
1541 2013-12-21 Richard Stallman <rms@gnu.org>
1542
1543 * simple.el (newline): Doc fix.
1544
1545 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1546
1547 * net/eww.el (eww-list-histories, eww-list-histories)
1548 (eww-history-browse, eww-history-quit, eww-history-kill)
1549 (eww-history-mode-map, eww-history-mode): New command and
1550 functions to list browser histories.
1551 (eww-form-text): Support text form with disabled
1552 and readonly attributes.
1553 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1554
1555 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1556
1557 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1558 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1559 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1560 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1561 Use `user-error'.
1562 (eww-bookmark-mode-map): Add menu.
1563 (eww-render, eww-mode): Use `setq-local'.
1564 (eww-tool-bar-map): New variable.
1565 (eww-mode): Set `tool-bar-map'.
1566 (eww-view-source): Check for `html-mode' with `fboundp'.
1567
1568 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1569
1570 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1571 elements with text inside. Also remove debugging.
1572
1573 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1574
1575 * cus-start.el (all): Add ns-use-srgb-colorspace.
1576
1577 2013-12-21 Chong Yidong <cyd@gnu.org>
1578
1579 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1580 undefined. Thus, theme settings for undefined faces do not take
1581 effect until the faces are defined with defface, the same as with
1582 theme variables.
1583
1584 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1585 (face-spec-reset-face): Don't assign extra properties in temacs.
1586 (face-spec-recalc): Apply X resources too.
1587
1588 2013-12-21 Chong Yidong <cyd@gnu.org>
1589
1590 * faces.el (face-spec-set):
1591 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1592 * custom.el (defface): Doc fixes (Bug#16203).
1593
1594 * indent.el (indent-rigidly-map): Add docstring, and move commands
1595 into named functions.
1596 (indent-rigidly-left, indent-rigidly-right)
1597 (indent-rigidly-left-to-tab-stop)
1598 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1599 indentation direction based on bidi direction, and accumulate
1600 sequential commands in a single undo boundary.
1601 (indent-rigidly--pop-undo): New utility function.
1602
1603 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1604
1605 * faces.el (read-face-name): Require crm.el when using crm-separator.
1606
1607 2013-12-20 Daniel Colascione <dancol@dancol.org>
1608
1609 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1610 so that we don't reflow comments into the shebang line.
1611
1612 2013-12-20 Juri Linkov <juri@jurta.org>
1613
1614 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1615 a position when `dired-directory' is non-nil. Check integer
1616 positions with `integerp'.
1617 (toggle-save-place, save-places-to-alist): Add check for
1618 `dired-directory'.
1619 (save-place-find-file-hook): Check integer positions with
1620 `integerp'.
1621 (save-place-dired-hook): Use `dired-goto-file' when
1622 `dired-filename' is found in the assoc list. Check integer
1623 positions with `integerp'.
1624 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1625
1626 * dired.el (dired-initial-position-hook): Rename back from
1627 `dired-initial-point-hook'.
1628 (dired-initial-position): Rename `dired-initial-point-hook' to
1629 `dired-initial-position-hook'.
1630 (dired-file-name-at-point): Doc fix. (Bug#15329)
1631
1632 2013-12-20 Juri Linkov <juri@jurta.org>
1633
1634 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1635 (read-regexp-suggestions): New function.
1636 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1637 Use `read-regexp-suggestions'. Add non-empty default to history
1638 for empty input.
1639 (occur-read-regexp-defaults-function): Remove function.
1640 (occur-read-primary-args): Use `regexp-history-last' instead of
1641 `occur-read-regexp-defaults-function'.
1642
1643 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1644 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1645 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1646 `hi-lock-read-regexp-defaults-function'. Doc fix.
1647 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1648 with `find-tag-default-as-symbol-regexp'. Doc fix.
1649 (hi-lock-read-regexp-defaults): Remove function.
1650 (hi-lock-regexp-okay): Add check for null.
1651
1652 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1653 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1654
1655 * subr.el (find-tag-default-as-symbol-regexp): New function.
1656 (find-tag-default-as-regexp): Move symbol regexp formatting to
1657 `find-tag-default-as-symbol-regexp'.
1658
1659 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1660
1661 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1662 (Bug#14179)
1663
1664 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1665
1666 * calendar/todo-mode.el: New implementation of item insertion
1667 commands and key bindings.
1668 (todo-key-prompt): New face.
1669 (todo-insert-item): New command.
1670 (todo-insert-item--parameters): New defconst, replacing defvar
1671 todo-insertion-commands-args-genlist.
1672 (todo-insert-item--param-key-alist): New defconst, replacing
1673 defvar todo-insertion-commands-arg-key-list.
1674 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1675 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1676 (todo-insert-item--next-param): New functions.
1677 (todo-insert-item--args, todo-insert-item--argleft)
1678 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1679 New variables.
1680 (todo-key-bindings-t): Change binding of "i" from
1681 todo-insertion-map to todo-insert-item.
1682 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1683 (todo-insertion-command-name, todo-insertion-commands-names)
1684 (todo-define-insertion-command, todo-insertion-commands)
1685 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1686
1687 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1688
1689 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1690 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1691 eval-when-compile.
1692 (todo-move-category): Allow choosing a non-existing todo file to
1693 move the category to, and create that file.
1694 (todo-default-priority): New user option.
1695 (todo-set-item-priority): Use it.
1696 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1697 (desktop-restore-file-buffer): Declare.
1698 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1699 (todo-modes-set-2): Locally set desktop-save-buffer to
1700 todo-desktop-save-buffer.
1701 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1702 (auto-mode-alist): Add autoload cookie.
1703
1704 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1705
1706 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1707 helpers.el was a poor choice of name.
1708 (string-remove-prefix): New function.
1709 (string-remove-suffix): New function.
1710
1711 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1712
1713 Fix assignment for new window total sizes.
1714 * window.el (window--pixel-to-size): Remove function.
1715 (window--pixel-to-total-1, window--pixel-to-total):
1716 Fix calculation of new total sizes.
1717
1718 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1719
1720 * comint.el (comint-output-filter): Fix rear-nonsticky property
1721 placement (Bug#16010).
1722
1723 2013-12-20 Chong Yidong <cyd@gnu.org>
1724
1725 * faces.el (read-color): Minor fix for completion function.
1726
1727 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1728
1729 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1730 New option. (Bug#16182)
1731 (ruby-smie--indent-to-stmt-p): Use it.
1732 (ruby-smie-rules): Revert the logic in the handling of `when'.
1733 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1734 (ruby-deep-arglist, ruby-deep-indent-paren)
1735 (ruby-deep-indent-paren-style): Update docstrings to note that the
1736 vars don't have any effect with SMIE.
1737
1738 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1739
1740 * calc/calc.el (calc-enter, calc-pop): Use the variable
1741 `calc-context-sensitive-enter'.
1742
1743 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1744
1745 * net/shr.el (shr-insert): Protect against infloops in degenerate
1746 tables.
1747
1748 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1749
1750 * progmodes/octave.el (octave): Add link to manual and octave
1751 homepage.
1752 (octave-mode-menu): Link to octave-mode manual.
1753
1754 2013-12-20 Leo Liu <sdl.web@gmail.com>
1755
1756 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1757 insertion using skeleton-end-newline. (Bug#16138)
1758
1759 2013-12-20 Juri Linkov <juri@jurta.org>
1760
1761 * replace.el (occur-engine): Use `add-face-text-property'
1762 to add the face property to matches and titles. (Bug#14645)
1763
1764 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1765 the palette of other hi-lock colors.
1766 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1767
1768 2013-12-19 Juri Linkov <juri@jurta.org>
1769
1770 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1771 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1772 (minibuffer-history-symbol): Move variable declaration closer to
1773 its usage.
1774
1775 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1776 (Bug#14785)
1777
1778 2013-12-19 Juri Linkov <juri@jurta.org>
1779
1780 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1781 New function.
1782 (log-edit-hook): Add it to :options. (Bug#16170)
1783
1784 2013-12-19 Juri Linkov <juri@jurta.org>
1785
1786 * simple.el (eval-expression-print-format): Don't check for
1787 command names and the last command. Always display additional
1788 formats of the integer result in the echo area, and insert them
1789 to the current buffer only with a zero prefix arg.
1790 Display character when char-displayable-p is non-nil.
1791 (eval-expression): With a zero prefix arg, set `print-length' and
1792 `print-level' to nil, and insert the integer values from
1793 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1794
1795 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1796 `eval-last-sexp-arg-internal'. Doc fix.
1797 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1798 `eval-last-sexp-print-value'. Doc fix.
1799 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1800 Set `print-length' and `print-level' to nil when arg is zero.
1801 (eval-last-sexp): Doc fix.
1802 (eval-defun-2): Print the integer values from
1803 `eval-expression-print-format' at the end.
1804
1805 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1806 values from `eval-expression-print-format' at the end.
1807
1808 * ielm.el (ielm-eval-input): Print the integer
1809 values from `eval-expression-print-format' at the end.
1810
1811 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1812
1813 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1814 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1815
1816 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1819 (hl-line-highlight, global-hl-line-highlight): Use it.
1820 (hl-line-overlay): Use defvar-local.
1821
1822 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1823
1824 * term/ns-win.el: Require dnd.
1825 (global-map): Remove drag items.
1826 (ns-insert-text, ns-set-foreground-at-mouse)
1827 (ns-set-background-at-mouse):
1828 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1829 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1830 New functions.
1831
1832 2013-12-19 Glenn Morris <rgm@gnu.org>
1833
1834 * emacs-lisp/ert.el (ert-select-tests):
1835 Fix string/symbol mixup. (Bug#16121)
1836
1837 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1838
1839 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1840 keywords to their parent.
1841
1842 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1843
1844 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1845 first arg to be a string (fixed dead code), or an operator symbol.
1846 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1847 operator symbols.
1848 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1849 did nothing. Don't respond to `(:after ".")', it will be called
1850 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1851 change anything. Only return indentation for binary operators
1852 when they are hanging. De-dent opening paren when its parent is
1853 `.', otherwise it looks bad when the dot is not at bol or eol
1854 (bug#16182).
1855
1856 2013-12-19 Juri Linkov <juri@jurta.org>
1857
1858 * replace.el (query-replace-read-args): Split a non-negative arg
1859 and a negative arg into separate elements.
1860 (query-replace, query-replace-regexp, replace-string)
1861 (replace-regexp): Add arg `backward'. Doc fix.
1862 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1863 move point to the beginning of the match.
1864 (replace-search, replace-highlight): Use new arg `backward'
1865 to set the value of `isearch-forward'.
1866 (perform-replace): Add arg `backward' and use it to perform
1867 replacement backward. (Bug#14979)
1868
1869 * isearch.el (isearch-query-replace): Use a negative prefix arg
1870 to call `perform-replace' with a non-nil arg `backward'.
1871
1872 2013-12-18 Juri Linkov <juri@jurta.org>
1873
1874 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1875 to the default list. Move `log-edit-show-files' to the end.
1876 Add more available functions to options.
1877 (log-edit): Move default specific settings to
1878 `log-edit-insert-message-template'. Don't move point.
1879 (log-edit-insert-message-template): New function.
1880 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1881 (Bug#16170)
1882
1883 2013-12-18 Juri Linkov <juri@jurta.org>
1884
1885 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1886 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1887
1888 2013-12-18 Leo Liu <sdl.web@gmail.com>
1889
1890 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1891 (Bug#16186)
1892
1893 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1894
1895 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1896 formats for displaying file sizes when the -s switch is given.
1897 Instead, compute a separate format for displaying the size in
1898 blocks, which is displayed in addition to the "regular" size.
1899 When -h is given in addition to -s, produce size in blocks in
1900 human-readable form as well. (Bug#16179)
1901
1902 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1903
1904 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1905 Reference tables with ~\ref{...} instead of only \ref{...}.
1906
1907 2013-12-18 Chong Yidong <cyd@gnu.org>
1908
1909 * cus-edit.el (custom-magic-alist): Fix "themed" description
1910 (Bug#14348).
1911
1912 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1913 is non-nil, do not create a new entry in the symbol's theme-value
1914 or theme-face property; update theme-settings only (Bug#14664).
1915 (custom-available-themes): Doc fix.
1916
1917 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1918 (Bug#15674).
1919
1920 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1921
1922 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1923
1924 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1925 (Bug#13914).
1926
1927 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1928
1929 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1930
1931 2013-12-18 Glenn Morris <rgm@gnu.org>
1932
1933 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1934 * cus-start.el (load-prefer-newer): New option.
1935
1936 2013-12-18 Le Wang <l26wang@gmail.com>
1937
1938 * comint.el (comint-previous-matching-input-from-input):
1939 Retain point (Bug#13404).
1940
1941 2013-12-18 Chong Yidong <cyd@gnu.org>
1942
1943 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1944
1945 2013-12-18 Glenn Morris <rgm@gnu.org>
1946
1947 * mail/emacsbug.el (report-emacs-bug):
1948 Only mention enable-multibyte-characters if non-standard.
1949
1950 2013-12-17 Juri Linkov <juri@jurta.org>
1951
1952 * arc-mode.el (archive-extract-by-file): Check if directory exists
1953 before deletion to not show irrelevant errors if it doesn't exist.
1954
1955 2013-12-17 Juri Linkov <juri@jurta.org>
1956
1957 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1958 (Bug#14751)
1959
1960 * net/eww.el (browse-web): Add alias to `eww'.
1961 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1962 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1963
1964 * net/browse-url.el (browse-url-browser-function): Move `eww'
1965 closer to similar functions.
1966
1967 * startup.el (fancy-startup-screen, fancy-about-screen):
1968 Set browse-url-browser-function to eww-browse-url locally.
1969 (Bug#14751)
1970
1971 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * window.el (window--pixel-to-total): Remove unused `mini' var.
1974 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1975 (split-window): Remove unused `new' var.
1976 (window--display-buffer): Remove unused `frame' and `delta' vars.
1977 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1978 and display-width'.
1979
1980 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1981
1982 * dired.el (dired-mark-pop-up):
1983 * register.el (register-preview): Don't bind
1984 split-height-threshold here since it's now done in
1985 display-buffer-below-selected.
1986
1987 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1988
1989 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1990 xterm-rgb-convert-to-16bit.
1991 (rxvt-register-default-colors): Standardize with
1992 xterm-register-default-colors (Bug#14078).
1993
1994 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1995
1996 * simple.el (kill-region): Pass mark first, then point, so that
1997 kill-append works right (Bug#12819).
1998 (copy-region-as-kill, kill-ring-save): Likewise.
1999
2000 2013-12-17 Leo Liu <sdl.web@gmail.com>
2001
2002 * net/rcirc.el (rcirc-add-face):
2003 * eshell/em-prompt.el (eshell-emit-prompt):
2004 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2005 (Bug#16167)
2006
2007 2013-12-17 Chong Yidong <cyd@gnu.org>
2008
2009 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2010 Suggested by Xue Fuqiao.
2011
2012 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2013
2014 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2015
2016 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * net/shr.el (shr-insert-document): Remove unused var
2019 `shr-preliminary-table-render'.
2020 (shr-rescale-image): Remove unused arg `force'.
2021 (shr-put-image): Update calls accordingly.
2022 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2023
2024 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2025
2026 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2027 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2028 :close-all, to see which indentation method to use (Bug#16116).
2029 (smie-rules-function): Document the method :close-all.
2030
2031 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2032
2033 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2034
2035 * net/eww.el (eww-display-html): If we can't find the anchor we're
2036 looking for, then go to point-min.
2037
2038 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2039
2040 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2041 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2042 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2043 Expand dir too, in case it's relative.
2044
2045 2013-12-16 Juri Linkov <juri@jurta.org>
2046
2047 * desktop.el (desktop-auto-save-timeout): Change default to
2048 `auto-save-timeout'. Doc fix.
2049 (desktop-save): Skip the timestamp in desktop-saved-frameset
2050 when checking for auto-save changes.
2051 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2052 `desktop-auto-save' is called repeatedly by the idle timer.
2053 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2054 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2055 (Bug#15331)
2056
2057 2013-12-16 Juri Linkov <juri@jurta.org>
2058
2059 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2060 (Bug#16035)
2061 (isearch-pre-command-hook): Check `this-command' for symbolp.
2062
2063 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2066
2067 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2068
2069 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2070 (cfengine3--current-function): Bring in the current-function
2071 functionality from `cfengine3--current-word'.
2072 (cfengine3-completion-function): Bring in the
2073 bounds-of-current-word functionality from
2074 `cfengine3--current-word'.
2075
2076 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2077
2078 * window.el (display-buffer-below-selected):
2079 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2080
2081 2013-12-16 Leo Liu <sdl.web@gmail.com>
2082
2083 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2084 Remove NOMSG arg and all uses changed.
2085
2086 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2089 (cua--deactivate-rectangle): Don't deactivate the mark.
2090 (cua-set-rectangle-mark): Don't set mark-active since
2091 cua--activate-rectangle already does it for us.
2092 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2093 non-rectangular region.
2094
2095 * emulation/cua-base.el (cua-repeat-replace-region):
2096 Use with-current-buffer.
2097
2098 * net/gnutls.el: Use cl-lib.
2099 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2100
2101 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2102
2103 * emacs-lisp/package.el (package-built-in-p): Support both
2104 built-in and the package.el converted package descriptions.
2105 (package-show-package-list): Allow keywords.
2106 (package-keyword-button-action): Use it instead of
2107 `finder-list-matches'.
2108 (package-menu-filter-interactive): Interactive filtering (by
2109 keyword) function.
2110 (package-menu--generate): Support keywords and change keymappings
2111 and headers when they are given.
2112 (package--has-keyword-p): Helper function.
2113 (package-menu--refresh): Use it.
2114 (package--mapc): Helper function.
2115 (package-all-keywords): Use it.
2116 (package-menu-mode-map): Set up menu items and keybindings to
2117 provide a filtering UI.
2118
2119 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2120
2121 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2122 the behavior when a certificate fails validation. Defaults to
2123 old behavior: never abort, just warn.
2124 (gnutls-negotiate): Use it.
2125
2126 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2127
2128 * window.el (display-buffer-below-selected): Never split window
2129 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2130
2131 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2132
2133 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2134 (package-buffer-info): Use it (bug#15108).
2135
2136 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * icomplete.el (icomplete-completions): Make sure the prefix is already
2139 displayed elsewhere before hiding it (bug#16219).
2140
2141 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2142
2143 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2144 open-paren tokens when preceded by a open-paren, too.
2145 (ruby-smie-rules): Handle virtual indentation after open-paren
2146 tokens specially. If there is code between it and eol, return the
2147 column where is starts (Bug#16118).
2148
2149 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2150
2151 * progmodes/cfengine.el: Fix `add-hook' doc.
2152 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2153 (cfengine3--current-word): Fix parameters.
2154 (cfengine3-make-syntax-cache): Simplify further.
2155 (cfengine3-completion-function, cfengine3--current-function):
2156 Use `assq' for symbols.
2157 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2158
2159 2013-12-13 Glenn Morris <rgm@gnu.org>
2160
2161 * loadup.el (load-path): Warn if site-load or site-init changes it.
2162 No more need to reset it when bootstrapping.
2163
2164 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2165
2166 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2167 locations for cf-promises.
2168 (cfengine-mode-syntax-functions-regex): New caching variable.
2169 (cfengine3-fallback-syntax): Fallback syntax for cases where
2170 cf-promises doesn't run.
2171 (cfengine3--current-word): Reimplement using
2172 `cfengine-mode-syntax-functions-regex'.
2173 (cfengine3-completion-function, cfengine3--current-function):
2174 Use `cfengine3-make-syntax-cache' directly.
2175 (cfengine3-clear-syntax-cache): New function.
2176 (cfengine3-make-syntax-cache): Simplify and create
2177 `cfengine-mode-syntax-functions-regex' on demand.
2178 (cfengine3-format-function-docstring): Don't call
2179 `cfengine3-make-syntax-cache' explicitly.
2180
2181 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2182
2183 Fix windmove-find-other-window broken after pixelwise resizing
2184 (Bug#16017).
2185 * windmove.el (windmove-other-window-loc): Revert change from
2186 2013-12-04.
2187 (windmove-find-other-window): Call window-in-direction.
2188 * window.el (window-in-direction): New arguments SIGN, WRAP and
2189 MINI to emulate original windmove-find-other-window behavior.
2190
2191 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2192
2193 * simple.el (blink-matching--overlay): New variable.
2194 (blink-matching-open): Instead of moving point, highlight the
2195 matching paren with an overlay
2196 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2197
2198 * faces.el (paren-showing-faces, show-paren-match)
2199 (show-paren-mismatch): Move from paren.el.
2200
2201 2013-12-13 Leo Liu <sdl.web@gmail.com>
2202
2203 * indent.el (indent-region): Disable progress reporter in
2204 minibuffer. (Bug#16108)
2205
2206 * bindings.el (visual-order-cursor-movement): Fix version.
2207
2208 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2209
2210 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2211 Also match after beginning of line.
2212 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2213 files. Thanks to Russell Sim. (Bug#15378)
2214
2215 2013-12-13 Juri Linkov <juri@jurta.org>
2216
2217 * simple.el <Keypad support>: Remove key bindings duplicated
2218 with bindings.el. (Bug#14397)
2219
2220 2013-12-13 Juri Linkov <juri@jurta.org>
2221
2222 * comint.el (comint-mode-map): Replace `delete-char' with
2223 `delete-forward-char'. (Bug#16109)
2224
2225 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2226
2227 * progmodes/python.el (python-indent-calculate-indentation):
2228 Fix de-denters cornercase. (Bug#15731)
2229
2230 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2233 (advice--make): Pay attention to `depth'.
2234 (advice--make-1): Don't autoload commands eagerly.
2235 * emacs-lisp/elp.el (elp-instrument-function):
2236 * emacs-lisp/trace.el (trace-function-internal):
2237 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2238
2239 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2240
2241 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2242
2243 * term/w32-win.el (w32-handle-dropped-file):
2244 * startup.el (normal-top-level):
2245 * net/browse-url.el (browse-url-file-url):
2246 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2247 decode file names using 'utf-8' rather than
2248 file-name-coding-system.
2249
2250 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2251
2252 * progmodes/python.el (python-indent-context)
2253 (python-indent-calculate-indentation): Fix auto-identation
2254 behavior for comment blocks. (Bug#15916)
2255
2256 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2257
2258 * progmodes/python.el (python-indent-calculate-indentation):
2259 When determining indentation, don't treat "return", "pass", etc., as
2260 operators when they are just string constituents. (Bug#15812)
2261
2262 2013-12-12 Juri Linkov <juri@jurta.org>
2263
2264 * uniquify.el (uniquify-buffer-name-style): Change default to
2265 `post-forward-angle-brackets'.
2266
2267 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2268 `uniquify'. Change default to `post-forward-angle-brackets'.
2269
2270 2013-12-11 Glenn Morris <rgm@gnu.org>
2271
2272 * emacs-lisp/package.el (finder-list-matches):
2273 Autoload rather than falsely declaring.
2274
2275 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2276
2277 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2278 (eww-mode-map): Use them.
2279
2280 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2281
2282 * window.el (display-buffer-in-side-window): Fix doc-string
2283 (Bug#16115).
2284
2285 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * vc/vc-git.el: Silence byte-compiler warnings.
2288 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2289 (log-edit-set-header): Declare.
2290
2291 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2292
2293 * Makefile.in (custom-deps, finder-data): Run output file names
2294 through unmsys--file-name. (Bug#16099)
2295
2296 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2297
2298 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2299 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2300
2301 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2302 instead of deleting the selection "by hand" (bug#16098).
2303 Rely on insert-for-yank to yank rectangles.
2304 (cua-highlight-region-shift-only): Mark obsolete.
2305 (cua-mode): Don't enable/disable transient-mark-mode,
2306 shift-select-mode (cua-mode works both with and without them), and
2307 pc-selection-mode (obsolete).
2308 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2309 (cua--deactivate-rectangle): Deactivate it.
2310
2311 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2312 (delete-selection-helper): Make sure yank starts at the top of the
2313 deleted region.
2314 (minibuffer-keyboard-quit): Use region-active-p.
2315
2316 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2317
2318 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2319 to `delete' (bug#16109).
2320
2321 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2322
2323 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2324 info manual and show keybindings and set `:group' keyword.
2325
2326 2013-12-11 Juri Linkov <juri@jurta.org>
2327
2328 * delsel.el (delete-active-region): Let-bind `this-command'
2329 to prevent `kill-region' from changing its original value.
2330 (delete-selection-helper): Handle `overwrite-mode' for the type
2331 `kill' exactly the same way as for the type `t'.
2332 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2333 Support more commands. (Bug#13312)
2334
2335 2013-12-11 Juri Linkov <juri@jurta.org>
2336
2337 * bindings.el: Map kp keys to non-kp keys systematically
2338 with basic modifiers control, meta and shift. (Bug#14397)
2339
2340 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2341
2342 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2343 "Close browser" menu items. Fix wrong function of "List
2344 bookmarks".
2345
2346 2013-12-11 Juri Linkov <juri@jurta.org>
2347
2348 * misearch.el (multi-isearch-buffers): Set the value of
2349 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2350 arg of isearch-forward to t.
2351 (multi-isearch-buffers-regexp): Set the value of
2352 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2353 arg of isearch-forward-regexp to t.
2354 (multi-isearch-files): Set the value of
2355 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2356 arg of isearch-forward to t.
2357 (multi-isearch-files-regexp): Set the value of
2358 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2359 arg of isearch-forward-regexp to t. (Bug#16035)
2360
2361 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2362 arg of isearch-forward to t.
2363 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2364 arg of isearch-forward-regexp to t.
2365 (dired-isearch-filter-filenames): Remove unnecessary check for
2366 `dired-isearch-filenames'.
2367
2368 * comint.el (comint-history-isearch-backward):
2369 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2370 (comint-history-isearch-backward-regexp):
2371 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2372
2373 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2374
2375 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2376 unmsys--file-name. (Bug#16099)
2377
2378 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2379
2380 * emacs-lisp/package.el (package-keyword-button-action):
2381 Remove finder.el require dependency.
2382
2383 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2384
2385 * emacs-lisp/package.el: Require finder.el.
2386 (describe-package-1): Add keyword buttons.
2387 (package-make-button): New convenience function.
2388 (package-keyword-button-action): Keyword button action using
2389 `finder-list-matches'.
2390
2391 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2392
2393 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2394 last commit.
2395
2396 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2397
2398 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2399 symlinked files.
2400
2401 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2402
2403 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2404 after the end of a percent literal.
2405
2406 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2407
2408 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2409 Handle caret-delimited strings (Bug#16079).
2410
2411 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2412
2413 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2414 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2415 `ruby-parse-partial' (Bug#16078).
2416
2417 2013-12-09 Leo Liu <sdl.web@gmail.com>
2418
2419 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2420
2421 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2422
2423 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2424 (js-switch-indent-offset): New option.
2425 (js--proper-indentation): Use it. And handle the case when
2426 "default" is actually a key in an object literal.
2427 (js--same-line): New function.
2428 (js--multi-line-declaration-indentation): Use it.
2429 (js--indent-in-array-comp, js--array-comp-indentation):
2430 New functions.
2431 (js--proper-indentation): Use them, to handle array comprehension
2432 continuations.
2433
2434 2013-12-08 Leo Liu <sdl.web@gmail.com>
2435
2436 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2437 (flymake-make-overlay): Remove arg MOUSE-FACE.
2438 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2439
2440 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2441
2442 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2443 New function.
2444 (redisplay-highlight-region-function): Use it.
2445
2446 * emulation/cua-base.el (cua--explicit-region-start)
2447 (cua--last-region-shifted): Remove.
2448 (cua--deactivate): Use deactivate-mark.
2449 (cua--pre-command-handler-1): Don't handle shift-selection.
2450 (cua--post-command-handler-1): Don't change transient-mark-mode.
2451 (cua--select-keymaps): Use region-active-p rather than
2452 cua--explicit-region-start or cua--last-region-shifted.
2453 (cua-mode): Enable shift-select-mode.
2454
2455 2013-12-08 Leo Liu <sdl.web@gmail.com>
2456
2457 * progmodes/flymake.el (flymake-popup-current-error-menu):
2458 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2459 (flymake-posn-at-point-as-event, flymake-popup-menu)
2460 (flymake-make-emacs-menu): Remove. (Bug#16077)
2461
2462 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * rect.el (rectangle-mark-mode): Activate mark even if
2465 transient-mark-mode is off (bug#16066).
2466 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2467 is > mark and at bolp.
2468
2469 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2470 (region-extract-function): Use it.
2471 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2472 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2473 Delete functions.
2474 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2475 kill-ring-save, kill-region, delete-char, delete-forward-char.
2476 Ignore self-insert-iso.
2477
2478 * emulation/cua-gmrk.el (cua--init-global-mark):
2479 Ignore `self-insert-iso'.
2480
2481 * emulation/cua-base.el (cua--prefix-copy-handler)
2482 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2483 checking cua--rectangle.
2484 (cua-delete-region): Use region-extract-function.
2485 (cua-replace-region): Delete function.
2486 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2487 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2488 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2489 (cua--init-keymaps): Don't remap delete-selection commands.
2490 (cua-mode): Use delete-selection-mode instead of rolling our own
2491 (bug#16085).
2492
2493 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2494 Obey region-extract-function.
2495
2496 Make registers and delete-selection-mode work on rectangles.
2497 * register.el (describe-register-1): Don't modify the register's value.
2498 (copy-to-register): Obey region-extract-function.
2499 * delsel.el (delete-active-region): Obey region-extract-function.
2500
2501 2013-12-08 Leo Liu <sdl.web@gmail.com>
2502
2503 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2504 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2505 (flymake-compilation-prevents-syntax-check)
2506 (flymake-start-syntax-check-on-newline)
2507 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2508 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2509 (flymake-xml-program, flymake-master-file-dirs)
2510 (flymake-master-file-count-limit)
2511 (flymake-allowed-file-name-masks): Relocate.
2512 (flymake-makehash, flymake-float-time)
2513 (flymake-replace-regexp-in-string, flymake-split-string)
2514 (flymake-get-temp-dir): Remove.
2515 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2516 (flymake-current-row, flymake-selected-frame)
2517 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2518 related functions. (Bug#16077)
2519
2520 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2521
2522 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2523
2524 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2525
2526 * help-fns.el (describe-function-1): Use new advice-* functions
2527 rather than old ad-* functions. Fix function type description and
2528 source links for advised functions and subrs.
2529
2530 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2531
2532 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2533
2534 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2535
2536 * progmodes/compile.el (compilation-start):
2537 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2538
2539 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2540 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2541
2542 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2543
2544 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2545 Touch up the last change.
2546
2547 2013-12-06 Leo Liu <sdl.web@gmail.com>
2548
2549 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2550 (inferior-octave-startup): Always use "octave> " for prompt.
2551 (octave-goto-function-definition)
2552 (octave-sync-function-file-names)
2553 (octave-find-definition-default-filename): Remove redundant backquotes.
2554
2555 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2556
2557 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2558 syntax for `?'.
2559 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2560 where appropriate already.
2561 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2562 end of method names (Bug#15874).
2563
2564 2013-12-06 Juri Linkov <juri@jurta.org>
2565
2566 * isearch.el (isearch--saved-overriding-local-map):
2567 New internal variable.
2568 (isearch-mode): Set it to the initial value of
2569 `overriding-terminal-local-map'.
2570 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2571 with `isearch--saved-overriding-local-map'. (Bug#16035)
2572
2573 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2574
2575 * progmodes/octave.el (inferior-octave-completion-table):
2576 Turn back into function, use `completion-table-with-cache'
2577 (Bug#11906). Update all references.
2578
2579 * minibuffer.el (completion-table-with-cache): New function.
2580
2581 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2582
2583 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2584
2585 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2586
2587 * net/eww.el (eww-current-source): New variable to store page
2588 source.
2589 (eww-display-html, eww-mode, eww-save-history)
2590 (eww-restore-history): Use it.
2591 (eww-view-source): New command to view page source.
2592 Opportunistically uses `html-mode' to highlight the buffer.
2593 (eww-mode-map): Install it.
2594
2595 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2596
2597 * net/dbus.el (dbus-unregister-service)
2598 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2599 Fix docstring.
2600 (dbus-unregister-service): Skip :serial entries in
2601 `dbus-registered-objects-table'.
2602 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2603
2604 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2605
2606 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2607 around keywords with extra `split-string' argument.
2608
2609 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2610
2611 * windmove.el (windmove-other-window-loc): Handle navigation
2612 between windows (excluding the minibuffer window - Bug#16017).
2613
2614 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2617 in D-Bus type syntax.
2618 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2619 preserve unibyte strings. (Bug#16048)
2620
2621 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2624 Call force-mode-line-update is the proper buffer (bug#16042).
2625
2626 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2627
2628 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2629 `log-edit-remember-comment', make argument optional. Adjust all
2630 callers.
2631 (log-edit-mode): Add `log-edit-remember-comment' to
2632 `kill-buffer-hook' locally.
2633 (log-edit-kill-buffer): Don't remember comment explicitly since
2634 the buffer is killed anyway.
2635
2636 2013-12-04 Juri Linkov <juri@jurta.org>
2637
2638 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2639 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2640
2641 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2642
2643 * notifications.el (notifications-close-notification): Call the
2644 D-Bus method with ID being a `:uint32'. (Bug#16030)
2645
2646 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2647
2648 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2649
2650 2013-12-03 Juri Linkov <juri@jurta.org>
2651
2652 * progmodes/compile.el (compilation-start): Rename window alist
2653 entry `no-display-ok' to `allow-no-window'.
2654
2655 * simple.el (shell-command): Add window alist entry
2656 `allow-no-window' to `display-buffer'.
2657 (async-shell-command): Doc fix.
2658
2659 * window.el (display-buffer-no-window): New action function.
2660 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2661
2662 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2663
2664 * vc/log-edit.el (log-edit-set-header): Extract from
2665 `log-edit-toggle-header'.
2666 (log-edit-extract-headers): Separate the summary, when extracted
2667 from header, from the rest of the message with an empty line.
2668
2669 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2670 line, if present, to the Summary header.
2671
2672 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2675 in current-buffer (bug#16029).
2676
2677 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2678
2679 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2680 (debugger-mode-map): Bind it.
2681 (debugger--backtrace-base): New function.
2682 (debugger-eval-expression): Use it.
2683 (debugger-frame-number): Skip local vars when present.
2684 (debugger--locals-visible-p, debugger--insert-locals)
2685 (debugger--show-locals, debugger--hide-locals): New functions.
2686
2687 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2690 "LC_ALL".
2691 (tramp-get-remote-locale): New defun.
2692 (tramp-open-connection-setup-interactive-shell): Use it.
2693
2694 2013-12-02 Leo Liu <sdl.web@gmail.com>
2695
2696 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2697
2698 * progmodes/sh-script.el (sh-shell-process):
2699 * progmodes/octave.el (inferior-octave-process-live-p):
2700 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2701 (gdb-inferior-io-sentinel):
2702 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2703
2704 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2705
2706 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2707 `save-selected-window' to `log-edit-hide-buf'. This makes
2708 `log-edit-show-files' idempotent.
2709 (log-edit-show-files): Mark the new window as dedicated.
2710
2711 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2712
2713 * vc/log-edit.el (log-edit-mode-map): Add binding for
2714 `log-edit-kill-biffer'.
2715 (log-edit-hide-buf): Add a FIXME comment.
2716 (log-edit-add-new-comment): New function, extracted from
2717 `log-edit-done'.
2718 (log-edit-done, log-edit-add-to-changelog): Use it.
2719 (log-edit-kill-buffer): New command.
2720
2721 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2722
2723 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2724 instead of killing the buffer.
2725
2726 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2729
2730 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2731
2732 * net/eww.el (eww-form-checkbox-selected-symbol)
2733 (eww-form-checkbox-symbol): New customizable variable.
2734 (eww-form-checkbox, eww-toggle-checkbox):
2735 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2736
2737 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2738 (shr--get-media-pref, shr--extract-best-source): New function.
2739 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2740 no :src tag was specified.
2741
2742 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2743 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2744 Use \\` to match beginning of string instead of ^.
2745 (eww-browse-with-external-browser): Provide optional URL parameter.
2746 (eww-render): Set `eww-current-title' back to "".
2747
2748 * net/shr.el (shr-tag-video): Display content for video if no
2749 poster is available.
2750 (shr-tag-audio): Add support for <audio> tag.
2751
2752 * net/eww.el (eww-text-input-types): New const.
2753 (eww-process-text-input): Treat input types in
2754 `eww-text-input-types' as text.
2755
2756 * net/shr.el (shr-tag-table): Fix comment typo.
2757
2758 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2759
2760 * net/eww.el (eww-follow-link): New command to avoid reloading
2761 pages when we follow #target links (bug#15243).
2762 (eww-quit): Special mode buffers shouldn't query before exiting.
2763
2764 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2765
2766 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2767 forms.
2768
2769 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2770
2771 * net/eww.el (eww-restore-history): Update the window title after
2772 moving in the history.
2773 (eww-current-dom): New variable used to save the current DOM.
2774
2775 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2776
2777 * vc/log-edit.el (log-edit-mode-map): Add binding for
2778 `log-edit-beginning-of-line'.
2779 (log-edit-setup-add-author): New user option.
2780 (log-edit-beginning-of-line): New command.
2781 (log-edit): Move major mode call above the contents setup so that
2782 the local variable values are already applied.
2783 (log-edit): Only insert "Author: " when
2784 `log-edit-setup-add-author' is non-nil.
2785 (log-edit): When SETUP is non-nil, position point after ": "
2786 instead of point-min.
2787
2788 2013-12-01 Glenn Morris <rgm@gnu.org>
2789
2790 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2791
2792 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2793
2794 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2795 redisplay to make sure the initial frame gets a chance to become
2796 visible. (Bug#16014)
2797
2798 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2799
2800 Support resizing frames and windows pixelwise.
2801 * cus-start.el (frame-resize-pixelwise)
2802 (window-resize-pixelwise): New entries.
2803 * emacs-lisp/debug.el (debug): Use window-total-height instead
2804 of window-total-size.
2805 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2806 * help.el (describe-bindings-internal): Call help-buffer
2807 (temp-buffer-max-width): New option.
2808 (resize-temp-buffer-window, help-window-setup)
2809 (with-help-window): Rewrite.
2810 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2811 dragging dividers.
2812 * window.el (frame-char-size, window-min-pixel-height)
2813 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2814 (window-min-pixel-width, window-safe-min-pixel-size)
2815 (window-combination-p, window-safe-min-size)
2816 (window-resizable-p, window--size-to-pixel)
2817 (window--pixel-to-size, window--resize-apply-p): New functions.
2818 (window-safe-min-height): Fix doc-string.
2819 (window-size, window-min-size, window--min-size-1)
2820 (window-sizable, window-sizable-p, window--min-delta-1)
2821 (window-min-delta, window--max-delta-1, window-max-delta)
2822 (window--resizable, window--resizable-p, window-resizable)
2823 (window-full-height-p, window-full-width-p, window-at-side-p)
2824 (window--in-direction-2, window-in-direction)
2825 (window--resize-reset-1, window--resize-mini-window)
2826 (window-resize, window-resize-no-error)
2827 (window--resize-child-windows-normal)
2828 (window--resize-child-windows, window--resize-siblings)
2829 (window--resize-this-window, window--resize-root-window)
2830 (window--resize-root-window-vertically)
2831 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2832 (maximize-window, minimize-window, delete-window)
2833 (quit-restore-window, window-split-min-size, split-window)
2834 (balance-windows-2, balance-windows)
2835 (balance-windows-area-adjust, balance-windows-area)
2836 (window--state-get-1, window-state-get, window--state-put-1)
2837 (window--state-put-2, window-state-put)
2838 (display-buffer-record-window, window--display-buffer):
2839 Make functions handle pixelwise sizing of windows.
2840 (display-buffer--action-function-custom-type)
2841 (display-buffer-fallback-action):
2842 Add display-buffer-in-previous-window.
2843 (display-buffer-use-some-window): Resize window to height it had
2844 before.
2845 (fit-window-to-buffer-horizontally): New option.
2846 (fit-frame-to-buffer): Describe new values.
2847 (fit-frame-to-buffer-bottom-margin): Replace with
2848 fit-frame-to-buffer-margins.
2849 (window--sanitize-margin): New function.
2850 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2851 using window-text-pixel-size.
2852
2853 2013-11-30 Glenn Morris <rgm@gnu.org>
2854
2855 * emacs-lisp/bytecomp.el (byte-compile-form):
2856 Make the `interactive-only' warning like the `obsolete' one.
2857 * comint.el (comint-run):
2858 * files.el (insert-file-literally, insert-file):
2859 * replace.el (replace-string, replace-regexp):
2860 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2861 (goto-line, insert-buffer, next-line, previous-line):
2862 Tweak `interactive-only' spec.
2863
2864 Stop keeping (most) generated cedet grammar files in the repository.
2865 * Makefile.in (semantic): New.
2866 (compile-main): Depend on semantic.
2867
2868 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2871 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2872
2873 * uniquify.el (uniquify-buffer-name-style): Change default.
2874
2875 * loadup.el: Preload "uniquify".
2876
2877 * time.el (display-time-update): Update all mode lines (bug#15999).
2878
2879 * electric.el (electric-indent-mode): Enable by default.
2880 * loadup.el: Preload "electric".
2881
2882 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2883
2884 * emacs-lisp/helpers.el (string-empty-p): New function.
2885 (string-blank-p): New function.
2886
2887 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2888
2889 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2890 (Bug#14029).
2891
2892 2013-11-29 Andreas Politz <politza@fh-trier.de>
2893 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2894 allow non-lambda lists as functions.
2895 (imenu--in-alist): Don't recurse into non-subalists.
2896 (imenu): Don't pass function itself as an argument (Bug#14029).
2897
2898 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * progmodes/python.el (python-mode-map): Remove binding for ":".
2901 (python-indent-electric-colon): Remove command.
2902 (python-indent-post-self-insert-function): Integrate the previous code
2903 of python-indent-electric-colon. Make it conditional on
2904 electric-indent-mode.
2905 (python-mode): Add ?: to electric-indent-chars.
2906 Move python-indent-post-self-insert-function to the end of
2907 post-self-insert-hook.
2908
2909 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * doc-view.el (doc-view-goto-page): Update mode-line.
2912
2913 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2914
2915 2013-11-27 Glenn Morris <rgm@gnu.org>
2916
2917 * international/charprop.el, international/uni-bidi.el:
2918 * international/uni-category.el, international/uni-combining.el:
2919 * international/uni-comment.el, international/uni-decimal.el:
2920 * international/uni-decomposition.el, international/uni-digit.el:
2921 * international/uni-lowercase.el, international/uni-mirrored.el:
2922 * international/uni-name.el, international/uni-numeric.el:
2923 * international/uni-old-name.el, international/uni-titlecase.el:
2924 * international/uni-uppercase.el:
2925 Remove generated files from VCS repository.
2926
2927 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2928
2929 * filenotify.el (file-notify-add-watch): Don't special-case
2930 w32notify when computing the directory to watch.
2931
2932 2013-11-27 Glenn Morris <rgm@gnu.org>
2933
2934 Make bootstrap without generated uni-*.el files possible again.
2935 * loadup.el: Update command-line-args checking for unidata-gen.
2936 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2937 * composite.el, international/characters.el:
2938 Handle unicode tables being undefined.
2939
2940 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2941 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2942 (compile-main): Depend on leim rule.
2943 (leim): New rule.
2944 * loadup.el: Move leim-list.el to leim/ subdirectory.
2945 * startup.el (normal-top-level): No more leim directory.
2946 * international/ja-dic-cnv.el (skkdic-convert):
2947 Disable version-control and autoloads in output files.
2948 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2949 Disable version-control and autoloads in output files.
2950 * leim/quail: Move here from ../leim.
2951 * leim/quail/hangul.el (hangul-input-method-activate):
2952 Add autoload cookie.
2953 (generated-autoload-load-name): Set file-local value.
2954 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2955 (generated-autoload-load-name): Set file-local value.
2956
2957 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2958
2959 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2960 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2961 (eww-quit): Ask confirmation before quitting eww.
2962
2963 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2964
2965 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2966 reading output from Diff on MS-Windows and MS-DOS.
2967
2968 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2969
2970 * emacs-lisp/helpers.el (string-reverse): New function.
2971
2972 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2973
2974 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2975 names on MS Windows, like "/[::1]:".
2976
2977 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2978 SWITCHES.
2979
2980 2013-11-26 Glenn Morris <rgm@gnu.org>
2981
2982 * progmodes/python.el (python-indent-guess-indent-offset):
2983 Avoid corner-case error. (Bug#15975)
2984
2985 Preload leim-list.el. (Bug#4789)
2986 * loadup.el: Load leim-list.el when found.
2987 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2988
2989 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2990
2991 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2992
2993 * emacs-lisp/helpers.el (string-join): New function.
2994
2995 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2996
2997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2998 Mark as obsolete and replace it with a symbol property.
2999 (byte-compile-form): Use new 'interactive-only property.
3000 * comint.el, files.el, replace.el, simple.el:
3001 Apply new 'interactive-only properly.
3002
3003 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3004
3005 * window.el (display-buffer-at-bottom): Make sure that
3006 split-window-sensibly creates the new window on bottom
3007 (Bug#15961).
3008
3009 2013-11-23 David Kastrup <dak@gnu.org>
3010
3011 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3012 on the conflict markers when available.
3013 (smerge--get-marker): New function.
3014 (smerge-end-re, smerge-base-re): Add subgroup.
3015
3016 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * frame.el (handle-focus-in, handle-focus-out): Add missing
3019 interactive spec.
3020
3021 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3022
3023 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3024 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3025
3026 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3029 (gomoku--last-pos): New var.
3030 (gomoku--intangible-chars): New const.
3031 (gomoku--intangible): New function.
3032 (gomoku-mode): Use it. Derive from special-mode.
3033 (gomoku-move-up): Adjust line count.
3034 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3035 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3036 Simplify accordingly.
3037
3038 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3039 Remove blink-cursor code.
3040 (blink-cursor-timer-function, blink-cursor-suspend):
3041 Don't special-case GUIs.
3042 (blink-cursor-mode): Use focus-in/out-hook.
3043
3044 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3045
3046 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3047 work when annotation is invisible (Bug#13886).
3048
3049 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3050
3051 * json.el (json-alist-p): Only return non-nil if the alist has
3052 simple keys (Bug#13518).
3053
3054 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3055
3056 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3057 when control-statement is the first statement in a buffer (Bug#15956).
3058
3059 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3060
3061 * imenu.el (imenu-generic-skip-comments-and-strings):
3062 New option (Bug#15560).
3063 (imenu--generic-function): Use it.
3064
3065 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3066
3067 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3068 (Bug#13898)
3069
3070 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3071
3072 * emacs-lisp/helpers.el: Add some string helpers.
3073 (string-trim-left): Removes leading whitespace.
3074 (string-trim-right): Removes trailing whitespace.
3075 (string-trim): Removes leading and trailing whitespace.
3076
3077 * subr.el (string-suffix-p): New function.
3078
3079 2013-11-23 Glenn Morris <rgm@gnu.org>
3080
3081 * progmodes/python.el (python-shell-send-file):
3082 Add option to delete file when done. (Bug#15647)
3083 (python-shell-send-string, python-shell-send-region): Use it.
3084
3085 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3086
3087 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3088 to set buffer-read-only to t, never to nil. (Bug#15938)
3089
3090 * textmodes/tex-mode.el (latex-noindent-environments):
3091 Add safe-local-variable property. (Bug#15936)
3092
3093 2013-11-23 Glenn Morris <rgm@gnu.org>
3094
3095 * textmodes/enriched.el (enriched-mode): Doc fix.
3096 * emacs-lisp/authors.el (authors-renamed-files-alist):
3097 Add enriched.doc -> enriched.txt.
3098
3099 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3100
3101 2013-11-22 Leo Liu <sdl.web@gmail.com>
3102
3103 * progmodes/octave.el (inferior-octave-startup): Spit out error
3104 message.
3105
3106 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3107
3108 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3109 Improve docstring.
3110 Add :version.
3111 (ruby-encoding-magic-comment-style): Add :version.
3112
3113 2013-11-22 Leo Liu <sdl.web@gmail.com>
3114
3115 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3116 (Bug#15076)
3117 (octave-help-mode): Adapt to change to help-mode-finish to use
3118 derived-mode-p on 2013-09-17.
3119 (inferior-octave-prompt): Also match octave-gui.
3120 (octave-kill-process): Don't ask twice. (Bug#10564)
3121
3122 2013-11-22 Leo Liu <sdl.web@gmail.com>
3123
3124 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3125 (inferior-octave-startup, inferior-octave-check-process)
3126 (inferior-octave-track-window-width-change)
3127 (octave-completion-at-point, octave-eldoc-function): Use it.
3128 (octave-kill-process): Provide confirmation. (Bug#10564)
3129
3130 2013-11-21 Leo Liu <sdl.web@gmail.com>
3131
3132 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3133 Fix obsolete variable comment-use-global-state.
3134
3135 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3136
3137 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3138 Add `octave-source-file'.
3139 (octave-source-file): New function. (Bug#15935)
3140
3141 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3142
3143 * net/eww.el (eww-local-regex): New variable.
3144 (eww): Use it to detect localhost and similar.
3145
3146 2013-11-21 Leo Liu <sdl.web@gmail.com>
3147
3148 Add completion for command `ag'.
3149 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3150 (pcomplete/ag): New function.
3151 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3152
3153 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3156 (bug#14646).
3157 (make-obsolete): Remove interactive spec.
3158
3159 2013-11-21 Glenn Morris <rgm@gnu.org>
3160
3161 * startup.el (command-line-1): Use path-separator with -L.
3162
3163 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3164
3165 * emacs-lisp/package.el (describe-package-1): Add package archive
3166 to shown fields.
3167
3168 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3169
3170 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3171 Change default to "# encoding: %s" to differentiate it from the
3172 default Ruby encoding comment template.
3173
3174 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3175
3176 * ses.el (ses-mode): Doc fix. (Bug#14748)
3177
3178 2013-11-20 Leo Liu <sdl.web@gmail.com>
3179
3180 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3181
3182 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3183
3184 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3185 when rebase or bisect are in progress.
3186
3187 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3188
3189 * filenotify.el (file-notify-add-watch): Doc fix.
3190
3191 2013-11-19 Leo Liu <sdl.web@gmail.com>
3192
3193 * obsolete/rcompile.el: Mark obsolete.
3194
3195 * progmodes/compile.el (compilation-start)
3196 (compilation-goto-locus, compilation-find-file):
3197 Pass no-display-ok and handle nil value from display-buffer.
3198 (Bug#13594)
3199
3200 * window.el (display-buffer-alist, display-buffer): Document the
3201 new parameter no-display-ok. Return either a window or nil
3202 but never a non-window value.
3203
3204 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * electric.el (electric-indent-mode-map): Remove.
3207 (electric-indent-mode): Change the global-map instead (bug#15915).
3208
3209 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3210 Use add-function.
3211
3212 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/nadvice.el (remove-function): Align with
3215 add-function's behavior.
3216
3217 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3218 (gdb--string-regexp): New constant.
3219 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3220 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3221 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3222 submatch 1.
3223 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3224 Adjust use accordingly.
3225 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3226
3227 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3228
3229 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3230 interpolation curlies (Bug#15914).
3231
3232 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3233
3234 * calc/calc.el (calc-context-sensitive-enter): New variable.
3235 (calc-enter): Use `calc-context-sensitive-enter'.
3236
3237 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3238
3239 * progmodes/cfengine.el: Version bump.
3240 (cfengine-cf-promises): New defcustom to locate cf-promises.
3241 (cfengine3-vartypes): Add new "data" type.
3242 (cfengine3--current-word): New function to get current name-like
3243 word or its bounds.
3244 (cfengine3--current-function): New function to look up a CFEngine
3245 function's definition.
3246 (cfengine3-format-function-docstring): New function.
3247 (cfengine3-make-syntax-cache): New function.
3248 (cfengine3-documentation-function): New function: ElDoc glue.
3249 (cfengine3-completion-function): New function: completion glue.
3250 (cfengine3-mode): Set `compile-command',
3251 `eldoc-documentation-function', and add to
3252 `completion-at-point-functions'.
3253
3254 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3257 `tramp-current-connection'.
3258
3259 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3260
3261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3262 nil/self/true/false with "end of symbol".
3263
3264 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3265
3266 * subr.el (version-regexp-alist): Fix a typo.
3267
3268 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3271 "en_US.utf8" and "LC_CTYPE" to "".
3272 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3273 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3274
3275 2013-11-15 Leo Liu <sdl.web@gmail.com>
3276
3277 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3278
3279 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * progmodes/gud.el (ctl-x-map):
3282 Remove C-x SPC binding. (Bug#12342)
3283 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3284
3285 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3286
3287 * subr.el (version-regexp-alist):
3288 Recognize hg, svn and darcs versions as snapshot versions.
3289
3290 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3291 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3292 (ruby--encoding-comment-required-p): Extract from
3293 `ruby-mode-set-encoding'.
3294 (ruby-mode-set-encoding): Add the ability to always insert an
3295 utf-8 encoding comment. Fix and simplify coding comment update
3296 logic.
3297
3298 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3299
3300 * net/tramp-gvfs.el (top): Run init code only when
3301 `tramp-gvfs-enabled' is not nil.
3302 (tramp-gvfs-enabled): Check also :system bus.
3303
3304 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 Sync with upstream verilog-mode revision 78e66ba.
3307 * progmodes/verilog-mode.el (verilog-end-of-defun)
3308 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3309 (verilog-get-end-of-defun): Remove unused argument.
3310 (verilog-comment-depth): Remove unused local `e'.
3311 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3312 Don't pass arg to verilog-get-end-of-defun.
3313
3314 2013-11-14 Glenn Morris <rgm@gnu.org>
3315
3316 * obsolete/assoc.el (aget): Prefix dynamic variable.
3317
3318 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3319
3320 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * widget.el, hfy-cmap.el: Remove bogus package version number.
3323
3324 2013-11-13 Glenn Morris <rgm@gnu.org>
3325
3326 * replace.el (replace-eval-replacement):
3327 Try to give more helpful error message. (Bug#15836)
3328
3329 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3330 (archive-7z-update): Avoid custom type mismatches.
3331
3332 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3333
3334 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3335
3336 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3337 address can be empty.
3338
3339 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3340 Accept nil SWITCHES.
3341 (tramp-gvfs-handle-write-region): Implement APPEND.
3342
3343 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3344
3345 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3346 binary "|" operator and closing block args delimiter.
3347 Remove FIXME comment referring to Ruby 1.8-only syntax.
3348 (ruby-smie--implicit-semi-p): Not after "|" operator.
3349 (ruby-smie--closing-pipe-p): New function.
3350 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3351 (ruby-smie-rules): Indent after "|".
3352
3353 2013-11-12 Glenn Morris <rgm@gnu.org>
3354
3355 * ps-print.el (ps-face-attribute-list):
3356 Handle anonymous faces. (Bug#15827)
3357
3358 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3359
3360 * window.el (display-buffer-other-frame): Fix doc-string.
3361 (Bug#15868)
3362
3363 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3366
3367 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3370 (tramp-sh-handle-file-local-copy): Don't write a message when
3371 saving temporary files.
3372
3373 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3374 both directories are remote.
3375 (tramp-smb-handle-directory-files): Do not return double entries.
3376 Do not expand full file names.
3377 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3378 (tramp-smb-handle-write-region): Implement APPEND.
3379 (tramp-smb-get-stat-capability): Fix a stupid bug.
3380
3381 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3384
3385 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3386
3387 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3388 throwing error over malformed let/let* (bug#15814).
3389
3390 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * iswitchb.el (iswitchb-mode): Mark obsolete.
3393
3394 2013-11-11 Glenn Morris <rgm@gnu.org>
3395
3396 * international/uni-bidi.el, international/uni-category.el:
3397 * international/uni-name.el, international/uni-numeric.el:
3398 Regenerate for Unicode 6.3.0.
3399
3400 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3401
3402 * net/tramp.el (tramp-methods):
3403 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3404 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3405
3406 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3407
3408 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3409 Force highlighting text after Summary keyword in doc face for rpm.
3410
3411 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3412
3413 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3414 available and the word has no wildcards, append one to the grep pattern.
3415 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3416 (ispell-complete-word): Call `ispell-lookup-words' with the value
3417 independent of `ispell-look-p'.
3418
3419 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3420
3421 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3422 Not after "||".
3423 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3424 their parent.
3425
3426 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3429 (ruby-font-lock-keywords): Use backquote.
3430
3431 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3432
3433 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3434 (ruby-smie--backward-token): Only consider full-string matches.
3435
3436 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3437
3438 * faces.el (describe-face): Add distant-foreground.
3439
3440 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3441
3442 * progmodes/ruby-mode.el: Improve encoding comment handling.
3443 (ruby-encoding-magic-comment-style): New option.
3444 (ruby-custom-encoding-magic-comment-template): New option.
3445 (ruby--insert-coding-comment, ruby--detect-encoding):
3446 New functions extracted from `ruby-mode-set-encoding'.
3447 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3448 to control the style of the auto-inserted encoding comment.
3449
3450 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3451
3452 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3453 Use `smie-backward-sexp' with token argument.
3454
3455 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3456
3457 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3458 Remove instrumentation code.
3459
3460 2013-11-08 Glenn Morris <rgm@gnu.org>
3461
3462 * progmodes/autoconf.el (autoconf-mode):
3463 Tweak comment-start-skip. (Bug#15822)
3464
3465 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3468 at bobp (bug#15826).
3469 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3470
3471 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3472
3473 * man.el (Man-start-calling): New macro, extracted from
3474 Man-getpage-in-background.
3475 (Man-getpage-in-background): Use it.
3476 (Man-update-manpage): New command.
3477 (Man-mode-map): Bind it.
3478
3479 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3480
3481 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3482 of "and", "or", "&&" and "||".
3483 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3484 argument. Prohibit opening curly brace because it could only be a
3485 block opener in that position.
3486 (ruby-smie--forward-token, ruby-smie--backward-token):
3487 Separate "|" from "&" or "*" going after it. That can happen in block
3488 arguments.
3489 (ruby-smie--indent-to-stmt): New function, seeks the end of
3490 previous statement or beginning of buffer.
3491 (ruby-smie-rules): Use it.
3492 (ruby-smie-rules): Check if there's a ":" before a curly block
3493 opener candidate; if there is, it's a hash.
3494
3495 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3498 (cl--block-wrapper): Fix last accidental change.
3499
3500 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3501
3502 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3503 Instrument, in order to hunt failure on hydra.
3504
3505 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3506
3507 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3508 malformed bindings form (bug#15814).
3509
3510 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3511
3512 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3513 "." compared to " @ ". This incidentally fixes some indentation
3514 examples with "do".
3515 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3516 (ruby-smie-grammar): New tokens: "and" and "or".
3517 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3518 Exclude "and" and "or". Remove "do" in order to work around token
3519 priorities.
3520 (ruby-smie-rules): Add all infix tokens. Handle the case of
3521 beginning-of-buffer.
3522
3523 2013-11-06 Glenn Morris <rgm@gnu.org>
3524
3525 * Makefile.in (setwins_almost, setwins_for_subdirs):
3526 Avoid accidental matches.
3527
3528 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * menu-bar.el (popup-menu): Use key-binding.
3531
3532 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3533
3534 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3535 menus, support also the menus produced by minor modes.
3536 (Bug#15817)
3537
3538 2013-11-06 Leo Liu <sdl.web@gmail.com>
3539
3540 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3541 DISTANCE to bound the search. All uses changed. (Bug#15808)
3542
3543 2013-11-06 Glenn Morris <rgm@gnu.org>
3544
3545 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3546 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3547 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3548
3549 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3550
3551 * electric.el (electric-indent-just-newline): New command.
3552 (electric-indent-mode-map): New keymap.
3553 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3554 Re-add :group which weren't redundant.
3555
3556 * electric.el (electric-indent-local-mode): New minor mode.
3557 (electric-indent-functions-without-reindent): New var.
3558 (electric-indent-post-self-insert-function): Use it.
3559 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3560
3561 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3562
3563 * international/quail.el (quail-help): Be more explicit about the
3564 meaning of the labels shown on the keys. (Bug#15800)
3565
3566 * startup.el (normal-top-level): Load the subdirs.el files before
3567 setting the locale environment. (Bug#15805)
3568
3569 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3572 via arguments so as to get the right ones (bug#15418).
3573
3574 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3575
3576 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3577
3578 Fix problems found while writing a test suite.
3579
3580 * net/tramp-compat.el (tramp-compat-load): New defun.
3581 * net/tramp.el (tramp-handle-load): Use it.
3582
3583 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3584 "(numberp ok-if-already-exists)" correctly.
3585
3586 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3587
3588 * international/characters.el (glyphless-char-display-control):
3589 Add usage note.
3590
3591 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3592
3593 * progmodes/python.el (python-mode):
3594 * progmodes/scheme.el (scheme-mode):
3595 * progmodes/prolog.el (prolog-mode):
3596 * progmodes/ruby-mode.el (ruby-mode):
3597 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3598 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3599
3600 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * rect.el (rectangle--highlight-for-redisplay):
3603 * emacs-lisp/smie.el (smie--next-indent-change):
3604 Use buffer-chars-modified-tick.
3605
3606 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3607
3608 * electric.el (electric-indent-post-self-insert-function):
3609 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3610
3611 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3612
3613 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3614
3615 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3616
3617 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3618 (bug#15786).
3619
3620 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3623
3624 * progmodes/python.el: Fix up last change.
3625 (python-shell--save-temp-file): New function.
3626 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3627 `string' comes from the current buffer.
3628 (python-shell-send-string-no-output): Remove `msg' arg.
3629 (python--use-fake-loc): New var.
3630 (python-shell-buffer-substring): Obey it. Try to compensate for the
3631 extra coding line added by python-shell--save-temp-file.
3632 (python-shell-send-region): Use python-shell--save-temp-file and
3633 python-shell-send-file directly. Add `nomain' argument.
3634 (python-shell-send-buffer): Use python-shell-send-region.
3635 (python-electric-pair-string-delimiter): New function.
3636 (python-mode): Use it.
3637
3638 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3639
3640 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3641 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3642 environment and decoding all of the default-directory's to here
3643 from command-line.
3644 (command-line): Decode also argv[0].
3645
3646 * loadup.el: Error out if default-directory is a multibyte string
3647 when we are dumping.
3648
3649 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3650
3651 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3652
3653 * emacs-lisp/package.el (package-menu-mode)
3654 (package-menu--print-info, package-menu--archive-predicate):
3655 Add Archive column to package list.
3656
3657 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3658
3659 Fix problems found while writing a test suite.
3660
3661 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3662 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3663 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3664 to nil when running original file name handler. Otherwise,
3665 there are problems with constructs like "$$FOO".
3666
3667 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3668 for `localname'.
3669
3670 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3671
3672 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3673
3674 * subr.el (version<, version<=, version=):
3675 Update docstrings with information for snapshot versions.
3676
3677 * helpers.el: New library for misc helper functions.
3678 (hash-table-keys): New function returning a list of hash keys.
3679 (hash-table-values): New function returning a list of hash values.
3680
3681 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3682
3683 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3684 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3685
3686 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3687
3688 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3689 checking whether point is after a 1-letter word.
3690
3691 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3692
3693 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3694 Don't infloop when expanding region over `multiline' syntax-type that
3695 begins a line (bug#15778).
3696
3697 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3700 Make it into a proper minor mode.
3701 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3702 (rectangle-mark-mode-map): New keymap.
3703 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3704
3705 2013-11-04 Glenn Morris <rgm@gnu.org>
3706
3707 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3708
3709 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3712 (ruby-smie-rules): Use smie-rule-parent instead.
3713
3714 * emacs-lisp/smie.el (smie-rule-parent): Always call
3715 smie-indent-virtual rather than only for hanging tokens.
3716 (smie--next-indent-change): New helper command.
3717
3718 2013-11-03 Glenn Morris <rgm@gnu.org>
3719
3720 * Makefile.in (abs_srcdir): Remove.
3721 (emacs): Unset EMACSLOADPATH.
3722
3723 2013-11-02 Glenn Morris <rgm@gnu.org>
3724
3725 * Makefile.in (EMACS): Use a relative filename.
3726 (abs_top_builddir): Remove.
3727 (custom-deps, finder-data, autoloads): Use --chdir.
3728
3729 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3730
3731 Use relative filenames in TAGS files.
3732 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3733 (lisptagsfiles4, TAGS): Use relative file names.
3734 (TAGS-LISP): Remove.
3735 (maintainer-clean): No more TAGS-LISP file.
3736
3737 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3738 (lisptagsfiles4): Use absolute filenames again.
3739 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3740 Remove all *loaddefs files, not just the first. Remove esh-groups.
3741 (maintainer-clean): Delete TAGS, TAGS-LISP.
3742
3743 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3744
3745 * emacs-lisp/package.el (package-version-join):
3746 Recognize snapshot versions.
3747
3748 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3749
3750 * subr.el (version-regexp-alist): Add support for snapshot versions.
3751
3752 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3755 New function, replacement for `smie-rule-parent' for when we want to
3756 skip over our direct parent if it's an assignment token..
3757 (ruby-smie-rules): Use it.
3758
3759 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3760
3761 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3762 unconditionally. Remove now unnecessary forward declarations.
3763 Remove XEmacs-specific setup.
3764 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3765 (ruby-font-lock-syntactic-keywords)
3766 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3767 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3768 (ruby-here-doc-end-syntax): Remove.
3769 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3770 defined as function.
3771
3772 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3773
3774 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3775
3776 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3777
3778 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3779 table and abbrev table, `define-derived-mode' does that for us
3780 anyway.
3781
3782 2013-11-01 Glenn Morris <rgm@gnu.org>
3783
3784 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3785 files is atomic for some time, so no parallel compilation issues).
3786
3787 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3788
3789 * faces.el (face-x-resources): Add :distant-foreground.
3790 (region): Use :distant-foreground for gtk and ns.
3791
3792 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3793
3794 Allow multiple bibliographies when BibLaTeX is used rather than
3795 BibTeX.
3796 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3797 (reftex-locate-bibliography-files): Us it.
3798
3799 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3800
3801 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3802 allow comments in pbm files.
3803
3804 * term/w32-win.el (dynamic-library-alist): Support newer versions
3805 of libjpeg starting with v7: look only for the DLL from the
3806 version against which Emacs was built.
3807 Support versions of libpng beyond 1.4.x.
3808 Support libtiff v4.x.
3809
3810 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3811
3812 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3813 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3814 Add property :safe.
3815 (ruby-deep-arglist): Add property :type.
3816
3817 2013-10-31 Glenn Morris <rgm@gnu.org>
3818
3819 * Makefile.in (custom-deps, finder-data): No need to setq the target
3820 variables, we are in the right directory and the defaults work fine.
3821
3822 2013-10-30 Glenn Morris <rgm@gnu.org>
3823
3824 * Makefile.in (autoloads): Do not use abs_lisp.
3825
3826 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3827 `newline' does not respect `standard-output', so use `princ'.
3828
3829 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3830
3831 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3832 * buff-menu.el (Buffer-menu--unmark): New function.
3833 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3834
3835 2013-10-30 Glenn Morris <rgm@gnu.org>
3836
3837 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3838
3839 * emacs-lisp/package.el (lm-homepage): Declare.
3840
3841 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3842 Fix doc typos.
3843
3844 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3845
3846 * Makefile.in (finder-data, autoloads, update-subdirs)
3847 (compile-main, compile-clean, compile-always, bootstrap-clean):
3848 Check return value of cd.
3849 (compile-calc): Remove.
3850
3851 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3854
3855 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3856 (byte-compile-and-folded): New function.
3857 (=, <, >, <=, >=): Use it.
3858
3859 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3860 (path-separator, null-device, buffer-file-coding-system)
3861 (lpr-headers-switches): Check system-type before modifying them.
3862 (find-buffer-file-type-coding-system): Mark obsolete.
3863 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3864 find-file-not-found-set-buffer-file-coding-system.
3865 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3866 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3867 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3868 (w32-direct-print-region-helper, w32-direct-print-region-function)
3869 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3870 * startup.el (normal-top-level-add-subdirs-to-load-path):
3871 * ps-print.el (ps-print-region-function):
3872 * lpr.el (print-region-function): Use new name.
3873
3874 * subr.el (custom-declare-variable-early): Remove function.
3875 (custom-declare-variable-list): Remove var.
3876 (error, user-error): Remove `while' loop.
3877 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3878 (user-emacs-directory-warning, locate-user-emacs-file):
3879 Move to files.el.
3880 * simple.el (read-quoted-char-radix, read-quoted-char):
3881 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3882 Move from subr.el.
3883 * custom.el (custom-declare-variable-list): Don't process
3884 custom-declare-variable-list.
3885
3886 * progmodes/python.el (python-shell-get-buffer): New function.
3887 (python-shell-get-process): Use it.
3888 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3889 Python which encoding was used. Don't split-string since we only care
3890 about the first line. Return the temp-file, if applicable.
3891 (python-shell-send-region): Tell compile.el how to turn locations in
3892 the temp-file into locations in the source buffer.
3893
3894 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3895
3896 * subr.el (undefined): Add missing behavior from the C code for
3897 unbound keys.
3898
3899 * rect.el: Use lexical-binding. Add new rectangular region support.
3900 (rectangle-mark): New command.
3901 (rectangle--region): New var.
3902 (deactivate-mark-hook): Reset rectangle--region.
3903 (rectangle--extract-region, rectangle--insert-for-yank)
3904 (rectangle--highlight-for-redisplay)
3905 (rectangle--unhighlight-for-redisplay): New functions.
3906 (region-extract-function, redisplay-unhighlight-region-function)
3907 (redisplay-highlight-region-function): Use them to handle
3908 rectangular region.
3909 * simple.el (region-extract-function): New var.
3910 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3911 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3912 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3913 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3914 (redisplay-unhighlight-region-function)
3915 (redisplay-highlight-region-function): New vars.
3916 (redisplay--update-region-highlight): New function.
3917 (pre-redisplay-function): Use it.
3918 (exchange-point-and-mark): Don't deactivate the mark before
3919 reactivate-it anyway.
3920 * comint.el (comint-kill-region): Remove yank-handler argument.
3921 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3922 (delete-char): Remove property, since it's now part of their
3923 default behavior.
3924 (self-insert-iso): Remove property since this command doesn't exist.
3925
3926 * emacs-lisp/package.el (package--download-one-archive)
3927 (describe-package-1): Don't query the user about final newline.
3928
3929 2013-10-29 Daniel Colascione <dancol@dancol.org>
3930
3931 * net/tramp.el (tramp-methods): Document new functionality.
3932 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3933 tramp-hostname-checker if method provides one instead of scanning
3934 argument list for "%h" to decide hostname acceptability.
3935
3936 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3937
3938 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3939 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3940 Handle COPY-CONTENTS. (Bug#15737)
3941
3942 2013-10-28 Daiki Ueno <ueno@gnu.org>
3943
3944 * epa-file.el
3945 (epa-file-cache-passphrase-for-symmetric-encryption):
3946 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3947
3948 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3949
3950 * image.el (defimage):
3951 (image-load-path): Doc fixes.
3952
3953 2013-10-27 Alan Mackenzie <acm@muc.de>
3954
3955 Indent statements in macros following "##" correctly.
3956 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3957 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3958
3959 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3960
3961 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3962
3963 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3966 after `=' is probably a new expression.
3967
3968 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3969
3970 * man.el (man-imenu-title): New option.
3971 (Man-mode-map): Add menu. (Bug#15722)
3972 (Man-mode): Add imenu to menu.
3973
3974 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3975
3976 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3977 specific in what the first arg can be: a non-keyword word,
3978 string/regexp/percent literal opener, opening paren, or unary
3979 operator followed directly by word.
3980
3981 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3982
3983 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3984 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3985 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3986 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3987 Remove vars, they do not apply any more.
3988 (prolog-mode-abbrev-table): Remove redundant declaration.
3989 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3990 (prolog-use-smie): Remove.
3991 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3992 supported by prolog-electric-if-then-else-flag.
3993 (prolog-mode-variables, prolog-menu): Use setq-local.
3994 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3995 Remove binding to `Backspace' since this key doesn't exist anyway.
3996 Remove bindings for electric self-inserting keys.
3997 (prog-mode): Assume it's defined.
3998 (prolog-post-self-insert): New function.
3999 (prolog-mode): Use it.
4000 (prolog-indent-line, prolog-indent-level)
4001 (prolog-find-indent-of-matching-paren)
4002 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4003 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4004 (prolog-goto-next-paren, prolog-in-string-or-comment)
4005 (prolog-tokenize, prolog-inside-mline-comment)
4006 (prolog-find-start-of-mline-comment): Remove functions.
4007 (prolog-find-unmatched-paren, prolog-clause-end)
4008 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4009 (prolog-electric--if-then-else): Rename from
4010 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4011 (prolog-tokenize-searchkey): Remove const.
4012 (prolog-clause-info): Use forward-sexp.
4013 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4014 (prolog-electric-if-then-else): Remove commands.
4015 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4016 for use in post-self-insert-hook.
4017 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4018 for use in post-self-insert-hook.
4019 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4020 for use in post-self-insert-hook.
4021 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4022 adapt it for use in post-self-insert-hook.
4023
4024 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4025
4026 * emacs-lisp/ert.el (ert-run-tests-interactively):
4027 Use `completing-read'. (Bug#9756)
4028
4029 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4030
4031 * simple.el (line-move): Call line-move-1 instead of
4032 line-move-visual when the current window hscroll is zero, but
4033 temporary-goal-column indicates we will need to hscroll as result
4034 of the movement. (Bug#15712)
4035
4036 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4037
4038 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4039 capitalization. Use :visible instead of :active.
4040 Fix `ruby-indent-exp' reference. Add menu items for the generic
4041 commands that are used with SMIE.
4042 (ruby-do-end-to-brace): Insert space after `{'.
4043
4044 2013-10-25 John Anthony <john@jo.hnanthony.com>
4045
4046 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4047
4048 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4049
4050 2013-10-25 Glenn Morris <rgm@gnu.org>
4051
4052 * vc/vc.el (vc-print-log): Don't use a working revision unless
4053 one was explicitly specified. (Bug#15322)
4054
4055 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * subr.el (add-to-list): Preserve return value in compiler-macro
4058 (bug#15692).
4059
4060 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4061
4062 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4063 result. Ask user to retry using '-all' flag. (Bug#15701)
4064
4065 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * emacs-lisp/smie.el: New smie-config system.
4068 (smie-config): New defcustom.
4069 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4070 (smie-config-guess, smie-config-save): New commands.
4071 (smie-config--mode-local, smie-config--buffer-local)
4072 (smie-config--trace, smie-config--modefuns): New vars.
4073 (smie-config--advice, smie-config--mode-hook)
4074 (smie-config--setter, smie-config-local, smie-config--get-trace)
4075 (smie-config--guess-value, smie-config--guess): New functions.
4076 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4077 text properties. Treat "string fence" syntax like string syntax.
4078
4079 * progmodes/sh-script.el (sh-use-smie): Change default.
4080 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4081 (sh-var-value): Simplify by CSE.
4082 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4083 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4084 is used.
4085 (sh-guess-basic-offset): Use cl-incf.
4086 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4087
4088 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4089
4090 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4091 (bug#15699).
4092
4093 2013-10-24 Glenn Morris <rgm@gnu.org>
4094
4095 * Makefile.in (abs_top_srcdir): Remove.
4096 (update-subdirs): Use relative path to update-subdirs.
4097
4098 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4099
4100 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4101 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4102 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4103 Call unmsys--file-name before expand-file-name, not after it.
4104
4105 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4108 (ert-test-skipped): New error.
4109 (ert-skip, ert-stats-skipped): New defuns.
4110 (ert--skip-unless): New macro.
4111 (ert-test-skipped): New struct.
4112 (ert--run-test-debugger, ert-test-result-type-p)
4113 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4114 (ert--stats-set-test-and-result, ert-char-for-test-result)
4115 (ert-string-for-test-result, ert-run-tests-batch)
4116 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4117 Handle skipped tests. (Bug#9803)
4118
4119 2013-10-24 Glenn Morris <rgm@gnu.org>
4120
4121 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4122
4123 * Makefile.in (abs_top_srcdir): New, set by configure.
4124 (update-subdirs): Correct build-aux location.
4125
4126 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4127
4128 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4129 value, whether we could auto-deduce `backend', or not.
4130
4131 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4132 with parameters" example. Simplify the "is it block or is it
4133 hash" check, but also make it more thorough.
4134
4135 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4136
4137 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4138
4139 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4140
4141 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4142 { if it is hanging.
4143
4144 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4145 :before ";".
4146
4147 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4148
4149 * progmodes/compile.el (compilation-directory-matcher)
4150 (compilation-page-delimiter):
4151 Support GNU Make-4.0 directory quoting. (Bug#15678)
4152
4153 2013-10-23 Leo Liu <sdl.web@gmail.com>
4154
4155 * ido.el (ido-tidy): Handle read-only text.
4156
4157 2013-10-23 Glenn Morris <rgm@gnu.org>
4158
4159 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4160 (emacs, compile, compile-always):
4161 Quote entities that might contain whitespace.
4162 (custom-deps, finder-data, autoloads): Use abs_lisp.
4163 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4164 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4165 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4166
4167 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4168
4169 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4170 Use `following-char'.
4171
4172 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4175 * progmodes/ruby-mode.el (ruby-smie-rules):
4176 Remove corresponding workaround. Fix indentation rule of ";" so it
4177 also applies when ";" is the parent.
4178
4179 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4180
4181 * frame.el (display-screens, display-pixel-height)
4182 (display-pixel-width, display-mm-width, display-backing-store)
4183 (display-save-under, display-planes, display-color-cells)
4184 (display-visual-class, display-monitor-attributes-list):
4185 Mention the optional ‘display’ argument in doc strings.
4186
4187 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4188
4189 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4190 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4191
4192 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4193
4194 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4195 TODO. Add "." after " @ ".
4196 (ruby-smie--at-dot-call): New function. Checks if point at method
4197 call with explicit target.
4198 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4199 to the method name tokens when it precedes them.
4200 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4201 (ruby-smie-rules): Add rule for indentation before and after "."
4202 token.
4203
4204 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * textmodes/remember.el (remember-diary-extract-entries):
4207 Avoid add-to-list.
4208
4209 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4210 an instruction.
4211
4212 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4213
4214 * progmodes/ruby-mode.el (ruby-smie-grammar):
4215 Add (almost) all infix operators.
4216 (ruby-smie--implicit-semi-p): Add new operator chars.
4217
4218 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4219 `smie-down-list'.
4220 (ruby-smie--args-separator-p): Check that there's no newline
4221 between method call and its arguments.
4222
4223 2013-10-20 Alan Mackenzie <acm@muc.de>
4224
4225 Allow comma separated lists after Java "implements".
4226
4227 * progmodes/cc-engine.el (c-backward-over-enum-header):
4228 Parse commas.
4229 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4230 from a "disallowed" list in enum fontification.
4231
4232 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4233
4234 * startup.el (default-frame-background-mode): Remove unused defvar.
4235
4236 * progmodes/verilog-mode.el (verilog-mode): Don't set
4237 comment-indent-function globally.
4238
4239 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4240
4241 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4242 Move Info menu item creation to ns-win.el.
4243
4244 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4245 in menu bar.
4246
4247 * menu-bar.el: Move GNUstep specific menus...
4248
4249 * term/ns-win.el (ns-initialize-window-system): ... to here.
4250
4251 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * simple.el (newline): Only run post-self-insert-hook when
4254 called interactively.
4255
4256 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4257
4258 * icomplete.el (icomplete-with-completion-tables): Add :version.
4259
4260 2013-10-19 Alan Mackenzie <acm@muc.de>
4261
4262 Fix fontification bugs with constructors and const.
4263
4264 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4265 CASE 2) Remove the check for the absence of a suffix construct
4266 after a function declaration with only types (no identifiers) in
4267 the parentheses. Also, accept a function declaration with just a
4268 type inside the parentheses, if this type can be positively
4269 recognised as such, or if a prefix keyword like "explicit" nails
4270 down the construct as a declaration.
4271
4272 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4273
4274 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4275 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4276 the problem whereby selecting a menu item that leads to a
4277 minibuffer prompt moves the cursor out of the minibuffer window,
4278 making it hard to type at the prompt. Suggested by Stefan Monnier
4279 <monnier@iro.umontreal.ca>.
4280
4281 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4282
4283 * menu-bar.el: Don't make Services menu.
4284
4285 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4286
4287 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4288 (ffap-alist): Use ffap-c++-mode for c++-mode.
4289 (ffap-c++-path): New variable.
4290 (ffap-c++-mode): New function.
4291
4292 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4293
4294 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4295
4296 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4297
4298 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4299 introduced on 2013-09-08, which results in an infinite loop
4300 requesting a password.
4301
4302 2013-10-18 Glenn Morris <rgm@gnu.org>
4303
4304 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4305
4306 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4307
4308 Sync with upstream verilog-mode revision 1a6ecec7.
4309 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4310 (verilog-mode-release-date): Remove.
4311 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4312 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4313 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4314 (verilog-auto-tieoff-ignore-regexp)
4315 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4316 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4317 (verilog-signals-with, verilog-dir-cache-preserving)
4318 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4319 Doc fixes.
4320 (verilog-case-fold): New option, to control case folding in
4321 regexp searches, bug597.
4322 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4323 (verilog-string-match-fold, verilog-in-paren-count)
4324 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4325 (verilog-at-close-struct-p): New functions.
4326 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4327 (verilog-forward-sexp, verilog-set-auto-endcomments):
4328 (verilog-leap-to-case-head): Handle "unique0" case.
4329 (verilog-in-constraint-re): New constant.
4330 (verilog-keywords, verilog-type-font-keywords):
4331 Add some SystemVerilog 1800-2012 keywords.
4332 (verilog-label-be): Remove unimplemented argument, bug669.
4333 (verilog-batch-execute-func): When batch expanding clear
4334 create-lockfiles to prevent spurious user locks when a file ends
4335 up not changing.
4336 (verilog-calculate-indent, verilog-calc-1)
4337 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4338 (verilog-do-indent): Fix indentation of nested constraints
4339 and structures.
4340 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4341 (verilog-auto-inst-param): Use verilog-string-match-fold.
4342 (verilog-read-inst-module-matcher):
4343 Fix AUTOINST on gate primitives with #1.
4344 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4345 Reads all user-defined typed variables.
4346 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4347 (verilog-signals-matching-regexp)
4348 (verilog-signals-not-matching-regexp, verilog-auto):
4349 Respect verilog-case-fold.
4350 (verilog-diff-report): Fix line count.
4351 (verilog-auto-assign-modport): Remove unused local `modi'.
4352 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4353 better handle multidimensional arrays.
4354 Fix packed array ports misadding bit index in AUTOINST, bug637.
4355 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4356 to not double-declare existing outputs and inputs, respectively.
4357 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4358 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4359 (verilog-sk-uvm-component): New skeleton.
4360 (verilog-submit-bug-report): Add verilog-case-fold,
4361 remove verilog-mode-release-date.
4362
4363 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4364
4365 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4366 as before.
4367
4368 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4369
4370 * textmodes/remember.el (remember): Set buffer-offer-save in
4371 remember buffers (bug#13566).
4372
4373 2013-10-18 Daniel Colascione <dancol@dancol.org>
4374
4375 When evaluating forms in ielm, direct standard output to ielm
4376 buffer. Add new ielm-return-for-effect command. Remove trailing
4377 whitespace throughout.
4378
4379 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4380 (ielm-return-for-effect): New command.
4381 (ielm-send-input): Accept optional `for-effect' parameter.
4382 (ielm-eval-input): Accept optional `for-effect' parameter.
4383 Bind `standard-output' to stream we create using
4384 `ielm-standard-output-impl'. Suppress printing result when
4385 `for-effect'.
4386 (ielm-standard-output-impl): New function.
4387 (inferior-emacs-lisp-mode): Explain new features in documentation.
4388
4389 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4390
4391 Code cleanup.
4392
4393 * net/tramp.el (tramp-debug-message): Do not check for connection
4394 buffer.
4395 (tramp-message): Use "vector" connection property.
4396
4397 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4398 (tramp-equal-remote, tramp-eshell-directory-change)
4399 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4400 (tramp-adb-handle-rename-file)
4401 * net/tramp-cmds.el (tramp-list-remote-buffers)
4402 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4403 * net/tramp-compat.el (tramp-compat-process-running-p)
4404 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4405 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4406 (tramp-gvfs-handle-rename-file)
4407 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4408 (tramp-set-file-uid-gid)
4409 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4410 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4411 of `file-remote-p'.
4412
4413 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4414 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4415 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4416 (tramp-gw-open-network-stream): Suppress unrelated traces.
4417
4418 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4419 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4421 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4422 connection property.
4423
4424 * net/tramp-cache.el (top): Suppress traces when reading
4425 persistency file.
4426
4427 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4428 Refactor common code. Improve debug message.
4429 (tramp-maybe-open-connection)
4430 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4431 connection buffer too early.
4432
4433 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4434 from `tramp-smb-actions-with-acl'.
4435 (tramp-smb-actions-set-acl): New defconst.
4436 (tramp-smb-handle-copy-directory)
4437 (tramp-smb-action-get-acl): New defun, renamed from
4438 `tramp-smb-action-with-acl'.
4439 (tramp-smb-action-set-acl): New defun.
4440 (tramp-smb-handle-set-file-acl): Rewrite.
4441
4442 2013-10-17 Glenn Morris <rgm@gnu.org>
4443
4444 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4445
4446 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * skeleton.el (skeleton-newline): Remove.
4449 (skeleton-internal-1): Use (insert "\n") instead.
4450
4451 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4452 let-bindings.
4453
4454 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4455 forward-sexp-function while we redo its job (bug#15613).
4456
4457 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4458
4459 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4460 represented by lists.
4461
4462 2013-10-16 Glenn Morris <rgm@gnu.org>
4463
4464 * tmm.el (tmm--history): New dynamic variable.
4465 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4466
4467 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4468
4469 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4470 (tramp-smb-errors): Add error messages.
4471 (tramp-smb-actions-with-acl): New defconst.
4472 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4473 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4474 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4475 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4476 (tramp-smb-get-stat-capability): Fix tests.
4477
4478 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4479
4480 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4481 (bug#15580).
4482
4483 2013-10-16 Glenn Morris <rgm@gnu.org>
4484
4485 * ansi-color.el (ansi-color-drop-regexp):
4486 Add 1J, 1K, 2K. (Bug#15617)
4487
4488 * files.el (hack-local-variables--warned-lexical): New.
4489 (hack-local-variables):
4490 Warn about misplaced lexical-binding. (Bug#15616)
4491
4492 * net/eww.el (eww-render): Always set eww-current-url,
4493 and update header line. (Bug#15622)
4494 (eww-display-html): ... Rather than just doing it here.
4495
4496 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4497
4498 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4499 menu navigations commands.
4500
4501 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4502
4503 * progmodes/subword.el (subword-capitalize): Be careful when
4504 the search for [[:alpha:]] fails (bug#15580).
4505
4506 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4507
4508 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4509 to commands that scroll the menu.
4510
4511 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4512
4513 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4514 Handle methods ending with `?' and `!'.
4515
4516 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4517
4518 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4519 `japanese-cp932' to `cp932' to fix the problem where saving a
4520 source file written in Shift_JIS twice would end up having
4521 `coding: japanese-cp932' which Ruby could not recognize.
4522 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4523 in `ruby-encoding-map'.
4524 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4525 doesn't need to be explicitly declared in magic comment.
4526 (ruby-encoding-map): Add type declaration for better customize UI.
4527
4528 2013-10-13 Glenn Morris <rgm@gnu.org>
4529
4530 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4531 Occur buffers are read-only. http://bugs.debian.org/720775
4532
4533 * emacs-lisp/authors.el (authors-fixed-entries):
4534 Comment out old alpha stuff.
4535
4536 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4537
4538 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4539 to `after-save-hook' instead of `before-save-hook'.
4540 (ruby-mode-set-encoding): Use the value of coding system used to
4541 write the file. Call `basic-save-buffer-1' after modifying the
4542 buffer.
4543
4544 2013-10-13 Alan Mackenzie <acm@muc.de>
4545
4546 Fix indentation/fontification of Java enum with
4547 "implements"/generic.
4548
4549 * progmodes/cc-engine.el (c-backward-over-enum-header):
4550 Extracted from the three other places and enhanced to handle generics.
4551 (c-inside-bracelist-p): Uses new function above.
4552 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4553 function above.
4554 (c-font-lock-enum-tail): Uses new function above.
4555
4556 2013-10-13 Kenichi Handa <handa@gnu.org>
4557
4558 * international/mule-cmds.el (select-safe-coding-system): Remove a
4559 superfluous condition in chekcing whether a coding system is safe
4560 or not.
4561
4562 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4563
4564 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4565
4566 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4567
4568 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4569
4570 2013-10-13 Glenn Morris <rgm@gnu.org>
4571
4572 * menu-bar.el (menu-bar-update-buffers):
4573 Unify Buffers menu prompt string. (Bug#15576)
4574
4575 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4576
4577 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4578 Add some entries.
4579 (authors-fixed-entries): Use accented form of name.
4580
4581 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4584 method calls (bug#15594).
4585 (ruby-smie--args-separator-p): New function.
4586 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4587 recognize paren-free method calls.
4588
4589 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4590 internals of universal-argument.
4591
4592 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4593
4594 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4595 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4596 dropped menu on second mouse click on the menu bar.
4597
4598 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4601 (explicit-shell-file-name): Declare.
4602 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4603 (sh-completion-at-point-function): New function.
4604 (sh-mode): Use it.
4605 (sh-smie--keyword-p): Remove unused argument.
4606 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4607 vars.
4608 (sh-set-shell): Always setup SMIE, even if we use the
4609 old indentation code.
4610
4611 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4614 cases of ? and =.
4615 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4616 predicate would return nil are almost non-existent.
4617 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4618
4619 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4620 cache also after commands that modify the buffer but don't move
4621 point.
4622
4623 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * env.el (substitute-env-in-file-name): New function.
4626 (substitute-env-vars): Extend the meaning of the optional arg.
4627
4628 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4629
4630 * term/w32-win.el (dynamic-library-alist): Define separate lists
4631 of GIF DLLs for versions before and after 5.0.0 of giflib.
4632 (Bug#15531)
4633
4634 2013-10-10 João Távora <joaotavora@gmail.com>
4635
4636 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4637 not locked, use last revision and current source as
4638 defaults. (Bug#15569)
4639
4640 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4641
4642 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4643 menu-bar is hidden.
4644
4645 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4646
4647 * window.el (pop-to-buffer-same-window): Fix doc-string.
4648 (Bug#15492)
4649
4650 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4653
4654 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4655
4656 * calendar/icalendar.el (icalendar-import-file):
4657 Fix interactive spec. (Bug#15482)
4658
4659 2013-10-10 Glenn Morris <rgm@gnu.org>
4660
4661 * desktop.el (desktop-save): Default to saving in .emacs.d,
4662 since PWD is no longer in desktop-path by default. (Bug#15319)
4663
4664 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4665 now that text mode has a menu with the same entry.
4666 (menu-bar-text-mode-auto-fill): Remove now unused func.
4667 * textmodes/text-mode.el (text-mode-map):
4668 Use auto-fill help text from menu-bar.el.
4669
4670 2013-10-10 John Anthony <john@jo.hnanthony.com>
4671
4672 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4673
4674 2013-10-09 Juri Linkov <juri@jurta.org>
4675
4676 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4677 instead of this-command-keys. Add universal-argument-more and
4678 universal-argument-minus to the list of prefix commands. (Bug#15568)
4679
4680 2013-10-09 Glenn Morris <rgm@gnu.org>
4681
4682 * vc/vc-svn.el (vc-svn-create-repo):
4683 Expand paths in file://... url. (Bug#15446)
4684
4685 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4686 Add some entries.
4687 (authors): Remove unused local variables.
4688
4689 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * profiler.el: Create a more coherent calltree from partial backtraces.
4692 (profiler-format): Hide the tail with `invisible' so that C-s can still
4693 find the hidden elements.
4694 (profiler-calltree-depth): Don't recurse so enthusiastically.
4695 (profiler-function-equal): New hash-table-test.
4696 (profiler-calltree-build-unified): New function.
4697 (profiler-calltree-build): Use it.
4698 (profiler-report-make-name-part): Indent the calltree less.
4699 (profiler-report-mode): Add visibility specs for profiler-format.
4700 (profiler-report-expand-entry, profiler-report-toggle-entry):
4701 Expand the whole subtree when provided with a prefix arg.
4702
4703 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4704
4705 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4706 iuwu-mod token.
4707 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4708 hanging iuwu-mod token.
4709 (ruby-smie--forward-token): Do not include a dot after a token in
4710 that token.
4711 (ruby-smie--backward-token): Likewise.
4712
4713 2013-10-08 Juri Linkov <juri@jurta.org>
4714
4715 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4716 to isearch-other-control-char.
4717 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4718 and isearch-post-command-hook to post-command-hook.
4719 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4720 and isearch-post-command-hook from post-command-hook.
4721 (isearch-unread-key-sequence)
4722 (isearch-reread-key-sequence-naturally)
4723 (isearch-lookup-scroll-key, isearch-other-control-char)
4724 (isearch-other-meta-char): Remove functions.
4725 (isearch-pre-command-hook, isearch-post-command-hook):
4726 New functions based on isearch-other-meta-char rewritten
4727 relying on the new behavior of overriding-terminal-local-map
4728 that does not replace the local keymaps any more. (Bug#15200)
4729
4730 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4731
4732 Support menus on text-mode terminals.
4733 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4734 functionality.
4735
4736 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4737
4738 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4739 Move here from mouse.el.
4740 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4741 and arrow keys.
4742 (tty-menu-navigation-map): New map for TTY menu navigation.
4743
4744 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4745
4746 * frame.el (display-mouse-p): Report text-mode mouse as available
4747 on w32.
4748 (display-popup-menus-p): Report availability if mouse is
4749 available; don't condition on window-system.
4750
4751 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4752 (tty-menu-selected-face): New faces.
4753
4754 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4755
4756 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4757 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4758 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4759 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4760 New constants.
4761 (lisp-mode-variables): New `elisp' argument.
4762 (emacs-lisp-mode): Use it.
4763 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4764 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4765
4766 * indent.el: Use lexical-binding.
4767 (indent-region): Add progress reporter.
4768 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4769 last step.
4770 (indent--next-tab-stop): New function to implement this behavior.
4771 (tab-to-tab-stop, move-to-tab-stop): Use it.
4772
4773 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4774
4775 * indent.el (indent-rigidly--current-indentation): New function.
4776 (indent-rigidly-map): New var.
4777 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4778
4779 2013-10-08 Bastien Guerry <bzg@gnu.org>
4780
4781 * register.el (insert-register): Fix 2013-10-07 change.
4782
4783 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * progmodes/perl-mode.el: Use lexical-binding.
4786 Remove redundant :group args.
4787 (perl-nochange): Change default to be closer to other major modes's
4788 standard behavior.
4789 (perl-indent-line): Don't consider text on current line as a
4790 valid beginning of function from which to indent.
4791
4792 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4793 with more than one argument (bug#15538).
4794
4795 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4796
4797 * vc/pcvs.el: Use lexical-binding.
4798 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4799 environment of `eval'.
4800 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4801 than a list of expressions. Adjust callers.
4802 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4803
4804 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4805
4806 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4807 case of the dot in a chained method call being on the following line.
4808
4809 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * electric.el (electric-indent-inhibit): New var.
4812 (electric-indent-post-self-insert-function): Use it.
4813 * progmodes/python.el (python-mode): Set it.
4814
4815 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4816 open braces.
4817
4818 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4819
4820 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4821 (css-mode): Use electric-indent-chars.
4822
4823 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4824 (font-lock-beg, font-lock-end): Move before first use.
4825 (nxml-mode): Use syntax-propertize-function.
4826 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4827 (nxml-extend-after-change-region): Remove.
4828 * nxml/xmltok.el: Use lexical-binding.
4829 (xmltok-save): Use `declare'.
4830 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4831 * nxml/nxml-util.el: Use lexical-binding.
4832 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4833 Use `declare'.
4834 * nxml/nxml-ns.el: Use lexical-binding.
4835 (nxml-ns-save): Use `declare'.
4836 (nxml-ns-prefixes-for): Avoid add-to-list.
4837 * nxml/rng-match.el: Use lexical-binding.
4838 (rng--ipattern): Use cl-defstruct.
4839 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4840 (rng-cons-group-after, rng-subst-group-after)
4841 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4842 Use closures instead of `(lambda...).
4843
4844 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4847 of BEG and END.
4848
4849 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4850 Use `tramp-handle-insert-file-contents'.
4851 (tramp-gvfs-handle-insert-file-contents): Remove function.
4852
4853 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4854 Use `save-restriction' in order to keep markers.
4855
4856 * net/trampver.el: Update release number.
4857
4858 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * progmodes/compile.el (compilation-parse-errors):
4861 Use compilation--put-prop.
4862 (compilation--ensure-parse): Check compilation-multiline.
4863
4864 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4865
4866 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4867 lexical-binding.
4868
4869 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4870
4871 * progmodes/ruby-mode.el: Fix recently added tests.
4872 (ruby-smie-grammar): Add - and +.
4873 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4874 (ruby-smie--backward-id): New functions.
4875 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4876 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4877 any more.
4878
4879 2013-10-07 Leo Liu <sdl.web@gmail.com>
4880
4881 * register.el (register-preview-delay)
4882 (register-preview-functions): New variables.
4883 (register-read-with-preview, register-preview)
4884 (register-describe-oneline): New functions.
4885 (point-to-register, window-configuration-to-register)
4886 (frame-configuration-to-register, jump-to-register)
4887 (number-to-register, view-register, insert-register)
4888 (copy-to-register, append-to-register, prepend-to-register)
4889 (copy-rectangle-to-register): Use register-read-with-preview to
4890 read register. (Bug#15525)
4891
4892 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4893
4894 * net/network-stream.el (network-stream-open-starttls): Don't add
4895 --insecure if it's already present, because that gnutls-cli
4896 rejects getting that parameter twice.
4897
4898 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4899
4900 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4901 keyword, too.
4902
4903 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4904
4905 * newcomment.el (comment-use-global-state): Change default value
4906 to t, mark obsolete (Bug#15251).
4907 (comment-beginning): In addition to `comment-to-syntax', check the
4908 value of `comment-use-global-state'.
4909
4910 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4913 (ruby-comment-column): Follow the global default, by default.
4914 (ruby-smie-grammar): Add assignment syntax.
4915 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4916 open-paren, a comma, or a \.
4917 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4918 and line continuations.
4919 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4920 followed by implicit semi-colons. Add rule for string concatenation
4921 and for indentation at BOB.
4922 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4923
4924 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4925 calling next-sexp, since next-token may have skipped chars which
4926 next-sexp doesn't know should be skipped!
4927
4928 2013-10-05 Leo Liu <sdl.web@gmail.com>
4929
4930 * progmodes/octave.el (octave-send-region):
4931 Call compilation-forget-errors.
4932
4933 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4934
4935 * vc/vc-svn.el (vc-svn-find-admin-dir):
4936 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4937 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4938 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4939 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4940
4941 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4944
4945 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * subr.el (read-passwd): Hide chars even when called within a context
4948 where after-change-functions is disabled (bug#15501).
4949 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4950 until we removed ourself from overriding-terminal-local-map.
4951
4952 2013-10-04 Leo Liu <sdl.web@gmail.com>
4953
4954 * progmodes/octave.el (inferior-octave-mode):
4955 Call compilation-forget-errors.
4956
4957 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4958
4959 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4960
4961 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4962
4963 * net/secrets.el (secrets-create-collection): Add optional
4964 argument ALIAS. Use proper Label keyword. Append ALIAS as
4965 dbus-call-method argument. (Bug#15516)
4966
4967 2013-10-04 Leo Liu <sdl.web@gmail.com>
4968
4969 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4970 (inferior-octave-compilation-font-lock-keywords): New variables.
4971 (compilation-error-regexp-alist)
4972 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4973 (inferior-octave-mode): Use compilation-shell-minor-mode.
4974
4975 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4976
4977 * minibuffer.el (completion--replace): Be careful that `end' might be
4978 a marker.
4979
4980 2013-10-03 Daiki Ueno <ueno@gnu.org>
4981
4982 Add support for package signature checking.
4983 * emacs-lisp/package.el (url-http-file-exists-p)
4984 (epg-make-context, epg-context-set-home-directory)
4985 (epg-verify-string, epg-context-result-for)
4986 (epg-signature-status, epg-signature-to-string)
4987 (epg-check-configuration, epg-configuration)
4988 (epg-import-keys-from-file): Declare.
4989 (package-check-signature): New user option.
4990 (package-unsigned-archives): New user option.
4991 (package-desc): Add `signed' field.
4992 (package-load-descriptor): Set `signed' field if .signed file exists.
4993 (package--archive-file-exists-p): New function.
4994 (package--check-signature): New function.
4995 (package-install-from-archive): Check package signature.
4996 (package--download-one-archive): Check archive signature.
4997 (package-delete): Remove .signed file.
4998 (package-import-keyring): New command.
4999 (package-refresh-contents): Import default keyring.
5000 (package-desc-status): Add "unsigned" status.
5001 (describe-package-1, package-menu--print-info)
5002 (package-menu-mark-delete, package-menu--find-upgrades)
5003 (package-menu--status-predicate): Support "unsigned" status.
5004
5005 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5008 the new compilation scheme using the new byte-codes.
5009
5010 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5011 (byte-pophandler): New byte codes.
5012 (byte-goto-ops): Adjust accordingly.
5013 (byte-compile--use-old-handlers): New var.
5014 (byte-compile-catch): Use new byte codes depending on
5015 byte-compile--use-old-handlers.
5016 (byte-compile-condition-case--old): Rename from
5017 byte-compile-condition-case.
5018 (byte-compile-condition-case--new): New function.
5019 (byte-compile-condition-case): New function that dispatches depending
5020 on byte-compile--use-old-handlers.
5021 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5022 when we can.
5023
5024 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5025 Optimize under `condition-case' and `catch' if
5026 byte-compile--use-old-handlers is nil.
5027 (disassemble-offset): Handle new bytecodes.
5028
5029 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * subr.el (error): Use `declare'.
5032 (decode-char, encode-char): Use advertised-calling-convention instead
5033 of the docstring to discourage use of the `restriction' arg.
5034
5035 2013-10-03 Daiki Ueno <ueno@gnu.org>
5036
5037 * epg.el (epg-verify-file): Add a comment saying that it does not
5038 notify verification error as a return value nor a signal.
5039 (epg-verify-string): Ditto.
5040
5041 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5042
5043 * progmodes/compile.el (compilation-start): Try globbing the arg to
5044 `cd' (bug#15417).
5045
5046 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5047
5048 Sync with Tramp 2.2.8.
5049
5050 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5051 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5052 * net/trampver.el: Update release number.
5053
5054 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5055
5056 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5057 and default-process-coding-system for darwin only.
5058
5059 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5062
5063 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5064
5065 * vc/vc-git.el (vc-git-grep): Disable pager.
5066
5067 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5068
5069 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5070 Use :url instead of :homepage, as per
5071 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5072
5073 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5074 non-nil, use `syntax-ppss' (Bug#15251).
5075
5076 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5077
5078 * progmodes/octave.el (inferior-octave-startup-file):
5079 Prefer ~/.emacs.d/init_octave.m.
5080
5081 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5082
5083 * emacs-lisp/package.el (package-desc-from-define):
5084 Accept additional arguments as plist, convert them to an alist and store
5085 them in the `extras' slot.
5086 (package-generate-description-file): Convert extras alist back to
5087 plist and append to the `define-package' form arguments.
5088 (package--alist-to-plist): New function.
5089 (package--ac-desc): Add `extras' slot.
5090 (package--add-to-archive-contents): Check if the archive-contents
5091 vector is long enough, and if it is, pass its `extras' slot value
5092 to `package-desc-create'.
5093 (package-buffer-info): Call `lm-homepage', pass the returned value
5094 to `package-desc-from-define'.
5095 (describe-package-1): Render the homepage button (Bug#13291).
5096
5097 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5098 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5099
5100 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5101
5102 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5103 and default-process-coding-system to utf-8-unix (Bug#15402).
5104
5105 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5106
5107 * subr.el (looking-back): Do not recommend using looking-back.
5108
5109 2013-09-28 Alan Mackenzie <acm@muc.de>
5110
5111 Fix indentation/fontification of Java enum with "implements".
5112
5113 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5114 regexp which matches "implements", etc., in Java.
5115 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5116 specifier clauses coming after "enum".
5117 * progmodes/cc-fonts.el (c-font-lock-declarations)
5118 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5119 after "enum".
5120
5121 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5122
5123 * faces.el (region): Change ns_selection_color to
5124 ns_selection_fg_color, add ns_selection_bg_color.
5125
5126 2013-09-28 Leo Liu <sdl.web@gmail.com>
5127
5128 * progmodes/octave.el (inferior-octave-completion-table)
5129 (inferior-octave-completion-at-point): Minor tweaks.
5130
5131 * textmodes/ispell.el (ispell-lookup-words): Rename from
5132 lookup-words. (Bug#15460)
5133 (lookup-words): Obsolete.
5134 (ispell-complete-word, ispell-command-loop): All uses changed.
5135
5136 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5137
5138 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5139 (octave-mode-menu): Add octave-send-buffer.
5140 (octave-send-buffer): New function.
5141
5142 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5143
5144 * progmodes/octave.el (octave-mode-map): Add key binding for
5145 octave-lookfor.
5146 (octave-mode-menu): Add octave-lookfor.
5147 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5148 octave-lookfor.
5149 (octave-lookfor): New function.
5150
5151 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * emacs-lisp/cl-macs.el:
5154 (cl--loop-destr-temps): Remove.
5155 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5156 its convention.
5157 (cl--loop-set-iterator-function): New function.
5158 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5159 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5160 Bind `it' with `let' instead of substituting it with `cl-subst'.
5161 (cl--unused-var-p): New function.
5162 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5163 Eliminate some unused variable warnings (bug#15326).
5164
5165 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5166
5167 * doc-view.el (doc-view-scale-reset): Rename from
5168 `doc-view-reset-zoom-level'.
5169 (doc-view-scale-adjust): New command.
5170 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5171 `doc-view-scale-adjust'.
5172
5173 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5174
5175 * doc-view.el (doc-view-reset-zoom-level): New command.
5176 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5177 zoom commands (bug#15466).
5178
5179 2013-09-26 Kenichi Handa <handa@gnu.org>
5180
5181 * international/quail.el (quail-help): Make it not a command.
5182
5183 2013-09-26 Leo Liu <sdl.web@gmail.com>
5184
5185 * minibuffer.el (completion-all-sorted-completions): Make args
5186 optional as they are.
5187
5188 2013-09-25 Daniel Colascione <dancol@dancol.org>
5189
5190 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5191 specs are and that they're not evaluated.
5192
5193 2013-09-24 Sam Steingold <sds@gnu.org>
5194
5195 * midnight.el (clean-buffer-list-kill-regexps)
5196 (clean-buffer-list-kill-buffer-names): Update for the new Man
5197 buffer naming which includes the object name.
5198
5199 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5202 (eshell-parse-command, eshell-parse-pipeline): Use it since
5203 eshell-separate-commands requires a dynamic scoped var.
5204 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5205
5206 2013-09-23 Leo Liu <sdl.web@gmail.com>
5207
5208 * autoinsert.el (auto-insert-alist): Make the value of
5209 lexical-binding match its file setting.
5210
5211 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5212
5213 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5214
5215 * autoarg.el (autoarg-kp-digit-argument):
5216 * electric.el (Electric-command-loop):
5217 * kmacro.el (kmacro-step-edit-insert):
5218 Do not set universal-argument-num-events.
5219
5220 2013-09-22 Leo Liu <sdl.web@gmail.com>
5221
5222 * files.el (interpreter-mode-alist): Add octave.
5223
5224 2013-09-21 Alan Mackenzie <acm@muc.de>
5225
5226 C++: fontify identifier in declaration following "public:" correctly.
5227 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5228 to match "public", etc.
5229 (c-decl-prefix-re): Add ":" into the C++ value.
5230 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5231 bit. Add a check for a ":" preceded by "public", etc.
5232
5233 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5234
5235 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5236 recognized by GDB 7.5 and later.
5237
5238 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5239
5240 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5241
5242 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * subr.el (internal--call-interactively): New const.
5245 (called-interactively-p): Use it (bug#3984).
5246
5247 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5248
5249 * vc/pcvs.el (cvs-mode-ignore):
5250 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5251 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5252
5253 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5254
5255 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5256 (eshell-ls-orig-insert-directory): Remove.
5257 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5258 (eshell-ls-use-in-dired): Use advice-add/remove.
5259 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5260 Add `orig-fun' arg for use in :around advice.
5261 Make it check (redundantly) eshell-ls-use-in-dired.
5262
5263 2013-09-19 Glenn Morris <rgm@gnu.org>
5264
5265 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5266
5267 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5268
5269 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5270
5271 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5272
5273 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5274 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5275 (tramp-get-remote-python): New defuns.
5276 (tramp-get-remote-uid-with-perl)
5277 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5278 contributed by yary <not.com@gmail.com> (tiny change).
5279 (tramp-get-remote-uid-with-python)
5280 (tramp-get-remote-gid-with-python): New defuns. Python code
5281 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5282 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5283
5284 2013-09-19 Glenn Morris <rgm@gnu.org>
5285
5286 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5287
5288 * eshell/em-unix.el (eshell-remove-entries):
5289 Rename argument to avoid name-clash with global `top-level'.
5290
5291 * eshell/esh-proc.el (eshell-kill-process-function):
5292 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5293 (eshell-reset-after-proc): Remove unused arg `proc'.
5294
5295 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5296 (directory-files-and-attributes): Mark unused arg.
5297
5298 * eshell/em-unix.el (eshell-remove-entries):
5299 Remove unused arg `path'. Update callers.
5300
5301 * eshell/em-hist.el (eshell-hist-parse-arguments):
5302 Remove unused arg `silent'. Update callers.
5303
5304 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5305 Fix (f)boundp mix-up.
5306
5307 * eshell/em-smart.el (eshell-smart-scroll-window)
5308 (eshell-disable-after-change):
5309 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5310
5311 2013-09-18 Alan Mackenzie <acm@muc.de>
5312
5313 Fix fontification of type when followed by "const".
5314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5315 "known" types from fontification.
5316
5317 2013-09-18 Glenn Morris <rgm@gnu.org>
5318
5319 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5320 (chart-face-list): Drop Emacsen without display-color-p.
5321
5322 * net/eww.el (libxml-parse-html-region): Declare.
5323 (eww-display-html): Explicit error if no libxml2 support.
5324
5325 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5326
5327 * image.el (image-type-from-buffer, image-multi-frame-p):
5328 Remove --without-x warning/error.
5329
5330 * mouse.el (mouse-yank-primary):
5331 * term.el (term-mouse-paste):
5332 Reorder to silence --without-x compilation.
5333
5334 * mpc.el (doc-view-mode): Silence --without-x compilation.
5335
5336 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5337 Silence --without-x compilation.
5338
5339 * progmodes/gud.el (gud-find-file, gud-mode):
5340 Silence --without-x compilation.
5341 (tooltip-mode): Declare.
5342
5343 * wdired.el (dired-backup-overwrite): Remove declaration.
5344 (wdired-mode-map): Add doc string.
5345
5346 * custom.el (x-get-resource): Declare.
5347
5348 * eshell/em-glob.el (ange-cache):
5349 * eshell/em-unix.el (ange-cache): Declare.
5350
5351 * faces.el (x-display-list, x-open-connection, x-get-resource):
5352 Declare.
5353
5354 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5355 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5356 Declare.
5357
5358 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5359
5360 * net/gnutls.el (gnutls-log-level): Declare.
5361
5362 * net/shr.el (image-size, image-animate): Declare.
5363
5364 * simple.el (font-info): Declare.
5365
5366 * subr.el (x-popup-dialog): Declare.
5367
5368 * term/common-win.el (x-select-enable-primary)
5369 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5370 Declare.
5371
5372 * term/ns-win.el (x-handle-args): Declare.
5373
5374 * term/x-win.el (x-select-enable-clipboard): Declare.
5375
5376 * term/w32-win.el (create-default-fontset): Declare.
5377
5378 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5379 Declare.
5380
5381 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5382 (fit-frame-to-buffer): Explicit error if --without-x.
5383 (mouse-autoselect-window-select): Silence compiler.
5384
5385 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5386
5387 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5388 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5389 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5390 * eshell/esh-util.el (eshell-sublist):
5391 Remove unused local variables.
5392
5393 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5394
5395 * textmodes/two-column.el: Make 2C-split work for --without-x.
5396 (scroll-bar-columns): Autoload.
5397 (top-level): Require fringe when compiling.
5398
5399 2013-09-18 Leo Liu <sdl.web@gmail.com>
5400
5401 * subr.el (add-hook): Robustify to handle closure as well.
5402
5403 2013-09-17 Glenn Morris <rgm@gnu.org>
5404
5405 * simple.el (messages-buffer-mode-map): Unbind "g".
5406
5407 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * help-mode.el (help-mode-finish): Use derived-mode-p.
5410 Remove obsolete highlighting.
5411
5412 * play/life.el (life-mode): Use define-derived-mode. Derive from
5413 special-mode.
5414 (life): Let-bind inhibit-read-only.
5415 (life-setup): Avoid `setq'. Use `life-mode'.
5416
5417 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5418 which should not be needed any more.
5419 (package-menu-refresh, package-menu-describe-package): Use user-error.
5420
5421 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5422 (eshell-post-rewrite-command-hook): Make obsolete.
5423 (eshell-parse-command): Simplify.
5424 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5425 (eshell--cmd): Declare.
5426 (eshell-parse-pipeline): Remove unused var `final-p'.
5427 Pass a dynvar to eshell-post-rewrite-command-hook.
5428 Implement the new eshell-post-rewrite-command-function.
5429 (eshell-invoke-directly): Remove unused arg `input'.
5430 * eshell/esh-io.el (eshell-io-initialize):
5431 Use eshell-post-rewrite-command-function (bug#15399).
5432 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5433 adjust to new calling convention.
5434 (eshell-create-handles): Rename args to avoid clashing with dynvar
5435 `standard-output'.
5436
5437 2013-09-17 Glenn Morris <rgm@gnu.org>
5438
5439 * simple.el (messages-buffer-mode): New major mode.
5440 (messages-buffer): New function.
5441 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5442 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5443 (ert-run-test): Use `messages-buffer' function.
5444 (ert--force-message-log-buffer-truncation): Ignore read-only.
5445 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5446 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5447
5448 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5451
5452 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5453
5454 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * icomplete.el (icomplete-in-buffer): New var.
5457 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5458 vars and replace them with functions.
5459 (icomplete-minibuffer-setup): Adjust accordingly.
5460 (icomplete--completion-table, icomplete--completion-predicate)
5461 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5462 New functions.
5463 (icomplete-forward-completions, icomplete-backward-completions)
5464 (icomplete-simple-completing-p, icomplete-exhibit)
5465 (icomplete-completions): Use them.
5466 (icomplete--in-region-buffer): New var.
5467 (icomplete--in-region-setup): New function.
5468 (icomplete-mode): Use it.
5469
5470 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5471 (bug#15379).
5472 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5473 return args and options.
5474 (eshell-eval-using-options): Use the new return value of
5475 eshell--do-opts to set the options's vars in their scope.
5476 (eshell--set-option): Rename from eshell-set-option.
5477 Add arg `opt-vals'.
5478 (eshell--process-option): Rename from eshell-process-option.
5479 Add arg `opt-vals'.
5480 (eshell--process-args): Use an `opt-vals' alist to store the options's
5481 values during their processing and return them additionally to the
5482 remaining args.
5483
5484 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5485
5486 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5487 continuation character an operator, as far as indentation is
5488 concerned (Bug#15369).
5489
5490 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5491
5492 * window.el (window--state-put-2): Don't process buffer state
5493 when buffer doesn't exist any more (Bug#15382).
5494
5495 2013-09-15 Glenn Morris <rgm@gnu.org>
5496
5497 * eshell/em-unix.el (eshell/rm):
5498 Make -f ignore missing files. (Bug#15373)
5499
5500 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5501 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5502 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5503
5504 2013-09-14 Glenn Morris <rgm@gnu.org>
5505
5506 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5507
5508 2013-09-13 Glenn Morris <rgm@gnu.org>
5509
5510 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5511 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5512
5513 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5514
5515 * frame.el (x-focus-frame): Mark as declared in frame.c.
5516
5517 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * ls-lisp.el: Use advice-add.
5520 (original-insert-directory): Remove.
5521 (ls-lisp--insert-directory): Rename from insert-directory; add
5522 `orig-fun' argument.
5523 (insert-directory): Advise.
5524
5525 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5526
5527 * term.el (term-emulate-terminal): Decode the command string
5528 before passing it to term-command-hook. (Bug#15337)
5529
5530 2013-09-13 Glenn Morris <rgm@gnu.org>
5531
5532 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5533
5534 * eshell/esh-ext.el (eshell-search-path): Declare.
5535
5536 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5537 Otherwise an error occurs if eshell-dirs module not loaded.
5538
5539 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5540
5541 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5542
5543 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5544 `tramp-check-proper-host'. Check for a valid method name.
5545
5546 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5547 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5548 * net/tramp-sh.el (tramp-maybe-open-connection):
5549 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5550
5551 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5552 also for hash values.
5553
5554 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * term/ns-win.el (parameters): Don't declare as dynamic.
5557 (before-make-frame-hook): Don't add ineffective function.
5558
5559 * eshell/*.el: Use lexical-binding (bug#15231).
5560
5561 2013-09-12 Kenichi Handa <handa@gnu.org>
5562
5563 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5564
5565 2013-09-12 Glenn Morris <rgm@gnu.org>
5566
5567 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5568 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5569
5570 * subr.el (do-after-load-evaluation): Also give compiler warnings
5571 when obsolete files are used (except by obsolete files).
5572
5573 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5574 in the status output, assume `filename' is the first. (Bug#15322)
5575
5576 * vc/vc.el (vc-deduce-fileset): Doc fix.
5577
5578 * calc/calc-help.el (Info-goto-node):
5579 * progmodes/cperl-mode.el (Info-find-node):
5580 * vc/ediff.el (Info-goto-node): Update declarations.
5581
5582 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5583
5584 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5585 (vc-bzr-pull): Require vc-dispatcher.
5586 * vc/vc-git.el (vc-compilation-mode): Declare.
5587 (vc-git-pull): Require vc-dispatcher.
5588
5589 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5590
5591 * progmodes/octave.el (help-button-action): Declare.
5592
5593 * shell.el (shell-directory-tracker): Output error as a message
5594 rather than just returning it as a string.
5595 (shell-process-pushd): Remove useless use of message.
5596
5597 * dframe.el (dframe-timer-fn):
5598 * files.el (dir-locals-read-from-file):
5599 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5600 (mpc-format):
5601 * reveal.el (reveal-post-command):
5602 * saveplace.el (load-save-place-alist-from-file):
5603 * shell.el (shell-resync-dirs):
5604 * w32-common-fns.el (x-get-selection-value):
5605 * emacs-lisp/copyright.el (copyright-find-copyright):
5606 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5607 * emulation/tpu-edt.el (tpu-copy-keyfile):
5608 * play/bubbles.el (bubbles--mark-neighbourhood):
5609 * progmodes/executable.el
5610 (executable-make-buffer-file-executable-if-script-p):
5611 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5612
5613 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 Cleanup Eshell to rely less on dynamic scoping.
5616 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5617 last-value, and ext-command here. Bind `args' closer to `body'.
5618 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5619 (eshell--args): Declare new dynamic var.
5620 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5621 last-value, and ext-command. Pass `args' to `body'.
5622 (eshell-process-args): Bind eshell--args.
5623 (eshell-set-option): Use eshell--args.
5624 * eshell/eshell.el (eshell): Use derived-mode-p.
5625 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5626 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5627 (eshell-glob-function): Declare.
5628 * eshell/esh-util.el: Require cl-lib.
5629 (eshell-read-hosts-file): Avoid add-to-list.
5630 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5631 `err'.
5632 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5633 Declare.
5634 (eshell/diff): Remove unused var `err'.
5635 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5636 `killflag'.
5637 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5638 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5639 first use.
5640 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5641 Move declaration before first use.
5642 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5643 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5644 rely on cl-return.
5645
5646 2013-09-12 Glenn Morris <rgm@gnu.org>
5647
5648 * term/ns-win.el (global-map): Remove binding for ispell-next,
5649 deleted 1999-05-29. (Bug#15357)
5650
5651 2013-09-11 Glenn Morris <rgm@gnu.org>
5652
5653 * echistory.el (electric-command-history): Remove call to deleted func.
5654
5655 * play/landmark.el (landmark-mode): Fix typos.
5656
5657 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5658 Check cvs-sort-ignore-file is bound.
5659
5660 * savehist.el: No need for cl when compiling on Emacs.
5661
5662 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5665 (bug#15338).
5666 (eshell-self-insert-command, eshell-send-invisible):
5667 Remove unused argument.
5668 (eshell-handle-control-codes): Remove unused var `orig'.
5669 Avoid delete-backward-char.
5670
5671 * files.el (set-auto-mode): Simplify a bit further.
5672
5673 2013-09-11 Glenn Morris <rgm@gnu.org>
5674
5675 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5676 (set-auto-mode): Don't regexp-quote elements.
5677 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5678 * progmodes/cc-mode.el (interpreter-mode-alist):
5679 * progmodes/ruby-mode.el (interpreter-mode-alist):
5680 Revert previous change.
5681
5682 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 * play/snake.el (snake-mode):
5685 * play/mpuz.el (mpuz-mode):
5686 * play/landmark.el (lm-mode):
5687 * play/blackbox.el (blackbox-mode):
5688 * play/5x5.el (5x5-mode):
5689 * obsolete/options.el (Edit-options-mode):
5690 * net/quickurl.el (quickurl-list-mode):
5691 * net/newst-treeview.el (newsticker-treeview-mode):
5692 * mail/rmailsum.el (rmail-summary-mode):
5693 * mail/mspools.el (mspools-mode):
5694 * locate.el (locate-mode):
5695 * ibuffer.el (ibuffer-mode):
5696 * emulation/ws-mode.el (wordstar-mode):
5697 * emacs-lisp/debug.el (debugger-mode):
5698 * array.el (array-mode):
5699 * net/eudc.el (eudc-mode): Use define-derived-mode.
5700 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5701 Move initialization into declaration.
5702 (mairix-searches-mode): Use define-derived-mode.
5703 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5704 (eudc-edit-hotlist): Use dolist.
5705 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5706 (Man-mode): Use define-derived-mode.
5707 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5708 (Info-edit-mode): Use define-derived-mode.
5709 (Info-cease-edit): Use Info-mode.
5710 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5711 into declaration.
5712 (eshell-mode): Use define-derived-mode.
5713 * chistory.el (command-history-mode-map): Rename from
5714 command-history-map.
5715 (command-history-mode): Use define-derived-mode.
5716 (Command-history-setup): Remove function.
5717 * calc/calc.el (calc-trail-mode-map): New var.
5718 (calc-trail-mode): Use define-derived-mode.
5719 (calc-trail-buffer): Set calc-main-buffer manually.
5720 * bookmark.el (bookmark-insert-annotation): New function.
5721 (bookmark-edit-annotation): Use it.
5722 (bookmark-edit-annotation-mode): Make it a proper major mode.
5723 (bookmark-send-edited-annotation): Use derived-mode-p.
5724 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5725 closer to its ideal place. Use \' to match EOS.
5726
5727 * profiler.el (profiler-calltree-find): Use function-equal.
5728
5729 2013-09-10 Glenn Morris <rgm@gnu.org>
5730
5731 * files.el (interpreter-mode-alist): Convert to regexps.
5732 (set-auto-mode): Adapt for this. (Bug#15306)
5733 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5734 Comment out unused variable.
5735 * progmodes/cc-mode.el (interpreter-mode-alist):
5736 * progmodes/python.el (interpreter-mode-alist):
5737 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5738 * progmodes/sh-script.el (sh-set-shell):
5739 No longer use interpreter-mode-alist to get list of shells.
5740
5741 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5742
5743 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * simple.el: Use set-temporary-overlay-map for universal-argument.
5746 (universal-argument-map): Don't use default-bindings (bug#15317).
5747 Bind switch-frame explicitly. Replace universal-argument-minus with
5748 a conditional binding.
5749 (universal-argument-num-events, saved-overriding-map): Remove.
5750 (restore-overriding-map): Remove.
5751 (universal-argument--mode): Rename from save&set-overriding-map,
5752 and rewrite.
5753 (universal-argument, universal-argument-more, negative-argument)
5754 (digit-argument): Adjust accordingly.
5755 (universal-argument-minus): Remove.
5756 (universal-argument-other-key): Remove.
5757
5758 * subr.el (with-demoted-errors): Add `format' argument.
5759
5760 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5761
5762 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5763 `tramp-cleanup-connection'.
5764
5765 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5766 parameters KEEP-DEBUG and KEEP-PASSWORD.
5767
5768 * net/tramp.el (tramp-file-name-handler):
5769 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5770 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5771 (tramp-maybe-open-connection):
5772 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5773 Use `tramp-cleanup-connection'.
5774
5775 * net/tramp-sh.el (tramp-maybe-open-connection):
5776 Catch 'uname-changed inside the progress reporter.
5777
5778 2013-09-10 Glenn Morris <rgm@gnu.org>
5779
5780 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5781
5782 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5783 returns "alternate access method" in mode (eg "-rw-r--r--.").
5784
5785 2013-09-08 Glenn Morris <rgm@gnu.org>
5786
5787 * saveplace.el (load-save-place-alist-from-file):
5788 Demote errors. (Bug#15305)
5789
5790 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5791
5792 Improve compatibility with older Emacsen, and XEmacs.
5793
5794 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5795 only if it is bound. It isn't for XEmacs.
5796 (with-tramp-progress-reporter): Do not let-bind `result'.
5797 This yields to scoping errors in XEmacs.
5798 (tramp-handle-make-auto-save-file-name): New function, moved from
5799 tramp-sh.el.
5800
5801 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5802 for `make-auto-save-file-name'.
5803 (tramp-adb--gnu-switches-to-ash):
5804 Use `tramp-compat-replace-regexp-in-string'.
5805
5806 * net/tramp-cache.el (tramp-cache-print): Call
5807 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5808
5809 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5810 bound. It isn't for XEmacs.
5811
5812 * net/tramp-compat.el (tramp-compat-copy-file):
5813 Catch `wrong-number-of-arguments' error.
5814 (tramp-compat-replace-regexp-in-string): New defun.
5815
5816 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5817 for `make-auto-save-file-name'.
5818 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5819 `copy-file'.
5820 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5821 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5822 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5823
5824 * net/tramp-gw.el (tramp-gw-open-network-stream):
5825 Use `tramp-compat-replace-regexp-in-string'.
5826
5827 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5828 Call `tramp-handle-make-auto-save-file-name'.
5829 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5830 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5831 (tramp-sh-file-inotifywait-process-filter):
5832 Use `tramp-compat-replace-regexp-in-string'.
5833 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5834
5835 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5836 for `make-auto-save-file-name'.
5837 (tramp-smb-handle-copy-directory):
5838 Call `tramp-compat-replace-regexp-in-string'.
5839 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5840 (tramp-smb-handle-copy-file): Improve error message.
5841 (tramp-smb-handle-rename-file): Rename directly only in case
5842 `newname' does not exist yet. This is a restriction of smbclient.
5843 (tramp-smb-maybe-open-connection): Rerun the function only when
5844 `auth-sources' is non-nil.
5845
5846 2013-09-08 Kenichi Handa <handa@gnu.org>
5847
5848 * international/characters.el: Set category "^" (Combining) for
5849 more characters.
5850
5851 2013-09-07 Alan Mackenzie <acm@muc.de>
5852
5853 Correctly fontify Java class constructors.
5854 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5855 in Java Mode.
5856 (c-recognize-typeless-decls): Set the Java value to t.
5857 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5858 While handling a "(", add a check for, effectively, Java, and handle a
5859 "typeless" declaration there.
5860
5861 2013-09-07 Roland Winkler <winkler@gnu.org>
5862
5863 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5864 field subtitle for entry type book.
5865
5866 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * minibuffer.el: Make minibuffer-complete call completion-in-region
5869 rather than other way around.
5870 (completion--some, completion-pcm--find-all-completions):
5871 Don't delay signals when debugging.
5872 (minibuffer-completion-contents): Beware fields within the
5873 minibuffer contents.
5874 (completion-all-sorted-completions): Use defvar-local.
5875 (completion--do-completion, completion--cache-all-sorted-completions)
5876 (completion-all-sorted-completions, minibuffer-force-complete):
5877 Add args `beg' and `end'.
5878 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5879 (minibuffer-complete): Use completion-in-region.
5880 (completion-complete-and-exit): New fun, extracted from
5881 minibuffer-complete-and-exit.
5882 (minibuffer-complete-and-exit): Use it.
5883 (completion--complete-and-exit): Rename from
5884 minibuffer--complete-and-exit.
5885 (completion-in-region--single-word): New function, extracted from
5886 minibuffer-complete-word.
5887 (minibuffer-complete-word): Use it.
5888 (display-completion-list): Make `common-substring' argument obsolete.
5889 (completion--in-region): Call completion--in-region-1 instead of
5890 minibuffer-complete.
5891 (completion-help-at-point): Pass boundaries to
5892 minibuffer-completion-help as args rather than via an overlay.
5893 (completion-pcm--string->pattern): Use `any-delim'.
5894 (completion-pcm--optimize-pattern): New function.
5895 (completion-pcm--pattern->regex): Handle `any-delim'.
5896 * icomplete.el (icomplete-forward-completions)
5897 (icomplete-backward-completions, icomplete-completions):
5898 Adjust calls to completion-all-sorted-completions and
5899 completion--cache-all-sorted-completions.
5900 (icomplete-with-completion-tables): Default to t.
5901 * emacs-lisp/crm.el (crm--current-element): Rename from
5902 crm--select-current-element. Don't put an overlay but return the
5903 boundaries instead.
5904 (crm--completion-command): Take two new args to bind to the boundaries.
5905 (crm-completion-help): Adjust accordingly.
5906 (crm-complete): Use completion-in-region.
5907 (crm-complete-word): Use completion-in-region--single-word.
5908 (crm-complete-and-exit): Use completion-complete-and-exit.
5909
5910 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5913 than dynamically.
5914
5915 2013-09-06 Juri Linkov <juri@jurta.org>
5916
5917 * info.el (Info-display-images-node): When image file doesn't exist
5918 display text version of the image if it's provided in the Info file.
5919 Otherwise, display the location of missing image from SRC attribute.
5920 Add help-echo text property from ALT attribute. (Bug#15279)
5921
5922 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5925 (edit-abbrevs-mode): Use define-derived-mode.
5926
5927 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5928 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5929 that it's defined.
5930 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5931 Use define-derived-mode.
5932
5933 * epg.el (epg-start-encrypt): Minor CSE simplification.
5934
5935 2013-09-06 William Xu <william.xwl@gmail.com>
5936
5937 * arc-mode.el: Add support for 7za (bug#15264).
5938 (archive-7z-program): New var.
5939 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5940 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5941 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5942
5943 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5944
5945 Remove URL syntax.
5946
5947 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5948 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5949 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5950 (tramp-postfix-host-format, tramp-file-name-regexp)
5951 (tramp-completion-file-name-regexp)
5952 (tramp-completion-dissect-file-name)
5953 (tramp-handle-substitute-in-file-name): Remove 'url case.
5954 (tramp-file-name-regexp-url)
5955 (tramp-completion-file-name-regexp-url): Remove constants.
5956
5957 2013-09-06 Glenn Morris <rgm@gnu.org>
5958
5959 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5960
5961 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5962
5963 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5964 keywords" below "here-doc beginnings" (Bug#15270).
5965
5966 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5967
5968 * subr.el (pop): Use `car-safe'.
5969 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5970 to detect unused `pop' return value.
5971
5972 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5973 var `block-regexp'.
5974 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5975 (python-fill-string): Remove unused var `marker'.
5976 (python-skeleton-add-menu-items): Remove unused var `items'.
5977
5978 * international/mule-cmds.el: Require CL.
5979 (find-coding-systems-for-charsets): Avoid add-to-list.
5980 (sanitize-coding-system-list): New function, extracted from
5981 select-safe-coding-system-interactively.
5982 (select-safe-coding-system-interactively): Use it.
5983 (read-input-method-name): Accept symbols for `default'.
5984
5985 * emacs-lisp/advice.el (defadvice): Add indent rule.
5986
5987 2013-09-05 Daniel Hackney <dan@haxney.org>
5988
5989 * dired-x.el:
5990 * net/ange-ftp.el:
5991 * net/browse-url.el:
5992 * net/dbus.el:
5993 * net/eudc.el:
5994 * net/eudcb-ldap.el:
5995 * net/eww.el:
5996 * net/imap.el:
5997 * printing.el:
5998 * vc/ediff-diff.el:
5999 * vc/ediff-init.el:
6000 * vc/ediff-merg.el:
6001 * vc/ediff-mult.el:
6002 * vc/ediff-util.el:
6003 * vc/ediff-wind.el:
6004 * vc/ediff.el:
6005 * vc/emerge.el:
6006 * vc/pcvs.el:
6007 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6008 byte compiler. Remove some unused let-bound variables.
6009
6010 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6013 a "ref-cell", since it gets better optimized (bug#14883).
6014
6015 2013-09-05 Glenn Morris <rgm@gnu.org>
6016
6017 * progmodes/cc-awk.el (c-forward-sws): Declare.
6018
6019 2013-09-04 Glenn Morris <rgm@gnu.org>
6020
6021 * generic-x.el [rul-generic-mode]: Require cc-mode.
6022 (c++-mode-syntax-table): Declare.
6023 (rul-generic-mode-syntax-table): Init in the defvar.
6024
6025 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6028 (vc-do-command, vc-set-async-update):
6029 * vc/vc-mtn.el (vc-mtn-dir-status):
6030 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6031 (vc-hg-pull, vc-hg-merge-branch):
6032 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6033 (vc-git-merge-branch):
6034 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6035 (vc-cvs-dir-status-files):
6036 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6037 (vc-bzr-dir-status-files):
6038 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6039 * vc/vc-annotate.el: Use lexical-binding.
6040 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6041 (vc-sentinel-movepoint): Declare.
6042 (vc-annotate): Don't use `goto-line'.
6043 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6044 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6045 (vc-sentinel-movepoint): Declare.
6046 * vc/vc-svn.el: Use lexical-binding.
6047 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6048 * vc/vc-sccs.el:
6049 * vc/vc-rcs.el: Use lexical-binding.
6050
6051 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6052 `deleted'. Don't drop errors silently.
6053
6054 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6055
6056 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6057
6058 * vc/vc.el (vc-ignore): Rewrite.
6059 (vc-default-ignore): New function.
6060 (vc-default-ignore-completion-table): Use find-ignore-file.
6061
6062 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6063 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6064 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6065 Remove. Most code moved to vc.el.
6066
6067 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6070 * net/tramp-smb.el (tramp-smb-get-file-entries):
6071 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6072 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6073
6074 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6075 Update call to it.
6076 (eww-change-select): Remove unused var `properties'.
6077 (eww-make-unique-file-name): Remove unused var `base'.
6078
6079 * finder.el (finder-compile-keywords): Don't mess with windows.
6080
6081 * calculator.el (calculator-funcall): Fix typo in last change.
6082
6083 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6084
6085 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6086 <pkg>-autoloads.el file stop us.
6087
6088 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6089 warnings, and factor out common code.
6090
6091 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6092
6093 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6094 two-character operators and whether the character preceding them
6095 changes their meaning (Bug#15208).
6096
6097 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6098
6099 Format code sent to Python shell for robustness.
6100 * progmodes/python.el (python-shell-buffer-substring):
6101 New function.
6102 (python-shell-send-region, python-shell-send-buffer): Use it.
6103
6104 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6105
6106 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6107 * net/tramp.el (tramp-user-error): ... here.
6108 (tramp-find-method, tramp-check-proper-host)
6109 (tramp-dissect-file-name, tramp-debug-message)
6110 (tramp-handle-shell-command):
6111 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6112 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6113
6114 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6115
6116 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6117
6118 * avoid.el (mouse-avoidance-point-position)
6119 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6120 returns nil.
6121
6122 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6123
6124 * progmodes/python.el (python-shell-completion-get-completions):
6125 Drop use of deleted `comint-last-prompt-overlay'.
6126 (python-nav-if-name-main): New command.
6127
6128 2013-09-01 Glenn Morris <rgm@gnu.org>
6129
6130 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6131 Avoid leading space in $wins. Otherwise the sed command used by
6132 eg compile-main ends up containing "/*.el". (Bug#15170)
6133
6134 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6135
6136 2013-08-30 Glenn Morris <rgm@gnu.org>
6137
6138 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6139 Fix is-this-a-directory logic. (Bug#15220)
6140
6141 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6142
6143 * textmodes/css-mode.el: Use SMIE.
6144 (css-smie-grammar): New var.
6145 (css-smie--forward-token, css-smie--backward-token)
6146 (css-smie-rules): New functions.
6147 (css-mode): Use them.
6148 (css-navigation-syntax-table): Remove var.
6149 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6150 (css-indent-calculate, css-indent-line): Remove functions.
6151
6152 Misc changes to reduce use of `(lambda...); and other cleanups.
6153 * cus-edit.el: Use lexical-binding.
6154 (customize-push-and-save, customize-apropos)
6155 (custom-buffer-create-internal): Use closures.
6156 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6157 * progmodes/ada-xref.el: Use setq.
6158 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6159 * dframe.el: Use lexical-binding.
6160 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6161 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6162 * descr-text.el: Use lexical-binding.
6163 (describe-text-widget, describe-text-sexp, describe-property-list):
6164 Use closures.
6165 * comint.el (comint-history-isearch-push-state): Use a closure.
6166 * calculator.el: Use lexical-binding.
6167 (calculator-number-to-string): Make it work with lexical-binding.
6168 (calculator-funcall): Same and use cl-letf.
6169
6170 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6171 (lisp--company-doc-string, lisp--company-location): New functions.
6172 (lisp-completion-at-point): Use them to improve Company support.
6173
6174 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6175 params of lambda expressions.
6176 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6177 (ruby-smie--opening-pipe-p): New function.
6178 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6179 symbols and matched |...| for formal params.
6180 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6181 from being treated as hanging. Handle "rescue".
6182
6183 2013-08-29 Glenn Morris <rgm@gnu.org>
6184
6185 * progmodes/cc-engine.el (c-pull-open-brace):
6186 Move definition before use.
6187
6188 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6191 are immutable. Don't use `unsafe' any more.
6192 (cl--defsubst-expand): Don't substitute at the same time as keeping
6193 a residual unused let-binding. Don't use `unsafe' any more.
6194
6195 2013-08-29 Glenn Morris <rgm@gnu.org>
6196
6197 * calendar/cal-china.el (calendar-chinese-year-cache):
6198 Recenter on 2015.
6199
6200 * nxml/nxml-util.el (nxml-debug-clear-inside):
6201 Use cl-loop rather than loop.
6202
6203 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6204
6205 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6206
6207 2013-08-28 Glenn Morris <rgm@gnu.org>
6208
6209 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6210
6211 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6212
6213 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6214
6215 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6216
6217 * simple.el (repeat-complex-command--called-interactively-skip):
6218 New function.
6219 (repeat-complex-command): Use it (bug#14136).
6220
6221 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6222 (c-define-abbrev-table): Add `doc' argument.
6223 (c-mode-abbrev-table, c++-mode-abbrev-table)
6224 (objc-mode-abbrev-table, java-mode-abbrev-table)
6225 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6226 (awk-mode-abbrev-table): Use it.
6227 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6228 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6229 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6230 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6231 Move initialization into the declaration; and remove any
6232 autoload cookie.
6233
6234 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6235 and dynamic let binding.
6236
6237 * vc/smerge-mode.el: Remove redundant :group args.
6238
6239 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6240 to load-path.
6241
6242 2013-08-28 Juri Linkov <juri@jurta.org>
6243
6244 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6245 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6246 (isearch-other-meta-char): Handle an undefined shifted printing
6247 character by downshifting it. (Bug#15200)
6248
6249 2013-08-28 Juri Linkov <juri@jurta.org>
6250
6251 * isearch.el (isearch-search): Change regexp error message for
6252 non-regexp searches. (Bug#15166)
6253
6254 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6255
6256 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6257 for portability to hosts where /bin/sh has problems.
6258
6259 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6262
6263 2013-08-27 Juri Linkov <juri@jurta.org>
6264
6265 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6266 in the keyboard macro. (Bug#15126)
6267
6268 2013-08-27 Juri Linkov <juri@jurta.org>
6269
6270 * isearch.el (isearch-quote-char): Comment out converting unibyte
6271 to multibyte, thus syncing with its `quoted-insert' counterpart.
6272 (Bug#15166)
6273
6274 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6275
6276 * window.el (display-buffer-use-some-window): Add missing
6277 argument in call of get-largest-window (Bug#15185).
6278 Reported by Stephen Leake.
6279
6280 2013-08-27 Glenn Morris <rgm@gnu.org>
6281
6282 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6283
6284 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6287 from a matcher-function unless there's no more matches (bug#15161).
6288
6289 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6290
6291 * minibuffer.el: Revert change from 2013-08-20.
6292
6293 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6294 with text property `tramp-default', if appropriate.
6295 (tramp-check-proper-host): New defun.
6296 (tramp-dissect-file-name): Do not check hostname. Revert change
6297 of 2013-03-18.
6298 (tramp-backtrace): Make VEC-OR-PROC optional.
6299
6300 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6301 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6302 * net/tramp-sh.el (tramp-maybe-open-connection):
6303 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6304 Apply `tramp-check-proper-host'.
6305
6306 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6307
6308 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6309 lambda expression in order to have `describe-variable' display it.
6310
6311 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6312
6313 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6314 BUF can be optional. (Bug#15186)
6315
6316 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6317
6318 * progmodes/flymake.el (flymake-get-real-file-name-function):
6319 Fix broken customization. (Bug#15184)
6320
6321 2013-08-25 Alan Mackenzie <acm@muc.de>
6322
6323 Improve indentation of bracelists defined by macros (without "=").
6324
6325 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6326 expansion begins with "{", regard it as bracelist when it doesn't
6327 contain a ";".
6328
6329 Parse C++ inher-intro when there's a template split over 2 lines.
6330
6331 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6332 rigorously the search for "class" etc. followed by ":".
6333
6334 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6335 random languages a regexp which never matches rather than nil.
6336
6337 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6338
6339 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6340 (c-awk-regexp-one-line-possibly-open-char-list-re)
6341 (c-awk-one-line-possibly-open-regexp-re)
6342 (c-awk-one-line-non-syn-ws*-re): Remove.
6343 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6344 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6345 (c-awk-space*-unclosed-regexp-/-re): New constants.
6346 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6347 aren't regexp delimiters.
6348
6349 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6350 handling for a rare situation in AWK Mode involving unterminated
6351 strings/regexps.
6352
6353 2013-08-23 Glenn Morris <rgm@gnu.org>
6354
6355 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6356
6357 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6358
6359 * files.el (create-file-buffer): If the result would begin with
6360 spaces, prepend a "|" instead of removing them. (Bug#15162)
6361
6362 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6365 text-properties (bug#15155).
6366
6367 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6368 exist any more.
6369 (calc-keypad-redraw): Remove unused var `pad'.
6370 (calc-keypad-press): Remove unused var `menu'.
6371
6372 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6373
6374 * window.el (display-buffer-pop-up-frame):
6375 Call pop-up-frame-function with BUFFER current so `make-frame' will
6376 use it as the new frame's buffer (Bug#15133).
6377
6378 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * calendar/timeclock.el: Minor cleanups.
6381 (timeclock-ask-before-exiting, timeclock-use-display-time):
6382 Use `symbol'.
6383 (timeclock-modeline-display): Define as alias before the
6384 actual definition.
6385 (timeclock-mode-line-display): Use define-minor-mode.
6386 (timeclock-day-list-template): Make it a function, add an argument.
6387 (timeclock-day-list-required, timeclock-day-list-length)
6388 (timeclock-day-list-debt, timeclock-day-list-span)
6389 (timeclock-day-list-break): Adjust calls accordingly.
6390
6391 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6394 Use read--expression so that completion works again.
6395
6396 2013-08-21 Sam Steingold <sds@gnu.org>
6397
6398 Add rudimentary inferior shell interaction
6399 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6400 (sh-set-shell): Reset it.
6401 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6402 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6403
6404 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * align.el: Use lexical-binding.
6407 (align-region): Simplify accordingly.
6408
6409 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6410
6411 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6412
6413 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6414 `non-essential' up.
6415
6416 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6417
6418 * net/tramp.el:
6419 * net/tramp-adb.el:
6420 * net/tramp-cmds.el:
6421 * net/tramp-ftp.el:
6422 * net/tramp-gvfs.el:
6423 * net/tramp-gw.el:
6424 * net/tramp-sh.el: Don't wrap external variable declarations by
6425 `eval-when-compile'.
6426
6427 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6428
6429 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6430 now that Emacs supports ImageMagick animations.
6431
6432 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6433
6434 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6435 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6436
6437 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6438
6439 * window.el (mouse-autoselect-window-select): Do autoselect when
6440 mouse pointer is on margin.
6441
6442 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6443
6444 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6445
6446 2013-08-16 Glenn Morris <rgm@gnu.org>
6447
6448 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6449 Handle "Remote Directory" response of some clients. (Bug#15058)
6450
6451 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6452 Tweak warning. (Bug#14926)
6453
6454 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6455 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6456
6457 * image-mode.el (image-mode-map): Add menu items to reverse,
6458 increase, decrease, reset animation speed.
6459 (image--set-speed, image-increase-speed, image-decrease-speed)
6460 (image-reverse-speed, image-reset-speed): New functions.
6461 (image-mode-map): Add bindings for speed commands.
6462
6463 * image.el (image-animate-get-speed, image-animate-set-speed):
6464 New functions.
6465 (image-animate-timeout): Respect image :speed property.
6466
6467 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6468
6469 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6470 previous line (bug#15101).
6471 (debugger-eval-expression, debugger-record-expression):
6472 Use read--expression (bug#15102).
6473
6474 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6475
6476 Remove byte compiler warnings, visible when compiling with
6477 `byte-compile-force-lexical-warnings' set to t.
6478
6479 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6480 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6481 (tramp-handle-unhandled-file-name-directory)
6482 (tramp-handle-file-notify-add-watch, tramp-action-login)
6483 (tramp-action-succeed, tramp-action-permission-denied)
6484 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6485 arguments with "_".
6486
6487 * net/tramp-adb.el (tramp-adb-parse-device-names)
6488 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6489 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6490 (tramp-adb-handle-file-truename): Remove unused arguments.
6491
6492 * net/tramp-cache.el (tramp-flush-directory-property)
6493 (tramp-flush-connection-property, tramp-list-connections)
6494 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6495
6496 * net/tramp-compat.el (tramp-compat-make-temp-file):
6497 Rename FILENAME to F.
6498
6499 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6500 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6501 (tramp-zeroconf-parse-workstation-device-names)
6502 (tramp-zeroconf-parse-webdav-device-names)
6503 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6504
6505 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6506 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6507
6508 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6509 arguments.
6510 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6511 (tramp-sh-handle-insert-file-contents-literally)
6512 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6513 with "_".
6514 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6515 Remove unused variables.
6516
6517 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6518 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6519 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6520
6521 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6522 Make them a defconst.
6523 (tramp-uuencode-region): Remove unused variable.
6524
6525 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * frameset.el (frameset--prop-setter): New function.
6528 (frameset-prop): Add gv-setter declaration.
6529 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6530 parameter was already set in FILTERED. Doc fix.
6531 (frameset--record-minibuffer-relationships): Allow saving a
6532 minibufferless frame without its corresponding minibuffer frame.
6533 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6534 frame, if the frame id matches.
6535 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6536 frames before orphaned ones.
6537 (frameset-restore): Warn about orphaned windows, instead of error out.
6538
6539 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6540
6541 * window.el (window-make-atom): Don't overwrite parameter
6542 already present.
6543 (display-buffer-in-atom-window): Handle special case where we
6544 split an already atomic window.
6545 (window--major-non-side-window, display-buffer-in-side-window)
6546 (window--side-check): Ignore minibuffer window when walking
6547 window tree.
6548 (window-deletable-p): Return 'frame only if no other frame uses
6549 our minibuffer window.
6550 (record-window-buffer): Run buffer-list-update-hook.
6551 (split-window): Make sure window--check-frame won't destroy an
6552 existing atomic window in case the new window gets nested
6553 inside.
6554 (display-buffer-at-bottom): Ignore minibuffer window when
6555 walking window tree. Don't split a side window.
6556 (pop-to-buffer): Don't set-buffer here, the select-window call
6557 should do that.
6558 (mouse-autoselect-window-select): Autoselect only if we are in the
6559 text portion of the window.
6560
6561 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6562
6563 * net/shr.el (shr-parse-image-data): New function to grab both the
6564 data itself and the Content-Type.
6565 (shr-put-image): Use it.
6566
6567 * net/eww.el (eww-display-image): Ditto.
6568
6569 * image.el (image-content-type-suffixes): New variable.
6570
6571 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6572
6573 * progmodes/python.el (python-imenu--build-tree)
6574 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6575
6576 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6577
6578 * simple.el (backward-word): Mention the optional argument.
6579
6580 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * frameset.el (frameset--make): Rename constructor from make-frameset.
6583 (frameset-p, frameset-valid-p): Don't autoload.
6584 (frameset-valid-p): Use normal accessors.
6585
6586 2013-08-13 Glenn Morris <rgm@gnu.org>
6587
6588 * progmodes/compile.el (compile-command): Tweak example in doc.
6589 * obsolete/scribe.el (scribe-mode):
6590 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6591
6592 * mail/feedmail.el (feedmail-confirm-outgoing)
6593 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6594
6595 * cus-start.el (truncate-partial-width-windows): Fix type.
6596
6597 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6598
6599 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6600
6601 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * emacs-lisp/timer.el (timer--time-setter): New function.
6604 (timer--time): Use it as gv-setter.
6605
6606 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6607 setter is not a symbol.
6608
6609 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6610
6611 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6612 if sending fails. This makes debugging easier.
6613
6614 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6615
6616 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6617 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6618 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6619
6620 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6621
6622 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6623
6624 2013-08-12 Glenn Morris <rgm@gnu.org>
6625
6626 * format.el (format-annotate-function):
6627 Handle read-only text properties in the source. (Bug#14887)
6628
6629 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6630
6631 * net/eww.el (eww-display-html): Ignore coding system errors.
6632 One web site uses "utf-8lias" as the coding system.
6633
6634 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6635
6636 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6637
6638 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6639
6640 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6641 (tutorial--detailed-help): Remove unused local variables.
6642 (tutorial--save-tutorial-to): Use ignore-errors.
6643 (help-with-tutorial): Use looking-at-p.
6644
6645 * view.el (view-buffer-other-window, view-buffer-other-frame):
6646 Mark unused arguments.
6647
6648 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6649 (woman-select-symbol-fonts, woman, woman-find-file)
6650 (woman-insert-file-contents, woman-non-underline-faces):
6651 Use string-match-p.
6652 (woman1-unquote): Move declaration.
6653
6654 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6655 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6656 argument. Remove unused local variable.
6657 (xml-parse-elem-type): Use string-match-p.
6658 (xml-substitute-numeric-entities): Use ignore-errors.
6659
6660 * calculator.el (calculator): Mark unused argument.
6661 (calculator-paste, calculator-quit, calculator-integer-p):
6662 Use ignore-errors.
6663 (calculator-string-to-number, calculator-decimal, calculator-exp)
6664 (calculator-op-or-exp): Use string-match-p.
6665
6666 * dired.el (dired-buffer-more-recently-used-p): Declare.
6667 (dired-insert-set-properties, dired-insert-old-subdirs):
6668 Use ignore-errors.
6669
6670 * dired-aux.el (dired-compress): Use ignore-errors.
6671 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6672 (dired-do-async-shell-command, dired-do-shell-command)
6673 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6674 (dired-insert-subdir-validate): Use string-match-p.
6675 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6676 (dired-add-entry): Use string-match-p, looking-at-p.
6677 (dired-insert-subdir-newpos): Remove unused local variable.
6678
6679 * filenotify.el (file-notify-callback): Remove unused local variable.
6680
6681 * filesets.el (filesets-error): Mark unused argument.
6682 (filesets-which-command-p, filesets-filter-dir-names)
6683 (filesets-directory-files, filesets-get-external-viewer)
6684 (filesets-ingroup-get-data): Use string-match-p.
6685
6686 * find-file.el (ff-other-file-name, ff-other-file-name)
6687 (ff-find-the-other-file, ff-cc-hh-converter):
6688 Remove unused local variables.
6689 (ff-get-file-name): Use string-match-p.
6690 (ff-all-dirs-under): Use ignore-errors.
6691
6692 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6693 (follow-select-if-visible): Remove unused local variable.
6694
6695 * forms.el (read-file-filter): Move declaration.
6696 (forms--make-format, forms--make-parser, forms-insert-record):
6697 Quote function with #'.
6698 (forms--update): Use string-match-p. Quote function with #'.
6699
6700 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6701 (help-make-xrefs): Use looking-at-p.
6702 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6703
6704 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6705 (ibuffer-confirm-operation-on): Use string-match-p.
6706
6707 * msb.el (msb-item-handler, msb-dired-item-handler):
6708 Mark unused arguments.
6709
6710 * ses.el (ses-decode-cell-symbol)
6711 (ses-kill-override): Remove unused local variable.
6712 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6713 (ses-load): Use ignore-errors, looking-at-p.
6714 (ses-jump-safe): Use ignore-errors.
6715 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6716
6717 * tabify.el (untabify, tabify): Mark unused arguments.
6718
6719 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6720 Mark unused argument.
6721 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6722 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6723
6724 * emacs-lisp/timer.el (timer--time): Define setter with
6725 gv-define-setter to avoid deprecation warning.
6726
6727 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6728 (*record-cmpl-statistics-p*): Remove (was commented out).
6729 (cmpl-statistics-block): Remove (body was commented out).
6730 All callers changed.
6731 (add-completions-from-buffer, load-completions-from-file):
6732 Remove unused variables.
6733
6734 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6735
6736 * filecache.el (file-cache-delete-file-list):
6737 Print message only when told so.
6738 (file-cache-files-matching): Use #' in mapconcat argument.
6739
6740 * ffap.el (ffap-url-at-point): Fix reference to variable
6741 thing-at-point-default-mail-uri-scheme.
6742
6743 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * subr.el (define-error): New function.
6746 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6747 error-file-not-found and define with define-error.
6748 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6749 and define with define-error.
6750 * userlock.el (file-locked, file-supersession):
6751 * simple.el (mark-inactive):
6752 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6753 * progmodes/ada-mode.el (ada-mode-errors):
6754 * play/life.el (life-extinct):
6755 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6756 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6757 * nxml/rng-util.el (rng-error):
6758 * nxml/rng-uri.el (rng-uri-error):
6759 * nxml/rng-match.el (rng-compile-error):
6760 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6761 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6762 * nxml/nxml-rap.el (nxml-scan-error):
6763 * nxml/nxml-outln.el (nxml-outline-error):
6764 * net/soap-client.el (soap-error):
6765 * net/gnutls.el (gnutls-error):
6766 * net/ange-ftp.el (ftp-error):
6767 * mpc.el (mpc-proc-error):
6768 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6769 (json-number-format, json-string-escape, json-string-format)
6770 (json-key-format, json-object-format):
6771 * jka-compr.el (compression-error):
6772 * international/quail.el (quail-error):
6773 * international/kkc.el (kkc-error):
6774 * emacs-lisp/ert.el (ert-test-failed):
6775 * calc/calc.el (calc-error, inexact-result, math-overflow)
6776 (math-underflow):
6777 * bookmark.el (bookmark-error-no-filename):
6778 * epg.el (epg-error): Define with define-error.
6779
6780 * time.el (display-time-event-handler)
6781 (display-time-next-load-average): Don't call sit-for since it seems
6782 unnecessary (bug#15045).
6783
6784 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6785 Use #' instead of ' to quote functions.
6786 (checkdoc-output-mode): Use setq-local.
6787 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6788 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6789 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6790 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6791 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6792 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6793 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6794 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6795
6796 * ido.el (ido-completion-help): Fix up compiler warning.
6797
6798 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * frameset.el (frameset-p): Add autoload cookie.
6801 (frameset--jump-to-register): New function, based on code moved from
6802 register.el.
6803 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6804
6805 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6806 (frameset-restore, frameset-save, frameset-session-filter-alist):
6807 Remove declarations.
6808 (register-alist): Doc fix.
6809 (frameset-to-register): Move to frameset.el.
6810 (jump-to-register, describe-register-1): Remove frameset-specific code.
6811
6812 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6813
6814 * allout-widgets.el (allout-widgets-pre-command-business)
6815 (allout-widgets-post-command-business)
6816 (allout-widgets-after-change-handler)
6817 (allout-decorate-item-and-context, allout-set-boundary-marker)
6818 (allout-body-modification-handler)
6819 (allout-graphics-modification-handler): Mark ignored arguments.
6820 (allout-widgets-post-command-business)
6821 (allout-widgets-exposure-change-processor)
6822 (allout-widgets-exposure-undo-processor)
6823 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6824 (allout-parse-item-at-point, allout-decorate-item-guides)
6825 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6826 * allout.el (epa-passphrase-callback-function): Declare.
6827 (allout-overlay-insert-in-front-handler)
6828 (allout-overlay-interior-modification-handler)
6829 (allout-isearch-end-handler, allout-chart-siblings)
6830 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6831 (allout-yank-processing, allout-process-exposed)
6832 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6833 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6834 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6835 (lisp-indent-defform): Mark ignored arguments.
6836 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6837 (calculate-lisp-indent): Remove unused variables.
6838 * international/characters.el (indian-2-column, arabic-2-column)
6839 (tibetan): Mark ignored arguments.
6840 (use-cjk-char-width-table): Mark ignored arguments.
6841 Remove unused variables.
6842 * international/fontset.el (build-default-fontset-data)
6843 (x-compose-font-name, create-fontset-from-fontset-spec):
6844 Mark ignored arguments.
6845 (fontset-plain-name): Remove unused variables.
6846 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6847 (keyboard-coding-system): Mark ignored arguments.
6848 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6849 * help.el (resize-temp-buffer-window):
6850 * window.el (display-buffer-in-major-side-window)
6851 (display-buffer-in-side-window, display-buffer-in-previous-window):
6852 Remove unused variables.
6853 * isearch.el (isearch-forward-symbol):
6854 * version.el (emacs-bzr-version-bzr):
6855 * international/mule-cmds.el (current-language-environment):
6856 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6857 (x-handle-display):
6858 * term/pc-win.el (x-list-fonts, x-display-planes)
6859 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6860 (x-server-version, x-display-screens, x-display-mm-height)
6861 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6862 (x-selection-owner-p, x-own-selection-internal)
6863 (x-disown-selection-internal, x-get-selection-internal)
6864 (msdos-initialize-window-system):
6865 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6866 * term/x-win.el (x-handle-no-bitmap-icon):
6867 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6868 (vc-default-find-file-hook, vc-default-extra-menu):
6869 Mark ignored arguments.
6870
6871 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6874 break-condition in the context of the debugged code (bug#12685).
6875
6876 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6877
6878 * comint.el:
6879 Do not use an overlay to highlight the last prompt. (Bug#14744)
6880 (comint-mode): Make comint-last-prompt buffer local.
6881 (comint-last-prompt): New variable.
6882 (comint-last-prompt-overlay): Remove. Superseded by
6883 comint-last-prompt.
6884 (comint-snapshot-last-prompt, comint-output-filter):
6885 Use comint-last-prompt.
6886
6887 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6890 (frameset-save): Check validity of the resulting frameset.
6891
6892 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6893
6894 * ido.el (ido-record-command): Add doc string.
6895
6896 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6897
6898 * frameset.el (frameset): Do not disable creation of the default
6899 frameset-p predicate. Doc fix.
6900 (frameset-valid-p): New function, copied from the old predicate-p.
6901 Add additional checks.
6902 (frameset-restore): Check with frameset-valid-p.
6903 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6904 (frameset-name, frameset-description, frameset-properties)
6905 (frameset-states): Add docstring.
6906 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6907 (frameset-filter-alist): Doc fixes.
6908
6909 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6910
6911 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6912
6913 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6916 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6917 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6918 (byte-compile-normal-call): Remove obsolescence check.
6919
6920 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6921
6922 * frameset.el (frameset-restore): Doc fix.
6923
6924 * register.el (frameset-frame-id, frameset-frame-with-id)
6925 (frameset-p, frameset-restore, frameset-save): Declare.
6926 (register-alist): Document framesets.
6927 (frameset-session-filter-alist): Declare.
6928 (frameset-to-register): New function.
6929 (jump-to-register): Implement jumping to framesets. Doc fix.
6930 (describe-register-1): Describe framesets.
6931
6932 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6933
6934 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6935
6936 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6937 Use lexical-binding.
6938
6939 * frameset.el (frameset): Use type vector, not list (incompatible
6940 change). Do not declare a new constructor, use the default one.
6941 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6942 `name' and `description', respectively, and add read-only slot
6943 `timestamp'. Doc fixes.
6944 (frameset-copy, frameset-persistent-filter-alist)
6945 (frameset-filter-alist, frameset-switch-to-gui-p)
6946 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6947 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6948 (frameset-filter-iconified, frameset-keep-original-display-p):
6949 Doc fixes.
6950 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6951 Rename from frameset-filter-(save|restore)-param. All callers changed.
6952 Doc fix.
6953 (frameset-p): Adapt to change to vector and be more thorough.
6954 Change arg name to OBJECT. Doc fix.
6955 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6956 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6957 All callers changed.
6958 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6959 All callers changed.
6960 (frameset--record-minibuffer-relationships): Rename from
6961 frameset--process-minibuffer-frames. All callers changed.
6962 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6963 Use new default constructor (again). Doc fix.
6964 (frameset--find-frame-if): Rename from `frameset--find-frame'.
6965 All callers changed.
6966 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6967 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6968 Doc fix.
6969 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6970 PARAMETERS and WINDOW-STATE, respectively.
6971 (frameset-restore): Add new keyword argument PREDICATE.
6972 Reset frameset--target-display to nil. Doc fix.
6973
6974 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6977 (bat-mode): Use it.
6978 (bat-mode-syntax-table): Mark \n as end-of-comment.
6979 (bat-font-lock-keywords): Remove comment rule.
6980
6981 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6982 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6983
6984 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6985 (byte-compile-callargs-warn): Use `push'.
6986 (byte-compile-arglist-warn): Ignore higher-order "calls".
6987 (byte-compile-file-form-autoload): Use `pcase'.
6988 (byte-compile-function-form): If quoting a symbol, check that it exists.
6989
6990 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6991
6992 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6993 and add a few popular commands found in batch files.
6994 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6995 (dos-mode): Doc fixes.
6996
6997 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7000 (dos-mode): Use setq-local. Add space after "rem".
7001 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7002 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7003
7004 2013-08-07 Arni Magnusson <arnima@hafro.is>
7005
7006 * progmodes/dos.el: New file.
7007 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7008 dos-mode.
7009
7010 2013-08-06 Glenn Morris <rgm@gnu.org>
7011
7012 * calendar/calendar.el: Add new faces, and day-header-array.
7013 (calendar-weekday-header, calendar-weekend-header)
7014 (calendar-month-header): New faces.
7015 (calendar-day-header-construct): New function.
7016 (calendar-day-header-width): Also :set calendar-day-header-array.
7017 (calendar-american-month-header, calendar-european-month-header)
7018 (calendar-iso-month-header): Use calendar- faces.
7019 (calendar-generate-month):
7020 Use calendar-day-header-array for day headers; apply faces to them.
7021 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7022 (calendar-abbrev-construct): Add optional maxlen argument.
7023 (calendar-day-name-array): Doc fix.
7024 (calendar-day-name-array, calendar-abbrev-length)
7025 (calendar-day-abbrev-array):
7026 Also :set calendar-day-header-array, and maybe redraw.
7027 (calendar-day-header-array): New option. (Bug#15007)
7028 (calendar-font-lock-keywords): Set to nil and make obsolete.
7029 (calendar-day-name): Add option to use header array.
7030
7031 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7032
7033 * net/shr.el (shr-render-td): Remove debugging.
7034 (shr-render-td): Make width computation consistent by defaulting
7035 all zero-width columns to 10 characters. This may not be optimal,
7036 but it's at least consistent.
7037 (shr-make-table-1): Redo last change to fix the real problem in
7038 colspan handling.
7039
7040 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7041
7042 * files.el (cache-long-line-scans):
7043 Make obsolete alias to `cache-long-scans'.
7044
7045 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7046
7047 * frameset.el (frameset, frameset-filter-alist)
7048 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7049 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7050 (frameset-compute-pos): Rename from frameset--compute-pos,
7051 and add docstring.
7052 (frameset-move-onscreen): Use frameset-compute-pos.
7053 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7054
7055 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7056 Fix typos in docstrings.
7057
7058 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7059
7060 * frame.el (get-other-frame): Tiny cleanup.
7061
7062 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7063
7064 * vc/vc.el (vc-default-ignore-completion-table):
7065 Silence byte-compiler warning.
7066
7067 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7068 slot, which can indeed be nil.
7069 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7070 Move entry for `left' from persistent to live filter alist.
7071 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7072 Doc fixes.
7073 (frameset-filter-params): When restoring a frame, copy items added to
7074 `filtered', to avoid unwittingly modifying the original parameters.
7075 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7076 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7077
7078 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7079 to use looking-at-p instead of looking-at. (Bug#15028)
7080
7081 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 Revert introduction of isearch-filter-predicates (bug#14714).
7084 Rely on add-function instead.
7085 * isearch.el (isearch-filter-predicates): Rename it back to
7086 isearch-filter-predicate.
7087 (isearch-message-prefix): Use advice-function-mapc and advice
7088 properties to get the isearch-message-prefix.
7089 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7090 instead of run-hook-with-args-until-failure.
7091 (isearch-filter-visible): Not obsolete any more.
7092 * loadup.el: Preload nadvice.
7093 * replace.el (perform-replace): Revert to funcall
7094 instead of run-hook-with-args-until-failure.
7095 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7096 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7097 dired-isearch-filenames-toggle; make it into a proper minor mode.
7098 Use add/remove-function.
7099 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7100 Call the minor-mode rather than add/remove-hook.
7101 (dired-isearch-filter-filenames):
7102 Remove isearch-message-prefix property.
7103 * info.el (Info--search-loop): New function, extracted from Info-search.
7104 Funcall isearch-filter-predicate instead of
7105 run-hook-with-args-until-failure isearch-filter-predicates.
7106 (Info-search): Use it.
7107 (Info-mode): Use isearch-filter-predicate instead of
7108 isearch-filter-predicates.
7109
7110 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7111
7112 Do not call to `selected-window' where it is assumed by default.
7113 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7114 `window-hscroll', `window-width', `window-height', `window-buffer',
7115 `window-frame', `window-start', `window-point', `next-window'
7116 and `window-display-table'.
7117 * abbrev.el (abbrev--default-expand):
7118 * bs.el (bs--show-with-configuration):
7119 * buff-menu.el (Buffer-menu-mouse-select):
7120 * calc/calc.el (calc):
7121 * calendar/calendar.el (calendar-generate-window):
7122 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7123 (diary-make-entry):
7124 * comint.el (send-invisible, comint-dynamic-complete-filename)
7125 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7126 * completion.el (complete):
7127 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7128 * disp-table.el (describe-current-display-table):
7129 * doc-view.el (doc-view-insert-image):
7130 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7131 * ehelp.el (with-electric-help):
7132 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7133 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7134 * emacs-lisp/helper.el (Helper-help-scroller):
7135 * emulation/cua-base.el (cua--post-command-handler-1):
7136 * eshell/esh-mode.el (eshell-output-filter):
7137 * ffap.el (ffap-gnus-wrapper):
7138 * help-macro.el (make-help-screen):
7139 * hilit-chg.el (highlight-compare-buffers):
7140 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7141 * hl-line.el (global-hl-line-highlight):
7142 * icomplete.el (icomplete-simple-completing-p):
7143 * isearch.el (isearch-done):
7144 * jit-lock.el (jit-lock-stealth-fontify):
7145 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7146 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7147 * mpc.el (mpc-tagbrowser, mpc):
7148 * net/rcirc.el (rcirc-any-buffer):
7149 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7150 * play/landmark.el (landmark-max-width, landmark-max-height):
7151 * play/zone.el (zone):
7152 * progmodes/compile.el (compilation-goto-locus):
7153 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7154 * progmodes/etags.el (find-tag-other-window):
7155 * progmodes/fortran.el (fortran-column-ruler):
7156 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7157 * progmodes/verilog-mode.el (verilog-point-text):
7158 * reposition.el (reposition-window):
7159 * rot13.el (toggle-rot13-mode):
7160 * server.el (server-switch-buffer):
7161 * shell.el (shell-dynamic-complete-command)
7162 (shell-dynamic-complete-environment-variable):
7163 * simple.el (insert-buffer, set-selective-display)
7164 (delete-completion-window):
7165 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7166 (speedbar-recenter):
7167 * startup.el (fancy-splash-head):
7168 * textmodes/ispell.el (ispell-command-loop):
7169 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7170 * tutorial.el (help-with-tutorial):
7171 * vc/add-log.el (add-change-log-entry):
7172 * vc/compare-w.el (compare-windows):
7173 * vc/ediff-help.el (ediff-indent-help-message):
7174 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7175 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7176 (ediff-setup-control-frame):
7177 * vc/emerge.el (emerge-position-region):
7178 * vc/pcvs-util.el (cvs-bury-buffer):
7179 * window.el (walk-windows, mouse-autoselect-window-select):
7180 * winner.el (winner-set-conf, winner-undo): Related users changed.
7181
7182 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7183
7184 * frameset.el (frameset--set-id): Doc fix.
7185 (frameset-frame-id, frameset-frame-id-equal-p)
7186 (frameset-locate-frame-id): New functions.
7187 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7188 (frameset-restore): Use them.
7189
7190 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7191
7192 Do not call to `selected-frame' where it is assumed by default.
7193 Affected functions are `raise-frame', `redraw-frame',
7194 `frame-first-window', `frame-terminal' and `delete-frame'.
7195 * calendar/appt.el (appt-disp-window):
7196 * epg.el (epg-wait-for-completion):
7197 * follow.el (follow-delete-other-windows-and-split)
7198 (follow-avoid-tail-recenter):
7199 * international/mule.el (set-terminal-coding-system):
7200 * mail/rmail.el (rmail-mail-return):
7201 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7202 * progmodes/f90.el (f90-add-imenu-menu):
7203 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7204 * server.el (server-switch-buffer):
7205 * simple.el (delete-completion-window):
7206 * talk.el (talk):
7207 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7208 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7209 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7210 * vc/ediff.el (ediff-documentation): Related users changed.
7211 * frame.el (selected-terminal): Remove the leftover.
7212
7213 2013-08-05 Glenn Morris <rgm@gnu.org>
7214
7215 * calendar/calendar.el (calendar-generate-month):
7216 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7217 (calendar-generate-month, calendar-font-lock-keywords):
7218 Fix for calendar-day-header-width > length of any day name.
7219
7220 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * desktop.el (desktop-clear): Use new name of sort predicate.
7223
7224 * frameset.el (frameset): Add docstring. Move :version property to its
7225 own `version' slot.
7226 (frameset-copy): Rename from copy-frameset.
7227 (frameset-p): Check more thoroughly.
7228 (frameset-prop): Do not check for :version, which is no longer a prop.
7229 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7230 Use new :never value instead of t.
7231 (frameset-filter-alist): Expand and clarify docstring.
7232 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7233 (frameset-filter-minibuffer, frameset-filter-save-param)
7234 (frameset-filter-restore-param, frameset-filter-iconified):
7235 Add pointer to docstring of frameset-filter-alist.
7236 (frameset-filter-params): Rename filter values to be more meaningful:
7237 :never instead of t, and reverse the meanings of :save and :restore.
7238 (frameset--process-minibuffer-frames): Clarify error message.
7239 (frameset-save): Avoid unnecessary and confusing call to framep.
7240 Use new BOA constructor for framesets.
7241 (frameset--reuse-list): Doc fix.
7242 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7243 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7244 (frameset-minibufferless-first-p): Doc fix.
7245 Rename from frameset-sort-frames-for-deletion.
7246 (frameset-restore): Doc fixes. Use new function names.
7247 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7248
7249 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7250
7251 * desktop.el (desktop-restore-forces-onscreen)
7252 (desktop-restore-reuses-frames): Document :keyword constant values.
7253 (desktop-filter-parameters-alist): Remove, now identical to
7254 frameset-filter-alist.
7255 (desktop--filter-tty*): Remove, moved to frameset.el.
7256 (desktop-save-frameset, desktop-restore-frameset):
7257 Do not pass :filters argument.
7258
7259 * frameset.el (frameset-live-filter-alist)
7260 (frameset-persistent-filter-alist): New variables.
7261 (frameset-filter-alist): Use them. Add autoload cookie.
7262 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7263 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7264 `frameset--id' (it's supposed to be internal to frameset.el).
7265 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7266 (frameset--initial-params): New function.
7267 (frameset--get-frame): Use it. Doc fix.
7268 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7269 Accept :all, not 'all.
7270 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7271 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7272 with fbound symbols. Fix frame id matching, and remove matching ids if
7273 the frame being restored is deleted. Obey :delete.
7274
7275 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * subr.el (macrop): New function.
7278 (text-clone--maintaining): New var.
7279 (text-clone--maintain): Rename from text-clone-maintain. Use it
7280 instead of inhibit-modification-hooks.
7281
7282 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7283 a proxy, so as handle autoloads and redefinitions of the target.
7284 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7285
7286 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7287 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7288 (pcase--mutually-exclusive-p): New function.
7289 (pcase--split-consp): Use it.
7290 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7291 mutually exclusive with the current predicate.
7292
7293 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7294 (edebug-macrop): Remove. Use `macrop' instead.
7295 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7296 (ad-macro-p):
7297 * eshell/esh-cmd.el (eshell-macrop):
7298 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7299
7300 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7303 (advice-mapc): New function, using it.
7304 (advice-function-member-p): New function.
7305 (advice--normalize): Store the cdr in advice--saved-rewrite since
7306 that's the part that will be changed.
7307 (advice--symbol-function): New function.
7308 (advice-remove): Handle removal before the function is defined.
7309 Adjust to new advice--saved-rewrite.
7310 (advice-member-p): Use advice-function-member-p and
7311 advice--symbol-function.
7312
7313 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7314
7315 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7316 (frameset-filter-minibuffer): Doc fix.
7317 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7318 (frameset--set-id, frameset--process-minibuffer-frames)
7319 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7320 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7321
7322 * desktop.el (desktop-clear): Only delete frames when called
7323 interactively and desktop-restore-frames is non-nil. Doc fix.
7324 (desktop-read): Set desktop-saved-frameset to nil.
7325
7326 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7327
7328 * vc/vc.el (vc-ignore): Rewrite.
7329 (vc-default-ignore-completion-table):
7330 (vc--read-lines):
7331 (vc--add-line, vc--remove-regexp): New functions.
7332
7333 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7334 (vc-svn-ignore-completion-table): New function.
7335
7336 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7337 (vc-hg-ignore-completion-table):
7338 (vc-hg-find-ignore-file): New functions.
7339
7340 * vc/vc-git.el (vc-git-ignore): Rewrite.
7341 (vc-git-ignore-completion-table):
7342 (vc-git-find-ignore-file): New functions.
7343
7344 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7345
7346 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7347 (vc-bzr-ignore-completion-table):
7348 (vc-bzr-find-ignore-file): New functions.
7349
7350 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7351
7352 * frameset.el (frameset-prop): New function and setter.
7353 (frameset-save): Do not modify frame list passed by the caller.
7354
7355 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7358
7359 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7362 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7363
7364 * custom.el (custom-initialize-default, custom-initialize-set)
7365 (custom-initialize-reset, custom-initialize-changed): Affect the
7366 toplevel-default-value (bug#6275, bug#14586).
7367 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7368 for bug#6275.
7369
7370 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7371
7372 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7373 Add cl-def* expressions.
7374
7375 * frameset.el (frameset-filter-params): Fix order of arguments.
7376
7377 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7378
7379 Move code related to saving frames to frameset.el.
7380 * desktop.el: Require frameset.
7381 (desktop-restore-frames): Doc fix.
7382 (desktop-restore-reuses-frames): Rename from
7383 desktop-restoring-reuses-frames.
7384 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7385 (desktop-clear): Clear frames too.
7386 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7387 (desktop--filter-tty*, desktop-save, desktop-read):
7388 Use frameset functions.
7389 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7390 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7391 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7392 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7393 (desktop--process-minibuffer-frames, desktop-save-frames)
7394 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7395 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7396 (desktop--sort-states, desktop-restoring-frames-p)
7397 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7398 (desktop-restoring-frameset-p, desktop-restore-frameset)
7399 (desktop--check-dont-save, desktop-save-frameset): New functions.
7400 (desktop--app-id): New constant.
7401 (desktop-first-buffer, desktop-buffer-ok-count)
7402 (desktop-buffer-fail-count): Move before first use.
7403 * frameset.el: New file.
7404
7405 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * files.el: Use lexical-binding.
7408 (dir-locals-read-from-file): Remove unused `err' variable.
7409 (hack-dir-local-variables--warned-coding): New var.
7410 (hack-dir-local-variables): Use it to avoid repeated warnings.
7411 (make-backup-file-name--default-function): New function.
7412 (make-backup-file-name-function): Use it as default.
7413 (buffer-stale--default-function): New function.
7414 (buffer-stale-function): Use it as default.
7415 (revert-buffer-insert-file-contents--default-function): New function.
7416 (revert-buffer-insert-file-contents-function): Use it as default.
7417 (insert-directory): Avoid add-to-list.
7418
7419 * autorevert.el (auto-revert-handler): Simplify.
7420 Use buffer-stale--default-function.
7421
7422 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7423
7424 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7425
7426 * whitespace.el (whitespace-ensure-local-variables): New function.
7427 (whitespace-cleanup-region): Call it.
7428 (whitespace-turn-on): Call it.
7429
7430 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7431
7432 Complete file name handlers.
7433
7434 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7435 (tramp-handle-verify-visited-file-modtime)
7436 (tramp-handle-file-notify-rm-watch): New functions.
7437 (tramp-call-process): Do not bind `default-directory'.
7438
7439 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7440 Order alphabetically.
7441 [access-file, add-name-to-file, dired-call-process]:
7442 [dired-compress-file, file-acl, file-notify-rm-watch]:
7443 [file-ownership-preserved-p, file-selinux-context]:
7444 [make-directory-internal, make-symbolic-link, set-file-acl]:
7445 [set-file-selinux-context, set-visited-file-modtime]:
7446 [verify-visited-file-modtime]: Add handler.
7447 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7448
7449 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7450 [file-notify-add-watch, file-notify-rm-watch]:
7451 [set-file-times, set-visited-file-modtime]:
7452 [verify-visited-file-modtime]: Add handler.
7453 (with-tramp-gvfs-error-message)
7454 (tramp-gvfs-handle-set-visited-file-modtime)
7455 (tramp-gvfs-fuse-file-name): Remove.
7456 (tramp-gvfs-handle-file-notify-add-watch)
7457 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7458 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7459
7460 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7461 Order alphabetically.
7462 [file-notify-rm-watch ]: Use default Tramp handler.
7463 [executable-find]: Remove private handler.
7464 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7465 `default-directory'.
7466 (tramp-sh-handle-executable-find)
7467 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7468 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7469 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7470 Do not use `format' in `tramp-message'.
7471
7472 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7473 [file-notify-rm-watch, set-visited-file-modtime]:
7474 [verify-visited-file-modtime]: Add handler.
7475 (tramp-smb-call-winexe): Do not bind `default-directory'.
7476
7477 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7478
7479 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7480
7481 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7482
7483 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7484 use it.
7485 (log-view-diff-changeset): Same.
7486 (log-view-diff-common): Call backend command `previous-revision'
7487 to find out the previous revision, in both cases. Swap the
7488 variables `to' and `fr', so that `fr' usually refers to the
7489 earlier revision (Bug#14989).
7490
7491 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7492
7493 * ibuf-ext.el (ibuffer-filter-by-filename):
7494 Make it work with dired buffers too.
7495
7496 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7497
7498 * emacs-lisp/re-builder.el (reb-color-display-p):
7499 * files.el (save-buffers-kill-terminal):
7500 * net/browse-url.el (browse-url):
7501 * server.el (server-save-buffers-kill-terminal):
7502 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7503 Prefer nil to selected-frame for the first arg of frame-parameter.
7504
7505 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7506
7507 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7508
7509 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7510
7511 * minibuffer.el (completion--twq-all): Try and preserve each
7512 completion's case choice (bug#14907).
7513
7514 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7515
7516 * net/network-stream.el (open-network-stream): Mention the new
7517 :nogreeting parameter.
7518 (network-stream-open-starttls): Use the :nogreeting parameter
7519 (bug#14938).
7520
7521 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7522
7523 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7524 more natural than popping.
7525
7526 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7527 (shr-urlify): Highlight under mouse.
7528
7529 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7530
7531 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7532
7533 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7534
7535 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7536 buffer for output.
7537
7538 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7539 point-min==1. Fix search string. Fix parentheses missing.
7540
7541 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7542 assume point-min==1. Fix search string. Fix parentheses missing.
7543
7544 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7545
7546 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7547 buffer for output.
7548
7549 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7550
7551 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7552 initial frame is minibuffer-less. (Bug#14841)
7553
7554 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7555
7556 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7557 option.
7558
7559 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7560 (tramp-maybe-open-connection): Use it.
7561
7562 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7563
7564 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7565 minimal set of parameters passed when creating a frame, because
7566 the minibuffer status of a frame cannot be changed later.
7567
7568 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7569
7570 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7571 replace-regexp-in-string and inadvertent omissions in previous change.
7572 (todo-filter-items): Ensure only file names are comma-separated in
7573 name of filtered items buffer.
7574
7575 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7576
7577 * desktop.el: Optionally force offscreen frames back onscreen.
7578 (desktop-restoring-reuses-frames): New option.
7579 (desktop--compute-pos, desktop--move-onscreen): New functions.
7580 (desktop--make-frame): Use desktop--move-onscreen.
7581
7582 2013-07-27 Alan Mackenzie <acm@muc.de>
7583
7584 Fontify a Java generic method as a function.
7585 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7586 value to t.
7587
7588 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7589
7590 * calendar/todo-mode.el: Add command to rename todo files.
7591 (todo-rename-file): New command.
7592 (todo-key-bindings-t): Add key binding for it. Change the
7593 bindings of todo-filter-regexp-items(-multifile) to use `x'
7594 instead of `r', since the latter is better suited to the new
7595 renaming command.
7596
7597 2013-07-27 Alan Mackenzie <acm@muc.de>
7598
7599 Make Java try-with-resources statement parse properly.
7600 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7601 (c-block-stmt-1-2-key): New language constants/variables.
7602 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7603 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7604 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7605 with c-block-stmt-1-2-key.
7606
7607 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7608
7609 * desktop.el (desktop--make-frame): Apply most frame parameters after
7610 creating the frame to force (partially or totally) offscreen frames to
7611 be restored as such.
7612
7613 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7614
7615 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7616 (Bug#14948)
7617
7618 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7621 `base' arg of backtrace-frame.
7622
7623 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7624
7625 * simple.el (list-processes): Doc fix.
7626
7627 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * desktop.el (desktop--select-frame):
7630 Try harder to reuse existing frames.
7631
7632 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7635 (edebug-eval): Use backtrace-eval.
7636 (edebug--display, edebug--recursive-edit): Don't let-bind the
7637 edebug-outer-* vars that keep track of variables we locally let-bind.
7638 (edebug-outside-excursion): Don't restore outside values of locally
7639 let-bound vars.
7640 (edebug--display): Use user-error.
7641 (cl-lexical-debug, cl-debug-env): Remove.
7642
7643 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7644
7645 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7646 are restored to be sure that they are visible before deleting any
7647 remaining ones.
7648
7649 2013-07-26 Matthias Meulien <orontee@gmail.com>
7650
7651 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7652 vc-print-root-log. (Bug#14948)
7653
7654 2013-07-26 Richard Stallman <rms@gnu.org>
7655
7656 Add aliases for encrypting mail.
7657 * epa.el (epa-mail-aliases): New option.
7658 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7659 Bind inhibit-read-only so read-only text doesn't ruin everything.
7660 (epa-mail-default-recipients): New subroutine broken out.
7661 Handle epa-mail-aliases.
7662
7663 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 Add support for lexical variables to the debugger's `e' command.
7666 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7667 vars, except for debugger-outer-match-data.
7668 (debugger-frame-number): Move check for "on a function call" from
7669 callers into it. Add `skip-base' argument.
7670 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7671 (debugger-env-macro): Only reset the state stored in non-variables,
7672 i.e. current-buffer and match-data.
7673 (debugger-eval-expression): Rewrite using backtrace-eval.
7674 * subr.el (internal--called-interactively-p--get-frame): Remove.
7675 (called-interactively-p):
7676 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7677 `base' arg of backtrace-frame instead.
7678
7679 2013-07-26 Glenn Morris <rgm@gnu.org>
7680
7681 * align.el (align-regexp): Doc fix. (Bug#14857)
7682 (align-region): Explicit error if subexpression missing/does not match.
7683
7684 * simple.el (global-visual-line-mode):
7685 Do not duplicate the mode lighter. (Bug#14858)
7686
7687 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7688
7689 * window.el (display-buffer): In display-buffer bind
7690 split-window-keep-point to t, bug#14829.
7691
7692 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7693
7694 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7695 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7696 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7697 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7698 Change accordingly.
7699 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7700 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7701
7702 2013-07-25 Glenn Morris <rgm@gnu.org>
7703
7704 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7705
7706 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7707
7708 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7709 parameter to modify-frame-parameters if the value has not changed;
7710 this is a workaround for bug#14949.
7711 (desktop--make-frame): On cl-delete-if call, check parameter name,
7712 not full parameter.
7713
7714 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7715
7716 * vc/vc.el (vc-ignore): New function.
7717
7718 * vc/vc-svn.el (vc-svn-ignore): New function.
7719
7720 * vc/vc-hg.el (vc-hg-ignore): New function.
7721
7722 * vc/vc-git.el (vc-git-ignore): New function.
7723
7724 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7725 (vc-dir-ignore): New function.
7726
7727 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7728 (cvs-append-to-ignore): Move here from pcvs.el.
7729
7730 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7731
7732 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7733
7734 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7737 (desktop-restore-frames): Warn when deleting an existing frame failed.
7738
7739 2013-07-24 Glenn Morris <rgm@gnu.org>
7740
7741 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7742
7743 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7744
7745 * filenotify.el (file-notify-supported-p):
7746 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7747 Remove functions.
7748
7749 * autorevert.el (auto-revert-use-notify):
7750 (auto-revert-notify-add-watch):
7751 * net/tramp.el (tramp-file-name-for-operation):
7752 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7753 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7754 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7755 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7756 Remove `file-notify-supported-p' entry.
7757
7758 2013-07-24 Glenn Morris <rgm@gnu.org>
7759
7760 * printing.el: Replace all uses of deleted ps-windows-system,
7761 ps-lp-system, ps-flatten-list with lpr- versions.
7762
7763 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7766 checked with memq (bug#14935).
7767
7768 * files.el (revert-buffer-function): Use a non-nil default.
7769 (revert-buffer-preserve-modes): Declare var to
7770 provide access to the `preserve-modes' argument.
7771 (revert-buffer): Let-bind it.
7772 (revert-buffer--default): New function, extracted from revert-buffer.
7773
7774 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * lpr.el: Signal print errors more prominently.
7777 (print-region-function): Don't default to nil.
7778 (lpr-print-region): New function, extracted from print-region-1.
7779 Check lpr's return value and signal an error in case of problem.
7780 (print-region-1): Use it.
7781 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7782 versions instead.
7783 (ps-printer-name): Default to nil.
7784 (ps-printer-name-option): Default to lpr-printer-switch.
7785 (ps-print-region-function): Don't default to nil.
7786 (ps-postscript-code-directory): Simplify default.
7787 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7788 (ps-string-list, ps-eval-switch, ps-flatten-list)
7789 (ps-flatten-list-1): Remove.
7790 (ps-multibyte-buffer): Avoid setq.
7791 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7792 (print-region-function, ps-print-region-function): Don't set them here.
7793
7794 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7795
7796 * ido.el (ido-fractionp):
7797 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7798 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7799 (ido-max-directory-size, ido-max-dir-file-cache)
7800 (ido-decorations): Doc fix.
7801
7802 * ansi-color.el: Fix old URL.
7803
7804 2013-07-23 Michael R. Mauger <michael@mauger.com>
7805
7806 * progmodes/sql.el: Version 3.3
7807 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7808 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7809 (sql-interactive-remove-continuation-prompt): Rewrite, use
7810 functions above. Fix continuation prompt and complete output line
7811 handling.
7812 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7813 redirected output buffer.
7814 (sql-mode): Restore deleted code (Bug#13591).
7815
7816 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7817
7818 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7819
7820 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7821
7822 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7823
7824 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7825 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7826 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7827
7828 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7829
7830 * desktop.el (desktop-clear): Simplify; remove useless checks
7831 against invalid buffer names.
7832 (desktop-list*): Use cl-list*.
7833 (desktop-buffer-info, desktop-create-buffer): Simplify.
7834
7835 2013-07-23 Leo Liu <sdl.web@gmail.com>
7836
7837 * bookmark.el (bookmark-make-record): Restore NAME as a default
7838 value. (Bug#14933)
7839
7840 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7841
7842 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7843 extracted from autoload--insert-text.
7844 (autoload--insert-text): Remove.
7845 (autoload--print-cookie-text): New function, extracted from
7846 autoload--insert-cookie-text.
7847 (autoload--insert-cookie-text): Remove.
7848 (autoload-generate-file-autoloads): Adjust calls accordingly.
7849
7850 * winner.el (winner-hook-installed-p): Remove.
7851 (winner-mode): Simplify accordingly.
7852
7853 * subr.el (add-to-list): Fix compiler-macro when `append' is
7854 not constant. Don't use `cl-member' for the base case.
7855
7856 * progmodes/subword.el: Fix boundary case (bug#13758).
7857 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7858 own group.
7859 (subword-backward-regexp): Make it a constant.
7860 (subword-forward-internal): Don't treat a trailing capital as the
7861 beginning of a word.
7862
7863 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7864
7865 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7866 global value of tabulated-list-revert-hook (bug#14930).
7867
7868 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * desktop.el: Require 'cl-lib.
7871 (desktop-before-saving-frames-functions): New hook.
7872 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7873 for frames being saved. Rename from desktop--save-minibuffer-frames.
7874 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7875 Do not save frames with non-nil `desktop-dont-save' parameter.
7876 Filter out deleted frames.
7877 (desktop--find-frame): Use cl-find-if.
7878 (desktop--select-frame): Use cl-(first|second|third) to access values
7879 of desktop-mini.
7880 (desktop--make-frame): Use cl-delete-if.
7881 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7882 (desktop-restore-frames): Use cl-(first|second|third) to access values
7883 of desktop-mini. Look for visible frame at the end, not while
7884 restoring frames.
7885
7886 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7887 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7888 Use string-match-p, looking-at-p (bug#14927).
7889
7890 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7891
7892 * desktop.el (desktop-saved-frame-states):
7893 Rename from desktop--saved-states; all users changed.
7894 (desktop-save-frames): Rename from desktop--save-frames.
7895 Do not save state to desktop file.
7896 (desktop-save): Save desktop-saved-frame-states to desktop file
7897 and reset to nil.
7898 (desktop-restoring-frames-p): New function.
7899 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7900 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7901 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7902
7903 * desktop.el: Correctly restore iconified frames.
7904 (desktop--filter-iconified-position): New function.
7905 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7906
7907 2013-07-20 Glenn Morris <rgm@gnu.org>
7908
7909 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7910 Let `message' do the formatting.
7911 (def-gdb-preempt-display-buffer): Add explicit format.
7912
7913 * image-dired.el (image-dired-track-original-file):
7914 Use with-current-buffer.
7915 (image-dired-track-thumbnail): Use with-current-buffer.
7916 Avoid changing point of wrong window.
7917
7918 * image-dired.el (image-dired-track-original-file):
7919 Avoid changing point of wrong window. (Bug#14909)
7920
7921 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7922
7923 * progmodes/gdb-mi.el (gdb-done-or-error):
7924 Guard against "%" in gdb output. (Bug#14127)
7925
7926 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7927
7928 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7929 (Bug#14826)
7930
7931 * international/mule.el (coding-system-iso-2022-flags): Fix last
7932 change.
7933
7934 2013-07-20 Kenichi Handa <handa@gnu.org>
7935
7936 * international/mule.el (coding-system-iso-2022-flags):
7937 Add `8-bit-level-4'. (Bug#8522)
7938
7939 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940
7941 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7942 (bug#14815).
7943
7944 * net/eww.el (eww-process-text-input): Allow inputting when the
7945 point is at the start of the line, as the properties aren't
7946 front-sticky.
7947
7948 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7949 degenerate widths.
7950
7951 2013-07-19 Richard Stallman <rms@gnu.org>
7952
7953 * epa.el (epa-popup-info-window): Doc fix.
7954
7955 * subr.el (split-string): New arg TRIM.
7956
7957 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7960 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7961
7962 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7963
7964 * filenotify.el (file-notify--library): Rename from
7965 `file-notify-support'. Do not autoload. Adapt all uses.
7966 (file-notify-supported-p): New defun.
7967
7968 * autorevert.el (auto-revert-use-notify):
7969 Use `file-notify-supported-p' instead of `file-notify-support'.
7970 Adapt docstring.
7971 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7972
7973 * net/tramp.el (tramp-file-name-for-operation):
7974 Add `file-notify-supported-p'.
7975
7976 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7977 New defun.
7978 (tramp-sh-file-name-handler-alist): Add it as handler for
7979 `file-notify-supported-p '.
7980
7981 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7982 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7984 Add `ignore' as handler for `file-notify-*' functions.
7985
7986 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7987
7988 * simple.el (line-move-partial, line-move): Don't start vscroll or
7989 scroll-up if the current line is not taller than the window.
7990 (Bug#14881)
7991
7992 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7993
7994 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7995 highlight question marks in the method names as strings.
7996 (ruby-block-beg-keywords): Inline.
7997 (ruby-font-lock-keyword-beg-re): Extract from
7998 `ruby-font-lock-keywords'.
7999
8000 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8001
8002 * frame.el (blink-cursor-blinks): New defcustom.
8003 (blink-cursor-blinks-done): New defvar.
8004 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8005 (blink-cursor-timer-function): Check if number of blinks has been
8006 done on X and NS.
8007 (blink-cursor-suspend, blink-cursor-check): New defuns.
8008
8009 2013-07-15 Glenn Morris <rgm@gnu.org>
8010
8011 * edmacro.el (edmacro-format-keys): Fix previous change.
8012
8013 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8014
8015 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8016 The hack didn't work outside English locales anyway.
8017
8018 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8019
8020 * simple.el (define-alternatives): Rename from alternatives-define,
8021 per RMS' suggestion.
8022
8023 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8024
8025 * desktop.el (desktop-restore-frames): Change default to t.
8026 (desktop-restore-in-current-display): Now offer more options.
8027 (desktop-restoring-reuses-frames): New customization option.
8028 (desktop--saved-states): Doc fix.
8029 (desktop-filter-parameters-alist): New variable, renamed and expanded
8030 from desktop--excluded-frame-parameters.
8031 (desktop--target-display): New variable.
8032 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8033 (desktop--filter-tty*, desktop--filter-*-color)
8034 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8035 (desktop--filter-save-desktop-parm)
8036 (desktop-restore-in-original-display-p): New functions.
8037 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8038 (desktop--save-minibuffer-frames): New function, inspired by a similar
8039 function from Martin Rudalics.
8040 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8041 (desktop--restore-in-this-display-p): Remove.
8042 (desktop--find-frame): Rename from desktop--find-frame-in-display
8043 and add predicate argument.
8044 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8045 (desktop--reuse-list): New variable.
8046 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8047 New functions.
8048 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8049
8050 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8053
8054 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8055
8056 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8057 Highlight conversion methods on Kernel.
8058
8059 2013-07-13 Alan Mackenzie <acm@muc.de>
8060
8061 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8062 and comment it out. This out-commenting enables certain C++
8063 declarations to be parsed correctly.
8064
8065 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8066
8067 * international/mule.el (define-coding-system): Doc fix.
8068
8069 * simple.el (default-font-height): Don't call font-info if the
8070 frame's default font didn't change since the frame was created.
8071 (Bug#14838)
8072
8073 2013-07-13 Leo Liu <sdl.web@gmail.com>
8074
8075 * ido.el (ido-read-file-name): Guard against non-symbol value.
8076
8077 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8078
8079 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8080 in nested defuns.
8081
8082 2013-07-13 Leo Liu <sdl.web@gmail.com>
8083
8084 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8085 ido-set-matches call. (Bug#6852)
8086
8087 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8088
8089 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8090 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8091 Ruby 2.0.
8092 (ruby-font-lock-keywords): Distinguish calls to functions with
8093 module-like names from module references. Highlight character
8094 literals.
8095
8096 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8097
8098 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8099 (gdb-send): Handle continued commands. (Bug#14847)
8100
8101 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * desktop.el (desktop--v2s): Remove unused local variable.
8104 (desktop-save-buffer): Make defvar-local; adjust docstring.
8105 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8106 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8107
8108 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8109
8110 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8111
8112 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8113
8114 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8115 (Bug#14842)
8116
8117 2013-07-12 Glenn Morris <rgm@gnu.org>
8118
8119 * doc-view.el: Require cl-lib at runtime too.
8120 (doc-view-remove-if): Remove.
8121 (doc-view-search-next-match, doc-view-search-previous-match):
8122 Use cl-remove-if.
8123
8124 * edmacro.el: Require cl-lib at runtime too.
8125 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8126 (edmacro-mismatch, edmacro-subseq): Remove.
8127
8128 * shadowfile.el: Require cl-lib.
8129 (shadow-remove-if): Remove.
8130 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8131 Use cl-remove-if.
8132
8133 * wid-edit.el: Require cl-lib.
8134 (widget-choose): Use cl-remove-if.
8135 (widget-remove-if): Remove.
8136
8137 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8138 (ebrowse-delete-if-not): Remove.
8139 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8140 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8141 Use cl-delete-if-not.
8142
8143 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8144
8145 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8146 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8147
8148 2013-07-12 Leo Liu <sdl.web@gmail.com>
8149
8150 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8151
8152 2013-07-11 Glenn Morris <rgm@gnu.org>
8153
8154 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8155 (edebug-gensym-index, edebug-gensym):
8156 Remove reimplementation of cl-gensym.
8157 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8158
8159 * thumbs.el: Require cl-lib at run-time too.
8160 (thumbs-gensym-counter, thumbs-gensym):
8161 Remove reimplementation of cl-gensym.
8162 (thumbs-temp-file): Use cl-gensym.
8163
8164 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8165 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8166 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8167 (ert--union, ert--gensym-counter, ert--gensym-counter)
8168 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8169 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8170 (ert-make-test-unbound, ert--expand-should-1)
8171 (ert--expand-should, ert--should-error-handle-error)
8172 (should-error, ert--explain-equal-rec)
8173 (ert--plist-difference-explanation, ert-select-tests)
8174 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8175 Use cl-lib functions rather than reimplementations.
8176
8177 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8178
8179 * net/tramp.el (tramp-methods): Extend docstring.
8180 (tramp-connection-timeout): New defcustom.
8181 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8182 (with-tramp-progress-reporter): Simplify.
8183 (tramp-process-actions): Improve messages.
8184
8185 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8186 * net/tramp-sh.el (tramp-maybe-open-connection):
8187 Use `tramp-connection-timeout'.
8188 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8189 (Bug#14808)
8190
8191 2013-07-11 Leo Liu <sdl.web@gmail.com>
8192
8193 * ido.el (ido-read-file-name): Conform to the requirements of
8194 read-file-name. (Bug#11861)
8195 (ido-read-directory-name): Conform to the requirements of
8196 read-directory-name.
8197
8198 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * subr.el (delay-warning): New function.
8201
8202 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8203
8204 * simple.el (default-line-height): New function.
8205 (line-move-partial, line-move): Use it instead of computing the
8206 line height inline.
8207 (line-move-partial): Always compute ROWH. If the last line is
8208 partially-visible, but its text is completely visible, allow
8209 cursor to enter such a partially-visible line.
8210
8211 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8212
8213 Improve error messages. (Bug#14808)
8214
8215 * net/tramp.el (tramp-current-connection): New defvar, moved from
8216 tramp-sh.el.
8217 (tramp-message-show-progress-reporter-message): Remove, not
8218 needed anymore.
8219 (tramp-error-with-buffer): Show message in minibuffer.
8220 Discard input before waiting. Reset connection timestamp.
8221 (with-tramp-progress-reporter): Improve messages.
8222 (tramp-process-actions): Use progress reporter. Delete process in
8223 case of error. Improve messages.
8224
8225 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8226 Call `tramp-error-with-buffer' with vector and buffer.
8227 (tramp-current-connection): Remove.
8228 (tramp-maybe-open-connection): The car of
8229 `tramp-current-connection' are the first 3 slots of the vector.
8230
8231 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8232
8233 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8234 inside continued strings.
8235
8236 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8237
8238 Timestamp fixes for undo (Bug#14824).
8239 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8240
8241 2013-07-10 Leo Liu <sdl.web@gmail.com>
8242
8243 * files.el (require-final-newline): Allow safe local value.
8244 (Bug#14834)
8245
8246 2013-07-09 Leo Liu <sdl.web@gmail.com>
8247
8248 * ido.el (ido-read-directory-name): Handle fallback.
8249 (ido-read-file-name): Update DIR to ido-current-directory.
8250 (Bug#1516)
8251 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8252
8253 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8254
8255 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8256 "autoload". Remove "warn lower camel case" section, previously
8257 commented out. Highlight negation char. Do not highlight the
8258 target in singleton method definitions.
8259
8260 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * faces.el (tty-setup-hook): Declare the hook.
8263
8264 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8265 and detect when a guard/pred depends on local vars (bug#14773).
8266 (pcase--u1): Adjust caller.
8267
8268 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8269
8270 * simple.el (line-move-partial, line-move): Account for
8271 line-spacing.
8272 (line-move-partial): Avoid setting vscroll when the last
8273 partially-visible line in window is of default height.
8274
8275 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8276
8277 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8278 been used a while.
8279
8280 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * subr.el (read-quoted-char): Remove unused local variable `char'.
8283
8284 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8285
8286 * ediff.el (ediff-version): Version update.
8287 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8288 (ediff-merge-with-ancestor-command, ediff-directories-command)
8289 (ediff-directories3-command, ediff-merge-directories-command)
8290 (ediff-merge-directories-with-ancestor-command): New functions.
8291 All are command-line interfaces to ediff: to facilitate calling
8292 Emacs with the appropriate ediff functions invoked.
8293
8294 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8295 (viper-save-kill-buffer): Check if buffer is modified.
8296
8297 * viper.el (viper-version): Version update.
8298 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8299
8300 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8303 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8304 (viper-intercept-ESC-key): Simplify.
8305 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8306 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8307 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8308 (viper-setup-ESC-to-escape): New functions.
8309 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8310 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8311
8312 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8313
8314 * simple.el (default-font-height, window-screen-lines):
8315 New functions.
8316 (line-move, line-move-partial): Use them instead of
8317 frame-char-height and window-text-height. This makes scrolling
8318 text smoother when the buffer's default face uses a font that is
8319 different from the frame's default font.
8320
8321 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8322
8323 * files.el (write-file): Do not display confirm dialog for NS,
8324 it does its own dialog, which can't be canceled (Bug#14578).
8325
8326 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8327
8328 * simple.el (line-move-partial): Adjust the row returned by
8329 posn-at-point for the current window-vscroll. (Bug#14567)
8330
8331 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8332
8333 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8334 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8335 spaces.
8336
8337 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8338
8339 * window.el (window-state-put-stale-windows): New variable.
8340 (window--state-put-2): Save list of windows without matching buffer.
8341 (window-state-put): Remove "bufferless" windows if possible.
8342
8343 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * simple.el (alternatives-define): Remove leftover :group keyword.
8346 Tweak docstring.
8347
8348 2013-07-06 Leo Liu <sdl.web@gmail.com>
8349
8350 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8351 (ido-enable-virtual-buffers): New variable.
8352 (ido-buffer-internal, ido-toggle-virtual-buffers)
8353 (ido-make-buffer-list): Use it.
8354 (ido-exhibit): Support turning on and off virtual buffers
8355 automatically.
8356
8357 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8358
8359 * simple.el (alternatives-define): New macro.
8360
8361 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * subr.el (read-quoted-char): Use read-key.
8364 (sit-for): Let read-event decode tty input (bug#14782).
8365
8366 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8367
8368 * calendar/todo-mode.el: Add handling of file deletion, both by
8369 mode command and externally. Fix various related bugs.
8370 Clarify Commentary and improve some documentation strings and code.
8371 (todo-delete-file): New command.
8372 (todo-check-file): New function.
8373 (todo-show): Handle external deletion of the file we're trying to
8374 show (bug#14688). Replace called-interactively-p by an optional
8375 prefix argument to avoid problematic interaction with catch form
8376 when byte compiled (bug#14702).
8377 (todo-quit): Handle external deletion of the archive's todo file.
8378 Make sure the buffer that was visiting the archive file is still
8379 live before trying to bury it.
8380 (todo-category-completions): Handle external deletion of any
8381 category completion files.
8382 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8383 of todo files, in case of external deletion.
8384 (todo-add-file): Replace unnecessary setq by let-binding.
8385 (todo-find-archive): Check whether there are any archives.
8386 Replace unnecessary setq by let-binding.
8387 (todo-archive-done-item): Use find-file-noselect to get the
8388 archive buffer whether or not the archive already exists.
8389 Remove superfluous code. Use file size instead of buffer-file-name to
8390 check if the archive is new; if it is, update list of archives.
8391 (todo-default-todo-file): Allow nil to be a valid value for when
8392 there are no todo files.
8393 (todo-reevaluate-default-file-defcustom): Use corrected definition
8394 of todo-default-todo-file.
8395 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8396 (todo-delete-category, todo-show-categories-table)
8397 (todo-category-number): Clarify comment.
8398 (todo-filter-items): Clarify documentation string.
8399 (todo-show-current-file, todo-display-as-todo-file)
8400 (todo-reset-and-enable-done-separator): Tweak documentation string.
8401 (todo-done-separator): Make separator length window-width, since
8402 bug#2749 is now fixed.
8403
8404 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8405
8406 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8407 Support both "gvfs-monitor-dir" and "inotifywait".
8408 (tramp-sh-file-inotifywait-process-filter): Rename from
8409 `tramp-sh-file-notify-process-filter'.
8410 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8411 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8412
8413 2013-07-05 Leo Liu <sdl.web@gmail.com>
8414
8415 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8416
8417 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8418
8419 * frame.el (display-pixel-height, display-pixel-width)
8420 (display-mm-height, display-mm-width): Mention behavior on
8421 multi-monitor setups in docstrings.
8422 (w32-display-monitor-attributes-list): Declare function.
8423 (display-monitor-attributes-list): Use it.
8424
8425 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8426
8427 * filenotify.el: New package.
8428
8429 * autorevert.el (top): Require filenotify.el.
8430 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8431 instead.
8432 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8433 (auto-revert-notify-handler): Use `file-notify-*' functions.
8434
8435 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8436
8437 * net/tramp.el (tramp-file-name-for-operation):
8438 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8439
8440 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8441 for `file-notify-add-watch' and `file-notify-rm-watch'.
8442 (tramp-process-sentinel): Improve trace.
8443 (tramp-sh-handle-file-notify-add-watch)
8444 (tramp-sh-file-notify-process-filter)
8445 (tramp-sh-handle-file-notify-rm-watch)
8446 (tramp-get-remote-inotifywait): New defuns.
8447
8448 2013-07-03 Juri Linkov <juri@jurta.org>
8449
8450 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8451 call of `occur-read-primary-args' to interactive spec.
8452
8453 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8454 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8455
8456 2013-07-03 Matthias Meulien <orontee@gmail.com>
8457
8458 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8459 `Buffer-menu-multi-occur'. Add it to the menu.
8460 (Buffer-menu-mode): Document it in docstring.
8461 (Buffer-menu-multi-occur): New command. (Bug#14673)
8462
8463 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8464
8465 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8466 keywords and built-ins.
8467
8468 2013-07-03 Glenn Morris <rgm@gnu.org>
8469
8470 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8471
8472 Make info-xref checks case-sensitive by default
8473 * info.el (Info-find-node, Info-find-in-tag-table)
8474 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8475 Add option for exact case matching of nodes.
8476 * info-xref.el (info-xref): New custom group.
8477 (info-xref-case-fold): New option.
8478 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8479
8480 2013-07-03 Leo Liu <sdl.web@gmail.com>
8481
8482 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8483
8484 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8485
8486 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8487 middle of block statement initially, lower the depth. Remove
8488 FIXME comment, not longer valid. Remove middle of block statement
8489 detection, no need to do that anymore since we've been using
8490 `ruby-parse-region' here.
8491
8492 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8493
8494 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8495
8496 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8497
8498 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8499
8500 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8501
8502 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8503 (desktop-restore-in-current-display): New customization option.
8504 (desktop--excluded-frame-parameters): Add `font'.
8505 (desktop--save-frames): Rename from desktop--save-windows.
8506 (desktop--restore-in-this-display-p): New function.
8507 (desktop--make-full-frame): Remove unwanted width/height from
8508 full(width|height) frames.
8509 (desktop--restore-frames): Rename from desktop--restore-windows.
8510 Obey desktop-restore-current-display. Do not delete old frames or
8511 select a new frame unless we were able to restore at least one frame.
8512
8513 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8514
8515 * files.el (find-file-noselect): Simplify conditional expression.
8516
8517 * textmodes/remember.el (remember-append-to-file):
8518 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8519
8520 Add `remember-notes' function to store random notes across Emacs
8521 restarts.
8522 * textmodes/remember.el (remember-data-file): Add :set callback to
8523 affect notes buffer (if any).
8524 (remember-notes): New command.
8525 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8526 New defcustoms for the `remember-notes' function.
8527 (remember-notes-save-and-bury-buffer): New command.
8528 (remember-notes-mode-map): New variable.
8529 (remember-mode): New minor mode.
8530 (remember-notes--kill-buffer-query): New function.
8531 * startup.el (initial-buffer-choice): Add notes to custom type.
8532
8533 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8534
8535 * bindings.el (right-char, left-char): Don't call sit-for, this is
8536 no longer needed. Use arithmetic comparison only for numerical
8537 arguments.
8538
8539 * international/mule-cmds.el (select-safe-coding-system):
8540 Handle the case of FROM being a string correctly. (Bug#14755)
8541
8542 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8543
8544 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8545 progression on degenerate tables.
8546 (shr-rescale-image): ImageMagick animated images currently don't work.
8547
8548 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8549
8550 Some fixes and improvements for desktop frame restoration.
8551 It is still experimental and disabled by default.
8552 * desktop.el (desktop--save-windows): Put the selected frame at
8553 the head of the list.
8554 (desktop--make-full-frame): New function.
8555 (desktop--restore-windows): Try to re-select the frame that was
8556 selected upon saving. Do not abort if some frames fail to restore,
8557 just show an error message and continue. Set up maximized frames
8558 so they have default non-maximized dimensions.
8559
8560 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8561
8562 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8563 Don't start heredoc inside a string or comment.
8564
8565 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8566
8567 * bindings.el (visual-order-cursor-movement): New defcustom.
8568 (right-char, left-char): Provide visual-order cursor motion by
8569 calling move-point-visually. Update the doc strings.
8570
8571 2013-06-28 Kenichi Handa <handa@gnu.org>
8572
8573 * international/mule.el (define-coding-system): New coding system
8574 properties :inhibit-null-byte-detection,
8575 :inhibit-iso-escape-detection, and :prefer-utf-8.
8576 (set-buffer-file-coding-system): If :charset-list property of
8577 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8578 appropriate for setting.
8579
8580 * international/mule-cmds.el (select-safe-coding-system):
8581 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8582 multibyte characters, return utf-8 (or one of its siblings).
8583
8584 * international/mule-conf.el (prefer-utf-8): New coding system.
8585 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8586 files.
8587
8588 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8589
8590 * net/shr.el (shr-render-region): New function.
8591
8592 * net/eww.el: Autoload `eww-browse-url'.
8593
8594 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8595
8596 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8597 Adapt to `package-desc-version' being a list.
8598 Use `package--ac-desc-version' to retrieve version from a package
8599 archive element.
8600
8601 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8602
8603 New experimental feature to save&restore window and frame setup.
8604 * desktop.el (desktop-save-windows): New defcustom.
8605 (desktop--saved-states): New var.
8606 (desktop--excluded-frame-parameters): New defconst.
8607 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8608 (desktop--restore-windows, desktop--save-windows): New functions.
8609 (desktop-save): Call `desktop--save-windows'.
8610 (desktop-read): Call `desktop--restore-windows'.
8611
8612 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8613
8614 * net/shr.el (add-face-text-property): Remove compat definition.
8615
8616 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8617
8618 * info.el (Info-try-follow-nearest-node): Move search for footnote
8619 above search for node name to prevent missing a footnote (bug#14717).
8620
8621 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8622
8623 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8624
8625 2013-06-27 Leo Liu <sdl.web@gmail.com>
8626
8627 * net/eww.el (eww-read-bookmarks): Check file size.
8628
8629 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8632 advice--pending if newdef is nil or an autoload (bug#13820).
8633 (advice-mapc): New function.
8634
8635 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636
8637 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8638 probably.
8639 (eww-mode-map): Add a menu bar.
8640 (eww-add-bookmark): New command.
8641 (eww-bookmark-mode): New mode and commands.
8642 (eww-add-bookmark): Remove newlines from the title.
8643 (eww-bookmark-browse): Don't bug out if it's the only window.
8644
8645 2013-06-26 Glenn Morris <rgm@gnu.org>
8646
8647 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8648 (hfy-size): Handle ttys. (Bug#14668)
8649
8650 * info-xref.el: Update for Texinfo 5 change in *note format.
8651 (info-xref-node-re, info-xref-note-re): New constants.
8652 (info-xref-check-buffer): Use info-xref-note-re.
8653
8654 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8657
8658 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8659 nil terminate the loop (bug#14718).
8660
8661 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8662
8663 * net/eww.el: Rework history traversal. When going forward/back,
8664 put these actions into the history, too, so that they can be
8665 replayed.
8666 (eww-render): Move the history reset to the correct buffer.
8667
8668 2013-06-25 Juri Linkov <juri@jurta.org>
8669
8670 * files-x.el (modify-dir-local-variable): Change the header comment
8671 in the file with directory local variables. (Bug#14692)
8672
8673 * files-x.el (read-file-local-variable-value): Add `default'.
8674 (Bug#14710)
8675
8676 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8677
8678 * net/eww.el (eww-make-unique-file-name): Create a unique file
8679 name before saving to entering `y' accidentally asynchronously.
8680
8681 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8682
8683 * net/eww.el (eww-download): New command and keystroke.
8684
8685 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8686
8687 * net/eww.el (eww-copy-page-url): Change name of command.
8688
8689 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8690 be more consistent with Info and dired.
8691
8692 * net/eww.el (eww-mode-map): Ditto.
8693
8694 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8697 packages from archives.
8698 (package-archive-contents): Change format; include obsolete packages.
8699 (package-desc): Use `dir' to mark builtin packages.
8700 (package--from-builtin): Set the `dir' field to `builtin'.
8701 (generated-autoload-file, version-control): Declare.
8702 (package-compute-transaction): Change first arg and return value to be
8703 lists of package-descs. Adjust to new package-archive-contents format.
8704 (package--add-to-archive-contents): Adjust to new
8705 package-archive-contents format.
8706 (package-download-transaction): Arg is now a list of package-descs.
8707 (package-install): If `pkg' is a package name, pass it as
8708 a requirement, so it is subject to the usual (e.g. disabled) checks.
8709 (describe-package): Accept package-desc as well.
8710 (describe-package-1): Describe a specific package-desc. Add links to
8711 other package-descs for the same package name.
8712 (package-menu-describe-package): Pass the actual package-desc.
8713 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8714 works correctly.
8715 (package-desc-status): New function.
8716 (package-menu--refresh): New function, extracted
8717 from package-menu--generate.
8718 (package-menu--generate): Use it.
8719 (package-delete): Update package-alist.
8720 (package-menu-execute): Don't call package-initialize.
8721
8722 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8723 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8724 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8725 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8726 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8727 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8728
8729 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8730
8731 * window.el (window--state-get-1): Workaround for bug#14527.
8732 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8733
8734 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8735
8736 * net/eww.el (eww-back-url): Implement the history by stashing all
8737 the data into a list.
8738 (eww-forward-url): Allow going forward in the history, too.
8739
8740 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8743 for values and use read--expression for expressions (bug#14710).
8744 (read-file-local-variable): Avoid setq.
8745 (read-file-local-variable-mode): Use minor-mode-list.
8746
8747 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8748
8749 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8750 for DOI URLs.
8751
8752 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8753
8754 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8755 Update imenu-support when dialect changes.
8756
8757 2013-06-25 Leo Liu <sdl.web@gmail.com>
8758
8759 * ido.el (ido-read-internal): Allow forward slash on windows.
8760
8761 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8762
8763 * net/eww.el (eww): Start of strings is \\`, not ^.
8764
8765 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8766
8767 * net/shr.el (shr-browse-url): Fix interactive spec.
8768
8769 * net/eww.el (eww): Add a trailing slash to domain names.
8770
8771 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8772
8773 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8774
8775 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8776
8777 * net/shr.el (shr-browse-url): Use an external browser if given a
8778 prefix.
8779
8780 * net/eww.el (eww-external-browser): Move to shr.
8781
8782 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8783
8784 * net/eww.el (eww): Work more correctly for file: URLs.
8785 (eww-detect-charset): Allow quoted charsets.
8786 (eww-yank-page-url): New command and keystroke.
8787
8788 2013-06-24 Daiki Ueno <ueno@gnu.org>
8789
8790 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8791 file name of gpg executable.
8792 (epg-context-program): New function.
8793 (epg-context-home-directory): New function.
8794 (epg-context-set-program): New function.
8795 (epg-context-set-home-directory): New function.
8796 (epg--start): Use `epg-context-program' instead of
8797 'epg-gpg-program'.
8798 (epg--list-keys-1): Likewise.
8799
8800 2013-06-24 Leo Liu <sdl.web@gmail.com>
8801
8802 * ido.el (ido-read-internal): Fix bug#14620.
8803
8804 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8805
8806 * faces.el (face-documentation): Simplify.
8807 (read-face-attribute, tty-find-type, x-resolve-font-name):
8808 Use `string-match-p'.
8809 (list-faces-display): Use `string-match-p'. Simplify.
8810 (face-spec-recalc): Check face to avoid face alias loops.
8811 (read-color): Use `string-match-p' and non-capturing parenthesis.
8812
8813 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8814
8815 * net/shr.el (shr-rescale-image): Use the new
8816 :max-width/:max-height functionality.
8817
8818 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8819
8820 * net/eww.el (eww-search-prefix): New variable.
8821 (eww): Use it.
8822 (eww-external-browser): New variable.
8823 (eww-mode-map): New keystroke.
8824 (eww-browse-with-external-browser): New command.
8825
8826 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8827
8828 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8829
8830 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8831 Don't skip aligning the next header field when padding is 0;
8832 otherwise, field width is not respected unless the title is as
8833 wide as the field.
8834
8835 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * emacs-lisp/package.el (package-el-version): Remove.
8838 (package-process-define-package): Fix inf-loop.
8839 (package-install): Allow symbols as arguments again.
8840
8841 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8842
8843 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8844 add some more keyword-like methods.
8845 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8846
8847 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8848
8849 * bs.el (bs-buffer-show-mark): Make defvar-local.
8850 (bs-mode): Use setq-local.
8851
8852 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8853 (emacs-lock--try-unlocking): Make defvar-local.
8854
8855 2013-06-22 Glenn Morris <rgm@gnu.org>
8856
8857 * play/cookie1.el (cookie-apropos): Minor simplification.
8858
8859 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8860
8861 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8862
8863 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8864 `regexp-opt', it breaks the build during dumping.
8865
8866 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8867
8868 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8869 Highlight keyword-like methods on Kernel and Module with
8870 font-lock-builtin-face.
8871 (auto-mode-alist): Consolidate different entries into one regexp
8872 and add more *file-s.
8873
8874 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8875
8876 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8877
8878 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8879 (diary-entry): Use it in the action of this button type instead of
8880 diary-goto-entry.
8881
8882 * calendar/todo-mode.el: New version.
8883 (todo-add-category): Append new category to end of file and give
8884 it the highest number, instead of putting it at the beginning and
8885 giving it 0. Incorporate noninteractive functionality.
8886 (todo-forward-category): Adapt to 1-based category numbering.
8887 Allow skipping over archived categories.
8888 (todo-backward-category): Derive from todo-forward-category.
8889 (todo-backward-item, todo-forward-item): Make noninteractive and
8890 delegate interactive part to new commands. Make sensitive to done items.
8891 (todo-categories): Make value an alist of category names and
8892 vectors of item counts.
8893 (todo-category-beg): Make a defconst.
8894 (todo-category-number): Use 1 instead of 0 as initial value.
8895 (todo-category-select): Make sensitive to overlays, optional item
8896 highlighting and done items.
8897 (todo-delete-item): Make sensitive to overlays and marked and done items.
8898 (todo-edit-item): Make sensitive to overlays and editing of
8899 date/time header optional. Add format checks.
8900 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8901 no-op if point is not on an item. Advertise using todo-edit-quit.
8902 (todo-edit-mode): Make sensitive to new format, font-locking, and
8903 multiple todo files.
8904 (todo-insert-item, todo-insert-item-here): Derive from
8905 todo-basic-insert-item and extend functionality.
8906 (todo-item-end, todo-item-start): Make sensitive to done items.
8907 (todo-item-string): Don't return text properties. Restore point.
8908 (todo-jump-to-category): Make sensitive to multiple todo files and
8909 todo archives. Use extended category completion.
8910 (todo-lower-item, todo-raise-item): Rename to *-priority and
8911 derive from todo-set-item-priority.
8912 (todo-mode): Derive from special-mode. Make sensitive to new
8913 format, font-locking and multiple todo files. Make read-only.
8914 (todo-mode-map): Don't suppress digit keys, so they can supply
8915 prefix arguments. Add many new key bindings.
8916 (todo-prefix): Insert as an overlay instead of file text.
8917 Change semantics from diary date expression to purely visual mark.
8918 (todo-print): Rename to todo-print-buffer. Make buffer display
8919 features printable. Remove option to restrict number of items
8920 printed. Add option to print to file.
8921 (todo-print-function): Rename to todo-print-buffer-function.
8922 (todo-quit): Extend to handle exiting new todo modes.
8923 (todo-remove-item): Make sensitive to overlays.
8924 (todo-save): Extend to buffers of filtered items.
8925 (todo-show): Make sensitive to done items, multiple todo files and
8926 new todo modes. Offer to convert legacy todo file before creating
8927 first new todo file.
8928 (todo-show-priorities): Rename to todo-top-priorities.
8929 Change semantics of value 0.
8930 (todo-top-priorities): Rename to todo-filter-top-priorities,
8931 derive from todo-filter-items and extend functionality.
8932 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8933 and extend functionality to other types of filtered items.
8934 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8935 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8936 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8937 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8938 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8939 (todo-edit-mode-hook, todo-entry-prefix-function)
8940 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8941 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8942 (todo-initials, todo-insert-threshold, todo-item-string-start)
8943 (todo-line-string, todo-menu, todo-mode-hook)
8944 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8945 (todo-print-priorities, todo-remove-separator)
8946 (todo-save-top-priorities-too, todo-string-count-lines)
8947 (todo-string-multiline-p, todo-time-string-format)
8948 (todo-tmp-buffer-name): Remove.
8949 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8950 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8951 (todo-edit-category-diary-inclusion)
8952 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8953 (todo-edit-file, todo-edit-item-date-day)
8954 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8955 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8956 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8957 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8958 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8959 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8960 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8961 (todo-filter-top-priorities-multifile, todo-find-archive)
8962 (todo-find-filtered-items-file, todo-go-to-source-item)
8963 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8964 (todo-jump-to-archive-category, todo-lower-category)
8965 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8966 (todo-move-category, todo-move-item, todo-next-button)
8967 (todo-next-item, todo-padded-string, todo-powerset)
8968 (todo-previous-button, todo-previous-item)
8969 (todo-print-buffer-to-file, todo-raise-category)
8970 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8971 (todo-set-category-number, todo-set-item-priority)
8972 (todo-set-top-priorities-in-category)
8973 (todo-set-top-priorities-in-file, todo-show-categories-table)
8974 (todo-sort-categories-alphabetically-or-numerically)
8975 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8976 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8977 (todo-toggle-item-header, todo-toggle-item-highlighting)
8978 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8979 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8980 (todo-unarchive-items, todo-unmark-category): New commands.
8981 (todo-absolute-file-name, todo-add-to-buffer-list)
8982 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8983 (todo-basic-insert-item, todo-category-completions)
8984 (todo-category-number, todo-category-string-matcher-1)
8985 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8986 (todo-check-format, todo-clear-matches)
8987 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8988 (todo-current-category, todo-date-string-matcher)
8989 (todo-define-insertion-command, todo-diary-expired-matcher)
8990 (todo-diary-goto-entry, todo-diary-item-p)
8991 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8992 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8993 (todo-done-item-section-p, todo-done-separator)
8994 (todo-done-string-matcher, todo-files, todo-filter-items)
8995 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8996 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8997 (todo-insert-category-line, todo-insert-item-from-calendar)
8998 (todo-insert-sort-button, todo-insert-with-overlays)
8999 (todo-insertion-command-name, todo-insertion-key-bindings)
9000 (todo-label-to-key, todo-longest-category-name-length)
9001 (todo-make-categories-list, todo-mode-external-set)
9002 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9003 (todo-modes-set-3, todo-multiple-filter-files)
9004 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9005 (todo-read-category, todo-read-date, todo-read-dayname)
9006 (todo-read-file-name, todo-read-time)
9007 (todo-reevaluate-category-completions-files-defcustom)
9008 (todo-reevaluate-default-file-defcustom)
9009 (todo-reevaluate-filelist-defcustoms)
9010 (todo-reevaluate-filter-files-defcustom)
9011 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9012 (todo-reset-done-separator, todo-reset-done-separator-string)
9013 (todo-reset-done-string, todo-reset-global-current-todo-file)
9014 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9015 (todo-reset-prefix, todo-set-categories)
9016 (todo-set-date-from-calendar, todo-set-show-current-file)
9017 (todo-set-top-priorities, todo-short-file-name)
9018 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9019 (todo-total-item-counts, todo-update-buffer-list)
9020 (todo-update-categories-display, todo-update-categories-sexp)
9021 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9022 New functions.
9023 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9024 New major modes.
9025 (todo-categories, todo-display, todo-edit, todo-faces)
9026 (todo-filtered): New defgroups.
9027 (todo-archived-only, todo-button, todo-category-string, todo-date)
9028 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9029 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9030 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9031 (todo-add-item-if-new-category, todo-always-add-time-string)
9032 (todo-categories-align, todo-categories-archived-label)
9033 (todo-categories-category-label, todo-categories-diary-label)
9034 (todo-categories-done-label, todo-categories-number-separator)
9035 (todo-categories-todo-label, todo-categories-totals-label)
9036 (todo-category-completions-files, todo-completion-ignore-case)
9037 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9038 (todo-done-separator-string, todo-done-string)
9039 (todo-files-function, todo-filter-done-items, todo-filter-files)
9040 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9041 (todo-initial-category, todo-initial-file, todo-item-mark)
9042 (todo-legacy-date-time-regexp, todo-mode-line-function)
9043 (todo-nondiary-marker, todo-number-prefix)
9044 (todo-print-buffer-function, todo-show-current-file)
9045 (todo-show-done-only, todo-show-first, todo-show-with-done)
9046 (todo-skip-archived-categories, todo-top-priorities-overrides)
9047 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9048 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9049 New defcustoms.
9050 (todo-category-done, todo-date-pattern, todo-date-string-start)
9051 (todo-diary-items-buffer, todo-done-string-start)
9052 (todo-filtered-items-buffer, todo-item-start)
9053 (todo-month-abbrev-array, todo-month-name-array)
9054 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9055 (todo-top-priorities-buffer): New defconsts.
9056 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9057 (todo-categories-with-marks, todo-category-string-face)
9058 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9059 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9060 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9061 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9062 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9063 (todo-font-lock-keywords, todo-global-current-todo-file)
9064 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9065 (todo-insertion-commands-args)
9066 (todo-insertion-commands-args-genlist)
9067 (todo-insertion-commands-names, todo-insertion-map)
9068 (todo-key-bindings-t, todo-key-bindings-t+a)
9069 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9070 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9071 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9072 (todo-visited): New variables.
9073
9074 2013-06-21 Glenn Morris <rgm@gnu.org>
9075
9076 * play/cookie1.el (cookie-apropos): Add optional display argument.
9077 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9078 (psychoanalyze-pinhead): Use cookie-doctor.
9079
9080 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9081
9082 * emacs-lisp/package.el (tar-get-file-descriptor)
9083 (tar--extract): Declare.
9084
9085 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9086
9087 Extend flymake's warning predicate to be a function (bug#14217).
9088 * progmodes/flymake.el (flymake-warning-predicate): New.
9089 (flymake-parse-line): Use it.
9090 (flymake-warning-re): Make obsolete alias to
9091 `flymake-warning-predicate'.
9092
9093 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9096 (package-obsolete-list): Remove.
9097 (package-activate): Remove min-version argument. Add `force' argument.
9098 Adjust to new package-alist format.
9099 (package-mark-obsolete): Remove.
9100 (package-unpack): Force reload of the package's autoloads.
9101 (package-installed-p): Check builtins if the installed package is not
9102 recent enough.
9103 (package-initialize): Don't reset package-obsolete-list.
9104 Don't specify which package version to activate.
9105 (package-process-define-package, describe-package-1)
9106 (package-menu--generate): Adjust to new package-alist format.
9107
9108 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9109
9110 * allout-widgets.el (allout-widgets-mode-off)
9111 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9112 (allout-widgets-post-command-business)
9113 (allout-widgets-after-copy-or-kill-function)
9114 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9115 (allout-decorate-item-and-context)
9116 (allout-graphics-modification-handler): Fix typos in docstrings.
9117 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9118
9119 * cmuscheme.el (scheme-start-file): Doc fix.
9120 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9121 (scheme-input-filter): Use `string-match-p'.
9122
9123 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9124
9125 * dired-x.el: Use Dired consistently in docstrings.
9126
9127 * dired.el: Use Dired consistently in docstrings.
9128 (dired-readin, dired-mode): Use `setq-local'.
9129 (dired-switches-alist): Make defvar-local.
9130 (dired-buffers-for-dir): Use `zerop'.
9131 (dired-safe-switches-p, dired-switches-escape-p)
9132 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9133 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9134 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9135 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9136 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9137 (dired-toggle-marks, dired-mark-files-containing-regexp)
9138 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9139 (dired-flag-auto-save-files, dired-flag-backup-files):
9140 Use `looking-at-p'.
9141 (dired-mark-files-regexp, dired-build-subdir-alist):
9142 Use `string-match-p', `looking-at-p'.
9143
9144 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9145 (direct-print-region-helper): Use `string-match-p'.
9146
9147 2013-06-21 Leo Liu <sdl.web@gmail.com>
9148
9149 * comint.el (comint-redirect-results-list-from-process):
9150 Fix infinite loop.
9151
9152 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9153
9154 * net/eww.el (eww-update-header-line-format): Quote % characters.
9155
9156 2013-06-21 Glenn Morris <rgm@gnu.org>
9157
9158 * play/cookie1.el (cookie): New custom group.
9159 (cookie-file): New option.
9160 (cookie-check-file): New function.
9161 (cookie): Make it interactive. Make start and end messages optional.
9162 Interactively, display the result. Default to cookie-file.
9163 (cookie-insert): Default to cookie-file.
9164 (cookie-snarf): Make start and end messages optional.
9165 Default to cookie-file. Use with-temp-buffer.
9166 (cookie-read): Rename from read-cookie.
9167 Make start and end messages optional. Default to cookie-file.
9168 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9169 Do not autoload it.
9170 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9171 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9172
9173 2013-06-21 Leo Liu <sdl.web@gmail.com>
9174
9175 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9176
9177 2013-06-21 Glenn Morris <rgm@gnu.org>
9178
9179 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9180
9181 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9182 Daniel Hackney <dan@haxney.org>
9183
9184 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9185 Consolidate the single-file vs tarball code.
9186 (package-desc-suffix): New function.
9187 (package-desc-full-name): Don't bother inlining it.
9188 (package-load-descriptor): Return the new package-desc.
9189 (package-mark-obsolete): Remove unused arg `package'.
9190 (package-unpack): Make it work for single files as well.
9191 Make it update package-alist.
9192 (package--make-autoloads-and-stuff): Rename from
9193 package--make-autoloads-and-compile. Don't compile any more.
9194 (package--compile): New function.
9195 (package-generate-description-file): New function, extracted from
9196 package-unpack-single.
9197 (package-unpack-single): Remove.
9198 (package--with-work-buffer): Add indentation and debugging info.
9199 (package-download-single): Remove.
9200 (package-install-from-archive): Rename from package-download-tar, make
9201 it take a pkg-desc, and make it work for single files as well.
9202 (package-download-transaction): Simplify.
9203 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9204 external tar program.
9205 (package-install-from-buffer): Remove `pkg-desc' argument.
9206 Use package-tar-file-info for tar-mode buffers.
9207 (package-install-file): Simplify accordingly.
9208 (package-archive-base): Change to take a pkg-desc.
9209 * tar-mode.el (tar--check-descriptor): New function, extracted from
9210 tar-get-descriptor.
9211 (tar-get-descriptor): Use it.
9212 (tar-get-file-descriptor): New function.
9213 (tar--extract): New function, extracted from tar-extract.
9214 (tar--extract): Use it.
9215 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9216 case the summary uses non-ascii. Adjust to new calling convention of
9217 package-tar-file-info.
9218
9219 2013-06-21 Leo Liu <sdl.web@gmail.com>
9220
9221 * comint.el (comint-redirect-results-list-from-process):
9222 Fix random delay. (Bug#14681)
9223
9224 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9225
9226 * profiler.el (profiler-format-number): Use log, not log10.
9227
9228 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9229
9230 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9231
9232 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9235 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9236 yet available.
9237 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9238 (AUTOGENEL): ... here.
9239 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9240 (cl--defsubst-expand): Use it.
9241
9242 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9243
9244 * subr.el (log10): Move here from C code, and declare as obsolete.
9245 All uses of (log10 X) replaced with (log X 10).
9246
9247 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9248
9249 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9250 Declare with `defvar-local'.
9251 (tabulated-list-use-header-line, tabulated-list-entries)
9252 (tabulated-list-padding, tabulated-list-printer)
9253 (tabulated-list-sort-key): Declare with `defvar-local'.
9254 (tabulated-list-init-header, tabulated-list-print-fake-header):
9255 Use `setq-local'.
9256
9257 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9258
9259 * arc-mode.el (archive-mode): Add `archive-write-file' to
9260 `write-contents-functions' also for remote files. (Bug#14652)
9261
9262 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9263
9264 * cus-edit.el (custom-commands): Fix typos.
9265 (custom-display): Fix tooltip text.
9266 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9267 Fix typos in docstrings.
9268 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9269 (custom-unlispify-menu-entry, custom-magic-value-create)
9270 (custom-add-see-also, custom-group-value-create): Use ?\s.
9271 (custom-guess-type, customize-apropos, editable-field)
9272 (custom-face-value-create): Use `string-match-p'.
9273 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9274
9275 * custom.el (custom-load-symbol): Use `string-match-p'.
9276
9277 * ansi-color.el: Convert to lexical binding.
9278 (ansi-colors): Fix URL.
9279 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9280 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9281 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9282
9283 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9284
9285 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9286
9287 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9288
9289 2013-06-19 Tom Tromey <tromey@redhat.com>
9290
9291 * net/eww.el (eww-top-url): Remove.
9292 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9293 (eww-render): Set new variables. Don't set eww-top-url.
9294 (eww-handle-link): Handle "prev", "home", and "contents".
9295 Downcase the rel text.
9296 (eww-top-url): Choose best top URL.
9297
9298 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9299
9300 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9301 relying in widget.el. Using widget.el leads to too many
9302 user interface inconsistencies.
9303 (eww-self-insert): Implement entering commands in text fields.
9304 (eww-process-text-input): New function to make text input field editing
9305 work.
9306 (eww-submit): Rewrite to use the new-style form methods.
9307 (eww-select-display): Display the correct selected item.
9308 (eww-change-select): Implement changing the select value.
9309 (eww-toggle-checkbox): Implement radio/checkboxes.
9310 (eww-update-field): Fix compilation error.
9311 (eww-tag-textarea): Implement <textarea>.
9312
9313 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9314 we don't shadow mode-specific bindings.
9315
9316 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9317 nothing to push.
9318
9319 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9320
9321 2013-06-19 Glenn Morris <rgm@gnu.org>
9322
9323 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9324
9325 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9326
9327 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9328 not needed.
9329
9330 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9331
9332 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9333
9334 * net/browse-url.el (browse-url-browser-function):
9335 `eww-browse-url' has the right calling signature, `eww' does not.
9336
9337 2013-06-19 Glenn Morris <rgm@gnu.org>
9338
9339 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9340 Only eval autoloaded macros.
9341 (byte-compile-autoload): Only give the macro warning for macros.
9342
9343 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9344 (ps-underlined-faces): Declare.
9345
9346 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9347 (speedbar-add-supported-extension): Declare.
9348
9349 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9350 Don't include a date stamp in the header of the generated file;
9351 it leads to needless differences between output files.
9352
9353 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * net/secrets.el (secrets-struct-secret-content-type):
9356 Replace check of introspection data by a test call of "CreateItem".
9357 Some servers do not offer introspection.
9358
9359 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * electric.el (electric-pair-mode): Improve interaction with
9362 electric-layout-mode.
9363 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9364 (electric-pair-syntax): Use text-mode-syntax-table in comments
9365 and strings.
9366 (electric-pair--insert): New function.
9367 (electric-pair-post-self-insert-function): Use it and
9368 electric--after-char-pos.
9369
9370 2013-06-19 Leo Liu <sdl.web@gmail.com>
9371
9372 * progmodes/octave.el (octave-help): Fix regexp.
9373
9374 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9375
9376 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9377 (shr-table-horizontal-line): Allow nil as a value, and change the
9378 default.
9379 (shr-insert-table-ruler): Respect the nil value.
9380
9381 2013-06-18 Tom Tromey <tromey@barimba>
9382
9383 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9384 New defvars.
9385 (eww-open-file): New defun.
9386 (eww-render): Initialize new variables.
9387 (eww-display-html): Handle "link" and "a".
9388 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9389 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9390 (eww-back-url): Rename from eww-previous-url.
9391 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9392 New defuns.
9393
9394 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9395
9396 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9397 Distinguish ternary operator tokens from slash symbol and slash
9398 char literal.
9399
9400 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9401
9402 Convert symbol prettification into minor mode and global minor mode.
9403
9404 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9405 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9406 (prettify-symbols--keywords): Rename from
9407 `prog-prettify-symbols-alist' and make a local defvar.
9408 (prettify-symbols--compose-symbol): Rename from
9409 `prog--prettify-font-lock-compose-symbol'.
9410 (prettify-symbols--make-keywords): Rename from
9411 `prog-prettify-font-lock-symbols-keywords' and simplify.
9412 (prog-prettify-install): Remove.
9413 (prettify-symbols-mode): New minor mode, based on
9414 `prog-prettify-install'.
9415 (turn-on-prettify-symbols-mode): New function.
9416 (global-prettify-symbols-mode): New globalized minor mode.
9417
9418 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9419 * progmodes/cfengine.el (cfengine3-mode):
9420 * progmodes/perl-mode.el (perl-mode): Don't call
9421 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9422
9423 2013-06-18 Juri Linkov <juri@jurta.org>
9424
9425 * files-x.el (modify-file-local-variable-message): New function.
9426 (modify-file-local-variable)
9427 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9428 and call `modify-file-local-variable-message' when it's non-nil.
9429 (add-file-local-variable, delete-file-local-variable)
9430 (add-file-local-variable-prop-line)
9431 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9432 and use it. (Bug#9820)
9433
9434 2013-06-18 Juri Linkov <juri@jurta.org>
9435
9436 * emulation/vi.el (vi-shell-op):
9437 * emulation/vip.el (vip-execute-com, ex-command):
9438 * emulation/viper-cmd.el (viper-exec-bang):
9439 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9440 the call of `shell-command-on-region'. (Bug#14637)
9441
9442 * simple.el (shell-command-on-region): Doc fix.
9443
9444 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9447 (bug#14633).
9448
9449 2013-06-18 Glenn Morris <rgm@gnu.org>
9450
9451 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9452
9453 * newcomment.el (comment-search-forward, comment-search-backward):
9454 Doc fix. (Bug#14376)
9455
9456 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9457
9458 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9459 (buffer-face-mode-invoke): Doc fix.
9460
9461 2013-06-18 Matthias Meulien <orontee@gmail.com>
9462
9463 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9464 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9465
9466 2013-06-18 Glenn Morris <rgm@gnu.org>
9467
9468 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9469 Replace obsolete function generic-make-keywords with its expansion.
9470
9471 * progmodes/python.el (ffap-alist): Declare.
9472
9473 * textmodes/reftex.el (bibtex-mode-map): Declare.
9474
9475 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9478 (package-unpack, package-unpack-single): Return the pkg-dir.
9479 (package-download-transaction): Use it to update package-alist.
9480
9481 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9482
9483 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9484 possible choice.
9485
9486 2013-06-17 Juri Linkov <juri@jurta.org>
9487
9488 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9489
9490 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9491
9492 * emacs-lisp/package.el (package-load-descriptor):
9493 Remove `with-syntax-table' call, `read' doesn't need it.
9494 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9495
9496 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9497
9498 * startup.el (command-line): Expand package name returned by
9499 `package--description-file' (bug#14639).
9500
9501 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9502
9503 * emacs-lisp/package.el (package-load-descriptor): Do not call
9504 `emacs-lisp-mode', just use its syntax table.
9505
9506 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9507
9508 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9509 `font-lock-extra-managed-props' if any prettifying keyword is added.
9510 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9511 (prog-mode): Use `setq-local'.
9512
9513 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * international/characters.el (standard-case-table): Set syntax of ?»
9516 and ?« to punctuation.
9517
9518 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9519
9520 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9521 Save relevant match data before calling `syntax-ppss' (bug#14595).
9522
9523 2013-06-15 Juri Linkov <juri@jurta.org>
9524
9525 * files-x.el (modify-file-local-variable-prop-line): Add local
9526 variables to the end of the existing comment on the first line.
9527 Use `file-auto-mode-skip' to skip interpreter magic line,
9528 and also skip XML declaration.
9529
9530 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * startup.el (package--builtin-versions): New var.
9533 (package-subdirectory-regexp): Remove.
9534 (package--description-file): Hard code its value instead.
9535
9536 * emacs-lisp/package.el: Don't activate packages older than builtin.
9537 (package-obsolete-list): Rename from package-obsolete-alist, and make
9538 it into a simple list of package-desc.
9539 (package-strip-version): Remove.
9540 (package-built-in-p): Use package--builtin-versions.
9541 (package-mark-obsolete): Simplify.
9542 (package-process-define-package): Mark it obsolete if older than the
9543 builtin version.
9544 (package-handle-response): Use line-end-position.
9545 (package-read-archive-contents, package--download-one-archive):
9546 Simplify.
9547 (package--add-to-archive-contents): Skip if older than the builtin or
9548 installed version.
9549 (package-menu-describe-package): Fix last change.
9550 (package-list-unversioned): New var.
9551 (package-menu--generate): Use it.
9552
9553 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9554 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9555 (autoload-builtin-package-versions): New variable.
9556 (autoload-generate-file-autoloads): Use them.
9557 Remove the list of autoloaded functions/macros from the
9558 (autoload...) comments.
9559
9560 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9561
9562 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9563
9564 * simple.el (line-move-partial): Don't jump to the next screen
9565 line as soon as it becomes visible. Instead, continue enlarging
9566 the vscroll until the portion of a tall screen line that's left on
9567 display is about the height of the frame's default font.
9568 (Bug#14567)
9569
9570 2013-06-15 Glenn Morris <rgm@gnu.org>
9571
9572 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9573 compilation-error-regexp-alist void, or local while let-bound.
9574
9575 * progmodes/make-mode.el (makefile-mode-syntax-table):
9576 Treat "=" as punctuation. (Bug#14614)
9577
9578 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9579
9580 * help-fns.el (describe-variable):
9581 Add extra line for permanent-local variables.
9582
9583 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9584
9585 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9586 Add export, import, library. (Bug#9164)
9587 (library): Set indent function.
9588
9589 2013-06-14 Glenn Morris <rgm@gnu.org>
9590
9591 * term/xterm.el (xterm--query):
9592 Stop after first matching handler. (Bug#14615)
9593
9594 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9595
9596 Add support for dired in saveplace.
9597 * dired.el (dired-initial-position-hook): New variable.
9598 (dired-initial-position): Call hook to place cursor position.
9599 * saveplace.el (save-place-to-alist): Add dired position.
9600 (save-place-dired-hook): New function.
9601
9602 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9605 through a symbol rather than letrec.
9606
9607 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9608 (package-desc): Add `dir' field.
9609 (package-desc-full-name): New function.
9610 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9611 (package-maybe-load-descriptor): Remove.
9612 (package-load-all-descriptors): Just call package-load-descriptor.
9613 (package--disabled-p): New function.
9614 (package-desc-vers, package-desc-doc): Remove aliases.
9615 (package--dir): Remove function.
9616 (package-activate): Check if a package is disabled.
9617 (package-process-define-package): New function, extracted from
9618 define-package.
9619 (define-package): Turn into a place holder.
9620 (package-unpack-single, package-tar-file-info):
9621 Use package--description-file.
9622 (package-compute-transaction): Use package--disabled-p.
9623 (package-download-transaction): Don't call
9624 package-maybe-load-descriptor since they're all loaded anyway.
9625 (package-install): Change argument to be a pkg-desc.
9626 (package-delete): Use a single pkg-desc argument.
9627 (describe-package-1): Use package-desc-dir instead of package--dir.
9628 Use package-desc property instead of package-symbol.
9629 (package-install-button-action): Adjust accordingly.
9630 (package--push): Rewrite.
9631 (package-menu--print-info): Adjust accordingly. Change the ID format
9632 to be a pkg-desc.
9633 (package-menu-describe-package, package-menu-get-status)
9634 (package-menu--find-upgrades, package-menu-mark-upgrades)
9635 (package-menu-execute, package-menu--name-predicate):
9636 Adjust accordingly.
9637 * startup.el (package--description-file): New function.
9638 (command-line): Use it.
9639 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9640 Use package-desc-version.
9641
9642 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9643 (byte-compile-preprocess): Use it.
9644 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9645 can't quite recognize.
9646 (byte-compile-add-to-list): Remove.
9647 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9648 (cconv-closure-convert): Add assertion.
9649
9650 * emacs-lisp/map-ynp.el: Use lexical-binding.
9651 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9652 Factor out some repeated code.
9653
9654 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * subr.el (with-eval-after-load): New macro.
9657 (eval-after-load): Allow form to be a function.
9658 take advantage of lexical-binding.
9659 (do-after-load-evaluation): Use dolist and adjust to new format.
9660 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9661
9662 2013-06-13 Juri Linkov <juri@jurta.org>
9663
9664 * replace.el (perform-replace): Display "symbol " and other search
9665 modes from `isearch-message-prefix' in the *Help* buffer.
9666
9667 * isearch.el (isearch-query-replace): Add " symbol" and other
9668 possible search modes from `isearch-message-prefix' to the prompt.
9669 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9670 when reading a regexp to collect.
9671
9672 2013-06-13 Juri Linkov <juri@jurta.org>
9673
9674 * isearch.el (word-search-regexp): Match whitespace if the search
9675 string begins or ends in whitespace. The LAX arg is applied to
9676 both ends of the search string. Use `regexp-quote' and explicit
9677 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9678 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9679 boundaries are replaced with symbol boundaries, and characters
9680 between symbols match non-word non-symbol syntax. (Bug#14602)
9681
9682 2013-06-13 Juri Linkov <juri@jurta.org>
9683
9684 * isearch.el (isearch-del-char): Don't exceed the length of
9685 `isearch-string' by the prefix arg. (Bug#14563)
9686
9687 2013-06-13 Juri Linkov <juri@jurta.org>
9688
9689 * isearch.el (isearch-yank-word, isearch-yank-line)
9690 (isearch-char-by-name, isearch-quote-char)
9691 (isearch-printing-char, isearch-process-search-char):
9692 Add optional count prefix arg. (Bug#14563)
9693
9694 * international/isearch-x.el
9695 (isearch-process-search-multibyte-characters):
9696 Add optional count prefix arg.
9697
9698 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9699
9700 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9701 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9702 lexical-binding.
9703
9704 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9705
9706 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9707
9708 2013-06-13 Glenn Morris <rgm@gnu.org>
9709
9710 * startup.el (tty-handle-args):
9711 Don't just discard "--" and anything after. (Bug#14608)
9712
9713 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9714
9715 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9716
9717 Implement changes in Secret Service API. Make it backward compatible.
9718 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9719 (secrets-create-item): Use it. Prefix properties with interface.
9720
9721 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9722
9723 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9724 (term-emulate-terminal): Respect term-suppress-hard-newline.
9725
9726 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9727
9728 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9729 Only remove a `thumb-file' overlay. (Bug#14548)
9730
9731 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9732
9733 * mail/reporter.el (reporter-submit-bug-report):
9734 Handle missing package-name. (Bug#14600)
9735
9736 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9737
9738 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9739 (reftex-citation-prompt, reftex-default-bibliography)
9740 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9741 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9742 (reftex-bib-sort-author, reftex-bib-sort-year)
9743 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9744 (reftex-extract-bib-entries-from-thebibliography)
9745 (reftex-get-bibkey-default, reftex-get-bib-names)
9746 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9747 (reftex-format-bib-entry, reftex-parse-bibitem)
9748 (reftex-format-bibitem, reftex-do-citation)
9749 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9750 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9751 (reftex-insert-bib-matches, reftex-format-citation)
9752 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9753 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9754 existing comments into docstrings.
9755
9756 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9757
9758 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9759
9760 2013-06-12 Andreas Schwab <schwab@suse.de>
9761
9762 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9763 for auto-save files.
9764
9765 2013-06-12 Glenn Morris <rgm@gnu.org>
9766
9767 * ido.el (ido-delete-ignored-files): Remove.
9768 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9769 Go back to calling ido-ignore-item-p directly.
9770
9771 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9772
9773 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9774
9775 * ido.el (ido-delete-ignored-files): New function,
9776 split from ido-make-file-list-1.
9777 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9778 (ido-make-file-list-1): Use ido-delete-ignored-files.
9779
9780 2013-06-12 Leo Liu <sdl.web@gmail.com>
9781
9782 * progmodes/octave.el (inferior-octave-startup)
9783 (inferior-octave-completion-table)
9784 (inferior-octave-track-window-width-change)
9785 (octave-eldoc-function-signatures, octave-help)
9786 (octave-find-definition): Use single quoted strings.
9787 (inferior-octave-startup-args): Change default value.
9788 (inferior-octave-startup): Do not hard code "-i" and
9789 "--no-line-editing".
9790 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9791 (inferior-octave-directory-tracker): Use it.
9792 (octave-goto-function-definition): Robustify.
9793 (octave-help): Support highlighting operators in 'See also'.
9794 (octave-find-definition): Find subfunctions only in Octave mode.
9795
9796 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * help-fns.el (help-fns--compiler-macro): If the handler function is
9799 named, then put a link to it.
9800 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9801 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9802 (cl-typep): Use it.
9803 (cl-eval-when): Simplify debug spec.
9804 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9805 compiler-macro function instead of setting `compiler-macro-file'.
9806
9807 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9808
9809 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9810 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9811
9812 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9813 Daniel Hackney <dan@haxney.org>
9814
9815 First part of Daniel Hackney's patch to package.el.
9816 * emacs-lisp/package.el: Use defstruct.
9817 (package-desc): New, main struct.
9818 (package--bi-desc, package--ac-desc): New structs, used to describe the
9819 format in external files.
9820 (package-desc-vers): Replace with package-desc-version accessor.
9821 (package-desc-doc): Replace with package-desc-summary accessor.
9822 (package-activate-1): Remove `package' arg since the pkg-vec now
9823 includes the name.
9824 (define-package): Use package-desc-from-define.
9825 (package-unpack-single): Change file-name arg to be a symbol.
9826 (package--add-to-archive-contents): Use package-desc-create and new
9827 accessor functions to package--ac-desc.
9828 (package-buffer-info, package-tar-file-info): Return a package-desc.
9829 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9830 arg to be a package-desc.
9831 (package-install-file): Adjust accordingly. Use \' to match EOS.
9832 (package--from-builtin): New function.
9833 (describe-package-1, package-menu--generate): Use it.
9834 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9835 (package-generate-autoloads): Idem and return the name of the file.
9836 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9837 Change pkg-info arg to be a package-desc.
9838 Use package-make-ac-desc.
9839 (package-upload-file): Use \' to match EOS.
9840 * finder.el (finder-compile-keywords): Use package-make-builtin.
9841
9842 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * vc/vc.el (vc-deduce-fileset): Change error message.
9845 (vc-read-backend): New function.
9846 (vc-next-action): Use it.
9847
9848 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9849
9850 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9851 (prolog-font-lock-keywords): Use regexp-opt instead.
9852 Don't manually highlight strings.
9853 (prolog-mode-variables): Simplify comment-start-skip.
9854 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9855
9856 * emacs-lisp/generic.el (generic--normalise-comments)
9857 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9858 (generic-mode-set-comments): Use them.
9859 (generic-bracket-support): Use setq-local.
9860 (generic-make-keywords-list): Declare obsolete.
9861
9862 2013-06-11 Glenn Morris <rgm@gnu.org>
9863
9864 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9865 Prettify after setting font-lock-defaults. (Bug#14574)
9866
9867 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9868
9869 * replace.el (query-replace, occur-read-regexp-defaults-function)
9870 (replace-search):
9871 * subr.el (declare-function, number-sequence, local-set-key)
9872 (substitute-key-definition, locate-user-emacs-file)
9873 (with-silent-modifications, split-string, eval-after-load):
9874 Fix typos, remove unneeded backslashes and reflow some docstrings.
9875
9876 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9879 default for Elisp files.
9880
9881 2013-06-11 Glenn Morris <rgm@gnu.org>
9882
9883 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9884 although define-derived-mode was doing this anyway. (Bug#14583)
9885
9886 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9887
9888 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9889 Fix make-variable-buffer-local call to refer to the correct variable.
9890
9891 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9892
9893 * eshell/em-term.el (eshell-visual-commands)
9894 (eshell-visual-subcommands, eshell-visual-options):
9895 Add summary line to docstrings. Add cross-references.
9896
9897 2013-06-10 Glenn Morris <rgm@gnu.org>
9898
9899 * epa.el (epa-read-file-name): New function. (Bug#14510)
9900 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9901
9902 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9903
9904 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9905 output redirection to be ignored with visual commands.
9906
9907 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9908
9909 * eshell/em-term.el (eshell-visual-command-p): New function.
9910 (eshell-term-initialize): Move long lambda to separate function
9911 eshell-visual-command-p.
9912 * eshell/em-dirs.el (eshell-dirs-initialise):
9913 * eshell/em-script.el (eshell-script-initialize):
9914 Add missing #' to lambda.
9915
9916 2013-06-08 Leo Liu <sdl.web@gmail.com>
9917
9918 * progmodes/octave.el (octave-add-log-current-defun): New function.
9919 (octave-mode): Set add-log-current-defun-function.
9920 (octave-goto-function-definition): Do not move point if not found.
9921 (octave-find-definition): Enhance to try subfunctions first.
9922
9923 2013-06-08 Glenn Morris <rgm@gnu.org>
9924
9925 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9926 (byte-compile-backward-char, byte-compile-backward-word):
9927 Improve previous change, to handle non-explicit nil.
9928
9929 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9930
9931 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9932 (smie--opener/closer-at-point): New function.
9933 (smie--matching-block-data): Use it. Don't match from right after an
9934 opener or right before a closer. Obey smie-blink-matching-inners.
9935 Don't signal a mismatch for repeated inners like "switch..case..case".
9936
9937 2013-06-07 Leo Liu <sdl.web@gmail.com>
9938
9939 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9940 to t. (Bug#14303)
9941 (octave-function-header-regexp): Fix. (Bug#14570)
9942 (octave-help-mode-finish-hook, octave-help-mode-finish):
9943 Remove. Just use temp-buffer-show-hook.
9944
9945 * newcomment.el (comment-search-backward): Revert last change.
9946 (Bug#14434)
9947
9948 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9949
9950 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9951
9952 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9953 through xargs, to avoid failure due to MS-Windows limitations on
9954 command-line length.
9955
9956 2013-06-06 Glenn Morris <rgm@gnu.org>
9957
9958 * font-lock.el (lisp-font-lock-keywords-2):
9959 Treat user-error like error.
9960
9961 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9962 (byte-compile-backward-char, byte-compile-backward-word):
9963 Handle explicit nil arguments. (Bug#14565)
9964
9965 2013-06-05 Alan Mackenzie <acm@muc.de>
9966
9967 * isearch.el (isearch-allow-prefix): New user option.
9968 (isearch-other-meta-char): Don't exit isearch when a prefix
9969 argument is typed whilst `isearch-allow-prefix' is non-nil.
9970 (Bug#9706)
9971
9972 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * autorevert.el (auto-revert-notify-handler): Use memq.
9975 Hide assertion failure.
9976
9977 * skeleton.el: Use cl-lib.
9978 (skeleton-further-elements): Use defvar-local.
9979 (skeleton-insert): Use cl-progv.
9980
9981 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9982
9983 * progmodes/prog-mode.el (prog-prettify-symbols)
9984 (prog-prettify-install): Update docstrings.
9985
9986 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * simple.el: Move all the prog-mode code to prog-mode.el.
9989 * progmodes/prog-mode.el: New file.
9990 * loadup.el: Add prog-mode.el.
9991
9992 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9993
9994 * simple.el (prog-prettify-symbols): Add version.
9995 (prog-prettify-install): Add convenience function to prettify symbols.
9996
9997 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9998 (perl--augmented-font-lock-keywords-1)
9999 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10000 variables and use it.
10001
10002 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10003 (cfengine3-mode): Remove unneeded variable and use it.
10004
10005 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10006 (lisp--augmented-font-lock-keywords-1)
10007 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10008 Remove unneeded variables and use it.
10009
10010 2013-06-05 João Távora <joaotavora@gmail.com>
10011
10012 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10013 to point when opening the connection. (Bug#14380)
10014
10015 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * subr.el (load-history-regexp, load-history-filename-element)
10018 (eval-after-load, after-load-functions, do-after-load-evaluation)
10019 (eval-next-after-load, display-delayed-warnings)
10020 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10021 definition of save-match-data.
10022 (overriding-local-map): Remove accidental obsolescence declaration.
10023
10024 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10025
10026 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10027
10028 Generalize symbol prettify support to prog-mode and implement it
10029 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10030 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10031 (prog--prettify-font-lock-compose-symbol)
10032 (prog-prettify-font-lock-symbols-keywords): New variables and
10033 functions to support symbol prettification.
10034 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10035 (lisp--augmented-font-lock-keywords-1)
10036 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10037 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10038 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10039 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10040 Implement prettify of -> => :: strings.
10041 * progmodes/perl-mode.el (perl-prettify-symbols)
10042 (perl--font-lock-compose-symbol)
10043 (perl--font-lock-symbols-keywords): Move to prog-mode.
10044 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10045 (perl-font-lock-keywords-1)
10046 (perl-font-lock-keywords-2): Remove explicit prettify support.
10047 (perl--augmented-font-lock-keywords)
10048 (perl--augmented-font-lock-keywords-1)
10049 (perl--augmented-font-lock-keywords-2, perl-mode):
10050 Implement prettify support.
10051
10052 2013-06-05 Leo Liu <sdl.web@gmail.com>
10053
10054 Re-implement smie matching block highlight using
10055 show-paren-data-function. (Bug#14395)
10056 * emacs-lisp/smie.el (smie-matching-block-highlight)
10057 (smie--highlight-matching-block-overlay)
10058 (smie--highlight-matching-block-lastpos)
10059 (smie-highlight-matching-block)
10060 (smie-highlight-matching-block-mode): Remove.
10061 (smie--matching-block-data-cache): New variable.
10062 (smie--matching-block-data): New function.
10063 (smie-setup): Use smie--matching-block-data for
10064 show-paren-data-function.
10065
10066 * progmodes/octave.el (octave-mode-menu): Fix.
10067 (octave-find-definition): Skip garbage lines.
10068
10069 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 Fix compilation error with simultaneous dynamic+lexical scoping.
10072 Add warning when a defvar appears after the first let-binding.
10073 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10074 (byte-compile-close-variables): Initialize it.
10075 (byte-compile--declare-var): New function.
10076 (byte-compile-file-form-defvar)
10077 (byte-compile-file-form-define-abbrev-table)
10078 (byte-compile-file-form-custom-declare-variable): Use it.
10079 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10080 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10081 (byte-compile-bind): Handle dynamic bindings that shadow
10082 lexical bindings.
10083 (byte-compile-unbind): Make arg non-optional.
10084 (byte-compile-let): Simplify.
10085 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10086 (cconv--analyse-function, cconv-analyse-form): Populate it.
10087 Protect byte-compile-bound-variables to limit the scope of defvars.
10088 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10089 Remove unneeded rule for `declare'.
10090
10091 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10092 so as to avoid depending on cl-adjoin at run-time.
10093 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10094
10095 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10096 (macroexp--warn-and-return): Use it.
10097
10098 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * subr.el: Convert to lexical binding.
10101 (overriding-local-map): Make obsolete.
10102 (add-to-list): Doc fix. Add compiler macro.
10103 (read-key): Swap values of local maps.
10104
10105 2013-06-05 Leo Liu <sdl.web@gmail.com>
10106
10107 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10108
10109 2013-06-04 Leo Liu <sdl.web@gmail.com>
10110
10111 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10112 (compilation-auto-jump): Suppress the "Mark set" message to give
10113 way to exit message.
10114
10115 2013-06-04 Alan Mackenzie <acm@muc.de>
10116
10117 Remove faulty optimisation from indentation calculation.
10118 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10119 search limit based on 2000 characters back from indent-point.
10120
10121 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10122
10123 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10124
10125 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * emacs-lisp/lisp.el: Use lexical-binding.
10128 (lisp--local-variables-1, lisp--local-variables): New functions.
10129 (lisp--local-variables-completion-table): New var.
10130 (lisp-completion-at-point): Use it complete let-bound vars.
10131
10132 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10133 eagerly (bug#14422).
10134
10135 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10136
10137 * autorevert.el (auto-revert-notify-enabled)
10138 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10139 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10140 (auto-revert-notify-handler): Handle also gfilenotify.
10141
10142 * subr.el (file-notify-handle-event): New defun. Replacing ...
10143 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10144 Remove.
10145
10146 2013-06-03 Juri Linkov <juri@jurta.org>
10147
10148 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10149 `M-s h .'. (Bug#14427)
10150
10151 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10152 command `hi-lock-face-symbol-at-point'.
10153 (hi-lock-face-symbol-at-point): New command.
10154 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10155 (hi-lock-menu): Add `highlight-symbol-at-point'.
10156 (hi-lock-mode): Doc fix.
10157
10158 * isearch.el (isearch-forward-symbol-at-point): New command.
10159 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10160 (isearch-highlight-regexp): Add a regexp which matches
10161 words/symbols for word/symbol mode.
10162
10163 * subr.el (find-tag-default-bounds): New function with the body
10164 mostly moved from `find-tag-default'.
10165 (find-tag-default): Move most code to `find-tag-default-bounds',
10166 call it and apply `buffer-substring-no-properties' afterwards.
10167
10168 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10169
10170 * eshell/em-term.el (eshell-term-initialize):
10171 Use `cl-intersection' rather than `intersection'.
10172
10173 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10174
10175 * vc/log-view.el: Doc fix.
10176 (log-view-mode-map): Copy keymap from `special-mode-map'.
10177
10178 2013-06-02 Eric Ludlam <zappo@gnu.org>
10179
10180 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10181 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10182 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10183 (eieio-unbound, eieio-default-superclass)
10184 (eieio--define-field-accessors, method-static, method-before)
10185 (method-primary, method-after, method-num-lists)
10186 (method-generic-before, method-generic-primary)
10187 (method-generic-after, method-num-slots)
10188 (eieio-specialized-key-to-generic-key)
10189 (eieio--check-type, class-v, class-p)
10190 (eieio-class-name, define-obsolete-function-alias)
10191 (eieio-class-parents-fast, eieio-class-children-fast)
10192 (same-class-fast-p, class-constructor, generic-p)
10193 (generic-primary-only-p, generic-primary-only-one-p)
10194 (class-option-assoc, class-option, eieio-object-p)
10195 (class-abstract-p, class-method-invocation-order)
10196 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10197 (eieio-class-un-autoload, eieio-defclass)
10198 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10199 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10200 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10201 (eieio-defgeneric-reset-generic-form)
10202 (eieio-defgeneric-form-primary-only)
10203 (eieio-defgeneric-reset-generic-form-primary-only)
10204 (eieio-defgeneric-form-primary-only-one)
10205 (eieio-defgeneric-reset-generic-form-primary-only-one)
10206 (eieio-unbind-method-implementations)
10207 (eieio--defmethod, eieio--typep)
10208 (eieio-perform-slot-validation, eieio-validate-slot-value)
10209 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10210 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10211 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10212 (eieio-slot-name-index, eieio-class-slot-name-index)
10213 (eieio-set-defaults, eieio-initarg-to-attribute)
10214 (eieio-attribute-to-initarg, eieio-c3-candidate)
10215 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10216 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10217 (eieio-class-precedence-list, eieio-generic-call-methodname)
10218 (eieio-generic-call-arglst, eieio-generic-call-key)
10219 (eieio-generic-call-next-method-list)
10220 (eieio-pre-method-execution-functions, eieio-generic-call)
10221 (eieio-generic-call-primary-only, eieiomt-method-list)
10222 (eieiomt-optimizing-obarray, eieiomt-install)
10223 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10224 (eieio-generic-form, eieio-defmethod, make-obsolete)
10225 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10226 (defclass): Remove `eval-and-compile' from macro.
10227 (call-next-method, shared-initialize): Instead of using
10228 `scoped-class' variable, use new eieio--scoped-class, and
10229 eieio--with-scoped-class.
10230 (initialize-instance): Rename local variable 'scoped-class' to
10231 'this-class' to remove ambiguitity from old global.
10232
10233 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10234 eieio.el.
10235 (eieio--scoped-class-stack): New variable.
10236 (eieio--scoped-class): New fcn.
10237 (eieio--with-scoped-class): New scoping macro.
10238 (eieio-defclass): Use pushnew instead of add-to-list.
10239 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10240 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10241 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10242 `scoped-class' variable, use new eieio--scoped-class, and
10243 eieio--with-scoped-class.
10244
10245 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10246
10247 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10248
10249 * eshell/esh-ext.el (eshell-external-command): Pass args to
10250 `eshell-find-interpreter'.
10251 (eshell-find-interpreter): Add new second parameter ARGS.
10252
10253 * eshell/em-script.el (eshell-script-initialize): Add second arg
10254 to the function added as MATCH to `eshell-interpreter-alist'.
10255
10256 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10257 the function added as MATCH to `eshell-interpreter-alist'.
10258
10259 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10260 (eshell-visual-options): New defcustom.
10261 (eshell-escape-control-x): Adapt docstring.
10262 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10263 `eshell-visual-options' in addition to `eshell-visual-commands'.
10264 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10265
10266 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10267
10268 * progmodes/python.el (python-indent-block-enders): Add break,
10269 continue and raise keywords.
10270
10271 2013-06-01 Glenn Morris <rgm@gnu.org>
10272
10273 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10274
10275 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10276 * progmodes/cc-cmds.el (delete-forward-p):
10277 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10278 * progmodes/cc-engine.el (buffer-syntactic-context):
10279 * progmodes/cc-fonts.el (face-property-instance):
10280 * progmodes/cc-mode.el (set-keymap-parents):
10281 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10282 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10283 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10284 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10285 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10286
10287 * progmodes/cc-vars.el (other): Emacs has this widget since
10288 at least 21.1, so don't (re)define it.
10289
10290 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10291 Replace the obsolete alias pcomplete-arg-quote-list.
10292
10293 2013-06-01 Leo Liu <sdl.web@gmail.com>
10294
10295 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10296 punctuation syntax.
10297 (inferior-octave-minimal-columns)
10298 (inferior-octave-last-column-width): New variables.
10299 (inferior-octave-track-window-width-change): New function.
10300 (inferior-octave-mode): Adjust column width so that Octave output,
10301 for example from 'ls', can fit into the window nicely.
10302
10303 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10304
10305 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10306 Highlight expansions inside regexp literals.
10307
10308 2013-05-31 Glenn Morris <rgm@gnu.org>
10309
10310 * obsolete/sym-comp.el (symbol-complete):
10311 Replace obsolete completion-annotate-function.
10312
10313 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10314
10315 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10316
10317 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10318 New function, checks if point is inside a literal that allows
10319 expression expansion.
10320 (ruby-syntax-propertize-expansion): Use it.
10321 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10322 around the body.
10323
10324 2013-05-30 Juri Linkov <juri@jurta.org>
10325
10326 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10327 to "\M-si".
10328 (isearch-invisible): New variable.
10329 (isearch-forward): Doc fix.
10330 (isearch-mode): Set `isearch-invisible'
10331 to the value of `search-invisible'.
10332 (isearch-toggle-case-fold): Doc fix.
10333 (isearch-toggle-invisible): New command.
10334 (isearch-query-replace): Let-bind `search-invisible'
10335 to the value of `isearch-invisible'.
10336 (isearch-search): Use `isearch-invisible' instead of
10337 `search-invisible'. Let-bind `search-invisible'
10338 to the value of `isearch-invisible'. (Bug#11378)
10339
10340 2013-05-30 Juri Linkov <juri@jurta.org>
10341
10342 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10343 call when `query-flag' is nil and `search-invisible' is non-nil.
10344 (Bug#11746)
10345
10346 2013-05-30 Glenn Morris <rgm@gnu.org>
10347
10348 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10349
10350 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10351 (cc-require): Suppress spurious "noruntime" warnings.
10352 (cc-require-when-compile): Use fboundp, for sake of compiler.
10353
10354 * progmodes/cc-mode.el: Move load of cc-vars before that of
10355 cc-langs (which in turn loads cc-vars), to quieten compiler.
10356
10357 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10358
10359 * paren.el: Simplify the code.
10360 (show-paren-mode): Always start the timer.
10361 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10362 (show-paren--overlay, show-paren--overlay-1): Rename from
10363 show-paren-overlay and show-paren-overlay-1, and initialize to an
10364 overlay rather than to nil.
10365 (show-paren-function): Misc cleanup and simplifications.
10366
10367 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * paren.el (show-paren-data-function): New hook.
10370 (show-paren--default): New function, extracted from show-paren-function.
10371 (show-paren-function): Use show-paren-data-function.
10372
10373 2013-05-30 Glenn Morris <rgm@gnu.org>
10374
10375 * ielm.el (ielm-map, ielm-complete-symbol):
10376 Use completion-at-point rather than obsolete functions.
10377 (inferior-emacs-lisp-mode): Doc fix.
10378 Set completion-at-point-functions, rather than
10379 comint-dynamic-complete-functions.
10380
10381 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10382 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10383 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10384
10385 * image.el (image-animated-p): Tweak definition.
10386
10387 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10388 (rlogin-process-connection-type): Tweak default. Add set-after.
10389 (rlogin-host): Doc fix.
10390 (rlogin): Tweak prompt.
10391 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10392
10393 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10394 * progmodes/tcl.el (inferior-tcl-mode-map):
10395 Use completion-at-point rather than obsolete alias.
10396
10397 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10398
10399 * minibuffer.el (read-file-name-completion-ignore-case):
10400 Move before completion--in-region, for eager macro expansion.
10401
10402 2013-05-29 Juri Linkov <juri@jurta.org>
10403
10404 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10405 for total count of matching lines. Add `global-matches' for total
10406 count of matches. Rename `matches' to `lines' for count of
10407 matching lines. Add `matches' for count of matches.
10408 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10409 to `prev-line' for line number of prev match endpt.
10410 Increment `matches' for every match. Print the number of
10411 matching lines in the header.
10412 (occur-context-lines): Rename `lines' to `curr-line'.
10413 Rename `prev-lines' to `prev-line'. (Bug#14017)
10414
10415 2013-05-29 Juri Linkov <juri@jurta.org>
10416
10417 * replace.el (perform-replace): Add `skip-read-only-count',
10418 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10419 Increment them for corresponding conditions and report the number
10420 of skipped occurrences in the final message. (Bug#11746)
10421 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10422 (replace-string, replace-regexp): Doc fix.
10423
10424 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10427
10428 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10429 prog-mode-map (bug#14504).
10430
10431 2013-05-29 Leo Liu <sdl.web@gmail.com>
10432
10433 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10434 (octave-help): Small simplification.
10435
10436 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10437 off the highlight first.
10438
10439 2013-05-29 Glenn Morris <rgm@gnu.org>
10440
10441 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10442 Handle idlwave-last-system-routine-info-cons-cell being nil.
10443
10444 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10445 (idlwave-write-paths): Simplify via with-temp-buffer.
10446
10447 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10448 * emulation/cua-rect.el: Also load cua-base at run time.
10449
10450 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10451 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10452 (cperl-imenu-on-info): Require imenu.
10453
10454 2013-05-28 Alan Mackenzie <acm@muc.de>
10455
10456 Handle "capitalised keywords" correctly.
10457 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10458
10459 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10460
10461 * eshell/em-unix.el: Add -r option to cp.
10462
10463 2013-05-28 Glenn Morris <rgm@gnu.org>
10464
10465 * vc/vc-arch.el (vc-exec-after): Declare.
10466 (vc-switches): Autoload.
10467 * vc/vc-bzr.el: No need to require vc when compiling.
10468 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10469 (vc-resynch-buffer, vc-dir-refresh): Declare.
10470 (vc-setup-buffer, vc-switches): Autoload.
10471 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10472 (vc-resynch-buffer): Declare.
10473 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10474 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10475 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10476 (grep-read-regexp, grep-read-files, grep-expand-template)
10477 (vc-dir-refresh): Declare.
10478 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10479 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10480 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10481 * vc/vc-mtn.el (vc-exec-after): Declare.
10482 (vc-switches): Autoload.
10483 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10484 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10485 (vc-file-tree-walk): Declare.
10486 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10487 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10488 (vc-tag-precondition, vc-rename-master): Autoload.
10489 * vc/vc-svn.el (vc-exec-after): Declare.
10490 (vc-switches, vc-setup-buffer): Autoload.
10491 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10492 Autoload.
10493 (vc-resynch-buffer): Declare.
10494
10495 * obsolete/fast-lock.el (byte-compile-warnings):
10496 Don't warn about obsolete features in this obsolete file.
10497
10498 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10499 Move definition before use.
10500
10501 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10502 (dun-unix-verbs): Remove dun-zippy.
10503 (dun-zippy): Remove function.
10504
10505 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10506
10507 2013-05-27 Juri Linkov <juri@jurta.org>
10508
10509 * replace.el (replace-search): New function with code moved out
10510 from `perform-replace'.
10511 (replace-highlight, replace-dehighlight): Move function definitions
10512 up closer to `replace-search'. (Bug#11746)
10513
10514 2013-05-27 Juri Linkov <juri@jurta.org>
10515
10516 * replace.el (perform-replace): Ignore invisible matches.
10517 In addition to checking `query-replace-skip-read-only', also
10518 filter out matches by calling `run-hook-with-args-until-failure'
10519 on `isearch-filter-predicates', and also check `search-invisible'
10520 for t or call `isearch-range-invisible'.
10521 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10522
10523 2013-05-27 Juri Linkov <juri@jurta.org>
10524
10525 * isearch.el (isearch-filter-predicates): Rename from
10526 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10527 (isearch-message-prefix): Display text from the property
10528 `isearch-message-prefix' of the currently active filters.
10529 (isearch-search): Don't compare `isearch-filter-predicate' with
10530 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10531 on `isearch-filter-predicates'. Also check `search-invisible' for t
10532 or call `isearch-range-invisible'.
10533 (isearch-filter-visible): Make obsolete.
10534 (isearch-lazy-highlight-search):
10535 Call `run-hook-with-args-until-failure' on
10536 `isearch-filter-predicates' and use `isearch-range-invisible'.
10537
10538 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10539 `isearch-filter-predicates' instead of `funcall'ing
10540 `isearch-filter-predicate'.
10541 (Info-mode): Set `Info-isearch-filter' to
10542 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10543
10544 * dired-aux.el (dired-isearch-filter-predicate-orig):
10545 Remove variable.
10546 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10547 (dired-isearch-filenames-end): Add and remove
10548 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10549 instead of changing the value of `isearch-filter-predicate'.
10550 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10551 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10552 Put property `isearch-message-prefix' to "filename " on
10553 `dired-isearch-filter-filenames'.
10554
10555 * wdired.el (wdired-change-to-wdired-mode):
10556 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10557 locally instead of changing `isearch-filter-predicate'.
10558 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10559
10560 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10561
10562 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10563 return the commit hash (Bug#14459). Also set the
10564 `vc-git-detached' property.
10565 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10566 (vc-git-mode-line-string): Use the same help-echo format whether
10567 in detached mode or not, because we know the actual revision now.
10568 When in detached mode, shorten the revision to 7 chars.
10569
10570 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * emacs-lisp/easy-mmode.el (define-minor-mode):
10573 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10574 mode hook and provide a docstring.
10575
10576 2013-05-27 Alan Mackenzie <acm@muc.de>
10577
10578 Remove spurious syntax-table text properties inserted by C-y.
10579 * progmodes/cc-mode.el (c-after-change): Also clear hard
10580 syntax-table property with value nil.
10581
10582 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10583
10584 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10585 when reading the events; the buffer layout shall not be changed.
10586
10587 2013-05-27 Leo Liu <sdl.web@gmail.com>
10588
10589 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10590 New variable.
10591 (inferior-octave-directory-tracker): Automatically re-sync
10592 default-directory.
10593 (octave-help): Improve handling of 'See also'.
10594
10595 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10596
10597 * doc-view.el: Minor naming convention tweaks.
10598 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10599
10600 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10601 even if there's no `display' property yet (bug#14435).
10602
10603 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10604
10605 * subr.el (unmsys--file-name): Rename from reveal-filename.
10606
10607 * Makefile.in (custom-deps, finder-data, autoloads)
10608 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10609 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10610 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10611
10612 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10615 error-completion on the first 2 args of condition-case (bug#14446).
10616 Don't burp at EOB.
10617
10618 2013-05-25 Leo Liu <sdl.web@gmail.com>
10619
10620 * comint.el (comint-previous-matching-input): Do not flood the
10621 *Messages* buffer with trivial messages.
10622
10623 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * progmodes/flymake.el (flymake-nop): Don't return a string.
10626 (flymake-set-at): Fix typo.
10627
10628 * simple.el (read--expression): New function, extracted from
10629 eval-expression. Set completion-at-point-functions (bug#14465).
10630 (eval-expression, eval-minibuffer): Use it.
10631
10632 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10633
10634 * progmodes/flymake.el (flymake-save-buffer-in-file)
10635 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10636 (flymake-selected-frame, flymake-log, flymake-ins-after)
10637 (flymake-set-at, flymake-get-buildfile-from-cache)
10638 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10639 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10640 Refine the doc string.
10641 (flymake-get-file-name-mode-and-masks): Reformat.
10642 (flymake-get-real-file-name-function): Fix a minor bug.
10643
10644 2013-05-24 Juri Linkov <juri@jurta.org>
10645
10646 * progmodes/grep.el (grep-mode-font-lock-keywords):
10647 Support =linenumber= format used by git-grep for lines with
10648 function names. (Bug#13549)
10649
10650 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10653 0 after a semi-colon; it works better for smie-auto-fill.
10654 (octave--indent-new-comment-line): New function.
10655 (octave-indent-new-comment-line): Use it (indirectly).
10656 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10657 modify comment-line-break-function.
10658
10659 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10660 (smie-setup): Use add-function to set it.
10661
10662 2013-05-24 Sam Steingold <sds@gnu.org>
10663
10664 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10665 argument (before the `interactive' argument).
10666
10667 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10668
10669 * image-mode.el (image-mode-winprops): Add winprops to
10670 image-mode-winprops-alist before running
10671 image-mode-new-window-functions.
10672 * doc-view.el (doc-view-new-window-function): Don't delay
10673 doc-view-goto-page via timers (bug#14435).
10674
10675 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10676
10677 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10678 (doc-view-desktop-save-buffer): New function.
10679 (doc-view-restore-desktop-buffer): New function.
10680 (desktop-buffer-mode-handlers):
10681 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10682 handler.
10683 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10684 `desktop-save-buffer' function.
10685
10686 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10687
10688 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10689 (tramp-gvfs-file-name-handler): Raise a user error when
10690 `tramp-gvfs-enabled' is nil.
10691 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10692 Do not raise a user error when loading package. (Bug#14447)
10693
10694 * net/xesam.el: Move to obsolete/.
10695
10696 2013-05-24 Glenn Morris <rgm@gnu.org>
10697
10698 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10699
10700 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10701
10702 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10703 (Info-find-node, Man-getpage-in-background): Declare.
10704
10705 * mail/unrmail.el (unrmail):
10706 Replace obsolete detect-coding-with-priority.
10707
10708 * net/socks.el (socks-split-string): Use this rather than split-string.
10709 (socks-nslookup-host): Update for above change.
10710 (dynamic-choice, s5-dynamic-choice-match)
10711 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10712 Comment out unused code.
10713
10714 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10715 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10716 (gud-tooltip-echo-area): Make obsolete.
10717 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10718
10719 * progmodes/js.el (js--optimize-arglist): Declare.
10720
10721 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10722
10723 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10724 (ediff-window-C): Declare.
10725
10726 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10727 Tweak requires to silence compiler.
10728
10729 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10730 (he-search-string, he-tried-table, he-expand-list)
10731 (he-init-string, he-string-member, he-substitute-string)
10732 (he-reset-string): Declare.
10733
10734 * obsolete/options.el (list-options): Use custom-variable-p,
10735 rather than obsolete alias.
10736
10737 2013-05-23 Sam Steingold <sds@gnu.org>
10738
10739 * simple.el (shell-command-on-region): Pass the `replace' argument
10740 down to `call-process-region' to comply with the doc as reported on
10741 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10742
10743 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10744
10745 * emacs-lisp/smie.el (smie-indent-forward-token)
10746 (smie-indent-backward-token): Handle string tokens (bug#14381).
10747
10748 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10749
10750 * ielm.el (ielm-menu): New menu.
10751 (inferior-emacs-lisp-mode): Set comment-start.
10752
10753 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10754
10755 * textmodes/reftex.el (reftex-ref-style-toggle):
10756 Fix deactivate action.
10757
10758 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10759 Add cleveref macros.
10760
10761 * textmodes/reftex-parse.el
10762 (reftex-locate-bibliography-files): Accept options for
10763 bibliography commands.
10764 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10765 Add addbibresource. Basic Biblatex support.
10766
10767 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * net/tramp-gvfs.el (top):
10770 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10771 when loading package. (Bug#14447)
10772
10773 2013-05-23 Glenn Morris <rgm@gnu.org>
10774
10775 * progmodes/js.el: No need to load comint when compiling.
10776 (ring-insert, comint-send-string, comint-send-input)
10777 (comint-last-input-end, ido-chop): Declare.
10778
10779 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10780 * vc/ediff-mult.el: Adjust requires.
10781 (ediff-directories-internal, ediff-directory-revisions-internal)
10782 (ediff-patch-file-internal): Declare.
10783 * vc/ediff-ptch.el: Adjust requires.
10784 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10785 (ediff-find-file): Autoload.
10786 * vc/ediff-util.el: No need to load ediff when compiling.
10787 (ediff-regions-internal): Declare.
10788 * vc/ediff-wind.el: Adjust requires.
10789 (ediff-compute-toolbar-width): Define when compiling.
10790 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10791 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10792 (dired-get-filename, dired-get-marked-files)
10793 (ediff-last-dir-patch, ediff-patch-default-directory)
10794 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10795 (ediff-patch-buffer-internal): Declare.
10796
10797 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10798 (ispell-process, ispell-buffer-local-words, lm-summary)
10799 (lm-section-start, lm-section-end): Declare.
10800 (checkdoc-ispell-init): Simplify.
10801
10802 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10803 (he-string-member, he-reset-string, he-substitute-string): Declare.
10804
10805 * eshell/em-ls.el: Adjust requires.
10806 (eshell-glob-regexp): Declare.
10807 * eshell/em-tramp.el: Adjust requires.
10808 (eshell-parse-command): Autoload.
10809 * eshell/em-xtra.el: Adjust requires.
10810 (eshell-parse-command): Autoload.
10811 * eshell/esh-ext.el: Adjust requires.
10812 (eshell-parse-command, eshell-close-handles): Autoload.
10813 * eshell/esh-io.el: Adjust requires.
10814 (eshell-output-filter): Autoload.
10815 * eshell/esh-util.el: No need to load tramp when compiling.
10816 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10817 Declare.
10818 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10819 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10820 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10821 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10822 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10823 * eshell/esh-opt.el, eshell/esh-proc.el:
10824 * eshell/esh-var.el: Adjust requires.
10825 * eshell/eshell.el: Do not require esh-util twice.
10826 (eshell-add-input-to-history): Declare.
10827 (eshell-command): Check history module is active before using it.
10828
10829 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10830
10831 2013-05-22 Leo Liu <sdl.web@gmail.com>
10832
10833 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10834
10835 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10836
10837 * autorevert.el (auto-revert-notify-add-watch)
10838 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10839 it indicates changes in file modification time.
10840
10841 2013-05-22 Glenn Morris <rgm@gnu.org>
10842
10843 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10844 Always delete the autoloaded function from the noruntime and
10845 unresolved functions lists.
10846
10847 * allout.el: No need to load epa, epg, overlay when compiling.
10848 (epg-context-set-passphrase-callback, epg-list-keys)
10849 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10850 (epg-key-user-id-list): Declare.
10851
10852 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10853 (viper-set-parsing-style-toggling-macro)
10854 (viper-set-emacs-state-searchstyle-macros):
10855 Use called-interactively-p on Emacs.
10856 (viper-looking-back): Make it an obsolete alias. Update callers.
10857 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10858 Use looking-back rather than viper-looking-back.
10859 (viper-tmp-insert-at-eob, viper-enlarge-region)
10860 (viper-read-string-with-history, viper-register-to-point)
10861 (viper-append-to-register, viper-change-state-to-vi)
10862 (viper-backward-char-carefully, viper-forward-char-carefully)
10863 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10864 (viper-change-state-to-emacs): Declare.
10865 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10866 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10867 * emulation/viper-mous.el: Do not load viper-cmd.
10868 (viper-backward-char-carefully, viper-forward-char-carefully)
10869 (viper-forward-word, viper-adjust-window): Declare.
10870
10871 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10872
10873 * progmodes/idlw-help.el (idlwave-help-fontify):
10874 Use called-interactively-p.
10875
10876 * term/w32console.el (w32-get-console-codepage)
10877 (w32-get-console-output-codepage): Declare.
10878
10879 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10880 Remove unnecessary declarations.
10881 (dframe-message): Doc fix.
10882
10883 * info.el (dframe-select-attached-frame, dframe-current-frame):
10884 Declare.
10885
10886 * speedbar.el (speedbar-message): Make it an obsolete alias.
10887 Update all callers.
10888 (speedbar-with-attached-buffer)
10889 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10890 (speedbar-with-writable): Use backquote.
10891 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10892 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10893 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10894 rather than speedbar- aliases.
10895 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10896 (speedbar-make-specialized-keymap, speedbar-insert-button)
10897 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10898 (speedbar-do-function-pointer): Declare.
10899 (rmail-speedbar-button, rmail-speedbar-find-file)
10900 (rmail-speedbar-move-message):
10901 Use dframe-with-attached-buffer rather than speedbar- alias.
10902 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10903 (dframe-message, speedbar-make-specialized-keymap)
10904 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10905 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10906 (speedbar-insert-button, dframe-select-attached-frame)
10907 (dframe-maybee-jump-to-attached-frame)
10908 (speedbar-change-initial-expansion-list)
10909 (speedbar-previously-used-expansion-list-name): Declare.
10910 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10911 Use dframe-message, dframe-with-attached-buffer rather than
10912 speedbar- aliases.
10913 (gud-sentinel): Silence compiler.
10914 * progmodes/vhdl-mode.el (speedbar-refresh)
10915 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10916 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10917 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10918 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10919 (speedbar-file-lists, speedbar-make-tag-line)
10920 (speedbar-line-directory, speedbar-goto-this-file)
10921 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10922 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10923 (speedbar-make-button, speedbar-reset-scanners)
10924 (speedbar-files-item-info, speedbar-line-text)
10925 (speedbar-find-file-in-frame, speedbar-set-timer)
10926 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10927 (speedbar-with-writable): Do not (re)define it.
10928 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10929 rather than speedbar- alias.
10930
10931 2013-05-21 Leo Liu <sdl.web@gmail.com>
10932
10933 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10934 menu items.
10935 (octave-mode): Tweak fill-nobreak-predicate.
10936 (inferior-octave-startup): Check process to avoid infinite loop.
10937 (inferior-octave): Pop to buffer first to show abornmal process
10938 exit information.
10939
10940 2013-05-21 Glenn Morris <rgm@gnu.org>
10941
10942 * printing.el (pr-menu-bar): Define when compiling.
10943
10944 2013-05-21 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/octave.el (octave-auto-fill): Remove.
10947 (octave-indent-new-comment-line): Improve.
10948 (octave-mode): Use auto fill mode through
10949 comment-line-break-function and fill-nobreak-predicate.
10950 (octave-goto-function-definition): Support DEFUN_DLD.
10951 (octave-beginning-of-defun): Small tweak.
10952 (octave-help): Show parent directory.
10953
10954 2013-05-21 Glenn Morris <rgm@gnu.org>
10955
10956 * files.el (dired-unmark):
10957 * progmodes/gud.el (gdb-input): Update declarations.
10958
10959 * calculator.el (electric, ehelp): No need to load when compiling.
10960 (Electric-command-loop, electric-describe-mode): Declare.
10961
10962 * doc-view.el (doc-view-current-converter-processes): Move before use.
10963
10964 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10965 Move MODE-set-explicitly definition before use.
10966
10967 * international/mule-diag.el (mule-diag):
10968 Don't use obsolete window-system-version.
10969
10970 * mail/feedmail.el (smtpmail): No need to load when compiling.
10971 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10972
10973 * mail/mail-utils.el (rfc822): No need to load when compiling.
10974 (rfc822-addresses): Autoload it.
10975 (mail-strip-quoted-names): Trivial simplification.
10976
10977 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10978 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10979
10980 * net/snmp-mode.el (tempo): Don't duplicate requires.
10981
10982 * progmodes/prolog.el (info): No need to load when compiling.
10983 (comint): Require before shell requires it.
10984 (Info-goto-node): Autoload it.
10985 (Info-follow-nearest-node): Declare.
10986 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10987
10988 * textmodes/artist.el (picture-mode-exit): Declare.
10989
10990 * textmodes/reftex-parse.el (reftex-parse-from-file):
10991 Trivial rewrite so the compiler can parse it better.
10992
10993 2013-05-20 Leo Liu <sdl.web@gmail.com>
10994
10995 * progmodes/octave.el (octave-help-mode-map)
10996 (octave-help-mode-finish-hook): New variables.
10997 (octave-help-mode, octave-help-mode-finish): New functions.
10998 (octave-help): Use octave-help-mode.
10999
11000 2013-05-20 Glenn Morris <rgm@gnu.org>
11001
11002 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11003
11004 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11005
11006 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11007 start at point, so that expansion starting right after opening
11008 slash in a regexp is recognized.
11009 (ruby-syntax-before-regexp-re): New defvar, extracted from
11010 ruby-syntax-propertize-function. Since the value of this regexp
11011 is looked up at runtime now, we should be able to turn
11012 `ruby-syntax-methods-before-regexp' into a defcustom later.
11013 (ruby-syntax-propertize-function): Split regexp matching into two
11014 parts, for opening and closing slashes. That allows us to skip
11015 over string interpolations and support multiline regexps.
11016 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11017 for them, which calls `ruby-syntax-propertize-expansion'.
11018 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11019 call to `ruby-syntax-propertize-function'.
11020 (ruby-syntax-propertize-expansion): Extracted from
11021 `ruby-syntax-propertize-expansions'. Handles one expansion.
11022 (ruby-syntax-propertize-percent-literal): Leave point right after
11023 the percent symbol, so that the expression expansion rule can
11024 propertize the contents.
11025 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11026 heredoc openers.
11027 (ruby-syntax-propertize-expansions): Remove.
11028
11029 2013-05-18 Juri Linkov <juri@jurta.org>
11030
11031 * man.el (Man-default-man-entry): Remove `-' from the end
11032 of the default value. (Bug#14400)
11033
11034 2013-05-18 Glenn Morris <rgm@gnu.org>
11035
11036 * comint.el (comint-password-prompt-regexp):
11037 Allow "password for XXX" where XXX contains colons (eg https://...).
11038
11039 2013-05-18 Leo Liu <sdl.web@gmail.com>
11040
11041 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11042 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11043 (octave-source-directories): Don't check process.
11044 (octave-source-directories, octave-find-definition): Doc fix.
11045
11046 2013-05-18 Glenn Morris <rgm@gnu.org>
11047
11048 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11049 Remove backspace/delete bindings. (Bug#14392)
11050
11051 * cus-dep.el (custom-make-dependencies): Sort the output.
11052 (custom-versions-load-alist): Convert comment to doc.
11053
11054 2013-05-17 Leo Liu <sdl.web@gmail.com>
11055
11056 * newcomment.el (comment-search-backward): Stricter in finding
11057 comment start. (Bug#14303)
11058
11059 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11060 (octave-comment-start-skip): Properly anchored.
11061
11062 2013-05-17 Leo Liu <sdl.web@gmail.com>
11063
11064 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11065 Clean up when turned off. (Bug#14395)
11066 (smie--highlight-matching-block-overlay): No longer buffer-local.
11067 (smie-highlight-matching-block): Adjust.
11068
11069 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11070
11071 Doc string fix for "nanoseconds" (Bug#14406).
11072 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11073 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11074
11075 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11076
11077 * calc/calc-units.el (math-extract-units): Preserve powers
11078 of units.
11079
11080 2013-05-17 Leo Liu <sdl.web@gmail.com>
11081
11082 * subr.el (delete-consecutive-dups): New function.
11083 * ido.el (ido-set-matches-1): Use it.
11084 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11085 * ido.el (ido-remove-consecutive-dups): Remove.
11086
11087 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11088
11089 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11090 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11091 regexp-opt's `words'.
11092
11093 2013-05-16 Leo Liu <sdl.web@gmail.com>
11094
11095 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11096 (smie--highlight-matching-block-overlay)
11097 (smie--highlight-matching-block-lastpos)
11098 (smie--highlight-matching-block-timer): New variables.
11099 (smie-highlight-matching-block): New function.
11100 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11101 (smie-setup): Conditionally enable smie-blink-matching-open.
11102
11103 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11104
11105 Sync with upstream verilog-mode r840.
11106 * progmodes/verilog-mode.el (verilog-mode-version)
11107 (verilog-mode-release-date): Update.
11108 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11109 (verilog-sig-tieoff): Fix string error on
11110 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11111 (verilog-read-decls): Fix parameters confusing
11112 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11113
11114 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11115
11116 * subr.el (reveal-filename): New function.
11117
11118 * loadup.el: Compute Emacs executable versions on MS-Windows,
11119 where executables have the .exe extension. Add a hard link
11120 emacs-XX.YY.ZZ.exe on MS-Windows.
11121
11122 * Makefile.in (XARGS_LIMIT): New variable.
11123 (custom-deps, finder-data, autoloads)
11124 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11125 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11126 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11127 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11128
11129 2013-05-16 Leo Liu <sdl.web@gmail.com>
11130
11131 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11132 (octave-mode-menu, octave-mode-map): Remove its uses.
11133
11134 2013-05-16 Reto Zimmermann <reto@gnu.org>
11135
11136 Sync with upstream vhdl mode v3.34.2.
11137 * progmodes/vhdl-mode.el: Use `push' throughout.
11138 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11139 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11140 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11141 (vhdl-actual-generic-name): New option to derive actual generic name.
11142 (vhdl-port-paste-signals): Replace formal by actual generics.
11143 (vhdl-beautify): New name for old group vhdl-align. Update users.
11144 (vhdl-beautify-options): New option.
11145 (vhdl-last-input-event): New compat alias. Use throughout.
11146 (vhdl-goto-line): Replace user level function `goto-line'.
11147 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11148 vhdl-fix-statement-buffer.
11149 (vhdl-create-mode-menu): Add some entries.
11150 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11151 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11152 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11153 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11154 to force statements on one line.
11155 (vhdl-remove-trailing-spaces-region):
11156 New, split from vhdl-remove-trailing-spaces.
11157 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11158 Respect vhdl-beautify-options.
11159 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11160 (vhdl-update-sensitivity-list): Not add with index if exists without.
11161 Not include array index with signal. Ignore keywords in comments.
11162 (vhdl-get-visible-signals): Regexp tweaks.
11163 (vhdl-template-component-inst): Handle empty library.
11164 (vhdl-template-type): Add template for 'enum' type.
11165 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11166 Use vhdl-replace-string.
11167 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11168 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11169 (vhdl-speedbar-initialize): Update for above name change.
11170 (vhdl-compose-wire-components): Fix in handling of constants.
11171 (vhdl-error-regexp-emacs-alist): New variable.
11172 (vhdl-error-regexp-add-emacs): New function;
11173 adds support for new compile.el (Emacs 22+)
11174 (vhdl-generate-makefile-1): Change target order for single lib. units.
11175 Allow use of absolute file names.
11176
11177 2013-05-16 Leo Liu <sdl.web@gmail.com>
11178
11179 * simple.el (prog-indent-sexp): Indent enclosing defun.
11180
11181 2013-05-15 Glenn Morris <rgm@gnu.org>
11182
11183 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11184 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11185 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11186 (whitespace-highlight): Move to whitespace group.
11187
11188 * comint.el (comint-source):
11189 * pcmpl-linux.el (pcmpl-linux):
11190 * shell.el (shell-faces):
11191 * eshell/esh-opt.el (eshell-opt):
11192 * international/ccl.el (ccl): Remove empty custom groups.
11193
11194 * completion.el (dynamic-completion-mode):
11195 * jit-lock.el (jit-lock-debug-mode):
11196 * minibuffer.el (completion-in-region-mode):
11197 * type-break.el (type-break-mode-line-message-mode)
11198 (type-break-query-mode):
11199 * emulation/tpu-edt.el (tpu-edt-mode):
11200 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11201 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11202 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11203
11204 * term/xterm.el (xterm): Change parent group to terminals.
11205
11206 * master.el (master): Remove empty custom group.
11207 (master-mode): Remove unused :group argument.
11208 * textmodes/refill.el (refill): Remove empty custom group.
11209 (refill-mode): Remove unused :group argument.
11210
11211 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11212
11213 * cus-dep.el: Provide a feature.
11214 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11215 Don't mistakenly ignore files whose basenames match a basename
11216 from preloaded-file-list (eg cedet/ede/simple.el).
11217 Add a fallback method for getting :group.
11218
11219 2013-05-15 Juri Linkov <juri@jurta.org>
11220
11221 * isearch.el (isearch-char-by-name): Rename from
11222 `isearch-insert-char-by-name'. Doc fix.
11223 (isearch-forward): Mention `isearch-char-by-name' in
11224 the docstring. (Bug#13348)
11225
11226 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11227 `exit-minibuffer' instead of
11228 `isearch-nonincremental-exit-minibuffer'.
11229 (isearch-edit-string): Remove mention of
11230 `isearch-nonincremental-exit-minibuffer' from docstring.
11231 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11232 (isearch-forward-exit-minibuffer)
11233 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11234
11235 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * loadup.el: Just use unversioned DOC.
11238
11239 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11240 literals as extending to EOB.
11241 (nxml-last-fontify-end): Remove unused variable.
11242 (nxml-after-change1): Use with-silent-modifications.
11243 (nxml-extend-after-change-region): Simplify.
11244 (nxml-extend-after-change-region1): Remove function.
11245 (nxml-after-change1): Don't adjust for dependent regions.
11246 (nxml-fontify-matcher): Simplify.
11247 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11248 (xmltok-add-dependent): Remove function.
11249 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11250 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11251 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11252 unclosed <[[, <?, comment, and other literals as extending to EOB.
11253 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11254 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11255 Remove functions.
11256 (rng-do-some-validation-1): Don't mark dependent regions.
11257 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11258 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11259 (nxml-clear-dependent-regions): Remove functions.
11260 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11261 (nxml-ensure-scan-up-to-date):
11262 Don't clear&mark dependent regions.
11263
11264 2013-05-15 Leo Liu <sdl.web@gmail.com>
11265
11266 * progmodes/octave.el (octave-goto-function-definition):
11267 Improve and fix callers.
11268
11269 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11272 the setter (bug#14387).
11273
11274 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11275 surrounding group (bug#14402).
11276
11277 2013-05-14 Juri Linkov <juri@jurta.org>
11278
11279 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11280 (Bug#14390)
11281
11282 2013-05-14 Glenn Morris <rgm@gnu.org>
11283
11284 * progmodes/f90.el (f90-imenu-generic-expression):
11285 Fix typo in 2013-05-08 change. (Bug#14402)
11286
11287 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11288
11289 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11290 Remove signals for which replies are never received.
11291
11292 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11293
11294 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11295 (gdb-handler-alist, gdb-handler-number): Remove variables.
11296 (gdb-handler-list): New variable.
11297 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11298 (gdb-pending-handler-p, gdb-handle-reply)
11299 (gdb-remove-all-pending-triggers): New functions.
11300 (gdb-discard-unordered-replies): New defcustom.
11301 (gdb-handler): New defstruct.
11302 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11303 instead of gdb-pending-triggers. Update docstring.
11304 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11305 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11306 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11307 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11308 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11309 (gdb-frame-handler): Pending triggers are now automatically managed.
11310 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11311 Remove argument.
11312 (gdb-input): Automatically handles pending triggers. Update docstring.
11313 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11314 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11315 Update comments.
11316 (gdb-done-or-error): Now use gdb-handle-reply.
11317
11318 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11319
11320 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11321 gdb-debug-log.
11322
11323 2013-05-14 Glenn Morris <rgm@gnu.org>
11324
11325 * subr.el (user-emacs-directory-warning): New option.
11326 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11327
11328 2013-05-14 Leo Liu <sdl.web@gmail.com>
11329
11330 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11331 during redisplay.
11332 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11333 (octave-font-lock-texinfo-comment): Fix invalid search bound
11334 error: wrong side of point.
11335
11336 2013-05-14 Glenn Morris <rgm@gnu.org>
11337
11338 * progmodes/flymake.el (flymake-xml-program): New option.
11339 (flymake-xml-init): Use it.
11340
11341 * term/xterm.el: Provide a feature.
11342
11343 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11344
11345 2013-05-13 Glenn Morris <rgm@gnu.org>
11346
11347 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11348 Add compat aliases as a hack workaround. (Bug#14384)
11349
11350 2013-05-13 Leo Liu <sdl.web@gmail.com>
11351
11352 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11353 ###, and %!.
11354 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11355 C-M-q.
11356 (octave-comment-start-skip): Include %!.
11357 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11358
11359 2013-05-12 Leo Liu <sdl.web@gmail.com>
11360
11361 * progmodes/octave.el (inferior-octave-startup): Store the value
11362 of __octave_srcdir__ for octave-source-directories.
11363 (inferior-octave-check-process): New function refactored out of
11364 inferior-octave-send-list-and-digest.
11365 (octave-source-directories)
11366 (octave-find-definition-filename-function): New variables.
11367 (octave-source-directories)
11368 (octave-find-definition-default-filename): New functions.
11369 (octave-find-definition): Improve to find functions implemented in C++.
11370
11371 2013-05-12 Glenn Morris <rgm@gnu.org>
11372
11373 * calendar/diary-lib.el (diary-outlook-format-1):
11374 Don't include dayname in the output. (Bug#14349)
11375
11376 2013-05-11 Glenn Morris <rgm@gnu.org>
11377
11378 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11379
11380 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11381 Treat cc-provide like provide.
11382
11383 2013-05-11 Kevin Ryde <user42@zip.com.au>
11384
11385 * cus-dep.el (custom-make-dependencies):
11386 Use generated-autoload-load-name for the sake of files such
11387 such cedet/semantic/bovine/c.el, where the base file name
11388 is not in load-path. (Bug#5277)
11389
11390 2013-05-11 Glenn Morris <rgm@gnu.org>
11391
11392 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11393 Provide features.
11394
11395 2013-05-11 Leo Liu <sdl.web@gmail.com>
11396
11397 * progmodes/octave.el (octave-indent-comment): Improve.
11398 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11399 (octave-eldoc-function-signatures, octave-eldoc-function):
11400 New functions.
11401 (octave-mode, inferior-octave-mode): Add eldoc support.
11402
11403 2013-05-11 Richard Stallman <rms@gnu.org>
11404
11405 * epa.el (epa-decrypt-file): Take output file name as argument
11406 and read it using `interactive'.
11407
11408 2013-05-11 Leo Liu <sdl.web@gmail.com>
11409
11410 * progmodes/octave.el (octave-beginning-of-line)
11411 (octave-end-of-line): Check before using up-list because it jumps
11412 out of more syntactic contructs since moving to smie.
11413 (octave-indent-comment): New function.
11414 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11415 (octave-begin-keywords, octave-end-keywords)
11416 (octave-reserved-words, octave-smie-bnf-table)
11417 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11418
11419 2013-05-11 Glenn Morris <rgm@gnu.org>
11420
11421 * faces.el (internal-face-x-get-resource):
11422 * frame.el (ns-display-monitor-attributes-list):
11423 * calc/calc-aent.el (math-to-radians-2):
11424 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11425 Fix declarations.
11426
11427 * calc/calc-menu.el: Make it loadable in isolation.
11428
11429 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11430 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11431 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11432 (eudc-bbdb-query-internal): Require 'bbdb.
11433
11434 * lpr.el (lpr-headers-switches):
11435 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11436
11437 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11438
11439 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11440
11441 * term.el (term-set-escape-char): Make it idempotent.
11442
11443 2013-05-10 Leo Liu <sdl.web@gmail.com>
11444
11445 * progmodes/octave.el (inferior-octave-completion-table):
11446 No longer a function and all uses changed. Use cache to speed up
11447 completion due to bug#11906.
11448 (octave-beginning-of-defun): Re-write to be more general.
11449
11450 2013-05-10 Glenn Morris <rgm@gnu.org>
11451
11452 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11453
11454 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * comint.el (comint-redirect-send-command-to-process): Use :around
11457 rather than :override for comint-redirect-filter.
11458 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11459 Call it instead of comint-redirect-original-filter-function (which
11460 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11461
11462 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11463
11464 * frame.el (display-monitor-attributes-list): Add NS case.
11465 (ns-display-monitor-attributes-list): Declare.
11466
11467 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11468
11469 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11470
11471 2013-05-09 Glenn Morris <rgm@gnu.org>
11472
11473 * international/fontset.el (vertical-centering-font-regexp):
11474 Set standard-value.
11475
11476 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11477
11478 * bookmark.el (bookmark-search-delay):
11479 * cus-start.el (vertical-centering-font-regexp):
11480 * ps-mule.el (ps-mule-font-info-database-default):
11481 * ps-print.el (ps-default-fg, ps-default-bg):
11482 * type-break.el (type-break-good-break-interval):
11483 * whitespace.el (whitespace-indentation-regexp)
11484 (whitespace-space-after-tab-regexp):
11485 * emacs-lisp/testcover.el (testcover-1value-functions)
11486 (testcover-noreturn-functions, testcover-progn-functions)
11487 (testcover-prog1-functions):
11488 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11489 * eshell/em-glob.el (eshell-glob-translate-alist):
11490 * play/tetris.el (tetris-tty-colors):
11491 * progmodes/cpp.el (cpp-face-default-list):
11492 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11493 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11494 (idlwave-help-browser-generic-args):
11495 * progmodes/make-mode.el (makefile-special-targets-list):
11496 * progmodes/python.el (python-shell-virtualenv-path):
11497 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11498 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11499 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11500 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11501 * textmodes/reftex-vars.el (reftex-format-label-function):
11502 * textmodes/remember.el (remember-diary-file): Fix custom types.
11503
11504 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11505 Add :version.
11506
11507 2013-05-09 Leo Liu <sdl.web@gmail.com>
11508
11509 * progmodes/octave.el (inferior-octave-completion-at-point):
11510 Restore file completion. (Bug#14300)
11511 (inferior-octave-startup): Fix incorrect highlighting for the
11512 first prompt.
11513
11514 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * progmodes/ruby-mode.el: First cut at SMIE support.
11517 (ruby-use-smie): New var.
11518 (ruby-smie-grammar): New constant.
11519 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11520 (ruby-smie--forward-token, ruby-smie--backward-token)
11521 (ruby-smie-rules): New functions.
11522 (ruby-mode-variables): Setup SMIE if applicable.
11523
11524 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11525
11526 * simple.el (line-move-visual): Signal beginning/end of buffer
11527 only if vertical-motion moved less than it was requested. Avoids
11528 silly incorrect error messages when there are display strings with
11529 multiple newlines at EOL.
11530
11531 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11532
11533 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11534 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11535 (prolog-char-quote-workaround):
11536 * progmodes/cperl-mode.el (cperl-under-as-char):
11537 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11538 Mark as obsolete.
11539 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11540 their declaration.
11541 (vhdl-mode-syntax-table-init): Remove.
11542
11543 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11544 last change.
11545
11546 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11547 syntax for "_".
11548 (ld-script-font-lock-keywords):
11549 Change regexps to use things like \_< and \_>.
11550
11551 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11552 Change all regexps to use things like \_< and \_>.
11553
11554 * progmodes/autoconf.el (autoconf-definition-regexp)
11555 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11556 Handle a _ with symbol syntax.
11557 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11558
11559 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11560 Consolidate declaration.
11561 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11562 the declaration.
11563 (ada-create-syntax-table): Remove.
11564 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11565 already has the right syntax nowadays.
11566 (ada-goto-next-word): Don't change the syntax of "_".
11567
11568 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11569 with-wrapper-hook.
11570
11571 2013-05-08 Sam Steingold <sds@gnu.org>
11572
11573 * thingatpt.el (thing-at-point): Accept optional second argument
11574 NO-PROPERTIES to strip the text properties from the return value.
11575 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11576 to `thing-at-point' instead of stripping the properties ourselves.
11577 Also, when `thing-at-point' fails to find a url, prepend "http://"
11578 to the filename at point on the assumption that the user is
11579 pointing at something like gnu.org/gnu.
11580
11581 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11582
11583 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11584 * faces.el (crm-separator):
11585 Silence byte-compiler.
11586
11587 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11588 (tool-bar-map): Remove unneeded defvars.
11589
11590 2013-05-08 Leo Liu <sdl.web@gmail.com>
11591
11592 Re-work a fix for bug#10994 based on Le Wang's patch.
11593 * ido.el (ido-remove-consecutive-dups): New helper.
11594 (ido-completing-read): Use it.
11595 (ido-chop): Revert fix for bug#10994.
11596
11597 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11598
11599 * cus-edit.el (custom-save-variables):
11600 Pretty-print long values. (Bug#14187)
11601
11602 2013-05-08 Glenn Morris <rgm@gnu.org>
11603
11604 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11605 (m4-mode-syntax-table): Init in the defvar.
11606 (m4-mode-abbrev-table): Let define-derived-mode define it.
11607
11608 2013-05-08 Tom Tromey <tromey@redhat.com>
11609
11610 * progmodes/m4-mode.el (m4-mode-syntax-table):
11611 Do not treat "_" as word constituent. (Bug#14167)
11612
11613 2013-05-07 Glenn Morris <rgm@gnu.org>
11614
11615 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11616 Remove explicit eshell-isearch-cancel-map.
11617
11618 * progmodes/f90.el (f90-smart-end-names): New option.
11619 (f90-smart-end): Doc fix.
11620 (f90-end-block-optional-name): New constant.
11621 (f90-block-match): Respect f90-smart-end-names.
11622
11623 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11626 about implicit semi-colons (bug#14218).
11627
11628 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11629
11630 * frame.el (display-monitor-attributes-list)
11631 (frame-monitor-attributes): New functions.
11632
11633 2013-05-06 Leo Liu <sdl.web@gmail.com>
11634
11635 * progmodes/octave.el (octave-syntax-propertize-function): Change
11636 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11637 (octave-font-lock-keywords): Use octave-operator-regexp.
11638 (octave-completion-at-point): Rename from
11639 octave-completion-at-point-function.
11640 (inferior-octave-directory-tracker): Robustify.
11641 (octave-text-functions): Remove and fix its uses. No such things
11642 any more.
11643
11644 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * emacs-lisp/trace.el (trace--display-buffer): New function.
11647 (trace-make-advice): Use it.
11648
11649 2013-05-06 Juri Linkov <juri@jurta.org>
11650
11651 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11652 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11653 Doc fix.
11654 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11655 in the help string. (Bug#12985)
11656
11657 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11658
11659 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11660
11661 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * progmodes/perl-mode.el: Add support for here documents.
11664 (perl-syntax-propertize-function): Match here-doc markers.
11665 (perl-syntax-propertize-special-constructs): Find their end.
11666 (perl-imenu-generic-expression): Use [:alnum:].
11667
11668 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11669 (advice--add-function): Refresh the advice if already present
11670 (bug#14317).
11671
11672 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11673
11674 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11675
11676 2013-05-06 Glenn Morris <rgm@gnu.org>
11677
11678 * w32-fns.el (w32-charset-info-alist): Declare.
11679
11680 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11681 of its defcustom properties.
11682 (eshell-cmpl-initialize): No need to load pcomplete.
11683
11684 * generic-x.el: No need to require comint when compiling.
11685
11686 * net/eudc-export.el: Make it loadable without bbdb.
11687 (top-level): Use require rather than load-library.
11688 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11689 (eudc-batch-export-records-to-bbdb)
11690 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11691 Require bbdb.
11692
11693 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11696 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11697 some tweaks, instead.
11698
11699 2013-05-05 Leo Liu <sdl.web@gmail.com>
11700
11701 * progmodes/octave.el (octave-font-lock-keywords)
11702 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11703 (inferior-octave-send-list-and-digest): Improve error message.
11704 (octave-mode, inferior-octave-mode): Use setq-local.
11705 (octave-help): Set info-lookup-mode.
11706
11707 2013-05-05 Richard Stallman <rms@gnu.org>
11708
11709 * vc/compare-w.el (compare-windows-whitespace):
11710 Treat no-break space as whitespace.
11711
11712 * mail/rmailsum.el (rmail-summary-rmail-update):
11713 Detect empty summary and don't change selected message.
11714 (rmail-summary-goto-msg): Likewise.
11715
11716 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11717 Doc fixes, rename args.
11718
11719 2013-05-05 Alan Mackenzie <acm@muc.de>
11720
11721 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11722
11723 2013-05-05 Juri Linkov <juri@jurta.org>
11724
11725 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11726 to not add the length of the summary segment to the return value.
11727 (Bug#14125)
11728
11729 2013-05-05 Leo Liu <sdl.web@gmail.com>
11730
11731 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11732 (inferior-octave-output-filter): Remove.
11733 (octave-send-region, inferior-octave-startup): Fix callers.
11734 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11735 (octave-binary-file-extensions): New user variable.
11736 (octave-find-definition): Confirm if opening binary files.
11737 (octave-help-file): Use octave-find-definition to get the binary
11738 confirmation.
11739 (octave-help): Adjust for octave-help-file change.
11740
11741 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11742
11743 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11744 Merge the two entries that handle function definitions.
11745 (pascal--syntax-propertize): New const.
11746 (pascal-mode): Use it. Use setq-local.
11747
11748 2013-05-04 Glenn Morris <rgm@gnu.org>
11749
11750 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11751 (diary-from-outlook): Respect diary-from-outlook-function.
11752
11753 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11756 Move the declaration from C.
11757 (read-minibuffer, eval-minibuffer): Move from C.
11758 (completion-setup-function): Avoid minibuffer-completion-contents.
11759
11760 2013-05-03 Leo Liu <sdl.web@gmail.com>
11761
11762 * progmodes/octave.el (octave-font-lock-keywords): Do not
11763 dehighlight 'end' in comments or strings.
11764 (octave-completing-read, octave-goto-function-definition):
11765 New helpers.
11766 (octave-help-buffer): New user variable.
11767 (octave-help-file, octave-help-function): New button types.
11768 (octave-help): New command and bind it to C-h ;.
11769 (octave-find-definition): New command and bind it to M-.
11770 (user-error): Alias to error if not defined.
11771
11772 2013-05-02 Leo Liu <sdl.web@gmail.com>
11773
11774 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11775 for \. (bug#14332)
11776 (octave-font-lock-keywords): Include [ and {.
11777
11778 2013-05-02 Leo Liu <sdl.web@gmail.com>
11779
11780 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11781 (inferior-octave): Remove calling comint-mode and return the buffer.
11782 (inferior-octave-startup): Cosmetic changes.
11783
11784 2013-05-02 Leo Liu <sdl.web@gmail.com>
11785
11786 * progmodes/octave.el (octave-syntax-propertize-function):
11787 Include the case when ' is at line beginning. (Bug#14336)
11788
11789 2013-05-02 Glenn Morris <rgm@gnu.org>
11790
11791 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11792 * desktop.el (vc-dir-mode): Just autoload it here.
11793
11794 2013-05-02 Alan Mackenzie <acm@muc.de>
11795
11796 Eliminate variable c-standard-font-lock-fontify-region-function.
11797 * progmodes/cc-mode.el
11798 (c-standard-font-lock-fontify-region-function): Remove.
11799 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11800
11801 2013-05-01 Leo Liu <sdl.web@gmail.com>
11802
11803 * progmodes/octave.el: Compatible with older emacs-24 releases.
11804 (inferior-octave-has-built-in-variables): Remove. Built-in
11805 variables were removed from Octave in 2007.
11806 (inferior-octave-startup): Fix uses.
11807 (comint-line-beginning-position): Remove compatibility code for
11808 emacs 21.
11809
11810 2013-05-01 Juri Linkov <juri@jurta.org>
11811
11812 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11813
11814 2013-05-01 Juri Linkov <juri@jurta.org>
11815
11816 * comint.el (comint-previous-matching-input): Don't print message
11817 "History item: %d" when `isearch-mode' is active.
11818 (comint-history-isearch-message): Print message "History item: %d"
11819 when `comint-input-ring-index' is not empty and this function is
11820 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11821
11822 2013-05-01 Leo Liu <sdl.web@gmail.com>
11823
11824 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11825 definitions. Use completion-at-point to insert keywords.
11826 (octave-abbrev-start): Remove.
11827 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11828
11829 2013-04-30 Leo Liu <sdl.web@gmail.com>
11830
11831 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11832 change.
11833
11834 2013-04-30 Alan Mackenzie <acm@muc.de>
11835
11836 Handle arbitrarily long C++ member initialisation lists.
11837 * progmodes/cc-engine.el (c-back-over-member-initializers):
11838 new function.
11839 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11840 (most) member init lists.
11841
11842 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11843
11844 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11845 variable.
11846
11847 2013-04-30 Leo Liu <sdl.web@gmail.com>
11848
11849 * progmodes/octave.el (octave-variables): Remove. No builtin
11850 variables any more. All converted to functions.
11851 (octave-font-lock-keywords, octave-completion-at-point-function):
11852 Fix uses.
11853 (octave-font-lock-texinfo-comment): New user variable.
11854 (octave-texinfo-font-lock-keywords): New variable for texinfo
11855 comment block.
11856 (octave-function-comment-block): New face.
11857 (octave-font-lock-texinfo-comment): New function.
11858 (octave-mode): Font lock texinfo comment block.
11859
11860 2013-04-29 Leo Liu <sdl.web@gmail.com>
11861
11862 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11863 indexing expression.
11864 (octave-continuation-string): Do not use \.
11865 (inferior-octave-complete-impossible): Remove.
11866 (inferior-octave-completion-table)
11867 (inferior-octave-completion-at-point): Remove its uses.
11868 (inferior-octave-startup): completion_matches was introduced to
11869 Octave in 1996 so safe to assume it.
11870 (octave-function-file-comment): Improve to follow how Octave does it.
11871 (octave-update-function-file-comment): Tweak.
11872
11873 2013-04-29 Leo Liu <sdl.web@gmail.com>
11874
11875 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11876 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11877 (octave-function-file-comment): Fix typo.
11878 (octave-sync-function-file-names): Use read-char-choice.
11879
11880 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11881
11882 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11883 to t for the less important warnings.
11884
11885 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11886
11887 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11888
11889 2013-04-27 Glenn Morris <rgm@gnu.org>
11890
11891 * vc/log-view.el (log-view-current-entry):
11892 Treat "---" separator lines as part of the following rev. (Bug#14169)
11893
11894 2013-04-27 Juri Linkov <juri@jurta.org>
11895
11896 * subr.el (read-number): Doc fix about using it by interactive
11897 code letter `n'. (Bug#14254)
11898
11899 2013-04-27 Juri Linkov <juri@jurta.org>
11900
11901 * desktop.el (desktop-auto-save-timeout): New option.
11902 (desktop-file-checksum): New variable.
11903 (desktop-save): Add optional arg `auto-save' and don't auto-save
11904 if nothing changed.
11905 (desktop-auto-save-timer): New variable.
11906 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11907 (after-init-hook): Call `desktop-auto-save-set-timer'.
11908 Suggested by Reuben Thomas <rrt@sc3d.org> in
11909 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11910
11911 2013-04-27 Leo Liu <sdl.web@gmail.com>
11912
11913 * progmodes/octave.el (octave-function-file-p)
11914 (octave-skip-comment-forward, octave-function-file-comment)
11915 (octave-update-function-file-comment): New functions.
11916 (octave-mode-map): Bind C-c ; to
11917 octave-update-function-file-comment.
11918 (octave-mode-menu): Add octave-update-function-file-comment.
11919 (octave-mode, inferior-octave-mode): Fix doc-string.
11920 (octave-insert-defun): Conform to Octave's coding convention.
11921 (Bug#14285)
11922
11923 * files.el (basic-save-buffer): Don't let errors in
11924 before-save-hook prevent saving buffer.
11925
11926 2013-04-20 Roland Winkler <winkler@gnu.org>
11927
11928 * faces.el (read-face-name): Use completing-read if arg multiple
11929 is nil.
11930
11931 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11932
11933 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11934 displayed, move point to after the totals line.
11935 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11936 for the details.
11937
11938 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11941 Add current dir to the load-path.
11942 (package-generate-autoloads): Don't rely on
11943 autoload-ensure-default-file.
11944
11945 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11946
11947 * textmodes/remember.el (remember-store-in-files): Document that
11948 the file name format is passed to `format-time-string'.
11949
11950 2013-04-26 Leo Liu <sdl.web@gmail.com>
11951
11952 * progmodes/octave.el (octave-sync-function-file-names): New function.
11953 (octave-mode): Use it in before-save-hook.
11954
11955 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11958 (bug#14274).
11959
11960 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11961 \n and comment, even if it's not an implicit ; (bug#14218).
11962
11963 2013-04-26 Glenn Morris <rgm@gnu.org>
11964
11965 * subr.el (read-number): Once more use `read' rather than
11966 `string-to-number', to trap non-numeric input. (Bug#14254)
11967
11968 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11969
11970 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11971 Use `syntax-multiline' text property consistently instead of
11972 `font-lock-multiline'. (Bug#14237)
11973
11974 2013-04-26 Glenn Morris <rgm@gnu.org>
11975
11976 * emacs-lisp/shadow.el (list-load-path-shadows):
11977 No longer necessary to check for duplicate simple.el, since
11978 2012-07-07 change to init_lread to not include installation lisp
11979 directories in load-path when running uninstalled. (Bug#14270)
11980
11981 2013-04-26 Leo Liu <sdl.web@gmail.com>
11982
11983 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11984 (octave-mode, inferior-octave-mode): Use setq-local.
11985 (octave-not-in-string-or-comment-p): Rename to
11986 octave-in-string-or-comment-p.
11987 (octave-in-comment-p, octave-in-string-p)
11988 (octave-in-string-or-comment-p): Replace defsubst with defun.
11989
11990 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11991
11992 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11993
11994 2013-04-25 Bastien Guerry <bzg@gnu.org>
11995
11996 * textmodes/remember.el (remember-data-directory)
11997 (remember-directory-file-name-format): Fix custom types.
11998
11999 2013-04-25 Leo Liu <sdl.web@gmail.com>
12000
12001 * progmodes/octave.el (octave-completion-at-point-function):
12002 Make use of inferior octave process.
12003 (octave-initialize-completions): Remove.
12004 (inferior-octave-completion-table): New function.
12005 (inferior-octave-completion-at-point): Use it.
12006 (octave-completion-alist): Remove.
12007
12008 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12011 (opascal-mode-syntax-table): New var.
12012 (opascal-literal-kind, opascal-is-literal-end)
12013 (opascal-literal-token-at): Rewrite.
12014 (opascal--literal-start-re, opascal-font-lock-keywords)
12015 (opascal--syntax-propertize): New constants.
12016 (opascal-font-lock-defaults): Adjust.
12017 (opascal-mode): Use them. Set comment-<foo> variables as well.
12018 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12019 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12020 (delphi-other-face, opascal-other-face): Remove face variables.
12021 (opascal-save-state): Remove macro.
12022 (opascal-fontifying-progress-step): Remove constant.
12023 (opascal--ignore-changes): Remove var.
12024 (opascal-set-token-property, opascal-parse-next-literal)
12025 (opascal-is-stable-literal, opascal-complete-literal)
12026 (opascal-is-literal-start, opascal-face-of)
12027 (opascal-parse-region, opascal-parse-region-until-stable)
12028 (opascal-fontify-region, opascal-after-change)
12029 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12030 (opascal-debug-parse-region, opascal-debug-parse-window)
12031 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12032 (opascal-debug-fontify-buffer): Remove.
12033 (opascal-debug-mode-map): Adjust accordingly.
12034
12035 2013-04-25 Leo Liu <sdl.web@gmail.com>
12036
12037 Merge octave-mod.el and octave-inf.el into octave.el with some
12038 cleanups.
12039 * progmodes/octave.el: New file renamed from octave-mod.el.
12040 * progmodes/octave-inf.el: Merged into octave.el.
12041 * progmodes/octave-mod.el: Renamed to octave.el.
12042
12043 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12044
12045 * textmodes/reftex-vars.el
12046 (reftex-label-ignored-macros-and-environments): New defcustom.
12047
12048 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12049
12050 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12053 (smie-indent-keyword): Improve the check to ensure that the next
12054 comment is really on the same line.
12055 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12056
12057 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12058 semi-colons if the line is not otherwise empty (bug#14218).
12059
12060 2013-04-25 Glenn Morris <rgm@gnu.org>
12061
12062 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12063
12064 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * progmodes/opascal.el (opascal-set-token-property): Rename from
12067 opascal-set-text-properties and only set `token' (bug#14134).
12068 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12069 (opascal-literal-text-properties): Remove.
12070 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12071 Adjust callers.
12072
12073 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12074
12075 * textmodes/remember.el (remember-handler-functions): Add an
12076 option for a new handler `remember-store-in-files'.
12077 (remember-data-directory, remember-directory-file-name-format):
12078 New options.
12079 (remember-store-in-files): New function to store remember notes
12080 as separate files within a directory.
12081
12082 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12083
12084 * progmodes/compile.el (compilation-next-error-function):
12085 Pass "formats" to compilation-find-file (bug#11777).
12086
12087 2013-04-24 Glenn Morris <rgm@gnu.org>
12088
12089 * vc/vc-bzr.el (vc-bzr-print-log):
12090 * vc/vc-hg.el (vc-hg-print-log):
12091 * vc/vc-svn.el (vc-svn-print-log):
12092 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12093
12094 * vc/vc-bzr.el (vc-bzr-print-log):
12095 * vc/vc-cvs.el (vc-cvs-print-log):
12096 * vc/vc-git.el (vc-git-print-log):
12097 * vc/vc-hg.el (vc-hg-print-log):
12098 * vc/vc-mtn.el (vc-mtn-print-log):
12099 * vc/vc-rcs.el (vc-rcs-print-log):
12100 * vc/vc-sccs.el (vc-sccs-print-log):
12101 * vc/vc-svn.el (vc-svn-print-log):
12102 * vc/vc.el (vc-print-log-internal): Doc fixes.
12103
12104 2013-04-23 Glenn Morris <rgm@gnu.org>
12105
12106 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12107 Remove venerable code attempting to avoid substitute-command-keys.
12108
12109 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12110
12111 * textmodes/reftex-vars.el (reftex-label-regexps):
12112 Call `reftex-compile-variables' after changes to this variable.
12113
12114 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12117 Use lexical-binding.
12118 (jit-lock-force-redisplay): Use markers, check buffer's continued
12119 existence and beware narrowed buffers.
12120 (jit-lock-fontify-now): Adjust call accordingly.
12121
12122 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12125 to avoid misleading the user.
12126
12127 2013-04-22 Leo Liu <sdl.web@gmail.com>
12128
12129 * info-look.el: Prefer latex2e.info. (Bug#14240)
12130
12131 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12132
12133 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12134
12135 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12136 * net/tramp.el (tramp-call-process): ... here.
12137 (tramp-set-completion-function, tramp-parse-putty):
12138 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12139 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12140 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12141 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12142 (tramp-call-local-coding-command): Use `tramp-call-process'
12143 instead of `tramp-compat-call-process'.
12144
12145 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12146 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12147 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12148 (tramp-find-inline-compress): Improve traces.
12149 (tramp-maybe-send-script): Check for Perl binary.
12150 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12151
12152 2013-04-22 Daiki Ueno <ueno@gnu.org>
12153
12154 * epg.el (epg-context-pinentry-mode): New function.
12155 (epg-context-set-pinentry-mode): New function.
12156 (epg--start): Pass --pinentry-mode option to gpg command.
12157
12158 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12159
12160 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12161 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12162 `completion-at-point'. (Bug#13774)
12163
12164 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12165 default key binding for `describe-distribution' has been moved to
12166 `C-h C-o'. (Bug#13970)
12167
12168 2013-04-21 Glenn Morris <rgm@gnu.org>
12169
12170 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12171 Add doc strings.
12172 (vc-print-log): Clarify interactive prompt.
12173
12174 2013-04-20 Glenn Morris <rgm@gnu.org>
12175
12176 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12177 No longer include timestamp etc information.
12178
12179 2013-04-20 Roland Winkler <winkler@gnu.org>
12180
12181 * faces.el (read-face-name): Bug fix, return just one face if arg
12182 multiple is nil. (Bug#14209)
12183
12184 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12187 (remove-function): Autoload.
12188
12189 * comint.el (comint-redirect-original-filter-function): Remove.
12190 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12191 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12192 (vc-cvs-annotate-command):
12193 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12194 * progmodes/prolog.el (prolog-consult-compile):
12195 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12196 Use add/remove-function instead.
12197 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12198 (gud-tooltip-process-output, gud-tooltip-tips):
12199 Use add/remove-function instead.
12200 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12201 (scheme-interaction-mode, exit-scheme-interaction-mode):
12202 Use add/remove-function instead.
12203
12204 * vc/vc-dispatcher.el: Use lexical-binding.
12205 (vc--process-sentinel): Rename from vc-process-sentinel.
12206 Change last arg to be the code to run. Don't use vc-previous-sentinel
12207 and vc-sentinel-commands any more.
12208 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12209 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12210
12211 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12212
12213 * progmodes/sh-script.el (sh-imenu-generic-expression):
12214 Handle function names with a single character. (Bug#14111)
12215
12216 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12217
12218 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12219 for subroutines defined in an eval (bug#14182).
12220
12221 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12222
12223 * bookmark.el (bookmark-completing-read): Improve handling of empty
12224 string (bug#14176).
12225
12226 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12229
12230 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12231
12232 New faster Imenu implementation (bug#14058).
12233 * progmodes/python.el:
12234 (python-imenu-prev-index-position):
12235 (python-imenu-format-item-label-function)
12236 (python-imenu-format-parent-item-label-function)
12237 (python-imenu-format-parent-item-jump-label-function):
12238 New vars.
12239 (python-imenu-format-item-label)
12240 (python-imenu-format-parent-item-label)
12241 (python-imenu-format-parent-item-jump-label)
12242 (python-imenu--put-parent, python-imenu--build-tree)
12243 (python-imenu-create-index, python-imenu-create-flat-index)
12244 (python-util-popn): New functions.
12245 (python-mode): Set imenu-create-index-function to
12246 python-imenu-create-index.
12247
12248 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12249
12250 * winner.el (winner-active-region): Use region-active-p, activate-mark
12251 and deactivate-mark (bug#14225).
12252
12253 * simple.el (deactivate-mark): Don't inline it.
12254
12255 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12258
12259 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12260
12261 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12262 file extensions from the archive-mode entry in order to prefer
12263 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12264
12265 2013-04-18 Leo Liu <sdl.web@gmail.com>
12266
12267 * bindings.el (help-event-list): Add ?\?.
12268
12269 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * subr.el (with-wrapper-hook): Declare obsolete.
12272 * simple.el (filter-buffer-substring-function): New hook.
12273 (filter-buffer-substring): Use it.
12274 (filter-buffer-substring-functions): Mark obsolete.
12275 * minibuffer.el (completion-in-region-function): New hook.
12276 (completion-in-region): Use it.
12277 (completion-in-region-functions): Mark obsolete.
12278 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12279 * abbrev.el (abbrev-expand-function): New hook.
12280 (expand-abbrev): Use it.
12281 (abbrev-expand-functions): Mark obsolete.
12282 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12283 and :filter-return.
12284
12285 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12286
12287 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12288 and do not care about match data.
12289
12290 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12291
12292 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12293 completion tables when completing error conditions and
12294 `declare' arguments.
12295 (lisp-complete-symbol, field-complete): Mark as obsolete.
12296 (check-parens): Unmatched parens are user errors.
12297 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12298
12299 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12300
12301 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12302 command changed buffer (ie. `flyspell-pre-buffer' is not current
12303 buffer), which prevents making decisions based on invalid value of
12304 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12305 cause an error when `flyspell-pre-point' was nil after switching
12306 buffers.
12307 (flyspell-post-command-hook): No longer needs to change buffers when
12308 checking pre-word. While at it remove unnecessary progn.
12309
12310 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12311
12312 * textmodes/ispell.el (ispell-add-per-file-word-list):
12313 Fix `flyspell-correct-word-before-point' error when accepting
12314 words and `coment-padding' is an integer by using
12315 `comment-normalize-vars' (Bug #14214).
12316
12317 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12318
12319 New defun movement commands.
12320 * progmodes/python.el (python-nav--syntactically)
12321 (python-nav--forward-defun, python-nav-backward-defun)
12322 (python-nav-forward-defun): New functions.
12323
12324 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12325
12326 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12327 (python-syntax-context): Use named compiler-macro for backwards
12328 compatibility with Emacs 24.x.
12329
12330 2013-04-17 Leo Liu <sdl.web@gmail.com>
12331
12332 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12333 octave-hide-process-buffer.
12334
12335 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12338 (bug#14216).
12339
12340 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12341
12342 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12343 Fix adjustment of offset when receiving incomplete responses from GDB
12344 (bug#14129).
12345
12346 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12349 python-mode-abbrev-table.
12350 (python-skeleton-define): Adjust accordingly.
12351 (python-mode-abbrev-table): New table that inherits from it so that
12352 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12353
12354 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12355 (abbrev-symbol): Use it.
12356 (abbrev--before-point): Use it since we already handle inheritance.
12357
12358 2013-04-16 Leo Liu <sdl.web@gmail.com>
12359
12360 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12361 binding to info-lookup-symbol.
12362
12363 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12364
12365 * minibuffer.el (completion--twq-all):
12366 * term/ns-win.el (ns-initialize-window-system):
12367 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12368
12369 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12372 global bindings.
12373
12374 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12375
12376 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12377
12378 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12379 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12380 to nil.
12381 (ruby-end-of-defun): Remove the unused arg, change the docstring
12382 to reflect that this function is only used as the value of
12383 `end-of-defun-function'.
12384 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12385 to reflect an earlier change that beginning/end-of-defun functions
12386 jump between methods in a class definition, as well as top-level
12387 functions.
12388
12389 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12390
12391 * minibuffer.el (minibuffer-complete): Don't just scroll
12392 a *Completions* that's been iconified.
12393 (minibuffer-force-complete): Make sure repetitions do cycle when going
12394 through completion-in-region -> minibuffer-complete.
12395
12396 2013-04-15 Alan Mackenzie <acm@muc.de>
12397
12398 Correct the placement of c-cpp-delimiters when there're #s not at
12399 col 0.
12400
12401 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12402 place a submatch around the #.
12403 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12404 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12405 on the #, not BOL.
12406
12407 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12408
12409 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12410 (advice--member-p): New arg `name'.
12411 (advice--add-function, advice-member-p): Use it (bug#14202).
12412
12413 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12414
12415 Reformulate java imenu-generic-expression.
12416 The old expression contained ill formed regexps.
12417
12418 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12419 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12420 (cc-imenu-java-method-arg-regexp): New defconsts.
12421 (cc-imenu-java-build-type-args-regex): New defun.
12422 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12423 handling of spaces in the regexp.
12424
12425 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12426
12427 * textmodes/ispell.el (ispell-command-loop): Remove
12428 flyspell highlight of a word when ispell accepts it (bug #14178).
12429
12430 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12431
12432 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12433 uses code from the previous `ange-ftp-run-real-handler'.
12434 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12435 only in case that function exist. This is needed for proper
12436 unloading of Tramp.
12437
12438 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12439
12440 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12441
12442 * textmodes/reftex.el (reftex-compile-variables): Use it.
12443
12444 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12445
12446 * files.el (normal-mode): Only use default major-mode if no other mode
12447 was specified.
12448
12449 * emacs-lisp/trace.el (trace-values): New function.
12450
12451 * files.el: Allow : in local variables (bug#14089).
12452 (hack-local-variable-regexp): New var.
12453 (hack-local-variables-prop-line, hack-local-variables): Use it.
12454
12455 2013-04-13 Roland Winkler <winkler@gnu.org>
12456
12457 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12458 data before it gets modified by bibtex-beginning-of-entry.
12459
12460 2013-04-13 Roland Winkler <winkler@gnu.org>
12461
12462 * textmodes/bibtex.el (bibtex-url): Doc fix.
12463
12464 2013-04-13 Roland Winkler <winkler@gnu.org>
12465
12466 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12467 does not visit a BibTeX file, exclude it from the list of buffers
12468 returned by bibtex-initialize.
12469
12470 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12471
12472 * window.el (split-window): Remove interactive form, since as a
12473 command this function is a special case of split-window-below.
12474 Correct doc string.
12475
12476 2013-04-12 Roland Winkler <winkler@gnu.org>
12477
12478 * faces.el (read-face-name): Do not override value of arg default.
12479 Allow single faces and strings as default values. Remove those
12480 elements from return value that are not faces.
12481 (describe-face): Simplify.
12482 (face-at-point): New optional args thing and multiple so that this
12483 function can provide the same functionality previously provided by
12484 read-face-name.
12485 (make-face-bold, make-face-unbold, make-face-italic)
12486 (make-face-unitalic, make-face-bold-italic, invert-face)
12487 (modify-face, read-face-and-attribute): Use face-at-point.
12488
12489 * cus-edit.el (customize-face, customize-face-other-window)
12490 * cus-theme.el (custom-theme-add-face)
12491 * face-remap.el (buffer-face-set)
12492 * facemenu.el (facemenu-set-face): Use face-at-point.
12493
12494 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12495
12496 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12497
12498 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12499
12500 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12501 off leading { and trailing } from field values.
12502
12503 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12504
12505 * emacs-lisp/timer.el (timer--check): New function.
12506 (timer--time, timer-set-function, timer-event-handler): Use it.
12507 (timer-set-idle-time): Simplify.
12508 (timer--activate): CSE.
12509 (timer-event-handler): Give more info in error message.
12510 (internal-timer-start-idle): New function, moved from C.
12511
12512 * mpc.el (mpc-proc): Add `restart' argument.
12513 (mpc-proc-cmd): Use it.
12514 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12515 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12516 less often.
12517
12518 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12519
12520 * progmodes/sh-script.el: Implement `sh-mode' own
12521 `add-log-current-defun-function' (bug#14112).
12522 (sh-current-defun-name): New function.
12523 (sh-mode): Use the function.
12524
12525 2013-04-09 Bastien Guerry <bzg@gnu.org>
12526
12527 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12528
12529 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12530
12531 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12532
12533 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12534 timer (bug#14156).
12535
12536 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12537
12538 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12539 declaration.
12540
12541 2013-04-07 Leo Liu <sdl.web@gmail.com>
12542
12543 * pcmpl-x.el: New file.
12544
12545 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12546
12547 Do not set x-display-name until X connection is established.
12548 This is needed to prevent from weird situation described at
12549 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12550 * frame.el (make-frame): Set x-display-name after call to
12551 window system initialization function, not before.
12552 * term/x-win.el (x-initialize-window-system): Add optional
12553 display argument and use it.
12554 * term/w32-win.el (w32-initialize-window-system):
12555 * term/ns-win.el (ns-initialize-window-system):
12556 * term/pc-win.el (msdos-initialize-window-system):
12557 Add compatible optional display argument.
12558
12559 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12560
12561 * files.el (normal-backup-enable-predicate): On MS-Windows and
12562 MS-DOS compare truenames of temporary-file-directory and of the
12563 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12564 don't fail comparison by compare-strings. Also, compare file
12565 names case-insensitively on MS-Windows and MS-DOS.
12566
12567 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12570 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12571
12572 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12573
12574 * whitespace.el (whitespace-color-on, whitespace-color-off):
12575 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12576
12577 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12578
12579 * ispell.el (ispell-set-spellchecker-params):
12580 Really set `ispell-args' for all equivs.
12581
12582 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * ido.el (ido-completions): Use extra elements of ido-decorations
12585 (bug#14143).
12586 (ido-decorations): Update docstring.
12587
12588 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12589
12590 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12591 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12592 nil during initialization, in order not to miss changes since the
12593 file was opened. (Bug#14140)
12594
12595 2013-04-05 Leo Liu <sdl.web@gmail.com>
12596
12597 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12598
12599 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12600
12601 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12602
12603 2013-04-04 Glenn Morris <rgm@gnu.org>
12604
12605 * electric.el (electric-pair-inhibit-predicate): Add :version.
12606
12607 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12610 when a package is required several times (bug#14082).
12611
12612 2013-04-04 Roland Winkler <winkler@gnu.org>
12613
12614 * faces.el (read-face-name): Behave as promised by the docstring.
12615 Assume that arg default is a list of faces.
12616 (describe-face): Call read-face-name with list of default faces.
12617
12618 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12619
12620 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12621 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12622 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12623 the header.
12624 (bookmark-exit-hook-internal): Save even if list is empty.
12625
12626 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12627
12628 * emacs-lisp/package.el (package-pinned-packages): New var.
12629 (package--add-to-archive-contents): Obey it (bug#14118).
12630
12631 2013-04-03 Alan Mackenzie <acm@muc.de>
12632
12633 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12634 Also adapt to the new values of element 7 of a parse state.
12635
12636 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12637 parameter `not-in-delimiter'. Handle being inside comment opener.
12638 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12639 character in case we're typing a '*' after a '/'.
12640 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12641 instead by passing the parameter to c-state-pp-to-literal.
12642
12643 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12644 for elt. 7 of a parse state.
12645
12646 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12647
12648 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12649 * international/latin1-disp.el, international/mule-util.el:
12650 * language/cyril-util.el, language/european.el, language/ind-util.el:
12651 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12652 * language/tibetan.el, language/viet-util.el:
12653 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12654
12655 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12658 (electric-pair-post-self-insert-function): Use it.
12659 (electric-pair-default-inhibit): New function, extracted from
12660 electric-pair-post-self-insert-function.
12661
12662 2013-03-31 Roland Winkler <winkler@gnu.org>
12663
12664 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12665
12666 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12669
12670 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12671
12672 Un-indent after "pass" and "return" statements (Bug#13888)
12673 * progmodes/python.el (python-indent-block-enders): New var.
12674 (python-indent-calculate-indentation): Use it.
12675
12676 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12679 defun. Defining it as defalias could introduce too eager
12680 byte-compiler optimization. (Bug#14030)
12681
12682 2013-03-30 Chong Yidong <cyd@gnu.org>
12683
12684 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12685
12686 2013-03-30 Leo Liu <sdl.web@gmail.com>
12687
12688 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12689 (kmacro-execute-from-register): Pass the keyboard macro to
12690 kmacro-call-macro or repeating won't work correctly.
12691
12692 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12693
12694 * progmodes/subword.el: Back to using `forward-symbol'.
12695
12696 * subr.el (forward-whitespace, forward-symbol)
12697 (forward-same-syntax): Move from thingatpt.el.
12698
12699 2013-03-29 Leo Liu <sdl.web@gmail.com>
12700
12701 * kmacro.el (kmacro-to-register): New command.
12702 (kmacro-execute-from-register): New function.
12703 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12704
12705 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12706
12707 * mpc.el: Use defvar-local and setq-local.
12708 (mpc--proc-connect): Connection failures are not bugs.
12709 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12710 (mpc-volume-map): Bind to the up-events.
12711
12712 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12713
12714 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12715 instead of `forward-symbol'.
12716
12717 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12720 (edebug--recursive-edit): Use it.
12721 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12722 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12723
12724 2013-03-28 Leo Liu <sdl.web@gmail.com>
12725
12726 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12727
12728 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12729
12730 * facemenu.el (list-colors-callback): New defvar.
12731 (list-colors-redisplay): New function.
12732 (list-colors-display): Install list-colors-redisplay as the
12733 revert-buffer-function. (Bug#14063)
12734
12735 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12738 and suffixes don't overlap (bug#14061).
12739
12740 * case-table.el: Use lexical-binding.
12741 (case-table-get-table): New function.
12742 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12743
12744 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12745
12746 * progmodes/subword.el: Add `superword-mode' to do word motion
12747 over symbol_words (parallels and leverages `subword-mode' which
12748 does word motion inside MixedCaseWords).
12749
12750 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12751
12752 * eshell/em-unix.el: Move su and sudo to...
12753 * eshell/em-tramp.el: ...Eshell tramp module.
12754
12755 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12756
12757 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12758 Change return value to be a sexp. Delay `get-buffer' to after
12759 restoring the desktop (bug#13951).
12760
12761 2013-03-26 Leo Liu <sdl.web@gmail.com>
12762
12763 * register.el: Move semantic tag handling back to
12764 cedet/semantic/senator.el. (Bug#14052)
12765
12766 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12769 into the prompt either (bug#13963).
12770
12771 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12774 part of "(error-foo)".
12775
12776 2013-03-24 Juri Linkov <juri@jurta.org>
12777
12778 * replace.el (list-matching-lines-prefix-face): New defcustom.
12779 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12780 `occur-engine' if `face-differs-from-default-p' returns t.
12781 (occur-engine): Add `,' inside backquote construct to evaluate
12782 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12783 Pass `prefix-face' to the functions `occur-context-lines' and
12784 `occur-engine-add-prefix'.
12785 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12786 `prefix-face' and propertize the prefix with `prefix-face'.
12787 (Bug#14017)
12788
12789 2013-03-24 Leo Liu <sdl.web@gmail.com>
12790
12791 * nxml/rng-valid.el (rng-validate-while-idle)
12792 (rng-validate-quick-while-idle): Guard against deleted buffer.
12793 (Bug#13999)
12794
12795 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12796 is the last entry in kill-buffer-hook.
12797
12798 * files.el (kill-buffer-hook): Doc fix.
12799
12800 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12801
12802 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12803 Make it safe-local.
12804
12805 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12806
12807 2013-03-23 Leo Liu <sdl.web@gmail.com>
12808
12809 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12810 Remove.
12811
12812 * nxml/rng-valid.el (rng-validate-mode)
12813 (rng-after-change-function, rng-do-some-validation):
12814 * nxml/rng-maint.el (rng-validate-buffer):
12815 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12816 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12817 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12818 (nxml-extend-after-change-region): Use with-silent-modifications.
12819
12820 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12821 timer-idle-list.
12822
12823 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12824 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12825 timer-idle-list. (Bug#13999)
12826
12827 2013-03-23 Juri Linkov <juri@jurta.org>
12828
12829 * info.el (info-index-match): New face.
12830 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12831 main pattern and add text properties with the new face to matches
12832 in index entries relative to the beginning of the index entry.
12833 (Bug#14015)
12834
12835 2013-03-21 Eric Ludlam <zappo@gnu.org>
12836
12837 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12838 Inhibit read only while inserting objects.
12839
12840 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12841
12842 * progmodes/cfengine.el: Update docs to mention
12843 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12844 symbol motion. Remove "_" from the word syntax.
12845
12846 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12847
12848 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12849 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12850
12851 2013-03-20 Juri Linkov <juri@jurta.org>
12852
12853 * info.el (Info-next-reference-or-link)
12854 (Info-prev-reference-or-link): New functions.
12855 (Info-next-reference, Info-prev-reference): Use them.
12856 (Info-try-follow-nearest-node): Handle footnote navigation.
12857 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12858
12859 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12862 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12863
12864 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12865
12866 Suppress unnecessary non-ASCII chatter during build process.
12867 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12868 (batch-skkdic-convert): Suppress most of the chatter.
12869 It's not needed so much now that machines are faster,
12870 and its non-ASCII component was confusing; see Dmitry Gutov in
12871 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12872
12873 2013-03-20 Leo Liu <sdl.web@gmail.com>
12874
12875 * ido.el (ido-chop): Fix bug#10994.
12876
12877 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12878
12879 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12880 Remove vars.
12881 (whitespace-color-on, whitespace-color-off):
12882 Use `font-lock-fontify-buffer' (Bug#13817).
12883
12884 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12887 remapping in mode-line.
12888 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12889
12890 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12891
12892 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12893 value for `whitespace-line' face (Bug#13875).
12894 (whitespace-font-lock-keywords): Change description.
12895 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12896 the constructed keywords instead.
12897 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12898
12899 2013-03-19 Leo Liu <sdl.web@gmail.com>
12900
12901 * progmodes/compile.el (compilation-display-error): New command.
12902 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12903 C-o. (Bug#13992)
12904
12905 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12906
12907 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12908
12909 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12910
12911 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12912
12913 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12914
12915 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12916
12917 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12918 * net/tramp-gvfs.el (top):
12919 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12920 (tramp-handle-shell-command): Use it.
12921 (tramp-dissect-file-name): Raise an error when hostname is a
12922 method name, and neither method nor user is specified.
12923
12924 * net/trampver.el: Update release number.
12925
12926 2013-03-18 Leo Liu <sdl.web@gmail.com>
12927
12928 Make sure eldoc can be turned off properly.
12929 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12930 eldoc-mode.
12931 (eldoc-display-message-p): Revert last change.
12932 (eldoc-display-message-no-interference-p)
12933 (eldoc-print-current-symbol-info): Tweak.
12934
12935 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12936
12937 * doc-view.el (doc-view-new-window-function): Check the new window
12938 overlay's display property instead the char property of the
12939 buffer's first char. Use `with-selected-window' instead of
12940 `save-window-excursion' with `select-window'.
12941 (doc-view-document->bitmap): Check the current doc-view overlay's
12942 display property instead the char property of the buffer's first char.
12943
12944 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12945
12946 Automate the build of ja-dic.el (Bug#13984).
12947 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12948 from the input, rather than assume that it's been done for us by the
12949 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12950 the current date into a ja-dic.el comment, as that complicates
12951 regression testing.
12952
12953 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * whitespace.el: Fix double evaluation.
12956 (whitespace-space, whitespace-hspace, whitespace-tab)
12957 (whitespace-newline, whitespace-trailing, whitespace-line)
12958 (whitespace-space-before-tab, whitespace-indentation)
12959 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12960 obsolete defvars.
12961 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12962 (whitespace-color-on): Use a single font-lock-add-keywords call.
12963 Fix double-evaluation of face variables.
12964
12965 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12966
12967 * net/tramp-adb.el (tramp-adb-parse-device-names):
12968 Use `start-process' instead of `call-process'. Otherwise, the
12969 function might be blocked under MS Windows. (Bug#13299)
12970
12971 2013-03-17 Leo Liu <sdl.web@gmail.com>
12972
12973 Extend eldoc to display info in the mode-line. (Bug#13978)
12974 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12975 (eldoc-mode-line-string): New variable.
12976 (eldoc-minibuffer-message): New function.
12977 (eldoc-message-function): New variable.
12978 (eldoc-message): Use it.
12979 (eldoc-display-message-p)
12980 (eldoc-display-message-no-interference-p):
12981 Support eldoc-post-insert-mode.
12982
12983 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12984 (eval-expression): Run it.
12985
12986 2013-03-17 Roland Winkler <winkler@gnu.org>
12987
12988 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12989 strings in the list of return values.
12990
12991 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12992
12993 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12994 radix before checking for HMS forms.
12995
12996 2013-03-16 Leo Liu <sdl.web@gmail.com>
12997
12998 * progmodes/scheme.el: Add indentation and font-locking for λ.
12999 (Bug#13975)
13000
13001 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13004 token before point (bug#13942).
13005
13006 2013-03-16 Leo Liu <sdl.web@gmail.com>
13007
13008 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13009
13010 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13011
13012 * startup.el (command-line-normalize-file-name): Fix handling of
13013 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13014 <xfq.free@gmail.com> in
13015 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13016
13017 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13018
13019 Sync with Tramp 2.2.7.
13020
13021 * net/trampver.el: Update release number.
13022
13023 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13024
13025 * doc-view.el: Fix bug#13887.
13026 (doc-view-insert-image): Don't modify overlay associated to
13027 non-live windows, and implement horizontal centering of image in
13028 case it's smaller than the window.
13029 (doc-view-new-window-function): Force redisplay of new windows on
13030 doc-view buffers.
13031
13032 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13033
13034 * saveplace.el (save-place-alist-to-file): Don't sort
13035 `save-place-alist', just pretty-print it (bug#13882).
13036
13037 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13038
13039 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13040 Check whether `default-file-name-coding-system' is bound.
13041 It isn't in XEmacs.
13042
13043 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13046 backquotes for `obsolete' (bug#13929).
13047
13048 * international/mule.el (find-auto-coding): Include file name in
13049 obsolescence warning (bug#13922).
13050
13051 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13052
13053 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13054 for CFEngine 3-specific indentation.
13055 (cfengine3-indent-line): Use it. Fix up category regex.
13056 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13057
13058 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13059
13060 * type-break.el (type-break-file-name):
13061 * textmodes/remember.el (remember-data-file):
13062 * strokes.el (strokes-file):
13063 * shadowfile.el (shadow-initialize):
13064 * saveplace.el (save-place-file):
13065 * ps-bdf.el (bdf-cache-file):
13066 * progmodes/idlwave.el (idlwave-config-directory):
13067 * net/quickurl.el (quickurl-url-file):
13068 * international/kkc.el (kkc-init-file-name):
13069 * ido.el (ido-save-directory-list-file):
13070 * emulation/viper.el (viper-custom-file-name):
13071 * emulation/vip.el (vip-startup-file):
13072 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13073 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13074
13075 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13076
13077 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13078 * language/thai-word.el: Switch to UTF-8.
13079
13080 See ChangeLog.16 for earlier changes.
13081
13082 ;; Local Variables:
13083 ;; coding: utf-8
13084 ;; End:
13085
13086 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13087
13088 This file is part of GNU Emacs.
13089
13090 GNU Emacs is free software: you can redistribute it and/or modify
13091 it under the terms of the GNU General Public License as published by
13092 the Free Software Foundation, either version 3 of the License, or
13093 (at your option) any later version.
13094
13095 GNU Emacs is distributed in the hope that it will be useful,
13096 but WITHOUT ANY WARRANTY; without even the implied warranty of
13097 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13098 GNU General Public License for more details.
13099
13100 You should have received a copy of the GNU General Public License
13101 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.