Some read-regexp doc
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-14 Glenn Morris <rgm@gnu.org>
2
3 * replace.el (map-query-replace-regexp)
4 (read-regexp-defaults-function, read-regexp): Doc fixes.
5
6 * dired.el (dired-read-regexp):
7 * faces.el (list-faces-display):
8 * misearch.el (multi-isearch-read-matching-buffers)
9 (multi-isearch-read-matching-files):
10 * play/cookie1.el (cookie-apropos):
11 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12
13 * textmodes/remember.el (remember): Use frameset-to-register
14 rather than frame-configuration-to-register.
15
16 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
17
18 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
19 incorrect keybinding.
20
21 2014-02-13 Daniel Colascione <dancol@dancol.org>
22
23 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
24 when adding overlays so that line numbers from compiler match line
25 numbers we use.
26
27 2014-02-13 Glenn Morris <rgm@gnu.org>
28
29 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
30
31 * jit-lock.el (jit-lock-mode): Doc fix.
32
33 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
34
35 * apropos.el (apropos-read-pattern): When the user passes an empty
36 string, give a more helpful error message than "Wrong type
37 argument: stringp, nil".
38
39 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
42
43 2014-02-13 Glenn Morris <rgm@gnu.org>
44
45 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
46
47 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
50 shift-select commands.
51
52 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
53
54 * progmodes/js.el (js-indent-line): Don't widen.
55 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
56
57 2014-02-12 Glenn Morris <rgm@gnu.org>
58
59 * icomplete.el (icomplete): Add info-link to defgroup.
60 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
61 (icomplete-minibuffer-map, icomplete-mode)
62 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
63
64 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
65 (package-menu-filter): Rename from package-menu-filter-interactive.
66 Doc fix.
67
68 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
69
70 * frameset.el (frameset--jump-to-register): Select the required
71 window and buffer before restoring position (bug#16696).
72
73 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
74
75 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
76
77 2014-02-10 Glenn Morris <rgm@gnu.org>
78
79 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
80
81 2014-02-10 Eli Zaretskii <eliz@gnu.org>
82
83 * w32-common-fns.el (x-get-selection): Doc fix.
84 * select.el (x-get-selection): Doc fix. (Bug#15109)
85
86 * face-remap.el (face-remap-add-relative)
87 (face-remap-remove-relative, face-remap-reset-base)
88 (face-remap-set-base): Call force-mode-line-update to redisplay
89 the current buffer due to potential change in faces. (Bug#16709)
90
91 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
92
93 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
94 script more robustly.
95
96 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
97
98 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
99
100 * simple.el (choose-completion): Doc fix (bug#14160).
101
102 * subr.el (event-start): Say what a nil EVENT value means.
103
104 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
105 (bug#14197).
106
107 * progmodes/grep.el (find-program): Doc fix (bug#14289).
108
109 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
110
111 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
112
113 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
114 predicate function (bug#15455).
115
116 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
117
118 * ielm.el (inferior-emacs-lisp-mode): Instead of
119 `comment-use-global-state', set `comment-use-syntax'.
120
121 2014-02-10 Glenn Morris <rgm@gnu.org>
122
123 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
124
125 2014-02-09 Alan Mackenzie <acm@muc.de>
126
127 Fix c-invalidate-state-cache on narrowed buffers.
128 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
129 Widen when setting and clearing the CPP delimiter properties.
130
131 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
132
133 * help.el (describe-bindings): Doc fix (bug#9888).
134
135 * files.el (save-buffer): Use ARG as the parameter name for
136 consistency (bug#10346).
137 (save-buffer): Clarify the 0 argument (bug#10346).
138
139 * cus-edit.el (customize-apropos): Fix error string.
140 (custom-buffer-create): Doc fix (bug#11122).
141 (custom-sort-items): Doc fix (bug#11121).
142
143 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
144
145 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
146 (icomplete-simple-completing-p): Mention the previous variable.
147
148 * font-lock.el (font-lock-value-in-major-mode): Clarify the
149 meaning of the parameter (bug#12282).
150
151 * files.el (find-file-noselect): Clarify prompt when changing
152 readedness (bug#13261).
153 (locate-file): Suffixes aren't returned, so don't say that they
154 are (bug#12674).
155 (backup-inhibited): Doc clarification (bug#12525).
156
157 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
158 before we actually start to delete things (bug#16331).
159
160 * subr.el (event-start): Doc fix (bug#14228).
161 (event-end): Ditto.
162
163 2014-02-09 Glenn Morris <rgm@gnu.org>
164
165 * emacs-lisp/warnings.el (lwarn):
166 Empower help-enable-auto-load. (Bug#15940)
167
168 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
169
170 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
171 (Bug#16690)
172
173 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
176 Insert output at end of buffer. (Bug#16120)
177
178 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
179
180 * simple.el (choose-completion-string-functions): Document new
181 calling convention (bug#14153).
182 (execute-extended-command): Clarify doc string (bug#13373).
183
184 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
185
186 * find-dired.el (find-name-dired): Doc fix (bug#14290).
187 (find-grep-dired): Doc fix (bug#14288).
188
189 2014-02-08 Juri Linkov <juri@jurta.org>
190
191 * isearch.el (isearch-quote-char): Check character validity
192 like in `quoted-insert' (bug#16677).
193
194 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
195
196 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
197
198 * isearch.el (isearch-hide-immediately): Doc clarification
199 (bug#14723).
200
201 * simple.el (line-move): Document utility function used many
202 places in the Emacs sources (bug#14843).
203
204 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
205 (dired-prev-marked-file): Doc fix (bug#14855).
206 (dired-up-directory): Doc fix (bug#14848).
207
208 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
209
210 * files.el (file-relative-name): Doc fix (bug#15159).
211
212 * fringe.el (fringe-styles): Doc fix (bug#15239).
213
214 * isearch.el (isearch-filter-predicate): Documentation typo fix
215 (bug#15474).
216
217 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
218
219 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
220
221 * replace.el (replace-match-maybe-edit): Doc clarification
222 (bug#15632).
223
224 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
225
226 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
227
228 2014-02-08 Glenn Morris <rgm@gnu.org>
229
230 * help-fns.el (describe-variable):
231 Check {file,dir}-local-variables-alist, and buffer-file-name,
232 in the correct buffer.
233
234 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
235
236 * help-fns.el (describe-variable): Fix the case where
237 a value is directory-local with no dir-locals file. (Bug#16635)
238
239 2014-02-08 Glenn Morris <rgm@gnu.org>
240
241 * abbrev.el (edit-abbrevs-mode):
242 Derive from fundamental-mode. (Bug#16682)
243
244 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
245
246 * simple.el (quoted-insert): Check character validity (bug#16677).
247
248 2014-02-07 Juri Linkov <juri@jurta.org>
249
250 * desktop.el (desktop-read): Claim the lock when the owner is not
251 the current process. (Bug#16157)
252
253 2014-02-07 Juri Linkov <juri@jurta.org>
254
255 * desktop.el (desktop-buffers-not-to-save): Change default from nil
256 to "\\` ". (Bug#16651)
257
258 2014-02-07 Juri Linkov <juri@jurta.org>
259
260 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
261 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
262 (desktop-auto-save-cancel-timer): New function with some code from
263 `desktop-auto-save-set-timer'.
264 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
265 Instead of setting `desktop-save-mode' to nil, call
266 `desktop-save-mode' with arg 0. (Bug#16630)
267
268 2014-02-07 Glenn Morris <rgm@gnu.org>
269
270 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
271 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
272 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
273
274 * obsolete/iswitchb.el: Move to obsolete/.
275 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
276 since obsolete/ is not scanned for autoloads.
277 * emacs-lisp/authors.el (authors-valid-file-names):
278 Add iswitchb.el.
279
280 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
281 Disable now non-functional find-file-hook.
282
283 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
284
285 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
286 instead of ";" in order to avoid additional prompts. Let heredoc
287 scripts read from tty. (Bug#16582)
288 (tramp-send-command): No special handling of heredocs, it isn't
289 necessary anymore.
290
291 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
294 with a space (bug#16664). Limit the symbols considered to the ones
295 that are bound or fbound (bug#16646).
296
297 2014-02-06 Glenn Morris <rgm@gnu.org>
298
299 * epa.el (epa-mail-aliases): Doc fix.
300
301 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
302
303 * emacs-lisp/lisp.el (lisp-completion-at-point):
304 Use `completion-table-merge' instead of `completion-table-in-turn'
305 (bug#16604).
306
307 * minibuffer.el (completion-table-merge): New function.
308
309 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
310
311 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
312 (tramp-sh-handle-set-file-acl)
313 (tramp-sh-handle-start-file-process)
314 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
315 (tramp-find-executable, tramp-send-command): Use it.
316
317 2014-02-05 Glenn Morris <rgm@gnu.org>
318
319 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
320
321 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
322
323 * progmodes/python.el (python-shell-send-string):
324 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
325
326 2014-02-04 Anders Lindgren <andlind@gmail.com>
327
328 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
329 the names (bug#16620).
330
331 2014-02-03 Martin Rudalics <rudalics@gmx.at>
332
333 * faces.el (window-divider): New default value. Rewrite doc-string.
334 (window-divider-first-pixel, window-divider-last-pixel): New faces.
335
336 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
337
338 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
339 `protected' and `public' can also be called without arguments.
340
341 2014-02-03 Glenn Morris <rgm@gnu.org>
342
343 * register.el (window-configuration-to-register)
344 (frame-configuration-to-register): Unadvertise unused argument.
345 * frameset.el (frameset-to-register): Remove unused argument.
346
347 * frameset.el (frameset-to-register):
348 * kmacro.el (kmacro-to-register):
349 * register.el (increment-register):
350 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
351 (calc-append-to-register, calc-prepend-to-register):
352 * play/gametree.el (gametree-layout-to-register)
353 (gametree-apply-register-layout):
354 * textmodes/picture.el (picture-clear-rectangle-to-register)
355 (picture-yank-rectangle-from-register):
356 * vc/emerge.el (emerge-combine-versions-register):
357 Use register-read-with-preview to read registers.
358
359 2014-02-03 João Távora <joaotavora@gmail.com>
360
361 * elec-pair.el (electric-pair-backward-delete-char): Don't error
362 when at beginning of (possibly narrowed) buffer.
363
364 2014-02-02 Daniel Colascione <dancol@dancol.org>
365
366 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
367 Also try to display local help from just before point.
368
369 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
370
371 c-parse-state. Don't "append-lower-brace-pair" in certain
372 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
373 recognised as a comment.
374
375 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
376 as well as normal comment starter.
377 (c-parse-state-get-strategy): Extra return possibility
378 'back-and-forward.
379 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
380 return value list to indicate replacement of a brace-pair cons
381 with its car.
382 (c-parse-state-1): With 'back-and-forward, only call
383 c-append-lower-brace-pair-to state-cache when cons-separated.
384
385 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
386
387 * term/ns-win.el (ns-suspend-error): New function.
388 (ns-initialize-window-system): Add ns-suspend-error to
389 suspend-hook (Bug#16612).
390
391 2014-02-02 Daniel Colascione <dancol@dancol.org>
392
393 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
394
395 2014-02-02 Daniel Colascione <dancol@dancol.org>
396
397 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
398
399 2014-02-02 Glenn Morris <rgm@gnu.org>
400
401 * register.el (register-read-with-preview, point-to-register)
402 (window-configuration-to-register, frame-configuration-to-register)
403 (jump-to-register, number-to-register, view-register, insert-register)
404 (copy-to-register, append-to-register, prepend-to-register)
405 (copy-rectangle-to-register): Doc fixes.
406
407 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
410 * emacs-lisp/find-func.el (find-function-C-source): Idem.
411 * emacs-lisp/nadvice.el (advice--cd*r): New function.
412 * help-fns.el (describe-function-1): Use it.
413
414 2014-02-02 Glenn Morris <rgm@gnu.org>
415
416 * register.el (register-preview-default): New function,
417 split from register-preview.
418 (register-preview-function): Rename from register-preview-functions,
419 make it not a hook.
420 (register-preview): Use register-preview-function.
421 (register-read-with-preview): Error on non-character event. (Bug#16595)
422
423 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
424
425 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
426 `:' before binary operators (bug#16609). Don't check for `:'
427 before `[' and `(', or their syntax status. A percent literal
428 can't end with either.
429 (ruby-font-lock-keywords): For built-ins that require arguments,
430 check that they're followed by something that looks like argument
431 (bug#16610).
432
433 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
434
435 * subr.el (butlast): Document what an omitted N means (bug#13437).
436 (nbutlast): Ditto.
437
438 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
439
440 * net/shr.el (shr-generic): Make into a defsubst to make the stack
441 depth shallower (bug#16587).
442 (shr-tag-svg): Respect `shr-inhibit-images'.
443 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
444
445 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
446
447 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
448 (ruby-smie-grammar): Make "." right-associative. Make its priority
449 lower than the ternary and all binary operators.
450 (ruby-smie-rules): Indent "(" relative to the first non-"."
451 parent, or the first "." parent at indentation.
452 Use `ruby-align-chained-calls' for indentation of "." tokens.
453 (Bug#16593)
454
455 2014-01-31 Juri Linkov <juri@jurta.org>
456
457 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
458 from `make-hash-table'.
459
460 * textmodes/ispell.el (ispell-init-process): Change message format
461 to be consistent with other messages.
462
463 2014-01-31 Glenn Morris <rgm@gnu.org>
464
465 * delsel.el (delete-selection-mode): Doc fix.
466
467 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
468 (trace-function-background): Doc fixes.
469
470 * ido.el (ido-use-virtual-buffers): Doc fix.
471 Reset :version, since the default value has not changed.
472
473 * register.el (register-preview-delay, register-read-with-preview):
474 Doc fixes.
475
476 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
477 do not mess with mail-buffer position (fixes 2009-11-03 change).
478 * progmodes/cc-mode.el (c-submit-bug-report):
479 Check auto-fill-mode is bound. (Bug#16592)
480
481 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
482
483 * startup.el (fancy-splash-image-file): New function,
484 split from fancy-splash-head.
485 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
486 so that we are both using the same image. (Bug#16574)
487
488 2014-01-30 Glenn Morris <rgm@gnu.org>
489
490 * simple.el (eval-expression): Doc fix.
491
492 * hexl.el (hexl-mode-hook):
493 * ielm.el (ielm-mode-hook):
494 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
495 (lisp-interaction-mode-hook):
496 * progmodes/cfengine.e (cfengine3-documentation-function):
497 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
498
499 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
502 is a symbol (bug#16584).
503
504 2014-01-30 Glenn Morris <rgm@gnu.org>
505
506 * help.el (help-for-help-internal): Add "P" to text.
507
508 2014-01-29 Glenn Morris <rgm@gnu.org>
509
510 * simple.el (just-one-space, cycle-spacing): Doc fixes.
511
512 2014-01-28 Martin Rudalics <rudalics@gmx.at>
513
514 * window.el (fit-frame-to-buffer): Fix calculations for margins and
515 height constraints.
516
517 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
518
519 * progmodes/hideif.el: Extend to full CPP expression syntax.
520 (hif-token-alist): Add missing tokens.
521 (hif-token-regexp): Add support for float/octal/hex immediates.
522 (hif-string-literal-regexp): New const.
523 (hif-tokenize): Recognize strings and float/octal/hex immediates.
524 (hif-exprlist): New function.
525 (hif-parse-if-exp): Use it.
526 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
527 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
528 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
529 (hif-logxor, hif-comma): New functions.
530
531 2014-01-28 Glenn Morris <rgm@gnu.org>
532
533 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
534
535 * indent.el (tab-stop-list): Doc fix. Add :version.
536
537 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
538 (cvs-append-to-ignore): Add compatibility alias.
539
540 2014-01-27 Glenn Morris <rgm@gnu.org>
541
542 * dired.el (dired-hide-details-mode): Don't autoload it,
543 since it cannot be used outside Dired buffers anyway.
544
545 * emulation/cua-base.el (cua-mode): Doc fix.
546
547 * dired.el (dired-hide-details-hide-symlink-targets)
548 (dired-hide-details-hide-information-lines)
549 (dired-hide-details-mode): Doc fixes.
550
551 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
552 * strokes.el (strokes-file): Doc fix. Bump :version.
553 (strokes-help): Doc fix.
554 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
555 * emulation/viper.el (viper): Doc fix for custom group.
556 (top-level): Remove oh-so-no-longer-relevant text about vip.
557 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
558
559 * ido.el (ido-save-directory-list-file):
560 * saveplace.el (save-place-file):
561 * calendar/timeclock.el (timeclock-file):
562 * net/quickurl.el (quickurl-url-file):
563 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
564 * progmodes/idlwave.el (idlwave-config-directory):
565 * textmodes/remember.el (remember-data-file):
566 Bump :version.
567
568 2014-01-26 Glenn Morris <rgm@gnu.org>
569
570 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
571 Doc fix. Make obsolete.
572 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
573
574 * sort.el (delete-duplicate-lines): Doc fix.
575
576 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
577
578 * progmodes/ada-mode.el (ada):
579 * woman.el (woman): Link to info manual and Commentary section.
580
581 * progmodes/flymake.el (flymake):
582 * nxml/nxml-mode.el (nxml):
583 * net/eww.el (eww):
584 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
585 * htmlfontify.el (htmlfontify):
586 * ses.el (ses):
587 * epa.el (epa):
588 * ido.el (ido): Link to info manual.
589
590 2014-01-25 Leo Liu <sdl.web@gmail.com>
591
592 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
593
594 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
595
596 * net/shr.el (shr-tag-img): Prefer the title over the alt text
597 (bug#16537).
598
599 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
600
601 * net/eww.el (eww-download-callback):
602 Fix reference to eww-download-directory.
603
604 * emacs-lisp/bytecomp.el (byte-compile-file):
605 Remove unused local variable `file-name'.
606
607 2014-01-24 Glenn Morris <rgm@gnu.org>
608
609 * woman.el (woman-default-faces, woman-monochrome-faces):
610 Fix obsolescence specification.
611
612 * subr.el (with-demoted-errors): Doc fix.
613
614 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
617 (cl--macroexp-fboundp): New function.
618 (cl--make-type-test): Use it.
619
620 2014-01-23 Glenn Morris <rgm@gnu.org>
621
622 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
623 * simple.el (eval-expression): Doc fixes.
624
625 2014-01-22 Glenn Morris <rgm@gnu.org>
626
627 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
628
629 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * emacs-lisp/package.el: Write files silently.
632 (package-autoload-ensure-default-file, package--write-file-no-coding)
633 (package-generate-description-file, package--download-one-archive)
634 (package-install-from-archive): Tell `write-region' to stay quiet.
635 (package-menu-mode, package-menu--print-info): Omit the Archive column
636 if there's only one archive.
637 (package-all-keywords, package--has-keyword-p): Remove dead code.
638
639 2014-01-22 Glenn Morris <rgm@gnu.org>
640
641 * version.el (emacs-bzr-version-bzr): Fix typo.
642
643 * version.el (emacs-repository-get-version):
644 Check either .bzr or .git, but not both.
645 Make the git case actually use the DIR argument, and return nil
646 rather than the empty string.
647 Avoid error if .git exists but the git executable is not found.
648
649 2014-01-22 Martin Rudalics <rudalics@gmx.at>
650
651 Fixes in window size functions around Bug#16430 and Bug#16470.
652 * window.el (window-total-size, window-size): New argument ROUND.
653 (window--min-delta-1, window-min-delta, window--max-delta-1):
654 Be more conservative when calculating the numbers of lines or
655 columns a window can shrink (Bug#16430).
656 (fit-window-to-buffer): Simplify code.
657 * term.el (term-window-width): Call window-body-width again.
658
659 2014-01-22 Glenn Morris <rgm@gnu.org>
660
661 * image.el (image-format-suffixes): Doc fix.
662
663 * international/quail.el (quail-define-package): Doc fix.
664
665 * emacs-lisp/authors.el (authors-valid-file-names):
666 (authors-renamed-files-alist): Additions.
667
668 * vc/vc-git.el (vc-git-print-log): Remove --follow;
669 reverts 2014-01-09 change. (Bug#16422)
670
671 * calc/calc-embed.el (thing-at-point-looking-at):
672 * emacs-lisp/map-ynp.el (x-popup-dialog):
673 * obsolete/lmenu.el (x-popup-dialog):
674 * emacs-lisp/package.el (url-recreate-url):
675 * mail/mailclient.el (clipboard-kill-ring-save):
676 * subr.el (x-popup-dialog): Update declaration.
677 * mail/rmail.el (rmail-mime-message-p):
678 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
679
680 2014-01-21 Daniel Colascione <dancol@dancol.org>
681
682 * progmodes/sh-script.el (sh--inside-noncommand-expression):
683 Correctly detect when we're inside an arithmetic expansion form
684 containing nested parenthesis.
685 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
686 to detect cases where we shouldn't expand "<<" to a heredoc
687 skeleton.
688
689 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
692 (eldoc--message-command-p): New function.
693 (eldoc-display-message-p): Use it.
694 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
695 message is not automatically erased for us.
696 (eldoc-print-current-symbol-info): Erase previous message, if any.
697
698 2014-01-21 Tassilo Horn <tsdh@gnu.org>
699
700 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
701 specify it's an interactive function.
702
703 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
704 Fix regex used for scanning for citation keys which failed for
705 citations with optional arguments.
706
707 2014-01-21 Leo Liu <sdl.web@gmail.com>
708
709 * simple.el (read--expression): Don't enable eldoc-mode.
710
711 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
712
713 * simple.el (move-beginning-of-line): Make sure we don't move forward
714 (bug#16497).
715
716 2014-01-20 Juri Linkov <juri@jurta.org>
717
718 * saveplace.el (toggle-save-place, save-place-to-alist)
719 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
720 'dired-mode) before checking for dired-directory. (Bug#16477)
721
722 2014-01-20 Juri Linkov <juri@jurta.org>
723
724 * indent.el (indent-line-to): Use backward-to-indentation
725 instead of back-to-indentation. (Bug#16461)
726
727 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
728
729 Revert some of the CANNOT_DUMP fix (Bug#16494).
730 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
731 but fixing this can wait until after the next release.
732 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
733
734 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
735
736 * eshell/esh-mode.el (eshell-password-prompt-regexp):
737 Use `password-word-equivalents'.
738 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
739 to t. (Bug#5664, Bug#13124)
740
741 2014-01-19 Alan Mackenzie <acm@muc.de>
742
743 Bind open-paren-in-column-0-is-defun-start to nil at some entry
744 points.
745 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
746 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
747 * progmodes/cc-mode.el (c-before-change, c-after-change)
748 (c-font-lock-fontify-region): Bind it here.
749
750 2014-01-19 Martin Rudalics <rudalics@gmx.at>
751
752 * term.el (term-window-width): Call window-text-width instead of
753 window-width (Bug#16470).
754
755 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
756
757 * simple.el (password-word-equivalents): Remove duplicates.
758 Sort, to make this easier next time.
759 Downcase. Omit ": " after "jelszó".
760
761 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
762
763 * term/common-win.el (saved-region-selection): Defvar it.
764 (x-select-text): Set saved-region-selection (Bug#16382).
765
766 2014-01-18 Glenn Morris <rgm@gnu.org>
767
768 * emacs-lisp/authors.el (authors-aliases)
769 (authors-renamed-files-alist): Add some entries.
770
771 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
772
773 * net/tramp.el (tramp-password-prompt-regexp):
774 Use `password-word-equivalents' if available.
775 (tramp-action-password, tramp-process-one-action)
776 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
777
778 2014-01-17 Chong Yidong <cyd@gnu.org>
779
780 * simple.el (password-word-equivalents): New defcustom.
781 * comint.el (comint-password-prompt-regexp): Use it. Bump version
782 to 24.4.
783 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
784 to t. (Bug#13124)
785
786 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
787
788 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
789 (ruby-align-to-stmt-keywords): Change the default value.
790 Use `ruby-alignable-keywords' to generate the possible customization
791 choices.
792 (ruby-smie-rules): Instead of using a hardcoded list of alignable
793 keywords, check against the value of `ruby-alignable-keywords'
794 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
795
796 2014-01-17 Glenn Morris <rgm@gnu.org>
797
798 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
799
800 Make M-x authors return zero *Authors Errors* from current logs.
801 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
802 (authors-ignored-files): Add some entries, remove others.
803 (authors-ambiguous-files, authors-valid-file-names):
804 Add some entries.
805 (authors-renamed-files-alist): Add, remove, and adjust entries.
806 (authors-renamed-files-regexps): Add some entries.
807 Remove some very broad ones. Make some entries `lax'.
808 (authors-lax-changelogs): New constant.
809 (authors-disambiguate-file-name): Treat top-level specially.
810 (authors-lax-changelog-p): New function.
811 (authors-canonical-file-name): Check file as written against
812 authors-valid-file-names. Do not special-case etc/.
813 Handle `lax' logs and authors-renamed-files-regexps elements.
814
815 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
816
817 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
818 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
819 callers.
820
821 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
824 Assume we're already in the proper buffer.
825 Inspired by Anders Lindgren <andlind@gmail.com>.
826 (follow-post-command-hook): Call it from the right buffer.
827 (follow-comint-scroll-to-bottom): Adjust call.
828 (follow-all-followers): Use get-buffer-window-list.
829
830 2014-01-15 Daniel Colascione <dancol@dancol.org>
831
832 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
833 `buffer-file-name' in interactive-form so that we don't leave
834 pathless file names in `file-name-history'.
835
836 2014-01-15 Juri Linkov <juri@jurta.org>
837
838 * indent.el (indent-rigidly): Set deactivate-mark to nil
839 in transient indentation mode. (Bug#16438)
840
841 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
842
843 * emacs-lisp/package.el (package-desc-keywords): New function
844 (Bug#16222).
845 (describe-package-1, package-all-keywords)
846 (package--has-keyword-p): Use it.
847
848 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
849
850 * simple.el (define-alternatives): When creating the
851 COMMAND-alternatives variable, assign COMMAND as its definition
852 name so that `describe-variable' can relocate it.
853
854 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
855
856 * font-lock.el (font-lock-keywords): Fix typo in docstring
857 (bug#16307).
858
859 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
860
861 * ispell.el (ispell-region): Reset `in-comment' for new line
862 instead of wrongly reset `add-coment' (bug#13577).
863
864 2014-01-14 Daiki Ueno <ueno@gnu.org>
865
866 * epa-file.el (epa-file-write-region): Encode the region according
867 to `buffer-file-format'. Problem reported at:
868 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
869
870 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
873 so it applies in the right buffer (bug#16410).
874
875 2014-01-13 Daniel Colascione <dancol@dancol.org>
876
877 * textmodes/rst.el (rst-define-key): Provide deprecated
878 keybindings through named functions instead of anonymous ones so
879 that "??" doesn't appear in describe-mode output.
880
881 2014-01-13 Bastien Guerry <bzg@gnu.org>
882
883 * simple.el (define-alternatives): Call the selected command
884 interactively. When setting `COMMAND--implementation' for the
885 first time, tell the user how to chose another implementation.
886 Enhance the docstring.
887
888 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
891 (log-edit--match-first-line): New function.
892 (log-edit-font-lock-keywords): Use it.
893 (log-edit-mode): Make jit-lock-defer-multiline work.
894
895 2014-01-13 Bastien Guerry <bzg@gnu.org>
896
897 * rect.el (rectangle-mark-mode): When the region is not active,
898 display a message saying that the mark as been set and that
899 rectangle mode is in use.
900 (rectangle--highlight-for-redisplay): Only put an overlay with a
901 visible vertical bar when (display-graphic-p) is non-nil.
902 This partially fixes Bug#16403.
903
904 2014-01-13 Juri Linkov <juri@jurta.org>
905
906 * info.el (Info-find-file): Go to DIR before displaying the error
907 about a nonexistent file if no previous Info file is visited.
908 Use `user-error' instead of `error' for "Info file %s does not exist".
909 (Info-find-node-2): In case of a nonexistent node in unwind forms
910 go to the Top node if there is no previous node to revert to.
911 (Bug#16405)
912
913 2014-01-13 Martin Rudalics <rudalics@gmx.at>
914
915 fit-frame/window-to-buffer code fixes including one for Bug#14096.
916 * window.el (fit-frame-to-buffer): Fix doc-string.
917 Respect window-min-height/-width. Fit pixelwise when
918 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
919 when avoiding that frame goes partially off-screen.
920 (fit-window-to-buffer): Respect window-min-height/-width
921 (Bug#14096).
922
923 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
924
925 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
926 after an empty line.
927
928 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * net/shr.el (shr-render-region): Autoload.
931
932 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
933
934 * net/eww.el (eww-download-directory): Rename from
935 `eww-download-path' (Bug#16419).
936
937 2014-01-12 Leo Liu <sdl.web@gmail.com>
938
939 * dired-x.el (dired-mode-map): Fix last change.
940
941 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
942
943 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
944
945 Spelling fixes.
946 * emacs-lisp/generic.el (generic--normalize-comments):
947 Rename from generic--normalise-comments. All uses changed.
948 * play/bubbles.el (bubbles--neighborhood-score):
949 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
950 (bubbles--neighborhood-available)
951 (bubbles--update-neighborhood-score):
952 Rename from names with 'neighbourhood'. All uses changed.
953
954 2014-01-12 Leo Liu <sdl.web@gmail.com>
955
956 Re-implement the feature of showing eldoc info after editing.
957 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
958 (eldoc-edit-message-commands): New function.
959 (eldoc-print-after-edit): New variable.
960 (eldoc-pre-command-refresh-echo-area): Emit message only by
961 eldoc-message-commands.
962 (eldoc-mode): Restrict eldoc-message-commands to editing commands
963 if eldoc-print-after-edit is set. (Bug#16346)
964 * simple.el (read--expression): Enable eldoc-mode.
965 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
966
967 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
968 Eric S. Raymond <esr@thyrsus.com>
969
970 * version.el (emacs-repository-get-version): Enhance so the
971 function works correctly in either a Bazaar or Git repo.
972
973 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
974
975 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
976 Goes with removal of the joke manpages from /etc.
977
978 2014-01-10 Kenichi Handa <handa@gnu.org>
979
980 * mail/rmail.el (rmail-get-coding-system):
981 Check rmail-get-coding-function before "funcall"ing it.
982
983 2014-01-10 Glenn Morris <rgm@gnu.org>
984
985 * emacs-lisp/authors.el (authors-fixed-entries):
986 Update for files that no longer exist.
987
988 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
989
990 * version.el (emacs-bzr-get-version): Restore compatibilty with
991 24.3 (Tested).
992
993 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
994
995 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
996 and Podfile.
997
998 2014-01-10 Eli Zaretskii <eliz@gnu.org>
999
1000 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1001
1002 2014-01-10 Chong Yidong <cyd@gnu.org>
1003
1004 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1005
1006 2014-01-10 Anders Lindgren <andlind@gmail.com>
1007
1008 * follow.el (follow-cache-command-list): Include right-char and
1009 left-char.
1010
1011 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1012
1013 Spelling fixes.
1014 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1015 * woman.el (woman-mark-horizontal-position):
1016 Rename from woman-mark-horizonal-position. Use changed.
1017
1018 2014-01-10 Glenn Morris <rgm@gnu.org>
1019
1020 * info.el (info-initialize): If running uninstalled, ensure our
1021 own info files are always found first, even if INFOPATH is set.
1022
1023 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1024
1025 2014-01-09 David Engster <deng@randomsample.de>
1026
1027 * emacs-lisp/eieio-custom.el:
1028 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1029 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1030 * emacs-lisp/eieio.el: Regenerate autoloads.
1031
1032 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1033
1034 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1035 following renames. (Bug#8756)
1036
1037 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1040 (bug#16382).
1041 (activate-mark): Add `no-tmm' argument.
1042 (set-mark, push-mark-command): Use it instead of running
1043 activate-mark-hook by hand.
1044
1045 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1046
1047 In preparation for the move to git, sanitize out some
1048 Bazaar-specific names.
1049
1050 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1051
1052 * version.el (emacs-bzr-version): Name changed to
1053 emacs-repository-version. Obsolete-variable alias made.
1054 * loadup.el: Follow through on this name change.
1055 * mail/emacsbug.el (report-emacs-bug): Factor out any
1056 assumption about the version control system in use.
1057
1058 2014-01-08 David Engster <deng@randomsample.de>
1059
1060 * help-fns.el (help-fns-describe-function-functions):
1061 New variable to call functions for augmenting help buffers.
1062 (describe-function-1): Remove explicit calls to
1063 `help-fns--compiler-macro', `help-fns--parent-mode' and
1064 `help-fns--obsolete'. Put them in above new variable instead, and
1065 call them through `run-hook-with-args'.
1066 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1067 `eieio-describe-class'. Not meant for interactive use anymore,
1068 but to augment existing help buffers. Remove optional second
1069 argument. Create proper button for file location.
1070 Rewrite function to use `insert' instead of `princ' and `prin1' where
1071 possible.
1072 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1073 (eieio-method-def, eieio-class-def): Move further up.
1074 (describe-method, describe-generic, eieio-describe-method):
1075 Remove aliases.
1076 (eieio-help-constructor, eieio-help-generic): Rename from
1077 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1078 Rewrite to use `insert' in the current buffer and use proper help
1079 buttons.
1080 (eieio-help-find-method-definition)
1081 (eieio-help-find-class-definition): Also accept symbols as
1082 arguments.
1083 (eieio-help-mode-augmentation-maybee): Remove.
1084 (eieio-describe-class-sb): Use `describe-function'.
1085 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1086 Add `eieio-help-generic' and `eieio-help-constructor'.
1087
1088 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1089
1090 Spelling fixes.
1091 * language/china-util.el (hz-ascii-designation):
1092 Rename from hz-ascii-designnation.
1093 (hz-ascii-designation): Rename from hz-ascii-designnation.
1094 All uses changed.
1095
1096 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1099 package-alist.
1100
1101 2014-01-08 Bastien Guerry <bzg@gnu.org>
1102
1103 * emacs-lisp/package.el (package-delete):
1104 Correctly delete the package from package-alist.
1105
1106 2014-01-08 Daiki Ueno <ueno@gnu.org>
1107
1108 * emacs-lisp/package.el (url-recreate-url): Declare.
1109 (url-http-target-url): Declare.
1110 (package-handle-response): Include requested URL in the error message.
1111 (package--check-signature): Don't re-signal errors from
1112 package--with-work-buffer. Suggested by Stefan Monnier.
1113
1114 2014-01-07 Bastien Guerry <bzg@gnu.org>
1115
1116 * minibuffer.el (completion--try-word-completion): When both a
1117 hyphen and a space are possible candidates for the character
1118 following a word, display both candidates. (Bug#15980)
1119
1120 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1121
1122 * window.el (balance-windows-2): While rounding don't give a
1123 window more than the remainder. Bug#16351, bug#16383.
1124
1125 2014-01-07 Glenn Morris <rgm@gnu.org>
1126
1127 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1128 (menu-bar-help-menu): Use view-external-packages instead.
1129
1130 2014-01-07 Bastien Guerry <bzg@gnu.org>
1131
1132 * emacs-lisp/package.el (package-delete): Also delete the package
1133 name from `package-alist', not its description only.
1134
1135 2014-01-07 Glenn Morris <rgm@gnu.org>
1136
1137 * help.el (view-external-packages):
1138 * menu-bar.el (menu-bar-help-extra-packages):
1139 Visit efaq.info rather than etc/MORE.STUFF.
1140
1141 2014-01-07 Juri Linkov <juri@jurta.org>
1142
1143 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1144 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1145
1146 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1147 that shadows RET. (Bug#16342)
1148
1149 2014-01-07 Chong Yidong <cyd@gnu.org>
1150
1151 * isearch.el (isearch-yank-char, isearch-yank-word)
1152 (isearch-yank-line): Doc fix.
1153
1154 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1157 * emacs-lisp/elint.el (elint-find-builtins):
1158 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1159 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1160 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1161 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1162 * apropos.el (apropos-safe-documentation):
1163 * subr.el (symbol-file): Remove redundant fboundp.
1164 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1165
1166 2014-01-06 Bastien Guerry <bzg@gnu.org>
1167
1168 * hl-line.el (global-hl-line-overlay): Make a local variable.
1169 (global-hl-line-overlays): New variable to store all overlays.
1170 (global-hl-line-mode): Don't delete overlays from the current
1171 buffer when `global-hl-line-sticky-flag' is non-nil.
1172 (global-hl-line-highlight): Add new overlays to
1173 `global-hl-line-overlays'.
1174 (global-hl-line-unhighlight-all): New function to delete all
1175 overlays when turning off `global-hl-line-mode'.
1176 This fixes Bug#16183.
1177
1178 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * subr.el (set-transient-map): Fix nested case and docstring.
1181
1182 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1183
1184 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1185 `Texinfo' entry.
1186
1187 2014-01-06 Daniel Colascione <dancol@dancol.org>
1188
1189 Fix defun navigation in vc log view.
1190
1191 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1192 like `beginning-of-defun'.
1193 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1194 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1195 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1196 (log-view-extract-comment): Call `log-view-current-entry' directly
1197 instead of relying on broken `log-view-beginning-of-defun' behavior.
1198
1199 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1200
1201 Spelling fixes.
1202 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1203 * emacs-lisp/debug.el (cancel-debug-on-entry):
1204 * epg.el (epg-error-to-string):
1205 * files.el (recover-file):
1206 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1207 * mail/emacsbug.el (report-emacs-bug-hook):
1208 * mail/sendmail.el (mail-recover):
1209 * ses.el (ses-yank-resize):
1210 * term/ns-win.el (ns-print-buffer):
1211 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1212 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1213 All uses changed.
1214 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1215
1216 2014-01-06 Leo Liu <sdl.web@gmail.com>
1217
1218 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1219 to avoid shadowing global key. (Bug#16354)
1220
1221 2014-01-06 Daniel Colascione <dancol@dancol.org>
1222
1223 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1224 rst-mode.
1225
1226 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1227
1228 * window.el (balance-windows): Add mising t to fix Bug#16351.
1229
1230 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1231
1232 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1233 (bug#16285).
1234 (shr-insert): If we have a word that's longer than `shr-width',
1235 break after it anyway. Otherwise we'll do no breaking once we get
1236 such a long word.
1237
1238 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1239
1240 * net/eww.el (eww): Support single/double quote for search.
1241 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1242 (eww-history-quit): Delete and use quit-window.
1243 (eww-history-kill): Delete, because it doesn't work well and
1244 not necessary.
1245 (eww-history-mode-map): Delete some keys and add easy-menu.
1246
1247 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1248
1249 Fix misspelling of 'chinese' in rx (Bug#16237).
1250 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1251 chinese-two-byte.
1252
1253 Change subword regexps back to vars (Bug#16296).
1254 * progmodes/subword.el (subword-forward-regexp)
1255 (subword-backward-regexp): Change these back to variables.
1256
1257 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1260 syntax-begin-function (bug#16247).
1261
1262 2014-01-03 Chong Yidong <cyd@gnu.org>
1263
1264 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1265 (advice--docstring): Delete variable.
1266 (advice--make-1): Leave the docstring empty.
1267 (advice-add): Use function-documentation for advised docstring.
1268
1269 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1270 Ignore function-documentation property when getting documentation.
1271 (ad-activate-advised-definition): Use function-documentation
1272 generate the docstring.
1273 (ad-make-advised-definition): Don't call
1274 ad-make-advised-definition-docstring.
1275 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1276 Delete functions.
1277
1278 * progmodes/sql.el (sql-help): Use function-documentation instead
1279 of dynamic-docstring-function property. No need to autoload now.
1280 (sql--help-docstring): New variable.
1281 (sql--make-help-docstring): Use it.
1282
1283 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * ielm.el (ielm-tab): Retarget.
1286 (ielm-map): Use ielm-tab for tab.
1287 (ielm-complete-filename): Use comint-filename-completion.
1288 (ielm-complete-symbol): Remove.
1289 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1290 remove ielm-tab from completion-at-point-functions (bug#16224).
1291
1292 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1293 Beware signals raised by predicates (bug#16201).
1294
1295 2014-01-02 Richard Stallman <rms@gnu.org>
1296
1297 * dired-aux.el (dired-do-print): Handle printer-name.
1298
1299 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1300 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1301 (rmail-epa-decrypt): Turn off mime processing.
1302
1303 * mail/rmail.el (rmail-make-in-reply-to-field):
1304 Add parens in message-id.
1305
1306 * mail/rmail.el (rmail-get-coding-function): Variable.
1307 (rmail-get-coding-system): Use it.
1308
1309 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1310
1311 * international/mule-conf.el: Unify the charset indian-is13194.
1312 (indian-is13194): Specify unify-map.
1313
1314 2013-12-31 Leo Liu <sdl.web@gmail.com>
1315
1316 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1317
1318 2013-12-30 Daniel Colascione <dancol@dancol.org>
1319
1320 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1321 of printing a useless when we resume from sleep.
1322
1323 * progmodes/sh-script.el
1324 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1325 in indentation code. (Bug#16233)
1326
1327 2013-12-28 João Távora <joaotavora@gmail.com>
1328
1329 * elec-pair.el (electric-pair-post-self-insert-function):
1330 Don't open extra newlines at beginning of buffer. (Bug#16272)
1331
1332 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1333
1334 * frame.el (window-system-for-display): Don't allow to create a
1335 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1336
1337 2013-12-28 Glenn Morris <rgm@gnu.org>
1338
1339 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1340 Update callers.
1341
1342 * apropos.el (apropos-match-face):
1343 * calculator.el (calculator-displayer):
1344 * dabbrev.el (dabbrev-search-these-buffers-only):
1345 * face-remap.el (buffer-face-mode-face):
1346 * simple.el (yank-handled-properties):
1347 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1348 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1349 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1350 (hashcash-double-spend-database):
1351 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1352 (ruby-deep-indent-paren-style):
1353 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1354 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1355 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1356 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1357 Specify custom types.
1358
1359 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1360 * bookmark.el (bookmark-bmenu-use-header-line):
1361 * doc-view.el (doc-view-scale-internally):
1362 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1363 * register.el (register-preview-delay):
1364 * net/shr.el (shr-bullet):
1365 * progmodes/cfengine.el (cfengine-cf-promises)
1366 (cfengine-parameters-indent):
1367 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1368 * textmodes/reftex-vars.el (reftex-label-regexps):
1369 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1370
1371 * net/tls.el (tls-certtool-program): Fix default value.
1372
1373 * desktop.el (desktop-restore-in-current-display):
1374 * newcomment.el (comment-empty-lines):
1375 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1376 (idlwave-pad-keyword):
1377 * progmodes/tcl.el (tcl-tab-always-indent):
1378 * textmodes/reftex-vars.el (reftex-index-default-tag):
1379 * elec-pair.el (electric-pair-skip-whitespace):
1380 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1381
1382 * emacs-lisp/authors.el (authors-ignored-files)
1383 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1384
1385 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1386
1387 * shell.el (shell-dynamic-complete-command): Doc fix.
1388 (shell--command-completion-data): Shell completion now matches
1389 executable filenames from the current buffer's directory, on
1390 systems in which this behavior is the default (windows-nt, ms-dos).
1391
1392 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1393
1394 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1395
1396 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1399 (bug#16251).
1400
1401 * electric.el: Move all electric-pair-* to elec-pair.el.
1402 * elec-pair.el: New file, split from electric.el.
1403
1404 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1405
1406 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1407 indentation level is larger than the width, because that will
1408 infloop.
1409 (shr-insert): Fill repeatedly long texts, so that Japanese is
1410 formatted correctly (bug#16263).
1411 (shr-find-fill-point): Off by one error in comparison with the
1412 indentation.
1413
1414 2013-12-26 João Távora <joaotavora@gmail.com>
1415
1416 * electric.el (electric-pair-mode): More flexible engine for skip-
1417 and inhibit predicates, new options for pairing-related functionality.
1418 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1419 if that keeps or improves their balance in buffers.
1420 (electric-pair-delete-adjacent-pairs): Delete the pair when
1421 backspacing over adjacent matched delimiters.
1422 (electric-pair-open-extra-newline): Open extra newline when
1423 inserting newlines between adjacent matched delimiters.
1424 (electric--sort-post-self-insertion-hook):
1425 Sort post-self-insert-hook according to priority values when
1426 minor-modes are activated.
1427 * simple.el (newline-and-indent): Call newline with interactive
1428 set to t.
1429 (blink-paren-post-self-insert-function): Set priority to 100.
1430 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1431 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1432 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1433 electric-pair-open-newline-between-pairs to nil.
1434
1435 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1436
1437 * progmodes/python.el: Use lexical-binding.
1438 (python-nav-beginning-of-defun): Stop searching ASAP.
1439
1440 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1441
1442 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1443 Fix interactive spec. Doc fix. (Bug#15754)
1444
1445 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1446
1447 * emacs-lisp/byte-run.el (eval-when-compile):
1448 * progmodes/cc-defs.el (cc-eval-when-compile):
1449 Fix edebug spec (bug#16184).
1450
1451 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1452
1453 * net/shr.el (shr-visit-file): Remove debugging function.
1454 (shr-insert): Don't infloop if we can't find a good place to break
1455 the line (bug#16256).
1456
1457 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1458
1459 * progmodes/python.el:
1460 (python-nav--lisp-forward-sexp): New function.
1461 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1462 python-nav-lisp-forward-sexp-safe.
1463 (python-nav--forward-sexp): New argument SAFE allows switching
1464 forward sexp movement behavior for parens.
1465 (python-nav-forward-sexp): Throw errors on unterminated parens
1466 (Bug#16191).
1467 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1468 (python-nav-backward-sexp-safe): New functions.
1469 (python-shell-buffer-substring):
1470 Use `python-nav-forward-sexp-safe'.
1471
1472 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1473
1474 * net/shr.el (shr-find-fill-point): Don't break lines before a
1475 quotation mark.
1476 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1477 (shr-find-fill-point): Remove the special checks for the quotation
1478 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1479
1480 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1481
1482 * net/eww.el (eww-form-textarea): Use a different face for
1483 textareas than text input since they have different keymaps
1484 (bug#16142).
1485
1486 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1487
1488 * progmodes/python.el (python-nav-beginning-of-statement):
1489 Speed up (Bug#15295).
1490
1491 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1492
1493 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1494 the window configuration.
1495
1496 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1497
1498 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1499 we run on MS-Windows or MS-DOS.
1500
1501 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1502
1503 * window.el (balance-windows-area): Call window-size instead of
1504 window-height and window-width. Bug#16241.
1505
1506 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1507
1508 * net/eww.el (eww-bookmark-quit): Remove.
1509 (eww-bookmark-browse): Restore the window configuration when you
1510 choose a bookmark (bug#16144).
1511
1512 2013-12-24 Daniel Colascione <dancol@dancol.org>
1513
1514 * icomplete.el: Remove redundant :group arguments to `defcustom'
1515 throughout.
1516 (icomplete-show-matches-on-no-input): New customizable variable.
1517 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1518 we have something to show.
1519 (icomplete-exhibit): Compute completions even if we have no user input.
1520
1521 2013-12-23 Daniel Colascione <dancol@dancol.org>
1522
1523 * icomplete.el: Move `provide' to end of file.
1524
1525 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1526
1527 * net/gnutls.el (gnutls-verify-error): Add version tag.
1528
1529 2013-12-23 Chong Yidong <cyd@gnu.org>
1530
1531 * subr.el (set-transient-map): Rename from
1532 set-temporary-overlay-map. Doc fix.
1533
1534 * face-remap.el (text-scale-adjust):
1535 * indent.el (indent-rigidly):
1536 * kmacro.el (kmacro-call-macro):
1537 * minibuffer.el (minibuffer-force-complete):
1538 * repeat.el (repeat):
1539 * simple.el (universal-argument--mode):
1540 * calendar/todo-mode.el (todo-insert-item--next-param):
1541 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1542
1543 * indent.el (indent-rigidly): Use substitute-command-keys.
1544
1545 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1546
1547 * net/eww.el (eww-tag-select): Add text-property to jump to next
1548 select field.
1549 (eww): Add non-supported ftp error.
1550
1551 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1554 comments. Handle electric indent after typing `?' and `!'.
1555
1556 2013-12-22 Chong Yidong <cyd@gnu.org>
1557
1558 * faces.el (face-spec-recalc): If the theme specs are not
1559 applicable to a frame, fall back on the defface spec.
1560 This prevents themes from obliterating faces on low-color terminals.
1561
1562 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1563
1564 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1565 after `{'. We need it after block openers, and it doesn't seem
1566 to hurt after hash openers.
1567
1568 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1569
1570 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1571 extracted from `ruby-smie-rules'.
1572 (ruby--electric-indent-chars): New variable.
1573 (ruby--electric-indent-p): New function.
1574 (ruby-mode): Use `electric-indent-functions' instead of
1575 `electric-indent-chars'.
1576
1577 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1580 docstring.
1581 (ruby-smie-rules): Indent plus one level after `=>'.
1582
1583 2013-12-21 Richard Stallman <rms@gnu.org>
1584
1585 * simple.el (newline): Doc fix.
1586
1587 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1588
1589 * net/eww.el (eww-list-histories, eww-list-histories)
1590 (eww-history-browse, eww-history-quit, eww-history-kill)
1591 (eww-history-mode-map, eww-history-mode): New command and
1592 functions to list browser histories.
1593 (eww-form-text): Support text form with disabled
1594 and readonly attributes.
1595 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1596
1597 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1598
1599 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1600 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1601 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1602 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1603 Use `user-error'.
1604 (eww-bookmark-mode-map): Add menu.
1605 (eww-render, eww-mode): Use `setq-local'.
1606 (eww-tool-bar-map): New variable.
1607 (eww-mode): Set `tool-bar-map'.
1608 (eww-view-source): Check for `html-mode' with `fboundp'.
1609
1610 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1611
1612 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1613 elements with text inside. Also remove debugging.
1614
1615 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1616
1617 * cus-start.el (all): Add ns-use-srgb-colorspace.
1618
1619 2013-12-21 Chong Yidong <cyd@gnu.org>
1620
1621 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1622 undefined. Thus, theme settings for undefined faces do not take
1623 effect until the faces are defined with defface, the same as with
1624 theme variables.
1625
1626 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1627 (face-spec-reset-face): Don't assign extra properties in temacs.
1628 (face-spec-recalc): Apply X resources too.
1629
1630 2013-12-21 Chong Yidong <cyd@gnu.org>
1631
1632 * faces.el (face-spec-set):
1633 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1634 * custom.el (defface): Doc fixes (Bug#16203).
1635
1636 * indent.el (indent-rigidly-map): Add docstring, and move commands
1637 into named functions.
1638 (indent-rigidly-left, indent-rigidly-right)
1639 (indent-rigidly-left-to-tab-stop)
1640 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1641 indentation direction based on bidi direction, and accumulate
1642 sequential commands in a single undo boundary.
1643 (indent-rigidly--pop-undo): New utility function.
1644
1645 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1646
1647 * faces.el (read-face-name): Require crm.el when using crm-separator.
1648
1649 2013-12-20 Daniel Colascione <dancol@dancol.org>
1650
1651 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1652 so that we don't reflow comments into the shebang line.
1653
1654 2013-12-20 Juri Linkov <juri@jurta.org>
1655
1656 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1657 a position when `dired-directory' is non-nil. Check integer
1658 positions with `integerp'.
1659 (toggle-save-place, save-places-to-alist): Add check for
1660 `dired-directory'.
1661 (save-place-find-file-hook): Check integer positions with
1662 `integerp'.
1663 (save-place-dired-hook): Use `dired-goto-file' when
1664 `dired-filename' is found in the assoc list. Check integer
1665 positions with `integerp'.
1666 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1667
1668 * dired.el (dired-initial-position-hook): Rename back from
1669 `dired-initial-point-hook'.
1670 (dired-initial-position): Rename `dired-initial-point-hook' to
1671 `dired-initial-position-hook'.
1672 (dired-file-name-at-point): Doc fix. (Bug#15329)
1673
1674 2013-12-20 Juri Linkov <juri@jurta.org>
1675
1676 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1677 (read-regexp-suggestions): New function.
1678 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1679 Use `read-regexp-suggestions'. Add non-empty default to history
1680 for empty input.
1681 (occur-read-regexp-defaults-function): Remove function.
1682 (occur-read-primary-args): Use `regexp-history-last' instead of
1683 `occur-read-regexp-defaults-function'.
1684
1685 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1686 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1687 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1688 `hi-lock-read-regexp-defaults-function'. Doc fix.
1689 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1690 with `find-tag-default-as-symbol-regexp'. Doc fix.
1691 (hi-lock-read-regexp-defaults): Remove function.
1692 (hi-lock-regexp-okay): Add check for null.
1693
1694 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1695 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1696
1697 * subr.el (find-tag-default-as-symbol-regexp): New function.
1698 (find-tag-default-as-regexp): Move symbol regexp formatting to
1699 `find-tag-default-as-symbol-regexp'.
1700
1701 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1702
1703 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1704 (Bug#14179)
1705
1706 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1707
1708 * calendar/todo-mode.el: New implementation of item insertion
1709 commands and key bindings.
1710 (todo-key-prompt): New face.
1711 (todo-insert-item): New command.
1712 (todo-insert-item--parameters): New defconst, replacing defvar
1713 todo-insertion-commands-args-genlist.
1714 (todo-insert-item--param-key-alist): New defconst, replacing
1715 defvar todo-insertion-commands-arg-key-list.
1716 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1717 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1718 (todo-insert-item--next-param): New functions.
1719 (todo-insert-item--args, todo-insert-item--argleft)
1720 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1721 New variables.
1722 (todo-key-bindings-t): Change binding of "i" from
1723 todo-insertion-map to todo-insert-item.
1724 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1725 (todo-insertion-command-name, todo-insertion-commands-names)
1726 (todo-define-insertion-command, todo-insertion-commands)
1727 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1728
1729 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1730
1731 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1732 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1733 eval-when-compile.
1734 (todo-move-category): Allow choosing a non-existing todo file to
1735 move the category to, and create that file.
1736 (todo-default-priority): New user option.
1737 (todo-set-item-priority): Use it.
1738 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1739 (desktop-restore-file-buffer): Declare.
1740 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1741 (todo-modes-set-2): Locally set desktop-save-buffer to
1742 todo-desktop-save-buffer.
1743 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1744 (auto-mode-alist): Add autoload cookie.
1745
1746 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1747
1748 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1749 helpers.el was a poor choice of name.
1750 (string-remove-prefix): New function.
1751 (string-remove-suffix): New function.
1752
1753 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1754
1755 Fix assignment for new window total sizes.
1756 * window.el (window--pixel-to-size): Remove function.
1757 (window--pixel-to-total-1, window--pixel-to-total):
1758 Fix calculation of new total sizes.
1759
1760 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1761
1762 * comint.el (comint-output-filter): Fix rear-nonsticky property
1763 placement (Bug#16010).
1764
1765 2013-12-20 Chong Yidong <cyd@gnu.org>
1766
1767 * faces.el (read-color): Minor fix for completion function.
1768
1769 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1770
1771 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1772 New option. (Bug#16182)
1773 (ruby-smie--indent-to-stmt-p): Use it.
1774 (ruby-smie-rules): Revert the logic in the handling of `when'.
1775 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1776 (ruby-deep-arglist, ruby-deep-indent-paren)
1777 (ruby-deep-indent-paren-style): Update docstrings to note that the
1778 vars don't have any effect with SMIE.
1779
1780 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1781
1782 * calc/calc.el (calc-enter, calc-pop): Use the variable
1783 `calc-context-sensitive-enter'.
1784
1785 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1786
1787 * net/shr.el (shr-insert): Protect against infloops in degenerate
1788 tables.
1789
1790 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1791
1792 * progmodes/octave.el (octave): Add link to manual and octave
1793 homepage.
1794 (octave-mode-menu): Link to octave-mode manual.
1795
1796 2013-12-20 Leo Liu <sdl.web@gmail.com>
1797
1798 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1799 insertion using skeleton-end-newline. (Bug#16138)
1800
1801 2013-12-20 Juri Linkov <juri@jurta.org>
1802
1803 * replace.el (occur-engine): Use `add-face-text-property'
1804 to add the face property to matches and titles. (Bug#14645)
1805
1806 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1807 the palette of other hi-lock colors.
1808 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1809
1810 2013-12-19 Juri Linkov <juri@jurta.org>
1811
1812 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1813 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1814 (minibuffer-history-symbol): Move variable declaration closer to
1815 its usage.
1816
1817 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1818 (Bug#14785)
1819
1820 2013-12-19 Juri Linkov <juri@jurta.org>
1821
1822 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1823 New function.
1824 (log-edit-hook): Add it to :options. (Bug#16170)
1825
1826 2013-12-19 Juri Linkov <juri@jurta.org>
1827
1828 * simple.el (eval-expression-print-format): Don't check for
1829 command names and the last command. Always display additional
1830 formats of the integer result in the echo area, and insert them
1831 to the current buffer only with a zero prefix arg.
1832 Display character when char-displayable-p is non-nil.
1833 (eval-expression): With a zero prefix arg, set `print-length' and
1834 `print-level' to nil, and insert the integer values from
1835 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1836
1837 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1838 `eval-last-sexp-arg-internal'. Doc fix.
1839 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1840 `eval-last-sexp-print-value'. Doc fix.
1841 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1842 Set `print-length' and `print-level' to nil when arg is zero.
1843 (eval-last-sexp): Doc fix.
1844 (eval-defun-2): Print the integer values from
1845 `eval-expression-print-format' at the end.
1846
1847 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1848 values from `eval-expression-print-format' at the end.
1849
1850 * ielm.el (ielm-eval-input): Print the integer
1851 values from `eval-expression-print-format' at the end.
1852
1853 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1854
1855 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1856 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1857
1858 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1861 (hl-line-highlight, global-hl-line-highlight): Use it.
1862 (hl-line-overlay): Use defvar-local.
1863
1864 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1865
1866 * term/ns-win.el: Require dnd.
1867 (global-map): Remove drag items.
1868 (ns-insert-text, ns-set-foreground-at-mouse)
1869 (ns-set-background-at-mouse):
1870 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1871 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1872 New functions.
1873
1874 2013-12-19 Glenn Morris <rgm@gnu.org>
1875
1876 * emacs-lisp/ert.el (ert-select-tests):
1877 Fix string/symbol mixup. (Bug#16121)
1878
1879 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1880
1881 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1882 keywords to their parent.
1883
1884 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1885
1886 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1887 first arg to be a string (fixed dead code), or an operator symbol.
1888 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1889 operator symbols.
1890 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1891 did nothing. Don't respond to `(:after ".")', it will be called
1892 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1893 change anything. Only return indentation for binary operators
1894 when they are hanging. De-dent opening paren when its parent is
1895 `.', otherwise it looks bad when the dot is not at bol or eol
1896 (bug#16182).
1897
1898 2013-12-19 Juri Linkov <juri@jurta.org>
1899
1900 * replace.el (query-replace-read-args): Split a non-negative arg
1901 and a negative arg into separate elements.
1902 (query-replace, query-replace-regexp, replace-string)
1903 (replace-regexp): Add arg `backward'. Doc fix.
1904 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1905 move point to the beginning of the match.
1906 (replace-search, replace-highlight): Use new arg `backward'
1907 to set the value of `isearch-forward'.
1908 (perform-replace): Add arg `backward' and use it to perform
1909 replacement backward. (Bug#14979)
1910
1911 * isearch.el (isearch-query-replace): Use a negative prefix arg
1912 to call `perform-replace' with a non-nil arg `backward'.
1913
1914 2013-12-18 Juri Linkov <juri@jurta.org>
1915
1916 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1917 to the default list. Move `log-edit-show-files' to the end.
1918 Add more available functions to options.
1919 (log-edit): Move default specific settings to
1920 `log-edit-insert-message-template'. Don't move point.
1921 (log-edit-insert-message-template): New function.
1922 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1923 (Bug#16170)
1924
1925 2013-12-18 Juri Linkov <juri@jurta.org>
1926
1927 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1928 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1929
1930 2013-12-18 Leo Liu <sdl.web@gmail.com>
1931
1932 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1933 (Bug#16186)
1934
1935 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1936
1937 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1938 formats for displaying file sizes when the -s switch is given.
1939 Instead, compute a separate format for displaying the size in
1940 blocks, which is displayed in addition to the "regular" size.
1941 When -h is given in addition to -s, produce size in blocks in
1942 human-readable form as well. (Bug#16179)
1943
1944 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1945
1946 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1947 Reference tables with ~\ref{...} instead of only \ref{...}.
1948
1949 2013-12-18 Chong Yidong <cyd@gnu.org>
1950
1951 * cus-edit.el (custom-magic-alist): Fix "themed" description
1952 (Bug#14348).
1953
1954 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1955 is non-nil, do not create a new entry in the symbol's theme-value
1956 or theme-face property; update theme-settings only (Bug#14664).
1957 (custom-available-themes): Doc fix.
1958
1959 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1960 (Bug#15674).
1961
1962 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1963
1964 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1965
1966 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1967 (Bug#13914).
1968
1969 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1970
1971 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1972
1973 2013-12-18 Glenn Morris <rgm@gnu.org>
1974
1975 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1976 * cus-start.el (load-prefer-newer): New option.
1977
1978 2013-12-18 Le Wang <l26wang@gmail.com>
1979
1980 * comint.el (comint-previous-matching-input-from-input):
1981 Retain point (Bug#13404).
1982
1983 2013-12-18 Chong Yidong <cyd@gnu.org>
1984
1985 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1986
1987 2013-12-18 Glenn Morris <rgm@gnu.org>
1988
1989 * mail/emacsbug.el (report-emacs-bug):
1990 Only mention enable-multibyte-characters if non-standard.
1991
1992 2013-12-17 Juri Linkov <juri@jurta.org>
1993
1994 * arc-mode.el (archive-extract-by-file): Check if directory exists
1995 before deletion to not show irrelevant errors if it doesn't exist.
1996
1997 2013-12-17 Juri Linkov <juri@jurta.org>
1998
1999 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2000 (Bug#14751)
2001
2002 * net/eww.el (browse-web): Add alias to `eww'.
2003 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2004 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2005
2006 * net/browse-url.el (browse-url-browser-function): Move `eww'
2007 closer to similar functions.
2008
2009 * startup.el (fancy-startup-screen, fancy-about-screen):
2010 Set browse-url-browser-function to eww-browse-url locally.
2011 (Bug#14751)
2012
2013 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * window.el (window--pixel-to-total): Remove unused `mini' var.
2016 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2017 (split-window): Remove unused `new' var.
2018 (window--display-buffer): Remove unused `frame' and `delta' vars.
2019 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2020 and display-width'.
2021
2022 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2023
2024 * dired.el (dired-mark-pop-up):
2025 * register.el (register-preview): Don't bind
2026 split-height-threshold here since it's now done in
2027 display-buffer-below-selected.
2028
2029 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2030
2031 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2032 xterm-rgb-convert-to-16bit.
2033 (rxvt-register-default-colors): Standardize with
2034 xterm-register-default-colors (Bug#14078).
2035
2036 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2037
2038 * simple.el (kill-region): Pass mark first, then point, so that
2039 kill-append works right (Bug#12819).
2040 (copy-region-as-kill, kill-ring-save): Likewise.
2041
2042 2013-12-17 Leo Liu <sdl.web@gmail.com>
2043
2044 * net/rcirc.el (rcirc-add-face):
2045 * eshell/em-prompt.el (eshell-emit-prompt):
2046 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2047 (Bug#16167)
2048
2049 2013-12-17 Chong Yidong <cyd@gnu.org>
2050
2051 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2052 Suggested by Xue Fuqiao.
2053
2054 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2055
2056 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2057
2058 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * net/shr.el (shr-insert-document): Remove unused var
2061 `shr-preliminary-table-render'.
2062 (shr-rescale-image): Remove unused arg `force'.
2063 (shr-put-image): Update calls accordingly.
2064 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2065
2066 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2067
2068 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2069 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2070 :close-all, to see which indentation method to use (Bug#16116).
2071 (smie-rules-function): Document the method :close-all.
2072
2073 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2074
2075 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2076
2077 * net/eww.el (eww-display-html): If we can't find the anchor we're
2078 looking for, then go to point-min.
2079
2080 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2081
2082 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2083 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2084 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2085 Expand dir too, in case it's relative.
2086
2087 2013-12-16 Juri Linkov <juri@jurta.org>
2088
2089 * desktop.el (desktop-auto-save-timeout): Change default to
2090 `auto-save-timeout'. Doc fix.
2091 (desktop-save): Skip the timestamp in desktop-saved-frameset
2092 when checking for auto-save changes.
2093 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2094 `desktop-auto-save' is called repeatedly by the idle timer.
2095 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2096 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2097 (Bug#15331)
2098
2099 2013-12-16 Juri Linkov <juri@jurta.org>
2100
2101 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2102 (Bug#16035)
2103 (isearch-pre-command-hook): Check `this-command' for symbolp.
2104
2105 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2108
2109 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2110
2111 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2112 (cfengine3--current-function): Bring in the current-function
2113 functionality from `cfengine3--current-word'.
2114 (cfengine3-completion-function): Bring in the
2115 bounds-of-current-word functionality from
2116 `cfengine3--current-word'.
2117
2118 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2119
2120 * window.el (display-buffer-below-selected):
2121 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2122
2123 2013-12-16 Leo Liu <sdl.web@gmail.com>
2124
2125 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2126 Remove NOMSG arg and all uses changed.
2127
2128 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2131 (cua--deactivate-rectangle): Don't deactivate the mark.
2132 (cua-set-rectangle-mark): Don't set mark-active since
2133 cua--activate-rectangle already does it for us.
2134 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2135 non-rectangular region.
2136
2137 * emulation/cua-base.el (cua-repeat-replace-region):
2138 Use with-current-buffer.
2139
2140 * net/gnutls.el: Use cl-lib.
2141 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2142
2143 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2144
2145 * emacs-lisp/package.el (package-built-in-p): Support both
2146 built-in and the package.el converted package descriptions.
2147 (package-show-package-list): Allow keywords.
2148 (package-keyword-button-action): Use it instead of
2149 `finder-list-matches'.
2150 (package-menu-filter-interactive): Interactive filtering (by
2151 keyword) function.
2152 (package-menu--generate): Support keywords and change keymappings
2153 and headers when they are given.
2154 (package--has-keyword-p): Helper function.
2155 (package-menu--refresh): Use it.
2156 (package--mapc): Helper function.
2157 (package-all-keywords): Use it.
2158 (package-menu-mode-map): Set up menu items and keybindings to
2159 provide a filtering UI.
2160
2161 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2162
2163 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2164 the behavior when a certificate fails validation. Defaults to
2165 old behavior: never abort, just warn.
2166 (gnutls-negotiate): Use it.
2167
2168 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2169
2170 * window.el (display-buffer-below-selected): Never split window
2171 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2172
2173 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2174
2175 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2176 (package-buffer-info): Use it (bug#15108).
2177
2178 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * icomplete.el (icomplete-completions): Make sure the prefix is already
2181 displayed elsewhere before hiding it (bug#16219).
2182
2183 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2186 open-paren tokens when preceded by a open-paren, too.
2187 (ruby-smie-rules): Handle virtual indentation after open-paren
2188 tokens specially. If there is code between it and eol, return the
2189 column where is starts (Bug#16118).
2190
2191 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2192
2193 * progmodes/cfengine.el: Fix `add-hook' doc.
2194 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2195 (cfengine3--current-word): Fix parameters.
2196 (cfengine3-make-syntax-cache): Simplify further.
2197 (cfengine3-completion-function, cfengine3--current-function):
2198 Use `assq' for symbols.
2199 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2200
2201 2013-12-13 Glenn Morris <rgm@gnu.org>
2202
2203 * loadup.el (load-path): Warn if site-load or site-init changes it.
2204 No more need to reset it when bootstrapping.
2205
2206 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2207
2208 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2209 locations for cf-promises.
2210 (cfengine-mode-syntax-functions-regex): New caching variable.
2211 (cfengine3-fallback-syntax): Fallback syntax for cases where
2212 cf-promises doesn't run.
2213 (cfengine3--current-word): Reimplement using
2214 `cfengine-mode-syntax-functions-regex'.
2215 (cfengine3-completion-function, cfengine3--current-function):
2216 Use `cfengine3-make-syntax-cache' directly.
2217 (cfengine3-clear-syntax-cache): New function.
2218 (cfengine3-make-syntax-cache): Simplify and create
2219 `cfengine-mode-syntax-functions-regex' on demand.
2220 (cfengine3-format-function-docstring): Don't call
2221 `cfengine3-make-syntax-cache' explicitly.
2222
2223 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2224
2225 Fix windmove-find-other-window broken after pixelwise resizing
2226 (Bug#16017).
2227 * windmove.el (windmove-other-window-loc): Revert change from
2228 2013-12-04.
2229 (windmove-find-other-window): Call window-in-direction.
2230 * window.el (window-in-direction): New arguments SIGN, WRAP and
2231 MINI to emulate original windmove-find-other-window behavior.
2232
2233 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2234
2235 * simple.el (blink-matching--overlay): New variable.
2236 (blink-matching-open): Instead of moving point, highlight the
2237 matching paren with an overlay
2238 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2239
2240 * faces.el (paren-showing-faces, show-paren-match)
2241 (show-paren-mismatch): Move from paren.el.
2242
2243 2013-12-13 Leo Liu <sdl.web@gmail.com>
2244
2245 * indent.el (indent-region): Disable progress reporter in
2246 minibuffer. (Bug#16108)
2247
2248 * bindings.el (visual-order-cursor-movement): Fix version.
2249
2250 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2251
2252 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2253 Also match after beginning of line.
2254 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2255 files. Thanks to Russell Sim. (Bug#15378)
2256
2257 2013-12-13 Juri Linkov <juri@jurta.org>
2258
2259 * simple.el <Keypad support>: Remove key bindings duplicated
2260 with bindings.el. (Bug#14397)
2261
2262 2013-12-13 Juri Linkov <juri@jurta.org>
2263
2264 * comint.el (comint-mode-map): Replace `delete-char' with
2265 `delete-forward-char'. (Bug#16109)
2266
2267 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2268
2269 * progmodes/python.el (python-indent-calculate-indentation):
2270 Fix de-denters cornercase. (Bug#15731)
2271
2272 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2275 (advice--make): Pay attention to `depth'.
2276 (advice--make-1): Don't autoload commands eagerly.
2277 * emacs-lisp/elp.el (elp-instrument-function):
2278 * emacs-lisp/trace.el (trace-function-internal):
2279 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2280
2281 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2282
2283 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2284
2285 * term/w32-win.el (w32-handle-dropped-file):
2286 * startup.el (normal-top-level):
2287 * net/browse-url.el (browse-url-file-url):
2288 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2289 decode file names using 'utf-8' rather than
2290 file-name-coding-system.
2291
2292 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2293
2294 * progmodes/python.el (python-indent-context)
2295 (python-indent-calculate-indentation): Fix auto-identation
2296 behavior for comment blocks. (Bug#15916)
2297
2298 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2299
2300 * progmodes/python.el (python-indent-calculate-indentation):
2301 When determining indentation, don't treat "return", "pass", etc., as
2302 operators when they are just string constituents. (Bug#15812)
2303
2304 2013-12-12 Juri Linkov <juri@jurta.org>
2305
2306 * uniquify.el (uniquify-buffer-name-style): Change default to
2307 `post-forward-angle-brackets'.
2308
2309 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2310 `uniquify'. Change default to `post-forward-angle-brackets'.
2311
2312 2013-12-11 Glenn Morris <rgm@gnu.org>
2313
2314 * emacs-lisp/package.el (finder-list-matches):
2315 Autoload rather than falsely declaring.
2316
2317 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2318
2319 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2320 (eww-mode-map): Use them.
2321
2322 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2323
2324 * window.el (display-buffer-in-side-window): Fix doc-string
2325 (Bug#16115).
2326
2327 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2328
2329 * vc/vc-git.el: Silence byte-compiler warnings.
2330 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2331 (log-edit-set-header): Declare.
2332
2333 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2334
2335 * Makefile.in (custom-deps, finder-data): Run output file names
2336 through unmsys--file-name. (Bug#16099)
2337
2338 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2341 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2342
2343 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2344 instead of deleting the selection "by hand" (bug#16098).
2345 Rely on insert-for-yank to yank rectangles.
2346 (cua-highlight-region-shift-only): Mark obsolete.
2347 (cua-mode): Don't enable/disable transient-mark-mode,
2348 shift-select-mode (cua-mode works both with and without them), and
2349 pc-selection-mode (obsolete).
2350 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2351 (cua--deactivate-rectangle): Deactivate it.
2352
2353 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2354 (delete-selection-helper): Make sure yank starts at the top of the
2355 deleted region.
2356 (minibuffer-keyboard-quit): Use region-active-p.
2357
2358 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2359
2360 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2361 to `delete' (bug#16109).
2362
2363 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2364
2365 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2366 info manual and show keybindings and set `:group' keyword.
2367
2368 2013-12-11 Juri Linkov <juri@jurta.org>
2369
2370 * delsel.el (delete-active-region): Let-bind `this-command'
2371 to prevent `kill-region' from changing its original value.
2372 (delete-selection-helper): Handle `overwrite-mode' for the type
2373 `kill' exactly the same way as for the type `t'.
2374 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2375 Support more commands. (Bug#13312)
2376
2377 2013-12-11 Juri Linkov <juri@jurta.org>
2378
2379 * bindings.el: Map kp keys to non-kp keys systematically
2380 with basic modifiers control, meta and shift. (Bug#14397)
2381
2382 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2383
2384 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2385 "Close browser" menu items. Fix wrong function of "List
2386 bookmarks".
2387
2388 2013-12-11 Juri Linkov <juri@jurta.org>
2389
2390 * misearch.el (multi-isearch-buffers): Set the value of
2391 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2392 arg of isearch-forward to t.
2393 (multi-isearch-buffers-regexp): Set the value of
2394 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2395 arg of isearch-forward-regexp to t.
2396 (multi-isearch-files): Set the value of
2397 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2398 arg of isearch-forward to t.
2399 (multi-isearch-files-regexp): Set the value of
2400 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2401 arg of isearch-forward-regexp to t. (Bug#16035)
2402
2403 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2404 arg of isearch-forward to t.
2405 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2406 arg of isearch-forward-regexp to t.
2407 (dired-isearch-filter-filenames): Remove unnecessary check for
2408 `dired-isearch-filenames'.
2409
2410 * comint.el (comint-history-isearch-backward):
2411 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2412 (comint-history-isearch-backward-regexp):
2413 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2414
2415 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2416
2417 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2418 unmsys--file-name. (Bug#16099)
2419
2420 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2421
2422 * emacs-lisp/package.el (package-keyword-button-action):
2423 Remove finder.el require dependency.
2424
2425 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2426
2427 * emacs-lisp/package.el: Require finder.el.
2428 (describe-package-1): Add keyword buttons.
2429 (package-make-button): New convenience function.
2430 (package-keyword-button-action): Keyword button action using
2431 `finder-list-matches'.
2432
2433 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2434
2435 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2436 last commit.
2437
2438 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2439
2440 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2441 symlinked files.
2442
2443 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2446 after the end of a percent literal.
2447
2448 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2449
2450 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2451 Handle caret-delimited strings (Bug#16079).
2452
2453 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2454
2455 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2456 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2457 `ruby-parse-partial' (Bug#16078).
2458
2459 2013-12-09 Leo Liu <sdl.web@gmail.com>
2460
2461 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2462
2463 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2464
2465 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2466 (js-switch-indent-offset): New option.
2467 (js--proper-indentation): Use it. And handle the case when
2468 "default" is actually a key in an object literal.
2469 (js--same-line): New function.
2470 (js--multi-line-declaration-indentation): Use it.
2471 (js--indent-in-array-comp, js--array-comp-indentation):
2472 New functions.
2473 (js--proper-indentation): Use them, to handle array comprehension
2474 continuations.
2475
2476 2013-12-08 Leo Liu <sdl.web@gmail.com>
2477
2478 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2479 (flymake-make-overlay): Remove arg MOUSE-FACE.
2480 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2481
2482 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2485 New function.
2486 (redisplay-highlight-region-function): Use it.
2487
2488 * emulation/cua-base.el (cua--explicit-region-start)
2489 (cua--last-region-shifted): Remove.
2490 (cua--deactivate): Use deactivate-mark.
2491 (cua--pre-command-handler-1): Don't handle shift-selection.
2492 (cua--post-command-handler-1): Don't change transient-mark-mode.
2493 (cua--select-keymaps): Use region-active-p rather than
2494 cua--explicit-region-start or cua--last-region-shifted.
2495 (cua-mode): Enable shift-select-mode.
2496
2497 2013-12-08 Leo Liu <sdl.web@gmail.com>
2498
2499 * progmodes/flymake.el (flymake-popup-current-error-menu):
2500 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2501 (flymake-posn-at-point-as-event, flymake-popup-menu)
2502 (flymake-make-emacs-menu): Remove. (Bug#16077)
2503
2504 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * rect.el (rectangle-mark-mode): Activate mark even if
2507 transient-mark-mode is off (bug#16066).
2508 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2509 is > mark and at bolp.
2510
2511 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2512 (region-extract-function): Use it.
2513 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2514 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2515 Delete functions.
2516 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2517 kill-ring-save, kill-region, delete-char, delete-forward-char.
2518 Ignore self-insert-iso.
2519
2520 * emulation/cua-gmrk.el (cua--init-global-mark):
2521 Ignore `self-insert-iso'.
2522
2523 * emulation/cua-base.el (cua--prefix-copy-handler)
2524 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2525 checking cua--rectangle.
2526 (cua-delete-region): Use region-extract-function.
2527 (cua-replace-region): Delete function.
2528 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2529 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2530 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2531 (cua--init-keymaps): Don't remap delete-selection commands.
2532 (cua-mode): Use delete-selection-mode instead of rolling our own
2533 (bug#16085).
2534
2535 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2536 Obey region-extract-function.
2537
2538 Make registers and delete-selection-mode work on rectangles.
2539 * register.el (describe-register-1): Don't modify the register's value.
2540 (copy-to-register): Obey region-extract-function.
2541 * delsel.el (delete-active-region): Obey region-extract-function.
2542
2543 2013-12-08 Leo Liu <sdl.web@gmail.com>
2544
2545 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2546 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2547 (flymake-compilation-prevents-syntax-check)
2548 (flymake-start-syntax-check-on-newline)
2549 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2550 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2551 (flymake-xml-program, flymake-master-file-dirs)
2552 (flymake-master-file-count-limit)
2553 (flymake-allowed-file-name-masks): Relocate.
2554 (flymake-makehash, flymake-float-time)
2555 (flymake-replace-regexp-in-string, flymake-split-string)
2556 (flymake-get-temp-dir): Remove.
2557 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2558 (flymake-current-row, flymake-selected-frame)
2559 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2560 related functions. (Bug#16077)
2561
2562 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2563
2564 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2565
2566 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2567
2568 * help-fns.el (describe-function-1): Use new advice-* functions
2569 rather than old ad-* functions. Fix function type description and
2570 source links for advised functions and subrs.
2571
2572 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2573
2574 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2575
2576 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2577
2578 * progmodes/compile.el (compilation-start):
2579 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2580
2581 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2582 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2583
2584 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2585
2586 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2587 Touch up the last change.
2588
2589 2013-12-06 Leo Liu <sdl.web@gmail.com>
2590
2591 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2592 (inferior-octave-startup): Always use "octave> " for prompt.
2593 (octave-goto-function-definition)
2594 (octave-sync-function-file-names)
2595 (octave-find-definition-default-filename): Remove redundant backquotes.
2596
2597 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2598
2599 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2600 syntax for `?'.
2601 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2602 where appropriate already.
2603 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2604 end of method names (Bug#15874).
2605
2606 2013-12-06 Juri Linkov <juri@jurta.org>
2607
2608 * isearch.el (isearch--saved-overriding-local-map):
2609 New internal variable.
2610 (isearch-mode): Set it to the initial value of
2611 `overriding-terminal-local-map'.
2612 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2613 with `isearch--saved-overriding-local-map'. (Bug#16035)
2614
2615 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2616
2617 * progmodes/octave.el (inferior-octave-completion-table):
2618 Turn back into function, use `completion-table-with-cache'
2619 (Bug#11906). Update all references.
2620
2621 * minibuffer.el (completion-table-with-cache): New function.
2622
2623 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2624
2625 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2626
2627 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2628
2629 * net/eww.el (eww-current-source): New variable to store page
2630 source.
2631 (eww-display-html, eww-mode, eww-save-history)
2632 (eww-restore-history): Use it.
2633 (eww-view-source): New command to view page source.
2634 Opportunistically uses `html-mode' to highlight the buffer.
2635 (eww-mode-map): Install it.
2636
2637 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2638
2639 * net/dbus.el (dbus-unregister-service)
2640 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2641 Fix docstring.
2642 (dbus-unregister-service): Skip :serial entries in
2643 `dbus-registered-objects-table'.
2644 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2645
2646 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2647
2648 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2649 around keywords with extra `split-string' argument.
2650
2651 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2652
2653 * windmove.el (windmove-other-window-loc): Handle navigation
2654 between windows (excluding the minibuffer window - Bug#16017).
2655
2656 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2657
2658 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2659 in D-Bus type syntax.
2660 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2661 preserve unibyte strings. (Bug#16048)
2662
2663 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2666 Call force-mode-line-update is the proper buffer (bug#16042).
2667
2668 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2669
2670 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2671 `log-edit-remember-comment', make argument optional. Adjust all
2672 callers.
2673 (log-edit-mode): Add `log-edit-remember-comment' to
2674 `kill-buffer-hook' locally.
2675 (log-edit-kill-buffer): Don't remember comment explicitly since
2676 the buffer is killed anyway.
2677
2678 2013-12-04 Juri Linkov <juri@jurta.org>
2679
2680 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2681 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2682
2683 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2684
2685 * notifications.el (notifications-close-notification): Call the
2686 D-Bus method with ID being a `:uint32'. (Bug#16030)
2687
2688 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2689
2690 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2691
2692 2013-12-03 Juri Linkov <juri@jurta.org>
2693
2694 * progmodes/compile.el (compilation-start): Rename window alist
2695 entry `no-display-ok' to `allow-no-window'.
2696
2697 * simple.el (shell-command): Add window alist entry
2698 `allow-no-window' to `display-buffer'.
2699 (async-shell-command): Doc fix.
2700
2701 * window.el (display-buffer-no-window): New action function.
2702 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2703
2704 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2705
2706 * vc/log-edit.el (log-edit-set-header): Extract from
2707 `log-edit-toggle-header'.
2708 (log-edit-extract-headers): Separate the summary, when extracted
2709 from header, from the rest of the message with an empty line.
2710
2711 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2712 line, if present, to the Summary header.
2713
2714 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2717 in current-buffer (bug#16029).
2718
2719 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2720
2721 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2722 (debugger-mode-map): Bind it.
2723 (debugger--backtrace-base): New function.
2724 (debugger-eval-expression): Use it.
2725 (debugger-frame-number): Skip local vars when present.
2726 (debugger--locals-visible-p, debugger--insert-locals)
2727 (debugger--show-locals, debugger--hide-locals): New functions.
2728
2729 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2730
2731 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2732 "LC_ALL".
2733 (tramp-get-remote-locale): New defun.
2734 (tramp-open-connection-setup-interactive-shell): Use it.
2735
2736 2013-12-02 Leo Liu <sdl.web@gmail.com>
2737
2738 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2739
2740 * progmodes/sh-script.el (sh-shell-process):
2741 * progmodes/octave.el (inferior-octave-process-live-p):
2742 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2743 (gdb-inferior-io-sentinel):
2744 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2745
2746 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2747
2748 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2749 `save-selected-window' to `log-edit-hide-buf'. This makes
2750 `log-edit-show-files' idempotent.
2751 (log-edit-show-files): Mark the new window as dedicated.
2752
2753 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2754
2755 * vc/log-edit.el (log-edit-mode-map): Add binding for
2756 `log-edit-kill-biffer'.
2757 (log-edit-hide-buf): Add a FIXME comment.
2758 (log-edit-add-new-comment): New function, extracted from
2759 `log-edit-done'.
2760 (log-edit-done, log-edit-add-to-changelog): Use it.
2761 (log-edit-kill-buffer): New command.
2762
2763 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2764
2765 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2766 instead of killing the buffer.
2767
2768 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2771
2772 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2773
2774 * net/eww.el (eww-form-checkbox-selected-symbol)
2775 (eww-form-checkbox-symbol): New customizable variable.
2776 (eww-form-checkbox, eww-toggle-checkbox):
2777 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2778
2779 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2780 (shr--get-media-pref, shr--extract-best-source): New function.
2781 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2782 no :src tag was specified.
2783
2784 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2785 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2786 Use \\` to match beginning of string instead of ^.
2787 (eww-browse-with-external-browser): Provide optional URL parameter.
2788 (eww-render): Set `eww-current-title' back to "".
2789
2790 * net/shr.el (shr-tag-video): Display content for video if no
2791 poster is available.
2792 (shr-tag-audio): Add support for <audio> tag.
2793
2794 * net/eww.el (eww-text-input-types): New const.
2795 (eww-process-text-input): Treat input types in
2796 `eww-text-input-types' as text.
2797
2798 * net/shr.el (shr-tag-table): Fix comment typo.
2799
2800 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2801
2802 * net/eww.el (eww-follow-link): New command to avoid reloading
2803 pages when we follow #target links (bug#15243).
2804 (eww-quit): Special mode buffers shouldn't query before exiting.
2805
2806 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2807
2808 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2809 forms.
2810
2811 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2812
2813 * net/eww.el (eww-restore-history): Update the window title after
2814 moving in the history.
2815 (eww-current-dom): New variable used to save the current DOM.
2816
2817 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2818
2819 * vc/log-edit.el (log-edit-mode-map): Add binding for
2820 `log-edit-beginning-of-line'.
2821 (log-edit-setup-add-author): New user option.
2822 (log-edit-beginning-of-line): New command.
2823 (log-edit): Move major mode call above the contents setup so that
2824 the local variable values are already applied.
2825 (log-edit): Only insert "Author: " when
2826 `log-edit-setup-add-author' is non-nil.
2827 (log-edit): When SETUP is non-nil, position point after ": "
2828 instead of point-min.
2829
2830 2013-12-01 Glenn Morris <rgm@gnu.org>
2831
2832 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2833
2834 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2835
2836 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2837 redisplay to make sure the initial frame gets a chance to become
2838 visible. (Bug#16014)
2839
2840 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2841
2842 Support resizing frames and windows pixelwise.
2843 * cus-start.el (frame-resize-pixelwise)
2844 (window-resize-pixelwise): New entries.
2845 * emacs-lisp/debug.el (debug): Use window-total-height instead
2846 of window-total-size.
2847 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2848 * help.el (describe-bindings-internal): Call help-buffer
2849 (temp-buffer-max-width): New option.
2850 (resize-temp-buffer-window, help-window-setup)
2851 (with-help-window): Rewrite.
2852 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2853 dragging dividers.
2854 * window.el (frame-char-size, window-min-pixel-height)
2855 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2856 (window-min-pixel-width, window-safe-min-pixel-size)
2857 (window-combination-p, window-safe-min-size)
2858 (window-resizable-p, window--size-to-pixel)
2859 (window--pixel-to-size, window--resize-apply-p): New functions.
2860 (window-safe-min-height): Fix doc-string.
2861 (window-size, window-min-size, window--min-size-1)
2862 (window-sizable, window-sizable-p, window--min-delta-1)
2863 (window-min-delta, window--max-delta-1, window-max-delta)
2864 (window--resizable, window--resizable-p, window-resizable)
2865 (window-full-height-p, window-full-width-p, window-at-side-p)
2866 (window--in-direction-2, window-in-direction)
2867 (window--resize-reset-1, window--resize-mini-window)
2868 (window-resize, window-resize-no-error)
2869 (window--resize-child-windows-normal)
2870 (window--resize-child-windows, window--resize-siblings)
2871 (window--resize-this-window, window--resize-root-window)
2872 (window--resize-root-window-vertically)
2873 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2874 (maximize-window, minimize-window, delete-window)
2875 (quit-restore-window, window-split-min-size, split-window)
2876 (balance-windows-2, balance-windows)
2877 (balance-windows-area-adjust, balance-windows-area)
2878 (window--state-get-1, window-state-get, window--state-put-1)
2879 (window--state-put-2, window-state-put)
2880 (display-buffer-record-window, window--display-buffer):
2881 Make functions handle pixelwise sizing of windows.
2882 (display-buffer--action-function-custom-type)
2883 (display-buffer-fallback-action):
2884 Add display-buffer-in-previous-window.
2885 (display-buffer-use-some-window): Resize window to height it had
2886 before.
2887 (fit-window-to-buffer-horizontally): New option.
2888 (fit-frame-to-buffer): Describe new values.
2889 (fit-frame-to-buffer-bottom-margin): Replace with
2890 fit-frame-to-buffer-margins.
2891 (window--sanitize-margin): New function.
2892 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2893 using window-text-pixel-size.
2894
2895 2013-11-30 Glenn Morris <rgm@gnu.org>
2896
2897 * emacs-lisp/bytecomp.el (byte-compile-form):
2898 Make the `interactive-only' warning like the `obsolete' one.
2899 * comint.el (comint-run):
2900 * files.el (insert-file-literally, insert-file):
2901 * replace.el (replace-string, replace-regexp):
2902 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2903 (goto-line, insert-buffer, next-line, previous-line):
2904 Tweak `interactive-only' spec.
2905
2906 Stop keeping (most) generated cedet grammar files in the repository.
2907 * Makefile.in (semantic): New.
2908 (compile-main): Depend on semantic.
2909
2910 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2913 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2914
2915 * uniquify.el (uniquify-buffer-name-style): Change default.
2916
2917 * loadup.el: Preload "uniquify".
2918
2919 * time.el (display-time-update): Update all mode lines (bug#15999).
2920
2921 * electric.el (electric-indent-mode): Enable by default.
2922 * loadup.el: Preload "electric".
2923
2924 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2925
2926 * emacs-lisp/helpers.el (string-empty-p): New function.
2927 (string-blank-p): New function.
2928
2929 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2930
2931 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2932 (Bug#14029).
2933
2934 2013-11-29 Andreas Politz <politza@fh-trier.de>
2935 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2936 allow non-lambda lists as functions.
2937 (imenu--in-alist): Don't recurse into non-subalists.
2938 (imenu): Don't pass function itself as an argument (Bug#14029).
2939
2940 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * progmodes/python.el (python-mode-map): Remove binding for ":".
2943 (python-indent-electric-colon): Remove command.
2944 (python-indent-post-self-insert-function): Integrate the previous code
2945 of python-indent-electric-colon. Make it conditional on
2946 electric-indent-mode.
2947 (python-mode): Add ?: to electric-indent-chars.
2948 Move python-indent-post-self-insert-function to the end of
2949 post-self-insert-hook.
2950
2951 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * doc-view.el (doc-view-goto-page): Update mode-line.
2954
2955 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2956
2957 2013-11-27 Glenn Morris <rgm@gnu.org>
2958
2959 * international/charprop.el, international/uni-bidi.el:
2960 * international/uni-category.el, international/uni-combining.el:
2961 * international/uni-comment.el, international/uni-decimal.el:
2962 * international/uni-decomposition.el, international/uni-digit.el:
2963 * international/uni-lowercase.el, international/uni-mirrored.el:
2964 * international/uni-name.el, international/uni-numeric.el:
2965 * international/uni-old-name.el, international/uni-titlecase.el:
2966 * international/uni-uppercase.el:
2967 Remove generated files from VCS repository.
2968
2969 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2970
2971 * filenotify.el (file-notify-add-watch): Don't special-case
2972 w32notify when computing the directory to watch.
2973
2974 2013-11-27 Glenn Morris <rgm@gnu.org>
2975
2976 Make bootstrap without generated uni-*.el files possible again.
2977 * loadup.el: Update command-line-args checking for unidata-gen.
2978 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2979 * composite.el, international/characters.el:
2980 Handle unicode tables being undefined.
2981
2982 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2983 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2984 (compile-main): Depend on leim rule.
2985 (leim): New rule.
2986 * loadup.el: Move leim-list.el to leim/ subdirectory.
2987 * startup.el (normal-top-level): No more leim directory.
2988 * international/ja-dic-cnv.el (skkdic-convert):
2989 Disable version-control and autoloads in output files.
2990 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2991 Disable version-control and autoloads in output files.
2992 * leim/quail: Move here from ../leim.
2993 * leim/quail/hangul.el (hangul-input-method-activate):
2994 Add autoload cookie.
2995 (generated-autoload-load-name): Set file-local value.
2996 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2997 (generated-autoload-load-name): Set file-local value.
2998
2999 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3000
3001 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3002 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3003 (eww-quit): Ask confirmation before quitting eww.
3004
3005 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3006
3007 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3008 reading output from Diff on MS-Windows and MS-DOS.
3009
3010 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3011
3012 * emacs-lisp/helpers.el (string-reverse): New function.
3013
3014 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3017 names on MS Windows, like "/[::1]:".
3018
3019 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3020 SWITCHES.
3021
3022 2013-11-26 Glenn Morris <rgm@gnu.org>
3023
3024 * progmodes/python.el (python-indent-guess-indent-offset):
3025 Avoid corner-case error. (Bug#15975)
3026
3027 Preload leim-list.el. (Bug#4789)
3028 * loadup.el: Load leim-list.el when found.
3029 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3030
3031 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3032
3033 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3034
3035 * emacs-lisp/helpers.el (string-join): New function.
3036
3037 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3038
3039 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3040 Mark as obsolete and replace it with a symbol property.
3041 (byte-compile-form): Use new 'interactive-only property.
3042 * comint.el, files.el, replace.el, simple.el:
3043 Apply new 'interactive-only properly.
3044
3045 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3046
3047 * window.el (display-buffer-at-bottom): Make sure that
3048 split-window-sensibly creates the new window on bottom
3049 (Bug#15961).
3050
3051 2013-11-23 David Kastrup <dak@gnu.org>
3052
3053 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3054 on the conflict markers when available.
3055 (smerge--get-marker): New function.
3056 (smerge-end-re, smerge-base-re): Add subgroup.
3057
3058 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * frame.el (handle-focus-in, handle-focus-out): Add missing
3061 interactive spec.
3062
3063 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3066 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3067
3068 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3071 (gomoku--last-pos): New var.
3072 (gomoku--intangible-chars): New const.
3073 (gomoku--intangible): New function.
3074 (gomoku-mode): Use it. Derive from special-mode.
3075 (gomoku-move-up): Adjust line count.
3076 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3077 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3078 Simplify accordingly.
3079
3080 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3081 Remove blink-cursor code.
3082 (blink-cursor-timer-function, blink-cursor-suspend):
3083 Don't special-case GUIs.
3084 (blink-cursor-mode): Use focus-in/out-hook.
3085
3086 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3087
3088 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3089 work when annotation is invisible (Bug#13886).
3090
3091 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3092
3093 * json.el (json-alist-p): Only return non-nil if the alist has
3094 simple keys (Bug#13518).
3095
3096 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3097
3098 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3099 when control-statement is the first statement in a buffer (Bug#15956).
3100
3101 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3102
3103 * imenu.el (imenu-generic-skip-comments-and-strings):
3104 New option (Bug#15560).
3105 (imenu--generic-function): Use it.
3106
3107 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3108
3109 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3110 (Bug#13898)
3111
3112 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3113
3114 * emacs-lisp/helpers.el: Add some string helpers.
3115 (string-trim-left): Removes leading whitespace.
3116 (string-trim-right): Removes trailing whitespace.
3117 (string-trim): Removes leading and trailing whitespace.
3118
3119 * subr.el (string-suffix-p): New function.
3120
3121 2013-11-23 Glenn Morris <rgm@gnu.org>
3122
3123 * progmodes/python.el (python-shell-send-file):
3124 Add option to delete file when done. (Bug#15647)
3125 (python-shell-send-string, python-shell-send-region): Use it.
3126
3127 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3128
3129 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3130 to set buffer-read-only to t, never to nil. (Bug#15938)
3131
3132 * textmodes/tex-mode.el (latex-noindent-environments):
3133 Add safe-local-variable property. (Bug#15936)
3134
3135 2013-11-23 Glenn Morris <rgm@gnu.org>
3136
3137 * textmodes/enriched.el (enriched-mode): Doc fix.
3138 * emacs-lisp/authors.el (authors-renamed-files-alist):
3139 Add enriched.doc -> enriched.txt.
3140
3141 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3142
3143 2013-11-22 Leo Liu <sdl.web@gmail.com>
3144
3145 * progmodes/octave.el (inferior-octave-startup): Spit out error
3146 message.
3147
3148 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3149
3150 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3151 Improve docstring.
3152 Add :version.
3153 (ruby-encoding-magic-comment-style): Add :version.
3154
3155 2013-11-22 Leo Liu <sdl.web@gmail.com>
3156
3157 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3158 (Bug#15076)
3159 (octave-help-mode): Adapt to change to help-mode-finish to use
3160 derived-mode-p on 2013-09-17.
3161 (inferior-octave-prompt): Also match octave-gui.
3162 (octave-kill-process): Don't ask twice. (Bug#10564)
3163
3164 2013-11-22 Leo Liu <sdl.web@gmail.com>
3165
3166 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3167 (inferior-octave-startup, inferior-octave-check-process)
3168 (inferior-octave-track-window-width-change)
3169 (octave-completion-at-point, octave-eldoc-function): Use it.
3170 (octave-kill-process): Provide confirmation. (Bug#10564)
3171
3172 2013-11-21 Leo Liu <sdl.web@gmail.com>
3173
3174 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3175 Fix obsolete variable comment-use-global-state.
3176
3177 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3178
3179 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3180 Add `octave-source-file'.
3181 (octave-source-file): New function. (Bug#15935)
3182
3183 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3184
3185 * net/eww.el (eww-local-regex): New variable.
3186 (eww): Use it to detect localhost and similar.
3187
3188 2013-11-21 Leo Liu <sdl.web@gmail.com>
3189
3190 Add completion for command `ag'.
3191 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3192 (pcomplete/ag): New function.
3193 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3194
3195 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3198 (bug#14646).
3199 (make-obsolete): Remove interactive spec.
3200
3201 2013-11-21 Glenn Morris <rgm@gnu.org>
3202
3203 * startup.el (command-line-1): Use path-separator with -L.
3204
3205 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3206
3207 * emacs-lisp/package.el (describe-package-1): Add package archive
3208 to shown fields.
3209
3210 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3211
3212 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3213 Change default to "# encoding: %s" to differentiate it from the
3214 default Ruby encoding comment template.
3215
3216 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3217
3218 * ses.el (ses-mode): Doc fix. (Bug#14748)
3219
3220 2013-11-20 Leo Liu <sdl.web@gmail.com>
3221
3222 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3223
3224 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3225
3226 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3227 when rebase or bisect are in progress.
3228
3229 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3230
3231 * filenotify.el (file-notify-add-watch): Doc fix.
3232
3233 2013-11-19 Leo Liu <sdl.web@gmail.com>
3234
3235 * obsolete/rcompile.el: Mark obsolete.
3236
3237 * progmodes/compile.el (compilation-start)
3238 (compilation-goto-locus, compilation-find-file):
3239 Pass no-display-ok and handle nil value from display-buffer.
3240 (Bug#13594)
3241
3242 * window.el (display-buffer-alist, display-buffer): Document the
3243 new parameter no-display-ok. Return either a window or nil
3244 but never a non-window value.
3245
3246 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * electric.el (electric-indent-mode-map): Remove.
3249 (electric-indent-mode): Change the global-map instead (bug#15915).
3250
3251 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3252 Use add-function.
3253
3254 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * emacs-lisp/nadvice.el (remove-function): Align with
3257 add-function's behavior.
3258
3259 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3260 (gdb--string-regexp): New constant.
3261 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3262 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3263 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3264 submatch 1.
3265 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3266 Adjust use accordingly.
3267 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3268
3269 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3270
3271 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3272 interpolation curlies (Bug#15914).
3273
3274 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3275
3276 * calc/calc.el (calc-context-sensitive-enter): New variable.
3277 (calc-enter): Use `calc-context-sensitive-enter'.
3278
3279 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3280
3281 * progmodes/cfengine.el: Version bump.
3282 (cfengine-cf-promises): New defcustom to locate cf-promises.
3283 (cfengine3-vartypes): Add new "data" type.
3284 (cfengine3--current-word): New function to get current name-like
3285 word or its bounds.
3286 (cfengine3--current-function): New function to look up a CFEngine
3287 function's definition.
3288 (cfengine3-format-function-docstring): New function.
3289 (cfengine3-make-syntax-cache): New function.
3290 (cfengine3-documentation-function): New function: ElDoc glue.
3291 (cfengine3-completion-function): New function: completion glue.
3292 (cfengine3-mode): Set `compile-command',
3293 `eldoc-documentation-function', and add to
3294 `completion-at-point-functions'.
3295
3296 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3297
3298 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3299 `tramp-current-connection'.
3300
3301 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3302
3303 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3304 nil/self/true/false with "end of symbol".
3305
3306 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3307
3308 * subr.el (version-regexp-alist): Fix a typo.
3309
3310 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3311
3312 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3313 "en_US.utf8" and "LC_CTYPE" to "".
3314 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3315 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3316
3317 2013-11-15 Leo Liu <sdl.web@gmail.com>
3318
3319 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3320
3321 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * progmodes/gud.el (ctl-x-map):
3324 Remove C-x SPC binding. (Bug#12342)
3325 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3326
3327 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3328
3329 * subr.el (version-regexp-alist):
3330 Recognize hg, svn and darcs versions as snapshot versions.
3331
3332 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3333 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3334 (ruby--encoding-comment-required-p): Extract from
3335 `ruby-mode-set-encoding'.
3336 (ruby-mode-set-encoding): Add the ability to always insert an
3337 utf-8 encoding comment. Fix and simplify coding comment update
3338 logic.
3339
3340 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * net/tramp-gvfs.el (top): Run init code only when
3343 `tramp-gvfs-enabled' is not nil.
3344 (tramp-gvfs-enabled): Check also :system bus.
3345
3346 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 Sync with upstream verilog-mode revision 78e66ba.
3349 * progmodes/verilog-mode.el (verilog-end-of-defun)
3350 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3351 (verilog-get-end-of-defun): Remove unused argument.
3352 (verilog-comment-depth): Remove unused local `e'.
3353 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3354 Don't pass arg to verilog-get-end-of-defun.
3355
3356 2013-11-14 Glenn Morris <rgm@gnu.org>
3357
3358 * obsolete/assoc.el (aget): Prefix dynamic variable.
3359
3360 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3361
3362 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * widget.el, hfy-cmap.el: Remove bogus package version number.
3365
3366 2013-11-13 Glenn Morris <rgm@gnu.org>
3367
3368 * replace.el (replace-eval-replacement):
3369 Try to give more helpful error message. (Bug#15836)
3370
3371 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3372 (archive-7z-update): Avoid custom type mismatches.
3373
3374 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3375
3376 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3377
3378 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3379 address can be empty.
3380
3381 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3382 Accept nil SWITCHES.
3383 (tramp-gvfs-handle-write-region): Implement APPEND.
3384
3385 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3386
3387 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3388 binary "|" operator and closing block args delimiter.
3389 Remove FIXME comment referring to Ruby 1.8-only syntax.
3390 (ruby-smie--implicit-semi-p): Not after "|" operator.
3391 (ruby-smie--closing-pipe-p): New function.
3392 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3393 (ruby-smie-rules): Indent after "|".
3394
3395 2013-11-12 Glenn Morris <rgm@gnu.org>
3396
3397 * ps-print.el (ps-face-attribute-list):
3398 Handle anonymous faces. (Bug#15827)
3399
3400 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3401
3402 * window.el (display-buffer-other-frame): Fix doc-string.
3403 (Bug#15868)
3404
3405 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3408
3409 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3410
3411 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3412 (tramp-sh-handle-file-local-copy): Don't write a message when
3413 saving temporary files.
3414
3415 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3416 both directories are remote.
3417 (tramp-smb-handle-directory-files): Do not return double entries.
3418 Do not expand full file names.
3419 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3420 (tramp-smb-handle-write-region): Implement APPEND.
3421 (tramp-smb-get-stat-capability): Fix a stupid bug.
3422
3423 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3426
3427 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3428
3429 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3430 throwing error over malformed let/let* (bug#15814).
3431
3432 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * iswitchb.el (iswitchb-mode): Mark obsolete.
3435
3436 2013-11-11 Glenn Morris <rgm@gnu.org>
3437
3438 * international/uni-bidi.el, international/uni-category.el:
3439 * international/uni-name.el, international/uni-numeric.el:
3440 Regenerate for Unicode 6.3.0.
3441
3442 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3443
3444 * net/tramp.el (tramp-methods):
3445 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3446 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3447
3448 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3449
3450 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3451 Force highlighting text after Summary keyword in doc face for rpm.
3452
3453 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3454
3455 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3456 available and the word has no wildcards, append one to the grep pattern.
3457 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3458 (ispell-complete-word): Call `ispell-lookup-words' with the value
3459 independent of `ispell-look-p'.
3460
3461 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3462
3463 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3464 Not after "||".
3465 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3466 their parent.
3467
3468 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3471 (ruby-font-lock-keywords): Use backquote.
3472
3473 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3474
3475 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3476 (ruby-smie--backward-token): Only consider full-string matches.
3477
3478 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3479
3480 * faces.el (describe-face): Add distant-foreground.
3481
3482 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3483
3484 * progmodes/ruby-mode.el: Improve encoding comment handling.
3485 (ruby-encoding-magic-comment-style): New option.
3486 (ruby-custom-encoding-magic-comment-template): New option.
3487 (ruby--insert-coding-comment, ruby--detect-encoding):
3488 New functions extracted from `ruby-mode-set-encoding'.
3489 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3490 to control the style of the auto-inserted encoding comment.
3491
3492 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3493
3494 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3495 Use `smie-backward-sexp' with token argument.
3496
3497 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3498
3499 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3500 Remove instrumentation code.
3501
3502 2013-11-08 Glenn Morris <rgm@gnu.org>
3503
3504 * progmodes/autoconf.el (autoconf-mode):
3505 Tweak comment-start-skip. (Bug#15822)
3506
3507 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3510 at bobp (bug#15826).
3511 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3512
3513 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3514
3515 * man.el (Man-start-calling): New macro, extracted from
3516 Man-getpage-in-background.
3517 (Man-getpage-in-background): Use it.
3518 (Man-update-manpage): New command.
3519 (Man-mode-map): Bind it.
3520
3521 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3522
3523 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3524 of "and", "or", "&&" and "||".
3525 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3526 argument. Prohibit opening curly brace because it could only be a
3527 block opener in that position.
3528 (ruby-smie--forward-token, ruby-smie--backward-token):
3529 Separate "|" from "&" or "*" going after it. That can happen in block
3530 arguments.
3531 (ruby-smie--indent-to-stmt): New function, seeks the end of
3532 previous statement or beginning of buffer.
3533 (ruby-smie-rules): Use it.
3534 (ruby-smie-rules): Check if there's a ":" before a curly block
3535 opener candidate; if there is, it's a hash.
3536
3537 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3540 (cl--block-wrapper): Fix last accidental change.
3541
3542 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3543
3544 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3545 Instrument, in order to hunt failure on hydra.
3546
3547 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3548
3549 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3550 malformed bindings form (bug#15814).
3551
3552 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3553
3554 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3555 "." compared to " @ ". This incidentally fixes some indentation
3556 examples with "do".
3557 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3558 (ruby-smie-grammar): New tokens: "and" and "or".
3559 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3560 Exclude "and" and "or". Remove "do" in order to work around token
3561 priorities.
3562 (ruby-smie-rules): Add all infix tokens. Handle the case of
3563 beginning-of-buffer.
3564
3565 2013-11-06 Glenn Morris <rgm@gnu.org>
3566
3567 * Makefile.in (setwins_almost, setwins_for_subdirs):
3568 Avoid accidental matches.
3569
3570 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3571
3572 * menu-bar.el (popup-menu): Use key-binding.
3573
3574 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3575
3576 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3577 menus, support also the menus produced by minor modes.
3578 (Bug#15817)
3579
3580 2013-11-06 Leo Liu <sdl.web@gmail.com>
3581
3582 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3583 DISTANCE to bound the search. All uses changed. (Bug#15808)
3584
3585 2013-11-06 Glenn Morris <rgm@gnu.org>
3586
3587 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3588 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3589 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3590
3591 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * electric.el (electric-indent-just-newline): New command.
3594 (electric-indent-mode-map): New keymap.
3595 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3596 Re-add :group which weren't redundant.
3597
3598 * electric.el (electric-indent-local-mode): New minor mode.
3599 (electric-indent-functions-without-reindent): New var.
3600 (electric-indent-post-self-insert-function): Use it.
3601 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3602
3603 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3604
3605 * international/quail.el (quail-help): Be more explicit about the
3606 meaning of the labels shown on the keys. (Bug#15800)
3607
3608 * startup.el (normal-top-level): Load the subdirs.el files before
3609 setting the locale environment. (Bug#15805)
3610
3611 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3614 via arguments so as to get the right ones (bug#15418).
3615
3616 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3617
3618 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3619
3620 Fix problems found while writing a test suite.
3621
3622 * net/tramp-compat.el (tramp-compat-load): New defun.
3623 * net/tramp.el (tramp-handle-load): Use it.
3624
3625 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3626 "(numberp ok-if-already-exists)" correctly.
3627
3628 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3629
3630 * international/characters.el (glyphless-char-display-control):
3631 Add usage note.
3632
3633 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3634
3635 * progmodes/python.el (python-mode):
3636 * progmodes/scheme.el (scheme-mode):
3637 * progmodes/prolog.el (prolog-mode):
3638 * progmodes/ruby-mode.el (ruby-mode):
3639 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3640 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3641
3642 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * rect.el (rectangle--highlight-for-redisplay):
3645 * emacs-lisp/smie.el (smie--next-indent-change):
3646 Use buffer-chars-modified-tick.
3647
3648 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3649
3650 * electric.el (electric-indent-post-self-insert-function):
3651 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3652
3653 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3654
3655 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3656
3657 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3658
3659 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3660 (bug#15786).
3661
3662 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3663
3664 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3665
3666 * progmodes/python.el: Fix up last change.
3667 (python-shell--save-temp-file): New function.
3668 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3669 `string' comes from the current buffer.
3670 (python-shell-send-string-no-output): Remove `msg' arg.
3671 (python--use-fake-loc): New var.
3672 (python-shell-buffer-substring): Obey it. Try to compensate for the
3673 extra coding line added by python-shell--save-temp-file.
3674 (python-shell-send-region): Use python-shell--save-temp-file and
3675 python-shell-send-file directly. Add `nomain' argument.
3676 (python-shell-send-buffer): Use python-shell-send-region.
3677 (python-electric-pair-string-delimiter): New function.
3678 (python-mode): Use it.
3679
3680 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3681
3682 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3683 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3684 environment and decoding all of the default-directory's to here
3685 from command-line.
3686 (command-line): Decode also argv[0].
3687
3688 * loadup.el: Error out if default-directory is a multibyte string
3689 when we are dumping.
3690
3691 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3692
3693 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3694
3695 * emacs-lisp/package.el (package-menu-mode)
3696 (package-menu--print-info, package-menu--archive-predicate):
3697 Add Archive column to package list.
3698
3699 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3700
3701 Fix problems found while writing a test suite.
3702
3703 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3704 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3705 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3706 to nil when running original file name handler. Otherwise,
3707 there are problems with constructs like "$$FOO".
3708
3709 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3710 for `localname'.
3711
3712 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3713
3714 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3715
3716 * subr.el (version<, version<=, version=):
3717 Update docstrings with information for snapshot versions.
3718
3719 * helpers.el: New library for misc helper functions.
3720 (hash-table-keys): New function returning a list of hash keys.
3721 (hash-table-values): New function returning a list of hash values.
3722
3723 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3724
3725 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3726 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3727
3728 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3729
3730 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3731 checking whether point is after a 1-letter word.
3732
3733 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3734
3735 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3736 Don't infloop when expanding region over `multiline' syntax-type that
3737 begins a line (bug#15778).
3738
3739 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3742 Make it into a proper minor mode.
3743 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3744 (rectangle-mark-mode-map): New keymap.
3745 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3746
3747 2013-11-04 Glenn Morris <rgm@gnu.org>
3748
3749 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3750
3751 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3752
3753 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3754 (ruby-smie-rules): Use smie-rule-parent instead.
3755
3756 * emacs-lisp/smie.el (smie-rule-parent): Always call
3757 smie-indent-virtual rather than only for hanging tokens.
3758 (smie--next-indent-change): New helper command.
3759
3760 2013-11-03 Glenn Morris <rgm@gnu.org>
3761
3762 * Makefile.in (abs_srcdir): Remove.
3763 (emacs): Unset EMACSLOADPATH.
3764
3765 2013-11-02 Glenn Morris <rgm@gnu.org>
3766
3767 * Makefile.in (EMACS): Use a relative filename.
3768 (abs_top_builddir): Remove.
3769 (custom-deps, finder-data, autoloads): Use --chdir.
3770
3771 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3772
3773 Use relative filenames in TAGS files.
3774 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3775 (lisptagsfiles4, TAGS): Use relative file names.
3776 (TAGS-LISP): Remove.
3777 (maintainer-clean): No more TAGS-LISP file.
3778
3779 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3780 (lisptagsfiles4): Use absolute filenames again.
3781 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3782 Remove all *loaddefs files, not just the first. Remove esh-groups.
3783 (maintainer-clean): Delete TAGS, TAGS-LISP.
3784
3785 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3786
3787 * emacs-lisp/package.el (package-version-join):
3788 Recognize snapshot versions.
3789
3790 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3791
3792 * subr.el (version-regexp-alist): Add support for snapshot versions.
3793
3794 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3795
3796 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3797 New function, replacement for `smie-rule-parent' for when we want to
3798 skip over our direct parent if it's an assignment token..
3799 (ruby-smie-rules): Use it.
3800
3801 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3802
3803 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3804 unconditionally. Remove now unnecessary forward declarations.
3805 Remove XEmacs-specific setup.
3806 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3807 (ruby-font-lock-syntactic-keywords)
3808 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3809 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3810 (ruby-here-doc-end-syntax): Remove.
3811 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3812 defined as function.
3813
3814 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3815
3816 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3817
3818 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3819
3820 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3821 table and abbrev table, `define-derived-mode' does that for us
3822 anyway.
3823
3824 2013-11-01 Glenn Morris <rgm@gnu.org>
3825
3826 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3827 files is atomic for some time, so no parallel compilation issues).
3828
3829 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3830
3831 * faces.el (face-x-resources): Add :distant-foreground.
3832 (region): Use :distant-foreground for gtk and ns.
3833
3834 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3835
3836 Allow multiple bibliographies when BibLaTeX is used rather than
3837 BibTeX.
3838 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3839 (reftex-locate-bibliography-files): Us it.
3840
3841 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3842
3843 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3844 allow comments in pbm files.
3845
3846 * term/w32-win.el (dynamic-library-alist): Support newer versions
3847 of libjpeg starting with v7: look only for the DLL from the
3848 version against which Emacs was built.
3849 Support versions of libpng beyond 1.4.x.
3850 Support libtiff v4.x.
3851
3852 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3853
3854 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3855 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3856 Add property :safe.
3857 (ruby-deep-arglist): Add property :type.
3858
3859 2013-10-31 Glenn Morris <rgm@gnu.org>
3860
3861 * Makefile.in (custom-deps, finder-data): No need to setq the target
3862 variables, we are in the right directory and the defaults work fine.
3863
3864 2013-10-30 Glenn Morris <rgm@gnu.org>
3865
3866 * Makefile.in (autoloads): Do not use abs_lisp.
3867
3868 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3869 `newline' does not respect `standard-output', so use `princ'.
3870
3871 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3872
3873 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3874 * buff-menu.el (Buffer-menu--unmark): New function.
3875 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3876
3877 2013-10-30 Glenn Morris <rgm@gnu.org>
3878
3879 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3880
3881 * emacs-lisp/package.el (lm-homepage): Declare.
3882
3883 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3884 Fix doc typos.
3885
3886 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3887
3888 * Makefile.in (finder-data, autoloads, update-subdirs)
3889 (compile-main, compile-clean, compile-always, bootstrap-clean):
3890 Check return value of cd.
3891 (compile-calc): Remove.
3892
3893 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3896
3897 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3898 (byte-compile-and-folded): New function.
3899 (=, <, >, <=, >=): Use it.
3900
3901 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3902 (path-separator, null-device, buffer-file-coding-system)
3903 (lpr-headers-switches): Check system-type before modifying them.
3904 (find-buffer-file-type-coding-system): Mark obsolete.
3905 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3906 find-file-not-found-set-buffer-file-coding-system.
3907 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3908 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3909 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3910 (w32-direct-print-region-helper, w32-direct-print-region-function)
3911 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3912 * startup.el (normal-top-level-add-subdirs-to-load-path):
3913 * ps-print.el (ps-print-region-function):
3914 * lpr.el (print-region-function): Use new name.
3915
3916 * subr.el (custom-declare-variable-early): Remove function.
3917 (custom-declare-variable-list): Remove var.
3918 (error, user-error): Remove `while' loop.
3919 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3920 (user-emacs-directory-warning, locate-user-emacs-file):
3921 Move to files.el.
3922 * simple.el (read-quoted-char-radix, read-quoted-char):
3923 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3924 Move from subr.el.
3925 * custom.el (custom-declare-variable-list): Don't process
3926 custom-declare-variable-list.
3927
3928 * progmodes/python.el (python-shell-get-buffer): New function.
3929 (python-shell-get-process): Use it.
3930 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3931 Python which encoding was used. Don't split-string since we only care
3932 about the first line. Return the temp-file, if applicable.
3933 (python-shell-send-region): Tell compile.el how to turn locations in
3934 the temp-file into locations in the source buffer.
3935
3936 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * subr.el (undefined): Add missing behavior from the C code for
3939 unbound keys.
3940
3941 * rect.el: Use lexical-binding. Add new rectangular region support.
3942 (rectangle-mark): New command.
3943 (rectangle--region): New var.
3944 (deactivate-mark-hook): Reset rectangle--region.
3945 (rectangle--extract-region, rectangle--insert-for-yank)
3946 (rectangle--highlight-for-redisplay)
3947 (rectangle--unhighlight-for-redisplay): New functions.
3948 (region-extract-function, redisplay-unhighlight-region-function)
3949 (redisplay-highlight-region-function): Use them to handle
3950 rectangular region.
3951 * simple.el (region-extract-function): New var.
3952 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3953 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3954 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3955 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3956 (redisplay-unhighlight-region-function)
3957 (redisplay-highlight-region-function): New vars.
3958 (redisplay--update-region-highlight): New function.
3959 (pre-redisplay-function): Use it.
3960 (exchange-point-and-mark): Don't deactivate the mark before
3961 reactivate-it anyway.
3962 * comint.el (comint-kill-region): Remove yank-handler argument.
3963 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3964 (delete-char): Remove property, since it's now part of their
3965 default behavior.
3966 (self-insert-iso): Remove property since this command doesn't exist.
3967
3968 * emacs-lisp/package.el (package--download-one-archive)
3969 (describe-package-1): Don't query the user about final newline.
3970
3971 2013-10-29 Daniel Colascione <dancol@dancol.org>
3972
3973 * net/tramp.el (tramp-methods): Document new functionality.
3974 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3975 tramp-hostname-checker if method provides one instead of scanning
3976 argument list for "%h" to decide hostname acceptability.
3977
3978 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3979
3980 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3981 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3982 Handle COPY-CONTENTS. (Bug#15737)
3983
3984 2013-10-28 Daiki Ueno <ueno@gnu.org>
3985
3986 * epa-file.el
3987 (epa-file-cache-passphrase-for-symmetric-encryption):
3988 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3989
3990 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3991
3992 * image.el (defimage):
3993 (image-load-path): Doc fixes.
3994
3995 2013-10-27 Alan Mackenzie <acm@muc.de>
3996
3997 Indent statements in macros following "##" correctly.
3998 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3999 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4000
4001 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4002
4003 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4004
4005 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4006
4007 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4008 after `=' is probably a new expression.
4009
4010 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4011
4012 * man.el (man-imenu-title): New option.
4013 (Man-mode-map): Add menu. (Bug#15722)
4014 (Man-mode): Add imenu to menu.
4015
4016 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4017
4018 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4019 specific in what the first arg can be: a non-keyword word,
4020 string/regexp/percent literal opener, opening paren, or unary
4021 operator followed directly by word.
4022
4023 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4026 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4027 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4028 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4029 Remove vars, they do not apply any more.
4030 (prolog-mode-abbrev-table): Remove redundant declaration.
4031 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4032 (prolog-use-smie): Remove.
4033 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4034 supported by prolog-electric-if-then-else-flag.
4035 (prolog-mode-variables, prolog-menu): Use setq-local.
4036 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4037 Remove binding to `Backspace' since this key doesn't exist anyway.
4038 Remove bindings for electric self-inserting keys.
4039 (prog-mode): Assume it's defined.
4040 (prolog-post-self-insert): New function.
4041 (prolog-mode): Use it.
4042 (prolog-indent-line, prolog-indent-level)
4043 (prolog-find-indent-of-matching-paren)
4044 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4045 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4046 (prolog-goto-next-paren, prolog-in-string-or-comment)
4047 (prolog-tokenize, prolog-inside-mline-comment)
4048 (prolog-find-start-of-mline-comment): Remove functions.
4049 (prolog-find-unmatched-paren, prolog-clause-end)
4050 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4051 (prolog-electric--if-then-else): Rename from
4052 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4053 (prolog-tokenize-searchkey): Remove const.
4054 (prolog-clause-info): Use forward-sexp.
4055 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4056 (prolog-electric-if-then-else): Remove commands.
4057 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4058 for use in post-self-insert-hook.
4059 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4060 for use in post-self-insert-hook.
4061 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4062 for use in post-self-insert-hook.
4063 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4064 adapt it for use in post-self-insert-hook.
4065
4066 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4067
4068 * emacs-lisp/ert.el (ert-run-tests-interactively):
4069 Use `completing-read'. (Bug#9756)
4070
4071 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4072
4073 * simple.el (line-move): Call line-move-1 instead of
4074 line-move-visual when the current window hscroll is zero, but
4075 temporary-goal-column indicates we will need to hscroll as result
4076 of the movement. (Bug#15712)
4077
4078 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4079
4080 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4081 capitalization. Use :visible instead of :active.
4082 Fix `ruby-indent-exp' reference. Add menu items for the generic
4083 commands that are used with SMIE.
4084 (ruby-do-end-to-brace): Insert space after `{'.
4085
4086 2013-10-25 John Anthony <john@jo.hnanthony.com>
4087
4088 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4089
4090 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4091
4092 2013-10-25 Glenn Morris <rgm@gnu.org>
4093
4094 * vc/vc.el (vc-print-log): Don't use a working revision unless
4095 one was explicitly specified. (Bug#15322)
4096
4097 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * subr.el (add-to-list): Preserve return value in compiler-macro
4100 (bug#15692).
4101
4102 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4103
4104 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4105 result. Ask user to retry using '-all' flag. (Bug#15701)
4106
4107 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * emacs-lisp/smie.el: New smie-config system.
4110 (smie-config): New defcustom.
4111 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4112 (smie-config-guess, smie-config-save): New commands.
4113 (smie-config--mode-local, smie-config--buffer-local)
4114 (smie-config--trace, smie-config--modefuns): New vars.
4115 (smie-config--advice, smie-config--mode-hook)
4116 (smie-config--setter, smie-config-local, smie-config--get-trace)
4117 (smie-config--guess-value, smie-config--guess): New functions.
4118 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4119 text properties. Treat "string fence" syntax like string syntax.
4120
4121 * progmodes/sh-script.el (sh-use-smie): Change default.
4122 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4123 (sh-var-value): Simplify by CSE.
4124 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4125 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4126 is used.
4127 (sh-guess-basic-offset): Use cl-incf.
4128 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4129
4130 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4131
4132 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4133 (bug#15699).
4134
4135 2013-10-24 Glenn Morris <rgm@gnu.org>
4136
4137 * Makefile.in (abs_top_srcdir): Remove.
4138 (update-subdirs): Use relative path to update-subdirs.
4139
4140 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4141
4142 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4143 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4144 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4145 Call unmsys--file-name before expand-file-name, not after it.
4146
4147 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4148
4149 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4150 (ert-test-skipped): New error.
4151 (ert-skip, ert-stats-skipped): New defuns.
4152 (ert--skip-unless): New macro.
4153 (ert-test-skipped): New struct.
4154 (ert--run-test-debugger, ert-test-result-type-p)
4155 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4156 (ert--stats-set-test-and-result, ert-char-for-test-result)
4157 (ert-string-for-test-result, ert-run-tests-batch)
4158 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4159 Handle skipped tests. (Bug#9803)
4160
4161 2013-10-24 Glenn Morris <rgm@gnu.org>
4162
4163 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4164
4165 * Makefile.in (abs_top_srcdir): New, set by configure.
4166 (update-subdirs): Correct build-aux location.
4167
4168 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4169
4170 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4171 value, whether we could auto-deduce `backend', or not.
4172
4173 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4174 with parameters" example. Simplify the "is it block or is it
4175 hash" check, but also make it more thorough.
4176
4177 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4178
4179 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4180
4181 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4184 { if it is hanging.
4185
4186 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4187 :before ";".
4188
4189 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4190
4191 * progmodes/compile.el (compilation-directory-matcher)
4192 (compilation-page-delimiter):
4193 Support GNU Make-4.0 directory quoting. (Bug#15678)
4194
4195 2013-10-23 Leo Liu <sdl.web@gmail.com>
4196
4197 * ido.el (ido-tidy): Handle read-only text.
4198
4199 2013-10-23 Glenn Morris <rgm@gnu.org>
4200
4201 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4202 (emacs, compile, compile-always):
4203 Quote entities that might contain whitespace.
4204 (custom-deps, finder-data, autoloads): Use abs_lisp.
4205 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4206 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4207 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4208
4209 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4210
4211 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4212 Use `following-char'.
4213
4214 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4217 * progmodes/ruby-mode.el (ruby-smie-rules):
4218 Remove corresponding workaround. Fix indentation rule of ";" so it
4219 also applies when ";" is the parent.
4220
4221 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4222
4223 * frame.el (display-screens, display-pixel-height)
4224 (display-pixel-width, display-mm-width, display-backing-store)
4225 (display-save-under, display-planes, display-color-cells)
4226 (display-visual-class, display-monitor-attributes-list):
4227 Mention the optional ‘display’ argument in doc strings.
4228
4229 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4230
4231 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4232 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4233
4234 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4235
4236 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4237 TODO. Add "." after " @ ".
4238 (ruby-smie--at-dot-call): New function. Checks if point at method
4239 call with explicit target.
4240 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4241 to the method name tokens when it precedes them.
4242 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4243 (ruby-smie-rules): Add rule for indentation before and after "."
4244 token.
4245
4246 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * textmodes/remember.el (remember-diary-extract-entries):
4249 Avoid add-to-list.
4250
4251 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4252 an instruction.
4253
4254 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4255
4256 * progmodes/ruby-mode.el (ruby-smie-grammar):
4257 Add (almost) all infix operators.
4258 (ruby-smie--implicit-semi-p): Add new operator chars.
4259
4260 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4261 `smie-down-list'.
4262 (ruby-smie--args-separator-p): Check that there's no newline
4263 between method call and its arguments.
4264
4265 2013-10-20 Alan Mackenzie <acm@muc.de>
4266
4267 Allow comma separated lists after Java "implements".
4268
4269 * progmodes/cc-engine.el (c-backward-over-enum-header):
4270 Parse commas.
4271 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4272 from a "disallowed" list in enum fontification.
4273
4274 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4275
4276 * startup.el (default-frame-background-mode): Remove unused defvar.
4277
4278 * progmodes/verilog-mode.el (verilog-mode): Don't set
4279 comment-indent-function globally.
4280
4281 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4282
4283 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4284 Move Info menu item creation to ns-win.el.
4285
4286 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4287 in menu bar.
4288
4289 * menu-bar.el: Move GNUstep specific menus...
4290
4291 * term/ns-win.el (ns-initialize-window-system): ... to here.
4292
4293 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * simple.el (newline): Only run post-self-insert-hook when
4296 called interactively.
4297
4298 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4299
4300 * icomplete.el (icomplete-with-completion-tables): Add :version.
4301
4302 2013-10-19 Alan Mackenzie <acm@muc.de>
4303
4304 Fix fontification bugs with constructors and const.
4305
4306 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4307 CASE 2) Remove the check for the absence of a suffix construct
4308 after a function declaration with only types (no identifiers) in
4309 the parentheses. Also, accept a function declaration with just a
4310 type inside the parentheses, if this type can be positively
4311 recognised as such, or if a prefix keyword like "explicit" nails
4312 down the construct as a declaration.
4313
4314 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4315
4316 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4317 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4318 the problem whereby selecting a menu item that leads to a
4319 minibuffer prompt moves the cursor out of the minibuffer window,
4320 making it hard to type at the prompt. Suggested by Stefan Monnier
4321 <monnier@iro.umontreal.ca>.
4322
4323 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4324
4325 * menu-bar.el: Don't make Services menu.
4326
4327 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4328
4329 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4330 (ffap-alist): Use ffap-c++-mode for c++-mode.
4331 (ffap-c++-path): New variable.
4332 (ffap-c++-mode): New function.
4333
4334 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4335
4336 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4337
4338 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4339
4340 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4341 introduced on 2013-09-08, which results in an infinite loop
4342 requesting a password.
4343
4344 2013-10-18 Glenn Morris <rgm@gnu.org>
4345
4346 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4347
4348 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4349
4350 Sync with upstream verilog-mode revision 1a6ecec7.
4351 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4352 (verilog-mode-release-date): Remove.
4353 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4354 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4355 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4356 (verilog-auto-tieoff-ignore-regexp)
4357 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4358 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4359 (verilog-signals-with, verilog-dir-cache-preserving)
4360 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4361 Doc fixes.
4362 (verilog-case-fold): New option, to control case folding in
4363 regexp searches, bug597.
4364 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4365 (verilog-string-match-fold, verilog-in-paren-count)
4366 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4367 (verilog-at-close-struct-p): New functions.
4368 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4369 (verilog-forward-sexp, verilog-set-auto-endcomments):
4370 (verilog-leap-to-case-head): Handle "unique0" case.
4371 (verilog-in-constraint-re): New constant.
4372 (verilog-keywords, verilog-type-font-keywords):
4373 Add some SystemVerilog 1800-2012 keywords.
4374 (verilog-label-be): Remove unimplemented argument, bug669.
4375 (verilog-batch-execute-func): When batch expanding clear
4376 create-lockfiles to prevent spurious user locks when a file ends
4377 up not changing.
4378 (verilog-calculate-indent, verilog-calc-1)
4379 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4380 (verilog-do-indent): Fix indentation of nested constraints
4381 and structures.
4382 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4383 (verilog-auto-inst-param): Use verilog-string-match-fold.
4384 (verilog-read-inst-module-matcher):
4385 Fix AUTOINST on gate primitives with #1.
4386 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4387 Reads all user-defined typed variables.
4388 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4389 (verilog-signals-matching-regexp)
4390 (verilog-signals-not-matching-regexp, verilog-auto):
4391 Respect verilog-case-fold.
4392 (verilog-diff-report): Fix line count.
4393 (verilog-auto-assign-modport): Remove unused local `modi'.
4394 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4395 better handle multidimensional arrays.
4396 Fix packed array ports misadding bit index in AUTOINST, bug637.
4397 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4398 to not double-declare existing outputs and inputs, respectively.
4399 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4400 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4401 (verilog-sk-uvm-component): New skeleton.
4402 (verilog-submit-bug-report): Add verilog-case-fold,
4403 remove verilog-mode-release-date.
4404
4405 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4406
4407 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4408 as before.
4409
4410 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4411
4412 * textmodes/remember.el (remember): Set buffer-offer-save in
4413 remember buffers (bug#13566).
4414
4415 2013-10-18 Daniel Colascione <dancol@dancol.org>
4416
4417 When evaluating forms in ielm, direct standard output to ielm
4418 buffer. Add new ielm-return-for-effect command. Remove trailing
4419 whitespace throughout.
4420
4421 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4422 (ielm-return-for-effect): New command.
4423 (ielm-send-input): Accept optional `for-effect' parameter.
4424 (ielm-eval-input): Accept optional `for-effect' parameter.
4425 Bind `standard-output' to stream we create using
4426 `ielm-standard-output-impl'. Suppress printing result when
4427 `for-effect'.
4428 (ielm-standard-output-impl): New function.
4429 (inferior-emacs-lisp-mode): Explain new features in documentation.
4430
4431 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4432
4433 Code cleanup.
4434
4435 * net/tramp.el (tramp-debug-message): Do not check for connection
4436 buffer.
4437 (tramp-message): Use "vector" connection property.
4438
4439 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4440 (tramp-equal-remote, tramp-eshell-directory-change)
4441 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4442 (tramp-adb-handle-rename-file)
4443 * net/tramp-cmds.el (tramp-list-remote-buffers)
4444 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4445 * net/tramp-compat.el (tramp-compat-process-running-p)
4446 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4447 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4448 (tramp-gvfs-handle-rename-file)
4449 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4450 (tramp-set-file-uid-gid)
4451 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4452 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4453 of `file-remote-p'.
4454
4455 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4456 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4457 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4458 (tramp-gw-open-network-stream): Suppress unrelated traces.
4459
4460 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4461 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4464 connection property.
4465
4466 * net/tramp-cache.el (top): Suppress traces when reading
4467 persistency file.
4468
4469 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4470 Refactor common code. Improve debug message.
4471 (tramp-maybe-open-connection)
4472 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4473 connection buffer too early.
4474
4475 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4476 from `tramp-smb-actions-with-acl'.
4477 (tramp-smb-actions-set-acl): New defconst.
4478 (tramp-smb-handle-copy-directory)
4479 (tramp-smb-action-get-acl): New defun, renamed from
4480 `tramp-smb-action-with-acl'.
4481 (tramp-smb-action-set-acl): New defun.
4482 (tramp-smb-handle-set-file-acl): Rewrite.
4483
4484 2013-10-17 Glenn Morris <rgm@gnu.org>
4485
4486 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4487
4488 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * skeleton.el (skeleton-newline): Remove.
4491 (skeleton-internal-1): Use (insert "\n") instead.
4492
4493 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4494 let-bindings.
4495
4496 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4497 forward-sexp-function while we redo its job (bug#15613).
4498
4499 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4500
4501 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4502 represented by lists.
4503
4504 2013-10-16 Glenn Morris <rgm@gnu.org>
4505
4506 * tmm.el (tmm--history): New dynamic variable.
4507 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4508
4509 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4510
4511 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4512 (tramp-smb-errors): Add error messages.
4513 (tramp-smb-actions-with-acl): New defconst.
4514 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4515 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4516 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4517 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4518 (tramp-smb-get-stat-capability): Fix tests.
4519
4520 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4521
4522 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4523 (bug#15580).
4524
4525 2013-10-16 Glenn Morris <rgm@gnu.org>
4526
4527 * ansi-color.el (ansi-color-drop-regexp):
4528 Add 1J, 1K, 2K. (Bug#15617)
4529
4530 * files.el (hack-local-variables--warned-lexical): New.
4531 (hack-local-variables):
4532 Warn about misplaced lexical-binding. (Bug#15616)
4533
4534 * net/eww.el (eww-render): Always set eww-current-url,
4535 and update header line. (Bug#15622)
4536 (eww-display-html): ... Rather than just doing it here.
4537
4538 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4539
4540 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4541 menu navigations commands.
4542
4543 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4544
4545 * progmodes/subword.el (subword-capitalize): Be careful when
4546 the search for [[:alpha:]] fails (bug#15580).
4547
4548 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4549
4550 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4551 to commands that scroll the menu.
4552
4553 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4554
4555 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4556 Handle methods ending with `?' and `!'.
4557
4558 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4559
4560 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4561 `japanese-cp932' to `cp932' to fix the problem where saving a
4562 source file written in Shift_JIS twice would end up having
4563 `coding: japanese-cp932' which Ruby could not recognize.
4564 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4565 in `ruby-encoding-map'.
4566 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4567 doesn't need to be explicitly declared in magic comment.
4568 (ruby-encoding-map): Add type declaration for better customize UI.
4569
4570 2013-10-13 Glenn Morris <rgm@gnu.org>
4571
4572 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4573 Occur buffers are read-only. http://bugs.debian.org/720775
4574
4575 * emacs-lisp/authors.el (authors-fixed-entries):
4576 Comment out old alpha stuff.
4577
4578 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4579
4580 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4581 to `after-save-hook' instead of `before-save-hook'.
4582 (ruby-mode-set-encoding): Use the value of coding system used to
4583 write the file. Call `basic-save-buffer-1' after modifying the
4584 buffer.
4585
4586 2013-10-13 Alan Mackenzie <acm@muc.de>
4587
4588 Fix indentation/fontification of Java enum with
4589 "implements"/generic.
4590
4591 * progmodes/cc-engine.el (c-backward-over-enum-header):
4592 Extracted from the three other places and enhanced to handle generics.
4593 (c-inside-bracelist-p): Uses new function above.
4594 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4595 function above.
4596 (c-font-lock-enum-tail): Uses new function above.
4597
4598 2013-10-13 Kenichi Handa <handa@gnu.org>
4599
4600 * international/mule-cmds.el (select-safe-coding-system): Remove a
4601 superfluous condition in chekcing whether a coding system is safe
4602 or not.
4603
4604 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4605
4606 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4607
4608 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4609
4610 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4611
4612 2013-10-13 Glenn Morris <rgm@gnu.org>
4613
4614 * menu-bar.el (menu-bar-update-buffers):
4615 Unify Buffers menu prompt string. (Bug#15576)
4616
4617 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4618
4619 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4620 Add some entries.
4621 (authors-fixed-entries): Use accented form of name.
4622
4623 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4626 method calls (bug#15594).
4627 (ruby-smie--args-separator-p): New function.
4628 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4629 recognize paren-free method calls.
4630
4631 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4632 internals of universal-argument.
4633
4634 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4635
4636 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4637 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4638 dropped menu on second mouse click on the menu bar.
4639
4640 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4643 (explicit-shell-file-name): Declare.
4644 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4645 (sh-completion-at-point-function): New function.
4646 (sh-mode): Use it.
4647 (sh-smie--keyword-p): Remove unused argument.
4648 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4649 vars.
4650 (sh-set-shell): Always setup SMIE, even if we use the
4651 old indentation code.
4652
4653 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4654
4655 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4656 cases of ? and =.
4657 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4658 predicate would return nil are almost non-existent.
4659 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4660
4661 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4662 cache also after commands that modify the buffer but don't move
4663 point.
4664
4665 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4667 * env.el (substitute-env-in-file-name): New function.
4668 (substitute-env-vars): Extend the meaning of the optional arg.
4669
4670 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4671
4672 * term/w32-win.el (dynamic-library-alist): Define separate lists
4673 of GIF DLLs for versions before and after 5.0.0 of giflib.
4674 (Bug#15531)
4675
4676 2013-10-10 João Távora <joaotavora@gmail.com>
4677
4678 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4679 not locked, use last revision and current source as
4680 defaults. (Bug#15569)
4681
4682 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4683
4684 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4685 menu-bar is hidden.
4686
4687 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4688
4689 * window.el (pop-to-buffer-same-window): Fix doc-string.
4690 (Bug#15492)
4691
4692 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4695
4696 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4697
4698 * calendar/icalendar.el (icalendar-import-file):
4699 Fix interactive spec. (Bug#15482)
4700
4701 2013-10-10 Glenn Morris <rgm@gnu.org>
4702
4703 * desktop.el (desktop-save): Default to saving in .emacs.d,
4704 since PWD is no longer in desktop-path by default. (Bug#15319)
4705
4706 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4707 now that text mode has a menu with the same entry.
4708 (menu-bar-text-mode-auto-fill): Remove now unused func.
4709 * textmodes/text-mode.el (text-mode-map):
4710 Use auto-fill help text from menu-bar.el.
4711
4712 2013-10-10 John Anthony <john@jo.hnanthony.com>
4713
4714 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4715
4716 2013-10-09 Juri Linkov <juri@jurta.org>
4717
4718 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4719 instead of this-command-keys. Add universal-argument-more and
4720 universal-argument-minus to the list of prefix commands. (Bug#15568)
4721
4722 2013-10-09 Glenn Morris <rgm@gnu.org>
4723
4724 * vc/vc-svn.el (vc-svn-create-repo):
4725 Expand paths in file://... url. (Bug#15446)
4726
4727 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4728 Add some entries.
4729 (authors): Remove unused local variables.
4730
4731 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * profiler.el: Create a more coherent calltree from partial backtraces.
4734 (profiler-format): Hide the tail with `invisible' so that C-s can still
4735 find the hidden elements.
4736 (profiler-calltree-depth): Don't recurse so enthusiastically.
4737 (profiler-function-equal): New hash-table-test.
4738 (profiler-calltree-build-unified): New function.
4739 (profiler-calltree-build): Use it.
4740 (profiler-report-make-name-part): Indent the calltree less.
4741 (profiler-report-mode): Add visibility specs for profiler-format.
4742 (profiler-report-expand-entry, profiler-report-toggle-entry):
4743 Expand the whole subtree when provided with a prefix arg.
4744
4745 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4746
4747 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4748 iuwu-mod token.
4749 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4750 hanging iuwu-mod token.
4751 (ruby-smie--forward-token): Do not include a dot after a token in
4752 that token.
4753 (ruby-smie--backward-token): Likewise.
4754
4755 2013-10-08 Juri Linkov <juri@jurta.org>
4756
4757 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4758 to isearch-other-control-char.
4759 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4760 and isearch-post-command-hook to post-command-hook.
4761 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4762 and isearch-post-command-hook from post-command-hook.
4763 (isearch-unread-key-sequence)
4764 (isearch-reread-key-sequence-naturally)
4765 (isearch-lookup-scroll-key, isearch-other-control-char)
4766 (isearch-other-meta-char): Remove functions.
4767 (isearch-pre-command-hook, isearch-post-command-hook):
4768 New functions based on isearch-other-meta-char rewritten
4769 relying on the new behavior of overriding-terminal-local-map
4770 that does not replace the local keymaps any more. (Bug#15200)
4771
4772 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4773
4774 Support menus on text-mode terminals.
4775 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4776 functionality.
4777
4778 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4779
4780 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4781 Move here from mouse.el.
4782 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4783 and arrow keys.
4784 (tty-menu-navigation-map): New map for TTY menu navigation.
4785
4786 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4787
4788 * frame.el (display-mouse-p): Report text-mode mouse as available
4789 on w32.
4790 (display-popup-menus-p): Report availability if mouse is
4791 available; don't condition on window-system.
4792
4793 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4794 (tty-menu-selected-face): New faces.
4795
4796 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4799 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4800 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4801 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4802 New constants.
4803 (lisp-mode-variables): New `elisp' argument.
4804 (emacs-lisp-mode): Use it.
4805 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4806 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4807
4808 * indent.el: Use lexical-binding.
4809 (indent-region): Add progress reporter.
4810 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4811 last step.
4812 (indent--next-tab-stop): New function to implement this behavior.
4813 (tab-to-tab-stop, move-to-tab-stop): Use it.
4814
4815 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4816
4817 * indent.el (indent-rigidly--current-indentation): New function.
4818 (indent-rigidly-map): New var.
4819 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4820
4821 2013-10-08 Bastien Guerry <bzg@gnu.org>
4822
4823 * register.el (insert-register): Fix 2013-10-07 change.
4824
4825 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * progmodes/perl-mode.el: Use lexical-binding.
4828 Remove redundant :group args.
4829 (perl-nochange): Change default to be closer to other major modes's
4830 standard behavior.
4831 (perl-indent-line): Don't consider text on current line as a
4832 valid beginning of function from which to indent.
4833
4834 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4835 with more than one argument (bug#15538).
4836
4837 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4838
4839 * vc/pcvs.el: Use lexical-binding.
4840 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4841 environment of `eval'.
4842 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4843 than a list of expressions. Adjust callers.
4844 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4845
4846 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4847
4848 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4849 case of the dot in a chained method call being on the following line.
4850
4851 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * electric.el (electric-indent-inhibit): New var.
4854 (electric-indent-post-self-insert-function): Use it.
4855 * progmodes/python.el (python-mode): Set it.
4856
4857 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4858 open braces.
4859
4860 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4861
4862 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4863 (css-mode): Use electric-indent-chars.
4864
4865 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4866 (font-lock-beg, font-lock-end): Move before first use.
4867 (nxml-mode): Use syntax-propertize-function.
4868 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4869 (nxml-extend-after-change-region): Remove.
4870 * nxml/xmltok.el: Use lexical-binding.
4871 (xmltok-save): Use `declare'.
4872 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4873 * nxml/nxml-util.el: Use lexical-binding.
4874 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4875 Use `declare'.
4876 * nxml/nxml-ns.el: Use lexical-binding.
4877 (nxml-ns-save): Use `declare'.
4878 (nxml-ns-prefixes-for): Avoid add-to-list.
4879 * nxml/rng-match.el: Use lexical-binding.
4880 (rng--ipattern): Use cl-defstruct.
4881 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4882 (rng-cons-group-after, rng-subst-group-after)
4883 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4884 Use closures instead of `(lambda...).
4885
4886 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4887
4888 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4889 of BEG and END.
4890
4891 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4892 Use `tramp-handle-insert-file-contents'.
4893 (tramp-gvfs-handle-insert-file-contents): Remove function.
4894
4895 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4896 Use `save-restriction' in order to keep markers.
4897
4898 * net/trampver.el: Update release number.
4899
4900 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * progmodes/compile.el (compilation-parse-errors):
4903 Use compilation--put-prop.
4904 (compilation--ensure-parse): Check compilation-multiline.
4905
4906 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4907
4908 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4909 lexical-binding.
4910
4911 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4912
4913 * progmodes/ruby-mode.el: Fix recently added tests.
4914 (ruby-smie-grammar): Add - and +.
4915 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4916 (ruby-smie--backward-id): New functions.
4917 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4918 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4919 any more.
4920
4921 2013-10-07 Leo Liu <sdl.web@gmail.com>
4922
4923 * register.el (register-preview-delay)
4924 (register-preview-functions): New variables.
4925 (register-read-with-preview, register-preview)
4926 (register-describe-oneline): New functions.
4927 (point-to-register, window-configuration-to-register)
4928 (frame-configuration-to-register, jump-to-register)
4929 (number-to-register, view-register, insert-register)
4930 (copy-to-register, append-to-register, prepend-to-register)
4931 (copy-rectangle-to-register): Use register-read-with-preview to
4932 read register. (Bug#15525)
4933
4934 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4935
4936 * net/network-stream.el (network-stream-open-starttls): Don't add
4937 --insecure if it's already present, because that gnutls-cli
4938 rejects getting that parameter twice.
4939
4940 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4941
4942 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4943 keyword, too.
4944
4945 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4946
4947 * newcomment.el (comment-use-global-state): Change default value
4948 to t, mark obsolete (Bug#15251).
4949 (comment-beginning): In addition to `comment-to-syntax', check the
4950 value of `comment-use-global-state'.
4951
4952 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4955 (ruby-comment-column): Follow the global default, by default.
4956 (ruby-smie-grammar): Add assignment syntax.
4957 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4958 open-paren, a comma, or a \.
4959 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4960 and line continuations.
4961 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4962 followed by implicit semi-colons. Add rule for string concatenation
4963 and for indentation at BOB.
4964 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4965
4966 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4967 calling next-sexp, since next-token may have skipped chars which
4968 next-sexp doesn't know should be skipped!
4969
4970 2013-10-05 Leo Liu <sdl.web@gmail.com>
4971
4972 * progmodes/octave.el (octave-send-region):
4973 Call compilation-forget-errors.
4974
4975 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4976
4977 * vc/vc-svn.el (vc-svn-find-admin-dir):
4978 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4979 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4980 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4981 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4982
4983 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4984
4985 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4986
4987 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * subr.el (read-passwd): Hide chars even when called within a context
4990 where after-change-functions is disabled (bug#15501).
4991 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4992 until we removed ourself from overriding-terminal-local-map.
4993
4994 2013-10-04 Leo Liu <sdl.web@gmail.com>
4995
4996 * progmodes/octave.el (inferior-octave-mode):
4997 Call compilation-forget-errors.
4998
4999 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5000
5001 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5002
5003 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5004
5005 * net/secrets.el (secrets-create-collection): Add optional
5006 argument ALIAS. Use proper Label keyword. Append ALIAS as
5007 dbus-call-method argument. (Bug#15516)
5008
5009 2013-10-04 Leo Liu <sdl.web@gmail.com>
5010
5011 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5012 (inferior-octave-compilation-font-lock-keywords): New variables.
5013 (compilation-error-regexp-alist)
5014 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5015 (inferior-octave-mode): Use compilation-shell-minor-mode.
5016
5017 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5018
5019 * minibuffer.el (completion--replace): Be careful that `end' might be
5020 a marker.
5021
5022 2013-10-03 Daiki Ueno <ueno@gnu.org>
5023
5024 Add support for package signature checking.
5025 * emacs-lisp/package.el (url-http-file-exists-p)
5026 (epg-make-context, epg-context-set-home-directory)
5027 (epg-verify-string, epg-context-result-for)
5028 (epg-signature-status, epg-signature-to-string)
5029 (epg-check-configuration, epg-configuration)
5030 (epg-import-keys-from-file): Declare.
5031 (package-check-signature): New user option.
5032 (package-unsigned-archives): New user option.
5033 (package-desc): Add `signed' field.
5034 (package-load-descriptor): Set `signed' field if .signed file exists.
5035 (package--archive-file-exists-p): New function.
5036 (package--check-signature): New function.
5037 (package-install-from-archive): Check package signature.
5038 (package--download-one-archive): Check archive signature.
5039 (package-delete): Remove .signed file.
5040 (package-import-keyring): New command.
5041 (package-refresh-contents): Import default keyring.
5042 (package-desc-status): Add "unsigned" status.
5043 (describe-package-1, package-menu--print-info)
5044 (package-menu-mark-delete, package-menu--find-upgrades)
5045 (package-menu--status-predicate): Support "unsigned" status.
5046
5047 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5050 the new compilation scheme using the new byte-codes.
5051
5052 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5053 (byte-pophandler): New byte codes.
5054 (byte-goto-ops): Adjust accordingly.
5055 (byte-compile--use-old-handlers): New var.
5056 (byte-compile-catch): Use new byte codes depending on
5057 byte-compile--use-old-handlers.
5058 (byte-compile-condition-case--old): Rename from
5059 byte-compile-condition-case.
5060 (byte-compile-condition-case--new): New function.
5061 (byte-compile-condition-case): New function that dispatches depending
5062 on byte-compile--use-old-handlers.
5063 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5064 when we can.
5065
5066 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5067 Optimize under `condition-case' and `catch' if
5068 byte-compile--use-old-handlers is nil.
5069 (disassemble-offset): Handle new bytecodes.
5070
5071 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * subr.el (error): Use `declare'.
5074 (decode-char, encode-char): Use advertised-calling-convention instead
5075 of the docstring to discourage use of the `restriction' arg.
5076
5077 2013-10-03 Daiki Ueno <ueno@gnu.org>
5078
5079 * epg.el (epg-verify-file): Add a comment saying that it does not
5080 notify verification error as a return value nor a signal.
5081 (epg-verify-string): Ditto.
5082
5083 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5084
5085 * progmodes/compile.el (compilation-start): Try globbing the arg to
5086 `cd' (bug#15417).
5087
5088 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5089
5090 Sync with Tramp 2.2.8.
5091
5092 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5093 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5094 * net/trampver.el: Update release number.
5095
5096 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5097
5098 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5099 and default-process-coding-system for darwin only.
5100
5101 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5104
5105 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5106
5107 * vc/vc-git.el (vc-git-grep): Disable pager.
5108
5109 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5110
5111 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5112 Use :url instead of :homepage, as per
5113 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5114
5115 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5116 non-nil, use `syntax-ppss' (Bug#15251).
5117
5118 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5119
5120 * progmodes/octave.el (inferior-octave-startup-file):
5121 Prefer ~/.emacs.d/init_octave.m.
5122
5123 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5124
5125 * emacs-lisp/package.el (package-desc-from-define):
5126 Accept additional arguments as plist, convert them to an alist and store
5127 them in the `extras' slot.
5128 (package-generate-description-file): Convert extras alist back to
5129 plist and append to the `define-package' form arguments.
5130 (package--alist-to-plist): New function.
5131 (package--ac-desc): Add `extras' slot.
5132 (package--add-to-archive-contents): Check if the archive-contents
5133 vector is long enough, and if it is, pass its `extras' slot value
5134 to `package-desc-create'.
5135 (package-buffer-info): Call `lm-homepage', pass the returned value
5136 to `package-desc-from-define'.
5137 (describe-package-1): Render the homepage button (Bug#13291).
5138
5139 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5140 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5141
5142 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5143
5144 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5145 and default-process-coding-system to utf-8-unix (Bug#15402).
5146
5147 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5148
5149 * subr.el (looking-back): Do not recommend using looking-back.
5150
5151 2013-09-28 Alan Mackenzie <acm@muc.de>
5152
5153 Fix indentation/fontification of Java enum with "implements".
5154
5155 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5156 regexp which matches "implements", etc., in Java.
5157 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5158 specifier clauses coming after "enum".
5159 * progmodes/cc-fonts.el (c-font-lock-declarations)
5160 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5161 after "enum".
5162
5163 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5164
5165 * faces.el (region): Change ns_selection_color to
5166 ns_selection_fg_color, add ns_selection_bg_color.
5167
5168 2013-09-28 Leo Liu <sdl.web@gmail.com>
5169
5170 * progmodes/octave.el (inferior-octave-completion-table)
5171 (inferior-octave-completion-at-point): Minor tweaks.
5172
5173 * textmodes/ispell.el (ispell-lookup-words): Rename from
5174 lookup-words. (Bug#15460)
5175 (lookup-words): Obsolete.
5176 (ispell-complete-word, ispell-command-loop): All uses changed.
5177
5178 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5179
5180 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5181 (octave-mode-menu): Add octave-send-buffer.
5182 (octave-send-buffer): New function.
5183
5184 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5185
5186 * progmodes/octave.el (octave-mode-map): Add key binding for
5187 octave-lookfor.
5188 (octave-mode-menu): Add octave-lookfor.
5189 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5190 octave-lookfor.
5191 (octave-lookfor): New function.
5192
5193 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * emacs-lisp/cl-macs.el:
5196 (cl--loop-destr-temps): Remove.
5197 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5198 its convention.
5199 (cl--loop-set-iterator-function): New function.
5200 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5201 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5202 Bind `it' with `let' instead of substituting it with `cl-subst'.
5203 (cl--unused-var-p): New function.
5204 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5205 Eliminate some unused variable warnings (bug#15326).
5206
5207 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5208
5209 * doc-view.el (doc-view-scale-reset): Rename from
5210 `doc-view-reset-zoom-level'.
5211 (doc-view-scale-adjust): New command.
5212 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5213 `doc-view-scale-adjust'.
5214
5215 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5216
5217 * doc-view.el (doc-view-reset-zoom-level): New command.
5218 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5219 zoom commands (bug#15466).
5220
5221 2013-09-26 Kenichi Handa <handa@gnu.org>
5222
5223 * international/quail.el (quail-help): Make it not a command.
5224
5225 2013-09-26 Leo Liu <sdl.web@gmail.com>
5226
5227 * minibuffer.el (completion-all-sorted-completions): Make args
5228 optional as they are.
5229
5230 2013-09-25 Daniel Colascione <dancol@dancol.org>
5231
5232 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5233 specs are and that they're not evaluated.
5234
5235 2013-09-24 Sam Steingold <sds@gnu.org>
5236
5237 * midnight.el (clean-buffer-list-kill-regexps)
5238 (clean-buffer-list-kill-buffer-names): Update for the new Man
5239 buffer naming which includes the object name.
5240
5241 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5244 (eshell-parse-command, eshell-parse-pipeline): Use it since
5245 eshell-separate-commands requires a dynamic scoped var.
5246 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5247
5248 2013-09-23 Leo Liu <sdl.web@gmail.com>
5249
5250 * autoinsert.el (auto-insert-alist): Make the value of
5251 lexical-binding match its file setting.
5252
5253 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5254
5255 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5256
5257 * autoarg.el (autoarg-kp-digit-argument):
5258 * electric.el (Electric-command-loop):
5259 * kmacro.el (kmacro-step-edit-insert):
5260 Do not set universal-argument-num-events.
5261
5262 2013-09-22 Leo Liu <sdl.web@gmail.com>
5263
5264 * files.el (interpreter-mode-alist): Add octave.
5265
5266 2013-09-21 Alan Mackenzie <acm@muc.de>
5267
5268 C++: fontify identifier in declaration following "public:" correctly.
5269 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5270 to match "public", etc.
5271 (c-decl-prefix-re): Add ":" into the C++ value.
5272 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5273 bit. Add a check for a ":" preceded by "public", etc.
5274
5275 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5276
5277 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5278 recognized by GDB 7.5 and later.
5279
5280 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5281
5282 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5283
5284 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * subr.el (internal--call-interactively): New const.
5287 (called-interactively-p): Use it (bug#3984).
5288
5289 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5290
5291 * vc/pcvs.el (cvs-mode-ignore):
5292 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5293 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5294
5295 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5298 (eshell-ls-orig-insert-directory): Remove.
5299 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5300 (eshell-ls-use-in-dired): Use advice-add/remove.
5301 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5302 Add `orig-fun' arg for use in :around advice.
5303 Make it check (redundantly) eshell-ls-use-in-dired.
5304
5305 2013-09-19 Glenn Morris <rgm@gnu.org>
5306
5307 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5308
5309 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5310
5311 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5312
5313 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5316 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5317 (tramp-get-remote-python): New defuns.
5318 (tramp-get-remote-uid-with-perl)
5319 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5320 contributed by yary <not.com@gmail.com> (tiny change).
5321 (tramp-get-remote-uid-with-python)
5322 (tramp-get-remote-gid-with-python): New defuns. Python code
5323 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5324 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5325
5326 2013-09-19 Glenn Morris <rgm@gnu.org>
5327
5328 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5329
5330 * eshell/em-unix.el (eshell-remove-entries):
5331 Rename argument to avoid name-clash with global `top-level'.
5332
5333 * eshell/esh-proc.el (eshell-kill-process-function):
5334 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5335 (eshell-reset-after-proc): Remove unused arg `proc'.
5336
5337 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5338 (directory-files-and-attributes): Mark unused arg.
5339
5340 * eshell/em-unix.el (eshell-remove-entries):
5341 Remove unused arg `path'. Update callers.
5342
5343 * eshell/em-hist.el (eshell-hist-parse-arguments):
5344 Remove unused arg `silent'. Update callers.
5345
5346 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5347 Fix (f)boundp mix-up.
5348
5349 * eshell/em-smart.el (eshell-smart-scroll-window)
5350 (eshell-disable-after-change):
5351 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5352
5353 2013-09-18 Alan Mackenzie <acm@muc.de>
5354
5355 Fix fontification of type when followed by "const".
5356 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5357 "known" types from fontification.
5358
5359 2013-09-18 Glenn Morris <rgm@gnu.org>
5360
5361 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5362 (chart-face-list): Drop Emacsen without display-color-p.
5363
5364 * net/eww.el (libxml-parse-html-region): Declare.
5365 (eww-display-html): Explicit error if no libxml2 support.
5366
5367 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5368
5369 * image.el (image-type-from-buffer, image-multi-frame-p):
5370 Remove --without-x warning/error.
5371
5372 * mouse.el (mouse-yank-primary):
5373 * term.el (term-mouse-paste):
5374 Reorder to silence --without-x compilation.
5375
5376 * mpc.el (doc-view-mode): Silence --without-x compilation.
5377
5378 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5379 Silence --without-x compilation.
5380
5381 * progmodes/gud.el (gud-find-file, gud-mode):
5382 Silence --without-x compilation.
5383 (tooltip-mode): Declare.
5384
5385 * wdired.el (dired-backup-overwrite): Remove declaration.
5386 (wdired-mode-map): Add doc string.
5387
5388 * custom.el (x-get-resource): Declare.
5389
5390 * eshell/em-glob.el (ange-cache):
5391 * eshell/em-unix.el (ange-cache): Declare.
5392
5393 * faces.el (x-display-list, x-open-connection, x-get-resource):
5394 Declare.
5395
5396 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5397 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5398 Declare.
5399
5400 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5401
5402 * net/gnutls.el (gnutls-log-level): Declare.
5403
5404 * net/shr.el (image-size, image-animate): Declare.
5405
5406 * simple.el (font-info): Declare.
5407
5408 * subr.el (x-popup-dialog): Declare.
5409
5410 * term/common-win.el (x-select-enable-primary)
5411 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5412 Declare.
5413
5414 * term/ns-win.el (x-handle-args): Declare.
5415
5416 * term/x-win.el (x-select-enable-clipboard): Declare.
5417
5418 * term/w32-win.el (create-default-fontset): Declare.
5419
5420 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5421 Declare.
5422
5423 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5424 (fit-frame-to-buffer): Explicit error if --without-x.
5425 (mouse-autoselect-window-select): Silence compiler.
5426
5427 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5428
5429 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5430 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5431 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5432 * eshell/esh-util.el (eshell-sublist):
5433 Remove unused local variables.
5434
5435 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5436
5437 * textmodes/two-column.el: Make 2C-split work for --without-x.
5438 (scroll-bar-columns): Autoload.
5439 (top-level): Require fringe when compiling.
5440
5441 2013-09-18 Leo Liu <sdl.web@gmail.com>
5442
5443 * subr.el (add-hook): Robustify to handle closure as well.
5444
5445 2013-09-17 Glenn Morris <rgm@gnu.org>
5446
5447 * simple.el (messages-buffer-mode-map): Unbind "g".
5448
5449 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * help-mode.el (help-mode-finish): Use derived-mode-p.
5452 Remove obsolete highlighting.
5453
5454 * play/life.el (life-mode): Use define-derived-mode. Derive from
5455 special-mode.
5456 (life): Let-bind inhibit-read-only.
5457 (life-setup): Avoid `setq'. Use `life-mode'.
5458
5459 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5460 which should not be needed any more.
5461 (package-menu-refresh, package-menu-describe-package): Use user-error.
5462
5463 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5464 (eshell-post-rewrite-command-hook): Make obsolete.
5465 (eshell-parse-command): Simplify.
5466 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5467 (eshell--cmd): Declare.
5468 (eshell-parse-pipeline): Remove unused var `final-p'.
5469 Pass a dynvar to eshell-post-rewrite-command-hook.
5470 Implement the new eshell-post-rewrite-command-function.
5471 (eshell-invoke-directly): Remove unused arg `input'.
5472 * eshell/esh-io.el (eshell-io-initialize):
5473 Use eshell-post-rewrite-command-function (bug#15399).
5474 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5475 adjust to new calling convention.
5476 (eshell-create-handles): Rename args to avoid clashing with dynvar
5477 `standard-output'.
5478
5479 2013-09-17 Glenn Morris <rgm@gnu.org>
5480
5481 * simple.el (messages-buffer-mode): New major mode.
5482 (messages-buffer): New function.
5483 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5484 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5485 (ert-run-test): Use `messages-buffer' function.
5486 (ert--force-message-log-buffer-truncation): Ignore read-only.
5487 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5488 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5489
5490 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5493
5494 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5495
5496 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * icomplete.el (icomplete-in-buffer): New var.
5499 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5500 vars and replace them with functions.
5501 (icomplete-minibuffer-setup): Adjust accordingly.
5502 (icomplete--completion-table, icomplete--completion-predicate)
5503 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5504 New functions.
5505 (icomplete-forward-completions, icomplete-backward-completions)
5506 (icomplete-simple-completing-p, icomplete-exhibit)
5507 (icomplete-completions): Use them.
5508 (icomplete--in-region-buffer): New var.
5509 (icomplete--in-region-setup): New function.
5510 (icomplete-mode): Use it.
5511
5512 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5513 (bug#15379).
5514 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5515 return args and options.
5516 (eshell-eval-using-options): Use the new return value of
5517 eshell--do-opts to set the options's vars in their scope.
5518 (eshell--set-option): Rename from eshell-set-option.
5519 Add arg `opt-vals'.
5520 (eshell--process-option): Rename from eshell-process-option.
5521 Add arg `opt-vals'.
5522 (eshell--process-args): Use an `opt-vals' alist to store the options's
5523 values during their processing and return them additionally to the
5524 remaining args.
5525
5526 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5527
5528 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5529 continuation character an operator, as far as indentation is
5530 concerned (Bug#15369).
5531
5532 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5533
5534 * window.el (window--state-put-2): Don't process buffer state
5535 when buffer doesn't exist any more (Bug#15382).
5536
5537 2013-09-15 Glenn Morris <rgm@gnu.org>
5538
5539 * eshell/em-unix.el (eshell/rm):
5540 Make -f ignore missing files. (Bug#15373)
5541
5542 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5543 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5544 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5545
5546 2013-09-14 Glenn Morris <rgm@gnu.org>
5547
5548 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5549
5550 2013-09-13 Glenn Morris <rgm@gnu.org>
5551
5552 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5553 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5554
5555 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5556
5557 * frame.el (x-focus-frame): Mark as declared in frame.c.
5558
5559 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * ls-lisp.el: Use advice-add.
5562 (original-insert-directory): Remove.
5563 (ls-lisp--insert-directory): Rename from insert-directory; add
5564 `orig-fun' argument.
5565 (insert-directory): Advise.
5566
5567 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5568
5569 * term.el (term-emulate-terminal): Decode the command string
5570 before passing it to term-command-hook. (Bug#15337)
5571
5572 2013-09-13 Glenn Morris <rgm@gnu.org>
5573
5574 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5575
5576 * eshell/esh-ext.el (eshell-search-path): Declare.
5577
5578 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5579 Otherwise an error occurs if eshell-dirs module not loaded.
5580
5581 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5582
5583 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5586 `tramp-check-proper-host'. Check for a valid method name.
5587
5588 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5589 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5590 * net/tramp-sh.el (tramp-maybe-open-connection):
5591 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5592
5593 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5594 also for hash values.
5595
5596 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * term/ns-win.el (parameters): Don't declare as dynamic.
5599 (before-make-frame-hook): Don't add ineffective function.
5600
5601 * eshell/*.el: Use lexical-binding (bug#15231).
5602
5603 2013-09-12 Kenichi Handa <handa@gnu.org>
5604
5605 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5606
5607 2013-09-12 Glenn Morris <rgm@gnu.org>
5608
5609 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5610 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5611
5612 * subr.el (do-after-load-evaluation): Also give compiler warnings
5613 when obsolete files are used (except by obsolete files).
5614
5615 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5616 in the status output, assume `filename' is the first. (Bug#15322)
5617
5618 * vc/vc.el (vc-deduce-fileset): Doc fix.
5619
5620 * calc/calc-help.el (Info-goto-node):
5621 * progmodes/cperl-mode.el (Info-find-node):
5622 * vc/ediff.el (Info-goto-node): Update declarations.
5623
5624 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5625
5626 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5627 (vc-bzr-pull): Require vc-dispatcher.
5628 * vc/vc-git.el (vc-compilation-mode): Declare.
5629 (vc-git-pull): Require vc-dispatcher.
5630
5631 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5632
5633 * progmodes/octave.el (help-button-action): Declare.
5634
5635 * shell.el (shell-directory-tracker): Output error as a message
5636 rather than just returning it as a string.
5637 (shell-process-pushd): Remove useless use of message.
5638
5639 * dframe.el (dframe-timer-fn):
5640 * files.el (dir-locals-read-from-file):
5641 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5642 (mpc-format):
5643 * reveal.el (reveal-post-command):
5644 * saveplace.el (load-save-place-alist-from-file):
5645 * shell.el (shell-resync-dirs):
5646 * w32-common-fns.el (x-get-selection-value):
5647 * emacs-lisp/copyright.el (copyright-find-copyright):
5648 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5649 * emulation/tpu-edt.el (tpu-copy-keyfile):
5650 * play/bubbles.el (bubbles--mark-neighbourhood):
5651 * progmodes/executable.el
5652 (executable-make-buffer-file-executable-if-script-p):
5653 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5654
5655 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 Cleanup Eshell to rely less on dynamic scoping.
5658 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5659 last-value, and ext-command here. Bind `args' closer to `body'.
5660 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5661 (eshell--args): Declare new dynamic var.
5662 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5663 last-value, and ext-command. Pass `args' to `body'.
5664 (eshell-process-args): Bind eshell--args.
5665 (eshell-set-option): Use eshell--args.
5666 * eshell/eshell.el (eshell): Use derived-mode-p.
5667 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5668 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5669 (eshell-glob-function): Declare.
5670 * eshell/esh-util.el: Require cl-lib.
5671 (eshell-read-hosts-file): Avoid add-to-list.
5672 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5673 `err'.
5674 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5675 Declare.
5676 (eshell/diff): Remove unused var `err'.
5677 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5678 `killflag'.
5679 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5680 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5681 first use.
5682 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5683 Move declaration before first use.
5684 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5685 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5686 rely on cl-return.
5687
5688 2013-09-12 Glenn Morris <rgm@gnu.org>
5689
5690 * term/ns-win.el (global-map): Remove binding for ispell-next,
5691 deleted 1999-05-29. (Bug#15357)
5692
5693 2013-09-11 Glenn Morris <rgm@gnu.org>
5694
5695 * echistory.el (electric-command-history): Remove call to deleted func.
5696
5697 * play/landmark.el (landmark-mode): Fix typos.
5698
5699 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5700 Check cvs-sort-ignore-file is bound.
5701
5702 * savehist.el: No need for cl when compiling on Emacs.
5703
5704 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5707 (bug#15338).
5708 (eshell-self-insert-command, eshell-send-invisible):
5709 Remove unused argument.
5710 (eshell-handle-control-codes): Remove unused var `orig'.
5711 Avoid delete-backward-char.
5712
5713 * files.el (set-auto-mode): Simplify a bit further.
5714
5715 2013-09-11 Glenn Morris <rgm@gnu.org>
5716
5717 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5718 (set-auto-mode): Don't regexp-quote elements.
5719 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5720 * progmodes/cc-mode.el (interpreter-mode-alist):
5721 * progmodes/ruby-mode.el (interpreter-mode-alist):
5722 Revert previous change.
5723
5724 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * play/snake.el (snake-mode):
5727 * play/mpuz.el (mpuz-mode):
5728 * play/landmark.el (lm-mode):
5729 * play/blackbox.el (blackbox-mode):
5730 * play/5x5.el (5x5-mode):
5731 * obsolete/options.el (Edit-options-mode):
5732 * net/quickurl.el (quickurl-list-mode):
5733 * net/newst-treeview.el (newsticker-treeview-mode):
5734 * mail/rmailsum.el (rmail-summary-mode):
5735 * mail/mspools.el (mspools-mode):
5736 * locate.el (locate-mode):
5737 * ibuffer.el (ibuffer-mode):
5738 * emulation/ws-mode.el (wordstar-mode):
5739 * emacs-lisp/debug.el (debugger-mode):
5740 * array.el (array-mode):
5741 * net/eudc.el (eudc-mode): Use define-derived-mode.
5742 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5743 Move initialization into declaration.
5744 (mairix-searches-mode): Use define-derived-mode.
5745 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5746 (eudc-edit-hotlist): Use dolist.
5747 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5748 (Man-mode): Use define-derived-mode.
5749 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5750 (Info-edit-mode): Use define-derived-mode.
5751 (Info-cease-edit): Use Info-mode.
5752 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5753 into declaration.
5754 (eshell-mode): Use define-derived-mode.
5755 * chistory.el (command-history-mode-map): Rename from
5756 command-history-map.
5757 (command-history-mode): Use define-derived-mode.
5758 (Command-history-setup): Remove function.
5759 * calc/calc.el (calc-trail-mode-map): New var.
5760 (calc-trail-mode): Use define-derived-mode.
5761 (calc-trail-buffer): Set calc-main-buffer manually.
5762 * bookmark.el (bookmark-insert-annotation): New function.
5763 (bookmark-edit-annotation): Use it.
5764 (bookmark-edit-annotation-mode): Make it a proper major mode.
5765 (bookmark-send-edited-annotation): Use derived-mode-p.
5766 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5767 closer to its ideal place. Use \' to match EOS.
5768
5769 * profiler.el (profiler-calltree-find): Use function-equal.
5770
5771 2013-09-10 Glenn Morris <rgm@gnu.org>
5772
5773 * files.el (interpreter-mode-alist): Convert to regexps.
5774 (set-auto-mode): Adapt for this. (Bug#15306)
5775 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5776 Comment out unused variable.
5777 * progmodes/cc-mode.el (interpreter-mode-alist):
5778 * progmodes/python.el (interpreter-mode-alist):
5779 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5780 * progmodes/sh-script.el (sh-set-shell):
5781 No longer use interpreter-mode-alist to get list of shells.
5782
5783 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5784
5785 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 * simple.el: Use set-temporary-overlay-map for universal-argument.
5788 (universal-argument-map): Don't use default-bindings (bug#15317).
5789 Bind switch-frame explicitly. Replace universal-argument-minus with
5790 a conditional binding.
5791 (universal-argument-num-events, saved-overriding-map): Remove.
5792 (restore-overriding-map): Remove.
5793 (universal-argument--mode): Rename from save&set-overriding-map,
5794 and rewrite.
5795 (universal-argument, universal-argument-more, negative-argument)
5796 (digit-argument): Adjust accordingly.
5797 (universal-argument-minus): Remove.
5798 (universal-argument-other-key): Remove.
5799
5800 * subr.el (with-demoted-errors): Add `format' argument.
5801
5802 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5803
5804 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5805 `tramp-cleanup-connection'.
5806
5807 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5808 parameters KEEP-DEBUG and KEEP-PASSWORD.
5809
5810 * net/tramp.el (tramp-file-name-handler):
5811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5812 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5813 (tramp-maybe-open-connection):
5814 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5815 Use `tramp-cleanup-connection'.
5816
5817 * net/tramp-sh.el (tramp-maybe-open-connection):
5818 Catch 'uname-changed inside the progress reporter.
5819
5820 2013-09-10 Glenn Morris <rgm@gnu.org>
5821
5822 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5823
5824 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5825 returns "alternate access method" in mode (eg "-rw-r--r--.").
5826
5827 2013-09-08 Glenn Morris <rgm@gnu.org>
5828
5829 * saveplace.el (load-save-place-alist-from-file):
5830 Demote errors. (Bug#15305)
5831
5832 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5833
5834 Improve compatibility with older Emacsen, and XEmacs.
5835
5836 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5837 only if it is bound. It isn't for XEmacs.
5838 (with-tramp-progress-reporter): Do not let-bind `result'.
5839 This yields to scoping errors in XEmacs.
5840 (tramp-handle-make-auto-save-file-name): New function, moved from
5841 tramp-sh.el.
5842
5843 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5844 for `make-auto-save-file-name'.
5845 (tramp-adb--gnu-switches-to-ash):
5846 Use `tramp-compat-replace-regexp-in-string'.
5847
5848 * net/tramp-cache.el (tramp-cache-print): Call
5849 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5850
5851 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5852 bound. It isn't for XEmacs.
5853
5854 * net/tramp-compat.el (tramp-compat-copy-file):
5855 Catch `wrong-number-of-arguments' error.
5856 (tramp-compat-replace-regexp-in-string): New defun.
5857
5858 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5859 for `make-auto-save-file-name'.
5860 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5861 `copy-file'.
5862 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5863 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5864 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5865
5866 * net/tramp-gw.el (tramp-gw-open-network-stream):
5867 Use `tramp-compat-replace-regexp-in-string'.
5868
5869 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5870 Call `tramp-handle-make-auto-save-file-name'.
5871 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5872 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5873 (tramp-sh-file-inotifywait-process-filter):
5874 Use `tramp-compat-replace-regexp-in-string'.
5875 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5876
5877 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5878 for `make-auto-save-file-name'.
5879 (tramp-smb-handle-copy-directory):
5880 Call `tramp-compat-replace-regexp-in-string'.
5881 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5882 (tramp-smb-handle-copy-file): Improve error message.
5883 (tramp-smb-handle-rename-file): Rename directly only in case
5884 `newname' does not exist yet. This is a restriction of smbclient.
5885 (tramp-smb-maybe-open-connection): Rerun the function only when
5886 `auth-sources' is non-nil.
5887
5888 2013-09-08 Kenichi Handa <handa@gnu.org>
5889
5890 * international/characters.el: Set category "^" (Combining) for
5891 more characters.
5892
5893 2013-09-07 Alan Mackenzie <acm@muc.de>
5894
5895 Correctly fontify Java class constructors.
5896 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5897 in Java Mode.
5898 (c-recognize-typeless-decls): Set the Java value to t.
5899 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5900 While handling a "(", add a check for, effectively, Java, and handle a
5901 "typeless" declaration there.
5902
5903 2013-09-07 Roland Winkler <winkler@gnu.org>
5904
5905 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5906 field subtitle for entry type book.
5907
5908 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * minibuffer.el: Make minibuffer-complete call completion-in-region
5911 rather than other way around.
5912 (completion--some, completion-pcm--find-all-completions):
5913 Don't delay signals when debugging.
5914 (minibuffer-completion-contents): Beware fields within the
5915 minibuffer contents.
5916 (completion-all-sorted-completions): Use defvar-local.
5917 (completion--do-completion, completion--cache-all-sorted-completions)
5918 (completion-all-sorted-completions, minibuffer-force-complete):
5919 Add args `beg' and `end'.
5920 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5921 (minibuffer-complete): Use completion-in-region.
5922 (completion-complete-and-exit): New fun, extracted from
5923 minibuffer-complete-and-exit.
5924 (minibuffer-complete-and-exit): Use it.
5925 (completion--complete-and-exit): Rename from
5926 minibuffer--complete-and-exit.
5927 (completion-in-region--single-word): New function, extracted from
5928 minibuffer-complete-word.
5929 (minibuffer-complete-word): Use it.
5930 (display-completion-list): Make `common-substring' argument obsolete.
5931 (completion--in-region): Call completion--in-region-1 instead of
5932 minibuffer-complete.
5933 (completion-help-at-point): Pass boundaries to
5934 minibuffer-completion-help as args rather than via an overlay.
5935 (completion-pcm--string->pattern): Use `any-delim'.
5936 (completion-pcm--optimize-pattern): New function.
5937 (completion-pcm--pattern->regex): Handle `any-delim'.
5938 * icomplete.el (icomplete-forward-completions)
5939 (icomplete-backward-completions, icomplete-completions):
5940 Adjust calls to completion-all-sorted-completions and
5941 completion--cache-all-sorted-completions.
5942 (icomplete-with-completion-tables): Default to t.
5943 * emacs-lisp/crm.el (crm--current-element): Rename from
5944 crm--select-current-element. Don't put an overlay but return the
5945 boundaries instead.
5946 (crm--completion-command): Take two new args to bind to the boundaries.
5947 (crm-completion-help): Adjust accordingly.
5948 (crm-complete): Use completion-in-region.
5949 (crm-complete-word): Use completion-in-region--single-word.
5950 (crm-complete-and-exit): Use completion-complete-and-exit.
5951
5952 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5955 than dynamically.
5956
5957 2013-09-06 Juri Linkov <juri@jurta.org>
5958
5959 * info.el (Info-display-images-node): When image file doesn't exist
5960 display text version of the image if it's provided in the Info file.
5961 Otherwise, display the location of missing image from SRC attribute.
5962 Add help-echo text property from ALT attribute. (Bug#15279)
5963
5964 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5967 (edit-abbrevs-mode): Use define-derived-mode.
5968
5969 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5970 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5971 that it's defined.
5972 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5973 Use define-derived-mode.
5974
5975 * epg.el (epg-start-encrypt): Minor CSE simplification.
5976
5977 2013-09-06 William Xu <william.xwl@gmail.com>
5978
5979 * arc-mode.el: Add support for 7za (bug#15264).
5980 (archive-7z-program): New var.
5981 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5982 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5983 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5984
5985 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5986
5987 Remove URL syntax.
5988
5989 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5990 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5991 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5992 (tramp-postfix-host-format, tramp-file-name-regexp)
5993 (tramp-completion-file-name-regexp)
5994 (tramp-completion-dissect-file-name)
5995 (tramp-handle-substitute-in-file-name): Remove 'url case.
5996 (tramp-file-name-regexp-url)
5997 (tramp-completion-file-name-regexp-url): Remove constants.
5998
5999 2013-09-06 Glenn Morris <rgm@gnu.org>
6000
6001 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6002
6003 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6004
6005 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6006 keywords" below "here-doc beginnings" (Bug#15270).
6007
6008 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * subr.el (pop): Use `car-safe'.
6011 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6012 to detect unused `pop' return value.
6013
6014 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6015 var `block-regexp'.
6016 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6017 (python-fill-string): Remove unused var `marker'.
6018 (python-skeleton-add-menu-items): Remove unused var `items'.
6019
6020 * international/mule-cmds.el: Require CL.
6021 (find-coding-systems-for-charsets): Avoid add-to-list.
6022 (sanitize-coding-system-list): New function, extracted from
6023 select-safe-coding-system-interactively.
6024 (select-safe-coding-system-interactively): Use it.
6025 (read-input-method-name): Accept symbols for `default'.
6026
6027 * emacs-lisp/advice.el (defadvice): Add indent rule.
6028
6029 2013-09-05 Daniel Hackney <dan@haxney.org>
6030
6031 * dired-x.el:
6032 * net/ange-ftp.el:
6033 * net/browse-url.el:
6034 * net/dbus.el:
6035 * net/eudc.el:
6036 * net/eudcb-ldap.el:
6037 * net/eww.el:
6038 * net/imap.el:
6039 * printing.el:
6040 * vc/ediff-diff.el:
6041 * vc/ediff-init.el:
6042 * vc/ediff-merg.el:
6043 * vc/ediff-mult.el:
6044 * vc/ediff-util.el:
6045 * vc/ediff-wind.el:
6046 * vc/ediff.el:
6047 * vc/emerge.el:
6048 * vc/pcvs.el:
6049 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6050 byte compiler. Remove some unused let-bound variables.
6051
6052 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6055 a "ref-cell", since it gets better optimized (bug#14883).
6056
6057 2013-09-05 Glenn Morris <rgm@gnu.org>
6058
6059 * progmodes/cc-awk.el (c-forward-sws): Declare.
6060
6061 2013-09-04 Glenn Morris <rgm@gnu.org>
6062
6063 * generic-x.el [rul-generic-mode]: Require cc-mode.
6064 (c++-mode-syntax-table): Declare.
6065 (rul-generic-mode-syntax-table): Init in the defvar.
6066
6067 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6068
6069 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6070 (vc-do-command, vc-set-async-update):
6071 * vc/vc-mtn.el (vc-mtn-dir-status):
6072 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6073 (vc-hg-pull, vc-hg-merge-branch):
6074 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6075 (vc-git-merge-branch):
6076 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6077 (vc-cvs-dir-status-files):
6078 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6079 (vc-bzr-dir-status-files):
6080 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6081 * vc/vc-annotate.el: Use lexical-binding.
6082 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6083 (vc-sentinel-movepoint): Declare.
6084 (vc-annotate): Don't use `goto-line'.
6085 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6086 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6087 (vc-sentinel-movepoint): Declare.
6088 * vc/vc-svn.el: Use lexical-binding.
6089 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6090 * vc/vc-sccs.el:
6091 * vc/vc-rcs.el: Use lexical-binding.
6092
6093 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6094 `deleted'. Don't drop errors silently.
6095
6096 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6097
6098 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6099
6100 * vc/vc.el (vc-ignore): Rewrite.
6101 (vc-default-ignore): New function.
6102 (vc-default-ignore-completion-table): Use find-ignore-file.
6103
6104 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6105 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6106 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6107 Remove. Most code moved to vc.el.
6108
6109 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6112 * net/tramp-smb.el (tramp-smb-get-file-entries):
6113 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6114 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6115
6116 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6117 Update call to it.
6118 (eww-change-select): Remove unused var `properties'.
6119 (eww-make-unique-file-name): Remove unused var `base'.
6120
6121 * finder.el (finder-compile-keywords): Don't mess with windows.
6122
6123 * calculator.el (calculator-funcall): Fix typo in last change.
6124
6125 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6126
6127 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6128 <pkg>-autoloads.el file stop us.
6129
6130 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6131 warnings, and factor out common code.
6132
6133 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6134
6135 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6136 two-character operators and whether the character preceding them
6137 changes their meaning (Bug#15208).
6138
6139 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6140
6141 Format code sent to Python shell for robustness.
6142 * progmodes/python.el (python-shell-buffer-substring):
6143 New function.
6144 (python-shell-send-region, python-shell-send-buffer): Use it.
6145
6146 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6149 * net/tramp.el (tramp-user-error): ... here.
6150 (tramp-find-method, tramp-check-proper-host)
6151 (tramp-dissect-file-name, tramp-debug-message)
6152 (tramp-handle-shell-command):
6153 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6155
6156 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6157
6158 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6159
6160 * avoid.el (mouse-avoidance-point-position)
6161 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6162 returns nil.
6163
6164 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6165
6166 * progmodes/python.el (python-shell-completion-get-completions):
6167 Drop use of deleted `comint-last-prompt-overlay'.
6168 (python-nav-if-name-main): New command.
6169
6170 2013-09-01 Glenn Morris <rgm@gnu.org>
6171
6172 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6173 Avoid leading space in $wins. Otherwise the sed command used by
6174 eg compile-main ends up containing "/*.el". (Bug#15170)
6175
6176 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6177
6178 2013-08-30 Glenn Morris <rgm@gnu.org>
6179
6180 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6181 Fix is-this-a-directory logic. (Bug#15220)
6182
6183 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * textmodes/css-mode.el: Use SMIE.
6186 (css-smie-grammar): New var.
6187 (css-smie--forward-token, css-smie--backward-token)
6188 (css-smie-rules): New functions.
6189 (css-mode): Use them.
6190 (css-navigation-syntax-table): Remove var.
6191 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6192 (css-indent-calculate, css-indent-line): Remove functions.
6193
6194 Misc changes to reduce use of `(lambda...); and other cleanups.
6195 * cus-edit.el: Use lexical-binding.
6196 (customize-push-and-save, customize-apropos)
6197 (custom-buffer-create-internal): Use closures.
6198 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6199 * progmodes/ada-xref.el: Use setq.
6200 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6201 * dframe.el: Use lexical-binding.
6202 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6203 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6204 * descr-text.el: Use lexical-binding.
6205 (describe-text-widget, describe-text-sexp, describe-property-list):
6206 Use closures.
6207 * comint.el (comint-history-isearch-push-state): Use a closure.
6208 * calculator.el: Use lexical-binding.
6209 (calculator-number-to-string): Make it work with lexical-binding.
6210 (calculator-funcall): Same and use cl-letf.
6211
6212 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6213 (lisp--company-doc-string, lisp--company-location): New functions.
6214 (lisp-completion-at-point): Use them to improve Company support.
6215
6216 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6217 params of lambda expressions.
6218 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6219 (ruby-smie--opening-pipe-p): New function.
6220 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6221 symbols and matched |...| for formal params.
6222 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6223 from being treated as hanging. Handle "rescue".
6224
6225 2013-08-29 Glenn Morris <rgm@gnu.org>
6226
6227 * progmodes/cc-engine.el (c-pull-open-brace):
6228 Move definition before use.
6229
6230 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6233 are immutable. Don't use `unsafe' any more.
6234 (cl--defsubst-expand): Don't substitute at the same time as keeping
6235 a residual unused let-binding. Don't use `unsafe' any more.
6236
6237 2013-08-29 Glenn Morris <rgm@gnu.org>
6238
6239 * calendar/cal-china.el (calendar-chinese-year-cache):
6240 Recenter on 2015.
6241
6242 * nxml/nxml-util.el (nxml-debug-clear-inside):
6243 Use cl-loop rather than loop.
6244
6245 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6246
6247 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6248
6249 2013-08-28 Glenn Morris <rgm@gnu.org>
6250
6251 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6252
6253 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6254
6255 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6256
6257 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * simple.el (repeat-complex-command--called-interactively-skip):
6260 New function.
6261 (repeat-complex-command): Use it (bug#14136).
6262
6263 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6264 (c-define-abbrev-table): Add `doc' argument.
6265 (c-mode-abbrev-table, c++-mode-abbrev-table)
6266 (objc-mode-abbrev-table, java-mode-abbrev-table)
6267 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6268 (awk-mode-abbrev-table): Use it.
6269 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6270 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6271 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6272 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6273 Move initialization into the declaration; and remove any
6274 autoload cookie.
6275
6276 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6277 and dynamic let binding.
6278
6279 * vc/smerge-mode.el: Remove redundant :group args.
6280
6281 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6282 to load-path.
6283
6284 2013-08-28 Juri Linkov <juri@jurta.org>
6285
6286 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6287 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6288 (isearch-other-meta-char): Handle an undefined shifted printing
6289 character by downshifting it. (Bug#15200)
6290
6291 2013-08-28 Juri Linkov <juri@jurta.org>
6292
6293 * isearch.el (isearch-search): Change regexp error message for
6294 non-regexp searches. (Bug#15166)
6295
6296 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6297
6298 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6299 for portability to hosts where /bin/sh has problems.
6300
6301 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6304
6305 2013-08-27 Juri Linkov <juri@jurta.org>
6306
6307 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6308 in the keyboard macro. (Bug#15126)
6309
6310 2013-08-27 Juri Linkov <juri@jurta.org>
6311
6312 * isearch.el (isearch-quote-char): Comment out converting unibyte
6313 to multibyte, thus syncing with its `quoted-insert' counterpart.
6314 (Bug#15166)
6315
6316 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6317
6318 * window.el (display-buffer-use-some-window): Add missing
6319 argument in call of get-largest-window (Bug#15185).
6320 Reported by Stephen Leake.
6321
6322 2013-08-27 Glenn Morris <rgm@gnu.org>
6323
6324 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6325
6326 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6329 from a matcher-function unless there's no more matches (bug#15161).
6330
6331 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6332
6333 * minibuffer.el: Revert change from 2013-08-20.
6334
6335 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6336 with text property `tramp-default', if appropriate.
6337 (tramp-check-proper-host): New defun.
6338 (tramp-dissect-file-name): Do not check hostname. Revert change
6339 of 2013-03-18.
6340 (tramp-backtrace): Make VEC-OR-PROC optional.
6341
6342 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6343 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6344 * net/tramp-sh.el (tramp-maybe-open-connection):
6345 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6346 Apply `tramp-check-proper-host'.
6347
6348 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6349
6350 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6351 lambda expression in order to have `describe-variable' display it.
6352
6353 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6354
6355 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6356 BUF can be optional. (Bug#15186)
6357
6358 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6359
6360 * progmodes/flymake.el (flymake-get-real-file-name-function):
6361 Fix broken customization. (Bug#15184)
6362
6363 2013-08-25 Alan Mackenzie <acm@muc.de>
6364
6365 Improve indentation of bracelists defined by macros (without "=").
6366
6367 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6368 expansion begins with "{", regard it as bracelist when it doesn't
6369 contain a ";".
6370
6371 Parse C++ inher-intro when there's a template split over 2 lines.
6372
6373 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6374 rigorously the search for "class" etc. followed by ":".
6375
6376 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6377 random languages a regexp which never matches rather than nil.
6378
6379 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6380
6381 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6382 (c-awk-regexp-one-line-possibly-open-char-list-re)
6383 (c-awk-one-line-possibly-open-regexp-re)
6384 (c-awk-one-line-non-syn-ws*-re): Remove.
6385 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6386 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6387 (c-awk-space*-unclosed-regexp-/-re): New constants.
6388 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6389 aren't regexp delimiters.
6390
6391 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6392 handling for a rare situation in AWK Mode involving unterminated
6393 strings/regexps.
6394
6395 2013-08-23 Glenn Morris <rgm@gnu.org>
6396
6397 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6398
6399 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6400
6401 * files.el (create-file-buffer): If the result would begin with
6402 spaces, prepend a "|" instead of removing them. (Bug#15162)
6403
6404 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6407 text-properties (bug#15155).
6408
6409 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6410 exist any more.
6411 (calc-keypad-redraw): Remove unused var `pad'.
6412 (calc-keypad-press): Remove unused var `menu'.
6413
6414 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6415
6416 * window.el (display-buffer-pop-up-frame):
6417 Call pop-up-frame-function with BUFFER current so `make-frame' will
6418 use it as the new frame's buffer (Bug#15133).
6419
6420 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * calendar/timeclock.el: Minor cleanups.
6423 (timeclock-ask-before-exiting, timeclock-use-display-time):
6424 Use `symbol'.
6425 (timeclock-modeline-display): Define as alias before the
6426 actual definition.
6427 (timeclock-mode-line-display): Use define-minor-mode.
6428 (timeclock-day-list-template): Make it a function, add an argument.
6429 (timeclock-day-list-required, timeclock-day-list-length)
6430 (timeclock-day-list-debt, timeclock-day-list-span)
6431 (timeclock-day-list-break): Adjust calls accordingly.
6432
6433 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6436 Use read--expression so that completion works again.
6437
6438 2013-08-21 Sam Steingold <sds@gnu.org>
6439
6440 Add rudimentary inferior shell interaction
6441 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6442 (sh-set-shell): Reset it.
6443 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6444 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6445
6446 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * align.el: Use lexical-binding.
6449 (align-region): Simplify accordingly.
6450
6451 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6452
6453 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6454
6455 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6456 `non-essential' up.
6457
6458 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * net/tramp.el:
6461 * net/tramp-adb.el:
6462 * net/tramp-cmds.el:
6463 * net/tramp-ftp.el:
6464 * net/tramp-gvfs.el:
6465 * net/tramp-gw.el:
6466 * net/tramp-sh.el: Don't wrap external variable declarations by
6467 `eval-when-compile'.
6468
6469 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6470
6471 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6472 now that Emacs supports ImageMagick animations.
6473
6474 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6475
6476 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6477 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6478
6479 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6480
6481 * window.el (mouse-autoselect-window-select): Do autoselect when
6482 mouse pointer is on margin.
6483
6484 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6485
6486 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6487
6488 2013-08-16 Glenn Morris <rgm@gnu.org>
6489
6490 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6491 Handle "Remote Directory" response of some clients. (Bug#15058)
6492
6493 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6494 Tweak warning. (Bug#14926)
6495
6496 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6497 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6498
6499 * image-mode.el (image-mode-map): Add menu items to reverse,
6500 increase, decrease, reset animation speed.
6501 (image--set-speed, image-increase-speed, image-decrease-speed)
6502 (image-reverse-speed, image-reset-speed): New functions.
6503 (image-mode-map): Add bindings for speed commands.
6504
6505 * image.el (image-animate-get-speed, image-animate-set-speed):
6506 New functions.
6507 (image-animate-timeout): Respect image :speed property.
6508
6509 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6512 previous line (bug#15101).
6513 (debugger-eval-expression, debugger-record-expression):
6514 Use read--expression (bug#15102).
6515
6516 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6517
6518 Remove byte compiler warnings, visible when compiling with
6519 `byte-compile-force-lexical-warnings' set to t.
6520
6521 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6522 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6523 (tramp-handle-unhandled-file-name-directory)
6524 (tramp-handle-file-notify-add-watch, tramp-action-login)
6525 (tramp-action-succeed, tramp-action-permission-denied)
6526 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6527 arguments with "_".
6528
6529 * net/tramp-adb.el (tramp-adb-parse-device-names)
6530 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6531 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6532 (tramp-adb-handle-file-truename): Remove unused arguments.
6533
6534 * net/tramp-cache.el (tramp-flush-directory-property)
6535 (tramp-flush-connection-property, tramp-list-connections)
6536 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6537
6538 * net/tramp-compat.el (tramp-compat-make-temp-file):
6539 Rename FILENAME to F.
6540
6541 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6542 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6543 (tramp-zeroconf-parse-workstation-device-names)
6544 (tramp-zeroconf-parse-webdav-device-names)
6545 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6546
6547 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6548 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6549
6550 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6551 arguments.
6552 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6553 (tramp-sh-handle-insert-file-contents-literally)
6554 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6555 with "_".
6556 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6557 Remove unused variables.
6558
6559 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6560 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6561 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6562
6563 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6564 Make them a defconst.
6565 (tramp-uuencode-region): Remove unused variable.
6566
6567 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6568
6569 * frameset.el (frameset--prop-setter): New function.
6570 (frameset-prop): Add gv-setter declaration.
6571 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6572 parameter was already set in FILTERED. Doc fix.
6573 (frameset--record-minibuffer-relationships): Allow saving a
6574 minibufferless frame without its corresponding minibuffer frame.
6575 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6576 frame, if the frame id matches.
6577 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6578 frames before orphaned ones.
6579 (frameset-restore): Warn about orphaned windows, instead of error out.
6580
6581 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6582
6583 * window.el (window-make-atom): Don't overwrite parameter
6584 already present.
6585 (display-buffer-in-atom-window): Handle special case where we
6586 split an already atomic window.
6587 (window--major-non-side-window, display-buffer-in-side-window)
6588 (window--side-check): Ignore minibuffer window when walking
6589 window tree.
6590 (window-deletable-p): Return 'frame only if no other frame uses
6591 our minibuffer window.
6592 (record-window-buffer): Run buffer-list-update-hook.
6593 (split-window): Make sure window--check-frame won't destroy an
6594 existing atomic window in case the new window gets nested
6595 inside.
6596 (display-buffer-at-bottom): Ignore minibuffer window when
6597 walking window tree. Don't split a side window.
6598 (pop-to-buffer): Don't set-buffer here, the select-window call
6599 should do that.
6600 (mouse-autoselect-window-select): Autoselect only if we are in the
6601 text portion of the window.
6602
6603 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6604
6605 * net/shr.el (shr-parse-image-data): New function to grab both the
6606 data itself and the Content-Type.
6607 (shr-put-image): Use it.
6608
6609 * net/eww.el (eww-display-image): Ditto.
6610
6611 * image.el (image-content-type-suffixes): New variable.
6612
6613 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6614
6615 * progmodes/python.el (python-imenu--build-tree)
6616 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6617
6618 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6619
6620 * simple.el (backward-word): Mention the optional argument.
6621
6622 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * frameset.el (frameset--make): Rename constructor from make-frameset.
6625 (frameset-p, frameset-valid-p): Don't autoload.
6626 (frameset-valid-p): Use normal accessors.
6627
6628 2013-08-13 Glenn Morris <rgm@gnu.org>
6629
6630 * progmodes/compile.el (compile-command): Tweak example in doc.
6631 * obsolete/scribe.el (scribe-mode):
6632 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6633
6634 * mail/feedmail.el (feedmail-confirm-outgoing)
6635 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6636
6637 * cus-start.el (truncate-partial-width-windows): Fix type.
6638
6639 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6640
6641 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6642
6643 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * emacs-lisp/timer.el (timer--time-setter): New function.
6646 (timer--time): Use it as gv-setter.
6647
6648 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6649 setter is not a symbol.
6650
6651 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6652
6653 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6654 if sending fails. This makes debugging easier.
6655
6656 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6657
6658 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6659 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6660 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6661
6662 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6663
6664 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6665
6666 2013-08-12 Glenn Morris <rgm@gnu.org>
6667
6668 * format.el (format-annotate-function):
6669 Handle read-only text properties in the source. (Bug#14887)
6670
6671 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6672
6673 * net/eww.el (eww-display-html): Ignore coding system errors.
6674 One web site uses "utf-8lias" as the coding system.
6675
6676 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6677
6678 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6679
6680 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6681
6682 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6683 (tutorial--detailed-help): Remove unused local variables.
6684 (tutorial--save-tutorial-to): Use ignore-errors.
6685 (help-with-tutorial): Use looking-at-p.
6686
6687 * view.el (view-buffer-other-window, view-buffer-other-frame):
6688 Mark unused arguments.
6689
6690 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6691 (woman-select-symbol-fonts, woman, woman-find-file)
6692 (woman-insert-file-contents, woman-non-underline-faces):
6693 Use string-match-p.
6694 (woman1-unquote): Move declaration.
6695
6696 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6697 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6698 argument. Remove unused local variable.
6699 (xml-parse-elem-type): Use string-match-p.
6700 (xml-substitute-numeric-entities): Use ignore-errors.
6701
6702 * calculator.el (calculator): Mark unused argument.
6703 (calculator-paste, calculator-quit, calculator-integer-p):
6704 Use ignore-errors.
6705 (calculator-string-to-number, calculator-decimal, calculator-exp)
6706 (calculator-op-or-exp): Use string-match-p.
6707
6708 * dired.el (dired-buffer-more-recently-used-p): Declare.
6709 (dired-insert-set-properties, dired-insert-old-subdirs):
6710 Use ignore-errors.
6711
6712 * dired-aux.el (dired-compress): Use ignore-errors.
6713 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6714 (dired-do-async-shell-command, dired-do-shell-command)
6715 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6716 (dired-insert-subdir-validate): Use string-match-p.
6717 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6718 (dired-add-entry): Use string-match-p, looking-at-p.
6719 (dired-insert-subdir-newpos): Remove unused local variable.
6720
6721 * filenotify.el (file-notify-callback): Remove unused local variable.
6722
6723 * filesets.el (filesets-error): Mark unused argument.
6724 (filesets-which-command-p, filesets-filter-dir-names)
6725 (filesets-directory-files, filesets-get-external-viewer)
6726 (filesets-ingroup-get-data): Use string-match-p.
6727
6728 * find-file.el (ff-other-file-name, ff-other-file-name)
6729 (ff-find-the-other-file, ff-cc-hh-converter):
6730 Remove unused local variables.
6731 (ff-get-file-name): Use string-match-p.
6732 (ff-all-dirs-under): Use ignore-errors.
6733
6734 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6735 (follow-select-if-visible): Remove unused local variable.
6736
6737 * forms.el (read-file-filter): Move declaration.
6738 (forms--make-format, forms--make-parser, forms-insert-record):
6739 Quote function with #'.
6740 (forms--update): Use string-match-p. Quote function with #'.
6741
6742 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6743 (help-make-xrefs): Use looking-at-p.
6744 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6745
6746 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6747 (ibuffer-confirm-operation-on): Use string-match-p.
6748
6749 * msb.el (msb-item-handler, msb-dired-item-handler):
6750 Mark unused arguments.
6751
6752 * ses.el (ses-decode-cell-symbol)
6753 (ses-kill-override): Remove unused local variable.
6754 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6755 (ses-load): Use ignore-errors, looking-at-p.
6756 (ses-jump-safe): Use ignore-errors.
6757 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6758
6759 * tabify.el (untabify, tabify): Mark unused arguments.
6760
6761 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6762 Mark unused argument.
6763 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6764 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6765
6766 * emacs-lisp/timer.el (timer--time): Define setter with
6767 gv-define-setter to avoid deprecation warning.
6768
6769 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6770 (*record-cmpl-statistics-p*): Remove (was commented out).
6771 (cmpl-statistics-block): Remove (body was commented out).
6772 All callers changed.
6773 (add-completions-from-buffer, load-completions-from-file):
6774 Remove unused variables.
6775
6776 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6777
6778 * filecache.el (file-cache-delete-file-list):
6779 Print message only when told so.
6780 (file-cache-files-matching): Use #' in mapconcat argument.
6781
6782 * ffap.el (ffap-url-at-point): Fix reference to variable
6783 thing-at-point-default-mail-uri-scheme.
6784
6785 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * subr.el (define-error): New function.
6788 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6789 error-file-not-found and define with define-error.
6790 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6791 and define with define-error.
6792 * userlock.el (file-locked, file-supersession):
6793 * simple.el (mark-inactive):
6794 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6795 * progmodes/ada-mode.el (ada-mode-errors):
6796 * play/life.el (life-extinct):
6797 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6798 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6799 * nxml/rng-util.el (rng-error):
6800 * nxml/rng-uri.el (rng-uri-error):
6801 * nxml/rng-match.el (rng-compile-error):
6802 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6803 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6804 * nxml/nxml-rap.el (nxml-scan-error):
6805 * nxml/nxml-outln.el (nxml-outline-error):
6806 * net/soap-client.el (soap-error):
6807 * net/gnutls.el (gnutls-error):
6808 * net/ange-ftp.el (ftp-error):
6809 * mpc.el (mpc-proc-error):
6810 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6811 (json-number-format, json-string-escape, json-string-format)
6812 (json-key-format, json-object-format):
6813 * jka-compr.el (compression-error):
6814 * international/quail.el (quail-error):
6815 * international/kkc.el (kkc-error):
6816 * emacs-lisp/ert.el (ert-test-failed):
6817 * calc/calc.el (calc-error, inexact-result, math-overflow)
6818 (math-underflow):
6819 * bookmark.el (bookmark-error-no-filename):
6820 * epg.el (epg-error): Define with define-error.
6821
6822 * time.el (display-time-event-handler)
6823 (display-time-next-load-average): Don't call sit-for since it seems
6824 unnecessary (bug#15045).
6825
6826 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6827 Use #' instead of ' to quote functions.
6828 (checkdoc-output-mode): Use setq-local.
6829 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6830 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6831 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6832 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6833 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6834 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6835 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6836 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6837
6838 * ido.el (ido-completion-help): Fix up compiler warning.
6839
6840 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * frameset.el (frameset-p): Add autoload cookie.
6843 (frameset--jump-to-register): New function, based on code moved from
6844 register.el.
6845 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6846
6847 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6848 (frameset-restore, frameset-save, frameset-session-filter-alist):
6849 Remove declarations.
6850 (register-alist): Doc fix.
6851 (frameset-to-register): Move to frameset.el.
6852 (jump-to-register, describe-register-1): Remove frameset-specific code.
6853
6854 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6855
6856 * allout-widgets.el (allout-widgets-pre-command-business)
6857 (allout-widgets-post-command-business)
6858 (allout-widgets-after-change-handler)
6859 (allout-decorate-item-and-context, allout-set-boundary-marker)
6860 (allout-body-modification-handler)
6861 (allout-graphics-modification-handler): Mark ignored arguments.
6862 (allout-widgets-post-command-business)
6863 (allout-widgets-exposure-change-processor)
6864 (allout-widgets-exposure-undo-processor)
6865 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6866 (allout-parse-item-at-point, allout-decorate-item-guides)
6867 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6868 * allout.el (epa-passphrase-callback-function): Declare.
6869 (allout-overlay-insert-in-front-handler)
6870 (allout-overlay-interior-modification-handler)
6871 (allout-isearch-end-handler, allout-chart-siblings)
6872 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6873 (allout-yank-processing, allout-process-exposed)
6874 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6875 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6876 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6877 (lisp-indent-defform): Mark ignored arguments.
6878 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6879 (calculate-lisp-indent): Remove unused variables.
6880 * international/characters.el (indian-2-column, arabic-2-column)
6881 (tibetan): Mark ignored arguments.
6882 (use-cjk-char-width-table): Mark ignored arguments.
6883 Remove unused variables.
6884 * international/fontset.el (build-default-fontset-data)
6885 (x-compose-font-name, create-fontset-from-fontset-spec):
6886 Mark ignored arguments.
6887 (fontset-plain-name): Remove unused variables.
6888 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6889 (keyboard-coding-system): Mark ignored arguments.
6890 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6891 * help.el (resize-temp-buffer-window):
6892 * window.el (display-buffer-in-major-side-window)
6893 (display-buffer-in-side-window, display-buffer-in-previous-window):
6894 Remove unused variables.
6895 * isearch.el (isearch-forward-symbol):
6896 * version.el (emacs-bzr-version-bzr):
6897 * international/mule-cmds.el (current-language-environment):
6898 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6899 (x-handle-display):
6900 * term/pc-win.el (x-list-fonts, x-display-planes)
6901 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6902 (x-server-version, x-display-screens, x-display-mm-height)
6903 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6904 (x-selection-owner-p, x-own-selection-internal)
6905 (x-disown-selection-internal, x-get-selection-internal)
6906 (msdos-initialize-window-system):
6907 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6908 * term/x-win.el (x-handle-no-bitmap-icon):
6909 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6910 (vc-default-find-file-hook, vc-default-extra-menu):
6911 Mark ignored arguments.
6912
6913 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6916 break-condition in the context of the debugged code (bug#12685).
6917
6918 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6919
6920 * comint.el:
6921 Do not use an overlay to highlight the last prompt. (Bug#14744)
6922 (comint-mode): Make comint-last-prompt buffer local.
6923 (comint-last-prompt): New variable.
6924 (comint-last-prompt-overlay): Remove. Superseded by
6925 comint-last-prompt.
6926 (comint-snapshot-last-prompt, comint-output-filter):
6927 Use comint-last-prompt.
6928
6929 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6932 (frameset-save): Check validity of the resulting frameset.
6933
6934 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6935
6936 * ido.el (ido-record-command): Add doc string.
6937
6938 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * frameset.el (frameset): Do not disable creation of the default
6941 frameset-p predicate. Doc fix.
6942 (frameset-valid-p): New function, copied from the old predicate-p.
6943 Add additional checks.
6944 (frameset-restore): Check with frameset-valid-p.
6945 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6946 (frameset-name, frameset-description, frameset-properties)
6947 (frameset-states): Add docstring.
6948 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6949 (frameset-filter-alist): Doc fixes.
6950
6951 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6954
6955 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6958 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6959 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6960 (byte-compile-normal-call): Remove obsolescence check.
6961
6962 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * frameset.el (frameset-restore): Doc fix.
6965
6966 * register.el (frameset-frame-id, frameset-frame-with-id)
6967 (frameset-p, frameset-restore, frameset-save): Declare.
6968 (register-alist): Document framesets.
6969 (frameset-session-filter-alist): Declare.
6970 (frameset-to-register): New function.
6971 (jump-to-register): Implement jumping to framesets. Doc fix.
6972 (describe-register-1): Describe framesets.
6973
6974 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6975
6976 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6977
6978 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6979 Use lexical-binding.
6980
6981 * frameset.el (frameset): Use type vector, not list (incompatible
6982 change). Do not declare a new constructor, use the default one.
6983 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6984 `name' and `description', respectively, and add read-only slot
6985 `timestamp'. Doc fixes.
6986 (frameset-copy, frameset-persistent-filter-alist)
6987 (frameset-filter-alist, frameset-switch-to-gui-p)
6988 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6989 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6990 (frameset-filter-iconified, frameset-keep-original-display-p):
6991 Doc fixes.
6992 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6993 Rename from frameset-filter-(save|restore)-param. All callers changed.
6994 Doc fix.
6995 (frameset-p): Adapt to change to vector and be more thorough.
6996 Change arg name to OBJECT. Doc fix.
6997 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6998 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6999 All callers changed.
7000 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7001 All callers changed.
7002 (frameset--record-minibuffer-relationships): Rename from
7003 frameset--process-minibuffer-frames. All callers changed.
7004 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7005 Use new default constructor (again). Doc fix.
7006 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7007 All callers changed.
7008 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7009 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7010 Doc fix.
7011 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7012 PARAMETERS and WINDOW-STATE, respectively.
7013 (frameset-restore): Add new keyword argument PREDICATE.
7014 Reset frameset--target-display to nil. Doc fix.
7015
7016 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7019 (bat-mode): Use it.
7020 (bat-mode-syntax-table): Mark \n as end-of-comment.
7021 (bat-font-lock-keywords): Remove comment rule.
7022
7023 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7024 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7025
7026 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7027 (byte-compile-callargs-warn): Use `push'.
7028 (byte-compile-arglist-warn): Ignore higher-order "calls".
7029 (byte-compile-file-form-autoload): Use `pcase'.
7030 (byte-compile-function-form): If quoting a symbol, check that it exists.
7031
7032 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7033
7034 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7035 and add a few popular commands found in batch files.
7036 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7037 (dos-mode): Doc fixes.
7038
7039 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7042 (dos-mode): Use setq-local. Add space after "rem".
7043 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7044 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7045
7046 2013-08-07 Arni Magnusson <arnima@hafro.is>
7047
7048 * progmodes/dos.el: New file.
7049 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7050 dos-mode.
7051
7052 2013-08-06 Glenn Morris <rgm@gnu.org>
7053
7054 * calendar/calendar.el: Add new faces, and day-header-array.
7055 (calendar-weekday-header, calendar-weekend-header)
7056 (calendar-month-header): New faces.
7057 (calendar-day-header-construct): New function.
7058 (calendar-day-header-width): Also :set calendar-day-header-array.
7059 (calendar-american-month-header, calendar-european-month-header)
7060 (calendar-iso-month-header): Use calendar- faces.
7061 (calendar-generate-month):
7062 Use calendar-day-header-array for day headers; apply faces to them.
7063 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7064 (calendar-abbrev-construct): Add optional maxlen argument.
7065 (calendar-day-name-array): Doc fix.
7066 (calendar-day-name-array, calendar-abbrev-length)
7067 (calendar-day-abbrev-array):
7068 Also :set calendar-day-header-array, and maybe redraw.
7069 (calendar-day-header-array): New option. (Bug#15007)
7070 (calendar-font-lock-keywords): Set to nil and make obsolete.
7071 (calendar-day-name): Add option to use header array.
7072
7073 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7074
7075 * net/shr.el (shr-render-td): Remove debugging.
7076 (shr-render-td): Make width computation consistent by defaulting
7077 all zero-width columns to 10 characters. This may not be optimal,
7078 but it's at least consistent.
7079 (shr-make-table-1): Redo last change to fix the real problem in
7080 colspan handling.
7081
7082 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7083
7084 * files.el (cache-long-line-scans):
7085 Make obsolete alias to `cache-long-scans'.
7086
7087 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7088
7089 * frameset.el (frameset, frameset-filter-alist)
7090 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7091 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7092 (frameset-compute-pos): Rename from frameset--compute-pos,
7093 and add docstring.
7094 (frameset-move-onscreen): Use frameset-compute-pos.
7095 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7096
7097 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7098 Fix typos in docstrings.
7099
7100 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7101
7102 * frame.el (get-other-frame): Tiny cleanup.
7103
7104 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7105
7106 * vc/vc.el (vc-default-ignore-completion-table):
7107 Silence byte-compiler warning.
7108
7109 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7110 slot, which can indeed be nil.
7111 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7112 Move entry for `left' from persistent to live filter alist.
7113 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7114 Doc fixes.
7115 (frameset-filter-params): When restoring a frame, copy items added to
7116 `filtered', to avoid unwittingly modifying the original parameters.
7117 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7118 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7119
7120 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7121 to use looking-at-p instead of looking-at. (Bug#15028)
7122
7123 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 Revert introduction of isearch-filter-predicates (bug#14714).
7126 Rely on add-function instead.
7127 * isearch.el (isearch-filter-predicates): Rename it back to
7128 isearch-filter-predicate.
7129 (isearch-message-prefix): Use advice-function-mapc and advice
7130 properties to get the isearch-message-prefix.
7131 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7132 instead of run-hook-with-args-until-failure.
7133 (isearch-filter-visible): Not obsolete any more.
7134 * loadup.el: Preload nadvice.
7135 * replace.el (perform-replace): Revert to funcall
7136 instead of run-hook-with-args-until-failure.
7137 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7138 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7139 dired-isearch-filenames-toggle; make it into a proper minor mode.
7140 Use add/remove-function.
7141 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7142 Call the minor-mode rather than add/remove-hook.
7143 (dired-isearch-filter-filenames):
7144 Remove isearch-message-prefix property.
7145 * info.el (Info--search-loop): New function, extracted from Info-search.
7146 Funcall isearch-filter-predicate instead of
7147 run-hook-with-args-until-failure isearch-filter-predicates.
7148 (Info-search): Use it.
7149 (Info-mode): Use isearch-filter-predicate instead of
7150 isearch-filter-predicates.
7151
7152 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7153
7154 Do not call to `selected-window' where it is assumed by default.
7155 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7156 `window-hscroll', `window-width', `window-height', `window-buffer',
7157 `window-frame', `window-start', `window-point', `next-window'
7158 and `window-display-table'.
7159 * abbrev.el (abbrev--default-expand):
7160 * bs.el (bs--show-with-configuration):
7161 * buff-menu.el (Buffer-menu-mouse-select):
7162 * calc/calc.el (calc):
7163 * calendar/calendar.el (calendar-generate-window):
7164 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7165 (diary-make-entry):
7166 * comint.el (send-invisible, comint-dynamic-complete-filename)
7167 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7168 * completion.el (complete):
7169 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7170 * disp-table.el (describe-current-display-table):
7171 * doc-view.el (doc-view-insert-image):
7172 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7173 * ehelp.el (with-electric-help):
7174 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7175 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7176 * emacs-lisp/helper.el (Helper-help-scroller):
7177 * emulation/cua-base.el (cua--post-command-handler-1):
7178 * eshell/esh-mode.el (eshell-output-filter):
7179 * ffap.el (ffap-gnus-wrapper):
7180 * help-macro.el (make-help-screen):
7181 * hilit-chg.el (highlight-compare-buffers):
7182 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7183 * hl-line.el (global-hl-line-highlight):
7184 * icomplete.el (icomplete-simple-completing-p):
7185 * isearch.el (isearch-done):
7186 * jit-lock.el (jit-lock-stealth-fontify):
7187 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7188 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7189 * mpc.el (mpc-tagbrowser, mpc):
7190 * net/rcirc.el (rcirc-any-buffer):
7191 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7192 * play/landmark.el (landmark-max-width, landmark-max-height):
7193 * play/zone.el (zone):
7194 * progmodes/compile.el (compilation-goto-locus):
7195 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7196 * progmodes/etags.el (find-tag-other-window):
7197 * progmodes/fortran.el (fortran-column-ruler):
7198 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7199 * progmodes/verilog-mode.el (verilog-point-text):
7200 * reposition.el (reposition-window):
7201 * rot13.el (toggle-rot13-mode):
7202 * server.el (server-switch-buffer):
7203 * shell.el (shell-dynamic-complete-command)
7204 (shell-dynamic-complete-environment-variable):
7205 * simple.el (insert-buffer, set-selective-display)
7206 (delete-completion-window):
7207 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7208 (speedbar-recenter):
7209 * startup.el (fancy-splash-head):
7210 * textmodes/ispell.el (ispell-command-loop):
7211 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7212 * tutorial.el (help-with-tutorial):
7213 * vc/add-log.el (add-change-log-entry):
7214 * vc/compare-w.el (compare-windows):
7215 * vc/ediff-help.el (ediff-indent-help-message):
7216 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7217 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7218 (ediff-setup-control-frame):
7219 * vc/emerge.el (emerge-position-region):
7220 * vc/pcvs-util.el (cvs-bury-buffer):
7221 * window.el (walk-windows, mouse-autoselect-window-select):
7222 * winner.el (winner-set-conf, winner-undo): Related users changed.
7223
7224 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7225
7226 * frameset.el (frameset--set-id): Doc fix.
7227 (frameset-frame-id, frameset-frame-id-equal-p)
7228 (frameset-locate-frame-id): New functions.
7229 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7230 (frameset-restore): Use them.
7231
7232 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7233
7234 Do not call to `selected-frame' where it is assumed by default.
7235 Affected functions are `raise-frame', `redraw-frame',
7236 `frame-first-window', `frame-terminal' and `delete-frame'.
7237 * calendar/appt.el (appt-disp-window):
7238 * epg.el (epg-wait-for-completion):
7239 * follow.el (follow-delete-other-windows-and-split)
7240 (follow-avoid-tail-recenter):
7241 * international/mule.el (set-terminal-coding-system):
7242 * mail/rmail.el (rmail-mail-return):
7243 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7244 * progmodes/f90.el (f90-add-imenu-menu):
7245 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7246 * server.el (server-switch-buffer):
7247 * simple.el (delete-completion-window):
7248 * talk.el (talk):
7249 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7250 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7251 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7252 * vc/ediff.el (ediff-documentation): Related users changed.
7253 * frame.el (selected-terminal): Remove the leftover.
7254
7255 2013-08-05 Glenn Morris <rgm@gnu.org>
7256
7257 * calendar/calendar.el (calendar-generate-month):
7258 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7259 (calendar-generate-month, calendar-font-lock-keywords):
7260 Fix for calendar-day-header-width > length of any day name.
7261
7262 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7263
7264 * desktop.el (desktop-clear): Use new name of sort predicate.
7265
7266 * frameset.el (frameset): Add docstring. Move :version property to its
7267 own `version' slot.
7268 (frameset-copy): Rename from copy-frameset.
7269 (frameset-p): Check more thoroughly.
7270 (frameset-prop): Do not check for :version, which is no longer a prop.
7271 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7272 Use new :never value instead of t.
7273 (frameset-filter-alist): Expand and clarify docstring.
7274 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7275 (frameset-filter-minibuffer, frameset-filter-save-param)
7276 (frameset-filter-restore-param, frameset-filter-iconified):
7277 Add pointer to docstring of frameset-filter-alist.
7278 (frameset-filter-params): Rename filter values to be more meaningful:
7279 :never instead of t, and reverse the meanings of :save and :restore.
7280 (frameset--process-minibuffer-frames): Clarify error message.
7281 (frameset-save): Avoid unnecessary and confusing call to framep.
7282 Use new BOA constructor for framesets.
7283 (frameset--reuse-list): Doc fix.
7284 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7285 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7286 (frameset-minibufferless-first-p): Doc fix.
7287 Rename from frameset-sort-frames-for-deletion.
7288 (frameset-restore): Doc fixes. Use new function names.
7289 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7290
7291 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7292
7293 * desktop.el (desktop-restore-forces-onscreen)
7294 (desktop-restore-reuses-frames): Document :keyword constant values.
7295 (desktop-filter-parameters-alist): Remove, now identical to
7296 frameset-filter-alist.
7297 (desktop--filter-tty*): Remove, moved to frameset.el.
7298 (desktop-save-frameset, desktop-restore-frameset):
7299 Do not pass :filters argument.
7300
7301 * frameset.el (frameset-live-filter-alist)
7302 (frameset-persistent-filter-alist): New variables.
7303 (frameset-filter-alist): Use them. Add autoload cookie.
7304 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7305 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7306 `frameset--id' (it's supposed to be internal to frameset.el).
7307 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7308 (frameset--initial-params): New function.
7309 (frameset--get-frame): Use it. Doc fix.
7310 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7311 Accept :all, not 'all.
7312 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7313 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7314 with fbound symbols. Fix frame id matching, and remove matching ids if
7315 the frame being restored is deleted. Obey :delete.
7316
7317 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * subr.el (macrop): New function.
7320 (text-clone--maintaining): New var.
7321 (text-clone--maintain): Rename from text-clone-maintain. Use it
7322 instead of inhibit-modification-hooks.
7323
7324 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7325 a proxy, so as handle autoloads and redefinitions of the target.
7326 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7327
7328 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7329 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7330 (pcase--mutually-exclusive-p): New function.
7331 (pcase--split-consp): Use it.
7332 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7333 mutually exclusive with the current predicate.
7334
7335 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7336 (edebug-macrop): Remove. Use `macrop' instead.
7337 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7338 (ad-macro-p):
7339 * eshell/esh-cmd.el (eshell-macrop):
7340 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7341
7342 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7345 (advice-mapc): New function, using it.
7346 (advice-function-member-p): New function.
7347 (advice--normalize): Store the cdr in advice--saved-rewrite since
7348 that's the part that will be changed.
7349 (advice--symbol-function): New function.
7350 (advice-remove): Handle removal before the function is defined.
7351 Adjust to new advice--saved-rewrite.
7352 (advice-member-p): Use advice-function-member-p and
7353 advice--symbol-function.
7354
7355 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7358 (frameset-filter-minibuffer): Doc fix.
7359 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7360 (frameset--set-id, frameset--process-minibuffer-frames)
7361 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7362 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7363
7364 * desktop.el (desktop-clear): Only delete frames when called
7365 interactively and desktop-restore-frames is non-nil. Doc fix.
7366 (desktop-read): Set desktop-saved-frameset to nil.
7367
7368 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7369
7370 * vc/vc.el (vc-ignore): Rewrite.
7371 (vc-default-ignore-completion-table):
7372 (vc--read-lines):
7373 (vc--add-line, vc--remove-regexp): New functions.
7374
7375 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7376 (vc-svn-ignore-completion-table): New function.
7377
7378 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7379 (vc-hg-ignore-completion-table):
7380 (vc-hg-find-ignore-file): New functions.
7381
7382 * vc/vc-git.el (vc-git-ignore): Rewrite.
7383 (vc-git-ignore-completion-table):
7384 (vc-git-find-ignore-file): New functions.
7385
7386 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7387
7388 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7389 (vc-bzr-ignore-completion-table):
7390 (vc-bzr-find-ignore-file): New functions.
7391
7392 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7393
7394 * frameset.el (frameset-prop): New function and setter.
7395 (frameset-save): Do not modify frame list passed by the caller.
7396
7397 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7400
7401 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7402
7403 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7404 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7405
7406 * custom.el (custom-initialize-default, custom-initialize-set)
7407 (custom-initialize-reset, custom-initialize-changed): Affect the
7408 toplevel-default-value (bug#6275, bug#14586).
7409 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7410 for bug#6275.
7411
7412 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7415 Add cl-def* expressions.
7416
7417 * frameset.el (frameset-filter-params): Fix order of arguments.
7418
7419 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7420
7421 Move code related to saving frames to frameset.el.
7422 * desktop.el: Require frameset.
7423 (desktop-restore-frames): Doc fix.
7424 (desktop-restore-reuses-frames): Rename from
7425 desktop-restoring-reuses-frames.
7426 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7427 (desktop-clear): Clear frames too.
7428 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7429 (desktop--filter-tty*, desktop-save, desktop-read):
7430 Use frameset functions.
7431 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7432 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7433 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7434 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7435 (desktop--process-minibuffer-frames, desktop-save-frames)
7436 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7437 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7438 (desktop--sort-states, desktop-restoring-frames-p)
7439 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7440 (desktop-restoring-frameset-p, desktop-restore-frameset)
7441 (desktop--check-dont-save, desktop-save-frameset): New functions.
7442 (desktop--app-id): New constant.
7443 (desktop-first-buffer, desktop-buffer-ok-count)
7444 (desktop-buffer-fail-count): Move before first use.
7445 * frameset.el: New file.
7446
7447 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * files.el: Use lexical-binding.
7450 (dir-locals-read-from-file): Remove unused `err' variable.
7451 (hack-dir-local-variables--warned-coding): New var.
7452 (hack-dir-local-variables): Use it to avoid repeated warnings.
7453 (make-backup-file-name--default-function): New function.
7454 (make-backup-file-name-function): Use it as default.
7455 (buffer-stale--default-function): New function.
7456 (buffer-stale-function): Use it as default.
7457 (revert-buffer-insert-file-contents--default-function): New function.
7458 (revert-buffer-insert-file-contents-function): Use it as default.
7459 (insert-directory): Avoid add-to-list.
7460
7461 * autorevert.el (auto-revert-handler): Simplify.
7462 Use buffer-stale--default-function.
7463
7464 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7465
7466 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7467
7468 * whitespace.el (whitespace-ensure-local-variables): New function.
7469 (whitespace-cleanup-region): Call it.
7470 (whitespace-turn-on): Call it.
7471
7472 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7473
7474 Complete file name handlers.
7475
7476 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7477 (tramp-handle-verify-visited-file-modtime)
7478 (tramp-handle-file-notify-rm-watch): New functions.
7479 (tramp-call-process): Do not bind `default-directory'.
7480
7481 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7482 Order alphabetically.
7483 [access-file, add-name-to-file, dired-call-process]:
7484 [dired-compress-file, file-acl, file-notify-rm-watch]:
7485 [file-ownership-preserved-p, file-selinux-context]:
7486 [make-directory-internal, make-symbolic-link, set-file-acl]:
7487 [set-file-selinux-context, set-visited-file-modtime]:
7488 [verify-visited-file-modtime]: Add handler.
7489 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7490
7491 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7492 [file-notify-add-watch, file-notify-rm-watch]:
7493 [set-file-times, set-visited-file-modtime]:
7494 [verify-visited-file-modtime]: Add handler.
7495 (with-tramp-gvfs-error-message)
7496 (tramp-gvfs-handle-set-visited-file-modtime)
7497 (tramp-gvfs-fuse-file-name): Remove.
7498 (tramp-gvfs-handle-file-notify-add-watch)
7499 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7500 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7501
7502 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7503 Order alphabetically.
7504 [file-notify-rm-watch ]: Use default Tramp handler.
7505 [executable-find]: Remove private handler.
7506 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7507 `default-directory'.
7508 (tramp-sh-handle-executable-find)
7509 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7510 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7511 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7512 Do not use `format' in `tramp-message'.
7513
7514 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7515 [file-notify-rm-watch, set-visited-file-modtime]:
7516 [verify-visited-file-modtime]: Add handler.
7517 (tramp-smb-call-winexe): Do not bind `default-directory'.
7518
7519 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7520
7521 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7522
7523 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7524
7525 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7526 use it.
7527 (log-view-diff-changeset): Same.
7528 (log-view-diff-common): Call backend command `previous-revision'
7529 to find out the previous revision, in both cases. Swap the
7530 variables `to' and `fr', so that `fr' usually refers to the
7531 earlier revision (Bug#14989).
7532
7533 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7534
7535 * ibuf-ext.el (ibuffer-filter-by-filename):
7536 Make it work with dired buffers too.
7537
7538 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7539
7540 * emacs-lisp/re-builder.el (reb-color-display-p):
7541 * files.el (save-buffers-kill-terminal):
7542 * net/browse-url.el (browse-url):
7543 * server.el (server-save-buffers-kill-terminal):
7544 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7545 Prefer nil to selected-frame for the first arg of frame-parameter.
7546
7547 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7548
7549 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7550
7551 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7552
7553 * minibuffer.el (completion--twq-all): Try and preserve each
7554 completion's case choice (bug#14907).
7555
7556 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7557
7558 * net/network-stream.el (open-network-stream): Mention the new
7559 :nogreeting parameter.
7560 (network-stream-open-starttls): Use the :nogreeting parameter
7561 (bug#14938).
7562
7563 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7564
7565 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7566 more natural than popping.
7567
7568 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7569 (shr-urlify): Highlight under mouse.
7570
7571 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7572
7573 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7574
7575 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7576
7577 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7578 buffer for output.
7579
7580 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7581 point-min==1. Fix search string. Fix parentheses missing.
7582
7583 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7584 assume point-min==1. Fix search string. Fix parentheses missing.
7585
7586 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7587
7588 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7589 buffer for output.
7590
7591 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7592
7593 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7594 initial frame is minibuffer-less. (Bug#14841)
7595
7596 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7597
7598 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7599 option.
7600
7601 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7602 (tramp-maybe-open-connection): Use it.
7603
7604 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7605
7606 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7607 minimal set of parameters passed when creating a frame, because
7608 the minibuffer status of a frame cannot be changed later.
7609
7610 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7611
7612 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7613 replace-regexp-in-string and inadvertent omissions in previous change.
7614 (todo-filter-items): Ensure only file names are comma-separated in
7615 name of filtered items buffer.
7616
7617 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7618
7619 * desktop.el: Optionally force offscreen frames back onscreen.
7620 (desktop-restoring-reuses-frames): New option.
7621 (desktop--compute-pos, desktop--move-onscreen): New functions.
7622 (desktop--make-frame): Use desktop--move-onscreen.
7623
7624 2013-07-27 Alan Mackenzie <acm@muc.de>
7625
7626 Fontify a Java generic method as a function.
7627 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7628 value to t.
7629
7630 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7631
7632 * calendar/todo-mode.el: Add command to rename todo files.
7633 (todo-rename-file): New command.
7634 (todo-key-bindings-t): Add key binding for it. Change the
7635 bindings of todo-filter-regexp-items(-multifile) to use `x'
7636 instead of `r', since the latter is better suited to the new
7637 renaming command.
7638
7639 2013-07-27 Alan Mackenzie <acm@muc.de>
7640
7641 Make Java try-with-resources statement parse properly.
7642 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7643 (c-block-stmt-1-2-key): New language constants/variables.
7644 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7645 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7646 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7647 with c-block-stmt-1-2-key.
7648
7649 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7650
7651 * desktop.el (desktop--make-frame): Apply most frame parameters after
7652 creating the frame to force (partially or totally) offscreen frames to
7653 be restored as such.
7654
7655 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7656
7657 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7658 (Bug#14948)
7659
7660 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7663 `base' arg of backtrace-frame.
7664
7665 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7666
7667 * simple.el (list-processes): Doc fix.
7668
7669 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7670
7671 * desktop.el (desktop--select-frame):
7672 Try harder to reuse existing frames.
7673
7674 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7677 (edebug-eval): Use backtrace-eval.
7678 (edebug--display, edebug--recursive-edit): Don't let-bind the
7679 edebug-outer-* vars that keep track of variables we locally let-bind.
7680 (edebug-outside-excursion): Don't restore outside values of locally
7681 let-bound vars.
7682 (edebug--display): Use user-error.
7683 (cl-lexical-debug, cl-debug-env): Remove.
7684
7685 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7686
7687 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7688 are restored to be sure that they are visible before deleting any
7689 remaining ones.
7690
7691 2013-07-26 Matthias Meulien <orontee@gmail.com>
7692
7693 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7694 vc-print-root-log. (Bug#14948)
7695
7696 2013-07-26 Richard Stallman <rms@gnu.org>
7697
7698 Add aliases for encrypting mail.
7699 * epa.el (epa-mail-aliases): New option.
7700 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7701 Bind inhibit-read-only so read-only text doesn't ruin everything.
7702 (epa-mail-default-recipients): New subroutine broken out.
7703 Handle epa-mail-aliases.
7704
7705 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 Add support for lexical variables to the debugger's `e' command.
7708 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7709 vars, except for debugger-outer-match-data.
7710 (debugger-frame-number): Move check for "on a function call" from
7711 callers into it. Add `skip-base' argument.
7712 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7713 (debugger-env-macro): Only reset the state stored in non-variables,
7714 i.e. current-buffer and match-data.
7715 (debugger-eval-expression): Rewrite using backtrace-eval.
7716 * subr.el (internal--called-interactively-p--get-frame): Remove.
7717 (called-interactively-p):
7718 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7719 `base' arg of backtrace-frame instead.
7720
7721 2013-07-26 Glenn Morris <rgm@gnu.org>
7722
7723 * align.el (align-regexp): Doc fix. (Bug#14857)
7724 (align-region): Explicit error if subexpression missing/does not match.
7725
7726 * simple.el (global-visual-line-mode):
7727 Do not duplicate the mode lighter. (Bug#14858)
7728
7729 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7730
7731 * window.el (display-buffer): In display-buffer bind
7732 split-window-keep-point to t, bug#14829.
7733
7734 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7737 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7738 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7739 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7740 Change accordingly.
7741 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7742 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7743
7744 2013-07-25 Glenn Morris <rgm@gnu.org>
7745
7746 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7747
7748 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7749
7750 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7751 parameter to modify-frame-parameters if the value has not changed;
7752 this is a workaround for bug#14949.
7753 (desktop--make-frame): On cl-delete-if call, check parameter name,
7754 not full parameter.
7755
7756 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7757
7758 * vc/vc.el (vc-ignore): New function.
7759
7760 * vc/vc-svn.el (vc-svn-ignore): New function.
7761
7762 * vc/vc-hg.el (vc-hg-ignore): New function.
7763
7764 * vc/vc-git.el (vc-git-ignore): New function.
7765
7766 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7767 (vc-dir-ignore): New function.
7768
7769 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7770 (cvs-append-to-ignore): Move here from pcvs.el.
7771
7772 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7773
7774 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7775
7776 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7777
7778 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7779 (desktop-restore-frames): Warn when deleting an existing frame failed.
7780
7781 2013-07-24 Glenn Morris <rgm@gnu.org>
7782
7783 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7784
7785 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7786
7787 * filenotify.el (file-notify-supported-p):
7788 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7789 Remove functions.
7790
7791 * autorevert.el (auto-revert-use-notify):
7792 (auto-revert-notify-add-watch):
7793 * net/tramp.el (tramp-file-name-for-operation):
7794 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7795 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7796 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7797 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7798 Remove `file-notify-supported-p' entry.
7799
7800 2013-07-24 Glenn Morris <rgm@gnu.org>
7801
7802 * printing.el: Replace all uses of deleted ps-windows-system,
7803 ps-lp-system, ps-flatten-list with lpr- versions.
7804
7805 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7808 checked with memq (bug#14935).
7809
7810 * files.el (revert-buffer-function): Use a non-nil default.
7811 (revert-buffer-preserve-modes): Declare var to
7812 provide access to the `preserve-modes' argument.
7813 (revert-buffer): Let-bind it.
7814 (revert-buffer--default): New function, extracted from revert-buffer.
7815
7816 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * lpr.el: Signal print errors more prominently.
7819 (print-region-function): Don't default to nil.
7820 (lpr-print-region): New function, extracted from print-region-1.
7821 Check lpr's return value and signal an error in case of problem.
7822 (print-region-1): Use it.
7823 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7824 versions instead.
7825 (ps-printer-name): Default to nil.
7826 (ps-printer-name-option): Default to lpr-printer-switch.
7827 (ps-print-region-function): Don't default to nil.
7828 (ps-postscript-code-directory): Simplify default.
7829 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7830 (ps-string-list, ps-eval-switch, ps-flatten-list)
7831 (ps-flatten-list-1): Remove.
7832 (ps-multibyte-buffer): Avoid setq.
7833 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7834 (print-region-function, ps-print-region-function): Don't set them here.
7835
7836 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7837
7838 * ido.el (ido-fractionp):
7839 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7840 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7841 (ido-max-directory-size, ido-max-dir-file-cache)
7842 (ido-decorations): Doc fix.
7843
7844 * ansi-color.el: Fix old URL.
7845
7846 2013-07-23 Michael R. Mauger <michael@mauger.com>
7847
7848 * progmodes/sql.el: Version 3.3
7849 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7850 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7851 (sql-interactive-remove-continuation-prompt): Rewrite, use
7852 functions above. Fix continuation prompt and complete output line
7853 handling.
7854 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7855 redirected output buffer.
7856 (sql-mode): Restore deleted code (Bug#13591).
7857
7858 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7859
7860 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7861
7862 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7863
7864 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7865
7866 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7868 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7869
7870 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7871
7872 * desktop.el (desktop-clear): Simplify; remove useless checks
7873 against invalid buffer names.
7874 (desktop-list*): Use cl-list*.
7875 (desktop-buffer-info, desktop-create-buffer): Simplify.
7876
7877 2013-07-23 Leo Liu <sdl.web@gmail.com>
7878
7879 * bookmark.el (bookmark-make-record): Restore NAME as a default
7880 value. (Bug#14933)
7881
7882 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7885 extracted from autoload--insert-text.
7886 (autoload--insert-text): Remove.
7887 (autoload--print-cookie-text): New function, extracted from
7888 autoload--insert-cookie-text.
7889 (autoload--insert-cookie-text): Remove.
7890 (autoload-generate-file-autoloads): Adjust calls accordingly.
7891
7892 * winner.el (winner-hook-installed-p): Remove.
7893 (winner-mode): Simplify accordingly.
7894
7895 * subr.el (add-to-list): Fix compiler-macro when `append' is
7896 not constant. Don't use `cl-member' for the base case.
7897
7898 * progmodes/subword.el: Fix boundary case (bug#13758).
7899 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7900 own group.
7901 (subword-backward-regexp): Make it a constant.
7902 (subword-forward-internal): Don't treat a trailing capital as the
7903 beginning of a word.
7904
7905 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7906
7907 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7908 global value of tabulated-list-revert-hook (bug#14930).
7909
7910 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7911
7912 * desktop.el: Require 'cl-lib.
7913 (desktop-before-saving-frames-functions): New hook.
7914 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7915 for frames being saved. Rename from desktop--save-minibuffer-frames.
7916 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7917 Do not save frames with non-nil `desktop-dont-save' parameter.
7918 Filter out deleted frames.
7919 (desktop--find-frame): Use cl-find-if.
7920 (desktop--select-frame): Use cl-(first|second|third) to access values
7921 of desktop-mini.
7922 (desktop--make-frame): Use cl-delete-if.
7923 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7924 (desktop-restore-frames): Use cl-(first|second|third) to access values
7925 of desktop-mini. Look for visible frame at the end, not while
7926 restoring frames.
7927
7928 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7929 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7930 Use string-match-p, looking-at-p (bug#14927).
7931
7932 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7933
7934 * desktop.el (desktop-saved-frame-states):
7935 Rename from desktop--saved-states; all users changed.
7936 (desktop-save-frames): Rename from desktop--save-frames.
7937 Do not save state to desktop file.
7938 (desktop-save): Save desktop-saved-frame-states to desktop file
7939 and reset to nil.
7940 (desktop-restoring-frames-p): New function.
7941 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7942 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7943 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7944
7945 * desktop.el: Correctly restore iconified frames.
7946 (desktop--filter-iconified-position): New function.
7947 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7948
7949 2013-07-20 Glenn Morris <rgm@gnu.org>
7950
7951 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7952 Let `message' do the formatting.
7953 (def-gdb-preempt-display-buffer): Add explicit format.
7954
7955 * image-dired.el (image-dired-track-original-file):
7956 Use with-current-buffer.
7957 (image-dired-track-thumbnail): Use with-current-buffer.
7958 Avoid changing point of wrong window.
7959
7960 * image-dired.el (image-dired-track-original-file):
7961 Avoid changing point of wrong window. (Bug#14909)
7962
7963 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7964
7965 * progmodes/gdb-mi.el (gdb-done-or-error):
7966 Guard against "%" in gdb output. (Bug#14127)
7967
7968 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7969
7970 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7971 (Bug#14826)
7972
7973 * international/mule.el (coding-system-iso-2022-flags): Fix last
7974 change.
7975
7976 2013-07-20 Kenichi Handa <handa@gnu.org>
7977
7978 * international/mule.el (coding-system-iso-2022-flags):
7979 Add `8-bit-level-4'. (Bug#8522)
7980
7981 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982
7983 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7984 (bug#14815).
7985
7986 * net/eww.el (eww-process-text-input): Allow inputting when the
7987 point is at the start of the line, as the properties aren't
7988 front-sticky.
7989
7990 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7991 degenerate widths.
7992
7993 2013-07-19 Richard Stallman <rms@gnu.org>
7994
7995 * epa.el (epa-popup-info-window): Doc fix.
7996
7997 * subr.el (split-string): New arg TRIM.
7998
7999 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8000
8001 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8002 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8003
8004 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * filenotify.el (file-notify--library): Rename from
8007 `file-notify-support'. Do not autoload. Adapt all uses.
8008 (file-notify-supported-p): New defun.
8009
8010 * autorevert.el (auto-revert-use-notify):
8011 Use `file-notify-supported-p' instead of `file-notify-support'.
8012 Adapt docstring.
8013 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8014
8015 * net/tramp.el (tramp-file-name-for-operation):
8016 Add `file-notify-supported-p'.
8017
8018 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8019 New defun.
8020 (tramp-sh-file-name-handler-alist): Add it as handler for
8021 `file-notify-supported-p '.
8022
8023 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8024 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8026 Add `ignore' as handler for `file-notify-*' functions.
8027
8028 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8029
8030 * simple.el (line-move-partial, line-move): Don't start vscroll or
8031 scroll-up if the current line is not taller than the window.
8032 (Bug#14881)
8033
8034 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8035
8036 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8037 highlight question marks in the method names as strings.
8038 (ruby-block-beg-keywords): Inline.
8039 (ruby-font-lock-keyword-beg-re): Extract from
8040 `ruby-font-lock-keywords'.
8041
8042 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8043
8044 * frame.el (blink-cursor-blinks): New defcustom.
8045 (blink-cursor-blinks-done): New defvar.
8046 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8047 (blink-cursor-timer-function): Check if number of blinks has been
8048 done on X and NS.
8049 (blink-cursor-suspend, blink-cursor-check): New defuns.
8050
8051 2013-07-15 Glenn Morris <rgm@gnu.org>
8052
8053 * edmacro.el (edmacro-format-keys): Fix previous change.
8054
8055 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8056
8057 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8058 The hack didn't work outside English locales anyway.
8059
8060 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8061
8062 * simple.el (define-alternatives): Rename from alternatives-define,
8063 per RMS' suggestion.
8064
8065 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8066
8067 * desktop.el (desktop-restore-frames): Change default to t.
8068 (desktop-restore-in-current-display): Now offer more options.
8069 (desktop-restoring-reuses-frames): New customization option.
8070 (desktop--saved-states): Doc fix.
8071 (desktop-filter-parameters-alist): New variable, renamed and expanded
8072 from desktop--excluded-frame-parameters.
8073 (desktop--target-display): New variable.
8074 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8075 (desktop--filter-tty*, desktop--filter-*-color)
8076 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8077 (desktop--filter-save-desktop-parm)
8078 (desktop-restore-in-original-display-p): New functions.
8079 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8080 (desktop--save-minibuffer-frames): New function, inspired by a similar
8081 function from Martin Rudalics.
8082 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8083 (desktop--restore-in-this-display-p): Remove.
8084 (desktop--find-frame): Rename from desktop--find-frame-in-display
8085 and add predicate argument.
8086 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8087 (desktop--reuse-list): New variable.
8088 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8089 New functions.
8090 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8091
8092 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8093
8094 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8095
8096 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8097
8098 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8099 Highlight conversion methods on Kernel.
8100
8101 2013-07-13 Alan Mackenzie <acm@muc.de>
8102
8103 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8104 and comment it out. This out-commenting enables certain C++
8105 declarations to be parsed correctly.
8106
8107 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8108
8109 * international/mule.el (define-coding-system): Doc fix.
8110
8111 * simple.el (default-font-height): Don't call font-info if the
8112 frame's default font didn't change since the frame was created.
8113 (Bug#14838)
8114
8115 2013-07-13 Leo Liu <sdl.web@gmail.com>
8116
8117 * ido.el (ido-read-file-name): Guard against non-symbol value.
8118
8119 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8120
8121 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8122 in nested defuns.
8123
8124 2013-07-13 Leo Liu <sdl.web@gmail.com>
8125
8126 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8127 ido-set-matches call. (Bug#6852)
8128
8129 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8130
8131 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8132 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8133 Ruby 2.0.
8134 (ruby-font-lock-keywords): Distinguish calls to functions with
8135 module-like names from module references. Highlight character
8136 literals.
8137
8138 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8139
8140 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8141 (gdb-send): Handle continued commands. (Bug#14847)
8142
8143 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8144
8145 * desktop.el (desktop--v2s): Remove unused local variable.
8146 (desktop-save-buffer): Make defvar-local; adjust docstring.
8147 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8148 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8149
8150 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8151
8152 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8153
8154 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8155
8156 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8157 (Bug#14842)
8158
8159 2013-07-12 Glenn Morris <rgm@gnu.org>
8160
8161 * doc-view.el: Require cl-lib at runtime too.
8162 (doc-view-remove-if): Remove.
8163 (doc-view-search-next-match, doc-view-search-previous-match):
8164 Use cl-remove-if.
8165
8166 * edmacro.el: Require cl-lib at runtime too.
8167 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8168 (edmacro-mismatch, edmacro-subseq): Remove.
8169
8170 * shadowfile.el: Require cl-lib.
8171 (shadow-remove-if): Remove.
8172 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8173 Use cl-remove-if.
8174
8175 * wid-edit.el: Require cl-lib.
8176 (widget-choose): Use cl-remove-if.
8177 (widget-remove-if): Remove.
8178
8179 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8180 (ebrowse-delete-if-not): Remove.
8181 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8182 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8183 Use cl-delete-if-not.
8184
8185 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8188 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8189
8190 2013-07-12 Leo Liu <sdl.web@gmail.com>
8191
8192 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8193
8194 2013-07-11 Glenn Morris <rgm@gnu.org>
8195
8196 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8197 (edebug-gensym-index, edebug-gensym):
8198 Remove reimplementation of cl-gensym.
8199 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8200
8201 * thumbs.el: Require cl-lib at run-time too.
8202 (thumbs-gensym-counter, thumbs-gensym):
8203 Remove reimplementation of cl-gensym.
8204 (thumbs-temp-file): Use cl-gensym.
8205
8206 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8207 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8208 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8209 (ert--union, ert--gensym-counter, ert--gensym-counter)
8210 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8211 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8212 (ert-make-test-unbound, ert--expand-should-1)
8213 (ert--expand-should, ert--should-error-handle-error)
8214 (should-error, ert--explain-equal-rec)
8215 (ert--plist-difference-explanation, ert-select-tests)
8216 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8217 Use cl-lib functions rather than reimplementations.
8218
8219 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8220
8221 * net/tramp.el (tramp-methods): Extend docstring.
8222 (tramp-connection-timeout): New defcustom.
8223 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8224 (with-tramp-progress-reporter): Simplify.
8225 (tramp-process-actions): Improve messages.
8226
8227 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8228 * net/tramp-sh.el (tramp-maybe-open-connection):
8229 Use `tramp-connection-timeout'.
8230 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8231 (Bug#14808)
8232
8233 2013-07-11 Leo Liu <sdl.web@gmail.com>
8234
8235 * ido.el (ido-read-file-name): Conform to the requirements of
8236 read-file-name. (Bug#11861)
8237 (ido-read-directory-name): Conform to the requirements of
8238 read-directory-name.
8239
8240 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * subr.el (delay-warning): New function.
8243
8244 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8245
8246 * simple.el (default-line-height): New function.
8247 (line-move-partial, line-move): Use it instead of computing the
8248 line height inline.
8249 (line-move-partial): Always compute ROWH. If the last line is
8250 partially-visible, but its text is completely visible, allow
8251 cursor to enter such a partially-visible line.
8252
8253 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8254
8255 Improve error messages. (Bug#14808)
8256
8257 * net/tramp.el (tramp-current-connection): New defvar, moved from
8258 tramp-sh.el.
8259 (tramp-message-show-progress-reporter-message): Remove, not
8260 needed anymore.
8261 (tramp-error-with-buffer): Show message in minibuffer.
8262 Discard input before waiting. Reset connection timestamp.
8263 (with-tramp-progress-reporter): Improve messages.
8264 (tramp-process-actions): Use progress reporter. Delete process in
8265 case of error. Improve messages.
8266
8267 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8268 Call `tramp-error-with-buffer' with vector and buffer.
8269 (tramp-current-connection): Remove.
8270 (tramp-maybe-open-connection): The car of
8271 `tramp-current-connection' are the first 3 slots of the vector.
8272
8273 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8274
8275 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8276 inside continued strings.
8277
8278 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8279
8280 Timestamp fixes for undo (Bug#14824).
8281 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8282
8283 2013-07-10 Leo Liu <sdl.web@gmail.com>
8284
8285 * files.el (require-final-newline): Allow safe local value.
8286 (Bug#14834)
8287
8288 2013-07-09 Leo Liu <sdl.web@gmail.com>
8289
8290 * ido.el (ido-read-directory-name): Handle fallback.
8291 (ido-read-file-name): Update DIR to ido-current-directory.
8292 (Bug#1516)
8293 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8294
8295 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8296
8297 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8298 "autoload". Remove "warn lower camel case" section, previously
8299 commented out. Highlight negation char. Do not highlight the
8300 target in singleton method definitions.
8301
8302 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * faces.el (tty-setup-hook): Declare the hook.
8305
8306 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8307 and detect when a guard/pred depends on local vars (bug#14773).
8308 (pcase--u1): Adjust caller.
8309
8310 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8311
8312 * simple.el (line-move-partial, line-move): Account for
8313 line-spacing.
8314 (line-move-partial): Avoid setting vscroll when the last
8315 partially-visible line in window is of default height.
8316
8317 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8318
8319 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8320 been used a while.
8321
8322 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8323
8324 * subr.el (read-quoted-char): Remove unused local variable `char'.
8325
8326 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8327
8328 * ediff.el (ediff-version): Version update.
8329 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8330 (ediff-merge-with-ancestor-command, ediff-directories-command)
8331 (ediff-directories3-command, ediff-merge-directories-command)
8332 (ediff-merge-directories-with-ancestor-command): New functions.
8333 All are command-line interfaces to ediff: to facilitate calling
8334 Emacs with the appropriate ediff functions invoked.
8335
8336 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8337 (viper-save-kill-buffer): Check if buffer is modified.
8338
8339 * viper.el (viper-version): Version update.
8340 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8341
8342 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8345 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8346 (viper-intercept-ESC-key): Simplify.
8347 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8348 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8349 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8350 (viper-setup-ESC-to-escape): New functions.
8351 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8352 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8353
8354 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8355
8356 * simple.el (default-font-height, window-screen-lines):
8357 New functions.
8358 (line-move, line-move-partial): Use them instead of
8359 frame-char-height and window-text-height. This makes scrolling
8360 text smoother when the buffer's default face uses a font that is
8361 different from the frame's default font.
8362
8363 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8364
8365 * files.el (write-file): Do not display confirm dialog for NS,
8366 it does its own dialog, which can't be canceled (Bug#14578).
8367
8368 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8369
8370 * simple.el (line-move-partial): Adjust the row returned by
8371 posn-at-point for the current window-vscroll. (Bug#14567)
8372
8373 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8374
8375 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8376 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8377 spaces.
8378
8379 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8380
8381 * window.el (window-state-put-stale-windows): New variable.
8382 (window--state-put-2): Save list of windows without matching buffer.
8383 (window-state-put): Remove "bufferless" windows if possible.
8384
8385 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8386
8387 * simple.el (alternatives-define): Remove leftover :group keyword.
8388 Tweak docstring.
8389
8390 2013-07-06 Leo Liu <sdl.web@gmail.com>
8391
8392 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8393 (ido-enable-virtual-buffers): New variable.
8394 (ido-buffer-internal, ido-toggle-virtual-buffers)
8395 (ido-make-buffer-list): Use it.
8396 (ido-exhibit): Support turning on and off virtual buffers
8397 automatically.
8398
8399 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8400
8401 * simple.el (alternatives-define): New macro.
8402
8403 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * subr.el (read-quoted-char): Use read-key.
8406 (sit-for): Let read-event decode tty input (bug#14782).
8407
8408 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8409
8410 * calendar/todo-mode.el: Add handling of file deletion, both by
8411 mode command and externally. Fix various related bugs.
8412 Clarify Commentary and improve some documentation strings and code.
8413 (todo-delete-file): New command.
8414 (todo-check-file): New function.
8415 (todo-show): Handle external deletion of the file we're trying to
8416 show (bug#14688). Replace called-interactively-p by an optional
8417 prefix argument to avoid problematic interaction with catch form
8418 when byte compiled (bug#14702).
8419 (todo-quit): Handle external deletion of the archive's todo file.
8420 Make sure the buffer that was visiting the archive file is still
8421 live before trying to bury it.
8422 (todo-category-completions): Handle external deletion of any
8423 category completion files.
8424 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8425 of todo files, in case of external deletion.
8426 (todo-add-file): Replace unnecessary setq by let-binding.
8427 (todo-find-archive): Check whether there are any archives.
8428 Replace unnecessary setq by let-binding.
8429 (todo-archive-done-item): Use find-file-noselect to get the
8430 archive buffer whether or not the archive already exists.
8431 Remove superfluous code. Use file size instead of buffer-file-name to
8432 check if the archive is new; if it is, update list of archives.
8433 (todo-default-todo-file): Allow nil to be a valid value for when
8434 there are no todo files.
8435 (todo-reevaluate-default-file-defcustom): Use corrected definition
8436 of todo-default-todo-file.
8437 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8438 (todo-delete-category, todo-show-categories-table)
8439 (todo-category-number): Clarify comment.
8440 (todo-filter-items): Clarify documentation string.
8441 (todo-show-current-file, todo-display-as-todo-file)
8442 (todo-reset-and-enable-done-separator): Tweak documentation string.
8443 (todo-done-separator): Make separator length window-width, since
8444 bug#2749 is now fixed.
8445
8446 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8449 Support both "gvfs-monitor-dir" and "inotifywait".
8450 (tramp-sh-file-inotifywait-process-filter): Rename from
8451 `tramp-sh-file-notify-process-filter'.
8452 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8453 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8454
8455 2013-07-05 Leo Liu <sdl.web@gmail.com>
8456
8457 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8458
8459 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8460
8461 * frame.el (display-pixel-height, display-pixel-width)
8462 (display-mm-height, display-mm-width): Mention behavior on
8463 multi-monitor setups in docstrings.
8464 (w32-display-monitor-attributes-list): Declare function.
8465 (display-monitor-attributes-list): Use it.
8466
8467 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8468
8469 * filenotify.el: New package.
8470
8471 * autorevert.el (top): Require filenotify.el.
8472 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8473 instead.
8474 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8475 (auto-revert-notify-handler): Use `file-notify-*' functions.
8476
8477 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8478
8479 * net/tramp.el (tramp-file-name-for-operation):
8480 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8481
8482 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8483 for `file-notify-add-watch' and `file-notify-rm-watch'.
8484 (tramp-process-sentinel): Improve trace.
8485 (tramp-sh-handle-file-notify-add-watch)
8486 (tramp-sh-file-notify-process-filter)
8487 (tramp-sh-handle-file-notify-rm-watch)
8488 (tramp-get-remote-inotifywait): New defuns.
8489
8490 2013-07-03 Juri Linkov <juri@jurta.org>
8491
8492 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8493 call of `occur-read-primary-args' to interactive spec.
8494
8495 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8496 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8497
8498 2013-07-03 Matthias Meulien <orontee@gmail.com>
8499
8500 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8501 `Buffer-menu-multi-occur'. Add it to the menu.
8502 (Buffer-menu-mode): Document it in docstring.
8503 (Buffer-menu-multi-occur): New command. (Bug#14673)
8504
8505 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8506
8507 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8508 keywords and built-ins.
8509
8510 2013-07-03 Glenn Morris <rgm@gnu.org>
8511
8512 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8513
8514 Make info-xref checks case-sensitive by default
8515 * info.el (Info-find-node, Info-find-in-tag-table)
8516 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8517 Add option for exact case matching of nodes.
8518 * info-xref.el (info-xref): New custom group.
8519 (info-xref-case-fold): New option.
8520 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8521
8522 2013-07-03 Leo Liu <sdl.web@gmail.com>
8523
8524 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8525
8526 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8527
8528 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8529 middle of block statement initially, lower the depth. Remove
8530 FIXME comment, not longer valid. Remove middle of block statement
8531 detection, no need to do that anymore since we've been using
8532 `ruby-parse-region' here.
8533
8534 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8535
8536 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8537
8538 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8539
8540 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8541
8542 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8545 (desktop-restore-in-current-display): New customization option.
8546 (desktop--excluded-frame-parameters): Add `font'.
8547 (desktop--save-frames): Rename from desktop--save-windows.
8548 (desktop--restore-in-this-display-p): New function.
8549 (desktop--make-full-frame): Remove unwanted width/height from
8550 full(width|height) frames.
8551 (desktop--restore-frames): Rename from desktop--restore-windows.
8552 Obey desktop-restore-current-display. Do not delete old frames or
8553 select a new frame unless we were able to restore at least one frame.
8554
8555 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8556
8557 * files.el (find-file-noselect): Simplify conditional expression.
8558
8559 * textmodes/remember.el (remember-append-to-file):
8560 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8561
8562 Add `remember-notes' function to store random notes across Emacs
8563 restarts.
8564 * textmodes/remember.el (remember-data-file): Add :set callback to
8565 affect notes buffer (if any).
8566 (remember-notes): New command.
8567 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8568 New defcustoms for the `remember-notes' function.
8569 (remember-notes-save-and-bury-buffer): New command.
8570 (remember-notes-mode-map): New variable.
8571 (remember-mode): New minor mode.
8572 (remember-notes--kill-buffer-query): New function.
8573 * startup.el (initial-buffer-choice): Add notes to custom type.
8574
8575 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8576
8577 * bindings.el (right-char, left-char): Don't call sit-for, this is
8578 no longer needed. Use arithmetic comparison only for numerical
8579 arguments.
8580
8581 * international/mule-cmds.el (select-safe-coding-system):
8582 Handle the case of FROM being a string correctly. (Bug#14755)
8583
8584 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8585
8586 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8587 progression on degenerate tables.
8588 (shr-rescale-image): ImageMagick animated images currently don't work.
8589
8590 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8591
8592 Some fixes and improvements for desktop frame restoration.
8593 It is still experimental and disabled by default.
8594 * desktop.el (desktop--save-windows): Put the selected frame at
8595 the head of the list.
8596 (desktop--make-full-frame): New function.
8597 (desktop--restore-windows): Try to re-select the frame that was
8598 selected upon saving. Do not abort if some frames fail to restore,
8599 just show an error message and continue. Set up maximized frames
8600 so they have default non-maximized dimensions.
8601
8602 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8603
8604 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8605 Don't start heredoc inside a string or comment.
8606
8607 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8608
8609 * bindings.el (visual-order-cursor-movement): New defcustom.
8610 (right-char, left-char): Provide visual-order cursor motion by
8611 calling move-point-visually. Update the doc strings.
8612
8613 2013-06-28 Kenichi Handa <handa@gnu.org>
8614
8615 * international/mule.el (define-coding-system): New coding system
8616 properties :inhibit-null-byte-detection,
8617 :inhibit-iso-escape-detection, and :prefer-utf-8.
8618 (set-buffer-file-coding-system): If :charset-list property of
8619 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8620 appropriate for setting.
8621
8622 * international/mule-cmds.el (select-safe-coding-system):
8623 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8624 multibyte characters, return utf-8 (or one of its siblings).
8625
8626 * international/mule-conf.el (prefer-utf-8): New coding system.
8627 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8628 files.
8629
8630 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8631
8632 * net/shr.el (shr-render-region): New function.
8633
8634 * net/eww.el: Autoload `eww-browse-url'.
8635
8636 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8637
8638 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8639 Adapt to `package-desc-version' being a list.
8640 Use `package--ac-desc-version' to retrieve version from a package
8641 archive element.
8642
8643 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8644
8645 New experimental feature to save&restore window and frame setup.
8646 * desktop.el (desktop-save-windows): New defcustom.
8647 (desktop--saved-states): New var.
8648 (desktop--excluded-frame-parameters): New defconst.
8649 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8650 (desktop--restore-windows, desktop--save-windows): New functions.
8651 (desktop-save): Call `desktop--save-windows'.
8652 (desktop-read): Call `desktop--restore-windows'.
8653
8654 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8655
8656 * net/shr.el (add-face-text-property): Remove compat definition.
8657
8658 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8659
8660 * info.el (Info-try-follow-nearest-node): Move search for footnote
8661 above search for node name to prevent missing a footnote (bug#14717).
8662
8663 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8664
8665 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8666
8667 2013-06-27 Leo Liu <sdl.web@gmail.com>
8668
8669 * net/eww.el (eww-read-bookmarks): Check file size.
8670
8671 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8674 advice--pending if newdef is nil or an autoload (bug#13820).
8675 (advice-mapc): New function.
8676
8677 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8678
8679 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8680 probably.
8681 (eww-mode-map): Add a menu bar.
8682 (eww-add-bookmark): New command.
8683 (eww-bookmark-mode): New mode and commands.
8684 (eww-add-bookmark): Remove newlines from the title.
8685 (eww-bookmark-browse): Don't bug out if it's the only window.
8686
8687 2013-06-26 Glenn Morris <rgm@gnu.org>
8688
8689 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8690 (hfy-size): Handle ttys. (Bug#14668)
8691
8692 * info-xref.el: Update for Texinfo 5 change in *note format.
8693 (info-xref-node-re, info-xref-note-re): New constants.
8694 (info-xref-check-buffer): Use info-xref-note-re.
8695
8696 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8699
8700 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8701 nil terminate the loop (bug#14718).
8702
8703 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
8705 * net/eww.el: Rework history traversal. When going forward/back,
8706 put these actions into the history, too, so that they can be
8707 replayed.
8708 (eww-render): Move the history reset to the correct buffer.
8709
8710 2013-06-25 Juri Linkov <juri@jurta.org>
8711
8712 * files-x.el (modify-dir-local-variable): Change the header comment
8713 in the file with directory local variables. (Bug#14692)
8714
8715 * files-x.el (read-file-local-variable-value): Add `default'.
8716 (Bug#14710)
8717
8718 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8719
8720 * net/eww.el (eww-make-unique-file-name): Create a unique file
8721 name before saving to entering `y' accidentally asynchronously.
8722
8723 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8724
8725 * net/eww.el (eww-download): New command and keystroke.
8726
8727 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8728
8729 * net/eww.el (eww-copy-page-url): Change name of command.
8730
8731 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8732 be more consistent with Info and dired.
8733
8734 * net/eww.el (eww-mode-map): Ditto.
8735
8736 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8739 packages from archives.
8740 (package-archive-contents): Change format; include obsolete packages.
8741 (package-desc): Use `dir' to mark builtin packages.
8742 (package--from-builtin): Set the `dir' field to `builtin'.
8743 (generated-autoload-file, version-control): Declare.
8744 (package-compute-transaction): Change first arg and return value to be
8745 lists of package-descs. Adjust to new package-archive-contents format.
8746 (package--add-to-archive-contents): Adjust to new
8747 package-archive-contents format.
8748 (package-download-transaction): Arg is now a list of package-descs.
8749 (package-install): If `pkg' is a package name, pass it as
8750 a requirement, so it is subject to the usual (e.g. disabled) checks.
8751 (describe-package): Accept package-desc as well.
8752 (describe-package-1): Describe a specific package-desc. Add links to
8753 other package-descs for the same package name.
8754 (package-menu-describe-package): Pass the actual package-desc.
8755 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8756 works correctly.
8757 (package-desc-status): New function.
8758 (package-menu--refresh): New function, extracted
8759 from package-menu--generate.
8760 (package-menu--generate): Use it.
8761 (package-delete): Update package-alist.
8762 (package-menu-execute): Don't call package-initialize.
8763
8764 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8765 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8766 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8767 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8768 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8769 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8770
8771 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8772
8773 * window.el (window--state-get-1): Workaround for bug#14527.
8774 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8775
8776 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8777
8778 * net/eww.el (eww-back-url): Implement the history by stashing all
8779 the data into a list.
8780 (eww-forward-url): Allow going forward in the history, too.
8781
8782 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8785 for values and use read--expression for expressions (bug#14710).
8786 (read-file-local-variable): Avoid setq.
8787 (read-file-local-variable-mode): Use minor-mode-list.
8788
8789 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8790
8791 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8792 for DOI URLs.
8793
8794 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8795
8796 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8797 Update imenu-support when dialect changes.
8798
8799 2013-06-25 Leo Liu <sdl.web@gmail.com>
8800
8801 * ido.el (ido-read-internal): Allow forward slash on windows.
8802
8803 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8804
8805 * net/eww.el (eww): Start of strings is \\`, not ^.
8806
8807 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8808
8809 * net/shr.el (shr-browse-url): Fix interactive spec.
8810
8811 * net/eww.el (eww): Add a trailing slash to domain names.
8812
8813 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8814
8815 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8816
8817 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8818
8819 * net/shr.el (shr-browse-url): Use an external browser if given a
8820 prefix.
8821
8822 * net/eww.el (eww-external-browser): Move to shr.
8823
8824 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8825
8826 * net/eww.el (eww): Work more correctly for file: URLs.
8827 (eww-detect-charset): Allow quoted charsets.
8828 (eww-yank-page-url): New command and keystroke.
8829
8830 2013-06-24 Daiki Ueno <ueno@gnu.org>
8831
8832 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8833 file name of gpg executable.
8834 (epg-context-program): New function.
8835 (epg-context-home-directory): New function.
8836 (epg-context-set-program): New function.
8837 (epg-context-set-home-directory): New function.
8838 (epg--start): Use `epg-context-program' instead of
8839 'epg-gpg-program'.
8840 (epg--list-keys-1): Likewise.
8841
8842 2013-06-24 Leo Liu <sdl.web@gmail.com>
8843
8844 * ido.el (ido-read-internal): Fix bug#14620.
8845
8846 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8847
8848 * faces.el (face-documentation): Simplify.
8849 (read-face-attribute, tty-find-type, x-resolve-font-name):
8850 Use `string-match-p'.
8851 (list-faces-display): Use `string-match-p'. Simplify.
8852 (face-spec-recalc): Check face to avoid face alias loops.
8853 (read-color): Use `string-match-p' and non-capturing parenthesis.
8854
8855 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8856
8857 * net/shr.el (shr-rescale-image): Use the new
8858 :max-width/:max-height functionality.
8859
8860 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8861
8862 * net/eww.el (eww-search-prefix): New variable.
8863 (eww): Use it.
8864 (eww-external-browser): New variable.
8865 (eww-mode-map): New keystroke.
8866 (eww-browse-with-external-browser): New command.
8867
8868 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8869
8870 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8871
8872 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8873 Don't skip aligning the next header field when padding is 0;
8874 otherwise, field width is not respected unless the title is as
8875 wide as the field.
8876
8877 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8878
8879 * emacs-lisp/package.el (package-el-version): Remove.
8880 (package-process-define-package): Fix inf-loop.
8881 (package-install): Allow symbols as arguments again.
8882
8883 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8884
8885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8886 add some more keyword-like methods.
8887 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8888
8889 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8890
8891 * bs.el (bs-buffer-show-mark): Make defvar-local.
8892 (bs-mode): Use setq-local.
8893
8894 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8895 (emacs-lock--try-unlocking): Make defvar-local.
8896
8897 2013-06-22 Glenn Morris <rgm@gnu.org>
8898
8899 * play/cookie1.el (cookie-apropos): Minor simplification.
8900
8901 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8902
8903 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8904
8905 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8906 `regexp-opt', it breaks the build during dumping.
8907
8908 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8909
8910 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8911 Highlight keyword-like methods on Kernel and Module with
8912 font-lock-builtin-face.
8913 (auto-mode-alist): Consolidate different entries into one regexp
8914 and add more *file-s.
8915
8916 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8917
8918 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8919
8920 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8921 (diary-entry): Use it in the action of this button type instead of
8922 diary-goto-entry.
8923
8924 * calendar/todo-mode.el: New version.
8925 (todo-add-category): Append new category to end of file and give
8926 it the highest number, instead of putting it at the beginning and
8927 giving it 0. Incorporate noninteractive functionality.
8928 (todo-forward-category): Adapt to 1-based category numbering.
8929 Allow skipping over archived categories.
8930 (todo-backward-category): Derive from todo-forward-category.
8931 (todo-backward-item, todo-forward-item): Make noninteractive and
8932 delegate interactive part to new commands. Make sensitive to done items.
8933 (todo-categories): Make value an alist of category names and
8934 vectors of item counts.
8935 (todo-category-beg): Make a defconst.
8936 (todo-category-number): Use 1 instead of 0 as initial value.
8937 (todo-category-select): Make sensitive to overlays, optional item
8938 highlighting and done items.
8939 (todo-delete-item): Make sensitive to overlays and marked and done items.
8940 (todo-edit-item): Make sensitive to overlays and editing of
8941 date/time header optional. Add format checks.
8942 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8943 no-op if point is not on an item. Advertise using todo-edit-quit.
8944 (todo-edit-mode): Make sensitive to new format, font-locking, and
8945 multiple todo files.
8946 (todo-insert-item, todo-insert-item-here): Derive from
8947 todo-basic-insert-item and extend functionality.
8948 (todo-item-end, todo-item-start): Make sensitive to done items.
8949 (todo-item-string): Don't return text properties. Restore point.
8950 (todo-jump-to-category): Make sensitive to multiple todo files and
8951 todo archives. Use extended category completion.
8952 (todo-lower-item, todo-raise-item): Rename to *-priority and
8953 derive from todo-set-item-priority.
8954 (todo-mode): Derive from special-mode. Make sensitive to new
8955 format, font-locking and multiple todo files. Make read-only.
8956 (todo-mode-map): Don't suppress digit keys, so they can supply
8957 prefix arguments. Add many new key bindings.
8958 (todo-prefix): Insert as an overlay instead of file text.
8959 Change semantics from diary date expression to purely visual mark.
8960 (todo-print): Rename to todo-print-buffer. Make buffer display
8961 features printable. Remove option to restrict number of items
8962 printed. Add option to print to file.
8963 (todo-print-function): Rename to todo-print-buffer-function.
8964 (todo-quit): Extend to handle exiting new todo modes.
8965 (todo-remove-item): Make sensitive to overlays.
8966 (todo-save): Extend to buffers of filtered items.
8967 (todo-show): Make sensitive to done items, multiple todo files and
8968 new todo modes. Offer to convert legacy todo file before creating
8969 first new todo file.
8970 (todo-show-priorities): Rename to todo-top-priorities.
8971 Change semantics of value 0.
8972 (todo-top-priorities): Rename to todo-filter-top-priorities,
8973 derive from todo-filter-items and extend functionality.
8974 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8975 and extend functionality to other types of filtered items.
8976 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8977 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8978 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8979 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8980 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8981 (todo-edit-mode-hook, todo-entry-prefix-function)
8982 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8983 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8984 (todo-initials, todo-insert-threshold, todo-item-string-start)
8985 (todo-line-string, todo-menu, todo-mode-hook)
8986 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8987 (todo-print-priorities, todo-remove-separator)
8988 (todo-save-top-priorities-too, todo-string-count-lines)
8989 (todo-string-multiline-p, todo-time-string-format)
8990 (todo-tmp-buffer-name): Remove.
8991 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8992 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8993 (todo-edit-category-diary-inclusion)
8994 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8995 (todo-edit-file, todo-edit-item-date-day)
8996 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8997 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8998 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8999 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9000 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9001 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9002 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9003 (todo-filter-top-priorities-multifile, todo-find-archive)
9004 (todo-find-filtered-items-file, todo-go-to-source-item)
9005 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9006 (todo-jump-to-archive-category, todo-lower-category)
9007 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9008 (todo-move-category, todo-move-item, todo-next-button)
9009 (todo-next-item, todo-padded-string, todo-powerset)
9010 (todo-previous-button, todo-previous-item)
9011 (todo-print-buffer-to-file, todo-raise-category)
9012 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9013 (todo-set-category-number, todo-set-item-priority)
9014 (todo-set-top-priorities-in-category)
9015 (todo-set-top-priorities-in-file, todo-show-categories-table)
9016 (todo-sort-categories-alphabetically-or-numerically)
9017 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9018 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9019 (todo-toggle-item-header, todo-toggle-item-highlighting)
9020 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9021 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9022 (todo-unarchive-items, todo-unmark-category): New commands.
9023 (todo-absolute-file-name, todo-add-to-buffer-list)
9024 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9025 (todo-basic-insert-item, todo-category-completions)
9026 (todo-category-number, todo-category-string-matcher-1)
9027 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9028 (todo-check-format, todo-clear-matches)
9029 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9030 (todo-current-category, todo-date-string-matcher)
9031 (todo-define-insertion-command, todo-diary-expired-matcher)
9032 (todo-diary-goto-entry, todo-diary-item-p)
9033 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9034 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9035 (todo-done-item-section-p, todo-done-separator)
9036 (todo-done-string-matcher, todo-files, todo-filter-items)
9037 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9038 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9039 (todo-insert-category-line, todo-insert-item-from-calendar)
9040 (todo-insert-sort-button, todo-insert-with-overlays)
9041 (todo-insertion-command-name, todo-insertion-key-bindings)
9042 (todo-label-to-key, todo-longest-category-name-length)
9043 (todo-make-categories-list, todo-mode-external-set)
9044 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9045 (todo-modes-set-3, todo-multiple-filter-files)
9046 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9047 (todo-read-category, todo-read-date, todo-read-dayname)
9048 (todo-read-file-name, todo-read-time)
9049 (todo-reevaluate-category-completions-files-defcustom)
9050 (todo-reevaluate-default-file-defcustom)
9051 (todo-reevaluate-filelist-defcustoms)
9052 (todo-reevaluate-filter-files-defcustom)
9053 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9054 (todo-reset-done-separator, todo-reset-done-separator-string)
9055 (todo-reset-done-string, todo-reset-global-current-todo-file)
9056 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9057 (todo-reset-prefix, todo-set-categories)
9058 (todo-set-date-from-calendar, todo-set-show-current-file)
9059 (todo-set-top-priorities, todo-short-file-name)
9060 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9061 (todo-total-item-counts, todo-update-buffer-list)
9062 (todo-update-categories-display, todo-update-categories-sexp)
9063 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9064 New functions.
9065 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9066 New major modes.
9067 (todo-categories, todo-display, todo-edit, todo-faces)
9068 (todo-filtered): New defgroups.
9069 (todo-archived-only, todo-button, todo-category-string, todo-date)
9070 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9071 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9072 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9073 (todo-add-item-if-new-category, todo-always-add-time-string)
9074 (todo-categories-align, todo-categories-archived-label)
9075 (todo-categories-category-label, todo-categories-diary-label)
9076 (todo-categories-done-label, todo-categories-number-separator)
9077 (todo-categories-todo-label, todo-categories-totals-label)
9078 (todo-category-completions-files, todo-completion-ignore-case)
9079 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9080 (todo-done-separator-string, todo-done-string)
9081 (todo-files-function, todo-filter-done-items, todo-filter-files)
9082 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9083 (todo-initial-category, todo-initial-file, todo-item-mark)
9084 (todo-legacy-date-time-regexp, todo-mode-line-function)
9085 (todo-nondiary-marker, todo-number-prefix)
9086 (todo-print-buffer-function, todo-show-current-file)
9087 (todo-show-done-only, todo-show-first, todo-show-with-done)
9088 (todo-skip-archived-categories, todo-top-priorities-overrides)
9089 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9090 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9091 New defcustoms.
9092 (todo-category-done, todo-date-pattern, todo-date-string-start)
9093 (todo-diary-items-buffer, todo-done-string-start)
9094 (todo-filtered-items-buffer, todo-item-start)
9095 (todo-month-abbrev-array, todo-month-name-array)
9096 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9097 (todo-top-priorities-buffer): New defconsts.
9098 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9099 (todo-categories-with-marks, todo-category-string-face)
9100 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9101 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9102 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9103 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9104 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9105 (todo-font-lock-keywords, todo-global-current-todo-file)
9106 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9107 (todo-insertion-commands-args)
9108 (todo-insertion-commands-args-genlist)
9109 (todo-insertion-commands-names, todo-insertion-map)
9110 (todo-key-bindings-t, todo-key-bindings-t+a)
9111 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9112 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9113 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9114 (todo-visited): New variables.
9115
9116 2013-06-21 Glenn Morris <rgm@gnu.org>
9117
9118 * play/cookie1.el (cookie-apropos): Add optional display argument.
9119 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9120 (psychoanalyze-pinhead): Use cookie-doctor.
9121
9122 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9123
9124 * emacs-lisp/package.el (tar-get-file-descriptor)
9125 (tar--extract): Declare.
9126
9127 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9128
9129 Extend flymake's warning predicate to be a function (bug#14217).
9130 * progmodes/flymake.el (flymake-warning-predicate): New.
9131 (flymake-parse-line): Use it.
9132 (flymake-warning-re): Make obsolete alias to
9133 `flymake-warning-predicate'.
9134
9135 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9138 (package-obsolete-list): Remove.
9139 (package-activate): Remove min-version argument. Add `force' argument.
9140 Adjust to new package-alist format.
9141 (package-mark-obsolete): Remove.
9142 (package-unpack): Force reload of the package's autoloads.
9143 (package-installed-p): Check builtins if the installed package is not
9144 recent enough.
9145 (package-initialize): Don't reset package-obsolete-list.
9146 Don't specify which package version to activate.
9147 (package-process-define-package, describe-package-1)
9148 (package-menu--generate): Adjust to new package-alist format.
9149
9150 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9151
9152 * allout-widgets.el (allout-widgets-mode-off)
9153 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9154 (allout-widgets-post-command-business)
9155 (allout-widgets-after-copy-or-kill-function)
9156 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9157 (allout-decorate-item-and-context)
9158 (allout-graphics-modification-handler): Fix typos in docstrings.
9159 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9160
9161 * cmuscheme.el (scheme-start-file): Doc fix.
9162 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9163 (scheme-input-filter): Use `string-match-p'.
9164
9165 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9166
9167 * dired-x.el: Use Dired consistently in docstrings.
9168
9169 * dired.el: Use Dired consistently in docstrings.
9170 (dired-readin, dired-mode): Use `setq-local'.
9171 (dired-switches-alist): Make defvar-local.
9172 (dired-buffers-for-dir): Use `zerop'.
9173 (dired-safe-switches-p, dired-switches-escape-p)
9174 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9175 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9176 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9177 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9178 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9179 (dired-toggle-marks, dired-mark-files-containing-regexp)
9180 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9181 (dired-flag-auto-save-files, dired-flag-backup-files):
9182 Use `looking-at-p'.
9183 (dired-mark-files-regexp, dired-build-subdir-alist):
9184 Use `string-match-p', `looking-at-p'.
9185
9186 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9187 (direct-print-region-helper): Use `string-match-p'.
9188
9189 2013-06-21 Leo Liu <sdl.web@gmail.com>
9190
9191 * comint.el (comint-redirect-results-list-from-process):
9192 Fix infinite loop.
9193
9194 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9195
9196 * net/eww.el (eww-update-header-line-format): Quote % characters.
9197
9198 2013-06-21 Glenn Morris <rgm@gnu.org>
9199
9200 * play/cookie1.el (cookie): New custom group.
9201 (cookie-file): New option.
9202 (cookie-check-file): New function.
9203 (cookie): Make it interactive. Make start and end messages optional.
9204 Interactively, display the result. Default to cookie-file.
9205 (cookie-insert): Default to cookie-file.
9206 (cookie-snarf): Make start and end messages optional.
9207 Default to cookie-file. Use with-temp-buffer.
9208 (cookie-read): Rename from read-cookie.
9209 Make start and end messages optional. Default to cookie-file.
9210 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9211 Do not autoload it.
9212 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9213 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9214
9215 2013-06-21 Leo Liu <sdl.web@gmail.com>
9216
9217 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9218
9219 2013-06-21 Glenn Morris <rgm@gnu.org>
9220
9221 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9222
9223 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9224 Daniel Hackney <dan@haxney.org>
9225
9226 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9227 Consolidate the single-file vs tarball code.
9228 (package-desc-suffix): New function.
9229 (package-desc-full-name): Don't bother inlining it.
9230 (package-load-descriptor): Return the new package-desc.
9231 (package-mark-obsolete): Remove unused arg `package'.
9232 (package-unpack): Make it work for single files as well.
9233 Make it update package-alist.
9234 (package--make-autoloads-and-stuff): Rename from
9235 package--make-autoloads-and-compile. Don't compile any more.
9236 (package--compile): New function.
9237 (package-generate-description-file): New function, extracted from
9238 package-unpack-single.
9239 (package-unpack-single): Remove.
9240 (package--with-work-buffer): Add indentation and debugging info.
9241 (package-download-single): Remove.
9242 (package-install-from-archive): Rename from package-download-tar, make
9243 it take a pkg-desc, and make it work for single files as well.
9244 (package-download-transaction): Simplify.
9245 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9246 external tar program.
9247 (package-install-from-buffer): Remove `pkg-desc' argument.
9248 Use package-tar-file-info for tar-mode buffers.
9249 (package-install-file): Simplify accordingly.
9250 (package-archive-base): Change to take a pkg-desc.
9251 * tar-mode.el (tar--check-descriptor): New function, extracted from
9252 tar-get-descriptor.
9253 (tar-get-descriptor): Use it.
9254 (tar-get-file-descriptor): New function.
9255 (tar--extract): New function, extracted from tar-extract.
9256 (tar--extract): Use it.
9257 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9258 case the summary uses non-ascii. Adjust to new calling convention of
9259 package-tar-file-info.
9260
9261 2013-06-21 Leo Liu <sdl.web@gmail.com>
9262
9263 * comint.el (comint-redirect-results-list-from-process):
9264 Fix random delay. (Bug#14681)
9265
9266 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * profiler.el (profiler-format-number): Use log, not log10.
9269
9270 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9271
9272 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9273
9274 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9276 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9277 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9278 yet available.
9279 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9280 (AUTOGENEL): ... here.
9281 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9282 (cl--defsubst-expand): Use it.
9283
9284 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9285
9286 * subr.el (log10): Move here from C code, and declare as obsolete.
9287 All uses of (log10 X) replaced with (log X 10).
9288
9289 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9290
9291 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9292 Declare with `defvar-local'.
9293 (tabulated-list-use-header-line, tabulated-list-entries)
9294 (tabulated-list-padding, tabulated-list-printer)
9295 (tabulated-list-sort-key): Declare with `defvar-local'.
9296 (tabulated-list-init-header, tabulated-list-print-fake-header):
9297 Use `setq-local'.
9298
9299 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9300
9301 * arc-mode.el (archive-mode): Add `archive-write-file' to
9302 `write-contents-functions' also for remote files. (Bug#14652)
9303
9304 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9305
9306 * cus-edit.el (custom-commands): Fix typos.
9307 (custom-display): Fix tooltip text.
9308 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9309 Fix typos in docstrings.
9310 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9311 (custom-unlispify-menu-entry, custom-magic-value-create)
9312 (custom-add-see-also, custom-group-value-create): Use ?\s.
9313 (custom-guess-type, customize-apropos, editable-field)
9314 (custom-face-value-create): Use `string-match-p'.
9315 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9316
9317 * custom.el (custom-load-symbol): Use `string-match-p'.
9318
9319 * ansi-color.el: Convert to lexical binding.
9320 (ansi-colors): Fix URL.
9321 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9322 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9323 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9324
9325 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9326
9327 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9328
9329 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9330
9331 2013-06-19 Tom Tromey <tromey@redhat.com>
9332
9333 * net/eww.el (eww-top-url): Remove.
9334 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9335 (eww-render): Set new variables. Don't set eww-top-url.
9336 (eww-handle-link): Handle "prev", "home", and "contents".
9337 Downcase the rel text.
9338 (eww-top-url): Choose best top URL.
9339
9340 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9341
9342 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9343 relying in widget.el. Using widget.el leads to too many
9344 user interface inconsistencies.
9345 (eww-self-insert): Implement entering commands in text fields.
9346 (eww-process-text-input): New function to make text input field editing
9347 work.
9348 (eww-submit): Rewrite to use the new-style form methods.
9349 (eww-select-display): Display the correct selected item.
9350 (eww-change-select): Implement changing the select value.
9351 (eww-toggle-checkbox): Implement radio/checkboxes.
9352 (eww-update-field): Fix compilation error.
9353 (eww-tag-textarea): Implement <textarea>.
9354
9355 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9356 we don't shadow mode-specific bindings.
9357
9358 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9359 nothing to push.
9360
9361 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9362
9363 2013-06-19 Glenn Morris <rgm@gnu.org>
9364
9365 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9366
9367 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9368
9369 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9370 not needed.
9371
9372 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9373
9374 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9375
9376 * net/browse-url.el (browse-url-browser-function):
9377 `eww-browse-url' has the right calling signature, `eww' does not.
9378
9379 2013-06-19 Glenn Morris <rgm@gnu.org>
9380
9381 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9382 Only eval autoloaded macros.
9383 (byte-compile-autoload): Only give the macro warning for macros.
9384
9385 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9386 (ps-underlined-faces): Declare.
9387
9388 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9389 (speedbar-add-supported-extension): Declare.
9390
9391 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9392 Don't include a date stamp in the header of the generated file;
9393 it leads to needless differences between output files.
9394
9395 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/secrets.el (secrets-struct-secret-content-type):
9398 Replace check of introspection data by a test call of "CreateItem".
9399 Some servers do not offer introspection.
9400
9401 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * electric.el (electric-pair-mode): Improve interaction with
9404 electric-layout-mode.
9405 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9406 (electric-pair-syntax): Use text-mode-syntax-table in comments
9407 and strings.
9408 (electric-pair--insert): New function.
9409 (electric-pair-post-self-insert-function): Use it and
9410 electric--after-char-pos.
9411
9412 2013-06-19 Leo Liu <sdl.web@gmail.com>
9413
9414 * progmodes/octave.el (octave-help): Fix regexp.
9415
9416 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9419 (shr-table-horizontal-line): Allow nil as a value, and change the
9420 default.
9421 (shr-insert-table-ruler): Respect the nil value.
9422
9423 2013-06-18 Tom Tromey <tromey@barimba>
9424
9425 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9426 New defvars.
9427 (eww-open-file): New defun.
9428 (eww-render): Initialize new variables.
9429 (eww-display-html): Handle "link" and "a".
9430 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9431 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9432 (eww-back-url): Rename from eww-previous-url.
9433 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9434 New defuns.
9435
9436 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9437
9438 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9439 Distinguish ternary operator tokens from slash symbol and slash
9440 char literal.
9441
9442 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9443
9444 Convert symbol prettification into minor mode and global minor mode.
9445
9446 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9447 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9448 (prettify-symbols--keywords): Rename from
9449 `prog-prettify-symbols-alist' and make a local defvar.
9450 (prettify-symbols--compose-symbol): Rename from
9451 `prog--prettify-font-lock-compose-symbol'.
9452 (prettify-symbols--make-keywords): Rename from
9453 `prog-prettify-font-lock-symbols-keywords' and simplify.
9454 (prog-prettify-install): Remove.
9455 (prettify-symbols-mode): New minor mode, based on
9456 `prog-prettify-install'.
9457 (turn-on-prettify-symbols-mode): New function.
9458 (global-prettify-symbols-mode): New globalized minor mode.
9459
9460 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9461 * progmodes/cfengine.el (cfengine3-mode):
9462 * progmodes/perl-mode.el (perl-mode): Don't call
9463 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9464
9465 2013-06-18 Juri Linkov <juri@jurta.org>
9466
9467 * files-x.el (modify-file-local-variable-message): New function.
9468 (modify-file-local-variable)
9469 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9470 and call `modify-file-local-variable-message' when it's non-nil.
9471 (add-file-local-variable, delete-file-local-variable)
9472 (add-file-local-variable-prop-line)
9473 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9474 and use it. (Bug#9820)
9475
9476 2013-06-18 Juri Linkov <juri@jurta.org>
9477
9478 * emulation/vi.el (vi-shell-op):
9479 * emulation/vip.el (vip-execute-com, ex-command):
9480 * emulation/viper-cmd.el (viper-exec-bang):
9481 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9482 the call of `shell-command-on-region'. (Bug#14637)
9483
9484 * simple.el (shell-command-on-region): Doc fix.
9485
9486 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9489 (bug#14633).
9490
9491 2013-06-18 Glenn Morris <rgm@gnu.org>
9492
9493 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9494
9495 * newcomment.el (comment-search-forward, comment-search-backward):
9496 Doc fix. (Bug#14376)
9497
9498 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9499
9500 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9501 (buffer-face-mode-invoke): Doc fix.
9502
9503 2013-06-18 Matthias Meulien <orontee@gmail.com>
9504
9505 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9506 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9507
9508 2013-06-18 Glenn Morris <rgm@gnu.org>
9509
9510 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9511 Replace obsolete function generic-make-keywords with its expansion.
9512
9513 * progmodes/python.el (ffap-alist): Declare.
9514
9515 * textmodes/reftex.el (bibtex-mode-map): Declare.
9516
9517 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9520 (package-unpack, package-unpack-single): Return the pkg-dir.
9521 (package-download-transaction): Use it to update package-alist.
9522
9523 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9524
9525 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9526 possible choice.
9527
9528 2013-06-17 Juri Linkov <juri@jurta.org>
9529
9530 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9531
9532 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9533
9534 * emacs-lisp/package.el (package-load-descriptor):
9535 Remove `with-syntax-table' call, `read' doesn't need it.
9536 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9537
9538 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9539
9540 * startup.el (command-line): Expand package name returned by
9541 `package--description-file' (bug#14639).
9542
9543 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9544
9545 * emacs-lisp/package.el (package-load-descriptor): Do not call
9546 `emacs-lisp-mode', just use its syntax table.
9547
9548 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9549
9550 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9551 `font-lock-extra-managed-props' if any prettifying keyword is added.
9552 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9553 (prog-mode): Use `setq-local'.
9554
9555 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * international/characters.el (standard-case-table): Set syntax of ?»
9558 and ?« to punctuation.
9559
9560 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9561
9562 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9563 Save relevant match data before calling `syntax-ppss' (bug#14595).
9564
9565 2013-06-15 Juri Linkov <juri@jurta.org>
9566
9567 * files-x.el (modify-file-local-variable-prop-line): Add local
9568 variables to the end of the existing comment on the first line.
9569 Use `file-auto-mode-skip' to skip interpreter magic line,
9570 and also skip XML declaration.
9571
9572 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9573
9574 * startup.el (package--builtin-versions): New var.
9575 (package-subdirectory-regexp): Remove.
9576 (package--description-file): Hard code its value instead.
9577
9578 * emacs-lisp/package.el: Don't activate packages older than builtin.
9579 (package-obsolete-list): Rename from package-obsolete-alist, and make
9580 it into a simple list of package-desc.
9581 (package-strip-version): Remove.
9582 (package-built-in-p): Use package--builtin-versions.
9583 (package-mark-obsolete): Simplify.
9584 (package-process-define-package): Mark it obsolete if older than the
9585 builtin version.
9586 (package-handle-response): Use line-end-position.
9587 (package-read-archive-contents, package--download-one-archive):
9588 Simplify.
9589 (package--add-to-archive-contents): Skip if older than the builtin or
9590 installed version.
9591 (package-menu-describe-package): Fix last change.
9592 (package-list-unversioned): New var.
9593 (package-menu--generate): Use it.
9594
9595 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9596 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9597 (autoload-builtin-package-versions): New variable.
9598 (autoload-generate-file-autoloads): Use them.
9599 Remove the list of autoloaded functions/macros from the
9600 (autoload...) comments.
9601
9602 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9603
9604 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9605
9606 * simple.el (line-move-partial): Don't jump to the next screen
9607 line as soon as it becomes visible. Instead, continue enlarging
9608 the vscroll until the portion of a tall screen line that's left on
9609 display is about the height of the frame's default font.
9610 (Bug#14567)
9611
9612 2013-06-15 Glenn Morris <rgm@gnu.org>
9613
9614 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9615 compilation-error-regexp-alist void, or local while let-bound.
9616
9617 * progmodes/make-mode.el (makefile-mode-syntax-table):
9618 Treat "=" as punctuation. (Bug#14614)
9619
9620 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9621
9622 * help-fns.el (describe-variable):
9623 Add extra line for permanent-local variables.
9624
9625 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9626
9627 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9628 Add export, import, library. (Bug#9164)
9629 (library): Set indent function.
9630
9631 2013-06-14 Glenn Morris <rgm@gnu.org>
9632
9633 * term/xterm.el (xterm--query):
9634 Stop after first matching handler. (Bug#14615)
9635
9636 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9637
9638 Add support for dired in saveplace.
9639 * dired.el (dired-initial-position-hook): New variable.
9640 (dired-initial-position): Call hook to place cursor position.
9641 * saveplace.el (save-place-to-alist): Add dired position.
9642 (save-place-dired-hook): New function.
9643
9644 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9647 through a symbol rather than letrec.
9648
9649 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9650 (package-desc): Add `dir' field.
9651 (package-desc-full-name): New function.
9652 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9653 (package-maybe-load-descriptor): Remove.
9654 (package-load-all-descriptors): Just call package-load-descriptor.
9655 (package--disabled-p): New function.
9656 (package-desc-vers, package-desc-doc): Remove aliases.
9657 (package--dir): Remove function.
9658 (package-activate): Check if a package is disabled.
9659 (package-process-define-package): New function, extracted from
9660 define-package.
9661 (define-package): Turn into a place holder.
9662 (package-unpack-single, package-tar-file-info):
9663 Use package--description-file.
9664 (package-compute-transaction): Use package--disabled-p.
9665 (package-download-transaction): Don't call
9666 package-maybe-load-descriptor since they're all loaded anyway.
9667 (package-install): Change argument to be a pkg-desc.
9668 (package-delete): Use a single pkg-desc argument.
9669 (describe-package-1): Use package-desc-dir instead of package--dir.
9670 Use package-desc property instead of package-symbol.
9671 (package-install-button-action): Adjust accordingly.
9672 (package--push): Rewrite.
9673 (package-menu--print-info): Adjust accordingly. Change the ID format
9674 to be a pkg-desc.
9675 (package-menu-describe-package, package-menu-get-status)
9676 (package-menu--find-upgrades, package-menu-mark-upgrades)
9677 (package-menu-execute, package-menu--name-predicate):
9678 Adjust accordingly.
9679 * startup.el (package--description-file): New function.
9680 (command-line): Use it.
9681 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9682 Use package-desc-version.
9683
9684 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9685 (byte-compile-preprocess): Use it.
9686 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9687 can't quite recognize.
9688 (byte-compile-add-to-list): Remove.
9689 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9690 (cconv-closure-convert): Add assertion.
9691
9692 * emacs-lisp/map-ynp.el: Use lexical-binding.
9693 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9694 Factor out some repeated code.
9695
9696 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9697
9698 * subr.el (with-eval-after-load): New macro.
9699 (eval-after-load): Allow form to be a function.
9700 take advantage of lexical-binding.
9701 (do-after-load-evaluation): Use dolist and adjust to new format.
9702 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9703
9704 2013-06-13 Juri Linkov <juri@jurta.org>
9705
9706 * replace.el (perform-replace): Display "symbol " and other search
9707 modes from `isearch-message-prefix' in the *Help* buffer.
9708
9709 * isearch.el (isearch-query-replace): Add " symbol" and other
9710 possible search modes from `isearch-message-prefix' to the prompt.
9711 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9712 when reading a regexp to collect.
9713
9714 2013-06-13 Juri Linkov <juri@jurta.org>
9715
9716 * isearch.el (word-search-regexp): Match whitespace if the search
9717 string begins or ends in whitespace. The LAX arg is applied to
9718 both ends of the search string. Use `regexp-quote' and explicit
9719 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9720 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9721 boundaries are replaced with symbol boundaries, and characters
9722 between symbols match non-word non-symbol syntax. (Bug#14602)
9723
9724 2013-06-13 Juri Linkov <juri@jurta.org>
9725
9726 * isearch.el (isearch-del-char): Don't exceed the length of
9727 `isearch-string' by the prefix arg. (Bug#14563)
9728
9729 2013-06-13 Juri Linkov <juri@jurta.org>
9730
9731 * isearch.el (isearch-yank-word, isearch-yank-line)
9732 (isearch-char-by-name, isearch-quote-char)
9733 (isearch-printing-char, isearch-process-search-char):
9734 Add optional count prefix arg. (Bug#14563)
9735
9736 * international/isearch-x.el
9737 (isearch-process-search-multibyte-characters):
9738 Add optional count prefix arg.
9739
9740 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9743 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9744 lexical-binding.
9745
9746 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9747
9748 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9749
9750 2013-06-13 Glenn Morris <rgm@gnu.org>
9751
9752 * startup.el (tty-handle-args):
9753 Don't just discard "--" and anything after. (Bug#14608)
9754
9755 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9756
9757 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9758
9759 Implement changes in Secret Service API. Make it backward compatible.
9760 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9761 (secrets-create-item): Use it. Prefix properties with interface.
9762
9763 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9764
9765 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9766 (term-emulate-terminal): Respect term-suppress-hard-newline.
9767
9768 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9769
9770 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9771 Only remove a `thumb-file' overlay. (Bug#14548)
9772
9773 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9774
9775 * mail/reporter.el (reporter-submit-bug-report):
9776 Handle missing package-name. (Bug#14600)
9777
9778 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9779
9780 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9781 (reftex-citation-prompt, reftex-default-bibliography)
9782 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9783 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9784 (reftex-bib-sort-author, reftex-bib-sort-year)
9785 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9786 (reftex-extract-bib-entries-from-thebibliography)
9787 (reftex-get-bibkey-default, reftex-get-bib-names)
9788 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9789 (reftex-format-bib-entry, reftex-parse-bibitem)
9790 (reftex-format-bibitem, reftex-do-citation)
9791 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9792 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9793 (reftex-insert-bib-matches, reftex-format-citation)
9794 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9795 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9796 existing comments into docstrings.
9797
9798 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9799
9800 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9801
9802 2013-06-12 Andreas Schwab <schwab@suse.de>
9803
9804 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9805 for auto-save files.
9806
9807 2013-06-12 Glenn Morris <rgm@gnu.org>
9808
9809 * ido.el (ido-delete-ignored-files): Remove.
9810 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9811 Go back to calling ido-ignore-item-p directly.
9812
9813 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9814
9815 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9816
9817 * ido.el (ido-delete-ignored-files): New function,
9818 split from ido-make-file-list-1.
9819 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9820 (ido-make-file-list-1): Use ido-delete-ignored-files.
9821
9822 2013-06-12 Leo Liu <sdl.web@gmail.com>
9823
9824 * progmodes/octave.el (inferior-octave-startup)
9825 (inferior-octave-completion-table)
9826 (inferior-octave-track-window-width-change)
9827 (octave-eldoc-function-signatures, octave-help)
9828 (octave-find-definition): Use single quoted strings.
9829 (inferior-octave-startup-args): Change default value.
9830 (inferior-octave-startup): Do not hard code "-i" and
9831 "--no-line-editing".
9832 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9833 (inferior-octave-directory-tracker): Use it.
9834 (octave-goto-function-definition): Robustify.
9835 (octave-help): Support highlighting operators in 'See also'.
9836 (octave-find-definition): Find subfunctions only in Octave mode.
9837
9838 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * help-fns.el (help-fns--compiler-macro): If the handler function is
9841 named, then put a link to it.
9842 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9843 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9844 (cl-typep): Use it.
9845 (cl-eval-when): Simplify debug spec.
9846 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9847 compiler-macro function instead of setting `compiler-macro-file'.
9848
9849 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9850
9851 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9852 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9853
9854 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9855 Daniel Hackney <dan@haxney.org>
9856
9857 First part of Daniel Hackney's patch to package.el.
9858 * emacs-lisp/package.el: Use defstruct.
9859 (package-desc): New, main struct.
9860 (package--bi-desc, package--ac-desc): New structs, used to describe the
9861 format in external files.
9862 (package-desc-vers): Replace with package-desc-version accessor.
9863 (package-desc-doc): Replace with package-desc-summary accessor.
9864 (package-activate-1): Remove `package' arg since the pkg-vec now
9865 includes the name.
9866 (define-package): Use package-desc-from-define.
9867 (package-unpack-single): Change file-name arg to be a symbol.
9868 (package--add-to-archive-contents): Use package-desc-create and new
9869 accessor functions to package--ac-desc.
9870 (package-buffer-info, package-tar-file-info): Return a package-desc.
9871 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9872 arg to be a package-desc.
9873 (package-install-file): Adjust accordingly. Use \' to match EOS.
9874 (package--from-builtin): New function.
9875 (describe-package-1, package-menu--generate): Use it.
9876 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9877 (package-generate-autoloads): Idem and return the name of the file.
9878 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9879 Change pkg-info arg to be a package-desc.
9880 Use package-make-ac-desc.
9881 (package-upload-file): Use \' to match EOS.
9882 * finder.el (finder-compile-keywords): Use package-make-builtin.
9883
9884 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * vc/vc.el (vc-deduce-fileset): Change error message.
9887 (vc-read-backend): New function.
9888 (vc-next-action): Use it.
9889
9890 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9891
9892 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9893 (prolog-font-lock-keywords): Use regexp-opt instead.
9894 Don't manually highlight strings.
9895 (prolog-mode-variables): Simplify comment-start-skip.
9896 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9897
9898 * emacs-lisp/generic.el (generic--normalise-comments)
9899 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9900 (generic-mode-set-comments): Use them.
9901 (generic-bracket-support): Use setq-local.
9902 (generic-make-keywords-list): Declare obsolete.
9903
9904 2013-06-11 Glenn Morris <rgm@gnu.org>
9905
9906 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9907 Prettify after setting font-lock-defaults. (Bug#14574)
9908
9909 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9910
9911 * replace.el (query-replace, occur-read-regexp-defaults-function)
9912 (replace-search):
9913 * subr.el (declare-function, number-sequence, local-set-key)
9914 (substitute-key-definition, locate-user-emacs-file)
9915 (with-silent-modifications, split-string, eval-after-load):
9916 Fix typos, remove unneeded backslashes and reflow some docstrings.
9917
9918 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9921 default for Elisp files.
9922
9923 2013-06-11 Glenn Morris <rgm@gnu.org>
9924
9925 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9926 although define-derived-mode was doing this anyway. (Bug#14583)
9927
9928 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9929
9930 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9931 Fix make-variable-buffer-local call to refer to the correct variable.
9932
9933 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9934
9935 * eshell/em-term.el (eshell-visual-commands)
9936 (eshell-visual-subcommands, eshell-visual-options):
9937 Add summary line to docstrings. Add cross-references.
9938
9939 2013-06-10 Glenn Morris <rgm@gnu.org>
9940
9941 * epa.el (epa-read-file-name): New function. (Bug#14510)
9942 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9943
9944 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9945
9946 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9947 output redirection to be ignored with visual commands.
9948
9949 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9950
9951 * eshell/em-term.el (eshell-visual-command-p): New function.
9952 (eshell-term-initialize): Move long lambda to separate function
9953 eshell-visual-command-p.
9954 * eshell/em-dirs.el (eshell-dirs-initialise):
9955 * eshell/em-script.el (eshell-script-initialize):
9956 Add missing #' to lambda.
9957
9958 2013-06-08 Leo Liu <sdl.web@gmail.com>
9959
9960 * progmodes/octave.el (octave-add-log-current-defun): New function.
9961 (octave-mode): Set add-log-current-defun-function.
9962 (octave-goto-function-definition): Do not move point if not found.
9963 (octave-find-definition): Enhance to try subfunctions first.
9964
9965 2013-06-08 Glenn Morris <rgm@gnu.org>
9966
9967 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9968 (byte-compile-backward-char, byte-compile-backward-word):
9969 Improve previous change, to handle non-explicit nil.
9970
9971 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9972
9973 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9974 (smie--opener/closer-at-point): New function.
9975 (smie--matching-block-data): Use it. Don't match from right after an
9976 opener or right before a closer. Obey smie-blink-matching-inners.
9977 Don't signal a mismatch for repeated inners like "switch..case..case".
9978
9979 2013-06-07 Leo Liu <sdl.web@gmail.com>
9980
9981 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9982 to t. (Bug#14303)
9983 (octave-function-header-regexp): Fix. (Bug#14570)
9984 (octave-help-mode-finish-hook, octave-help-mode-finish):
9985 Remove. Just use temp-buffer-show-hook.
9986
9987 * newcomment.el (comment-search-backward): Revert last change.
9988 (Bug#14434)
9989
9990 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9991
9992 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9993
9994 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9995 through xargs, to avoid failure due to MS-Windows limitations on
9996 command-line length.
9997
9998 2013-06-06 Glenn Morris <rgm@gnu.org>
9999
10000 * font-lock.el (lisp-font-lock-keywords-2):
10001 Treat user-error like error.
10002
10003 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10004 (byte-compile-backward-char, byte-compile-backward-word):
10005 Handle explicit nil arguments. (Bug#14565)
10006
10007 2013-06-05 Alan Mackenzie <acm@muc.de>
10008
10009 * isearch.el (isearch-allow-prefix): New user option.
10010 (isearch-other-meta-char): Don't exit isearch when a prefix
10011 argument is typed whilst `isearch-allow-prefix' is non-nil.
10012 (Bug#9706)
10013
10014 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * autorevert.el (auto-revert-notify-handler): Use memq.
10017 Hide assertion failure.
10018
10019 * skeleton.el: Use cl-lib.
10020 (skeleton-further-elements): Use defvar-local.
10021 (skeleton-insert): Use cl-progv.
10022
10023 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10024
10025 * progmodes/prog-mode.el (prog-prettify-symbols)
10026 (prog-prettify-install): Update docstrings.
10027
10028 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10029
10030 * simple.el: Move all the prog-mode code to prog-mode.el.
10031 * progmodes/prog-mode.el: New file.
10032 * loadup.el: Add prog-mode.el.
10033
10034 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10035
10036 * simple.el (prog-prettify-symbols): Add version.
10037 (prog-prettify-install): Add convenience function to prettify symbols.
10038
10039 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10040 (perl--augmented-font-lock-keywords-1)
10041 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10042 variables and use it.
10043
10044 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10045 (cfengine3-mode): Remove unneeded variable and use it.
10046
10047 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10048 (lisp--augmented-font-lock-keywords-1)
10049 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10050 Remove unneeded variables and use it.
10051
10052 2013-06-05 João Távora <joaotavora@gmail.com>
10053
10054 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10055 to point when opening the connection. (Bug#14380)
10056
10057 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * subr.el (load-history-regexp, load-history-filename-element)
10060 (eval-after-load, after-load-functions, do-after-load-evaluation)
10061 (eval-next-after-load, display-delayed-warnings)
10062 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10063 definition of save-match-data.
10064 (overriding-local-map): Remove accidental obsolescence declaration.
10065
10066 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10067
10068 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10069
10070 Generalize symbol prettify support to prog-mode and implement it
10071 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10072 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10073 (prog--prettify-font-lock-compose-symbol)
10074 (prog-prettify-font-lock-symbols-keywords): New variables and
10075 functions to support symbol prettification.
10076 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10077 (lisp--augmented-font-lock-keywords-1)
10078 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10079 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10080 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10081 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10082 Implement prettify of -> => :: strings.
10083 * progmodes/perl-mode.el (perl-prettify-symbols)
10084 (perl--font-lock-compose-symbol)
10085 (perl--font-lock-symbols-keywords): Move to prog-mode.
10086 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10087 (perl-font-lock-keywords-1)
10088 (perl-font-lock-keywords-2): Remove explicit prettify support.
10089 (perl--augmented-font-lock-keywords)
10090 (perl--augmented-font-lock-keywords-1)
10091 (perl--augmented-font-lock-keywords-2, perl-mode):
10092 Implement prettify support.
10093
10094 2013-06-05 Leo Liu <sdl.web@gmail.com>
10095
10096 Re-implement smie matching block highlight using
10097 show-paren-data-function. (Bug#14395)
10098 * emacs-lisp/smie.el (smie-matching-block-highlight)
10099 (smie--highlight-matching-block-overlay)
10100 (smie--highlight-matching-block-lastpos)
10101 (smie-highlight-matching-block)
10102 (smie-highlight-matching-block-mode): Remove.
10103 (smie--matching-block-data-cache): New variable.
10104 (smie--matching-block-data): New function.
10105 (smie-setup): Use smie--matching-block-data for
10106 show-paren-data-function.
10107
10108 * progmodes/octave.el (octave-mode-menu): Fix.
10109 (octave-find-definition): Skip garbage lines.
10110
10111 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 Fix compilation error with simultaneous dynamic+lexical scoping.
10114 Add warning when a defvar appears after the first let-binding.
10115 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10116 (byte-compile-close-variables): Initialize it.
10117 (byte-compile--declare-var): New function.
10118 (byte-compile-file-form-defvar)
10119 (byte-compile-file-form-define-abbrev-table)
10120 (byte-compile-file-form-custom-declare-variable): Use it.
10121 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10122 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10123 (byte-compile-bind): Handle dynamic bindings that shadow
10124 lexical bindings.
10125 (byte-compile-unbind): Make arg non-optional.
10126 (byte-compile-let): Simplify.
10127 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10128 (cconv--analyse-function, cconv-analyse-form): Populate it.
10129 Protect byte-compile-bound-variables to limit the scope of defvars.
10130 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10131 Remove unneeded rule for `declare'.
10132
10133 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10134 so as to avoid depending on cl-adjoin at run-time.
10135 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10136
10137 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10138 (macroexp--warn-and-return): Use it.
10139
10140 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * subr.el: Convert to lexical binding.
10143 (overriding-local-map): Make obsolete.
10144 (add-to-list): Doc fix. Add compiler macro.
10145 (read-key): Swap values of local maps.
10146
10147 2013-06-05 Leo Liu <sdl.web@gmail.com>
10148
10149 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10150
10151 2013-06-04 Leo Liu <sdl.web@gmail.com>
10152
10153 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10154 (compilation-auto-jump): Suppress the "Mark set" message to give
10155 way to exit message.
10156
10157 2013-06-04 Alan Mackenzie <acm@muc.de>
10158
10159 Remove faulty optimisation from indentation calculation.
10160 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10161 search limit based on 2000 characters back from indent-point.
10162
10163 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10164
10165 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10166
10167 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10168
10169 * emacs-lisp/lisp.el: Use lexical-binding.
10170 (lisp--local-variables-1, lisp--local-variables): New functions.
10171 (lisp--local-variables-completion-table): New var.
10172 (lisp-completion-at-point): Use it complete let-bound vars.
10173
10174 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10175 eagerly (bug#14422).
10176
10177 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10178
10179 * autorevert.el (auto-revert-notify-enabled)
10180 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10181 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10182 (auto-revert-notify-handler): Handle also gfilenotify.
10183
10184 * subr.el (file-notify-handle-event): New defun. Replacing ...
10185 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10186 Remove.
10187
10188 2013-06-03 Juri Linkov <juri@jurta.org>
10189
10190 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10191 `M-s h .'. (Bug#14427)
10192
10193 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10194 command `hi-lock-face-symbol-at-point'.
10195 (hi-lock-face-symbol-at-point): New command.
10196 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10197 (hi-lock-menu): Add `highlight-symbol-at-point'.
10198 (hi-lock-mode): Doc fix.
10199
10200 * isearch.el (isearch-forward-symbol-at-point): New command.
10201 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10202 (isearch-highlight-regexp): Add a regexp which matches
10203 words/symbols for word/symbol mode.
10204
10205 * subr.el (find-tag-default-bounds): New function with the body
10206 mostly moved from `find-tag-default'.
10207 (find-tag-default): Move most code to `find-tag-default-bounds',
10208 call it and apply `buffer-substring-no-properties' afterwards.
10209
10210 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10211
10212 * eshell/em-term.el (eshell-term-initialize):
10213 Use `cl-intersection' rather than `intersection'.
10214
10215 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10216
10217 * vc/log-view.el: Doc fix.
10218 (log-view-mode-map): Copy keymap from `special-mode-map'.
10219
10220 2013-06-02 Eric Ludlam <zappo@gnu.org>
10221
10222 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10223 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10224 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10225 (eieio-unbound, eieio-default-superclass)
10226 (eieio--define-field-accessors, method-static, method-before)
10227 (method-primary, method-after, method-num-lists)
10228 (method-generic-before, method-generic-primary)
10229 (method-generic-after, method-num-slots)
10230 (eieio-specialized-key-to-generic-key)
10231 (eieio--check-type, class-v, class-p)
10232 (eieio-class-name, define-obsolete-function-alias)
10233 (eieio-class-parents-fast, eieio-class-children-fast)
10234 (same-class-fast-p, class-constructor, generic-p)
10235 (generic-primary-only-p, generic-primary-only-one-p)
10236 (class-option-assoc, class-option, eieio-object-p)
10237 (class-abstract-p, class-method-invocation-order)
10238 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10239 (eieio-class-un-autoload, eieio-defclass)
10240 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10241 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10242 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10243 (eieio-defgeneric-reset-generic-form)
10244 (eieio-defgeneric-form-primary-only)
10245 (eieio-defgeneric-reset-generic-form-primary-only)
10246 (eieio-defgeneric-form-primary-only-one)
10247 (eieio-defgeneric-reset-generic-form-primary-only-one)
10248 (eieio-unbind-method-implementations)
10249 (eieio--defmethod, eieio--typep)
10250 (eieio-perform-slot-validation, eieio-validate-slot-value)
10251 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10252 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10253 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10254 (eieio-slot-name-index, eieio-class-slot-name-index)
10255 (eieio-set-defaults, eieio-initarg-to-attribute)
10256 (eieio-attribute-to-initarg, eieio-c3-candidate)
10257 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10258 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10259 (eieio-class-precedence-list, eieio-generic-call-methodname)
10260 (eieio-generic-call-arglst, eieio-generic-call-key)
10261 (eieio-generic-call-next-method-list)
10262 (eieio-pre-method-execution-functions, eieio-generic-call)
10263 (eieio-generic-call-primary-only, eieiomt-method-list)
10264 (eieiomt-optimizing-obarray, eieiomt-install)
10265 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10266 (eieio-generic-form, eieio-defmethod, make-obsolete)
10267 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10268 (defclass): Remove `eval-and-compile' from macro.
10269 (call-next-method, shared-initialize): Instead of using
10270 `scoped-class' variable, use new eieio--scoped-class, and
10271 eieio--with-scoped-class.
10272 (initialize-instance): Rename local variable 'scoped-class' to
10273 'this-class' to remove ambiguitity from old global.
10274
10275 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10276 eieio.el.
10277 (eieio--scoped-class-stack): New variable.
10278 (eieio--scoped-class): New fcn.
10279 (eieio--with-scoped-class): New scoping macro.
10280 (eieio-defclass): Use pushnew instead of add-to-list.
10281 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10282 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10283 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10284 `scoped-class' variable, use new eieio--scoped-class, and
10285 eieio--with-scoped-class.
10286
10287 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10288
10289 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10290
10291 * eshell/esh-ext.el (eshell-external-command): Pass args to
10292 `eshell-find-interpreter'.
10293 (eshell-find-interpreter): Add new second parameter ARGS.
10294
10295 * eshell/em-script.el (eshell-script-initialize): Add second arg
10296 to the function added as MATCH to `eshell-interpreter-alist'.
10297
10298 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10299 the function added as MATCH to `eshell-interpreter-alist'.
10300
10301 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10302 (eshell-visual-options): New defcustom.
10303 (eshell-escape-control-x): Adapt docstring.
10304 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10305 `eshell-visual-options' in addition to `eshell-visual-commands'.
10306 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10307
10308 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10309
10310 * progmodes/python.el (python-indent-block-enders): Add break,
10311 continue and raise keywords.
10312
10313 2013-06-01 Glenn Morris <rgm@gnu.org>
10314
10315 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10316
10317 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10318 * progmodes/cc-cmds.el (delete-forward-p):
10319 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10320 * progmodes/cc-engine.el (buffer-syntactic-context):
10321 * progmodes/cc-fonts.el (face-property-instance):
10322 * progmodes/cc-mode.el (set-keymap-parents):
10323 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10324 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10325 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10326 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10327 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10328
10329 * progmodes/cc-vars.el (other): Emacs has this widget since
10330 at least 21.1, so don't (re)define it.
10331
10332 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10333 Replace the obsolete alias pcomplete-arg-quote-list.
10334
10335 2013-06-01 Leo Liu <sdl.web@gmail.com>
10336
10337 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10338 punctuation syntax.
10339 (inferior-octave-minimal-columns)
10340 (inferior-octave-last-column-width): New variables.
10341 (inferior-octave-track-window-width-change): New function.
10342 (inferior-octave-mode): Adjust column width so that Octave output,
10343 for example from 'ls', can fit into the window nicely.
10344
10345 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10346
10347 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10348 Highlight expansions inside regexp literals.
10349
10350 2013-05-31 Glenn Morris <rgm@gnu.org>
10351
10352 * obsolete/sym-comp.el (symbol-complete):
10353 Replace obsolete completion-annotate-function.
10354
10355 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10356
10357 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10358
10359 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10360 New function, checks if point is inside a literal that allows
10361 expression expansion.
10362 (ruby-syntax-propertize-expansion): Use it.
10363 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10364 around the body.
10365
10366 2013-05-30 Juri Linkov <juri@jurta.org>
10367
10368 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10369 to "\M-si".
10370 (isearch-invisible): New variable.
10371 (isearch-forward): Doc fix.
10372 (isearch-mode): Set `isearch-invisible'
10373 to the value of `search-invisible'.
10374 (isearch-toggle-case-fold): Doc fix.
10375 (isearch-toggle-invisible): New command.
10376 (isearch-query-replace): Let-bind `search-invisible'
10377 to the value of `isearch-invisible'.
10378 (isearch-search): Use `isearch-invisible' instead of
10379 `search-invisible'. Let-bind `search-invisible'
10380 to the value of `isearch-invisible'. (Bug#11378)
10381
10382 2013-05-30 Juri Linkov <juri@jurta.org>
10383
10384 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10385 call when `query-flag' is nil and `search-invisible' is non-nil.
10386 (Bug#11746)
10387
10388 2013-05-30 Glenn Morris <rgm@gnu.org>
10389
10390 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10391
10392 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10393 (cc-require): Suppress spurious "noruntime" warnings.
10394 (cc-require-when-compile): Use fboundp, for sake of compiler.
10395
10396 * progmodes/cc-mode.el: Move load of cc-vars before that of
10397 cc-langs (which in turn loads cc-vars), to quieten compiler.
10398
10399 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * paren.el: Simplify the code.
10402 (show-paren-mode): Always start the timer.
10403 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10404 (show-paren--overlay, show-paren--overlay-1): Rename from
10405 show-paren-overlay and show-paren-overlay-1, and initialize to an
10406 overlay rather than to nil.
10407 (show-paren-function): Misc cleanup and simplifications.
10408
10409 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * paren.el (show-paren-data-function): New hook.
10412 (show-paren--default): New function, extracted from show-paren-function.
10413 (show-paren-function): Use show-paren-data-function.
10414
10415 2013-05-30 Glenn Morris <rgm@gnu.org>
10416
10417 * ielm.el (ielm-map, ielm-complete-symbol):
10418 Use completion-at-point rather than obsolete functions.
10419 (inferior-emacs-lisp-mode): Doc fix.
10420 Set completion-at-point-functions, rather than
10421 comint-dynamic-complete-functions.
10422
10423 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10424 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10425 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10426
10427 * image.el (image-animated-p): Tweak definition.
10428
10429 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10430 (rlogin-process-connection-type): Tweak default. Add set-after.
10431 (rlogin-host): Doc fix.
10432 (rlogin): Tweak prompt.
10433 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10434
10435 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10436 * progmodes/tcl.el (inferior-tcl-mode-map):
10437 Use completion-at-point rather than obsolete alias.
10438
10439 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10440
10441 * minibuffer.el (read-file-name-completion-ignore-case):
10442 Move before completion--in-region, for eager macro expansion.
10443
10444 2013-05-29 Juri Linkov <juri@jurta.org>
10445
10446 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10447 for total count of matching lines. Add `global-matches' for total
10448 count of matches. Rename `matches' to `lines' for count of
10449 matching lines. Add `matches' for count of matches.
10450 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10451 to `prev-line' for line number of prev match endpt.
10452 Increment `matches' for every match. Print the number of
10453 matching lines in the header.
10454 (occur-context-lines): Rename `lines' to `curr-line'.
10455 Rename `prev-lines' to `prev-line'. (Bug#14017)
10456
10457 2013-05-29 Juri Linkov <juri@jurta.org>
10458
10459 * replace.el (perform-replace): Add `skip-read-only-count',
10460 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10461 Increment them for corresponding conditions and report the number
10462 of skipped occurrences in the final message. (Bug#11746)
10463 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10464 (replace-string, replace-regexp): Doc fix.
10465
10466 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10469
10470 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10471 prog-mode-map (bug#14504).
10472
10473 2013-05-29 Leo Liu <sdl.web@gmail.com>
10474
10475 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10476 (octave-help): Small simplification.
10477
10478 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10479 off the highlight first.
10480
10481 2013-05-29 Glenn Morris <rgm@gnu.org>
10482
10483 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10484 Handle idlwave-last-system-routine-info-cons-cell being nil.
10485
10486 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10487 (idlwave-write-paths): Simplify via with-temp-buffer.
10488
10489 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10490 * emulation/cua-rect.el: Also load cua-base at run time.
10491
10492 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10493 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10494 (cperl-imenu-on-info): Require imenu.
10495
10496 2013-05-28 Alan Mackenzie <acm@muc.de>
10497
10498 Handle "capitalised keywords" correctly.
10499 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10500
10501 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10502
10503 * eshell/em-unix.el: Add -r option to cp.
10504
10505 2013-05-28 Glenn Morris <rgm@gnu.org>
10506
10507 * vc/vc-arch.el (vc-exec-after): Declare.
10508 (vc-switches): Autoload.
10509 * vc/vc-bzr.el: No need to require vc when compiling.
10510 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10511 (vc-resynch-buffer, vc-dir-refresh): Declare.
10512 (vc-setup-buffer, vc-switches): Autoload.
10513 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10514 (vc-resynch-buffer): Declare.
10515 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10516 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10517 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10518 (grep-read-regexp, grep-read-files, grep-expand-template)
10519 (vc-dir-refresh): Declare.
10520 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10521 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10522 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10523 * vc/vc-mtn.el (vc-exec-after): Declare.
10524 (vc-switches): Autoload.
10525 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10526 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10527 (vc-file-tree-walk): Declare.
10528 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10529 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10530 (vc-tag-precondition, vc-rename-master): Autoload.
10531 * vc/vc-svn.el (vc-exec-after): Declare.
10532 (vc-switches, vc-setup-buffer): Autoload.
10533 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10534 Autoload.
10535 (vc-resynch-buffer): Declare.
10536
10537 * obsolete/fast-lock.el (byte-compile-warnings):
10538 Don't warn about obsolete features in this obsolete file.
10539
10540 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10541 Move definition before use.
10542
10543 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10544 (dun-unix-verbs): Remove dun-zippy.
10545 (dun-zippy): Remove function.
10546
10547 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10548
10549 2013-05-27 Juri Linkov <juri@jurta.org>
10550
10551 * replace.el (replace-search): New function with code moved out
10552 from `perform-replace'.
10553 (replace-highlight, replace-dehighlight): Move function definitions
10554 up closer to `replace-search'. (Bug#11746)
10555
10556 2013-05-27 Juri Linkov <juri@jurta.org>
10557
10558 * replace.el (perform-replace): Ignore invisible matches.
10559 In addition to checking `query-replace-skip-read-only', also
10560 filter out matches by calling `run-hook-with-args-until-failure'
10561 on `isearch-filter-predicates', and also check `search-invisible'
10562 for t or call `isearch-range-invisible'.
10563 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10564
10565 2013-05-27 Juri Linkov <juri@jurta.org>
10566
10567 * isearch.el (isearch-filter-predicates): Rename from
10568 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10569 (isearch-message-prefix): Display text from the property
10570 `isearch-message-prefix' of the currently active filters.
10571 (isearch-search): Don't compare `isearch-filter-predicate' with
10572 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10573 on `isearch-filter-predicates'. Also check `search-invisible' for t
10574 or call `isearch-range-invisible'.
10575 (isearch-filter-visible): Make obsolete.
10576 (isearch-lazy-highlight-search):
10577 Call `run-hook-with-args-until-failure' on
10578 `isearch-filter-predicates' and use `isearch-range-invisible'.
10579
10580 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10581 `isearch-filter-predicates' instead of `funcall'ing
10582 `isearch-filter-predicate'.
10583 (Info-mode): Set `Info-isearch-filter' to
10584 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10585
10586 * dired-aux.el (dired-isearch-filter-predicate-orig):
10587 Remove variable.
10588 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10589 (dired-isearch-filenames-end): Add and remove
10590 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10591 instead of changing the value of `isearch-filter-predicate'.
10592 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10593 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10594 Put property `isearch-message-prefix' to "filename " on
10595 `dired-isearch-filter-filenames'.
10596
10597 * wdired.el (wdired-change-to-wdired-mode):
10598 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10599 locally instead of changing `isearch-filter-predicate'.
10600 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10601
10602 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10603
10604 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10605 return the commit hash (Bug#14459). Also set the
10606 `vc-git-detached' property.
10607 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10608 (vc-git-mode-line-string): Use the same help-echo format whether
10609 in detached mode or not, because we know the actual revision now.
10610 When in detached mode, shorten the revision to 7 chars.
10611
10612 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10613
10614 * emacs-lisp/easy-mmode.el (define-minor-mode):
10615 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10616 mode hook and provide a docstring.
10617
10618 2013-05-27 Alan Mackenzie <acm@muc.de>
10619
10620 Remove spurious syntax-table text properties inserted by C-y.
10621 * progmodes/cc-mode.el (c-after-change): Also clear hard
10622 syntax-table property with value nil.
10623
10624 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10625
10626 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10627 when reading the events; the buffer layout shall not be changed.
10628
10629 2013-05-27 Leo Liu <sdl.web@gmail.com>
10630
10631 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10632 New variable.
10633 (inferior-octave-directory-tracker): Automatically re-sync
10634 default-directory.
10635 (octave-help): Improve handling of 'See also'.
10636
10637 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * doc-view.el: Minor naming convention tweaks.
10640 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10641
10642 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10643 even if there's no `display' property yet (bug#14435).
10644
10645 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10646
10647 * subr.el (unmsys--file-name): Rename from reveal-filename.
10648
10649 * Makefile.in (custom-deps, finder-data, autoloads)
10650 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10651 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10652 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10653
10654 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10655
10656 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10657 error-completion on the first 2 args of condition-case (bug#14446).
10658 Don't burp at EOB.
10659
10660 2013-05-25 Leo Liu <sdl.web@gmail.com>
10661
10662 * comint.el (comint-previous-matching-input): Do not flood the
10663 *Messages* buffer with trivial messages.
10664
10665 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * progmodes/flymake.el (flymake-nop): Don't return a string.
10668 (flymake-set-at): Fix typo.
10669
10670 * simple.el (read--expression): New function, extracted from
10671 eval-expression. Set completion-at-point-functions (bug#14465).
10672 (eval-expression, eval-minibuffer): Use it.
10673
10674 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10675
10676 * progmodes/flymake.el (flymake-save-buffer-in-file)
10677 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10678 (flymake-selected-frame, flymake-log, flymake-ins-after)
10679 (flymake-set-at, flymake-get-buildfile-from-cache)
10680 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10681 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10682 Refine the doc string.
10683 (flymake-get-file-name-mode-and-masks): Reformat.
10684 (flymake-get-real-file-name-function): Fix a minor bug.
10685
10686 2013-05-24 Juri Linkov <juri@jurta.org>
10687
10688 * progmodes/grep.el (grep-mode-font-lock-keywords):
10689 Support =linenumber= format used by git-grep for lines with
10690 function names. (Bug#13549)
10691
10692 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10695 0 after a semi-colon; it works better for smie-auto-fill.
10696 (octave--indent-new-comment-line): New function.
10697 (octave-indent-new-comment-line): Use it (indirectly).
10698 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10699 modify comment-line-break-function.
10700
10701 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10702 (smie-setup): Use add-function to set it.
10703
10704 2013-05-24 Sam Steingold <sds@gnu.org>
10705
10706 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10707 argument (before the `interactive' argument).
10708
10709 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * image-mode.el (image-mode-winprops): Add winprops to
10712 image-mode-winprops-alist before running
10713 image-mode-new-window-functions.
10714 * doc-view.el (doc-view-new-window-function): Don't delay
10715 doc-view-goto-page via timers (bug#14435).
10716
10717 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10718
10719 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10720 (doc-view-desktop-save-buffer): New function.
10721 (doc-view-restore-desktop-buffer): New function.
10722 (desktop-buffer-mode-handlers):
10723 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10724 handler.
10725 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10726 `desktop-save-buffer' function.
10727
10728 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10729
10730 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10731 (tramp-gvfs-file-name-handler): Raise a user error when
10732 `tramp-gvfs-enabled' is nil.
10733 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10734 Do not raise a user error when loading package. (Bug#14447)
10735
10736 * net/xesam.el: Move to obsolete/.
10737
10738 2013-05-24 Glenn Morris <rgm@gnu.org>
10739
10740 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10741
10742 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10743
10744 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10745 (Info-find-node, Man-getpage-in-background): Declare.
10746
10747 * mail/unrmail.el (unrmail):
10748 Replace obsolete detect-coding-with-priority.
10749
10750 * net/socks.el (socks-split-string): Use this rather than split-string.
10751 (socks-nslookup-host): Update for above change.
10752 (dynamic-choice, s5-dynamic-choice-match)
10753 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10754 Comment out unused code.
10755
10756 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10757 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10758 (gud-tooltip-echo-area): Make obsolete.
10759 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10760
10761 * progmodes/js.el (js--optimize-arglist): Declare.
10762
10763 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10764
10765 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10766 (ediff-window-C): Declare.
10767
10768 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10769 Tweak requires to silence compiler.
10770
10771 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10772 (he-search-string, he-tried-table, he-expand-list)
10773 (he-init-string, he-string-member, he-substitute-string)
10774 (he-reset-string): Declare.
10775
10776 * obsolete/options.el (list-options): Use custom-variable-p,
10777 rather than obsolete alias.
10778
10779 2013-05-23 Sam Steingold <sds@gnu.org>
10780
10781 * simple.el (shell-command-on-region): Pass the `replace' argument
10782 down to `call-process-region' to comply with the doc as reported on
10783 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10784
10785 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * emacs-lisp/smie.el (smie-indent-forward-token)
10788 (smie-indent-backward-token): Handle string tokens (bug#14381).
10789
10790 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10791
10792 * ielm.el (ielm-menu): New menu.
10793 (inferior-emacs-lisp-mode): Set comment-start.
10794
10795 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10796
10797 * textmodes/reftex.el (reftex-ref-style-toggle):
10798 Fix deactivate action.
10799
10800 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10801 Add cleveref macros.
10802
10803 * textmodes/reftex-parse.el
10804 (reftex-locate-bibliography-files): Accept options for
10805 bibliography commands.
10806 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10807 Add addbibresource. Basic Biblatex support.
10808
10809 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10810
10811 * net/tramp-gvfs.el (top):
10812 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10813 when loading package. (Bug#14447)
10814
10815 2013-05-23 Glenn Morris <rgm@gnu.org>
10816
10817 * progmodes/js.el: No need to load comint when compiling.
10818 (ring-insert, comint-send-string, comint-send-input)
10819 (comint-last-input-end, ido-chop): Declare.
10820
10821 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10822 * vc/ediff-mult.el: Adjust requires.
10823 (ediff-directories-internal, ediff-directory-revisions-internal)
10824 (ediff-patch-file-internal): Declare.
10825 * vc/ediff-ptch.el: Adjust requires.
10826 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10827 (ediff-find-file): Autoload.
10828 * vc/ediff-util.el: No need to load ediff when compiling.
10829 (ediff-regions-internal): Declare.
10830 * vc/ediff-wind.el: Adjust requires.
10831 (ediff-compute-toolbar-width): Define when compiling.
10832 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10833 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10834 (dired-get-filename, dired-get-marked-files)
10835 (ediff-last-dir-patch, ediff-patch-default-directory)
10836 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10837 (ediff-patch-buffer-internal): Declare.
10838
10839 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10840 (ispell-process, ispell-buffer-local-words, lm-summary)
10841 (lm-section-start, lm-section-end): Declare.
10842 (checkdoc-ispell-init): Simplify.
10843
10844 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10845 (he-string-member, he-reset-string, he-substitute-string): Declare.
10846
10847 * eshell/em-ls.el: Adjust requires.
10848 (eshell-glob-regexp): Declare.
10849 * eshell/em-tramp.el: Adjust requires.
10850 (eshell-parse-command): Autoload.
10851 * eshell/em-xtra.el: Adjust requires.
10852 (eshell-parse-command): Autoload.
10853 * eshell/esh-ext.el: Adjust requires.
10854 (eshell-parse-command, eshell-close-handles): Autoload.
10855 * eshell/esh-io.el: Adjust requires.
10856 (eshell-output-filter): Autoload.
10857 * eshell/esh-util.el: No need to load tramp when compiling.
10858 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10859 Declare.
10860 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10861 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10862 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10863 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10864 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10865 * eshell/esh-opt.el, eshell/esh-proc.el:
10866 * eshell/esh-var.el: Adjust requires.
10867 * eshell/eshell.el: Do not require esh-util twice.
10868 (eshell-add-input-to-history): Declare.
10869 (eshell-command): Check history module is active before using it.
10870
10871 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10872
10873 2013-05-22 Leo Liu <sdl.web@gmail.com>
10874
10875 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10876
10877 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10878
10879 * autorevert.el (auto-revert-notify-add-watch)
10880 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10881 it indicates changes in file modification time.
10882
10883 2013-05-22 Glenn Morris <rgm@gnu.org>
10884
10885 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10886 Always delete the autoloaded function from the noruntime and
10887 unresolved functions lists.
10888
10889 * allout.el: No need to load epa, epg, overlay when compiling.
10890 (epg-context-set-passphrase-callback, epg-list-keys)
10891 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10892 (epg-key-user-id-list): Declare.
10893
10894 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10895 (viper-set-parsing-style-toggling-macro)
10896 (viper-set-emacs-state-searchstyle-macros):
10897 Use called-interactively-p on Emacs.
10898 (viper-looking-back): Make it an obsolete alias. Update callers.
10899 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10900 Use looking-back rather than viper-looking-back.
10901 (viper-tmp-insert-at-eob, viper-enlarge-region)
10902 (viper-read-string-with-history, viper-register-to-point)
10903 (viper-append-to-register, viper-change-state-to-vi)
10904 (viper-backward-char-carefully, viper-forward-char-carefully)
10905 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10906 (viper-change-state-to-emacs): Declare.
10907 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10908 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10909 * emulation/viper-mous.el: Do not load viper-cmd.
10910 (viper-backward-char-carefully, viper-forward-char-carefully)
10911 (viper-forward-word, viper-adjust-window): Declare.
10912
10913 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10914
10915 * progmodes/idlw-help.el (idlwave-help-fontify):
10916 Use called-interactively-p.
10917
10918 * term/w32console.el (w32-get-console-codepage)
10919 (w32-get-console-output-codepage): Declare.
10920
10921 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10922 Remove unnecessary declarations.
10923 (dframe-message): Doc fix.
10924
10925 * info.el (dframe-select-attached-frame, dframe-current-frame):
10926 Declare.
10927
10928 * speedbar.el (speedbar-message): Make it an obsolete alias.
10929 Update all callers.
10930 (speedbar-with-attached-buffer)
10931 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10932 (speedbar-with-writable): Use backquote.
10933 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10934 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10935 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10936 rather than speedbar- aliases.
10937 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10938 (speedbar-make-specialized-keymap, speedbar-insert-button)
10939 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10940 (speedbar-do-function-pointer): Declare.
10941 (rmail-speedbar-button, rmail-speedbar-find-file)
10942 (rmail-speedbar-move-message):
10943 Use dframe-with-attached-buffer rather than speedbar- alias.
10944 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10945 (dframe-message, speedbar-make-specialized-keymap)
10946 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10947 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10948 (speedbar-insert-button, dframe-select-attached-frame)
10949 (dframe-maybee-jump-to-attached-frame)
10950 (speedbar-change-initial-expansion-list)
10951 (speedbar-previously-used-expansion-list-name): Declare.
10952 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10953 Use dframe-message, dframe-with-attached-buffer rather than
10954 speedbar- aliases.
10955 (gud-sentinel): Silence compiler.
10956 * progmodes/vhdl-mode.el (speedbar-refresh)
10957 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10958 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10959 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10960 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10961 (speedbar-file-lists, speedbar-make-tag-line)
10962 (speedbar-line-directory, speedbar-goto-this-file)
10963 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10964 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10965 (speedbar-make-button, speedbar-reset-scanners)
10966 (speedbar-files-item-info, speedbar-line-text)
10967 (speedbar-find-file-in-frame, speedbar-set-timer)
10968 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10969 (speedbar-with-writable): Do not (re)define it.
10970 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10971 rather than speedbar- alias.
10972
10973 2013-05-21 Leo Liu <sdl.web@gmail.com>
10974
10975 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10976 menu items.
10977 (octave-mode): Tweak fill-nobreak-predicate.
10978 (inferior-octave-startup): Check process to avoid infinite loop.
10979 (inferior-octave): Pop to buffer first to show abornmal process
10980 exit information.
10981
10982 2013-05-21 Glenn Morris <rgm@gnu.org>
10983
10984 * printing.el (pr-menu-bar): Define when compiling.
10985
10986 2013-05-21 Leo Liu <sdl.web@gmail.com>
10987
10988 * progmodes/octave.el (octave-auto-fill): Remove.
10989 (octave-indent-new-comment-line): Improve.
10990 (octave-mode): Use auto fill mode through
10991 comment-line-break-function and fill-nobreak-predicate.
10992 (octave-goto-function-definition): Support DEFUN_DLD.
10993 (octave-beginning-of-defun): Small tweak.
10994 (octave-help): Show parent directory.
10995
10996 2013-05-21 Glenn Morris <rgm@gnu.org>
10997
10998 * files.el (dired-unmark):
10999 * progmodes/gud.el (gdb-input): Update declarations.
11000
11001 * calculator.el (electric, ehelp): No need to load when compiling.
11002 (Electric-command-loop, electric-describe-mode): Declare.
11003
11004 * doc-view.el (doc-view-current-converter-processes): Move before use.
11005
11006 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11007 Move MODE-set-explicitly definition before use.
11008
11009 * international/mule-diag.el (mule-diag):
11010 Don't use obsolete window-system-version.
11011
11012 * mail/feedmail.el (smtpmail): No need to load when compiling.
11013 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11014
11015 * mail/mail-utils.el (rfc822): No need to load when compiling.
11016 (rfc822-addresses): Autoload it.
11017 (mail-strip-quoted-names): Trivial simplification.
11018
11019 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11020 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11021
11022 * net/snmp-mode.el (tempo): Don't duplicate requires.
11023
11024 * progmodes/prolog.el (info): No need to load when compiling.
11025 (comint): Require before shell requires it.
11026 (Info-goto-node): Autoload it.
11027 (Info-follow-nearest-node): Declare.
11028 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11029
11030 * textmodes/artist.el (picture-mode-exit): Declare.
11031
11032 * textmodes/reftex-parse.el (reftex-parse-from-file):
11033 Trivial rewrite so the compiler can parse it better.
11034
11035 2013-05-20 Leo Liu <sdl.web@gmail.com>
11036
11037 * progmodes/octave.el (octave-help-mode-map)
11038 (octave-help-mode-finish-hook): New variables.
11039 (octave-help-mode, octave-help-mode-finish): New functions.
11040 (octave-help): Use octave-help-mode.
11041
11042 2013-05-20 Glenn Morris <rgm@gnu.org>
11043
11044 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11045
11046 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11047
11048 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11049 start at point, so that expansion starting right after opening
11050 slash in a regexp is recognized.
11051 (ruby-syntax-before-regexp-re): New defvar, extracted from
11052 ruby-syntax-propertize-function. Since the value of this regexp
11053 is looked up at runtime now, we should be able to turn
11054 `ruby-syntax-methods-before-regexp' into a defcustom later.
11055 (ruby-syntax-propertize-function): Split regexp matching into two
11056 parts, for opening and closing slashes. That allows us to skip
11057 over string interpolations and support multiline regexps.
11058 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11059 for them, which calls `ruby-syntax-propertize-expansion'.
11060 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11061 call to `ruby-syntax-propertize-function'.
11062 (ruby-syntax-propertize-expansion): Extracted from
11063 `ruby-syntax-propertize-expansions'. Handles one expansion.
11064 (ruby-syntax-propertize-percent-literal): Leave point right after
11065 the percent symbol, so that the expression expansion rule can
11066 propertize the contents.
11067 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11068 heredoc openers.
11069 (ruby-syntax-propertize-expansions): Remove.
11070
11071 2013-05-18 Juri Linkov <juri@jurta.org>
11072
11073 * man.el (Man-default-man-entry): Remove `-' from the end
11074 of the default value. (Bug#14400)
11075
11076 2013-05-18 Glenn Morris <rgm@gnu.org>
11077
11078 * comint.el (comint-password-prompt-regexp):
11079 Allow "password for XXX" where XXX contains colons (eg https://...).
11080
11081 2013-05-18 Leo Liu <sdl.web@gmail.com>
11082
11083 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11084 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11085 (octave-source-directories): Don't check process.
11086 (octave-source-directories, octave-find-definition): Doc fix.
11087
11088 2013-05-18 Glenn Morris <rgm@gnu.org>
11089
11090 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11091 Remove backspace/delete bindings. (Bug#14392)
11092
11093 * cus-dep.el (custom-make-dependencies): Sort the output.
11094 (custom-versions-load-alist): Convert comment to doc.
11095
11096 2013-05-17 Leo Liu <sdl.web@gmail.com>
11097
11098 * newcomment.el (comment-search-backward): Stricter in finding
11099 comment start. (Bug#14303)
11100
11101 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11102 (octave-comment-start-skip): Properly anchored.
11103
11104 2013-05-17 Leo Liu <sdl.web@gmail.com>
11105
11106 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11107 Clean up when turned off. (Bug#14395)
11108 (smie--highlight-matching-block-overlay): No longer buffer-local.
11109 (smie-highlight-matching-block): Adjust.
11110
11111 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11112
11113 Doc string fix for "nanoseconds" (Bug#14406).
11114 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11115 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11116
11117 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11118
11119 * calc/calc-units.el (math-extract-units): Preserve powers
11120 of units.
11121
11122 2013-05-17 Leo Liu <sdl.web@gmail.com>
11123
11124 * subr.el (delete-consecutive-dups): New function.
11125 * ido.el (ido-set-matches-1): Use it.
11126 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11127 * ido.el (ido-remove-consecutive-dups): Remove.
11128
11129 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11132 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11133 regexp-opt's `words'.
11134
11135 2013-05-16 Leo Liu <sdl.web@gmail.com>
11136
11137 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11138 (smie--highlight-matching-block-overlay)
11139 (smie--highlight-matching-block-lastpos)
11140 (smie--highlight-matching-block-timer): New variables.
11141 (smie-highlight-matching-block): New function.
11142 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11143 (smie-setup): Conditionally enable smie-blink-matching-open.
11144
11145 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11146
11147 Sync with upstream verilog-mode r840.
11148 * progmodes/verilog-mode.el (verilog-mode-version)
11149 (verilog-mode-release-date): Update.
11150 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11151 (verilog-sig-tieoff): Fix string error on
11152 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11153 (verilog-read-decls): Fix parameters confusing
11154 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11155
11156 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11157
11158 * subr.el (reveal-filename): New function.
11159
11160 * loadup.el: Compute Emacs executable versions on MS-Windows,
11161 where executables have the .exe extension. Add a hard link
11162 emacs-XX.YY.ZZ.exe on MS-Windows.
11163
11164 * Makefile.in (XARGS_LIMIT): New variable.
11165 (custom-deps, finder-data, autoloads)
11166 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11167 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11168 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11169 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11170
11171 2013-05-16 Leo Liu <sdl.web@gmail.com>
11172
11173 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11174 (octave-mode-menu, octave-mode-map): Remove its uses.
11175
11176 2013-05-16 Reto Zimmermann <reto@gnu.org>
11177
11178 Sync with upstream vhdl mode v3.34.2.
11179 * progmodes/vhdl-mode.el: Use `push' throughout.
11180 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11181 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11182 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11183 (vhdl-actual-generic-name): New option to derive actual generic name.
11184 (vhdl-port-paste-signals): Replace formal by actual generics.
11185 (vhdl-beautify): New name for old group vhdl-align. Update users.
11186 (vhdl-beautify-options): New option.
11187 (vhdl-last-input-event): New compat alias. Use throughout.
11188 (vhdl-goto-line): Replace user level function `goto-line'.
11189 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11190 vhdl-fix-statement-buffer.
11191 (vhdl-create-mode-menu): Add some entries.
11192 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11193 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11194 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11195 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11196 to force statements on one line.
11197 (vhdl-remove-trailing-spaces-region):
11198 New, split from vhdl-remove-trailing-spaces.
11199 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11200 Respect vhdl-beautify-options.
11201 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11202 (vhdl-update-sensitivity-list): Not add with index if exists without.
11203 Not include array index with signal. Ignore keywords in comments.
11204 (vhdl-get-visible-signals): Regexp tweaks.
11205 (vhdl-template-component-inst): Handle empty library.
11206 (vhdl-template-type): Add template for 'enum' type.
11207 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11208 Use vhdl-replace-string.
11209 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11210 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11211 (vhdl-speedbar-initialize): Update for above name change.
11212 (vhdl-compose-wire-components): Fix in handling of constants.
11213 (vhdl-error-regexp-emacs-alist): New variable.
11214 (vhdl-error-regexp-add-emacs): New function;
11215 adds support for new compile.el (Emacs 22+)
11216 (vhdl-generate-makefile-1): Change target order for single lib. units.
11217 Allow use of absolute file names.
11218
11219 2013-05-16 Leo Liu <sdl.web@gmail.com>
11220
11221 * simple.el (prog-indent-sexp): Indent enclosing defun.
11222
11223 2013-05-15 Glenn Morris <rgm@gnu.org>
11224
11225 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11226 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11227 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11228 (whitespace-highlight): Move to whitespace group.
11229
11230 * comint.el (comint-source):
11231 * pcmpl-linux.el (pcmpl-linux):
11232 * shell.el (shell-faces):
11233 * eshell/esh-opt.el (eshell-opt):
11234 * international/ccl.el (ccl): Remove empty custom groups.
11235
11236 * completion.el (dynamic-completion-mode):
11237 * jit-lock.el (jit-lock-debug-mode):
11238 * minibuffer.el (completion-in-region-mode):
11239 * type-break.el (type-break-mode-line-message-mode)
11240 (type-break-query-mode):
11241 * emulation/tpu-edt.el (tpu-edt-mode):
11242 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11243 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11244 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11245
11246 * term/xterm.el (xterm): Change parent group to terminals.
11247
11248 * master.el (master): Remove empty custom group.
11249 (master-mode): Remove unused :group argument.
11250 * textmodes/refill.el (refill): Remove empty custom group.
11251 (refill-mode): Remove unused :group argument.
11252
11253 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11254
11255 * cus-dep.el: Provide a feature.
11256 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11257 Don't mistakenly ignore files whose basenames match a basename
11258 from preloaded-file-list (eg cedet/ede/simple.el).
11259 Add a fallback method for getting :group.
11260
11261 2013-05-15 Juri Linkov <juri@jurta.org>
11262
11263 * isearch.el (isearch-char-by-name): Rename from
11264 `isearch-insert-char-by-name'. Doc fix.
11265 (isearch-forward): Mention `isearch-char-by-name' in
11266 the docstring. (Bug#13348)
11267
11268 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11269 `exit-minibuffer' instead of
11270 `isearch-nonincremental-exit-minibuffer'.
11271 (isearch-edit-string): Remove mention of
11272 `isearch-nonincremental-exit-minibuffer' from docstring.
11273 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11274 (isearch-forward-exit-minibuffer)
11275 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11276
11277 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * loadup.el: Just use unversioned DOC.
11280
11281 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11282 literals as extending to EOB.
11283 (nxml-last-fontify-end): Remove unused variable.
11284 (nxml-after-change1): Use with-silent-modifications.
11285 (nxml-extend-after-change-region): Simplify.
11286 (nxml-extend-after-change-region1): Remove function.
11287 (nxml-after-change1): Don't adjust for dependent regions.
11288 (nxml-fontify-matcher): Simplify.
11289 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11290 (xmltok-add-dependent): Remove function.
11291 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11292 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11293 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11294 unclosed <[[, <?, comment, and other literals as extending to EOB.
11295 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11296 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11297 Remove functions.
11298 (rng-do-some-validation-1): Don't mark dependent regions.
11299 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11300 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11301 (nxml-clear-dependent-regions): Remove functions.
11302 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11303 (nxml-ensure-scan-up-to-date):
11304 Don't clear&mark dependent regions.
11305
11306 2013-05-15 Leo Liu <sdl.web@gmail.com>
11307
11308 * progmodes/octave.el (octave-goto-function-definition):
11309 Improve and fix callers.
11310
11311 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11314 the setter (bug#14387).
11315
11316 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11317 surrounding group (bug#14402).
11318
11319 2013-05-14 Juri Linkov <juri@jurta.org>
11320
11321 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11322 (Bug#14390)
11323
11324 2013-05-14 Glenn Morris <rgm@gnu.org>
11325
11326 * progmodes/f90.el (f90-imenu-generic-expression):
11327 Fix typo in 2013-05-08 change. (Bug#14402)
11328
11329 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11330
11331 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11332 Remove signals for which replies are never received.
11333
11334 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11335
11336 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11337 (gdb-handler-alist, gdb-handler-number): Remove variables.
11338 (gdb-handler-list): New variable.
11339 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11340 (gdb-pending-handler-p, gdb-handle-reply)
11341 (gdb-remove-all-pending-triggers): New functions.
11342 (gdb-discard-unordered-replies): New defcustom.
11343 (gdb-handler): New defstruct.
11344 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11345 instead of gdb-pending-triggers. Update docstring.
11346 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11347 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11348 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11349 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11350 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11351 (gdb-frame-handler): Pending triggers are now automatically managed.
11352 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11353 Remove argument.
11354 (gdb-input): Automatically handles pending triggers. Update docstring.
11355 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11356 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11357 Update comments.
11358 (gdb-done-or-error): Now use gdb-handle-reply.
11359
11360 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11361
11362 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11363 gdb-debug-log.
11364
11365 2013-05-14 Glenn Morris <rgm@gnu.org>
11366
11367 * subr.el (user-emacs-directory-warning): New option.
11368 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11369
11370 2013-05-14 Leo Liu <sdl.web@gmail.com>
11371
11372 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11373 during redisplay.
11374 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11375 (octave-font-lock-texinfo-comment): Fix invalid search bound
11376 error: wrong side of point.
11377
11378 2013-05-14 Glenn Morris <rgm@gnu.org>
11379
11380 * progmodes/flymake.el (flymake-xml-program): New option.
11381 (flymake-xml-init): Use it.
11382
11383 * term/xterm.el: Provide a feature.
11384
11385 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11386
11387 2013-05-13 Glenn Morris <rgm@gnu.org>
11388
11389 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11390 Add compat aliases as a hack workaround. (Bug#14384)
11391
11392 2013-05-13 Leo Liu <sdl.web@gmail.com>
11393
11394 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11395 ###, and %!.
11396 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11397 C-M-q.
11398 (octave-comment-start-skip): Include %!.
11399 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11400
11401 2013-05-12 Leo Liu <sdl.web@gmail.com>
11402
11403 * progmodes/octave.el (inferior-octave-startup): Store the value
11404 of __octave_srcdir__ for octave-source-directories.
11405 (inferior-octave-check-process): New function refactored out of
11406 inferior-octave-send-list-and-digest.
11407 (octave-source-directories)
11408 (octave-find-definition-filename-function): New variables.
11409 (octave-source-directories)
11410 (octave-find-definition-default-filename): New functions.
11411 (octave-find-definition): Improve to find functions implemented in C++.
11412
11413 2013-05-12 Glenn Morris <rgm@gnu.org>
11414
11415 * calendar/diary-lib.el (diary-outlook-format-1):
11416 Don't include dayname in the output. (Bug#14349)
11417
11418 2013-05-11 Glenn Morris <rgm@gnu.org>
11419
11420 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11421
11422 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11423 Treat cc-provide like provide.
11424
11425 2013-05-11 Kevin Ryde <user42@zip.com.au>
11426
11427 * cus-dep.el (custom-make-dependencies):
11428 Use generated-autoload-load-name for the sake of files such
11429 such cedet/semantic/bovine/c.el, where the base file name
11430 is not in load-path. (Bug#5277)
11431
11432 2013-05-11 Glenn Morris <rgm@gnu.org>
11433
11434 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11435 Provide features.
11436
11437 2013-05-11 Leo Liu <sdl.web@gmail.com>
11438
11439 * progmodes/octave.el (octave-indent-comment): Improve.
11440 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11441 (octave-eldoc-function-signatures, octave-eldoc-function):
11442 New functions.
11443 (octave-mode, inferior-octave-mode): Add eldoc support.
11444
11445 2013-05-11 Richard Stallman <rms@gnu.org>
11446
11447 * epa.el (epa-decrypt-file): Take output file name as argument
11448 and read it using `interactive'.
11449
11450 2013-05-11 Leo Liu <sdl.web@gmail.com>
11451
11452 * progmodes/octave.el (octave-beginning-of-line)
11453 (octave-end-of-line): Check before using up-list because it jumps
11454 out of more syntactic contructs since moving to smie.
11455 (octave-indent-comment): New function.
11456 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11457 (octave-begin-keywords, octave-end-keywords)
11458 (octave-reserved-words, octave-smie-bnf-table)
11459 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11460
11461 2013-05-11 Glenn Morris <rgm@gnu.org>
11462
11463 * faces.el (internal-face-x-get-resource):
11464 * frame.el (ns-display-monitor-attributes-list):
11465 * calc/calc-aent.el (math-to-radians-2):
11466 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11467 Fix declarations.
11468
11469 * calc/calc-menu.el: Make it loadable in isolation.
11470
11471 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11472 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11473 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11474 (eudc-bbdb-query-internal): Require 'bbdb.
11475
11476 * lpr.el (lpr-headers-switches):
11477 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11478
11479 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11480
11481 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11482
11483 * term.el (term-set-escape-char): Make it idempotent.
11484
11485 2013-05-10 Leo Liu <sdl.web@gmail.com>
11486
11487 * progmodes/octave.el (inferior-octave-completion-table):
11488 No longer a function and all uses changed. Use cache to speed up
11489 completion due to bug#11906.
11490 (octave-beginning-of-defun): Re-write to be more general.
11491
11492 2013-05-10 Glenn Morris <rgm@gnu.org>
11493
11494 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11495
11496 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * comint.el (comint-redirect-send-command-to-process): Use :around
11499 rather than :override for comint-redirect-filter.
11500 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11501 Call it instead of comint-redirect-original-filter-function (which
11502 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11503
11504 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11505
11506 * frame.el (display-monitor-attributes-list): Add NS case.
11507 (ns-display-monitor-attributes-list): Declare.
11508
11509 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11510
11511 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11512
11513 2013-05-09 Glenn Morris <rgm@gnu.org>
11514
11515 * international/fontset.el (vertical-centering-font-regexp):
11516 Set standard-value.
11517
11518 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11519
11520 * bookmark.el (bookmark-search-delay):
11521 * cus-start.el (vertical-centering-font-regexp):
11522 * ps-mule.el (ps-mule-font-info-database-default):
11523 * ps-print.el (ps-default-fg, ps-default-bg):
11524 * type-break.el (type-break-good-break-interval):
11525 * whitespace.el (whitespace-indentation-regexp)
11526 (whitespace-space-after-tab-regexp):
11527 * emacs-lisp/testcover.el (testcover-1value-functions)
11528 (testcover-noreturn-functions, testcover-progn-functions)
11529 (testcover-prog1-functions):
11530 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11531 * eshell/em-glob.el (eshell-glob-translate-alist):
11532 * play/tetris.el (tetris-tty-colors):
11533 * progmodes/cpp.el (cpp-face-default-list):
11534 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11535 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11536 (idlwave-help-browser-generic-args):
11537 * progmodes/make-mode.el (makefile-special-targets-list):
11538 * progmodes/python.el (python-shell-virtualenv-path):
11539 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11540 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11541 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11542 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11543 * textmodes/reftex-vars.el (reftex-format-label-function):
11544 * textmodes/remember.el (remember-diary-file): Fix custom types.
11545
11546 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11547 Add :version.
11548
11549 2013-05-09 Leo Liu <sdl.web@gmail.com>
11550
11551 * progmodes/octave.el (inferior-octave-completion-at-point):
11552 Restore file completion. (Bug#14300)
11553 (inferior-octave-startup): Fix incorrect highlighting for the
11554 first prompt.
11555
11556 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11557
11558 * progmodes/ruby-mode.el: First cut at SMIE support.
11559 (ruby-use-smie): New var.
11560 (ruby-smie-grammar): New constant.
11561 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11562 (ruby-smie--forward-token, ruby-smie--backward-token)
11563 (ruby-smie-rules): New functions.
11564 (ruby-mode-variables): Setup SMIE if applicable.
11565
11566 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11567
11568 * simple.el (line-move-visual): Signal beginning/end of buffer
11569 only if vertical-motion moved less than it was requested. Avoids
11570 silly incorrect error messages when there are display strings with
11571 multiple newlines at EOL.
11572
11573 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11574
11575 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11576 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11577 (prolog-char-quote-workaround):
11578 * progmodes/cperl-mode.el (cperl-under-as-char):
11579 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11580 Mark as obsolete.
11581 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11582 their declaration.
11583 (vhdl-mode-syntax-table-init): Remove.
11584
11585 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11586 last change.
11587
11588 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11589 syntax for "_".
11590 (ld-script-font-lock-keywords):
11591 Change regexps to use things like \_< and \_>.
11592
11593 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11594 Change all regexps to use things like \_< and \_>.
11595
11596 * progmodes/autoconf.el (autoconf-definition-regexp)
11597 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11598 Handle a _ with symbol syntax.
11599 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11600
11601 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11602 Consolidate declaration.
11603 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11604 the declaration.
11605 (ada-create-syntax-table): Remove.
11606 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11607 already has the right syntax nowadays.
11608 (ada-goto-next-word): Don't change the syntax of "_".
11609
11610 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11611 with-wrapper-hook.
11612
11613 2013-05-08 Sam Steingold <sds@gnu.org>
11614
11615 * thingatpt.el (thing-at-point): Accept optional second argument
11616 NO-PROPERTIES to strip the text properties from the return value.
11617 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11618 to `thing-at-point' instead of stripping the properties ourselves.
11619 Also, when `thing-at-point' fails to find a url, prepend "http://"
11620 to the filename at point on the assumption that the user is
11621 pointing at something like gnu.org/gnu.
11622
11623 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11624
11625 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11626 * faces.el (crm-separator):
11627 Silence byte-compiler.
11628
11629 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11630 (tool-bar-map): Remove unneeded defvars.
11631
11632 2013-05-08 Leo Liu <sdl.web@gmail.com>
11633
11634 Re-work a fix for bug#10994 based on Le Wang's patch.
11635 * ido.el (ido-remove-consecutive-dups): New helper.
11636 (ido-completing-read): Use it.
11637 (ido-chop): Revert fix for bug#10994.
11638
11639 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11640
11641 * cus-edit.el (custom-save-variables):
11642 Pretty-print long values. (Bug#14187)
11643
11644 2013-05-08 Glenn Morris <rgm@gnu.org>
11645
11646 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11647 (m4-mode-syntax-table): Init in the defvar.
11648 (m4-mode-abbrev-table): Let define-derived-mode define it.
11649
11650 2013-05-08 Tom Tromey <tromey@redhat.com>
11651
11652 * progmodes/m4-mode.el (m4-mode-syntax-table):
11653 Do not treat "_" as word constituent. (Bug#14167)
11654
11655 2013-05-07 Glenn Morris <rgm@gnu.org>
11656
11657 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11658 Remove explicit eshell-isearch-cancel-map.
11659
11660 * progmodes/f90.el (f90-smart-end-names): New option.
11661 (f90-smart-end): Doc fix.
11662 (f90-end-block-optional-name): New constant.
11663 (f90-block-match): Respect f90-smart-end-names.
11664
11665 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11668 about implicit semi-colons (bug#14218).
11669
11670 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11671
11672 * frame.el (display-monitor-attributes-list)
11673 (frame-monitor-attributes): New functions.
11674
11675 2013-05-06 Leo Liu <sdl.web@gmail.com>
11676
11677 * progmodes/octave.el (octave-syntax-propertize-function): Change
11678 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11679 (octave-font-lock-keywords): Use octave-operator-regexp.
11680 (octave-completion-at-point): Rename from
11681 octave-completion-at-point-function.
11682 (inferior-octave-directory-tracker): Robustify.
11683 (octave-text-functions): Remove and fix its uses. No such things
11684 any more.
11685
11686 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * emacs-lisp/trace.el (trace--display-buffer): New function.
11689 (trace-make-advice): Use it.
11690
11691 2013-05-06 Juri Linkov <juri@jurta.org>
11692
11693 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11694 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11695 Doc fix.
11696 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11697 in the help string. (Bug#12985)
11698
11699 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11700
11701 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11702
11703 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * progmodes/perl-mode.el: Add support for here documents.
11706 (perl-syntax-propertize-function): Match here-doc markers.
11707 (perl-syntax-propertize-special-constructs): Find their end.
11708 (perl-imenu-generic-expression): Use [:alnum:].
11709
11710 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11711 (advice--add-function): Refresh the advice if already present
11712 (bug#14317).
11713
11714 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11715
11716 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11717
11718 2013-05-06 Glenn Morris <rgm@gnu.org>
11719
11720 * w32-fns.el (w32-charset-info-alist): Declare.
11721
11722 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11723 of its defcustom properties.
11724 (eshell-cmpl-initialize): No need to load pcomplete.
11725
11726 * generic-x.el: No need to require comint when compiling.
11727
11728 * net/eudc-export.el: Make it loadable without bbdb.
11729 (top-level): Use require rather than load-library.
11730 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11731 (eudc-batch-export-records-to-bbdb)
11732 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11733 Require bbdb.
11734
11735 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11738 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11739 some tweaks, instead.
11740
11741 2013-05-05 Leo Liu <sdl.web@gmail.com>
11742
11743 * progmodes/octave.el (octave-font-lock-keywords)
11744 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11745 (inferior-octave-send-list-and-digest): Improve error message.
11746 (octave-mode, inferior-octave-mode): Use setq-local.
11747 (octave-help): Set info-lookup-mode.
11748
11749 2013-05-05 Richard Stallman <rms@gnu.org>
11750
11751 * vc/compare-w.el (compare-windows-whitespace):
11752 Treat no-break space as whitespace.
11753
11754 * mail/rmailsum.el (rmail-summary-rmail-update):
11755 Detect empty summary and don't change selected message.
11756 (rmail-summary-goto-msg): Likewise.
11757
11758 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11759 Doc fixes, rename args.
11760
11761 2013-05-05 Alan Mackenzie <acm@muc.de>
11762
11763 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11764
11765 2013-05-05 Juri Linkov <juri@jurta.org>
11766
11767 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11768 to not add the length of the summary segment to the return value.
11769 (Bug#14125)
11770
11771 2013-05-05 Leo Liu <sdl.web@gmail.com>
11772
11773 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11774 (inferior-octave-output-filter): Remove.
11775 (octave-send-region, inferior-octave-startup): Fix callers.
11776 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11777 (octave-binary-file-extensions): New user variable.
11778 (octave-find-definition): Confirm if opening binary files.
11779 (octave-help-file): Use octave-find-definition to get the binary
11780 confirmation.
11781 (octave-help): Adjust for octave-help-file change.
11782
11783 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11786 Merge the two entries that handle function definitions.
11787 (pascal--syntax-propertize): New const.
11788 (pascal-mode): Use it. Use setq-local.
11789
11790 2013-05-04 Glenn Morris <rgm@gnu.org>
11791
11792 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11793 (diary-from-outlook): Respect diary-from-outlook-function.
11794
11795 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11798 Move the declaration from C.
11799 (read-minibuffer, eval-minibuffer): Move from C.
11800 (completion-setup-function): Avoid minibuffer-completion-contents.
11801
11802 2013-05-03 Leo Liu <sdl.web@gmail.com>
11803
11804 * progmodes/octave.el (octave-font-lock-keywords): Do not
11805 dehighlight 'end' in comments or strings.
11806 (octave-completing-read, octave-goto-function-definition):
11807 New helpers.
11808 (octave-help-buffer): New user variable.
11809 (octave-help-file, octave-help-function): New button types.
11810 (octave-help): New command and bind it to C-h ;.
11811 (octave-find-definition): New command and bind it to M-.
11812 (user-error): Alias to error if not defined.
11813
11814 2013-05-02 Leo Liu <sdl.web@gmail.com>
11815
11816 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11817 for \. (bug#14332)
11818 (octave-font-lock-keywords): Include [ and {.
11819
11820 2013-05-02 Leo Liu <sdl.web@gmail.com>
11821
11822 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11823 (inferior-octave): Remove calling comint-mode and return the buffer.
11824 (inferior-octave-startup): Cosmetic changes.
11825
11826 2013-05-02 Leo Liu <sdl.web@gmail.com>
11827
11828 * progmodes/octave.el (octave-syntax-propertize-function):
11829 Include the case when ' is at line beginning. (Bug#14336)
11830
11831 2013-05-02 Glenn Morris <rgm@gnu.org>
11832
11833 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11834 * desktop.el (vc-dir-mode): Just autoload it here.
11835
11836 2013-05-02 Alan Mackenzie <acm@muc.de>
11837
11838 Eliminate variable c-standard-font-lock-fontify-region-function.
11839 * progmodes/cc-mode.el
11840 (c-standard-font-lock-fontify-region-function): Remove.
11841 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11842
11843 2013-05-01 Leo Liu <sdl.web@gmail.com>
11844
11845 * progmodes/octave.el: Compatible with older emacs-24 releases.
11846 (inferior-octave-has-built-in-variables): Remove. Built-in
11847 variables were removed from Octave in 2007.
11848 (inferior-octave-startup): Fix uses.
11849 (comint-line-beginning-position): Remove compatibility code for
11850 emacs 21.
11851
11852 2013-05-01 Juri Linkov <juri@jurta.org>
11853
11854 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11855
11856 2013-05-01 Juri Linkov <juri@jurta.org>
11857
11858 * comint.el (comint-previous-matching-input): Don't print message
11859 "History item: %d" when `isearch-mode' is active.
11860 (comint-history-isearch-message): Print message "History item: %d"
11861 when `comint-input-ring-index' is not empty and this function is
11862 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11863
11864 2013-05-01 Leo Liu <sdl.web@gmail.com>
11865
11866 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11867 definitions. Use completion-at-point to insert keywords.
11868 (octave-abbrev-start): Remove.
11869 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11870
11871 2013-04-30 Leo Liu <sdl.web@gmail.com>
11872
11873 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11874 change.
11875
11876 2013-04-30 Alan Mackenzie <acm@muc.de>
11877
11878 Handle arbitrarily long C++ member initialisation lists.
11879 * progmodes/cc-engine.el (c-back-over-member-initializers):
11880 new function.
11881 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11882 (most) member init lists.
11883
11884 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11885
11886 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11887 variable.
11888
11889 2013-04-30 Leo Liu <sdl.web@gmail.com>
11890
11891 * progmodes/octave.el (octave-variables): Remove. No builtin
11892 variables any more. All converted to functions.
11893 (octave-font-lock-keywords, octave-completion-at-point-function):
11894 Fix uses.
11895 (octave-font-lock-texinfo-comment): New user variable.
11896 (octave-texinfo-font-lock-keywords): New variable for texinfo
11897 comment block.
11898 (octave-function-comment-block): New face.
11899 (octave-font-lock-texinfo-comment): New function.
11900 (octave-mode): Font lock texinfo comment block.
11901
11902 2013-04-29 Leo Liu <sdl.web@gmail.com>
11903
11904 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11905 indexing expression.
11906 (octave-continuation-string): Do not use \.
11907 (inferior-octave-complete-impossible): Remove.
11908 (inferior-octave-completion-table)
11909 (inferior-octave-completion-at-point): Remove its uses.
11910 (inferior-octave-startup): completion_matches was introduced to
11911 Octave in 1996 so safe to assume it.
11912 (octave-function-file-comment): Improve to follow how Octave does it.
11913 (octave-update-function-file-comment): Tweak.
11914
11915 2013-04-29 Leo Liu <sdl.web@gmail.com>
11916
11917 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11918 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11919 (octave-function-file-comment): Fix typo.
11920 (octave-sync-function-file-names): Use read-char-choice.
11921
11922 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11923
11924 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11925 to t for the less important warnings.
11926
11927 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11928
11929 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11930
11931 2013-04-27 Glenn Morris <rgm@gnu.org>
11932
11933 * vc/log-view.el (log-view-current-entry):
11934 Treat "---" separator lines as part of the following rev. (Bug#14169)
11935
11936 2013-04-27 Juri Linkov <juri@jurta.org>
11937
11938 * subr.el (read-number): Doc fix about using it by interactive
11939 code letter `n'. (Bug#14254)
11940
11941 2013-04-27 Juri Linkov <juri@jurta.org>
11942
11943 * desktop.el (desktop-auto-save-timeout): New option.
11944 (desktop-file-checksum): New variable.
11945 (desktop-save): Add optional arg `auto-save' and don't auto-save
11946 if nothing changed.
11947 (desktop-auto-save-timer): New variable.
11948 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11949 (after-init-hook): Call `desktop-auto-save-set-timer'.
11950 Suggested by Reuben Thomas <rrt@sc3d.org> in
11951 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11952
11953 2013-04-27 Leo Liu <sdl.web@gmail.com>
11954
11955 * progmodes/octave.el (octave-function-file-p)
11956 (octave-skip-comment-forward, octave-function-file-comment)
11957 (octave-update-function-file-comment): New functions.
11958 (octave-mode-map): Bind C-c ; to
11959 octave-update-function-file-comment.
11960 (octave-mode-menu): Add octave-update-function-file-comment.
11961 (octave-mode, inferior-octave-mode): Fix doc-string.
11962 (octave-insert-defun): Conform to Octave's coding convention.
11963 (Bug#14285)
11964
11965 * files.el (basic-save-buffer): Don't let errors in
11966 before-save-hook prevent saving buffer.
11967
11968 2013-04-20 Roland Winkler <winkler@gnu.org>
11969
11970 * faces.el (read-face-name): Use completing-read if arg multiple
11971 is nil.
11972
11973 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11974
11975 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11976 displayed, move point to after the totals line.
11977 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11978 for the details.
11979
11980 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11981
11982 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11983 Add current dir to the load-path.
11984 (package-generate-autoloads): Don't rely on
11985 autoload-ensure-default-file.
11986
11987 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11988
11989 * textmodes/remember.el (remember-store-in-files): Document that
11990 the file name format is passed to `format-time-string'.
11991
11992 2013-04-26 Leo Liu <sdl.web@gmail.com>
11993
11994 * progmodes/octave.el (octave-sync-function-file-names): New function.
11995 (octave-mode): Use it in before-save-hook.
11996
11997 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12000 (bug#14274).
12001
12002 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12003 \n and comment, even if it's not an implicit ; (bug#14218).
12004
12005 2013-04-26 Glenn Morris <rgm@gnu.org>
12006
12007 * subr.el (read-number): Once more use `read' rather than
12008 `string-to-number', to trap non-numeric input. (Bug#14254)
12009
12010 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12011
12012 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12013 Use `syntax-multiline' text property consistently instead of
12014 `font-lock-multiline'. (Bug#14237)
12015
12016 2013-04-26 Glenn Morris <rgm@gnu.org>
12017
12018 * emacs-lisp/shadow.el (list-load-path-shadows):
12019 No longer necessary to check for duplicate simple.el, since
12020 2012-07-07 change to init_lread to not include installation lisp
12021 directories in load-path when running uninstalled. (Bug#14270)
12022
12023 2013-04-26 Leo Liu <sdl.web@gmail.com>
12024
12025 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12026 (octave-mode, inferior-octave-mode): Use setq-local.
12027 (octave-not-in-string-or-comment-p): Rename to
12028 octave-in-string-or-comment-p.
12029 (octave-in-comment-p, octave-in-string-p)
12030 (octave-in-string-or-comment-p): Replace defsubst with defun.
12031
12032 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12033
12034 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12035
12036 2013-04-25 Bastien Guerry <bzg@gnu.org>
12037
12038 * textmodes/remember.el (remember-data-directory)
12039 (remember-directory-file-name-format): Fix custom types.
12040
12041 2013-04-25 Leo Liu <sdl.web@gmail.com>
12042
12043 * progmodes/octave.el (octave-completion-at-point-function):
12044 Make use of inferior octave process.
12045 (octave-initialize-completions): Remove.
12046 (inferior-octave-completion-table): New function.
12047 (inferior-octave-completion-at-point): Use it.
12048 (octave-completion-alist): Remove.
12049
12050 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12053 (opascal-mode-syntax-table): New var.
12054 (opascal-literal-kind, opascal-is-literal-end)
12055 (opascal-literal-token-at): Rewrite.
12056 (opascal--literal-start-re, opascal-font-lock-keywords)
12057 (opascal--syntax-propertize): New constants.
12058 (opascal-font-lock-defaults): Adjust.
12059 (opascal-mode): Use them. Set comment-<foo> variables as well.
12060 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12061 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12062 (delphi-other-face, opascal-other-face): Remove face variables.
12063 (opascal-save-state): Remove macro.
12064 (opascal-fontifying-progress-step): Remove constant.
12065 (opascal--ignore-changes): Remove var.
12066 (opascal-set-token-property, opascal-parse-next-literal)
12067 (opascal-is-stable-literal, opascal-complete-literal)
12068 (opascal-is-literal-start, opascal-face-of)
12069 (opascal-parse-region, opascal-parse-region-until-stable)
12070 (opascal-fontify-region, opascal-after-change)
12071 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12072 (opascal-debug-parse-region, opascal-debug-parse-window)
12073 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12074 (opascal-debug-fontify-buffer): Remove.
12075 (opascal-debug-mode-map): Adjust accordingly.
12076
12077 2013-04-25 Leo Liu <sdl.web@gmail.com>
12078
12079 Merge octave-mod.el and octave-inf.el into octave.el with some
12080 cleanups.
12081 * progmodes/octave.el: New file renamed from octave-mod.el.
12082 * progmodes/octave-inf.el: Merged into octave.el.
12083 * progmodes/octave-mod.el: Renamed to octave.el.
12084
12085 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12086
12087 * textmodes/reftex-vars.el
12088 (reftex-label-ignored-macros-and-environments): New defcustom.
12089
12090 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12091
12092 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12095 (smie-indent-keyword): Improve the check to ensure that the next
12096 comment is really on the same line.
12097 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12098
12099 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12100 semi-colons if the line is not otherwise empty (bug#14218).
12101
12102 2013-04-25 Glenn Morris <rgm@gnu.org>
12103
12104 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12105
12106 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * progmodes/opascal.el (opascal-set-token-property): Rename from
12109 opascal-set-text-properties and only set `token' (bug#14134).
12110 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12111 (opascal-literal-text-properties): Remove.
12112 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12113 Adjust callers.
12114
12115 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12116
12117 * textmodes/remember.el (remember-handler-functions): Add an
12118 option for a new handler `remember-store-in-files'.
12119 (remember-data-directory, remember-directory-file-name-format):
12120 New options.
12121 (remember-store-in-files): New function to store remember notes
12122 as separate files within a directory.
12123
12124 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12125
12126 * progmodes/compile.el (compilation-next-error-function):
12127 Pass "formats" to compilation-find-file (bug#11777).
12128
12129 2013-04-24 Glenn Morris <rgm@gnu.org>
12130
12131 * vc/vc-bzr.el (vc-bzr-print-log):
12132 * vc/vc-hg.el (vc-hg-print-log):
12133 * vc/vc-svn.el (vc-svn-print-log):
12134 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12135
12136 * vc/vc-bzr.el (vc-bzr-print-log):
12137 * vc/vc-cvs.el (vc-cvs-print-log):
12138 * vc/vc-git.el (vc-git-print-log):
12139 * vc/vc-hg.el (vc-hg-print-log):
12140 * vc/vc-mtn.el (vc-mtn-print-log):
12141 * vc/vc-rcs.el (vc-rcs-print-log):
12142 * vc/vc-sccs.el (vc-sccs-print-log):
12143 * vc/vc-svn.el (vc-svn-print-log):
12144 * vc/vc.el (vc-print-log-internal): Doc fixes.
12145
12146 2013-04-23 Glenn Morris <rgm@gnu.org>
12147
12148 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12149 Remove venerable code attempting to avoid substitute-command-keys.
12150
12151 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12152
12153 * textmodes/reftex-vars.el (reftex-label-regexps):
12154 Call `reftex-compile-variables' after changes to this variable.
12155
12156 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12159 Use lexical-binding.
12160 (jit-lock-force-redisplay): Use markers, check buffer's continued
12161 existence and beware narrowed buffers.
12162 (jit-lock-fontify-now): Adjust call accordingly.
12163
12164 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12165
12166 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12167 to avoid misleading the user.
12168
12169 2013-04-22 Leo Liu <sdl.web@gmail.com>
12170
12171 * info-look.el: Prefer latex2e.info. (Bug#14240)
12172
12173 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12174
12175 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12176
12177 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12178 * net/tramp.el (tramp-call-process): ... here.
12179 (tramp-set-completion-function, tramp-parse-putty):
12180 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12181 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12182 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12183 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12184 (tramp-call-local-coding-command): Use `tramp-call-process'
12185 instead of `tramp-compat-call-process'.
12186
12187 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12188 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12189 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12190 (tramp-find-inline-compress): Improve traces.
12191 (tramp-maybe-send-script): Check for Perl binary.
12192 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12193
12194 2013-04-22 Daiki Ueno <ueno@gnu.org>
12195
12196 * epg.el (epg-context-pinentry-mode): New function.
12197 (epg-context-set-pinentry-mode): New function.
12198 (epg--start): Pass --pinentry-mode option to gpg command.
12199
12200 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12201
12202 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12203 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12204 `completion-at-point'. (Bug#13774)
12205
12206 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12207 default key binding for `describe-distribution' has been moved to
12208 `C-h C-o'. (Bug#13970)
12209
12210 2013-04-21 Glenn Morris <rgm@gnu.org>
12211
12212 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12213 Add doc strings.
12214 (vc-print-log): Clarify interactive prompt.
12215
12216 2013-04-20 Glenn Morris <rgm@gnu.org>
12217
12218 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12219 No longer include timestamp etc information.
12220
12221 2013-04-20 Roland Winkler <winkler@gnu.org>
12222
12223 * faces.el (read-face-name): Bug fix, return just one face if arg
12224 multiple is nil. (Bug#14209)
12225
12226 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12229 (remove-function): Autoload.
12230
12231 * comint.el (comint-redirect-original-filter-function): Remove.
12232 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12233 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12234 (vc-cvs-annotate-command):
12235 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12236 * progmodes/prolog.el (prolog-consult-compile):
12237 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12238 Use add/remove-function instead.
12239 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12240 (gud-tooltip-process-output, gud-tooltip-tips):
12241 Use add/remove-function instead.
12242 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12243 (scheme-interaction-mode, exit-scheme-interaction-mode):
12244 Use add/remove-function instead.
12245
12246 * vc/vc-dispatcher.el: Use lexical-binding.
12247 (vc--process-sentinel): Rename from vc-process-sentinel.
12248 Change last arg to be the code to run. Don't use vc-previous-sentinel
12249 and vc-sentinel-commands any more.
12250 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12251 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12252
12253 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12254
12255 * progmodes/sh-script.el (sh-imenu-generic-expression):
12256 Handle function names with a single character. (Bug#14111)
12257
12258 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12259
12260 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12261 for subroutines defined in an eval (bug#14182).
12262
12263 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12264
12265 * bookmark.el (bookmark-completing-read): Improve handling of empty
12266 string (bug#14176).
12267
12268 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12269
12270 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12271
12272 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12273
12274 New faster Imenu implementation (bug#14058).
12275 * progmodes/python.el:
12276 (python-imenu-prev-index-position):
12277 (python-imenu-format-item-label-function)
12278 (python-imenu-format-parent-item-label-function)
12279 (python-imenu-format-parent-item-jump-label-function):
12280 New vars.
12281 (python-imenu-format-item-label)
12282 (python-imenu-format-parent-item-label)
12283 (python-imenu-format-parent-item-jump-label)
12284 (python-imenu--put-parent, python-imenu--build-tree)
12285 (python-imenu-create-index, python-imenu-create-flat-index)
12286 (python-util-popn): New functions.
12287 (python-mode): Set imenu-create-index-function to
12288 python-imenu-create-index.
12289
12290 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12291
12292 * winner.el (winner-active-region): Use region-active-p, activate-mark
12293 and deactivate-mark (bug#14225).
12294
12295 * simple.el (deactivate-mark): Don't inline it.
12296
12297 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12298
12299 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12300
12301 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12302
12303 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12304 file extensions from the archive-mode entry in order to prefer
12305 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12306
12307 2013-04-18 Leo Liu <sdl.web@gmail.com>
12308
12309 * bindings.el (help-event-list): Add ?\?.
12310
12311 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * subr.el (with-wrapper-hook): Declare obsolete.
12314 * simple.el (filter-buffer-substring-function): New hook.
12315 (filter-buffer-substring): Use it.
12316 (filter-buffer-substring-functions): Mark obsolete.
12317 * minibuffer.el (completion-in-region-function): New hook.
12318 (completion-in-region): Use it.
12319 (completion-in-region-functions): Mark obsolete.
12320 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12321 * abbrev.el (abbrev-expand-function): New hook.
12322 (expand-abbrev): Use it.
12323 (abbrev-expand-functions): Mark obsolete.
12324 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12325 and :filter-return.
12326
12327 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12328
12329 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12330 and do not care about match data.
12331
12332 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12335 completion tables when completing error conditions and
12336 `declare' arguments.
12337 (lisp-complete-symbol, field-complete): Mark as obsolete.
12338 (check-parens): Unmatched parens are user errors.
12339 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12340
12341 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12342
12343 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12344 command changed buffer (ie. `flyspell-pre-buffer' is not current
12345 buffer), which prevents making decisions based on invalid value of
12346 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12347 cause an error when `flyspell-pre-point' was nil after switching
12348 buffers.
12349 (flyspell-post-command-hook): No longer needs to change buffers when
12350 checking pre-word. While at it remove unnecessary progn.
12351
12352 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12353
12354 * textmodes/ispell.el (ispell-add-per-file-word-list):
12355 Fix `flyspell-correct-word-before-point' error when accepting
12356 words and `coment-padding' is an integer by using
12357 `comment-normalize-vars' (Bug #14214).
12358
12359 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12360
12361 New defun movement commands.
12362 * progmodes/python.el (python-nav--syntactically)
12363 (python-nav--forward-defun, python-nav-backward-defun)
12364 (python-nav-forward-defun): New functions.
12365
12366 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12367
12368 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12369 (python-syntax-context): Use named compiler-macro for backwards
12370 compatibility with Emacs 24.x.
12371
12372 2013-04-17 Leo Liu <sdl.web@gmail.com>
12373
12374 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12375 octave-hide-process-buffer.
12376
12377 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12380 (bug#14216).
12381
12382 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12383
12384 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12385 Fix adjustment of offset when receiving incomplete responses from GDB
12386 (bug#14129).
12387
12388 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12391 python-mode-abbrev-table.
12392 (python-skeleton-define): Adjust accordingly.
12393 (python-mode-abbrev-table): New table that inherits from it so that
12394 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12395
12396 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12397 (abbrev-symbol): Use it.
12398 (abbrev--before-point): Use it since we already handle inheritance.
12399
12400 2013-04-16 Leo Liu <sdl.web@gmail.com>
12401
12402 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12403 binding to info-lookup-symbol.
12404
12405 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12406
12407 * minibuffer.el (completion--twq-all):
12408 * term/ns-win.el (ns-initialize-window-system):
12409 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12410
12411 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12414 global bindings.
12415
12416 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12417
12418 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12419
12420 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12421 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12422 to nil.
12423 (ruby-end-of-defun): Remove the unused arg, change the docstring
12424 to reflect that this function is only used as the value of
12425 `end-of-defun-function'.
12426 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12427 to reflect an earlier change that beginning/end-of-defun functions
12428 jump between methods in a class definition, as well as top-level
12429 functions.
12430
12431 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12432
12433 * minibuffer.el (minibuffer-complete): Don't just scroll
12434 a *Completions* that's been iconified.
12435 (minibuffer-force-complete): Make sure repetitions do cycle when going
12436 through completion-in-region -> minibuffer-complete.
12437
12438 2013-04-15 Alan Mackenzie <acm@muc.de>
12439
12440 Correct the placement of c-cpp-delimiters when there're #s not at
12441 col 0.
12442
12443 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12444 place a submatch around the #.
12445 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12446 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12447 on the #, not BOL.
12448
12449 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12452 (advice--member-p): New arg `name'.
12453 (advice--add-function, advice-member-p): Use it (bug#14202).
12454
12455 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12456
12457 Reformulate java imenu-generic-expression.
12458 The old expression contained ill formed regexps.
12459
12460 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12461 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12462 (cc-imenu-java-method-arg-regexp): New defconsts.
12463 (cc-imenu-java-build-type-args-regex): New defun.
12464 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12465 handling of spaces in the regexp.
12466
12467 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12468
12469 * textmodes/ispell.el (ispell-command-loop): Remove
12470 flyspell highlight of a word when ispell accepts it (bug #14178).
12471
12472 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12473
12474 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12475 uses code from the previous `ange-ftp-run-real-handler'.
12476 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12477 only in case that function exist. This is needed for proper
12478 unloading of Tramp.
12479
12480 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12481
12482 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12483
12484 * textmodes/reftex.el (reftex-compile-variables): Use it.
12485
12486 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * files.el (normal-mode): Only use default major-mode if no other mode
12489 was specified.
12490
12491 * emacs-lisp/trace.el (trace-values): New function.
12492
12493 * files.el: Allow : in local variables (bug#14089).
12494 (hack-local-variable-regexp): New var.
12495 (hack-local-variables-prop-line, hack-local-variables): Use it.
12496
12497 2013-04-13 Roland Winkler <winkler@gnu.org>
12498
12499 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12500 data before it gets modified by bibtex-beginning-of-entry.
12501
12502 2013-04-13 Roland Winkler <winkler@gnu.org>
12503
12504 * textmodes/bibtex.el (bibtex-url): Doc fix.
12505
12506 2013-04-13 Roland Winkler <winkler@gnu.org>
12507
12508 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12509 does not visit a BibTeX file, exclude it from the list of buffers
12510 returned by bibtex-initialize.
12511
12512 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12513
12514 * window.el (split-window): Remove interactive form, since as a
12515 command this function is a special case of split-window-below.
12516 Correct doc string.
12517
12518 2013-04-12 Roland Winkler <winkler@gnu.org>
12519
12520 * faces.el (read-face-name): Do not override value of arg default.
12521 Allow single faces and strings as default values. Remove those
12522 elements from return value that are not faces.
12523 (describe-face): Simplify.
12524 (face-at-point): New optional args thing and multiple so that this
12525 function can provide the same functionality previously provided by
12526 read-face-name.
12527 (make-face-bold, make-face-unbold, make-face-italic)
12528 (make-face-unitalic, make-face-bold-italic, invert-face)
12529 (modify-face, read-face-and-attribute): Use face-at-point.
12530
12531 * cus-edit.el (customize-face, customize-face-other-window)
12532 * cus-theme.el (custom-theme-add-face)
12533 * face-remap.el (buffer-face-set)
12534 * facemenu.el (facemenu-set-face): Use face-at-point.
12535
12536 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12537
12538 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12539
12540 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12541
12542 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12543 off leading { and trailing } from field values.
12544
12545 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * emacs-lisp/timer.el (timer--check): New function.
12548 (timer--time, timer-set-function, timer-event-handler): Use it.
12549 (timer-set-idle-time): Simplify.
12550 (timer--activate): CSE.
12551 (timer-event-handler): Give more info in error message.
12552 (internal-timer-start-idle): New function, moved from C.
12553
12554 * mpc.el (mpc-proc): Add `restart' argument.
12555 (mpc-proc-cmd): Use it.
12556 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12557 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12558 less often.
12559
12560 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12561
12562 * progmodes/sh-script.el: Implement `sh-mode' own
12563 `add-log-current-defun-function' (bug#14112).
12564 (sh-current-defun-name): New function.
12565 (sh-mode): Use the function.
12566
12567 2013-04-09 Bastien Guerry <bzg@gnu.org>
12568
12569 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12570
12571 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12574
12575 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12576 timer (bug#14156).
12577
12578 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12579
12580 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12581 declaration.
12582
12583 2013-04-07 Leo Liu <sdl.web@gmail.com>
12584
12585 * pcmpl-x.el: New file.
12586
12587 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12588
12589 Do not set x-display-name until X connection is established.
12590 This is needed to prevent from weird situation described at
12591 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12592 * frame.el (make-frame): Set x-display-name after call to
12593 window system initialization function, not before.
12594 * term/x-win.el (x-initialize-window-system): Add optional
12595 display argument and use it.
12596 * term/w32-win.el (w32-initialize-window-system):
12597 * term/ns-win.el (ns-initialize-window-system):
12598 * term/pc-win.el (msdos-initialize-window-system):
12599 Add compatible optional display argument.
12600
12601 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12602
12603 * files.el (normal-backup-enable-predicate): On MS-Windows and
12604 MS-DOS compare truenames of temporary-file-directory and of the
12605 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12606 don't fail comparison by compare-strings. Also, compare file
12607 names case-insensitively on MS-Windows and MS-DOS.
12608
12609 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12610
12611 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12612 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12613
12614 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12615
12616 * whitespace.el (whitespace-color-on, whitespace-color-off):
12617 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12618
12619 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12620
12621 * ispell.el (ispell-set-spellchecker-params):
12622 Really set `ispell-args' for all equivs.
12623
12624 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12625
12626 * ido.el (ido-completions): Use extra elements of ido-decorations
12627 (bug#14143).
12628 (ido-decorations): Update docstring.
12629
12630 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12631
12632 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12633 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12634 nil during initialization, in order not to miss changes since the
12635 file was opened. (Bug#14140)
12636
12637 2013-04-05 Leo Liu <sdl.web@gmail.com>
12638
12639 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12640
12641 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12642
12643 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12644
12645 2013-04-04 Glenn Morris <rgm@gnu.org>
12646
12647 * electric.el (electric-pair-inhibit-predicate): Add :version.
12648
12649 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12652 when a package is required several times (bug#14082).
12653
12654 2013-04-04 Roland Winkler <winkler@gnu.org>
12655
12656 * faces.el (read-face-name): Behave as promised by the docstring.
12657 Assume that arg default is a list of faces.
12658 (describe-face): Call read-face-name with list of default faces.
12659
12660 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12661
12662 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12663 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12664 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12665 the header.
12666 (bookmark-exit-hook-internal): Save even if list is empty.
12667
12668 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12669
12670 * emacs-lisp/package.el (package-pinned-packages): New var.
12671 (package--add-to-archive-contents): Obey it (bug#14118).
12672
12673 2013-04-03 Alan Mackenzie <acm@muc.de>
12674
12675 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12676 Also adapt to the new values of element 7 of a parse state.
12677
12678 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12679 parameter `not-in-delimiter'. Handle being inside comment opener.
12680 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12681 character in case we're typing a '*' after a '/'.
12682 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12683 instead by passing the parameter to c-state-pp-to-literal.
12684
12685 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12686 for elt. 7 of a parse state.
12687
12688 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12689
12690 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12691 * international/latin1-disp.el, international/mule-util.el:
12692 * language/cyril-util.el, language/european.el, language/ind-util.el:
12693 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12694 * language/tibetan.el, language/viet-util.el:
12695 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12696
12697 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12698
12699 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12700 (electric-pair-post-self-insert-function): Use it.
12701 (electric-pair-default-inhibit): New function, extracted from
12702 electric-pair-post-self-insert-function.
12703
12704 2013-03-31 Roland Winkler <winkler@gnu.org>
12705
12706 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12707
12708 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12709
12710 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12711
12712 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12713
12714 Un-indent after "pass" and "return" statements (Bug#13888)
12715 * progmodes/python.el (python-indent-block-enders): New var.
12716 (python-indent-calculate-indentation): Use it.
12717
12718 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12719
12720 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12721 defun. Defining it as defalias could introduce too eager
12722 byte-compiler optimization. (Bug#14030)
12723
12724 2013-03-30 Chong Yidong <cyd@gnu.org>
12725
12726 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12727
12728 2013-03-30 Leo Liu <sdl.web@gmail.com>
12729
12730 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12731 (kmacro-execute-from-register): Pass the keyboard macro to
12732 kmacro-call-macro or repeating won't work correctly.
12733
12734 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12735
12736 * progmodes/subword.el: Back to using `forward-symbol'.
12737
12738 * subr.el (forward-whitespace, forward-symbol)
12739 (forward-same-syntax): Move from thingatpt.el.
12740
12741 2013-03-29 Leo Liu <sdl.web@gmail.com>
12742
12743 * kmacro.el (kmacro-to-register): New command.
12744 (kmacro-execute-from-register): New function.
12745 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12746
12747 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * mpc.el: Use defvar-local and setq-local.
12750 (mpc--proc-connect): Connection failures are not bugs.
12751 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12752 (mpc-volume-map): Bind to the up-events.
12753
12754 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12755
12756 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12757 instead of `forward-symbol'.
12758
12759 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12762 (edebug--recursive-edit): Use it.
12763 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12764 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12765
12766 2013-03-28 Leo Liu <sdl.web@gmail.com>
12767
12768 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12769
12770 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12771
12772 * facemenu.el (list-colors-callback): New defvar.
12773 (list-colors-redisplay): New function.
12774 (list-colors-display): Install list-colors-redisplay as the
12775 revert-buffer-function. (Bug#14063)
12776
12777 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12778
12779 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12780 and suffixes don't overlap (bug#14061).
12781
12782 * case-table.el: Use lexical-binding.
12783 (case-table-get-table): New function.
12784 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12785
12786 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12787
12788 * progmodes/subword.el: Add `superword-mode' to do word motion
12789 over symbol_words (parallels and leverages `subword-mode' which
12790 does word motion inside MixedCaseWords).
12791
12792 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12793
12794 * eshell/em-unix.el: Move su and sudo to...
12795 * eshell/em-tramp.el: ...Eshell tramp module.
12796
12797 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12800 Change return value to be a sexp. Delay `get-buffer' to after
12801 restoring the desktop (bug#13951).
12802
12803 2013-03-26 Leo Liu <sdl.web@gmail.com>
12804
12805 * register.el: Move semantic tag handling back to
12806 cedet/semantic/senator.el. (Bug#14052)
12807
12808 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12811 into the prompt either (bug#13963).
12812
12813 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12816 part of "(error-foo)".
12817
12818 2013-03-24 Juri Linkov <juri@jurta.org>
12819
12820 * replace.el (list-matching-lines-prefix-face): New defcustom.
12821 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12822 `occur-engine' if `face-differs-from-default-p' returns t.
12823 (occur-engine): Add `,' inside backquote construct to evaluate
12824 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12825 Pass `prefix-face' to the functions `occur-context-lines' and
12826 `occur-engine-add-prefix'.
12827 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12828 `prefix-face' and propertize the prefix with `prefix-face'.
12829 (Bug#14017)
12830
12831 2013-03-24 Leo Liu <sdl.web@gmail.com>
12832
12833 * nxml/rng-valid.el (rng-validate-while-idle)
12834 (rng-validate-quick-while-idle): Guard against deleted buffer.
12835 (Bug#13999)
12836
12837 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12838 is the last entry in kill-buffer-hook.
12839
12840 * files.el (kill-buffer-hook): Doc fix.
12841
12842 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12843
12844 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12845 Make it safe-local.
12846
12847 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12848
12849 2013-03-23 Leo Liu <sdl.web@gmail.com>
12850
12851 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12852 Remove.
12853
12854 * nxml/rng-valid.el (rng-validate-mode)
12855 (rng-after-change-function, rng-do-some-validation):
12856 * nxml/rng-maint.el (rng-validate-buffer):
12857 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12858 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12859 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12860 (nxml-extend-after-change-region): Use with-silent-modifications.
12861
12862 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12863 timer-idle-list.
12864
12865 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12866 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12867 timer-idle-list. (Bug#13999)
12868
12869 2013-03-23 Juri Linkov <juri@jurta.org>
12870
12871 * info.el (info-index-match): New face.
12872 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12873 main pattern and add text properties with the new face to matches
12874 in index entries relative to the beginning of the index entry.
12875 (Bug#14015)
12876
12877 2013-03-21 Eric Ludlam <zappo@gnu.org>
12878
12879 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12880 Inhibit read only while inserting objects.
12881
12882 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12883
12884 * progmodes/cfengine.el: Update docs to mention
12885 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12886 symbol motion. Remove "_" from the word syntax.
12887
12888 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12889
12890 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12891 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12892
12893 2013-03-20 Juri Linkov <juri@jurta.org>
12894
12895 * info.el (Info-next-reference-or-link)
12896 (Info-prev-reference-or-link): New functions.
12897 (Info-next-reference, Info-prev-reference): Use them.
12898 (Info-try-follow-nearest-node): Handle footnote navigation.
12899 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12900
12901 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12904 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12905
12906 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12907
12908 Suppress unnecessary non-ASCII chatter during build process.
12909 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12910 (batch-skkdic-convert): Suppress most of the chatter.
12911 It's not needed so much now that machines are faster,
12912 and its non-ASCII component was confusing; see Dmitry Gutov in
12913 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12914
12915 2013-03-20 Leo Liu <sdl.web@gmail.com>
12916
12917 * ido.el (ido-chop): Fix bug#10994.
12918
12919 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12920
12921 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12922 Remove vars.
12923 (whitespace-color-on, whitespace-color-off):
12924 Use `font-lock-fontify-buffer' (Bug#13817).
12925
12926 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12927
12928 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12929 remapping in mode-line.
12930 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12931
12932 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12933
12934 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12935 value for `whitespace-line' face (Bug#13875).
12936 (whitespace-font-lock-keywords): Change description.
12937 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12938 the constructed keywords instead.
12939 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12940
12941 2013-03-19 Leo Liu <sdl.web@gmail.com>
12942
12943 * progmodes/compile.el (compilation-display-error): New command.
12944 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12945 C-o. (Bug#13992)
12946
12947 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12948
12949 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12950
12951 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12952
12953 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12954
12955 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12956
12957 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12958
12959 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12960 * net/tramp-gvfs.el (top):
12961 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12962 (tramp-handle-shell-command): Use it.
12963 (tramp-dissect-file-name): Raise an error when hostname is a
12964 method name, and neither method nor user is specified.
12965
12966 * net/trampver.el: Update release number.
12967
12968 2013-03-18 Leo Liu <sdl.web@gmail.com>
12969
12970 Make sure eldoc can be turned off properly.
12971 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12972 eldoc-mode.
12973 (eldoc-display-message-p): Revert last change.
12974 (eldoc-display-message-no-interference-p)
12975 (eldoc-print-current-symbol-info): Tweak.
12976
12977 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12978
12979 * doc-view.el (doc-view-new-window-function): Check the new window
12980 overlay's display property instead the char property of the
12981 buffer's first char. Use `with-selected-window' instead of
12982 `save-window-excursion' with `select-window'.
12983 (doc-view-document->bitmap): Check the current doc-view overlay's
12984 display property instead the char property of the buffer's first char.
12985
12986 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12987
12988 Automate the build of ja-dic.el (Bug#13984).
12989 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12990 from the input, rather than assume that it's been done for us by the
12991 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12992 the current date into a ja-dic.el comment, as that complicates
12993 regression testing.
12994
12995 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * whitespace.el: Fix double evaluation.
12998 (whitespace-space, whitespace-hspace, whitespace-tab)
12999 (whitespace-newline, whitespace-trailing, whitespace-line)
13000 (whitespace-space-before-tab, whitespace-indentation)
13001 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13002 obsolete defvars.
13003 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13004 (whitespace-color-on): Use a single font-lock-add-keywords call.
13005 Fix double-evaluation of face variables.
13006
13007 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13008
13009 * net/tramp-adb.el (tramp-adb-parse-device-names):
13010 Use `start-process' instead of `call-process'. Otherwise, the
13011 function might be blocked under MS Windows. (Bug#13299)
13012
13013 2013-03-17 Leo Liu <sdl.web@gmail.com>
13014
13015 Extend eldoc to display info in the mode-line. (Bug#13978)
13016 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13017 (eldoc-mode-line-string): New variable.
13018 (eldoc-minibuffer-message): New function.
13019 (eldoc-message-function): New variable.
13020 (eldoc-message): Use it.
13021 (eldoc-display-message-p)
13022 (eldoc-display-message-no-interference-p):
13023 Support eldoc-post-insert-mode.
13024
13025 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13026 (eval-expression): Run it.
13027
13028 2013-03-17 Roland Winkler <winkler@gnu.org>
13029
13030 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13031 strings in the list of return values.
13032
13033 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13034
13035 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13036 radix before checking for HMS forms.
13037
13038 2013-03-16 Leo Liu <sdl.web@gmail.com>
13039
13040 * progmodes/scheme.el: Add indentation and font-locking for λ.
13041 (Bug#13975)
13042
13043 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13046 token before point (bug#13942).
13047
13048 2013-03-16 Leo Liu <sdl.web@gmail.com>
13049
13050 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13051
13052 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13053
13054 * startup.el (command-line-normalize-file-name): Fix handling of
13055 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13056 <xfq.free@gmail.com> in
13057 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13058
13059 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13060
13061 Sync with Tramp 2.2.7.
13062
13063 * net/trampver.el: Update release number.
13064
13065 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13066
13067 * doc-view.el: Fix bug#13887.
13068 (doc-view-insert-image): Don't modify overlay associated to
13069 non-live windows, and implement horizontal centering of image in
13070 case it's smaller than the window.
13071 (doc-view-new-window-function): Force redisplay of new windows on
13072 doc-view buffers.
13073
13074 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13075
13076 * saveplace.el (save-place-alist-to-file): Don't sort
13077 `save-place-alist', just pretty-print it (bug#13882).
13078
13079 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13080
13081 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13082 Check whether `default-file-name-coding-system' is bound.
13083 It isn't in XEmacs.
13084
13085 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13088 backquotes for `obsolete' (bug#13929).
13089
13090 * international/mule.el (find-auto-coding): Include file name in
13091 obsolescence warning (bug#13922).
13092
13093 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13094
13095 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13096 for CFEngine 3-specific indentation.
13097 (cfengine3-indent-line): Use it. Fix up category regex.
13098 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13099
13100 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * type-break.el (type-break-file-name):
13103 * textmodes/remember.el (remember-data-file):
13104 * strokes.el (strokes-file):
13105 * shadowfile.el (shadow-initialize):
13106 * saveplace.el (save-place-file):
13107 * ps-bdf.el (bdf-cache-file):
13108 * progmodes/idlwave.el (idlwave-config-directory):
13109 * net/quickurl.el (quickurl-url-file):
13110 * international/kkc.el (kkc-init-file-name):
13111 * ido.el (ido-save-directory-list-file):
13112 * emulation/viper.el (viper-custom-file-name):
13113 * emulation/vip.el (vip-startup-file):
13114 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13115 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13116
13117 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13118
13119 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13120 * language/thai-word.el: Switch to UTF-8.
13121
13122 See ChangeLog.16 for earlier changes.
13123
13124 ;; Local Variables:
13125 ;; coding: utf-8
13126 ;; End:
13127
13128 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13129
13130 This file is part of GNU Emacs.
13131
13132 GNU Emacs is free software: you can redistribute it and/or modify
13133 it under the terms of the GNU General Public License as published by
13134 the Free Software Foundation, either version 3 of the License, or
13135 (at your option) any later version.
13136
13137 GNU Emacs is distributed in the hope that it will be useful,
13138 but WITHOUT ANY WARRANTY; without even the implied warranty of
13139 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13140 GNU General Public License for more details.
13141
13142 You should have received a copy of the GNU General Public License
13143 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.